Contents
$GNOME_PREFIX
/{lib/gnome-screensaver/gnome-screensaver,
share/{applications/screensavers,backgrounds/cosmos,
gnome-screensaver}}
The gnome-screensaver package contains a screen saver and locker designed to have simple, sane, secure defaults and be well integrated with the desktop. It supports locking down of configuration settings, has translations into many languages and convenient user switching.
This package is known to build and work properly using an LFS-6.5 platform.
Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/gnome-screensaver/2.30/gnome-screensaver-2.30.0.tar.bz2
Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/gnome-screensaver/2.30/gnome-screensaver-2.30.0.tar.bz2
Download MD5 sum: a18086bf2191795d87b7ea80b7b66daa
Download size: 4.6 MB
Estimated disk space required: 26 MB
Estimated build time: 0.3 SBU
GNOME Desktop-2.30.2 and gnome-menus-2.30.2
libgnomekbd-2.30.1, libnotify-0.4.5, XScreenSaver-5.15 (and libxslt-1.1.26), Mono, and xmlto-0.0.23
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gnome-screensaver
Optional Features
If you have XScreenSaver installed and wish to import any or all of the “hacks” into gnome-screensaver themes, set the following environment variable (modify it if XScreenSaver is installed in a non-standard location):
XSAVERDIR=/usr/share/xscreensaver/config
Also add the following parameter to the configure script below:
--with-xscreensaverdir=$XSAVERDIR
Install gnome-screensaver by running the following commands:
sed -i 's|etc/pam\.d"|etc"|' data/Makefile.in && ./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \ --sysconfdir=/etc/gnome/2.30.2 \ --libexecdir=$(pkg-config \ --variable=prefix ORBit-2.0)/lib/gnome-screensaver \ --with-pam-prefix=/etc && make
If you have XScreenSaver installed
and wish to import any or all of the “hacks” into gnome-screensaver themes, you'll need to
identify which “hacks” you
wish to import. The commands below will import all of them. If you
want to import less than all of them, modify the setting of the
XSAVERLIST
environment variable below
(listing the desired hacks by filename without the extension, space
delimited) and issue the following commands:
mkdir xscreensavers && cd xscreensavers && XSAVERLIST="*" && for SAVERLIST in $(ls ${XSAVERDIR}/${XSAVERLIST}.xml); do ../data/migrate-xscreensaver-config.sh $SAVERLIST done && unset XSAVERDIR unset XSAVERLIST unset SAVERLIST cd ..
This package does not come with a test suite.
Now, as the root
user:
make install
If you have xmlto installed, still
as the root
user issuing the
following commands:
GNOMEDOCDIR="$(pkg-config \ --variable=prefix ORBit-2.0)/share/doc/gnome-screensaver-2.30.0" && install -v -m644 -D doc/gnome-screensaver.html \ ${GNOMEDOCDIR}/gnome-screensaver.html && unset GNOMEDOCDIR
If you identified some, or all, XScreenSaver hacks to be imported into
gnome-screensaver, install them by
issuing the following commands as the root
user:
install -v -m755 -d $(pkg-config --variable=prefix \ ORBit-2.0)/share/applications/screensavers/xscreensaver && install -v -m644 xscreensavers/*.desktop \ $(pkg-config --variable=prefix \ ORBit-2.0)/share/applications/screensavers/xscreensaver
sed -i 's|etc/pam\.d"|etc|' data/Makefile.in: This command is used so that an erroneous message to copy the PAM configuration file is not displayed.
--prefix=$(pkg-config --variable=prefix
ORBit-2.0)
: Setting the prefix using this parameter
instead of with $GNOME_PREFIX
will
ensure that the prefix is consistent with the installation
environment and the package will be installed in the correct
location.
--sysconfdir=/etc/gnome/2.30.2
: This
parameter causes the configuration files to be installed in
/etc/gnome/2.30.2
instead of
$GNOME_PREFIX/etc
. Additionally (if
applicable), the parameter ensures that the GConf-2 database is correctly updated.
--libexecdir=$(pkg-config
--variable=prefix ORBit-2.0)/lib/gnome-screensaver
:
This parameter causes the libexec files to be installed in the
preferred location of $GNOME_PREFIX/lib/gnome-screensaver
instead of
$GNOME_PREFIX/libexec
.
--with-pam-prefix=/etc
:
This parameter is used so that the Linux-PAM configuration file for the
gnome-screensaver application is
installed in the correct location. You may omit this parameter if
you don't have Linux-PAM
installed, though it won't affect the build if you don't.
--with-xscreensaverdir=$XSAVERDIR
: This
parameter will use the xscreensaver hack configs found in
$XSAVERDIR
.
Most of the gnome-screensaver configuration parameters can be modified using the menu item from the — drop-down menu. Some of the fine-tuning parameters are only available using GConf Editor-2.30.0.
If you have Linux-PAM
installed, the just-installed gnome-screensaver
configuration file does not
work with a BLFS system. Replace the existing file with one
that can be used on a BLFS system by issuing the following
command as the root
user:
cat > /etc/pam.d/gnome-screensaver << "EOF"
# File: /etc/pam.d/gnome-screensaver
auth required pam_unix.so
account required pam_unix.so
session required pam_unix.so
password required pam_unix.so
EOF
chmod -v 644 /etc/pam.d/gnome-screensaver
$GNOME_PREFIX
/{lib/gnome-screensaver/gnome-screensaver,
share/{applications/screensavers,backgrounds/cosmos,
gnome-screensaver}}
Last updated on 2010-08-21 06:44:13 +0000