--- tkinfo-2.8.orig/tkinfo +++ tkinfo-2.8/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 { --- tkinfo-2.8.orig/debian/docs +++ tkinfo-2.8/debian/docs @@ -0,0 +1 @@ +README --- tkinfo-2.8.orig/debian/control +++ tkinfo-2.8/debian/control @@ -0,0 +1,16 @@ +Source: tkinfo +Section: doc +Priority: optional +Maintainer: Michael Piefel +Build-Depends: debhelper (>> 5.0.0) +Standards-Version: 3.7.2 + +Package: tkinfo +Architecture: all +Depends: tk8.4 | wish, install-info +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. --- tkinfo-2.8.orig/debian/prerm +++ tkinfo-2.8/debian/prerm @@ -0,0 +1,38 @@ +#! /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 + + --- tkinfo-2.8.orig/debian/changelog +++ tkinfo-2.8/debian/changelog @@ -0,0 +1,127 @@ +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 + --- tkinfo-2.8.orig/debian/menu +++ tkinfo-2.8/debian/menu @@ -0,0 +1,4 @@ +?package(tkinfo):needs="X11" section="Help" \ + title="TkInfo" command="/usr/bin/tkinfo" \ + icon="/usr/share/pixmaps/TkInfo.xpm" + --- tkinfo-2.8.orig/debian/compat +++ tkinfo-2.8/debian/compat @@ -0,0 +1 @@ +5 --- tkinfo-2.8.orig/debian/manpages +++ tkinfo-2.8/debian/manpages @@ -0,0 +1 @@ +tkinfo.1 --- tkinfo-2.8.orig/debian/postinst +++ tkinfo-2.8/debian/postinst @@ -0,0 +1,50 @@ +#! /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 + + --- tkinfo-2.8.orig/debian/rules +++ tkinfo-2.8/debian/rules @@ -0,0 +1,54 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +configure: + # nothing to do + +build: + # 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 + install -D -m 0644 debian/linda-override debian/tkinfo/usr/share/linda/overrides/tkinfo + + + +# 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 --- tkinfo-2.8.orig/debian/linda-override +++ tkinfo-2.8/debian/linda-override @@ -0,0 +1,2 @@ +Tag: interp-minus-n-fails +Data: usr/bin/tkinfo --- tkinfo-2.8.orig/debian/copyright +++ tkinfo-2.8/debian/copyright @@ -0,0 +1,28 @@ +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. --- tkinfo-2.8.orig/debian/dirs +++ tkinfo-2.8/debian/dirs @@ -0,0 +1,3 @@ +usr/bin +usr/share/pixmaps +usr/share/linda/overrides --- tkinfo-2.8.orig/debian/README.debian +++ tkinfo-2.8/debian/README.debian @@ -0,0 +1,7 @@ +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