| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
to better handle removal in the case where xfonts-utils is removed before a font package is purged. (#543512; thanks, Theppitak Karoonboonyanan)
|
| |
|
|
|
|
| |
in perl 5.10.
|
|
|
|
|
| |
Closes: #404785
* Man page improvements. Closes: #406707
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
an instance of /etc/X11/fonts/ that was missed before. Closes: #364530
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
/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.
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
* Now in a subversion repository, some minor changes for that.
* dh_link test should expect results in debian/debhelper, not debian/tmp.
|
| |
|
|
|
|
| |
* Typo, Closes: #183267
|
|
|
|
|
|
| |
doesn't get
upset. Closes: #131322
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
- Better indenting of generated code.
- Better ordering of generated code (minor fix).
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
the path and dpkg enforces it. Closes: #112385
|
|
|
|
| |
to mkfontdir. Closes: #89418
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Closes: #48931
|
|
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
|