Linux HOWTOs

About | Home | Search


HOWTO: glabels
Description: Gnome program for creating labels and business cards
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# gLabels 2.0.4
# =============
# If you ever want to uninstall gLabels, or clean up files from an old
# version before installing a new one, cd into the source directory,
# run 'make uninstall', remove the source directory, then remove the
# tarball.

# Prerequisites:
# intltool >= 0.21
# perl
# iconv
# gettext
# sed
# grep
# pkg-config
# glib-2.0 >= 2.2.0
# gtk+-2.0 >= 2.0.5
# libgnome-2.0 >= 2.0.1
# libgnomeui-2.0 >= 2.0.1
# libbonobo-2.0 >= 2.0.0
# libbonoboui-2.0 >= 2.0.0
# libxml-2.0 >= 2.4.23
# libgnomeprint-2.2 >= 2.2.0
# libgnomeprintui-2.2 >= 2.2.0
# libgnomecanvas-2.0 >= 2.0.1
# libglade-2.0 >= 2.0.1

cd
test -f installed/glabels-2.0.4.tar.gz &&
 mv installed/glabels-2.0.4.tar.gz .
test ! -f glabels-2.0.4.tar.gz &&
 wget http://download.sf.net/glabels/glabels-2.0.4.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "glabels-*" -exec rm -r {} \;
tar xzvf ~/glabels-2.0.4.tar.gz
cd glabels-2.0.4
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
make

# If make fails saying it can't find -lssl, re-run it like this:
# make LDFLAGS=-L/usr/local/ssl/lib

# Become root to install it
su

rm -f /usr/lib/libglabels.*
make install
ldconfig
find /usr/share/locale -type f -name glabels.mo -exec rm {} \;

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/glabels-*.tar.*
mv glabels-2.0.4.tar.gz installed/

# /usr/share/pixmaps/glabels.png or
# /usr/share/pixmaps/glabels-application-x-glabels.png
# can be used as a desktop icon

Back to the list


Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>