summaryrefslogtreecommitdiff
path: root/libre/xscreensaver
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 03:30:41 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 03:30:41 -0300
commit05fff056ef7ee87f9c44f99a25411767c6375f6e (patch)
treefed9681b1e749dc64e128cf3e3b69c3c590fcbf2 /libre/xscreensaver
parentae77a34fccb25b2322c7b96f23ade238b4f49b06 (diff)
downloadabslibre-05fff056ef7ee87f9c44f99a25411767c6375f6e.tar.gz
abslibre-05fff056ef7ee87f9c44f99a25411767c6375f6e.tar.bz2
abslibre-05fff056ef7ee87f9c44f99a25411767c6375f6e.zip
xscreensaver: remove libre suffix and add complex pkgrel
Diffstat (limited to 'libre/xscreensaver')
-rw-r--r--libre/xscreensaver/LICENSE10
-rw-r--r--libre/xscreensaver/PKGBUILD55
-rw-r--r--libre/xscreensaver/xscreensaver-add-electricsheep.diff10
3 files changed, 75 insertions, 0 deletions
diff --git a/libre/xscreensaver/LICENSE b/libre/xscreensaver/LICENSE
new file mode 100644
index 000000000..406467cd4
--- /dev/null
+++ b/libre/xscreensaver/LICENSE
@@ -0,0 +1,10 @@
+/* xscreensaver, Copyright (c) 1991-2013 Jamie Zawinski <jwz@jwz.org>
+ *
+ * Permission to use, copy, modify, distribute, and sell this software and its
+ * documentation for any purpose is hereby granted without fee, provided that
+ * the above copyright notice appear in all copies and that both that
+ * copyright notice and this permission notice appear in supporting
+ * documentation. No representations are made about the suitability of this
+ * software for any purpose. It is provided "as is" without express or
+ * implied warranty.
+ */
diff --git a/libre/xscreensaver/PKGBUILD b/libre/xscreensaver/PKGBUILD
new file mode 100644
index 000000000..b23bd47f5
--- /dev/null
+++ b/libre/xscreensaver/PKGBUILD
@@ -0,0 +1,55 @@
+# $Id: PKGBUILD 214395 2014-06-09 00:20:39Z eric $
+# Maintainer (Arch): Eric Bélanger <eric@archlinux.org>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+_pkgname=xscreensaver-libre
+pkgname=xscreensaver
+pkgver=5.29
+pkgrel=1.parabola1
+pkgdesc="Screen saver and locker for the X Window System, without nonfree asm files"
+arch=('i686' 'x86_64' 'mips64el')
+url="http://www.jwz.org/xscreensaver/"
+license=('BSD')
+depends=('libglade' 'libxmu' 'glu' 'xorg-appres' 'perl-libwww')
+makedepends=('bc' 'intltool' 'libxpm' 'gdm')
+optdepends=('gdm: for login manager support')
+replaces=("${_pkgname}")
+conflicts=("${_pkgname}")
+backup=('etc/pam.d/xscreensaver')
+mksource=(http://www.jwz.org/xscreensaver/${pkgname}-${pkgver}.tar.gz)
+source=(https://repo.parabolagnulinux.org/other/${_pkgname}/${_pkgname}-${pkgver}.tar.gz \
+ xscreensaver-add-electricsheep.diff LICENSE)
+mksha1sums=('a27a10c6eed024c458e927ee0dc1e6cb306d3335')
+sha1sums=('0b0d8d57cac76460cb3a77aa5cd80adcfa856572'
+ 'e8dc57b6471fb3867ee099304ac6bf628351cb98'
+ '3eedb8b91b13c29df9b1fe5cbb027e1470b802d2')
+
+mksource() {
+ cd ${pkgname}-${pkgver}
+
+ # Deleting dmsc.asm file due which don't have source code supplied
+ rm -v hacks/images/m6502/dmsc.asm
+}
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -p0 -i "${srcdir}/xscreensaver-add-electricsheep.diff"
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --libexecdir=/usr/lib --with-x-app-defaults=/usr/share/X11/app-defaults \
+ --with-pam --with-login-manager --with-gtk --with-gl \
+ --without-gle --with-pixbuf --with-jpeg
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ install -d "${pkgdir}/etc/pam.d"
+ make install_prefix="${pkgdir}" install
+ install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ chmod 755 "${pkgdir}/usr/bin/xscreensaver"
+ echo "NotShowIn=KDE;GNOME;" >> "${pkgdir}/usr/share/applications/xscreensaver-properties.desktop"
+}
diff --git a/libre/xscreensaver/xscreensaver-add-electricsheep.diff b/libre/xscreensaver/xscreensaver-add-electricsheep.diff
new file mode 100644
index 000000000..0c5c3ff40
--- /dev/null
+++ b/libre/xscreensaver/xscreensaver-add-electricsheep.diff
@@ -0,0 +1,10 @@
+--- driver/XScreenSaver.ad.in-orig 2013-07-16 16:47:10.183068023 -0400
++++ driver/XScreenSaver.ad.in 2013-07-16 16:48:23.293473297 -0400
+@@ -157,6 +157,7 @@
+ !
+ *programs: \
+ maze -root \n\
++ electricsheep --root 1 \n\
+ @GL_KLUDGE@ GL: superquadrics -root \n\
+ attraction -root \n\
+ blitspin -root \n\