Linux HOWTOs

About | Home | Search


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

HOWTO: libnotify
Description: Part of Galago, a desktop presence framework
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


# libnotify 0.4.2
# ===============
# gawk
# grep
# sed
# pkg-config
# D-Bus

cd
test -f installed/libnotify-0.4.2.tar.bz2 &&
 mv installed/libnotify-0.4.2.tar.bz2 .
test ! -f libnotify-0.4.2.tar.bz2 &&
 wget http://www.galago-project.org/files/releases/source/libnotify/\
libnotify-0.4.2.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "libnotify-*" -exec rm -r {} \;
tar xjvf ~/libnotify-0.4.2.tar.bz2
cd libnotify-0.4.2
test $UID = 0 && chown -R root:root .
./configure
make

# Become root to install it
su

rm -f /usr/local/lib/libnotify.*
make install
ldconfig

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libnotify-*.tar.*
mv libnotify-0.4.2.tar.bz2 installed/


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

Back to the list


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