[Pkg-cups-devel] Bug#637978: cups: Please add a dpkg trigger to update PPDs on driver upgrades
Didier Raboud
odyx at debian.org
Tue Aug 16 11:14:13 UTC 2011
Hi all,
just a short mail summarizing the discussions we had on #ubuntu-devel
regarding this proposal.
The current plan is:
1) externalize the current postinst code to an external program, based on the
current cupsppdupdater code in pkg-printing-tools.
2) Have cups trigger on files under /usr/share/cups/ppd-updaters/
Those files, put there by the driver packages, will contain shell variable
definitions: DRIVER_REGEXP and GENNICKNAME_REGEXP , which cups' postinst will
use (when called as "triggered") to launch cupsppdupdater with the correct
parameters.
3) Migrate all drivers to stop duplicating functionality in their postinsts
and ship a /usr/share/cups/ppd-updaters/${package} file with the correct
variables (+ versioned Breaks against cups).
Cheers,
--
OdyX
More information about the Pkg-cups-devel
mailing list