[Pkg-hpijs-devel] Bug#655424: mistake in debian/rules?

Giacomo Mulas gmulas at oa-cagliari.inaf.it
Wed Jan 11 14:12:47 UTC 2012


After stumbling on the same problem, I tried recompiling the hplip source
package from scratch on my sid box.  Apparently hpcups and hpcupsfax _are_
compiled all right, _but_ they are _not_ installed in any package.  After
compilation, they are both in debian/tmp/usr/cups/filter, but they are
placed neither in debian/hplip/usr/cups/filter (where all other filters are
installed, so that they end up in the hplip package) nor in
debian/printer-driver-hpcups/usr/lib/cups/filter (where perhaps they were
supposed to go, guessing from changelog).

So this appears to be a bug in the debian packaging. I don't know where the
maintainer planned to put the necessary install commands, there may be
several possibilities, but apparently (s)he just forgot to add them.  A
quick and dirty fix would be to put two lines in debian/rules, in the
install-arch-stamp stanza, like

install -m 755 hpcups "$(CURDIR)/debian/printer-driver-hpcups/usr/lib/cups/filter/" 
install -m 755 hpcupsfax "$(CURDIR)/debian/printer-driver-hpcups/usr/lib/cups/filter/"

or

install -m 755 hpcups "$(CURDIR)/debian/hplip/usr/lib/cups/filter/" 
install -m 755 hpcupsfax "$(CURDIR)/debian/hplip/usr/lib/cups/filter/"

or something along these lines depending on which package the two
executables are supposed to be in.

Of course, there may be nicer alternatives, in any case I am sure the
maintainer will very quickly and easily fix this as soon as (s)he finds out
about it.

Bye
Giacomo

-- 
_________________________________________________________________

Giacomo Mulas <gmulas at oa-cagliari.inaf.it>
_________________________________________________________________

OSSERVATORIO ASTRONOMICO DI CAGLIARI
Str. 54, Loc. Poggio dei Pini * 09012 Capoterra (CA)

Tel. (OAC): +39 070 71180 248     Fax : +39 070 71180 222
Tel. (UNICA): +39 070 675 4916
_________________________________________________________________

"When the storms are raging around you, stay right where you are"
                          (Freddy Mercury)
_________________________________________________________________





More information about the Pkg-hpijs-devel mailing list