libsoup - A HTTP library implementation in C ChangeLog

HOWTO


# libsoup
# =======
# Slackware does not have a package that includes this library up to and
# including Slackware 11.0  As of Slackware 10.2, Gnome is no longer
# included, so libsoup will probably not appear in the future.

# I include several different versions here in case someone needs an older
# one for an old version of Evolution or something like that.  I'll keep
# them all updated as new versions become available, but keep in mind that I
# only actually use the version bundled with Gnome 2.16.x

# If you ever want to uninstall libsoup, or clean up files from an old
# version before installing a new one, skip down to the bottom for
# instructions.

# Prerequisites (for either version):
# pkg-config
# GLib
# GnuTLS
# gtk-doc (Slackware includes this in it's sgml-tools or linuxdoc-tools
#  packages; used if you pass --enable-gtk-doc to configure)


# libsoup 2.2.7 (for Gnome 2.12.x)
# =============
# This version supports OpenSSL, later versions don't

cd
test -f installed/libsoup-2.2.7.tar.bz2
&& mv installed/libsoup-2.2.7.tar.bz2 .
test ! -f libsoup-2.2.7.tar.bz2 &&
wget http://ftp.gnome.org/pub/gnome/sources/libsoup/2.2/\
libsoup-2.2.7.tar.bz2

# Verify tarball w/ md5sum:
echo "fd1d6bf0ec3e57c8a1498b935d13ace4  libsoup-2.2.7.tar.bz2" | md5sum -c

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

# Become root to install it
su

rm -f /usr/lib/libsoup-2.*
make install
ldconfig
chown -R $USER .

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libsoup-1.*.tar.*
mv libsoup-2.2.7.tar.bz2 installed/


# libsoup 2.2.98 (for Gnome 2.14.x or 2.16.x)
# ==============
# Prerequisites (beyond those listed above):
# libxml2
# Apache 1.x or Apache 2.x (optional; for tests)

cd
test -f installed/libsoup-2.2.98.tar.bz2 &&
mv installed/libsoup-2.2.98.tar.bz2 .
test ! -f libsoup-2.2.98.tar.bz2 &&
wget http://ftp.gnome.org/pub/gnome/sources/libsoup/2.2/\
libsoup-2.2.98.tar.bz2

# Verify tarball w/ md5sum:
echo "c779f84c4add124e704e6ea3ccc4039c  libsoup-2.2.98.tar.bz2" | md5sum -c

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

# Become root to install it
su

rm -f /usr/lib/libsoup-2.*
make install
ldconfig
chown -R $USER .

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libsoup-1.*.tar.*
mv libsoup-2.2.98.tar.bz2 installed/


# If you ever want to uninstall libsoup, this should do it:
cd
su
test -d src/libsoup-* && ( cd src/libsoup-* ; make uninstall )
find /usr/include -maxdepth 1 -type d -name "libsoup-*" -exec rm -r {} \;
rm -f /usr/lib/libsoup-2.* /usr/lib/pkgconfig/libsoup-?.*.pc
test -d /usr/share/gtk-doc/html/libsoup &&
rm -r /usr/share/gtk-doc/html/libsoup
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "libsoup-*" -exec rm -r {} \;
rm -f ~/installed/libsoup-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2006-11-30 4:19pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]