Linux HOWTOs

About | Home | Search


HOWTO: pan
Description: A newsreader for GNOME (it'll run under KDE, etc. too, if you have the GNOME libs)
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


# Pan 0.14.2
# ==========
# The latest stable version is 0.14.2 which was released August 31, 2003.
# There's also a beta version, currently at 0.127 as I write this.  That
# was last updated on April 12, 2007.

# Prerequisites:
# intltool
# Perl
# gettext (optional)
# pkg-config
# Glib-2.0 >= 2.2.0
# GTK+-2.0 >= 2.2.5
# libxml-2.0 >= 2.4.22
# gnet >= 1.1.8 or >= 2.0.1
# GtkSpell (optional)
# iconv

cd
test -f installed/pan-0.14.2.tar.bz2 &&
 mv installed/pan-0.14.2.tar.bz2 .
test ! -f pan-0.14.2.tar.bz2 &&
 wget http://pan.rebelbase.com/download/releases/0.14.2/SOURCE/\
pan-0.14.2.tar.bz2

# Verify tarball w/ md5sum:
echo "ed3188e7059bb6d6c209ee5d46ac1852  pan-0.14.2.tar.bz2" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "pan-*" -exec rm -r {} \;
tar xjvf ~/pan-0.14.2.tar.bz2
cd pan-0.14.2
test $UID = 0 && chown -R root:root .

# Apply this patch if you use gcc 4.x:
wget -O - http://www.linuxfromscratch.org/patches/downloads/pan/\
pan-0.14.2-gcc4-1.patch | patch -p1

./configure --prefix=/usr --localstatedir=/var/lib --enable-html
make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg pan
make install

# I live in the US and only read/write English (well), so I don't need
# these:
find /usr/share/locale -type f -name "pan.mo" -exec rm {} \; 2> /dev/null

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/pan-*.tar.*
mv pan-0.14.2.tar.bz2 installed/

# /usr/share/pixmaps/pan.png can be used as a desktop icon


# If you ever want to uninstall Pan, this should do it:
cd
su
test -d src/pan-* && ( cd src/pan-* ; make uninstall )
rm -f /usr/bin/pan /usr/share/gnome/apps/Internet/pan.desktop \
 /usr/share/pixmaps/pan.png
find /usr/share/locale -type f -name "pan.mo" -exec rm {} \; 2> /dev/null
exit
find ~/src -maxdepth 1 -type d -name "pan-*" -exec rm -r {} \;
rm -f ~/installed/pan-*.tar.*

Back to the list


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