Bug#637978: cups: Please add a dpkg trigger to update PPDs on driver upgrades

2011-08-16 Thread Didier Raboud
Package: cups Version: 1.4.8-2 Severity: wishlist Hi dear CUPS maintainers, I would like cups to implement a dpkg trigger to update it's queues' PPDs on driver upgrades. This task is currently implemented (and duplicated) in each printer driver, as a postinst. See e.g. c2esp, m2300w, foo2zjs,

Bug#637978: cups: Please add a dpkg trigger to update PPDs on driver upgrades

2011-08-16 Thread Didier Raboud
tags 637978 + patch thanks Le mardi, 16 août 2011 10.14:51, Didier Raboud a écrit : I would like cups to implement a dpkg trigger to update it's queues' PPDs on driver upgrades. (…) I plan to provide a patch, soon. Here it is, please comment. Cheers, -- OdyX diff -Nru

Bug#637978: cups: Please add a dpkg trigger to update PPDs on driver upgrades

2011-08-16 Thread Roger Leigh
On Tue, Aug 16, 2011 at 10:14:51AM +0200, Didier Raboud wrote: I would like cups to implement a dpkg trigger to update it's queues' PPDs on driver upgrades. This task is currently implemented (and duplicated) in each printer driver, as a postinst. See e.g. c2esp, m2300w, foo2zjs,

Bug#637978: cups: Please add a dpkg trigger to update PPDs on driver upgrades

2011-08-16 Thread Till Kamppeter
Roger, my postinst scripts (which OdyX uses for his trigger solution) conserve the default settings by replacing the PPD files using lpadmin -m. They also support PPDs which do not exist physically but get generated on the fly (listing available PPDs with lpinfo -m and requesting them with

Bug#637978: cups: Please add a dpkg trigger to update PPDs on driver upgrades

2011-08-16 Thread Didier Raboud
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

Bug#637978: cups: Please add a dpkg trigger to update PPDs on driver upgrades

2011-08-16 Thread Didier Raboud
tags 637978 + patch thanks So, after some more work and thoughts, here is a new patch proposal (attached). Le mardi, 16 août 2011 13.14:13, Didier Raboud a écrit : The current plan is: 1) externalize the current postinst code to an external program, based on the current cupsppdupdater code