gutenprint - Suite of printer drivers for CUPS, lpr, LPRng, etc. ChangeLog

HOWTO


# Gutenprint 5.0.0
# ================
# Gutenprint was formerly known as Gimp-Print
# You can have Gimp-Print and Gutenprint installed at the same time
#
# If you have Gimp-Print installed and want to replace it with Gutenprint,
# go to it's howto and follow the uninstallation instructions, then come
# back here.

# Slackware 9.0 and 9.1's 'gimp-print' packages include version 4.2.5,
# 10.0's includes 4.2.6, 10.1, 10.2, and 11.0's include 4.2.7

# Prerequisites:
# gawk
# sed
# grep
# CUPS
# Foomatic
# readline
# GTK+
# Perl
# Glib
# ImageMagick's convert
# teTeX's texi2html/dvips
# Utils from linuxdoc-tools/sgml-tools (db2pdf, db2ps, etc.)
# doxygen
# dialog (in Slackware, included in the pkgtools package)
# gettext">doxygen
# zlib">doxygen
# pkg-config
# The Gimp (if you want the plugin)

cd
test -f installed/gutenprint-5.0.0.tar.bz2 &&
mv installed/gutenprint-5.0.0.tar.bz2 .
test ! -f gutenprint-5.0.0.tar.bz2 &&
wget http://download.sf.net/gimp-print/gutenprint-5.0.0.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "gutenprint-*" -exec rm -r {} \;
tar xjvf ~/gutenprint-5.0.0.tar.bz2
cd gutenprint-5.0.0
test $UID = 0 && chown -R root:root .

# escputil is a commandline utility for Epson printers
# --disable-escputil below tells it to not build that (because I don't have
# an Epson printer)

# If you have The Gimp 2.4.x installed, it will install the plugin as
# Gutenprint, otherwise it will install it as Gimp Print.

./configure \
--prefix=/usr \
--disable-static \
--enable-translated-cups-ppds=no \
--disable-samples \
--disable-nls \
--disable-escputil
make

# Become root to install it
su

( cd /usr/lib ; rm -f libgutenprint.* libgutenprintui.* libgutenprintui2.* )
make install
ldconfig

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/gutenprint-*.tar.*
mv gutenprint-5.0.0.tar.bz2 installed/

# If you built cups support, and you're running a CUPS server, restart
# cupsd.  If you plan on actually using the Gutenprint driver, (re-)install
# the printer.  If you're in the process of installing CUPS and haven't
# fired it up for the first time yet, finish with the other prerequisites
# and then start CUPS.


# If you ever want to uninstall Gutenprint, this should do it:
# ('make uninstall' by itself should do it, if you have the configure'd
# source)
cd
su
test -d src/gutenprint-* && ( cd src/gutenprint-* ; make uninstall )
( cd /usr/bin ; rm -f cups-calibrate testpattern )
test -d /usr/include/gutenprint && rm -r /usr/include/gutenprint
test -d /usr/include/gutenprintui && rm -r /usr/include/gutenprintui
test -d /usr/include/gutenprintui2 && rm -r /usr/include/gutenprintui2
( cd /usr/lib ; rm -f libgutenprint.* libgutenprintui.* libgutenprintui2.* )
( cd /usr/lib/cups/backend ; rm -f canon epson )
( cd /usr/lib/cups/filter
  rm -f commandtocanon commandtoepson rastertogutenprint.5.0 )
test -d /usr/lib/gutenprint && rm -r /usr/lib/gutenprint
( cd /usr/lib/pkgconfig
  rm -f gutenprint.pc gutenprintui.pc gutenprintui2.pc )
( cd /usr/man/man8 ; rm -f cups-calibrate.8 cups-genppd.8 \
cups-genppdconfig.8 cups-genppdupdate.8 )
( cd /usr/sbin
  rm -f cups-genppd.5.0 cups-genppdconfig.5.0 cups-genppdupdate.5.0 )
test -d /usr/share/gutenprint && rm -r /usr/share/gutenprint
rm -f /etc/cups/command.types \
/usr/lib/gimp/1.2/plug-ins/print \
/usr/lib/gimp/2.0/plug-ins/print \
/usr/share/cups/calibrate.ppm
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "gutenprint-*" -exec rm -r {} \;
rm -f ~/installed/gutenprint-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2006-10-30 1:18pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]