gksu - GTK+ frontend to su and sudo ChangeLog

HOWTO


# GKSu
# ====
# Create a directory for the source directories and tarballs
mkdir -p -m 0700 ~/src/gksu ~/installed/gksu

# If you ever want to uninstall anything covered below, or just clean up
# files from an old version before installing a new one, cd into the source
# directory, run 'make uninstall' (as root), remove the source directory,
# then remove the tarball.


# libgksu1.2 1.3.7
# ================
# Prerequisites:
# gawk
# sed
# grep
# gettext
# iconv
# bison

cd
test -f installed/gksu/libgksu1.2-1.3.7.tar.gz &&
mv installed/gksu/libgksu1.2-1.3.7.tar.gz .
test ! -f libgksu1.2-1.3.7.tar.gz &&
wget http://people.debian.org/~kov/gksu/libgksu1.2/libgksu1.2-1.3.7.tar.gz
cd src/gksu
find -maxdepth 1 -type d -name "libgksu1.2-*" -exec rm -r {} \;
tar xzvf ~/libgksu1.2-1.3.7.tar.gz
cd libgksu1.2-1.3.7
test $UID = 0 && chown -R root:root .
./configure --disable-nls
make

# Become root to install it
su

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

# Become yourself again
exit

cd
rm -f installed/gksu/libgksu1.2-*.tar.*
mv libgksu1.2-1.3.7.tar.gz installed/gksu/


# libgksuui1.0 1.0.7
# ==================
# Prerequisites:
# gawk
# sed
# grep
# pkg-config
# GTK+ >= 2.0.0
# gettext
# iconv
# bison

cd
test -f installed/gksu/libgksuui1.0-1.0.7.tar.gz &&
mv installed/gksu/libgksuui1.0-1.0.7.tar.gz .
test ! -f libgksuui1.0-1.0.7.tar.gz &&
wget http://people.debian.org/~kov/gksu/libgksuui1.0/\
libgksuui1.0-1.0.7.tar.gz
cd src/gksu
find -maxdepth 1 -type d -name "libgksuui1.0-*" -exec rm -r {} \;
tar xzvf ~/libgksuui1.0-1.0.7.tar.gz
cd libgksuui1.0-1.0.7
test $UID = 0 && chown -R root:root .
./configure --disable-nls
make

# Become root to install it
su

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

# Become yourself again
exit

cd
rm -f installed/gksu/libgksuui1.0-*.tar.*
mv libgksuui1.0-1.0.7.tar.gz installed/gksu/


# gksu 1.3.6
# ==========
# Prerequisites:
# gawk
# sed
# grep
# perl
# gettext
# iconv
# bison
# gconf
# pkg-config
# libgksu1.2 >= 1.3.3 (above)
# libgksuui1.0 >= 1.0.6 (above)
# GTK+-2.0 >= 2.4.0
# gnome-keyring-1

cd
test -f installed/gksu/gksu-1.3.6.tar.gz &&
mv installed/gksu/gksu-1.3.6.tar.gz .
test ! -f gksu-1.3.6.tar.gz &&
wget http://people.debian.org/~kov/gksu/gksu/gksu-1.3.6.tar.gz
cd src/gksu
find -maxdepth 1 -type d -name "gksu-*" -exec rm -r {} \;
tar xzvf ~/gksu-1.3.6.tar.gz
cd gksu-1.3.6
test $UID = 0 && chown -R root:root .

# I didn't bother above, but for gksu itself I use the prefix that Gnome
# is installed under because of files that will end up in /etc/gconf/*, etc.

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib \
--disable-nls
make
su -c "make install"
cd
rm -f installed/gksu/gksu-*.tar.*
mv gksu-1.3.6.tar.gz installed/gksu/

# /usr/share/pixmaps/gksu-icon.png can be used as a desktop icon if you
# need to regularly run something as root with gksu

List of HOWTOs

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