summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfredjo <frederic.joly@9online.fr>2009-11-04 14:51:04 +0100
committerfredjo <frederic.joly@9online.fr>2009-11-04 14:51:04 +0100
commit7e02d85272843ed60b126fb7752345681501d609 (patch)
treeb74a43c79e63afa43213d4427e9a02a10e1b938d
parent78c8adf249f6bcad4f17796d4d7146ade0200ded (diff)
downloadnutyx-extra-7e02d85272843ed60b126fb7752345681501d609.tar.gz
nutyx-extra-7e02d85272843ed60b126fb7752345681501d609.tar.bz2
nutyx-extra-7e02d85272843ed60b126fb7752345681501d609.tar.xz
nutyx-extra-7e02d85272843ed60b126fb7752345681501d609.zip
Deplacement de gnome-screensaver vers le repertoire gnome
-rwxr-xr-xgnome/gnome-screensaver/.footprint59
-rwxr-xr-xgnome/gnome-screensaver/.md5sum1
-rwxr-xr-xgnome/gnome-screensaver/Pkgfile34
-rwxr-xr-xgnome/gnome-screensaver/README22
-rwxr-xr-xgnome/gnome-screensaver/post-install23
5 files changed, 139 insertions, 0 deletions
diff --git a/gnome/gnome-screensaver/.footprint b/gnome/gnome-screensaver/.footprint
new file mode 100755
index 000000000..7a0ead5c6
--- /dev/null
+++ b/gnome/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/gnome/gnome-screensaver/.md5sum b/gnome/gnome-screensaver/.md5sum
new file mode 100755
index 000000000..b7e1a4cb4
--- /dev/null
+++ b/gnome/gnome-screensaver/.md5sum
@@ -0,0 +1 @@
+13b9066bb2dfe9face50b3d852b67ded gnome-screensaver-2.26.1.tar.bz2
diff --git a/gnome/gnome-screensaver/Pkgfile b/gnome/gnome-screensaver/Pkgfile
new file mode 100755
index 000000000..d964879c2
--- /dev/null
+++ b/gnome/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/gnome/gnome-screensaver/README b/gnome/gnome-screensaver/README
new file mode 100755
index 000000000..d5ba27b65
--- /dev/null
+++ b/gnome/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/gnome/gnome-screensaver/post-install b/gnome/gnome-screensaver/post-install
new file mode 100755
index 000000000..105470ae1
--- /dev/null
+++ b/gnome/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