Your message dated Mon, 30 Oct 2023 17:24:39 +1100
with message-id 
<CALy8Cw6A2zW2n3WBLcOefLNdY_EaNr5fnBSd2qE=hnhuesl...@mail.gmail.com>
and subject line Fixed in dh-exec 0.24
has caused the Debian Bug report #498067,
regarding dh_install wildcard exception mechanism request
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
498067: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498067
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: debhelper
Version: 7.0.15
Severity: wishlist

I'm switching a package from dh_movefiles to dh_install and there is
one facility that I really miss.

The way the package works is that after "make install" there are a
whole bunch of files in debian/tmp/usr/bin/.  Of these, file djview3
should go in package djview3, and the remaining dozen should go in
djvulibre-bin.

With dh_movefiles this was easy to accomplish:

 - list djvulibre-bin after djview3 in debian/control
 - put usr/bin/djview3 in djview3.files
 - put usr/bin/* in djvulibre-bin.files

But this doesn't work with dh_install, as the analogous setup with
djview3.install and djvulibre-bin.install results in two copies of
djview3, one in each binary package.

The can be worked around by expanding out the wildcard, sans djview3,
in djvulibre-bin.install.  But that is a very fragile, as it requires
a line to be added each time a new executable is added upstream.

It seems to me that *either* some exception mechanism, like

  $ cat others-bin.install

  :EXCEPT usr/bin/foo
  :EXCEPT usr/share/man/man1/foo.1
  usr/bin/*
  usr/share/man/man1/*

or some precedence mechanism, like

  $ cat others-bin.install

  :NOREPEAT foo-bin
  usr/bin/*
  usr/share/man/man1/*

would solve the problem and be easy to explain, and straightforward to
implement.

(I suppose
 dh_install -p djvulibre-bin --exclude=djview3
would work, or
 dh_install
 rm libdjvulibre-bin/usr/bin/djview3
but that also gets ugly and brittle quite quickly, and also makes
eventual migration to "dh binary-arch" and friends trickier.)

                                        --Barak.
--
Barak A. Pearlmutter
 Hamilton Institute & Dept Comp Sci, NUI Maynooth, Co. Kildare, Ireland
 http://www.bcl.hamilton.ie/~barak/



--- End Message ---
--- Begin Message ---
Package: dh-exec
Version: 0.24

I'm not sure why this bug was not automatically closed when dh-exec 0.24
was uploaded but the changelog entry is:
  * Add support for moving files to a package, instead of copying. Thanks
    to Barak A. Pearlmutter and Niels Thykier for the report and bringing
    the request to my attention. (Closes: #498067)

--- End Message ---

Reply via email to