[sdk/kde-dev-scripts] /: qtdoc remove not working qtdoc executable

Albert Astals Cid null at kde.org
Tue Nov 14 21:30:05 GMT 2023


Git commit f10aaace51a436c2ab56c421336b65b89a7e634c by Albert Astals Cid, on behalf of Marius P.
Committed on 14/11/2023 at 22:29.
Pushed by aacid into branch 'master'.

qtdoc remove not working qtdoc executable

Reasons: kdeinit4_wrapper does not exist,
$QTDIR/doc/html does not exist.

M  +0    -1    CMakeLists.txt
M  +0    -2    README
M  +0    -1    doc/CMakeLists.txt
D  +0    -75   doc/man-qtdoc.1.docbook
D  +0    -15   qtdoc

https://invent.kde.org/sdk/kde-dev-scripts/-/commit/f10aaace51a436c2ab56c421336b65b89a7e634c

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 03ab2136..a79659af 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -55,7 +55,6 @@ install(PROGRAMS
   optimizegraphics
   nonsvnlist
   pruneemptydirs
-  qtdoc
   svnbackport
   svnforwardport
   svnchangesince
diff --git a/README b/README
index 531390f0..c7fc3288 100644
--- a/README
+++ b/README
@@ -43,8 +43,6 @@ kdedoc		Open a kde help page in kfm/konqueror
 krazy-licensecheck Runs the Krazy2 license checker on a list of source files
                    Requires Krazy2.
 
-qtdoc		Open a qt help page in kfm/konqueror
-
 kde-spellcheck.pl A script to check source code for misspelings and optionally
 		correct them.
 
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 14e5053f..64509313 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -14,5 +14,4 @@ kdoctools_create_manpage(man-extend_dmalloc.1.docbook 1 INSTALL_DESTINATION ${KD
 kdoctools_create_manpage(man-extractrc.1.docbook 1 INSTALL_DESTINATION ${KDE_INSTALL_MANDIR})
 kdoctools_create_manpage(man-fixincludes.1.docbook 1 INSTALL_DESTINATION ${KDE_INSTALL_MANDIR})
 kdoctools_create_manpage(man-pruneemptydirs.1.docbook 1 INSTALL_DESTINATION ${KDE_INSTALL_MANDIR})
-kdoctools_create_manpage(man-qtdoc.1.docbook 1 INSTALL_DESTINATION ${KDE_INSTALL_MANDIR})
 kdoctools_create_manpage(man-zonetab2pot.py.1.docbook 1 INSTALL_DESTINATION ${KDE_INSTALL_MANDIR})
diff --git a/doc/man-qtdoc.1.docbook b/doc/man-qtdoc.1.docbook
deleted file mode 100644
index 6c3182fd..00000000
--- a/doc/man-qtdoc.1.docbook
+++ /dev/null
@@ -1,75 +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>
-<author><personname><firstname>Ben</firstname><surname>Burton</surname></personname><email>bab at debian.org</email></author>
-<date>2003-04-08</date>
-</refentryinfo>
-
-<refmeta>
-<refentrytitle><command>qtdoc</command></refentrytitle>
-<manvolnum>1</manvolnum>
-</refmeta>
-
-<refnamediv>
-<refname><command>qtdoc</command></refname>
-<refpurpose>Open a &Qt; help page in &konqueror;</refpurpose>
-</refnamediv>
-
-<refsynopsisdiv>
-<cmdsynopsis>
-<command>qtdoc</command>
-
-<group><option><replaceable>classname</replaceable></option></group>
-</cmdsynopsis>
-</refsynopsisdiv>
-
-<refsect1>
-<title>Description</title>
-
-<para><command>qtdoc</command> opens a &Qt; help page in &konqueror;.
-If <replaceable>classname</replaceable> is given, it opens the help
-page for that class.  Otherwise the main &Qt; help page is opened.
-<replaceable>classname</replaceable> is case insensitive.</para>
-
-<para>This utility is part of the &kde; Software Development Kit</para>
-
-</refsect1>
-
-<refsect1>
-<title>Environment</title>
-
-<variablelist>
-<varlistentry>
-<term><envar>QTDIR</envar></term>
-<listitem><para>The directory beneath which &Qt; is installed.  The main &Qt; help page is expected to be in <filename class="directory">$<envar>QTDIR</envar>/doc/html/</filename>.</para></listitem>
-</varlistentry>
-</variablelist>
-
-</refsect1>
-
-<refsect1>
-<title>Examples</title>
-
-<para>To display the help on the class <classname>QString</classname>:</para>
-<screen><userinput><command>qtdoc</command> <option>QString</option></userinput></screen>
-</refsect1>
-
-<refsect1>
-<title>See Also</title>
-
-<para>kdedoc(1), assistant(1)</para>
-
-</refsect1>
-
-
-<refsect1>
-<title>Authors</title>
-
-<para>This manual page was prepared by <personname><firstname>Ben</firstname><surname>Burton</surname></personname><email>bab at debian.org</email></para>
-</refsect1>
-
-</refentry>
diff --git a/qtdoc b/qtdoc
deleted file mode 100755
index 03c2d4aa..00000000
--- a/qtdoc
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-# Run from command line, to open a qt help page in kfm/konqueror
-# No argument => main page
-# Classname (case insensitive) => page for this class
-
-if [ $# = 1 ]; then
-  fname=`echo $1 | tr '[A-Z]' '[a-z]'`
-  if [ -f $QTDIR/doc/html/$fname.html ]; then
-    kdeinit4_wrapper kfmclient openProfile webbrowsing file:$QTDIR/doc/html/$fname.html
-  else
-    echo "No such file $fname.html"
-  fi
-else
-  kdeinit4_wrapper kfmclient openURL file:$QTDIR/doc/html/index.html
-fi


More information about the kde-doc-english mailing list