Bug#790762: src:hplip: Many PPD files for postscript drivers are missing in printer-driver-postscript-hp
On 01/11/2016 11:23 AM, Didier 'OdyX' Raboud wrote:
>> While setting up a new print server on the network, we noticed
>> that the binary package printer-driver-postscript-hp is missing
>> the PPDs for many postscript printers actually supported by
>> hplip.
>
> It's not. These are now compressed using pyppd, since version
> 3.10.9-1: They are in the /usr/lib/cups/driver/postscript-hp python
> script.
>
> CUPS uses these "PPD-compressed scripts" in /usr/lib/cups/driver
> itself to extract the needed PPDs, and there should be little need
> for you to need the PPD files directly.
Ok, strange concept. On the other hand, the hpijs-ppds package contains
the PPDs uncompressed:
glaubitz@z6:/tmp> dpkg-deb -c hpijs-ppds_3.15.11+repack0-1_all.deb |
head -n 20
drwxr-xr-x root/root 0 2016-01-10 02:00 ./
drwxr-xr-x root/root 0 2016-01-10 02:00 ./usr/
drwxr-xr-x root/root 0 2016-01-10 02:00 ./usr/share/
drwxr-xr-x root/root 0 2016-01-10 02:00 ./usr/share/doc/
drwxr-xr-x root/root 0 2016-01-10 02:00
./usr/share/doc/hpijs-ppds/
-rw-r--r-- root/root 75864 2016-01-09 22:42
./usr/share/doc/hpijs-ppds/changelog.Debian.gz
-rw-r--r-- root/root 4830 2016-01-09 22:42
./usr/share/doc/hpijs-ppds/copyright
drwxr-xr-x root/root 0 2016-01-10 02:00 ./usr/share/ppd/
drwxr-xr-x root/root 0 2016-01-10 02:00 ./usr/share/ppd/hplip/
drwxr-xr-x root/root 0 2016-01-10 02:00 ./usr/share/ppd/hplip/HP/
-rw-r--r-- root/root 19199 2016-01-10 02:00
./usr/share/ppd/hplip/HP/hp-scanjet_pro_3500_f1-hpijs.ppd
-rw-r--r-- root/root 19417 2016-01-10 02:00
./usr/share/ppd/hplip/HP/hp-psc_950xi-hpijs.ppd
-rw-r--r-- root/root 19417 2016-01-10 02:00
./usr/share/ppd/hplip/HP/hp-psc_950vr-hpijs.ppd
-rw-r--r-- root/root 19399 2016-01-10 02:00
./usr/share/ppd/hplip/HP/hp-psc_950-hpijs.ppd
-rw-r--r-- root/root 19399 2016-01-10 02:00
./usr/share/ppd/hplip/HP/hp-psc_920-hpijs.ppd
-rw-r--r-- root/root 19455 2016-01-10 02:00
./usr/share/ppd/hplip/HP/hp-psc_900_series-hpijs.ppd
-rw-r--r-- root/root 19417 2016-01-10 02:00
./usr/share/ppd/hplip/HP/hp-psc_780xi-hpijs.ppd
-rw-r--r-- root/root 19399 2016-01-10 02:00
./usr/share/ppd/hplip/HP/hp-psc_780-hpijs.ppd
-rw-r--r-- root/root 19399 2016-01-10 02:00
./usr/share/ppd/hplip/HP/hp-psc_760-hpijs.ppd
-rw-r--r-- root/root 19417 2016-01-10 02:00
./usr/share/ppd/hplip/HP/hp-psc_750xi-hpijs.ppd
dpkg-deb: error: subprocess tar was killed by signal (Broken pipe)
glaubitz@z6:/tmp>
So the packaging is somewhat inconsistent. I also really don't see the
advantage in obfuscating and compressing a few text files like that,
but ok.
> You can always get the PPD file with calling the archive as
> follows:
>
> $ /usr/lib/cups/driver/postscript-hp cat
> "postscript-hp:0/ppd/hplip/HP/hp-designjet_t2300_postscript-ps.ppd"
Ok, good to know. Thanks for the heads-up!
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: