[frameworks/plasma-framework] /: Remove docbook for no longer existing tool

Nicolas Fella null at kde.org
Mon Feb 6 14:58:27 GMT 2023


Git commit dcafb0dfae5858945516a3ee13aeba05d15384f7 by Nicolas Fella.
Committed on 06/02/2023 at 14:58.
Pushed by nicolasfella into branch 'master'.

Remove docbook for no longer existing tool

M  +0    -11   CMakeLists.txt
D  +0    -2    docs/CMakeLists.txt
D  +0    -2    docs/plasmapkg2/CMakeLists.txt
D  +0    -115  docs/plasmapkg2/man-plasmapkg2.1.docbook

https://invent.kde.org/frameworks/plasma-framework/commit/dcafb0dfae5858945516a3ee13aeba05d15384f7

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ea9e62c33..a77f63c64 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -69,7 +69,6 @@ find_package(KF6 ${KF_DEP_VERSION} REQUIRED
         Kirigami2
     OPTIONAL_COMPONENTS
         Wayland
-        DocTools
 )
 
 set_package_properties(KF6Wayland PROPERTIES DESCRIPTION "Integration with the Wayland compositor"
@@ -79,10 +78,6 @@ if(KF6Wayland_FOUND)
   set(HAVE_KWAYLAND 1)
 endif()
 
-set_package_properties(KF6DocTools PROPERTIES DESCRIPTION "Tools to generate documentation"
-                       TYPE OPTIONAL
-                      )
-
 option(WITHOUT_X11 "Build without X11 support (skips finding X11)." OFF)
 if(NOT WITHOUT_X11)
     #optional features
@@ -195,14 +190,8 @@ endif()
 include_directories(${CMAKE_CURRENT_BINARY_DIR})
 
 ################# list the subdirectories #################
-if (KF6DocTools_FOUND)
-    add_subdirectory(docs)
-endif()
 add_definitions(-DTRANSLATION_DOMAIN=\"libplasma5\")
 ki18n_install(po)
-if (KF6DocTools_FOUND)
-    kdoctools_install(po)
-endif()
 add_subdirectory(src)
 
 if (BUILD_EXAMPLES)
diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
deleted file mode 100644
index debae9031..000000000
--- a/docs/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-
-add_subdirectory(plasmapkg2)
diff --git a/docs/plasmapkg2/CMakeLists.txt b/docs/plasmapkg2/CMakeLists.txt
deleted file mode 100644
index a78d3bd81..000000000
--- a/docs/plasmapkg2/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-kdoctools_create_manpage(man-plasmapkg2.1.docbook 1 INSTALL_DESTINATION ${KDE_INSTALL_MANDIR})
-
diff --git a/docs/plasmapkg2/man-plasmapkg2.1.docbook b/docs/plasmapkg2/man-plasmapkg2.1.docbook
deleted file mode 100644
index 60c55f2ea..000000000
--- a/docs/plasmapkg2/man-plasmapkg2.1.docbook
+++ /dev/null
@@ -1,115 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE refentry PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN" "dtd/kdedbx45.dtd" [
-<!ENTITY % English "INCLUDE">
-]>
-
-<refentry lang="&language;">
-<refentryinfo>
-<title>Plasma Package Manager</title>
-<date>2014-04-25</date>
-<releaseinfo>Frameworks 5.0</releaseinfo>
-<productname>KDE Frameworks</productname>
-</refentryinfo>
-
-<refmeta>
-<refentrytitle><command>plasmapkg2</command></refentrytitle>
-<manvolnum>1</manvolnum>
-</refmeta>
-
-<refnamediv>
-<refname><command>plasmapkg2</command></refname>
-<refpurpose>Install, list, remove &plasma; packages</refpurpose>
-</refnamediv>
-
-<refsynopsisdiv>
-<cmdsynopsis>
-<command>plasmapkg2</command>
-
-<group choice="opt"><option>--hash</option> <replaceable> path</replaceable></group>
-<group choice="opt"><option>-g, --global</option></group>
-<group choice="opt"><option>-t, --type</option> <replaceable> type</replaceable></group>
-<group choice="opt"><option>-i, --install</option> <replaceable> path</replaceable></group>
-<group choice="opt"><option>-s, --show</option> <replaceable> name</replaceable></group>
-<group choice="opt"><option>-u, --upgrade</option> <replaceable> path</replaceable></group>
-<group choice="opt"><option>-l, --list</option></group>
-<group choice="opt"><option>--list-types</option></group>
-<group choice="opt"><option>-r, --remove</option> <replaceable> name</replaceable></group>
-<group choice="opt"><option>-p, --packageroot</option> <replaceable> path</replaceable></group>
-</cmdsynopsis>
-</refsynopsisdiv>
-
-<refsect1>
-<title>Description</title>
-<para><command>plasmapkg2</command> is a command line tool to
-install, list, remove &plasma; packages.</para>
-
-</refsect1>
-
-<refsect1>
-<title>Options</title>
-
-<variablelist>
-<varlistentry>
-<term><option>--hash</option> <replaceable> path</replaceable></term>
-<listitem><para>Generate a SHA1 hash for the package at <quote>path</quote>.</para></listitem>
-</varlistentry>
-<varlistentry>
-<term><option>-g, --global</option></term>
-<listitem><para>For install or remove, operates on packages installed for all users.</para></listitem>
-</varlistentry>
-<varlistentry>
-<term><option>-t, --type</option> <replaceable> type</replaceable></term>
-<listitem><para>The type of package, ⪚ theme, wallpaper, plasmoid, dataengine, runner, layout-template, &etc; [plasmoid].</para></listitem>
-</varlistentry>
-<varlistentry>
-<term><option>-i, --install</option> <replaceable> path</replaceable></term>
-<listitem><para>Install the package at <quote>path</quote>.</para></listitem>
-</varlistentry>
-<varlistentry>
-<term><option>-s, --show</option> <replaceable> name</replaceable></term>
-<listitem><para>Show information of package <quote>name</quote>.</para></listitem>
-</varlistentry>
-<varlistentry>
-<term><option>-u, --upgrade</option> <replaceable> path</replaceable></term>
-<listitem><para>Upgrade the package at <quote>path</quote>.</para></listitem>
-</varlistentry>
-<varlistentry>
-<term><option>-l, --list</option></term>
-<listitem><para>List installed packages.</para></listitem>
-</varlistentry>
-<varlistentry>
-<term><option>--list-types</option></term>
-<listitem><para>Lists all known Package types that can be installed.</para></listitem>
-</varlistentry>
-<varlistentry>
-<term><option>-r, --remove</option> <replaceable> name</replaceable></term>
-<listitem><para>Remove the package named <quote>name</quote>.</para></listitem>
-</varlistentry>
-<varlistentry>
-<term><option>-p, --packageroot</option> <replaceable> path</replaceable></term>
-<listitem><para>Absolute path to the package root. If not supplied, then the standard data
-directories for this &plasma; session will be searched instead.</para></listitem>
-</varlistentry>
-
-</variablelist>
-
-</refsect1>
-
-<refsect1>
-<title>See Also</title>
-
-<para>More detailed user documentation is available from <ulink
-url="help:/plasma-desktop">help:/plasma-desktop</ulink>
-(either enter this &URL; into &konqueror;, or run
-<userinput><command>khelpcenter</command>
-<parameter>help:/plasma-desktop</parameter></userinput>).</para>
-
-</refsect1>
-
-<refsect1>
-<title>Authors</title>
-<para><command>plasmapkg2</command> was written by
-<personname><firstname>Aaron</firstname><surname>Seigo</surname></personname> <email>aseigo at kde.org</email>.</para>
-</refsect1>
-
-</refentry>


More information about the kde-doc-english mailing list