# cups-base/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package has been renamed. #--------------------------------------------------------------------- 2. Related and recommended kernel settings: Device Drivers ---> USB support ---> [CONFIG_USB_SUPPORT] OHCI HCD (USB 1.1) support [CONFIG_USB_OHCI_HCD] UHCI HCD support [CONFIG_USB_UHCI_HCD] USB Printer support [CONFIG_USB_PRINTER] Device Drivers ---> Parallel port support ---> [CONFIG_PARPORT] PC-style hardware [CONFIG_PARPORT_PC] Character devices ---> Parallel printer support [CONFIG_PRINTER] #--------------------------------------------------------------------- 3. To be reviewed: cupsctl LogLevel=debug2 cupsctl --no-debug-logging rmmod usblb #--------------------------------------------------------------------- 4. Presently, this package disables PHP-interface support. This pre- vents some potential circular-dependency problems. #--------------------------------------------------------------------- 5. If you're using a Mozilla-based browser to access the Cups con- figuration screens, verify that Javascript isn't blocked. If it *is* blocked, use "about:config" to edit the following "user_pref" set- ting: capability.policy.maonoscript.sites Add the following entries to the existing site list: http://127.0.0.1:631 http://localhost:631 #--------------------------------------------------------------------- [buildtimes] 00.02 hours (or 001.45 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.05 hours (or 002.77 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.10 hours (or 006.02 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM 00.10 hours (or 006.12 minutes) - Toshiba Satellite C655 E-300 CPU 4GB RAM #--------------------------------------------------------------------- [settings] build = default exepack = yes license = See "license*.txt" in installed tree licfile = LICENSE proddir = $PRODTREE/cups setpaths = $PRODTREE/cups, zlib tmpsize = 62M unpack = relaxed #--------------------------------------------------------------------- [depends] acl binutils dbus gawk gnutls3 # "guile" support may be required grep guile jpeg libgcrypt libgpg-error libpaper libpng libtasn1 libusb openldap openssl perl pkgconf python2-core sed tiff zlib #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man VARDIR=/var/cups mkdir -p $MANBASE $VARDIR sed -e 's:555:755:g;s:444:644:g' -i Makedefs.in sed -e '/MAN.EXT/s:.gz::g' \ -i configure config-scripts/cups-manpages.m4 #ifdef NOTDEF # sed -e '/LIBGCRYPTCONFIG/d' -i config-scripts/cups-ssl.m4 #endif aclocal -I config-scripts autoconf -I config-scripts sed -e 's@exec_prefix/lib64@exec_prefix/lib@g' \ -i configure bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ \ --disable-acl \ --disable-avahi \ --disable-debug \ --disable-pam \ --disable-systemd \ \ --enable-acl=no \ --enable-dbus \ --enable-libpaper \ --enable-shared=yes \ --enable-static=no \ \ --localstatedir=$VARDIR \ --mandir=$MANBASE \ --with-rcdir=/tmp/cupsinit \ --without-php sed -e "s|^#define HAVE_PHP.*|#undef HAVE_PHP|" \ -e "s|^#define CUPS_PHP.*|#undef CUPS_PHP|" \ -i config.h #--------------------------------------------------------------------- [postbuild] DOCDIR=$PKGDIR_PROD/doc ETCDIR=$PKGDIR_PROD/etc/cups LIBDIR=$PKGDIR_PROD/lib SHADIR=$PKGDIR_PROD/share mkdir -p $DOCDIR $ETCDIR $LIBDIR $SHADIR rm -fr /tmp/cupsinit rm -fr /etc/init.d/cups rm -fr /etc/rc*.d/{K36,S81}cups rm -fr $SHADIR/locale echo "ServerName /var/cups/run/cups/cups.sock" > $ETCDIR/client.conf cd $ETCDIR rm -fr cupsd.conf cp -p cupsd.conf{.default,} #--------------------------------------------------------------------- [setup.boot] killall -w cupsd >& /dev/null rm -fr $PKGDIR_PROD/var/cache/cups/ppds.dat mkdir -p /var/cups/log chmod 777 /var/cups/log rm -fr /var/cups/log/* mkdir -p /var/cups/run chmod 777 /var/cups chmod 777 /var/cups/run chown -R root.lp /var/cups/ $PRODTREE/cups/ L=$LD_LIBRARY_PATH M=$PRODTREE/cups/lib:$PRODTREE/zlib-shared/lib:$L export LD_LIBRARY_PATH=$M $PRODTREE/cups/sbin/cupsd >& /var/cups/log/cupsd.log & LD_LIBRARY_PATH=$L #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = http://packages.debian.org/unstable/source/cups url_home = http://www.cups.org/ url_lfs = http://www.linuxfromscratch.org/blfs/view/svn/pst/\ cups.html url_tarball = https://github.com/OpenPrinting/cups/releases/\ download/v2.4.10/cups-2.4.10-source.tar.gz #--------------------------------------------------------------------- [history] 170912 Updated from 2.1.3 to 2.1.4 210222 Updated to 2.3.3 241015 Updated to 2.4.0