summaryrefslogtreecommitdiffstats
path: root/abs/extra/gnome-screensaver
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/gnome-screensaver')
-rw-r--r--abs/extra/gnome-screensaver/PKGBUILD47
-rw-r--r--abs/extra/gnome-screensaver/__changelog5
-rw-r--r--abs/extra/gnome-screensaver/bug564548.patch13
-rw-r--r--abs/extra/gnome-screensaver/gnome-screensaver.install32
-rw-r--r--abs/extra/gnome-screensaver/gnome-screensaver.pam3
-rw-r--r--abs/extra/gnome-screensaver/gscreensavers200
6 files changed, 300 insertions, 0 deletions
diff --git a/abs/extra/gnome-screensaver/PKGBUILD b/abs/extra/gnome-screensaver/PKGBUILD
new file mode 100644
index 0000000..cdd4e0b
--- /dev/null
+++ b/abs/extra/gnome-screensaver/PKGBUILD
@@ -0,0 +1,47 @@
+# $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=7
+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' 'libxslt')
+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
+ ls $pkgdir/usr/share/applications/screensavers/|cut -d. -f1 > $startdir/gscreensavers
+
+}
diff --git a/abs/extra/gnome-screensaver/__changelog b/abs/extra/gnome-screensaver/__changelog
new file mode 100644
index 0000000..3fb149c
--- /dev/null
+++ b/abs/extra/gnome-screensaver/__changelog
@@ -0,0 +1,5 @@
+add defaults to install file
+make xsltproc part of makedepends
+print list of screensavers to gscreensavers
+ ls $pkgdir/usr/share/applications/screensavers/|cut -d. -f1 > $startdir/gscreensavers
+
diff --git a/abs/extra/gnome-screensaver/bug564548.patch b/abs/extra/gnome-screensaver/bug564548.patch
new file mode 100644
index 0000000..da58094
--- /dev/null
+++ b/abs/extra/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/gnome-screensaver/gnome-screensaver.install b/abs/extra/gnome-screensaver/gnome-screensaver.install
new file mode 100644
index 0000000..bd98655
--- /dev/null
+++ b/abs/extra/gnome-screensaver/gnome-screensaver.install
@@ -0,0 +1,32 @@
+pkgname=gnome-screensaver
+
+post_install() {
+ usr/sbin/gconfpkg --install ${pkgname}
+ #set defaults
+ gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type bool --set /apps/gnome-screensaver/lock_enabled false
+ gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type int -s "/apps/gnome-screensaver/idle_delay" 10
+ gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --set --type list --list-type=string /apps/gnome-screensaver/themes [screensavers-cosmos-slideshow]
+ gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type string -s "/apps/gnome-screensaver/mode" single
+
+ if grep gnome-screensaver-command /home/mythtv/.mplayer/config
+ then
+ echo "Nothing to do here..."
+ else
+ echo "heartbeat-cmd=\"gnome-screensaver-command -p &\"" >> /home/mythtv/.mplayer/config
+ fi
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+ grep -v gnome-screensaver /home/mythtv/.mplayer/config > /tmp/mp-config
+ mv /tmp/mp-config /home/mythtv/.mplayer/config
+ chown mythtv.mythtv /home/mythtv/.mplayer/config
+}
diff --git a/abs/extra/gnome-screensaver/gnome-screensaver.pam b/abs/extra/gnome-screensaver/gnome-screensaver.pam
new file mode 100644
index 0000000..c776a54
--- /dev/null
+++ b/abs/extra/gnome-screensaver/gnome-screensaver.pam
@@ -0,0 +1,3 @@
+#%PAM-1.0
+auth required pam_unix_auth.so
+auth optional pam_gnome_keyring.so
diff --git a/abs/extra/gnome-screensaver/gscreensavers b/abs/extra/gnome-screensaver/gscreensavers
new file mode 100644
index 0000000..7f56072
--- /dev/null
+++ b/abs/extra/gnome-screensaver/gscreensavers
@@ -0,0 +1,200 @@
+abstractile
+anemone
+anemotaxis
+antinspect
+antmaze
+antspotlight
+apollonian
+apple2
+atlantis
+attraction
+atunnel
+barcode
+blaster
+blinkbox
+blitspin
+blocktube
+boing
+bouboule
+bouncingcow
+boxed
+boxfit
+braid
+bsod
+bubble3d
+bumps
+cage
+carousel
+ccurve
+celtic
+circuit
+cloudlife
+compass
+coral
+cosmos-slideshow
+crackberg
+crystal
+cube21
+cubenetic
+cubestorm
+cubicgrid
+cwaves
+cynosure
+dangerball
+decayscreen
+deco
+deluxe
+demon
+discrete
+distort
+drift
+endgame
+engine
+epicycle
+eruption
+euler2d
+extrusion
+fadeplot
+fiberlamp
+fireworkx
+flame
+flipflop
+flipscreen3d
+fliptext
+flow
+fluidballs
+flurry
+flyingtoasters
+fontglide
+footlogo-floaters
+fuzzyflakes
+galaxy
+gears
+gflux
+glblur
+glcells
+gleidescope
+glhanoi
+glknots
+glmatrix
+glplanet
+glschool
+glslideshow
+glsnake
+gltext
+goop
+grav
+greynetic
+halftone
+halo
+helix
+hopalong
+hyperball
+hypercube
+hypertorus
+hypnowheel
+ifs
+imsmap
+interaggregate
+interference
+intermomentary
+jigglypuff
+jigsaw
+juggle
+juggler3d
+julia
+kaleidescope
+klein
+kumppa
+lament
+lavalite
+lcdscrub
+lockward
+loop
+m6502
+maze
+memscroller
+menger
+metaballs
+mirrorblob
+moebius
+moebiusgears
+moire
+moire2
+molecule
+morph3d
+mountain
+munch
+nerverot
+noof
+noseguy
+pacman
+pedal
+penetrate
+penrose
+personal-slideshow
+petri
+phosphor
+photopile
+piecewise
+pinion
+pipes
+polyhedra
+polyominoes
+polytopes
+pong
+popsquares
+providence
+pulsar
+pyro
+qix
+queens
+rd-bomb
+ripples
+rocks
+rorschach
+rotzoomer
+rubik
+sballs
+shadebobs
+sierpinski
+sierpinski3d
+skytentacles
+slidescreen
+slip
+sonar
+speedmine
+spheremonics
+spotlight
+sproingies
+squiral
+stairs
+starfish
+starwars
+stonerview
+strange
+substrate
+superquadrics
+swirl
+tangram
+thornbird
+timetunnel
+topblock
+triangle
+truchet
+twang
+vermiculate
+vidwhacker
+voronoi
+wander
+webcollage
+whirlwindwarp
+wormhole
+xanalogtv
+xflame
+xjack
+xlyap
+xmatrix
+xrayswarm
+xspirograph
+zoom