[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#594322: [Foo2zjs-maintainer] Bug#594322: foo2zjs: Please upgrade to more recent version for Squeeze.



On 02/24/2011 03:38 PM, Didier 'OdyX' Raboud wrote:
Le Thursday 24 February 2011 13:12:13 Till Kamppeter, vous avez écrit :
OK. Then take the Apport hook into the Debian package and we keep
foo2zjs identical on Debian and Ubuntu.

     Till

If this is done (and I think it's desirable for Ubuntu), please do it in a
Distribution-dependent way, see e.g. the foomatic-filters debian/rules:


Yes, I am already doing so in several other packages.

derives_from_ubuntu := $(shell (dpkg-vendor --derives-from Ubuntu&&  echo "yes") || echo "no")

(…)
override_dh_install:
         dh_install
ifeq ($(derives_from_ubuntu),yes)
         install -D -m 644 debian/ubuntu/apport-hook.py $(CURDIR)/debian/foomatic-filters/usr/share/apport/package-hooks/source_foomatic-filters.py
endif

This way you have one source package, but the binary package gets different
contents depending on the distribution.

Great, after CUPS, Foomatic, and HPLIP, foo2zjs will be the next package which is identical on both Debian and Ubuntu. Ghostscript is also already close to this state.

We should also merge system-config-printer from Ubuntu back into Debian and make it the standard printer setup tool.

   Till


Reply to: