On Tue, Aug 09, 2011 at 11:08:03AM +0200, Till Kamppeter wrote: > Package: libjpeg6b > Version: 6b1-2 > > In the last months Ubuntu users complained that their HP Color > LaserJet 3500/3550/3600 does not print any more in the draft and > normal printout quality modes but still print in high quality mode. > In the draft and normal modes the printer uses JPEG compression for > the image data, to make the data transfer faster. The drivers, pxljr > and hplip, use libjpeg6b to implement the data compression, but as > the printer's JPEG format is not absolutely identical with the > standard JPEG format, the driver overrides certain symbols/functions > of libjpeg with its own code to implement the differences between > standard JPEG and the printer's JPEG. This is done in both the pxljr > and hplip drivers. > > Since some time LDFLAGS is set to "-Wl,-Bsymbolic-functions" by > default for package builds in Debian and this flag makes ashared > library linked with it disallowing the override of its symbols, > breaking the pxljr and hplip drivers, leading to the JPEG-based > modes not working. > > So as a fix, the upstream author of the pxljr driver, suggests to > build libjpeg without LDFLAGS being set to > "-Wl,-Bsymbolic-functions". I tried it by preceeding the > "./configure" in debian/rules by "LDFLAGS= " and this libjpeg made > the two printer drivers working perfectly in draft and normal > quality modes. > > I have attached a patch for the Ubuntu package showing how the fix > looks like. Can you please apply the same fix to the Debian package?
Hello Till, Debian does not set LDFLAGS to "-Wl,-Bsymbolic-functions", as you can see by adding echo $$LDFLAGS before configure in debian/rules. Furthermore, use of libjpeg6b is deprecated since we are migrating to libjpeg8. In fact, hplip has already moved to libjpeg8 since you fixed the corresponding bug #634030 (thanks, by the way). So I am a bit confused by your report. Cheers, -- Bill. <ballo...@debian.org> Imagine a large red swirl here. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org