libgnomeprint - The non-gui part of the printing libraries for Gnome ChangeLog

HOWTO


# libgnomeprint
# =============
# Slackware 9.0's 'libgnomeprint' package includes version 2.2.1.2, 9.1's
# includes 2.3.1, 10.0's and 10.1's include 2.6.1  As of Slackware 10.2,
# Gnome is no longer included.

# Below I include several versions of libgnomeprint to cover different
# releases of Gnome.  I'll keep all of them updated as new versions become
# available, but keep in mind that I only use Gnome 2.16.x myself.

# Prerequisites (for all versions):
# Perl
# gettext
# gtk-doc (Slackware includes this in it's sgml-tools or linuxdoc-tools
#  packages)
# pkg-config
# Glib-2.0 >= 1.3.10
# libart-2.0 >= 2.3.7
# pango >= 0.21
# libxml-2.0 >= 2.4.23
# fontconfig >= 1.0 (this is included with XFree86 and X.org)
# freetype >= 2.0.5
# zlib


# libgnomeprint 2.8.2 (for Gnome 2.8.x)
# ===================
# Prerequisites (beyond those listed above):
# CUPS and libgnomecups >= 0.1.0 (optional)

cd
test -f installed/libgnomeprint-2.8.2.tar.bz2 &&
mv installed/libgnomeprint-2.8.2.tar.bz2
test ! -f libgnomeprint-2.8.2.tar.bz2 &&
wget http://ftp.gnome.org/pub/gnome/sources/libgnomeprint/2.8/\
libgnomeprint-2.8.2.tar.bz2

# Verify tarball w/ md5sum:
echo "8361c4e1bc3d87b91435807d0c06a3e4  libgnomeprint-2.8.2.tar.bz2" | \
md5sum -c

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

## If make fails with an error like "cannot find -lssl", which would
## probably be because you have CUPS and it was linked with libssl, re-run
## it like this:
# make LDFLAGS="-L/usr/local/ssl/lib"

make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg libgnomeprint
rm -f /usr/lib/libgnomeprint-2.* /usr/lib/libgnomeprint-2-2.*
find /usr/lib/libgnomeprint -mindepth 1 -maxdepth 1 -type d -exec rm -r {} \;
make install
ldconfig
find /usr/share/locale -type f -name "libgnomeprint-2.2.mo" -exec rm {} \;

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libgnomeprint-*.tar.*
mv libgnomeprint-2.8.2.tar.bz2 installed/


# libgnomeprint 2.10.3 (for Gnome 2.10.x)
# ====================
# Prerequisites (beyond those listed above):
# CUPS >= 1.1.20 and libgnomecups >= 0.2.0 (optional)

cd
test -f installed/libgnomeprint-2.10.3.tar.bz2 &&
mv installed/libgnomeprint-2.10.3.tar.bz2
test ! -f libgnomeprint-2.10.3.tar.bz2 &&
wget http://ftp.gnome.org/pub/gnome/sources/libgnomeprint/2.10/\
libgnomeprint-2.10.3.tar.bz2

# Verify tarball w/ md5sum:
echo "9052dc919ad038b1a9e4d5301148588e  libgnomeprint-2.10.3.tar.bz2" | \
md5sum -c

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

## If make fails with an error like "cannot find -lssl", which would
## probably be because you have CUPS and it was linked with libssl, re-run
## it like this:
# make LDFLAGS="-L/usr/local/ssl/lib"

make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg libgnomeprint
rm -f /usr/lib/libgnomeprint-2.* /usr/lib/libgnomeprint-2-2.*
find /usr/lib/libgnomeprint -mindepth 1 -maxdepth 1 -type d -exec rm -r {} \;
make install
ldconfig
find /usr/share/locale -type f -name "libgnomeprint-2.2.mo" -exec rm {} \;

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libgnomeprint-*.tar.*
mv libgnomeprint-2.10.3.tar.bz2 installed/


# libgnomeprint 2.12.1 (for Gnome 2.12.x, 2.14.x, or 2.16.x)
# ===================
# Prerequisites (beyond those listed above):
# CUPS >= 1.1.20 and libgnomecups >= 0.2.0 (optional)

cd
test -f installed/libgnomeprint-2.12.1.tar.bz2 &&
mv installed/libgnomeprint-2.12.1.tar.bz2
test ! -f libgnomeprint-2.12.1.tar.bz2 &&
wget http://ftp.gnome.org/pub/gnome/sources/libgnomeprint/2.12/\
libgnomeprint-2.12.1.tar.bz2

# Verify tarball w/ md5sum:
echo "ea729d4968fe2169c84efb12ace5f6cc  libgnomeprint-2.12.1.tar.bz2" | \
md5sum -c

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

## If make fails with an error like "cannot find -lssl", which would
## probably be because you have CUPS and it was linked with libssl, re-run
## it like this:
# make LDFLAGS="-L/usr/local/ssl/lib"

make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg libgnomeprint
rm -f /usr/lib/libgnomeprint-2.* /usr/lib/libgnomeprint-2-2.*
find /usr/lib/libgnomeprint -mindepth 1 -maxdepth 1 -type d -exec rm -r {} \;
make install
ldconfig
find /usr/share/locale -type f -name "libgnomeprint-2.2.mo" -exec rm {} \;

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libgnomeprint-*.tar.*
mv libgnomeprint-2.12.1.tar.bz2 installed/

List of HOWTOs

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