On 03/23/12 10:49 AM, Petr Cvachoucek wrote:
Hi all,
Could I please get a code review for:
7156212 spooled files won't actually print after upgrade from build 10
to build 12
http://monaco.us.oracle.com/detail.jsf?cr=7156212
Webrev is here:
http://sfwcfi.us.oracle.com/builds/pcvachou/gutenprint-7156212-default/webrev/
svc-gutenprint-ppd-update:
line 22:
Don't you really want
VER=`pkg info $PKG | awk '/Version:/ {print $2}'`
So that you use the Gutenprint version and not the rest of
the release/branch/... cruft?
The problem is related to my previous upgrade of gutenprint package.
In short, if the gutenprint package is updated to newer version, the
CUPS PPD files for currently configured printers (using gutenprint
driver) have to be regenerated. It can be done simply by executing the
cups-genppdupdate utility, delivered by gutenprint also. Without this,
the user would have to delete and then configure all affected printers
from scratch.
The fix introduces a new SMF service which takes care for updating the
gutenprint PPD files. The service is started before the CUPS (CUPS
service is made dependent on it) and on its first start after
gutenprint package update it will call the cups-genppdupdate to update
the PPDs. The service keeps track of the gutenprint package version
for which the update was run in the smf repository, so the
cups-genppdupdate is not executed on every system boot.
Thank you
Petr
_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss
_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss