site  contact  subhomenews

CUPS 1.4.8

August 06, 2012 — BarryK
I have compiled CUPS 1.4.8 in Wary, for use in Wary and Racy. This is to fix a problem with landscape printing, mentioned here:

The PETs (2.2MB, 35KB, 603KB, 589KB):

Note that the PET package for 1.3.11, as used in Wary/Racy up until now, is 1.3MB, this new PET is 2.2MB.

Here is how I configured it:
# LDFLAGS='-L/usr/X11R7' DSOFLAGS='-L/usr/X11R7' CPPFLAGS='-I/usr/X11R7/include' CFLAGS='-I/usr/X11R7/include'  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-dbus --disable-pam --enable-libpaper --disable-ldap --disable-dnssd --disable-launchd --disable-slp  --disable-gssapi --disable-use-network-default --disable-pap --enable-openssl --disable-libusb --with-pdftops=/usr/bin/pdftops

...this took me awhile to get right. The '--disable-libusb' is required so that CUPS will use the old "usblp kernel module" method -- otherwise, the 'usblp' module has to be blacklisted. Besides, I'm not sure if the CUPS developers have got the new "libusb" method fully sorted out.


localhost cookie
Username: Terryphi
Thanks for that Barry. One point to note is that this version needs to set a cookie for localhost. It is impossible to add a printer if cookies are not allowed.

CUPS templates
Username: L18L
"Localizing CUPS needs /usr/share/cups/templates/<language> AND !!! a localized browser (see PS: I am a bit helpless at the moment which version to put into langpack or if more than 1 version how to get the right version....

CUPS versions
Username: L18L
"Racy 5.3 # cups-config --version 1.3.11 # Installed in fresh racy 5.3 # cups-config --version 1.3.11 # There is no /usr/bin/cups-config in the pet so display of version is not correct. (I am planning to put several versions of cups/templates/de/ into the langpack, which should fit all official puppies)

CUPS versions 2
Username: L18L
"No more helpless now got [b]correct version[/b] from [code]# grep CUPS /usr/share/cups/templates/header.tmpl | cut -d'<' -f2 | cut -d ' ' -f4 1.4.8 #[/code]

CUPS versions 3
Username: L18L
"After installing cups-1.4.8[b]_DOC[/b].pet I have found: must contain - usr/share/cups/templates/ - usr/share/doc/cups/ - cups_xx.po is NOT needed # cups-config --version 1.3.11 # # grep CUPS /usr/share/cups/templates/header.tmpl | cut -d'<' -f2 | cut -d ' ' -f4 1.4.8 # See an image at the forum:

Username: BarryK
"cups-config should be in the cups_DEV package.

Tags: wary