From 74bbde37b5769254f730525c22fb8a71d547a23d Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 17 Aug 1999 05:02:18 +0000 Subject: [PATCH] r130: Initial Import --- debian/changelog | 14 ++++++++++++++ dh_clean | 3 ++- dh_fixperms | 2 +- doc/README | 4 +++- doc/TODO | 3 --- 5 files changed, 20 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index 25279d3..7664334 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,17 @@ +debhelper (1.1.22) unstable; urgency=low + + * dh_fixperms: quoting fix from Roderick Schertler + * Added support for register-window-manager command which will be in a new + (as yet unreleased) xbase. Now a new dh_installwm program handles + registration of a window manager and the necessary modifications to + postinst and postrm. It's safe to go ahead and start using this for your + window manager packages, just note that it won't do anything until the new + xbase is out, and that due to the design of register-window-manager, if + your wm is installed before a xbase that supports register-window-manager + is installed, the window manager will never be registered. (#20971) + + -- Joey Hess Wed, 14 Oct 1998 23:08:04 -0700 + debhelper (1.1.21) unstable; urgency=low * Added install to .PHONY target of example rules files. diff --git a/dh_clean b/dh_clean index 544c09a..821a54d 100755 --- a/dh_clean +++ b/dh_clean @@ -30,8 +30,9 @@ if (! $dh{K_FLAG}) { # Remove other temp files. # (The \s+ is important, \s won't work because find would get null parameters). +# Note that you _don't_ quote wildcards used by find in here. doit(split(/\s+/,"find . ( -name #*# -o -name *~ -o -name DEADJOE -o -name *.orig -o -name *.rej -o -name *.bak -o -name .*.orig -o -name .*.rej -o -name .SUMS - -o -name TAGS -o -name core + -o -name TAGS -o -name core -o ( -path */.deps/* -a -name *.P ) ) -exec rm -f {} ;")); diff --git a/dh_fixperms b/dh_fixperms index b36f68c..58aa148 100755 --- a/dh_fixperms +++ b/dh_fixperms @@ -45,6 +45,6 @@ for PACKAGE in $DH_DOPACKAGES; do # ..and so are executable shared and static libraries # (and .la files from libtool) complex_doit "find $TMP -perm -5 -type f \ - \( -name "*.so*" -or -name "*.la" -or -name "*.a" \) $FIND_OPTIONS -print0 \ + \( -name '*.so*' -or -name '*.la' -or -name '*.a' \) $FIND_OPTIONS -print0 \ 2>/dev/null | xargs -0r chmod a-X" done diff --git a/doc/README b/doc/README index 2aa9175..93b1687 100644 --- a/doc/README +++ b/doc/README @@ -35,9 +35,11 @@ by the -n parameter. Note that it will be shell code, so you cannot directly use it in a perl script. If you would like to embed it into a perl script, here is one way to -do that (note the tricky use of backquotes): +do that (note the tricky use of backquotes) (also note that I made sure that +$1, $2, etc are set with the set command): print << `EOF` +set -- @ARGV #DEBHELPER# EOF diff --git a/doc/TODO b/doc/TODO index df9e3c4..ac5c212 100644 --- a/doc/TODO +++ b/doc/TODO @@ -38,9 +38,6 @@ Wishlist items: Matthias Klose ) * docbase support (#25233). Waiting for docbase to stabalize and be used widly. -* Support /etc/X11/window-managers, by making it easy for window managers to - add themselves to it in the postinst. Not high priority because there are - few window managers. (#20971) * dhelp support. Currently pending on dhelp use becoming widespead (#18342) * Support use of environment variables in data taken from user, ie, in debian/dirs. The problem with doing this is that we really want to allow -- 2.39.5