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?
Till
diff -Nru libjpeg6b-6b1/debian/changelog libjpeg6b-6b1/debian/changelog
--- libjpeg6b-6b1/debian/changelog 2011-03-24 06:24:32.000000000 +0100
+++ libjpeg6b-6b1/debian/changelog 2011-08-08 19:57:41.000000000 +0200
@@ -1,3 +1,11 @@
+libjpeg6b (6b1-1ubuntu2) oneiric; urgency=low
+
+ * debian/rules: Remove "-Bsymbolic-functions" from LDFLAGS, as this flag
+ breaks the libjpeg use by HPLIP and pxljr, in both cases for printing
+ on the HP Color LaserJet 3500/3550/3600 (LP: #777670).
+
+ -- Till Kamppeter <till.kamppe...@gmail.com> Mon, 8 Aug 2011 19:57:23 +0200
+
libjpeg6b (6b1-1ubuntu1) natty; urgency=low
* Enable multiarch build (LP: #733501)
diff -Nru libjpeg6b-6b1/debian/rules libjpeg6b-6b1/debian/rules
--- libjpeg6b-6b1/debian/rules 2011-03-24 06:24:00.000000000 +0100
+++ libjpeg6b-6b1/debian/rules 2011-08-08 20:09:36.000000000 +0200
@@ -20,7 +20,7 @@
build: build-stamp
build-stamp:
dh_testdir
- ./configure --prefix=/usr --mandir=/usr/share/man \
+ LDFLAGS= ./configure --prefix=/usr --mandir=/usr/share/man \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
--enable-static --enable-shared --enable-maxmem=1024 \
--build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)