# ORBit
# =====
# ORBit is required by lots of Gnome libraries and applications. Below I
# include the latest version of ORBit and one version of ORBit2 for Gnome
# 2.2, one for 2.4, one for 2.6/2.8/2.10, one for 2.12, and one for 2.14
# or 2.16 So, I install ORBit and the version of ORBit2 that matches the
# version of Gnome that I'm using. As of Slackware version 10.2, GNOME is
# no longer included, so ORBit and ORBit2 aren't either.
# If you ever want to uninstall ORBit, cd into the source directory,
# run 'make uninstall' (as root), remove the source directory, and remove
# the tarball.
# ORBit 0.5.17
# ============
# Slackware 8.1, 9.0, 9.1, 10.0, and 10.1's 'orbit' packages include version
# 0.5.17
# FYI, I have been unable to build this with gcc 3.4.2 or 3.4.5 a while back
# or 4.1.1 just now so I no longer use ORBit 0.x I will update this with a
# patch if I come across one. If you need ORBit 0.x, you might want to go
# with the package from Slackware 10.1:
# ftp://ftp.slackware.com/pub/slackware/slackware-10.1/slackware/l/orbit-0.5.17-i386-1.tgz
cd
test -f installed/ORBit-0.5.17.tar.bz2 && mv installed/ORBit-0.5.17.tar.bz2 .
test ! -f ORBit-0.5.17.tar.bz2 &&
wget http://ftp.gnome.org/pub/GNOME/sources/ORBit/0.5/ORBit-0.5.17.tar.bz2
# Newer versions of ORBit2 use their own ./linc2/ instead of the external linc,
# so if you only have it installed for ORBit2, you can uninstall it.
# Slackware >= 10.0 no longer include a 'linc' package.
# Especially if you go from one major version of ORBit2 (of Gnome) to
# another, make sure you run 'make uninstall' in the source directory of any
# old version(s) that you're replacing before you begin below.
# If you don't have OpenSSL installed in the usual (source-installed) place
# (/usr/local/ssl), like if yours is a distribution installed package that
# installed it under the /usr prefix, you can skip the CPPFLAGS/LDFLAGS part
# below in the version that you install.
# ORBit2 2.6.3 (for Gnome 2.2.x)
# ============
# Prerequisites (beyond those listed above):
# linc
# glib-2.0 >= 2.0.0
# gtk-doc > 1.0 (Slackware includes this in the sgml-tools/linuxdoc-tools
# package)
cd
test -f installed/ORBit2-2.6.3.tar.bz2 && mv installed/ORBit2-2.6.3.tar.bz2 .
test ! -f ORBit2-2.6.3.tar.bz2 &&
wget http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.6/ORBit2-2.6.3.tar.bz2
# ORBit2 2.8.3 (for Gnome 2.4.x)
# ============
# Prerequisites (beyond those listed above):
# linc
# glib-2.0 >= 2.0.0
# gtk-doc > 1.0 (Slackware includes this in the sgml-tools/linuxdoc-tools
# package)
cd
test -f installed/ORBit2-2.8.3.tar.bz2 && mv installed/ORBit2-2.8.3.tar.bz2 .
test ! -f ORBit2-2.8.3.tar.bz2 &&
wget http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.8/ORBit2-2.8.3.tar.bz2
# ORBit2 2.10.5 (for Gnome 2.6.x, 2.8.x, or 2.10.x)
# =============
# Prerequisites (beyond those listed above):
# glib-2.0 >= 2.0.0
# gtk-doc > 1.0 (Slackware includes this in the sgml-tools/linuxdoc-tools
# package)
cd
test -f installed/ORBit2-2.10.5.tar.bz2 && mv installed/ORBit2-2.10.5.tar.bz2 .
test ! -f ORBit2-2.10.5.tar.bz2 &&
wget http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.10/ORBit2-2.10.5.tar.bz2
# ORBit2 2.12.5 (for Gnome 2.12.x)
# =============
# Prerequisites (beyond those listed above):
# gtk-doc > 1.0 (Slackware includes this in the sgml-tools/linuxdoc-tools
# package; used if you pass --enable-gtk-doc to configure)
cd
test -f installed/ORBit2-2.12.5.tar.bz2 &&
mv installed/ORBit2-2.12.5.tar.bz2 .
test ! -f ORBit2-2.12.5.tar.bz2 &&
wget http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.12/\
ORBit2-2.12.5.tar.bz2
# ORBit2 2.14.3 (for Gnome 2.14.x or 2.16.x)
# =============
# Prerequisites (beyond those listed above):
# gtk-doc > 1.0 (Slackware includes this in the sgml-tools/linuxdoc-tools
# package; used if you pass --enable-gtk-doc to configure)
cd
test -f installed/ORBit2-2.14.3.tar.bz2 &&
mv installed/ORBit2-2.14.3.tar.bz2 .
test ! -f ORBit2-2.14.3.tar.bz2 &&
wget http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.14/\
ORBit2-2.14.3.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "ORBit2-*" -exec rm -r {} \;
tar xjvf ~/ORBit2-2.14.3.tar.bz2
cd ORBit2-2.14.3
test $UID = 0 && chown -R root:root .
# You can leave off the CPPFLAGS, LDFLAGS part if your OpenSSL is not
# installed under /usr/local/ssl
CPPFLAGS="-I/usr/local/ssl/include" LDFLAGS="-L/usr/local/ssl/lib" \
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib \
--enable-static=no
make
# I don't know if I broke my gcc or what (this is the first problem I've had
# with it), but I had to create a /usr/bin/i486-slackware-linux-gcc symlink
# pointing to /usr/bin/i686-pc-linux-gnu-gcc to build this. make got hung
# up in include/orbit/orb-core because 'i486-slackware-linux-gcc' doesn't
# exist any more.
# Become root to install it
su
test -x /sbin/removepkg && /sbin/removepkg orbit2
rm -f /usr/lib/libORBit-2.*
make install
ldconfig