debian/0000755000000000000000000000000011652063432007170 5ustar debian/copyright0000644000000000000000000000230311652051546011124 0ustar This package was debianized by Craig Sanders cas@taz.net.au on Web, 19 Mar 1997 05:08:52 +1100. It was downloaded from http://math-www.uni-paderborn.de/~axel/tkinfo/. Copyright: Copyright (c) 1993 The Regents of the University of California. All rights reserved. Permission is hereby granted, without written agreement and without license or royalty fees, to use, copy, modify, and distribute this software and its documentation for any purpose, provided that the above copyright notice and the following two paragraphs appear in all copies of this software. IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. debian/docs0000644000000000000000000000000711652051546010043 0ustar README debian/changelog0000644000000000000000000001024111652056505011043 0ustar tkinfo (2.8-4) unstable; urgency=low * Acknowledge NMU. * Step up Tk dependency to 8.5 (although not strictly necessary, since there is an alternative dependency on wish as well). * Step up policy version to 3.9.2 and debhelper to 8. * Switch to dpkg-source 3.0 (quilt) format. -- Michael Piefel Wed, 26 Oct 2011 20:51:12 +0200 tkinfo (2.8-3.1) unstable; urgency=low * Non-maintainer upload. * Add dependency on install-info (Closes: #532593) -- Norbert Preining Sun, 21 Jun 2009 19:34:55 +0200 tkinfo (2.8-3) unstable; urgency=low * Look for defaults in /etc/X11/app-defaults now instead of /usr/lib/X11/app-defaults (Tomas Pospisek, closes: #412253) -- Michael Piefel Tue, 13 Mar 2007 10:22:54 +0100 tkinfo (2.8-2) unstable; urgency=low * Move some files around to conform to current policy (closes: #403937) -- Michael Piefel Thu, 21 Dec 2006 10:11:26 +0100 tkinfo (2.8-1) unstable; urgency=low * New upstream fixes problem with ignored aliases (closes: #149387) -- Michael Piefel Thu, 22 Apr 2004 15:25:06 +0200 tkinfo (2.6-1) unstable; urgency=low * New upstream fixes Tcl/Tk 8.4 problems (depends on wish now) * Cleaned up debian/rules for this exceedingly simple package -- Michael Piefel Wed, 03 Sep 2003 13:41:49 +0200 tkinfo (2.5-4) unstable; urgency=low * Explicitely call wish8.3 in the script, as it won't work with 8.4 -- Michael Piefel Fri, 04 Oct 2002 15:10:27 +0200 tkinfo (2.5-3) unstable; urgency=low * Lintian cleanness release. (Build-Indep, Emacs-user-settings) -- Michael Piefel Tue, 12 Feb 2002 13:29:47 +0100 tkinfo (2.5-2) unstable; urgency=low * New maintainer * Removed swish++ dependency (it doesn't provide wish after all) * Added icon * Switched to debhelper -- Michael Piefel Wed, 11 Jul 2001 15:20:20 +0200 tkinfo (2.5-1.1) unstable; urgency=low * FHS transisition * Non Maintainer upload * removed usr/man and usr/doc from debian/dirs (Closes: #81447, Closes: #91049, Closes: #91682) * added isp flags to dpkg-gencontrol to generate Section: and Priority fields * adjusted menu to (hopefully) the newer format * declared depends on swish++ (sec 8.6, P-M) * not bumping standards version as unsure of exact status of package wrt standards * used a patch from Stephen Stafford Sun, 10 Jun 2001 15:54:32 +0100 which * closes: #100403 * used patch from David Schleef Fri, 27 Apr 2001 21:07:34 -0500 * closes: #95572 * closes: #56837 Menu entry changed to "Help" * Changed Standards-Version to 3.5.2 * closes: #31522 The package can be downloaded from http://math-www.uni-paderborn.de/~axel/tkinfo/ * closes: #52639 tkinfo seems to behave like info and so I'm closing the bug -- Andreas Tille Thu, 05 Jul 2001 01:52:31 +0200 tkinfo (2.5-1) unstable; urgency=low * new upstream release * now looks in /usr/share/info as well as /usr/info (closes: #36040) -- Craig Sanders Wed, 14 Apr 1999 16:13:04 +1000 tkinfo (2.0-1) unstable; urgency=low * now depends on wish * redid packaging because my man page is now included with upstream release * new upstream release -- Craig Sanders Fri, 21 Nov 1997 19:11:15 +1100 tkinfo (1.5-1) unstable; urgency=low * re-wrote man page to document all options * new upstream version -- Craig Sanders Mon, 14 Jul 1997 11:39:14 +1000 tkinfo (1.3-3) unstable; urgency=low * changed architecture to all (Bug#8247) * changed menu from text to x11 (Bug#8514 & Bug#8546) * suggests tkman (Bug#8515) * added "Provides: info-browser" (Bug#8594) -- Craig Sanders Sat, 12 Apr 1997 18:45:03 +1000 tkinfo (1.3-2) unstable; urgency=low * oops. forgot dependancy on tk40 | tk41 | tk42 -- Craig Sanders Wed, 19 Mar 1997 18:52:49 +1100 tkinfo (1.3-1) unstable; urgency=low * Initial Release. -- Craig Sanders Wed, 19 Mar 1997 05:08:52 +1100 debian/control0000644000000000000000000000076011652056300010572 0ustar Source: tkinfo Section: doc Priority: optional Maintainer: Michael Piefel Build-Depends: debhelper (>= 8) Standards-Version: 3.9.2 Package: tkinfo Architecture: all Depends: tk8.5 | wish, install-info, ${misc:Depends} Suggests: tkman Provides: info-browser Description: Tcl/Tk Info browser TkInfo is a Tcl/Tk script to read GNU Info files and display them. TkInfo can be used stand alone (via wish), or embedded within an application to provide integrated, on-line help. debian/rules0000755000000000000000000000177411652054125010260 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 configure: # nothing to do build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: # nothing to do clean: dh_testdir dh_testroot # nothing to do dh_clean # Nothing to build, really install: dh_testdir dh_testroot dh_clean dh_installdirs # Add here commands to install the package into debian/tkinfo. install -D -m 0755 tkinfo debian/tkinfo/usr/bin/tkinfo install -D -m 0644 TkInfo.xpm debian/tkinfo/usr/share/pixmaps # Build architecture-dependent files here. binary-arch: build install # We have nothing to do by default. # Build architecture-independent files here. binary-indep: build install dh_testdir dh_testroot dh_installdocs dh_installmenu dh_installman dh_installchangelogs dh_compress dh_fixperms dh_installdeb dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure debian/postinst0000644000000000000000000000275411652051546011011 0ustar #! /bin/sh # postinst script for tkinfo # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-deconfigure' `in-favour' # `removing' # # for details, see /usr/share/doc/packaging-manual/ # # quoting from the policy: # Any necessary prompting should almost always be confined to the # post-installation script, and should be protected with a conditional # so that unnecessary prompting doesn't happen if a package's # installation fails and the `postinst' is called with `abort-upgrade', # `abort-remove' or `abort-deconfigure'. case "$1" in configure|abort-upgrade) update-alternatives --install /usr/bin/infobrowser infobrowser \ /usr/bin/tkinfo 60 \ --slave /usr/share/man/man1/infobrowser.1.gz infobrowser.1.gz \ /usr/share/man/man1/tkinfo.1.gz ;; abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument '$1'" >&2 exit 0 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/dirs0000644000000000000000000000003211652063427010053 0ustar usr/bin usr/share/pixmaps debian/manpages0000644000000000000000000000001111652051546010701 0ustar tkinfo.1 debian/menu0000644000000000000000000000020311652051546010055 0ustar ?package(tkinfo):needs="X11" section="Help" \ title="TkInfo" command="/usr/bin/tkinfo" \ icon="/usr/share/pixmaps/TkInfo.xpm" debian/prerm0000644000000000000000000000171411652051546010246 0ustar #! /bin/sh # prerm script for tkinfo # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `upgrade' # * `failed-upgrade' # * `remove' `in-favour' # * `deconfigure' `in-favour' # `removing' # # for details, see /usr/share/doc/packaging-manual/ case "$1" in remove|upgrade|deconfigure) # install-info --quiet --remove /usr/info/tkinfo.info.gz update-alternatives --remove infobrowser /usr/bin/tkinfo ;; failed-upgrade) ;; *) echo "prerm called with unknown argument '$1'" >&2 exit 0 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/README.debian0000644000000000000000000000033411652051546011274 0ustar tkinfo for DEBIAN ---------------------- A tk/tcl based info browser. At last something other than emacs which makes info documents less unpleasant to read. Craig Sanders , Wed Mar 19 18:30:41 EST 1997 debian/patches/0000755000000000000000000000000011652063464010624 5ustar debian/patches/fix-x11.patch0000644000000000000000000000323311652061221013030 0ustar From: Tomas Pospisek Subject: Fix location of X11 configuration files in Debian --- a/tkinfo +++ b/tkinfo @@ -113,7 +113,7 @@ The colors, fonts, and geometry of tkInfo can be customized using the standard X options database. A random example follows. You can either put (parts of) this in your .Xdefaults or .Xresources file or you can -create a global file /usr/lib/X11/app-defaults/tkinfo that will apply +create a global file /etc/X11/app-defaults/tkinfo that will apply to all users of your site. To have the new options take effect, restart your X server or use the program xrdb. More information about the X options mechanism is available from the X man page. Use tkman @@ -745,13 +745,17 @@ # Searches for the app-default files corresponding to classNames in # the order specified by X Toolkit Intrinsics (R5), and loads them with # the priority specified (default: startupFile). From the Tcl FAQ. +# +# Modified by Tomas Pospisek : +# +# 1. use Debian specific system wide app-defaults path under /etc/X11 +# 2. remove "lang" - I haven't ever seen paths that contain a "lang" specific part +# proc _tkiLoadAppDefaults {classNameList {priority startupFile}} { - set lang [_tkiEnvVal LANG] - if {[string length $lang] > 0} { set lang /$lang } set filepath "\ - /usr/lib/X11${lang}/app-defaults \ + /etc/X11/app-defaults \ [split [_tkiEnvVal XFILESEARCHPATH] :] \ - [_tkiEnvVal XAPPLRESDIR]${lang} \ + [_tkiEnvVal XAPPLRESDIR]$ \ [split [_tkiEnvVal XUSERFILESEARCHPATH] :] \ " foreach i $classNameList { debian/patches/series0000644000000000000000000000004011652062773012035 0ustar fix-x11.patch fix-manpage.patch debian/patches/fix-manpage.patch0000644000000000000000000000370311652063464014044 0ustar Description: Fix spelling in man page --- a/tkinfo.1 +++ b/tkinfo.1 @@ -127,7 +127,7 @@ .BI "\-dir " dir Specifies directories to search for info files, in addition to those contained in the INFOPATH environment variable. The directories -specified with -dir will be searched first, in the order given. +specified with \-dir will be searched first, in the order given. .TP .I node Specifies the info node to visit initially. Possible formats for @@ -141,11 +141,11 @@ "filename" equivalent to (filename). .PP If filename is not absolute, the info directories (from INFOPATH and --dir) will be searched. If filename cannot be found, its lower case +\-dir) will be searched. If filename cannot be found, its lower case version will be tried. .PP -An alternative way to specify the node "(FILE)NODE" is with "-file FILE --node NODE". +An alternative way to specify the node "(FILE)NODE" is with "\-file FILE +\-node NODE". .PP If no .I node @@ -155,7 +155,7 @@ .TP .B INFOPATH A colon (``:'') separated list of directories to search for info -files. More directories can be given with -dir options, above. If not +files. More directories can be given with \-dir options, above. If not set, .B tkinfo will try various standard directories that should be ok for most @@ -165,7 +165,7 @@ A colon separated list of file suffixes to try when searching for an info file. If not set, .B tkinfo -will try the suffixes "", ".info", and "-info". In addition, +will try the suffixes "", ".info", and "\-info". In addition, .B tkinfo will always automatically try the suffixes .Z, .z, and .gz and deal with the compressed file if necessary. @@ -180,5 +180,5 @@ .SH AUTHOR This manual page was written by Craig Sanders for -the Debian GNU/Linux system and released under the GNU Public License. +the Debian GNU/Linux system and released under the GNU General Public License. Some changes were made by Axel Boldt . debian/source/0000755000000000000000000000000011652056460010473 5ustar debian/source/format0000644000000000000000000000001411652056460011701 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211652053167010372 0ustar 8