]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
libppd: Fixed PPD URIs when generating dynamic PPDs
authorTill Kamppeter <till.kamppeter@gmail.com>
Sun, 19 Sep 2021 21:39:27 +0000 (23:39 +0200)
committerTill Kamppeter <till.kamppeter@gmail.com>
Sun, 19 Sep 2021 21:39:27 +0000 (23:39 +0200)
commit5589b8554127b84ce49afad18541c3cb4ad32a8f
tree58f4d4289b94de2e5e347ec37cf139862421ac5a
parent39896fb6f13f3323108a23568c069fbf578a4131
libppd: Fixed PPD URIs when generating dynamic PPDs

The PPD URIs of the PPD collection handling of libppd are not
identical with the PPD URIs of CUPS and so not identical with the PPD
URIs used by the dynamic PPD generator executables (the ones which are
in /usr/lib/cups/driver/ for CUPS). The difference is in the scheme,
the part before the colon. The schemes for the dynamic PPD generator
did not get extracted correctly. Most dynamic PPD generatores do not
use the scheme internally and therefore work also with the scheme
corrupted, like pyppd or HPLIP, but Gutenprint does not, as it checks
the version by the scheme,

This commit fixes the extraction of the scheme and so all dynamic PPD
generators should work now.
ppd/ppd-collection.c