From 21010dfa819da8fb6db9c7ccc6b26701c7ab04db Mon Sep 17 00:00:00 2001 From: fredjo Date: Wed, 4 Nov 2009 10:22:09 +0100 Subject: Ajout du paquet gnome-screensaver#2.26.1 --- .../gnome-screensaver/.footprint | 59 ++++++++++++++++++++++ fredjo-gnome-2.28-test/gnome-screensaver/.md5sum | 1 + fredjo-gnome-2.28-test/gnome-screensaver/Pkgfile | 34 +++++++++++++ fredjo-gnome-2.28-test/gnome-screensaver/README | 22 ++++++++ .../gnome-screensaver/post-install | 23 +++++++++ 5 files changed, 139 insertions(+) create mode 100755 fredjo-gnome-2.28-test/gnome-screensaver/.footprint create mode 100755 fredjo-gnome-2.28-test/gnome-screensaver/.md5sum create mode 100755 fredjo-gnome-2.28-test/gnome-screensaver/Pkgfile create mode 100755 fredjo-gnome-2.28-test/gnome-screensaver/README create mode 100755 fredjo-gnome-2.28-test/gnome-screensaver/post-install diff --git a/fredjo-gnome-2.28-test/gnome-screensaver/.footprint b/fredjo-gnome-2.28-test/gnome-screensaver/.footprint new file mode 100755 index 000000000..7a0ead5c6 --- /dev/null +++ b/fredjo-gnome-2.28-test/gnome-screensaver/.footprint @@ -0,0 +1,59 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/gconf/ +drwxr-xr-x root/root etc/gconf/schemas/ +-rw-r--r-- root/root etc/gconf/schemas/gnome-screensaver.schemas +drwxr-xr-x root/root etc/xdg/ +drwxr-xr-x root/root etc/xdg/menus/ +-rw-r--r-- root/root etc/xdg/menus/gnome-screensavers.menu +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/gnome-screensaver +-rwxr-xr-x root/root usr/bin/gnome-screensaver-command +-rwxr-xr-x root/root usr/bin/gnome-screensaver-preferences +-rwxr-xr-x root/root usr/bin/migrate-xscreensaver-config +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/gnome-screensaver/ +-rwsr-xr-x root/root usr/lib/gnome-screensaver/gnome-screensaver-dialog +-rwxr-xr-x root/root usr/lib/gnome-screensaver/gnome-screensaver-gl-helper +drwxr-xr-x root/root usr/lib/gnome-screensaver/gnome-screensaver/ +-rwxr-xr-x root/root usr/lib/gnome-screensaver/gnome-screensaver/floaters +-rwxr-xr-x root/root usr/lib/gnome-screensaver/gnome-screensaver/popsquares +-rwxr-xr-x root/root usr/lib/gnome-screensaver/gnome-screensaver/slideshow +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/gnome-screensaver.pc +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/gnome-screensaver-command.1.gz +-rw-r--r-- root/root usr/man/man1/gnome-screensaver-preferences.1.gz +-rw-r--r-- root/root usr/man/man1/gnome-screensaver.1.gz +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/applications/ +-rw-r--r-- root/root usr/share/applications/gnome-screensaver-preferences.desktop +drwxr-xr-x root/root usr/share/applications/screensavers/ +-rw-r--r-- root/root usr/share/applications/screensavers/cosmos-slideshow.desktop +-rw-r--r-- root/root usr/share/applications/screensavers/footlogo-floaters.desktop +-rw-r--r-- root/root usr/share/applications/screensavers/personal-slideshow.desktop +-rw-r--r-- root/root usr/share/applications/screensavers/popsquares.desktop +drwxr-xr-x root/root usr/share/desktop-directories/ +-rw-r--r-- root/root usr/share/desktop-directories/gnome-screensaver.directory +drwxr-xr-x root/root usr/share/gnome-screensaver/ +-rw-r--r-- root/root usr/share/gnome-screensaver/gnome-screensaver-preferences.glade +-rw-r--r-- root/root usr/share/gnome-screensaver/lock-dialog-default.glade +-rw-r--r-- root/root usr/share/gnome-screensaver/xscreensaver-config.xsl +drwxr-xr-x root/root usr/share/locale/ +drwxr-xr-x root/root usr/share/locale/fr/ +drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/ +-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/gnome-screensaver.mo +drwxr-xr-x root/root usr/share/pixmaps/ +drwxr-xr-x root/root usr/share/pixmaps/backgrounds/ +drwxr-xr-x root/root usr/share/pixmaps/backgrounds/cosmos/ +-rw-r--r-- root/root usr/share/pixmaps/backgrounds/cosmos/cloud.jpg +-rw-r--r-- root/root usr/share/pixmaps/backgrounds/cosmos/comet.jpg +-rw-r--r-- root/root usr/share/pixmaps/backgrounds/cosmos/earth-horizon.jpg +-rw-r--r-- root/root usr/share/pixmaps/backgrounds/cosmos/earthrise.jpg +-rw-r--r-- root/root usr/share/pixmaps/backgrounds/cosmos/galaxy-ngc3370.jpg +-rw-r--r-- root/root usr/share/pixmaps/backgrounds/cosmos/helix-nebula.jpg +-rw-r--r-- root/root usr/share/pixmaps/backgrounds/cosmos/jupiter.jpg +-rw-r--r-- root/root usr/share/pixmaps/backgrounds/cosmos/sombrero.jpg +-rw-r--r-- root/root usr/share/pixmaps/backgrounds/cosmos/whirlpool.jpg +-rw-r--r-- root/root usr/share/pixmaps/gnome-logo-white.svg diff --git a/fredjo-gnome-2.28-test/gnome-screensaver/.md5sum b/fredjo-gnome-2.28-test/gnome-screensaver/.md5sum new file mode 100755 index 000000000..b7e1a4cb4 --- /dev/null +++ b/fredjo-gnome-2.28-test/gnome-screensaver/.md5sum @@ -0,0 +1 @@ +13b9066bb2dfe9face50b3d852b67ded gnome-screensaver-2.26.1.tar.bz2 diff --git a/fredjo-gnome-2.28-test/gnome-screensaver/Pkgfile b/fredjo-gnome-2.28-test/gnome-screensaver/Pkgfile new file mode 100755 index 000000000..d964879c2 --- /dev/null +++ b/fredjo-gnome-2.28-test/gnome-screensaver/Pkgfile @@ -0,0 +1,34 @@ +# Description: An xscreensaver replacement designed to integrate with GNOME +# Maintainer: Matt Housh, jaeger at morpheus dot net +# Depends on: gtk, libgnomeui, dbus +# Group: gnome/desktop + +name=gnome-screensaver +version=2.26.1 +release=1 +gnomever=2.26.3 +source=(http://download.gnome.org/desktop/${gnomever%.*}/$gnomever/sources/$name-$version.tar.bz2) + +build() { + cd $name-$version + ./configure --prefix=/usr \ + --mandir=/usr/man \ + --libexecdir=/usr/lib/$name \ + --enable-locking \ + --disable-pam \ + --with-shadow \ + --sysconfdir=/etc \ + --disable-schemas-install + make + make DESTDIR=$PKG install + + sed -e 's|${DIST_BIN}|/usr/share/gnome-screensaver|' \ + data/migrate-xscreensaver-config.sh > \ + $PKG/usr/bin/migrate-xscreensaver-config + chmod +x $PKG/usr/bin/migrate-xscreensaver-config + install -m 0644 -o root -g root data/xscreensaver-config.xsl \ + $PKG/usr/share/$name/ + + # needed for locking with shadow + chmod u+s $PKG/usr/lib/$name/$name-dialog +} diff --git a/fredjo-gnome-2.28-test/gnome-screensaver/README b/fredjo-gnome-2.28-test/gnome-screensaver/README new file mode 100755 index 000000000..d5ba27b65 --- /dev/null +++ b/fredjo-gnome-2.28-test/gnome-screensaver/README @@ -0,0 +1,22 @@ + + +README for gnome-screensaver + +If you want to use xscreensaver hacks with gnome-screensaver, do the following: + +1. Install xscreensaver and libxslt (if not already installed) +2. Migrate xscreensaver configs to gnome-screensaver format like so: + + # mkdir temp; cd temp + # /usr/bin/migrate-xscreensaver-config /usr/share/xscreensaver/config/*.xml + # mv *.desktop /usr/share/applications/screensavers/ + # cd ..; rmdir temp + +3. Run gnome-screensaver-preferences and select a screensaver + + +** NOTE: If you have both xscreensaver and gnome-screensaver installed, there +will be two (2) entries in the GNOME preferences menu for "Screensaver". If you +want to get rid of the xscreensaver entry, move or delete the .desktop file, +/usr/share/applications/gnome-screensaver-properties.desktop. + diff --git a/fredjo-gnome-2.28-test/gnome-screensaver/post-install b/fredjo-gnome-2.28-test/gnome-screensaver/post-install new file mode 100755 index 000000000..105470ae1 --- /dev/null +++ b/fredjo-gnome-2.28-test/gnome-screensaver/post-install @@ -0,0 +1,23 @@ +#!/bin/sh + +port=gnome-screensaver + +# gconf schemas +SCHEMAS="`pkginfo -l $port | grep etc/gconf/schemas/.*\.schemas$`" + +for SCHEMA in $SCHEMAS +do + export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` + gconftool-2 --makefile-install-rule /$SCHEMA > /dev/null +done + +# reload gconf caches +if [ ! -z "`pidof gconfd-2`" ] +then + killall -HUP gconfd-2 > /dev/null +fi + +# desktop database +update-desktop-database > /dev/null + +# End of file -- cgit v1.2.3-70-g09d2