Linux HOWTOs

About | Home | Search


ERROR: Slooooow dooooown... this page load was delayed.

HOWTO: gnome-pilot
Description: A gnome interface to pilot-link, for palm syncing
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


# gnome-pilot 2.0.14
# ==================
# Slackware >= 10.2 don't include Gnome, so no gnome-pilot either.

# Prerequisites:
# sed
# grep
# perl
# bison
# pilot-link >= 0.11.4
# pkg-config
# libxml-2.0
# libgnome-2.0 >= 2.0.0
# libgnomeui-2.0 >= 2.0.0
# libglade-2.0 >= 2.0.0
# libbonobo-2.0 >= 2.0.0
# orbit-2.0 >= 2.0.0
# libbonobo-activation-2.0 >= 1.0.3
# gnome-vfs-2.0 >= 2.0.0
# gconf-2.0
# gnome-panel-2.0 >= 2.0.6
# gob2 >= 2.0.3
# 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 XML::Parser
exit

cd
test -f installed/gnome-pilot-2.0.14.tar.bz2 &&
 mv installed/gnome-pilot-2.0.14.tar.bz2
test ! -f gnome-pilot-2.0.14.tar.bz2 &&
 wget http://ftp.gnome.org/pub/GNOME/sources/gnome-pilot/2.0/\
gnome-pilot-2.0.14.tar.bz2

# Verify tarball w/ md5sum:
echo "e0dd8c92db7c6df8840e5dcecaea2f3b  gnome-pilot-2.0.14.tar.bz2" | md5sum -c

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

## If make fails with an error like this:
# /usr/bin/ld: cannot find -lssl
## re-run it like this:
# make LDFLAGS=-L/usr/local/ssl/lib

make

# Become root to clean up old files and to install it
su

( cd /usr/lib ; rm -f libgpilotd.* libgpilotdcm.* \
 libgpilotdconduit.* )
make install

# I'm in the US and only read/write English (well), so I don't need these
find /usr/share/locale -type f -name "gnome-pilot.mo" -exec rm {} \;

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/gnome-pilot-?.*.tar.*
mv gnome-pilot-2.0.14.tar.bz2 installed/


# gnome-pilot-conduits 2.0.14
# ===========================
cd
test -f installed/gnome-pilot-conduits-2.0.14.tar.bz2 &&
 mv installed/gnome-pilot-conduits-2.0.14.tar.bz2 .
test ! -f gnome-pilot-conduits-2.0.14.tar.bz2 &&
 wget http://ftp.gnome.org/pub/GNOME/sources/gnome-pilot-conduits/2.0/\
gnome-pilot-conduits-2.0.14.tar.bz2

# Verify tarball w/ md5sum:
echo "2fcc65c4aa7da5746432bb7443bb80f1  gnome-pilot-conduits-2.0.14.tar.\
bz2" | md5sum -c

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

# Become root to install it
su

# Install it
make install

# I'm in the US and only read/write English (well), so I don't need these
find /usr/share/locale -type f -name "gnome-pilot-conduits.mo" -exec rm {} \;

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/gnome-pilot-conduits-*.tar.*
mv gnome-pilot-conduits-2.0.14.tar.bz2 installed/


# If you ever want to uninstall gnome-pilot, this should do it:
# (the 'make uninstall' part will do it, if you have the source)
cd
su
test -d src/gnome-pilot-* && ( cd src/gnome-pilot-* ; make uninstall )
( cd /usr/bin ; rm -f gnome-pilot-make-password gpilot-install-file \
 gpilotd-control-applet gpilotd-session-wrapper )
test -d /usr/include/gpilotd && rm -r /usr/include/gpilotd
test -d /usr/include/libgpilotdCM && rm -r /usr/include/libgpilotdCM
( cd /usr/lib ; rm -f libgpilotd.* libgpilotdcm.* libgpilotdconduit.* )
( cd /usr/lib/bonobo/servers ; rm -f GNOME_PilotApplet.server \
 GNOME_Pilot_Daemon.server )
test -d /usr/lib/gnome-pilot && rm -r /usr/lib/gnome-pilot
( cd /usr/libexec ; rm -f gpilot-applet gpilotd )
test -d /usr/share/gnome/help/gnome-pilot &&
 rm -r /usr/share/gnome/help/gnome-pilot
test -d /usr/share/gnome-pilot && rm -r /usr/share/gnome-pilot
/usr/share/locale -type f -name "gnome-pilot.mo" -o \
 -name "gnome-pilot-conduits.mo" -exec rm {} \;
( /usr/share/mime-info ; rm -f palm.keys palm.mime )
test -d /usr/share/omf/gnome-pilot && rm -r /usr/share/omf/gnome-pilot
( cd /usr/share/pixmaps ; rm -f avantgo.png gnome-palm.png \
 gnome-palm-conduit.png sync_broken.png sync_icon.png sync_paused.png \
 syncing_icon.png )
rm -f /etc/gconf/schemas/pilot.schemas \
/usr/man/man1/gpilot-install-file.1 \
/usr/share/applications/gpilotd-control-applet.desktop \
/usr/share/idl/gnome-pilot.idl \
/usr/lib/pkgconfig/gnome-pilot-2.0.pc
exit
find ~/src -maxdepth 1 -type d -name "gnome-pilot-*" -exec rm -r {} \;
rm -f ~/installed/gnome-pilot-*.tar.*

Back to the list


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