libgnomecups - Library for Gnome to be able to use CUPS (Common Unix Printing System) ChangeLog

HOWTO


# libgnomecups 0.2.2
# ==================
# Prerequisites:
# pkg-config >= 0.9.0
# CUPS
# intltool >= 0.20
# Perl
# iconv
# gettext

# Install/update the XML::Parser perl module:
su -c "perl -MCPAN -e shell"
o conf make_install_arg UNINST=1
o conf prerequisites_policy follow
install Bundle::CPAN
install XML::Parser
exit

cd
test -f installed/libgnomecups-0.2.2.tar.bz2 &&
mv installed/libgnomecups-0.2.2.tar.bz2 .
test ! -f libgnomecups-0.2.2.tar.bz2 &&
wget http://ftp.gnome.org/pub/gnome/sources/libgnomecups/0.2/\
libgnomecups-0.2.2.tar.bz2

# Verify tarball w/ md5sum:
echo "959d5524fe9c37efb55ccfa02e3a063b  libgnomecups-0.2.2.tar.bz2" | \
md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "libgnomecups-*" -exec rm -r {} \;
tar xjvf ~/libgnomecups-0.2.2.tar.bz2
cd libgnomecups-0.2.2
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
make

# Become root to install it
su

make install
ldconfig

# I only read/write English (well), so I don't need these
find /usr/share/locale -type f -name "libgnomecups.mo" -exec rm -r {} \;

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libgnomecups-*.tar.*
mv libgnomecups-0.2.2.tar.bz2 installed/


# If you ever want to uninstall libgnomecups, this should do it:
cd
su
test -d src/libgnomecups-* && ( cd src/libgnomecups-* ; make uninstall )
rm -f /usr/lib/libgnomecups-1.0.* /usr/lib/pkgconfig/libgnomecups-1.0.pc
test -d /usr/include/libgnomecups-1 && rm -r /usr/include/libgnomecups-1
find /usr/share/locale -type f -name "libgnomecups.mo" -exec rm -r {} \;
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "libgnomecups-*" -exec rm -r {} \;
rm -f ~/installed/libgnomecups-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2006-11-28 2:05pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]