libcroco - CSS2 parsing and manipulation library ChangeLog

HOWTO


# libcroco
# ========
# Slackware 10.0 and 10.1's 'libcroco' packages include version 0.5.1
# As of Slackware 10.2, Gnome is no longer included (and neither is
# libcroco).

# If you want to uninstall libcroco, 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.

# I include several versions below to cover different Gnome releases
# (certain libraries require a certain version of libcroco).

# Prerequisites:
# grep
# sed
# pkg-config
# glib-2.0 >= 2.0
# libxml-2.0 >= 2.4.23


# libcroco 0.5.1
# ==============
cd
test -f installed/libcroco-0.5.1.tar.bz2 &&
mv installed/libcroco-0.5.1.tar.bz2 .
test ! -f libcroco-0.5.1.tar.bz2 &&
wget ftp://ftp.gnome.org/pub/GNOME/sources/libcroco/0.5/libcroco-0.5.1.tar.bz2

# Verify tarball w/ md5sum:
echo "19e016a5533449a769662a116df7237c  libcroco-0.5.1.tar.bz2" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "libcroco-*" -exec rm -r {} \;
tar xjvf ~/libcroco-0.5.1.tar.bz2
cd libcroco-0.5.1
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --disable-static
make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg libcroco
make install
ldconfig

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libcroco-*.tar.*
mv libcroco-0.5.1.tar.bz2 installed/


# libcroco 0.6.1
# ==============
cd
test -f installed/libcroco-0.6.1.tar.bz2 &&
mv installed/libcroco-0.6.1.tar.bz2 .
test ! -f libcroco-0.6.1.tar.bz2 &&
wget ftp://ftp.gnome.org/pub/GNOME/sources/libcroco/0.6/\
libcroco-0.6.1.tar.bz2

# Verify tarball w/ md5sum:
echo "b0975bd01eb11964f1b3f254f267a43d  libcroco-0.6.1.tar.bz2" | md5sum -c

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

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg libcroco
make install
ldconfig

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libcroco-*.tar.*
mv libcroco-0.6.1.tar.bz2 installed/

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2006-03-06 12:47pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]