# 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
# 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.*