package foomatic-db-engine
tags 533452 +patch
thanks
Le dimanche 21 février 2010 02:20:01 Slávek Banko, vous avez écrit :
> Here is small workaround to fix this bug.
>
> *** debian/rules.orig 2010-02-21 02:05:22.000000000 +0100
> --- debian/rules 2010-02-21 02:06:20.000000000 +0100
> ***************
> *** 80,86 ****
> --- 80,90 ----
> dh_prep
> dh_installdirs
>
> + mv ./lib/Foomatic/Defaults.pm ./lib/Foomatic/Defaults.pm-orig
> + sed "s|bindir = '/usr/bin';|bindir = '.';|"
>
> >./lib/Foomatic/Defaults.pm <./lib/Foomatic/Defaults.pm-orig
>
> PERL5LIB='$(CURDIR)/lib' python ./debian/build_ppds
> $(CURDIR)/debian/foomatic-filters-ppds/usr/share/ppd/openprinting.org-gs
> + rm -f ./lib/Foomatic/Defaults.pm
> + mv ./lib/Foomatic/Defaults.pm-orig ./lib/Foomatic/Defaults.pm
>
> dpkg-query -W -f 'ppds:Version=$${version}\n' foomatic-db >
> debian/foomatic-filters-ppds.substvars
> dpkg-query -W -f 'gp:Version=$${version}\n' foomatic-db-gutenprint
>
> >> debian/foomatic-filters-ppds.substvarsHi Chris, hi Slávek, I prepared an NMU to solve this RC bug, with Slávek's patch. debdiff is attached. Chris: if you don't have time, I'll try to find somebody to upload this as a regular NMU. The dsc is there: http://alioth.debian.org/~odyx-guest/debian/unstable/foomatic-db- engine_4.0-20090509-2.1.dsc I launched a complete build, but it takes time. I'll see with either Chris or the NMUer if it is actually needed. By the way, I might be interested in updating this package to latest upstream, merge some bugs and merge back some Ubuntu patches. Chris: would you be interested in some help (also for other printing-related packages) ? Cheers, OdyX -- Didier Raboud, proud Debian Maintainer (DM). CH-1020 Renens [email protected]
diff -u foomatic-db-engine-4.0-20090509/debian/changelog foomatic-db-engine-4.0-20090509/debian/changelog --- foomatic-db-engine-4.0-20090509/debian/changelog +++ foomatic-db-engine-4.0-20090509/debian/changelog @@ -1,3 +1,11 @@ +foomatic-db-engine (4.0-20090509-2.1) unstable; urgency=high + + * Non-maintainer upload. + * Use the built binaries to build the arch-indep ppds. Closes: #533452 + - Urgency high for RC bugfix. Thanks to Slávek Banko for the patch! + + -- Didier Raboud <[email protected]> Thu, 22 Apr 2010 13:35:26 +0200 + foomatic-db-engine (4.0-20090509-2) unstable; urgency=low * Fix build outside of chroot. (Closes: #532977) diff -u foomatic-db-engine-4.0-20090509/debian/rules foomatic-db-engine-4.0-20090509/debian/rules --- foomatic-db-engine-4.0-20090509/debian/rules +++ foomatic-db-engine-4.0-20090509/debian/rules @@ -80,7 +80,14 @@ dh_prep dh_installdirs + # Use the binaries we just built - bug #533452 + mv ./lib/Foomatic/Defaults.pm ./lib/Foomatic/Defaults.pm-orig + sed "s|bindir = '/usr/bin';|bindir = '.';|" > ./lib/Foomatic/Defaults.pm < ./lib/Foomatic/Defaults.pm-orig + PERL5LIB='$(CURDIR)/lib' python ./debian/build_ppds $(CURDIR)/debian/foomatic-filters-ppds/usr/share/ppd/openprinting.org-gs + + # Restore + mv ./lib/Foomatic/Defaults.pm-orig ./lib/Foomatic/Defaults.pm dpkg-query -W -f 'ppds:Version=$${version}\n' foomatic-db > debian/foomatic-filters-ppds.substvars dpkg-query -W -f 'gp:Version=$${version}\n' foomatic-db-gutenprint >> debian/foomatic-filters-ppds.substvars
signature.asc
Description: This is a digitally signed message part.

