summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/gnome-screensaver
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-14 23:56:31 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-14 23:56:31 (GMT)
commit35708e2950a8ac610aecd12a08a8c2feedbbb9bb (patch)
treecec4b617bb1461005bcf5e0b5670f40b705e15b1 /abs/extra-testing/gnome-screensaver
parentd7969d548ee525a940b68e7597e578dc2d9043a0 (diff)
downloadlinhes_pkgbuild-35708e2950a8ac610aecd12a08a8c2feedbbb9bb.zip
linhes_pkgbuild-35708e2950a8ac610aecd12a08a8c2feedbbb9bb.tar.gz
linhes_pkgbuild-35708e2950a8ac610aecd12a08a8c2feedbbb9bb.tar.bz2
gnome-screensaver and all the extra stuff it requires.
This package seems to behave a bit better then xscreensaver. gnome-desktop gnome-menus gnome-screensvaer iso-codes libgnomekbd ligxklavier.
Diffstat (limited to 'abs/extra-testing/gnome-screensaver')
-rw-r--r--abs/extra-testing/gnome-screensaver/PKGBUILD45
-rw-r--r--abs/extra-testing/gnome-screensaver/bug564548.patch13
-rw-r--r--abs/extra-testing/gnome-screensaver/gnome-screensaver.install17
-rw-r--r--abs/extra-testing/gnome-screensaver/gnome-screensaver.pam3
4 files changed, 78 insertions, 0 deletions
diff --git a/abs/extra-testing/gnome-screensaver/PKGBUILD b/abs/extra-testing/gnome-screensaver/PKGBUILD
new file mode 100644
index 0000000..963032c
--- /dev/null
+++ b/abs/extra-testing/gnome-screensaver/PKGBUILD
@@ -0,0 +1,45 @@
+# $Id: PKGBUILD 29213 2009-03-06 18:47:56Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=gnome-screensaver
+pkgver=2.24.1
+pkgrel=3
+pkgdesc="Screensaver designed to integrate well with the GNOME desktop."
+arch=(i686 x86_64)
+license=('GPL')
+url="http://live.gnome.org/GnomeScreensaver"
+backup=(etc/pam.d/gnome-screensaver)
+depends=('gnome-menus>=2.24.2' 'libgnomekbd>=2.24.0' 'libxss' 'libgl' 'libnotify' 'gnome-desktop>=2.24.2' 'libxxf86misc')
+makedepends=('pkgconfig' 'gettext' 'intltool' 'mesa' 'xscreensaver')
+groups=('gnome')
+options=(!emptydirs)
+install=gnome-screensaver.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.24/${pkgname}-${pkgver}.tar.bz2
+ gnome-screensaver.pam
+ bug564548.patch)
+md5sums=('f0b9cc3108bb9105141a8c22b56bf615'
+ '4b4d2672a787e0d2ed792b4c308ccf8d'
+ 'b2accd56fd1e7e3855c1cee3cc3780c4')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i "${srcdir}/bug564548.patch" || return 1
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --libexecdir=/usr/lib/gnome-screensaver \
+ --localstatedir=/var --with-gdm-config=/usr/share/gdm/defaults.conf \
+ --with-xscreensaverdir=/usr/share/xscreensaver/config \
+ --with-xscreensaverhackdir=/usr/lib/xscreensaver \
+ --with-dpms-ext || return 1
+ make || return 1
+ make DESTDIR="${pkgdir}" install || return 1
+
+ install -m644 "${srcdir}/gnome-screensaver.pam" "${pkgdir}/etc/pam.d/gnome-screensaver" || return 1
+
+ #Migrate xscreensaver configuration files
+ cd "${pkgdir}/usr/share/applications/screensavers"
+ "${srcdir}/${pkgname}-${pkgver}/data/migrate-xscreensaver-config.sh" /usr/share/xscreensaver/config/*.xml || return 1
+
+ install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
+ gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
+ rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+}
diff --git a/abs/extra-testing/gnome-screensaver/bug564548.patch b/abs/extra-testing/gnome-screensaver/bug564548.patch
new file mode 100644
index 0000000..da58094
--- /dev/null
+++ b/abs/extra-testing/gnome-screensaver/bug564548.patch
@@ -0,0 +1,13 @@
+--- trunk/src/gs-window-x11.c 2008/05/29 17:03:19 1452
++++ trunk/src/gs-window-x11.c 2008/12/15 15:19:36 1571
+@@ -2287,6 +2287,10 @@
+
+ gs_window_dialog_finish (window);
+
++ if (window->priv->background_pixmap) {
++ g_object_unref (window->priv->background_pixmap);
++ }
++
+ G_OBJECT_CLASS (gs_window_parent_class)->finalize (object);
+ }
+
diff --git a/abs/extra-testing/gnome-screensaver/gnome-screensaver.install b/abs/extra-testing/gnome-screensaver/gnome-screensaver.install
new file mode 100644
index 0000000..d79cf1a
--- /dev/null
+++ b/abs/extra-testing/gnome-screensaver/gnome-screensaver.install
@@ -0,0 +1,17 @@
+pkgname=gnome-screensaver
+
+post_install() {
+ usr/sbin/gconfpkg --install ${pkgname}
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+}
diff --git a/abs/extra-testing/gnome-screensaver/gnome-screensaver.pam b/abs/extra-testing/gnome-screensaver/gnome-screensaver.pam
new file mode 100644
index 0000000..c776a54
--- /dev/null
+++ b/abs/extra-testing/gnome-screensaver/gnome-screensaver.pam
@@ -0,0 +1,3 @@
+#%PAM-1.0
+auth required pam_unix_auth.so
+auth optional pam_gnome_keyring.so