summaryrefslogtreecommitdiff
path: root/dh_compress
AgeCommit message (Collapse)AuthorFilesLines
2015-11-21Exclude .devhelp2 files from being compressedMichael Biebl1-0/+1
gtkdoc reads the .devhelp2 files to create proper cross-references in the HTML documentation. Compressing those files breaks this since gtkdoc does not support reading compressed files. Since those .devhelp2 files are usually rather small and only installed on developer machines, the space saveings are not worth it. Thus exclude the files from being compressed by dh_compress. https://bugs.launchpad.net/ubuntu/+source/gtk-doc/+bug/1466210 Signed-off-by: Niels Thykier <niels@thykier.net>
2015-10-20dh_compress: Optimise the number of getcwd callsNiels Thykier1-1/+3
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-09-26fix file lists and abspaths for dh_compress w/testRafael Kitover1-3/+10
Fix dh_compress to accept file names on the command line that it would otherwise compress anyway, by removing duplicates. Also allow dh_compress to accept absolute paths, by stripping the leading slashes. Add tests for the desired behavior in t/dh_compress.t . Fix an undefined warning in dh_compress that is sometimes triggered. Add a . -> lib symlink so that prove -vwlr t works. Signed-off-by: Niels Thykier <niels@thykier.net>
2015-07-01Migrate to use warnings and use parentNiels Thykier1-1/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-05-20Use POSIX compliant find syntaxOsamu Aoki1-2/+2
expr1 -or expr2 Same as expr1 -o expr2, but not POSIX compliant. Signed-off-by: Niels Thykier <niels@thykier.net>
2015-05-20dh_compress: skip xhtml compressionOsamu Aoki1-0/+1
Try again with correct fix Signed-off-by: Niels Thykier <niels@thykier.net>
2015-05-02Revert "dh_compress: Skip compression of xhtml files"Niels Thykier1-1/+1
This reverts commit d5c08b71d7a59dfa5e082672ae2548eee7503fda. Conflicts: debian/changelog
2015-02-22dh_compress: exclude .xz .lzma and .lz files from compressionBernhard R. Link1-0/+1
2015-01-01Add editor hints to the end of all perl modules and scriptsNiels Thykier1-0/+6
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-01-01dh_compress: Skip compression of xhtml filesOsamu Aoki1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-01-25dh_compress: Avoid compressing .map files, which may be html usemaps. ↵Joey Hess1-1/+1
Closes: #704443
2013-11-25dh_compress: Exclude several more compressed file formats. Closes: #730483Joey Hess1-1/+3
2013-05-09dh_compress, dh_perl: Avoid failing if the package build directory does not ↵Joey Hess1-0/+2
exist.
2012-05-19debhelper: Fix minor source comment typos.Simon Ruderich1-1/+1
2011-08-20dh_compress: Don't compress _sources documentation subdirectory as used by ↵Joey Hess1-1/+3
python-sphinx. Closes: #637492 Thanks, Jakub Wilk
2011-01-04Ignore objects.inv files, generated by Sphinx documentationJosselin Mouette1-1/+1
2010-12-22dh_compress: Javascript files are not compressed, as these go with ↵Joey Hess1-2/+2
(uncompressed) html files. Closes: #603553
2010-11-02Apply manual pages conventionsDavid Prévot1-12/+12
As advised in man(1), always use: B<bold text> type exactly as shown. I<italic text> replace with appropriate argument. s/debian/Debian/ if needed. s/ / / also. s/perl/Perl/ s/python/Python/ and s/emacs/Emacs/ too.
2010-05-23debian/compress files are now deprecated. Seems only one package (genesis) ↵Joey Hess1-3/+5
still uses them.
2010-01-31dh_compress: Avoid compressing images in /usr/share/info. Closes: #567586Joey Hess1-1/+4
2009-11-20Remove last vestiages of support for /usr/X11R6.Joey Hess1-4/+3
2009-09-06releasing version 7.4.17.4.1Joey Hess1-0/+2
2009-09-04Add FILES sections to man pages. Closes: #545041Joey Hess1-6/+12
2009-05-27dh_compress: Avoid compressing .svg and .sgvz files, since these might be ↵Joey Hess1-4/+6
used as images on a html page, and also to avoid needing to special case the .svgz extention when compressing svg. Closes: #530253
2008-06-06dh_compress: Do not compress index.sgml files, as generated by gtk-doc. ↵Joey Hess1-0/+1
Closes: #484772
2008-02-27* dh_compress: Pass -n to gzip to yeild more reproducible file contents.Joey Hess1-1/+1
The time stamp information need not be contained in the .gz file since the time stamp is preserved when compressing and decompressing. Closes: #467100
2007-10-31* Reword paragraph about debian/compress files to perhaps be more clearJoey Hess1-6/+6
about the debian/compress file. Closes: #448759
2006-04-13r1900: * dh_installxfonts: Random hack to deal with X font dirs moving to5.0.29joeyh1-2/+2
/usr/share/fonts/X11/ -- look there for fonts as well as in the old location, although the old location probably won't be seen by X anymore. * dh_installxfonts: Generate misc:Depends on new xfonts-utils. * dh_compress: compress pcm fonts under usr/share/fonts/X11/ * dh_link: change example that used X11R6 directory.
2005-06-13r1763: releasing version 4.9.04.9.0joey1-1/+1
2003-08-22r1596: * Remove duplicate packages from DOPACKAGES after argument processing.version_4.1.68joey1-9/+17
Closes: #112950 * dh_compress: deal with links pointing to links pointing to compressed files, no matter what order find returns them. Closes: #204169 * dh_installmodules, dh_installpam, dh_installcron, dh_installinit, dh_installogrotate: add --name= option, that can be used to specify the name to use for the file(s) installed by these commands. For example, dh_installcron --name=foo will install debian/package.foo.cron.daily to etc/cron.daily/foo. Closes: #138202, #101003, #68545, #148844 (Thanks to Thomas Hood for connecting these bug reports.) * dh_installinit: deprecated --init-script option in favor of the above. * Add dh_installppp. Closes: #43403
2003-03-03r576: * Rename debhelper.1 to debhelper.7.joey1-1/+1
* Typo, Closes: #183267
2003-02-22r574: * wiggy didn't take my hint about making update-modules send ↵joey1-1/+1
warnings to stderr, so its overly verbose stdout is now directed to /dev/null to prevent conflicts with debconf. Closes: #150804 * dh_fixperms: only skip examples directories which in a parent of usr/share/doc, not in a deeper tree. Closes: #152602 * dh_compress: stop even looking at usr/doc
2002-10-05r555: * dh_compress: Exclude .css files, to prevent broken links from ↵joey1-4/+4
html files, and since they are generally small, and since this matches existing practice. Closes: #163303
2002-07-19r538: * Make dh_installchangelogs install debian/NEWS files as well, asjoey1-1/+1
NEWS.Debian. Make dh_compress always compress them. The idea is to make these files be in a machine parsable form, like the debian changelog, but only put newsworthy info into them. Automated tools can then display new news on upgrade. It is hoped that if this catches on it will reduce the abuse of debconf notes. See discussion on debian-devel for details.
2002-06-02r529: * dh_compress: always compress .pcf files injoey1-2/+4
/usr/X11R6/lib/X11/fonts/{100dpi,75dpi,misc}, as is required by policy.
2001-11-18r496: * Man page cleanups, Closes: #119335joey1-1/+1
2001-10-15r494: * Added .zip and .jar to list of things to compress (Closes: #115735),joey1-7/+8
and modified docs (Closes: #115733).
2001-07-01r484: * dh_compress: Don't compress .bz2 files, Closes: #102935joey1-3/+2
2001-05-15r467: * dh_installinfo: doc enchancement, Closes: #97515joey1-1/+1
* dh_md5sums: don't fail if pwd has spaces in it (must be scraping the bottom of the bug barrel here). Closes: #97404
2001-02-09r426: updatejoey1-1/+1
2001-02-09r425: mode pod man pagesjoey1-3/+73
2001-02-09r420: big monsta changesjoey1-21/+23
2000-03-02r338: * Patch from Jorgen `forcer' Schaefer <forcer at mindless.com> (muchjoey1-2/+1
modified)to make dh_installwm use new window manager registration method, update-alternatives. Closes: #52156, #34684 (latter bug is obsolete) * Fixed $dh{flavor} to be upper-case. * Deprecated dh_installemavcsen --number; use --priority instead. Also, the option parser requires the parameter be a number now. And, dh_installwm now accepts --priority, and window manager packages should start using it. * dh_installwm now behaves like a proper debhelper command, and reads debian/<package>.wm too. This is a small behavior change; filenames specified on the command line no longer apply to all packages it acts on. I can't belive this program existed for 2 years with such a glaring problem; I guess most people don't need ot register 5 wm's in 3 sub-packages. Anyway, it can handle such things now. :-) * Moved Dh_*.pm to /usr/lib/perl5/Debian/Debhelper. *big* change.
1999-12-06r325: * Corrected mispellings, Closes: #52013joey1-1/+1
1999-11-04r302: * dh_shlibdeps: added -l option, which lets you specify a path thatjoey1-2/+2
LD_LIBRARY_PATH is then set to when dpkg-shlibdeps is run. This should make it easier for library packages that also build binary packages to be built with correct dependancies. Closes: #36751 * In honor of Burn all GIFs Day (hi Don!), I added alternative image formats .png, .jpg (and .jpeg) to the list of extentions dh_compress does not compress. Closes: #41733 * Also, made all extentions dh_compress skips be looked at case insensitively. * dh_movefiles: force owner and group of installed files to be root. Closes: #46039 * Closes: #42650, #47175 -- they've been fixed forever.
1999-10-06r292: * dh_compress: After compressing an executable, changes the file ↵joey1-0/+3
mode to 644. Executable .gz files are silly. Closes: #46383
1999-09-11r272: * dh_compress: fixed #ARGV bug (again) Closes: #44853joey1-1/+1
1999-09-03r265: * It turns out it's possible to set up make variables that are ↵joey1-36/+111
specific to a single target of a Makefile. This works tremendously well with DH_OPTIONS: no need to put "-i" or "-pfoo" after every debhelper command anymore. * debhelper.1: mentioned above technique. * examples/rules.multi: use the above method to get rid of -i's and -a's. * examples/rules.multi2: new file, example of a multi-binary package that works for arch-indep and arch-dependant packages, and also allows building of single binary packages independntly, via binary-<package> targets. It accomplishes all this using only one list of debhelper commands. * examples/*: removed source and diff targets. They've been obsolete for 2 years -- or is it 3? No need for a nice error message on failure anymore.
1999-08-17r1: Initial revisionjoey1-0/+40