diff options
author | Georgios M. Zarkadas <gz@member.fsf.org> | 2011-10-22 00:01:54 +0300 |
---|---|---|
committer | Georgios M. Zarkadas <gz@member.fsf.org> | 2011-10-22 00:01:54 +0300 |
commit | 26753de3e13be518379031bda466a02d0392faee (patch) | |
tree | 39230541dab37a0bdc43a99d42d36cf5204b1618 /debian | |
parent | b1ef1021b702f4ff5b50565eee675e126727f032 (diff) |
Version 0.5.20 Original Sources (sarge release)
Package source: archive.debian.org
Signed-off-by: Georgios M. Zarkadas <gz@member.fsf.org>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 117 | ||||
-rw-r--r-- | debian/config | 4 | ||||
-rw-r--r-- | debian/control | 4 | ||||
-rw-r--r-- | debian/menu | 5 | ||||
-rw-r--r-- | debian/po/POTFILES.in | 1 | ||||
-rw-r--r-- | debian/po/de.po | 69 | ||||
-rw-r--r-- | debian/po/fr.po | 65 | ||||
-rw-r--r-- | debian/po/nl.po | 62 | ||||
-rw-r--r-- | debian/po/pt_BR.po | 73 | ||||
-rw-r--r-- | debian/po/templates.pot | 61 | ||||
-rw-r--r-- | debian/po/tr.po | 64 | ||||
-rwxr-xr-x | debian/postinst | 5 | ||||
-rwxr-xr-x | debian/rules | 5 | ||||
-rw-r--r-- | debian/templates | 14 | ||||
-rwxr-xr-x | debian/tmp/usr/bin/dhelp | 243 | ||||
-rwxr-xr-x | debian/tmp/usr/sbin/dhelp_parse | bin | 0 -> 46686 bytes | |||
-rw-r--r-- | debian/tmp/usr/share/doc/dhelp/debian.jpg | bin | 0 -> 8442 bytes | |||
-rw-r--r-- | debian/tmp/usr/share/doc/dhelp/dhelp.html | 189 | ||||
-rw-r--r-- | debian/tmp/usr/share/doc/dhelp/dhelp2dwww.pl | 49 | ||||
-rw-r--r-- | debian/tmp/usr/share/doc/dhelp/folder.png | bin | 0 -> 230 bytes | |||
-rw-r--r-- | debian/tmp/usr/share/doc/dhelp/sgml2dhelp.pl | 129 | ||||
-rw-r--r-- | debian/tmp/usr/share/doc/dhelp/swirl.jpg | bin | 0 -> 3986 bytes | |||
-rw-r--r-- | debian/tmp/usr/share/doc/dhelp/text.png | bin | 0 -> 231 bytes |
23 files changed, 1145 insertions, 14 deletions
diff --git a/debian/changelog b/debian/changelog index 4ccbbf5..aebb516 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,120 @@ +dhelp (0.5.20) unstable; urgency=low + + * handle missing /usr/share/doc directory gracefully (Closes: #300440, + thanks to Marc Langer <marc@marclanger.de> for the report and Gustavo + Franco <stratus@debian.org> for the patch) + * quote command in menu file + * use mozilla-firefox as real package for recommends on virtual package + www-browser + + -- Stefan Hornburg (Racke) <racke@linuxia.de> Thu, 31 Mar 2005 20:24:45 +0200 + +dhelp (0.5.19) unstable; urgency=low + + * improved error messages from dsearch in respect of missing search + engine or database (Closes: #272614, #272951, thanks to James R. Van + Zandt <jrvz@comcast.net> for the patches) + * updated dhelp manual page (Closes: #147727) + + -- Stefan Hornburg (Racke) <racke@linuxia.de> Thu, 23 Sep 2004 11:21:37 +0200 + +dhelp (0.5.18) unstable; urgency=low + + * properly untaint search specification in dsearch CGI script + (Closes: #229688, #254552, thanks to Dan Jacobson + <jidanni@jidanni.org> and Dafydd Harries <daf@muse.19inch.net> for + reporting) + * added German translation of debconf templates (Closes: #252329, thanks + to Erik Schanze <schanzi_usenet@gmx.de>) + * added Dutch translation of debconf templates (Closes: #250233, thanks + to Luk Claes <luk.claes@ugent.be>) + * added Turkish translation of debconf templates (Closes: #252939, + thanks to Recai Oktas <roktas@omu.edu.tr>) + + -- Stefan Hornburg (Racke) <racke@linuxia.de> Wed, 16 Jun 2004 00:26:05 +0200 + +dhelp (0.5.17) unstable; urgency=low + + * Recognize epiphany as X11 browser (Closes: #241536, thanks to Dan + Korostelev <dan@ats.energo.ru> for the report) + * Removed obsolete dh_dhelp script (Closes: #74846, #115047) + + -- Stefan Hornburg (Racke) <racke@linuxia.de> Thu, 1 Apr 2004 23:34:39 +0200 + +dhelp (0.5.16) unstable; urgency=low + + * Changed maintainer back to Stefan Hornburg (Racke) <racke@linuxia.de> + (Closes: #210439) + * Acknowledge bugs closed in NMUs + (Closes: #203082, #207793, #210657, #230351) + * Proper handling of creation and deletion of /var/lib/dhelp also fixes + another bug (Closes: #202213) + + -- Stefan Hornburg (Racke) <racke@linuxia.de> Wed, 17 Mar 2004 02:32:11 +0100 + +dhelp (0.5.15-0.3) unstable; urgency=low + + * Non-maintainer upload + * *Really* apply Alexander Kogan patch. + + -- Christian Perrier <bubulle@debian.org> Thu, 11 Mar 2004 09:07:24 +0100 + +dhelp (0.5.15-0.2) unstable; urgency=low + + * Non-maintainer upload + * Create /var/lib/dhelp in postinst. Closes: #230351 + Thanks to Alexander Kogan for the patch + * Switch to gettext for debconf templates. Closes: #207793 + * French debconf templates translation. Closes: #210657 + + -- Christian Perrier <bubulle@debian.org> Mon, 8 Mar 2004 20:20:57 +0100 + +dhelp (0.5.15-0.1) unstable; urgency=low + + * Non-maintainer upload + * dhelp_parse.c: Changed stat() to lstat() in rm_r(), thanks to + John Belmonte <jvb@prairienet.org> (Closes: #203082) + + -- Roland Stigge <stigge@antcom.de> Wed, 3 Sep 2003 22:16:25 +0200 + +dhelp (0.5.15) unstable; urgency=low + + * changing /cgi-bin/man2html to /cgi-bin/man/man2html in dhelp_parse. + (Closes: #182864) + * added Daniel Nouri, a good friend of mine and a amazing programmer to + the uploaders-field in debian/control. He will help me in maintaining + and developing dhelp in future. Thanks! :-) + * changed "make clean" to "make distclean" in debian/rules. Thanks to + Michael Banck for this hint. + * added dh_fixperms to debian/rules. + + -- Daniel K. Gebhart <dkg@con-fuse.org> Fri, 28 Feb 2003 18:51:56 +0000 + +dhelp (0.5.14) unstable; urgency=low + + * switching maintainer to Daniel K. Gebhart <dkg@con-fuse.org> + (Closes: #172346) + + -- Daniel K. Gebhart <dkg@con-fuse.org> Sat, 18 Jan 2003 20:41:39 +0200 + +dhelp (0.5.13) unstable; urgency=low + + * deactivated warning message on directories not included in + /usr/share/doc/dhelp/.dhelp (Closes: #118600) + + -- Stefan Hornburg (Racke) <racke@linuxia.de> Sat, 7 Sep 2002 23:59:00 +0200 + +dhelp (0.5.12) unstable; urgency=low + + * added debconf template translation to Brazilian Portuguese + (Closes: #144648, thanks to Paulo R. Ormenese <pormenese@uol.com.br>) + * modified icons to get the background color right (Closes: #147198, + thanks to Laurent Bonnaud <Laurent.Bonnaud@inpg.fr> for reporting and + Don Armstrong <don@donarmstrong.com> for providing the icons) + * removed unnecessary check on search parameters (Closes: #151184) + + -- Stefan Hornburg (Racke) <racke@linuxia.de> Wed, 22 May 2002 02:22:55 +0200 + dhelp (0.5.11) unstable; urgency=medium * made "other documents" link relative (Closes: #82757) diff --git a/debian/config b/debian/config index 3fc4cd4..1997bea 100644 --- a/debian/config +++ b/debian/config @@ -1,6 +1,6 @@ #! /usr/bin/perl # -# Copyright 2002 by Stefan Hornburg (Racke) <racke@linuxia.de> +# Copyright 2002,2004 by Stefan Hornburg (Racke) <racke@linuxia.de> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -25,7 +25,7 @@ use Debconf::Client::ConfModule qw(:all); my ($status, $value); my @cbrowsers = grep {&available($_)} ('links', 'lynx', 'w3m'); -my @xbrowsers = grep {&available($_)} ('galeon', 'konqueror', 'mozilla', 'netscape', 'opera'); +my @xbrowsers = grep {&available($_)} ('epiphany', 'galeon', 'konqueror', 'mozilla', 'netscape', 'opera'); # Set selection list and defaults for both display types subst('dhelp/www-browser-console', 'CBROWSERS', join(', ', @cbrowsers)); diff --git a/debian/control b/debian/control index 8ae8f9e..5ea1349 100644 --- a/debian/control +++ b/debian/control @@ -3,11 +3,11 @@ Section: doc Priority: optional Maintainer: Stefan Hornburg (Racke) <racke@linuxia.de> Standards-Version: 3.1.0.0 -Build-Depends: libdb3-dev, debhelper +Build-Depends: libdb3-dev, debhelper (>= 4.1.16) Package: dhelp Depends: ${shlibs:Depends}, debconf, perl-modules -Recommends: www-browser +Recommends: mozilla-firefox | www-browser Suggests: httpd, swish++, info2www, man2html Architecture: any Description: online help system diff --git a/debian/menu b/debian/menu index 58e46a8..e8987f7 100644 --- a/debian/menu +++ b/debian/menu @@ -1,5 +1,6 @@ ?package(dhelp):needs="X11" section="Help" \ -title="Debian Online Help" command=/usr/bin/dhelp +title="Debian Online Help" command="/usr/bin/dhelp" ?package(dhelp):needs="text" section="Help" \ -title="Debian Online Help" command=/usr/bin/dhelp +title="Debian Online Help" command="/usr/bin/dhelp" + diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in new file mode 100644 index 0000000..cef83a3 --- /dev/null +++ b/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates diff --git a/debian/po/de.po b/debian/po/de.po new file mode 100644 index 0000000..88e5978 --- /dev/null +++ b/debian/po/de.po @@ -0,0 +1,69 @@ +# translation of dhelp_0.5.17_templates.po to German +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans# +# Developers do not need to manually edit POT or PO files. +# Erik Schanze <mail@erikschanze.de>, 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: dhelp_0.5.17_templates\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-08-29 22:16+0200\n" +"PO-Revision-Date: 2004-06-02 19:40+0200\n" +"Last-Translator: Erik Schanze <mail@erikschanze.de>\n" +"Language-Team: German <debian-l10n-german@lists.debian.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.0.2\n" + +#. Description +#: ../templates:4 +msgid "Dhelp console browser" +msgstr "Dhelp Text-Browser" + +#. Description +#: ../templates:4 +msgid "Please select the default console browser for dhelp." +msgstr "Bitte den textbasierenden Standardbrowser für dhelp auswählen." + +#. Description +#: ../templates:4 +msgid "" +"Individual users can override this setting in ~/.dhelp/www-browser-console, " +"e.g. with \n" +" echo w3m > ~/.dhelp/www-browser-console." +msgstr "" +"Einzelne Benutzer können diese Einstellung in der Datei " +"~/.dhelp/www-browser-console überschreiben, z. B. mit \n" +" echo w3m > ~/.dhelp/www-browser-console" + +#. Description +#: ../templates:14 +msgid "Dhelp X Window System browser" +msgstr "Dhelp Browser für X-Window-System " + +#. Description +#: ../templates:14 +msgid "Please select the default X Window System browser for dhelp." +msgstr "Bitte den Standard-Browser für dhelp im X-Window-System eingeben." + +#. Description +#: ../templates:14 +msgid "" +"Individual users can override this setting in ~/.dhelp/www-browser-x, e.g. " +"with \n" +" echo galeon > ~/.dhelp/www-browser-x." +msgstr "" +"Einzelne Benutzer können diese Einstellung in der Datei " +"~/.dhelp/www-browser-x überschreiben, z. B. mit \n" +" echo galeon > ~/.dhelp/www-browser-x" + + diff --git a/debian/po/fr.po b/debian/po/fr.po new file mode 100644 index 0000000..45aaeae --- /dev/null +++ b/debian/po/fr.po @@ -0,0 +1,65 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: dhelp_0.5.15\n" +"POT-Creation-Date: 2003-08-29 22:16+0200\n" +"PO-Revision-Date: 2003-09-12 17:17+0100\n" +"Last-Translator: BUIRA Etienne <etienne.buira@free.fr>\n" +"Language-Team: French <debian-l10n-french@lists.debain.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../templates:4 +msgid "Dhelp console browser" +msgstr "Navigateur dhelp pour la console" + +#. Description +#: ../templates:4 +msgid "Please select the default console browser for dhelp." +msgstr "Veuillez choisir le navigateur par défaut en console pour dhelp." + +#. Description +#: ../templates:4 +msgid "" +"Individual users can override this setting in ~/.dhelp/www-browser-console, " +"e.g. with \n" +" echo w3m > ~/.dhelp/www-browser-console." +msgstr "" +"Chaque utilisateur peut remplacer ce paramètre dans ~/.dhelp/www-browser-" +"console, par exemple en utilisant la commande :\n" +" echo w3m > ~/.dhelp/www-browser-console." + +#. Description +#: ../templates:14 +msgid "Dhelp X Window System browser" +msgstr "Navigateur dhelp pour le système X Window" + +#. Description +#: ../templates:14 +msgid "Please select the default X Window System browser for dhelp." +msgstr "Veuillez choisir le navigateur par défaut pour dhelp sous X Window." + +#. Description +#: ../templates:14 +msgid "" +"Individual users can override this setting in ~/.dhelp/www-browser-x, e.g. " +"with \n" +" echo galeon > ~/.dhelp/www-browser-x." +msgstr "" +"Chaque utilisateur peut remplacer ce paramètre dans ~/.dhelp/www-browser-x, " +"par exemple en utilisant la commande :\n" +" echo w3m > ~/.dhelp/www-browser-x." diff --git a/debian/po/nl.po b/debian/po/nl.po new file mode 100644 index 0000000..1f17629 --- /dev/null +++ b/debian/po/nl.po @@ -0,0 +1,62 @@ +#
+# Translators, if you are not familiar with the PO format, gettext
+# documentation is worth reading, especially sections dedicated to
+# this format, e.g. by running:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+#
+# Some information specific to po-debconf are available at
+# /usr/share/doc/po-debconf/README-trans
+# or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+# Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: dhelp 0.5.17\n"
+"POT-Creation-Date: 2003-08-29 22:16+0200\n"
+"PO-Revision-Date: 2004-05-21 15:33+0100\n"
+"Last-Translator: Luk Claes <luk.claes@ugent.be>\n"
+"Language-Team: Debian l10n Dutch <debian-l10n-dutch@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:4
+msgid "Dhelp console browser"
+msgstr "Dhelp console-browser"
+
+#. Description
+#: ../templates:4
+msgid "Please select the default console browser for dhelp."
+msgstr "Selecteer de standaard console-browser voor dhelp."
+
+#. Description
+#: ../templates:4
+msgid ""
+"Individual users can override this setting in ~/.dhelp/www-browser-console, e.g. with \n"
+" echo w3m > ~/.dhelp/www-browser-console."
+msgstr ""
+"Individuele gebruikers kunnen deze instelling opheffen in ~/.dhelp/www-browser-console, vb. met \n"
+" echo w3m > ~/.dhelp/www-browser-console."
+
+#. Description
+#: ../templates:14
+msgid "Dhelp X Window System browser"
+msgstr "Dhelp X Window System-browser"
+
+#. Description
+#: ../templates:14
+msgid "Please select the default X Window System browser for dhelp."
+msgstr "Selecteer de standaard X Window System-browser voor dhelp."
+
+#. Description
+#: ../templates:14
+msgid ""
+"Individual users can override this setting in ~/.dhelp/www-browser-x, e.g. with \n"
+" echo galeon > ~/.dhelp/www-browser-x."
+msgstr ""
+"Individuele gebruikers kunnen deze instelling opheffen in ~/.dhelp/www-browser-x, vb. met \n"
+" echo galeon > ~/.dhelp/www-browser-x."
+
diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po new file mode 100644 index 0000000..d074f00 --- /dev/null +++ b/debian/po/pt_BR.po @@ -0,0 +1,73 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-08-29 22:16+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Paulo R. Ormenese <pormenese@uol.com.br>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../templates:4 +msgid "Dhelp console browser" +msgstr "Navegador de console do Dhelp" + +#. Description +#: ../templates:4 +msgid "Please select the default console browser for dhelp." +msgstr "Por favor, selecione o navegador de console padrão para o dhelp." + +#. Description +#: ../templates:4 +msgid "" +"Individual users can override this setting in ~/.dhelp/www-browser-console, " +"e.g. with \n" +" echo w3m > ~/.dhelp/www-browser-console." +msgstr "" +"Os usuários podem substituir individualmente essa configuração em ~/.dhelp/" +"www-browser-console, por exemplo, com\n" +" echo w3m > ~/.dhelp/www-browser- console." + +#. Description +#: ../templates:14 +msgid "Dhelp X Window System browser" +msgstr "Navegador de Sistema X do Dhelp" + +#. Description +#: ../templates:14 +msgid "Please select the default X Window System browser for dhelp." +msgstr "Por favor, selecione o navegador padrão do Sistema X para o dhelp." + +#. Description +#: ../templates:14 +msgid "" +"Individual users can override this setting in ~/.dhelp/www-browser-x, e.g. " +"with \n" +" echo galeon > ~/.dhelp/www-browser-x." +msgstr "" +"Os usuários podem substituir individualmente essa configuração em ~/.dhelp/" +"www-browser-x, por exemplo, com\n" +" echo galeon > ~/.dhelp/www-browser-x." + +#~ msgid "${CBROWSERS}" +#~ msgstr "${CBROWSERS}" + +#~ msgid "${XBROWSERS}" +#~ msgstr "${XBROWSERS}" diff --git a/debian/po/templates.pot b/debian/po/templates.pot new file mode 100644 index 0000000..c9bbf55 --- /dev/null +++ b/debian/po/templates.pot @@ -0,0 +1,61 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-08-29 22:16+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Description +#: ../templates:4 +msgid "Dhelp console browser" +msgstr "" + +#. Description +#: ../templates:4 +msgid "Please select the default console browser for dhelp." +msgstr "" + +#. Description +#: ../templates:4 +msgid "" +"Individual users can override this setting in ~/.dhelp/www-browser-console, " +"e.g. with \n" +" echo w3m > ~/.dhelp/www-browser-console." +msgstr "" + +#. Description +#: ../templates:14 +msgid "Dhelp X Window System browser" +msgstr "" + +#. Description +#: ../templates:14 +msgid "Please select the default X Window System browser for dhelp." +msgstr "" + +#. Description +#: ../templates:14 +msgid "" +"Individual users can override this setting in ~/.dhelp/www-browser-x, e.g. " +"with \n" +" echo galeon > ~/.dhelp/www-browser-x." +msgstr "" diff --git a/debian/po/tr.po b/debian/po/tr.po new file mode 100644 index 0000000..13874bf --- /dev/null +++ b/debian/po/tr.po @@ -0,0 +1,64 @@ +# Turkish translation of dhelp. +# This file is distributed under the same license as the dhelp package. +# Osman Yüksel <yuxel@sonsuzdongu.com>, 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: dhelp\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-03-11 11:27+0000\n" +"PO-Revision-Date: 2004-06-06 05:41+0300\n" +"Last-Translator: Osman Yüksel <yuxel@sonsuzdongu.com>\n" +"Language-Team: Turkish <debian-l10n-turkish@lists.debian.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: KBabel 1.3.1\n" + +#. Type: select +#. Description +#: ../templates:4 +msgid "Dhelp console browser" +msgstr "Dhelp konsol tarayıcısı" + +#. Type: select +#. Description +#: ../templates:4 +msgid "Please select the default console browser for dhelp." +msgstr "Lütfen dhelp için öntanımlı konsol tarayıcısını seçin." + +#. Type: select +#. Description +#: ../templates:4 +msgid "" +"Individual users can override this setting in ~/.dhelp/www-browser-console, " +"e.g. with \n" +" echo w3m > ~/.dhelp/www-browser-console." +msgstr "" +"Kullanıcılar ~/.dhelp/www-browser-console içindeki bu ayarı isteklerine göre " +"deÄŸiÅŸtirebilirler, ör. echo w3m > ~/.dhelp/www-browser-console." + +#. Type: select +#. Description +#: ../templates:14 +msgid "Dhelp X Window System browser" +msgstr "Dhelp X Window Sistemi tarayıcısı" + +#. Type: select +#. Description +#: ../templates:14 +msgid "Please select the default X Window System browser for dhelp." +msgstr "Lütfen dhelp için öntanımlı X Window Sistemi tarayıcısını seçin." + +#. Type: select +#. Description +#: ../templates:14 +msgid "" +"Individual users can override this setting in ~/.dhelp/www-browser-x, e.g. " +"with \n" +" echo galeon > ~/.dhelp/www-browser-x." +msgstr "" +"Kullanıcılar ~/.dhelp/www-browser-x içindeki bu ayarı isteklerine göre " +"deÄŸiÅŸtirebilirler, ör. echo galeon > ~/.dhelp/www-browser-x" + diff --git a/debian/postinst b/debian/postinst index 5ab3557..9c5fc2d 100755 --- a/debian/postinst +++ b/debian/postinst @@ -25,6 +25,11 @@ if [ ! -d /etc/dhelp ]; then mkdir /etc/dhelp fi +# create /var/lib/dhelp if necessary +if [ ! -d /var/lib/dhelp ]; then + mkdir /var/lib/dhelp +fi + # store debconf configuration values in files there db_get dhelp/www-browser-console echo $RET > /etc/dhelp/www-browser-console diff --git a/debian/rules b/debian/rules index a5892d4..9238e7e 100755 --- a/debian/rules +++ b/debian/rules @@ -19,7 +19,7 @@ build: # Undoes the effect of `make -f rules build'. clean: $(checkdir) - [ ! -f Makefile ] || make clean + [ ! -f Makefile ] || make distclean dh_clean # Makes a binary package. @@ -39,9 +39,10 @@ binary-arch: checkroot build cp dsearch $(R)/usr/lib/cgi-bin dh_installdebconf + dh_fixperms dh_shlibdeps dh_strip - dh_installman man/dhelp.1 man/dh_dhelp.1 man/dhelp_parse.8 + dh_installman man/dhelp.1 man/dhelp_parse.8 dh_installchangelogs dh_installcron dh_installdocs CREDITS debian/THANKS diff --git a/debian/templates b/debian/templates index 087cded..d1c806f 100644 --- a/debian/templates +++ b/debian/templates @@ -1,17 +1,19 @@ Template: dhelp/www-browser-console Type: select Choices: ${CBROWSERS} -Description: Dhelp console browser +_Description: Dhelp console browser Please select the default console browser for dhelp. . - Individual users can override this setting in ~/.dhelp/www-browser-console, - e.g. with echo w3m > ~/.dhelp/www-browser-console. + Individual users can override this setting in + ~/.dhelp/www-browser-console, e.g. with + echo w3m > ~/.dhelp/www-browser-console. Template: dhelp/www-browser-x Type: select Choices: ${XBROWSERS} -Description: Dhelp X Window System browser +_Description: Dhelp X Window System browser Please select the default X Window System browser for dhelp. . - Individual users can override this setting in ~/.dhelp/www-browser-x, - e.g. with echo galeon > ~/.dhelp/www-browser-x. + Individual users can override this setting in ~/.dhelp/www-browser-x, e.g. + with + echo galeon > ~/.dhelp/www-browser-x. diff --git a/debian/tmp/usr/bin/dhelp b/debian/tmp/usr/bin/dhelp new file mode 100755 index 0000000..c631b7f --- /dev/null +++ b/debian/tmp/usr/bin/dhelp @@ -0,0 +1,243 @@ +#!/usr/bin/perl -w +# +# Copyright 2002 by Stefan Hornburg (Racke) <racke@linuxia.de> +# +# Based on a sample implementation of Chris Tillman +# <tillman@azstarnet.com>. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public +# License along with this program; if not, write to the Free +# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA. + +use strict; +use warnings; + +# module setup +use File::Spec; +use File::Temp qw(tempfile); +use IO::Socket; +use Getopt::Long; +use Pod::Usage; + +# version (replaced on packaging time) +my $version = '0.5.18'; + +# process commandline options +my %opts; +my $whandler = $SIG{__WARN__}; +$SIG{__WARN__} = sub {print STDERR "$0: @_";}; +unless (GetOptions(\%opts, + 'file|f', + 'help|h', + 'version')) { + die(pod2usage(1)); +} + +if ($opts{help}) { + pod2usage(1); + exit 0; +} elsif ($opts{version}) { + print "dhelp version $version\n"; + exit 0; +} + +my $searchterm = shift; + +# home directory of the current user +my $homedir; + +if (exists $ENV{'HOME'} && -d $ENV{'HOME'}) { + $homedir = $ENV{'HOME'}; +} else { + $homedir = (getpwent()) [7]; +} + +# determine browser to use +my $browser; + +if ($ENV{'BROWSER'}) { + # use user-supplied value + $browser = $ENV{'BROWSER'}; +} elsif ($ENV{'DISPLAY'}) { + # X Window System in charge + $browser = &conf_from_flist("$homedir/.dhelp/www-browser-x", + '/etc/dhelp/www-browser-x'); +} else { + # Fallback to console browser + $browser = &conf_from_flist("$homedir/.dhelp/www-browser-console", + '/etc/dhelp/www-browser-console'); +} + +unless ($browser) { + die "$0: No browser defined.\n"; +} + +unless (&available($browser)) { + die "$0: Browser $browser not executable.\n"; +} + +my $httpd_running = ''; + +unless ($opts{file}) { + # check if there is a CGI capable WWW server running on the localhost + my $testdoc = "/doc/HTML/index.html"; + my $eol = "\015\012"; + my $blank = $eol x 2; + my $sock = IO::Socket::INET->new('127.0.0.1:80'); + + if ($sock) { + $sock->autoflush(1); + print $sock "HEAD $testdoc HTTP/1.0$eol"; + print $sock "Host: localhost" . $blank; + + while (my $line = <$sock>) { + if ($line =~ s/^Server: //) { + $httpd_running = $line; + } + } + close $sock; + + if ($httpd_running =~ /dhttpd/) { + # this server is not CGI capable + $httpd_running = ''; + } + } +} + +my $document; + +if ($httpd_running) { + # we can query the web server directly + if ($searchterm) { + $document="http://localhost/cgi-bin/dsearch?search=$searchterm"; + } else { + $document="http://localhost/doc/HTML/index.html"; + } + print "Starting $browser (using HTTP $httpd_running) ...\n"; +} else { + if ($searchterm) { + my ($basedir) = File::Spec->tmpdir(); + my ($fh, $tmpfile) = tempfile ('dhelp' . 'X' x 6, + DIR => $basedir, + SUFFIX => '.html', + UNLINK => 1); + print "Starting dsearch for $searchterm\n"; + # call dsearch + open (DSEARCH, "/usr/lib/cgi-bin/dsearch file=1 search=$searchterm|"); + while (<DSEARCH>) { + print $fh $_; + } + close (DSEARCH) || die "$0: dsearch failed\n"; + system ( "$browser $tmpfile" ) and die( "${browser}: Failed to open $tmpfile: $!\n" ); + exit 0; + } else { + $document="/usr/share/doc/HTML/index.html"; + print "Starting $browser (using local filesystem) ...\n"; + } +} + +system ( "$browser $document" ) and die( "${browser}: Failed to open $document: $!\n" ); + +# -------------------------------------------- +# FUNCTION: available PROGRAM +# +# Checks if PROGRAM is available for the user. +# -------------------------------------------- + +sub available { + my $program = shift; + + if ($program =~ m%/%) { + # no need to search the path + return -x $program; + } + + for (split(/:/, $ENV{PATH})) { + return 1 if -x "$_/$program"; + } +} + +# ------------------------------------------------------ +# FUNCTION: conf_from_flist FILE [FILE ...] +# +# Takes a list of files. Reads the first string which is +# not in a commented or empty line from the first +# existing file in the list, strips surrounding blanks +# and returns the resulting string. +# ------------------------------------------------------ + +sub conf_from_flist { + my $ret; + + for my $file (@_) { + next unless -f $file; + open (CONF, $file) + || die "Couldn't open configuration file $file: $!\n"; + while (<CONF>) { + next if /^\#/; + last if /\S/; + chomp; + } + close (CONF); + next unless defined $_; + $ret = $_; + $ret =~ s/^\s+//; + $ret =~ s/\s+$//; + return $ret; + } +} + +__END__ + + +=head1 NAME + +dhelp: Accessing Debian Online Help System + +=head1 SYNOPSIS + + dhelp [ -h | -v | search-term ] + dhelp -f + +=head1 OPTIONS + +=over 8 + +=item B<-f, --file> + +Direct the browser to use the local file system instead of +contacting the local WWW server. + +=item B<-h, --help> + +Show a brief help message and exit. + +=item B<-v, --version> + +Show the program version number and exit. + +=back + +=head1 DESCRIPTION + +B<dhelp> presents a list of installed html documentation. The +list can be browsed directly with Lynx, or if a web server +is installed then any web browser can be used. + +In addition, you can search for terms indexed in the documentation +using B<dhelp search-term> . + +=cut + + diff --git a/debian/tmp/usr/sbin/dhelp_parse b/debian/tmp/usr/sbin/dhelp_parse Binary files differnew file mode 100755 index 0000000..97d5425 --- /dev/null +++ b/debian/tmp/usr/sbin/dhelp_parse diff --git a/debian/tmp/usr/share/doc/dhelp/debian.jpg b/debian/tmp/usr/share/doc/dhelp/debian.jpg Binary files differnew file mode 100644 index 0000000..db62d7a --- /dev/null +++ b/debian/tmp/usr/share/doc/dhelp/debian.jpg diff --git a/debian/tmp/usr/share/doc/dhelp/dhelp.html b/debian/tmp/usr/share/doc/dhelp/dhelp.html new file mode 100644 index 0000000..00e2f5c --- /dev/null +++ b/debian/tmp/usr/share/doc/dhelp/dhelp.html @@ -0,0 +1,189 @@ +<HTML> +<TITLE>dhelp</TITLE> +<BODY BGCOLOR=#FFFFFF> +<IMG SRC="debian.jpg" ALT="Debian GNU/Linux"><p> +<H1>dhelp</H1> + +<H2>What's dhelp?</H2> +dhelp is an online help system for Debian GNU/Linux. A Debian package +can register its HTML documents and dhelp builds an index of +all documents. + +The user doesn't need a WWW server to browse the HTML tree. + +<H2>How to use dhelp</H2> +If you have installed a WWW server on your system simply browse +<BLOCKQUOTE><TT><A HREF="http://localhost/doc/HTML/index.html"> +http://localhost/doc/HTML/index.html</A></TT></BLOCKQUOTE><P> + +If you haven't installed a WWW server use the dhelp command: + +<BLOCKQUOTE>$ dhelp</BLOCKQUOTE> + +<H2>The .dhelp file</H2> + +Programs supporting dhelp have to install a <tt>.dhelp</tt> file +in every directory under <tt>/usr/share/doc</tt>. For every HTML file that +should appear in the dhelp index the <tt>.dhelp</tt> file have to contain +the following section:<P> + +<DL> +<DT><TT><item></TT> +<DT><TT><directory></TT> +<DD>Defines in which section of the index the document should be linked. + I suggest that you use the same names like in <em>Section:</em> + in <tt>control</tt>. For example for a game you would use + <tt>games</tt>. A German document should linked to <tt>de/games</tt> + and so on. + You can find all supported sections in + <tt><A HREF=".dhelp">.dhelp</A></tt>. You can create additional + sections if necessary. +<DT><TT><dirtitle></TT> +<DD>Defines the title of a new section. +<DT><TT><linkname></TT> +<DD>This short text appears as link text in the index. This + is typical the filename without the <tt>.html suffix</tt>. +<DT><TT><filename></TT> +<DD>The filename of the HTML file with a path relative to the + <tt>.dhelp</tt> file. If your document is called + <tt>/usr/share/doc/dhelp/test.html</tt> and the <tt>.dhelp</tt> + is installed in <tt>/usr/share/doc/dhelp</tt> you must use + <tt>test.html</tt>. +<DT><PRE> +<description> +... +</description> +</PRE> +<DD> +A long description of the content of the document (optional). +<DT><TT></item></TT> +</DL><P> + +You can have only one tag per line! Something like the following will +not work:<P> + +<PRE> +<item><directory>de/foo + <dirtitle>The foo section + <linkname>foo + <filename>foo.html +<descrip>foo foo foo</descrip></item> +</PRE> + +You have to use this:<P> + +<PRE> +<item> +<directory>de/foo +<dirtitle>The foo section +<linkname>foo +<filename>foo.html +<descrip> +foo foo foo +</descrip> +</item> +</PRE> + +You can have several <item> sections in one <tt>.dhelp</tt> +file. + + +<H2>Add a .dhelp file to the index</H2> + +To add a <tt>.dhelp</tt> file to the document index you have +to call <tt>dhelp_parse</tt>:<P> + +<BLOCKQUOTE># dhelp_parse -a /usr/share/doc/directory</BLOCKQUOTE> + +I would suggest to add the following to your package <tt>postinst</tt> +script:<P> + +<BLOCKQUOTE><PRE> +if [ -f /usr/sbin/dhelp_parse ]; then + /usr/sbin/dhelp_parse -a /usr/share/doc/directory +fi +</PRE></BLOCKQUOTE><P> + +In <tt>prerm</tt> you should use:<P> + +<BLOCKQUOTE><PRE> +if [ -f /usr/sbin/dhelp_parse ]; then + /usr/sbin/dhelp_parse -d /usr/share/doc/directory +fi +</PRE></BLOCKQUOTE><P> + +<!-- +If your package conforms to the latest policy, the <tt>postinst</tt> +script should look like this:<P> + +<BLOCKQUOTE><PRE> +if [ -f /usr/sbin/dhelp_parse ]; then + /usr/sbin/dhelp_parse -a /usr/share/doc/directory +fi + +if [ -f /usr/sbin/dhelp_parse_fsstnd ]; then + /usr/sbin/dhelp_parse_fsstnd -a /usr/doc/directory +fi +</PRE></BLOCKQUOTE><P> + +In <tt>prerm</tt> you should use:<P> + +<BLOCKQUOTE><PRE> +if [ -f /usr/sbin/dhelp_parse ]; then + /usr/sbin/dhelp_parse -d /usr/share/doc/directory +fi + +if [ -f /usr/sbin/dhelp_parse_fsstnd ]; then + /usr/sbin/dhelp_parse_fsstnd -d /usr/doc/directory +fi +</PRE></BLOCKQUOTE><P> +--> + +Or you can use the script <tt>dh_dhelp</tt>. This script installs +the <tt>debian/dhelp</tt> file in <tt>/usr/share/doc/package</tt> and +creates the <tt>postinst</tt> and <tt>prerm</tt> scripts of all +<tt>.dhelp</tt> files found in <tt>/usr/share/doc</tt>. + + +<H2>Scripts for .dhelp file</H2> + +<H3>sgml2dhelp</H3> + +If the HTML files were produced by the sgml-tools (linuxdoc-sgml) +you can use the script <tt><a href="sgml2dhelp.pl">sgml2dhelp.pl</a></tt>. +This script produces a <tt>.dhelp</tt>, a <tt>.dwww-index</tt>, +and a <tt>index.html</tt> file.<P> + +Run this script in every directory containing HTML files. +You have to call the script with to options:<P> + +<BLOCKQUOTE> +<b>sgml2dhelp</b> <i><dhelp section> <dwww section></i> +</BLOCKQUOTE> + +If your documents should go in the German HOWTO section for example, you +have to enter:<P> + +<BLOCKQUOTE><TT># dhelp.build de/HOWTO general</TT></BLOCKQUOTE> <P> + +<h3>dhelp2dwww</h3> + +If you have written a <tt>.dhelp</tt>, you can convert it to +a <tt>.dwww-index</tt> file with the script +<tt><a href="dhelp2dwww.pl">dhelp2dwww.pl</a></tt>.<p> + +<blockquote> +<b>dhelp2dwww</b> <i><dwww section></i> +</blockquote> + +<H2>What can I do for dhelp?</H2> + +If you like dhelp please ask maintainers of Debian packages including +HTML documentation to add dhelp support.<P> + +If you have any comments or problems please feel free to send +an email to the dhelp package maintainer: +<A HREF="mailto:dhelp@packages.debian.org">dhelp@packages.debian.org</A> + +</BODY> +</HTML>
\ No newline at end of file diff --git a/debian/tmp/usr/share/doc/dhelp/dhelp2dwww.pl b/debian/tmp/usr/share/doc/dhelp/dhelp2dwww.pl new file mode 100644 index 0000000..d504df1 --- /dev/null +++ b/debian/tmp/usr/share/doc/dhelp/dhelp2dwww.pl @@ -0,0 +1,49 @@ +#!/usr/bin/perl -w + +# Copyright (c) 1998 by Marco Budde (Budde@tu-harburg.de) +# GNU General Public License + +################################################## +# converts a .dhelp file to a .dwww-index file # +# # +# usage: dhelp2dwww <dwww section> # +################################################## + + +############## +# main # +############## + +print ".dhelp -> .dwww-index\n"; + +$pwd = `pwd`; +$pwd =~ /.*?\/usr\/doc\/(.*)/; +$pwd = $1; + +open (IN, "< .dhelp") or die "can't open .dhelp!\n"; +open (OUT, "> .dwww-index") or die "can't open .dwww-index!\n"; + +while ($zw = <IN>) +{ + $descrip = ''; + while ($zw !~ /<\/item>/) + { + $linkname = $1 if ($zw =~ /<linkname>(.*)/); + $filename = $1 if ($zw =~ /<filename>(.*)/); + if ($zw =~ /<description>/) + { + while ($zw !~ /<\/description>/) + { + $zw = <IN>; + $descrip = $descrip . $zw if ($zw !~ /<\/description>/); + } + } + $zw = <IN>; + } + print OUT "#section $ARGV[0]\n"; + print OUT "<dt><a href=\"$pwd/$filename\">$linkname</a>\n"; + print OUT "<dd>$descrip\n"; +} + +close (IN); +close (OUT); diff --git a/debian/tmp/usr/share/doc/dhelp/folder.png b/debian/tmp/usr/share/doc/dhelp/folder.png Binary files differnew file mode 100644 index 0000000..654c048 --- /dev/null +++ b/debian/tmp/usr/share/doc/dhelp/folder.png diff --git a/debian/tmp/usr/share/doc/dhelp/sgml2dhelp.pl b/debian/tmp/usr/share/doc/dhelp/sgml2dhelp.pl new file mode 100644 index 0000000..035108d --- /dev/null +++ b/debian/tmp/usr/share/doc/dhelp/sgml2dhelp.pl @@ -0,0 +1,129 @@ +#!/usr/bin/perl -w + +# Copyright (c) 1998 by Marco Budde (Budde@tu-harburg.de) +# GNU General Public License + +############################################################## +# sgmltools -> dhelp, dwww, index.html # +# # +# usage: sgml2dhelp <dhelp section> <dwww section> # +############################################################## + +# you +$maintainer = 'Marco Budde (Budde@tu-harburg.de)'; + +# regexp to find the root html file of a document +$file_expr = '^(.+)[^0-9]\.html$'; + +# regexp to produce a link name from the file name +$title_expr = '^(.+)\.html$'; + + +############################## +# get abstract of document # +############################## + +sub get_abstract +{ + my $zw; + + open (IN, "< $filename") or die "can't open $filename!\n"; + $abstract = ''; + while ($zw = <IN>) + { + if ($zw =~ /<P><HR><EM>(.*)/) + { + $abstract = $1; + while ($zw !~ /<\/EM><HR><\/P>/) + { + $zw = <IN>; + $abstract .= ' ' . $zw; + } + } + } + $abstract =~ s/<\/EM><HR><\/P>//; + close (IN); +} + + +################## +# write .dhelp # +################## + +sub write_dhelp +{ + print DHELP "<item>\n"; + print DHELP "<directory>$ARGV[0]\n"; + print DHELP "<linkname>$linkname\n"; + print DHELP "<filename>$filename\n"; + print DHELP "<description>\n$abstract\n</description>\n"; + print DHELP "</item>\n\n"; +} + + +######################### +# .dwww-index support # +######################### + +sub dwww_pwd +{ + $pwd = `pwd`; + $pwd =~ /.*?\/usr\/doc\/*(.*)/; + $pwd = $1; +} + +sub write_dwww +{ + print DWWW "#section $ARGV[1]\n"; + print DWWW "<dt><a href=\"$pwd/$filename\">$linkname</a>\n"; + print DWWW "<dd>$abstract\n\n"; +} + +######################## +# index.html support # +######################## + +sub write_index +{ + print INDEX "<DT><A HREF=\"$filename\">$linkname</A>\n"; + print INDEX "<DD>$abstract\n\n"; +} + + +################ +# main # +################ + +opendir (DIRHANDLE, '.'); +@dircontent = readdir (DIRHANDLE); +closedir (DIRHANDLE); + +open (DHELP, "> .dhelp"); +open (INDEX, "> index.html"); +print INDEX "<HTML>\n<BODY BGCOLOR=#FFFFFF>\n<DL>\n"; +open (DWWW, "> .dwww-index"); +&dwww_pwd; + +foreach $filename (sort @dircontent) +{ + if ($filename =~ /$file_expr/) + { + $filename =~ /$title_expr/; + $linkname = $1; + print "$filename\n"; + &get_abstract; + &write_dhelp; + &write_index; + &write_dwww; + } +} + +close (DHELP); +print INDEX "</DL>\n<HR>\n<ADDRESS><SMALL>\n"; +print INDEX "Please send comments to $maintainer.\n"; +$time = gmtime (time); +print INDEX "<BR>This page was created $time GMT.</SMALL></ADDRESS>\n"; +print INDEX "</BODY>\n</HTML>\n"; +close (INDEX); +close (DWWW); + diff --git a/debian/tmp/usr/share/doc/dhelp/swirl.jpg b/debian/tmp/usr/share/doc/dhelp/swirl.jpg Binary files differnew file mode 100644 index 0000000..542f0a4 --- /dev/null +++ b/debian/tmp/usr/share/doc/dhelp/swirl.jpg diff --git a/debian/tmp/usr/share/doc/dhelp/text.png b/debian/tmp/usr/share/doc/dhelp/text.png Binary files differnew file mode 100644 index 0000000..399ef4a --- /dev/null +++ b/debian/tmp/usr/share/doc/dhelp/text.png |