summaryrefslogtreecommitdiff
path: root/dh_installxfonts
Commit message (Collapse)AuthorAge
* dh: Skips running commands that it can tell do nothing.Joey Hess2013-05-05
| | | | | | | | | This is determined by the presence of special PROMISE directives within commands that provide a high-level description of the command. Note that when dh is passed additional debhelper options, it cannot tell if these change the behavior of commands, and so it stops skipping any commands.
* Apply manual pages conventionsDavid Prévot2010-11-02
| | | | | | | | | 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.
* stop trying to handle substvars idempotentlyJoey Hess2009-12-29
| | | | | | | | | | | | | | | | | | | | | | | In the beginning, I tried to be careful to have commands that added a substvar remove it when ran again with different options that caused it to not be needed. However, now when I look over the code, I see 3 places that got it right, 1 that was right but I just broke, and a dozen that don't even try to handle this case. Also, handling the case is hard; code that adds substvars may be complex and calculate versioned dependencies. The removal code then has to somehow also come up with those same exact dependency strings. It's a recipe for nasty code and maintenance headache even if I went and fixed everything right now. Instead, I dropped the whole thing. Many debhelper commands make no pretense of being idempotent anyway; it's easy and normal to call dh_prep when starting a binary package build, with the exact purpose of not needing to worry about idempotency. I did leave in the delsubstvar function, as well as the option to addsubstvar that, confusingly, causes an item to be removed. Just for library compatability reasons.
* version misc:Depends if necessaryJoey Hess2009-12-29
|
* simplifyJoey Hess2009-12-29
|
* dh_installxfonts: Use new update-fonts-alias --include and --exclude options ↵Joey Hess2009-12-29
| | | | to better handle removal in the case where xfonts-utils is removed before a font package is purged. (#543512; thanks, Theppitak Karoonboonyanan)
* Remove last vestiages of support for /usr/X11R6.Joey Hess2009-11-20
|
* dh_installxfonts: Fix precidence problem that exposes a new warning message ↵Joey Hess2008-05-04
| | | | in perl 5.10.
* r1968: * dh_fixperms: Make all files in /usr/include 644, not only .h files.joeyh2007-01-21
| | | | | Closes: #404785 * Man page improvements. Closes: #406707
* r1917: * dh_installman: When --language is used, be smarter about strippingjoeyh2006-05-11
| | | | | | * dh_installxfonts: /etc/X11/fonts/X11R7 is deprecated, back to looking in old location, and not passing --x11r7-layout to update-fonts-alias and update-fonts-scale (but still to update-fonts-dir). Closes: #366234
* r1911: * dh_installxfonts: Patch from Theppitak Karoonboonyanan to fixjoeyh2006-04-24
| | | | an instance of /etc/X11/fonts/ that was missed before. Closes: #364530
* r1905: * dh_installxfonts: pass --x11r7-layout to update-fonts-* commands to ↵joeyh2006-04-17
| | | | | | | | | | | | ensure they use the right new directory. Closes: #362820 * dh_installxfonts: also, alias files have moved from /etc/X11/fonts/* to /etc/X11/fonts/X11R7/*, update call to update-fonts-alias and the man page accordingly; packages containing alias files will need to switch to the new directory on their own. * dh_installudev: correct documentation for --name. Closes: #363028 * Fix broken directory removal code.
* r1900: * dh_installxfonts: Random hack to deal with X font dirs moving tojoeyh2006-04-13
| | | | | | | | /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.
* r1658: * dh_installxfonts(1): fix link to policy. Closes: #231918joey2004-02-09
| | | | | | | | * dh_scrollkeeper: patch from Christian Marillat Closes: #231703 - Remove DTD changes since docbook-xml not supports xml catalogs. - Bump scrollkeeper dep to 0.3.14-5. * dh_installinfo: remove info stuff on update as well as remove. Policy is unclear/wrong. Closes: #231937a
* r1086: * Several man pae typo fixes by Ruben Porras. Closes: #202819joey2003-07-28
| | | | | * Now in a subversion repository, some minor changes for that. * dh_link test should expect results in debian/debhelper, not debian/tmp.
* r579: updatesjoey2003-03-14
|
* r576: * Rename debhelper.1 to debhelper.7.joey2003-03-03
| | | | * Typo, Closes: #183267
* r507: * dh_installxfonts: separate multiple commands with \n so sed ↵joey2002-01-30
| | | | | | doesn't get upset. Closes: #131322
* r506: * Introduced the debian/compat file. This is the new, preferred way ↵joey2002-01-27
| | | | | | | | | | | | | | | | | | | | | | to say what debhelper compatability level your package uses. It has the big advantage of being available to debhelper when you run it at the command line, as well as in debian/rules. * A new v4 feature: dh_installinit, in v4 mode, will use invoke-rc.d. This is in v4 for testing, but I may well roll it back into v3 (and earlier) once woody is released and I don't have to worry about breaking things (and, presumably, once invoke-rc.d enters policy). * Some debhelper commands will now build up a new substvars variable, ${misc:Depends}, based on things they know your package needs to depend on. For example, dh_installinit in v4 mode adds sysvinit (>= 2.80-1) to that dep list, and dh_installxfonts adds a dep on xutils. This variable should make it easier to keep track of what your package needs to depends on, supplimenting the ${shlibs:Depends} and ${perl:Depends} substvars. Hmm, this appears to be based loosely on an idea by Masato Taruishi <taru@debian.org>, filtered through a long period of mulling it over. Closes: #76352 * Use the addsubstvar function I wrote for the above in dh_perl too.
* r505: * Improved dh_installxfonts some more:joey2002-01-27
| | | | | - Better indenting of generated code. - Better ordering of generated code (minor fix).
* r504: * dh_installman: more documentation about the .TH line. Closes: #129205joey2002-01-27
| | | | | | | | | | | * dh_installxfonts: - Packages that use this should depend on xutils. See man page. - However, if you really want to, you can skip the dep, and the postinst will avoid running program that arn't available. Closes: #131053 - Use update-fonts-dir instead of handling encodings ourselves. Yay! - Pass only the last component of the directory name to update-fonts-*, since that's what they perfer now. - Other changes, chould fully comply with Debian X font policy now.
* r503: * dh_installman: more documentation about the .TH line. Closes: #129205joey2002-01-27
| | | | | | | | | | | * dh_installxfonts: - Packages that use this should depend on xutils. See man page. - However, if you really want to, you can skip the dep, and the postinst will avoid running program that arn't available. Closes: #131053 - Use update-fonts-dir instead of handling encodings ourselves. Yay! - Pass only the last component of the directory name to update-fonts-*, since that's what they perfer now. - Other changes, chould fully comply with Debian X font policy now.
* r496: * Man page cleanups, Closes: #119335joey2001-11-18
|
* r491: * dh_installxfonts: Do not specify /usr/sbin/ paths; that should be injoey2001-09-16
| | | | the path and dpkg enforces it. Closes: #112385
* r455: * Applied a patch from Anton Zinoviev <anton@lml.bas.bg> to pass -ejoey2001-03-17
| | | | to mkfontdir. Closes: #89418
* r433: this is getting *so* boring.joey2001-02-09
|
* r420: big monsta changesjoey2001-02-09
|
* r338: * Patch from Jorgen `forcer' Schaefer <forcer at mindless.com> (muchjoey2000-03-02
| | | | | | | | | | | | | | | | | 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.
* r301: * dh_installxfonts: Patch from Anthony Wong to fix directory searching.joey1999-11-01
| | | | Closes: #48931
* r294: * Fixed problem with dh_installemacsen options not working, patch fromjoey1999-10-24
Rafael Laboissiere <rafael@icp.inpg.fr>, Closes: #47738 * Added new dh_installxfonts script by Changwoo Ryu <cwryu@dor17988.kaist.ac.kr>. Closes: #46684 I made some changes, though: - I rewrote lots of this script to be more my style of perl. - I removed all the verbisity from the postinst script fragment, since that is a clear violation of policy. - I made the postinst fail if the mkfontdir, etc commands fail, because this really makes more sense. Consider idempotency. - I moved the test to see if the font dir is really a directory into the dh_ script and out of the snippet. If the maintainer plays tricks on us, mkfontdir will blow up satisfactorally anyway. - So, the snippet is 9 lines long now, down from 20-some. - I realize this isn't following the reccommendations made in Brandon's font policy. I'll fight it out with him. :-) - In postrm fragment, used rmdir -p to remove as many parent directories as I can. - s:/usr/lib/X11/:/usr/X11R6/lib/X11/:g