[arch-commits] Commit in mate-screensaver (8 files)

Martin Wimpress flexiondotorg at nymeria.archlinux.org
Thu Jan 30 17:11:55 UTC 2014


    Date: Thursday, January 30, 2014 @ 18:11:55
  Author: flexiondotorg
Revision: 105042

Added mate-screensaver-hacks

Added:
  mate-screensaver-hacks/
  mate-screensaver-hacks/repos/
  mate-screensaver-hacks/trunk/
  mate-screensaver-hacks/trunk/LICENSE
  mate-screensaver-hacks/trunk/PKGBUILD
  mate-screensaver-hacks/trunk/migrate-xscreensaver-config.sh
  mate-screensaver-hacks/trunk/xscreensaver-config.xsl
Modified:
  mate-screensaver/trunk/PKGBUILD

---------------------------------------------+
 -hacks/trunk/LICENSE                        |    9 ++++++
 -hacks/trunk/PKGBUILD                       |   26 +++++++++++++++++++
 -hacks/trunk/migrate-xscreensaver-config.sh |   34 ++++++++++++++++++++++++++
 -hacks/trunk/xscreensaver-config.xsl        |    1 
 trunk/PKGBUILD                              |    4 ++-
 5 files changed, 73 insertions(+), 1 deletion(-)

Modified: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	2014-01-30 15:04:00 UTC (rev 105041)
+++ trunk/PKGBUILD	2014-01-30 17:11:55 UTC (rev 105042)
@@ -10,7 +10,9 @@
 depends=('dbus-glib' 'libmatekbd' 'libnotify' 'libxss' 'mate-desktop'
          'mate-menus' 'mate-session-manager')
 makedepends=('mate-common' 'mate-doc-utils' 'perl-xml-parser' 'xmlto')
-optdepends=('mate-power-manager: Add power management support.')
+optdepends=('mate-power-manager: Add power management support.'
+            'mate-screensaver-hacks: Additional screensavers.'
+            'rss-glx: Really slick screensavers.')
 options=('!emptydirs')
 groups=('mate-extra')
 source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz")

Added: -hacks/trunk/LICENSE
===================================================================
--- -hacks/trunk/LICENSE	                        (rev 0)
+++ -hacks/trunk/LICENSE	2014-01-30 17:11:55 UTC (rev 105042)
@@ -0,0 +1,9 @@
+/* xscreensaver, Copyright (c) 1993-2006 Jamie Zawinski <jwz at 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.
+ */

Added: -hacks/trunk/PKGBUILD
===================================================================
--- -hacks/trunk/PKGBUILD	                        (rev 0)
+++ -hacks/trunk/PKGBUILD	2014-01-30 17:11:55 UTC (rev 105042)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Martin Wimpress <code at flexion.org>
+
+pkgname=mate-screensaver-hacks
+pkgver=5.26
+pkgrel=1
+pkgdesc="Enable screensavers from xscreensaver for MATE."
+arch=('any')
+url="http://www.jwz.org/xscreensaver/"
+license=('BSD')
+depends=('xscreensaver')
+makedepends=('libxslt')
+source=(migrate-xscreensaver-config.sh
+        xscreensaver-config.xsl
+        LICENSE)
+sha1sums=('19195ef59f0dbc61c6ed599a968213a8f0a7a5d4'
+          '68e8ec7a4f7077f7f870b904f370329f5e95bce0'
+          '4209ea586b204fd1d81c382a0522c654f9fd9134')
+
+package() {
+    mkdir -p "${pkgdir}/usr/share/applications/screensavers/"
+    cd "${pkgdir}/usr/share/applications/screensavers/"
+    sh "$srcdir/migrate-xscreensaver-config.sh" /usr/share/xscreensaver/config/*.xml
+    rm ${pkgdir}/usr/share/applications/screensavers/popsquares.desktop
+    install -D -m644 ${srcdir}/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


Property changes on: mate-screensaver-hacks/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: -hacks/trunk/migrate-xscreensaver-config.sh
===================================================================
--- -hacks/trunk/migrate-xscreensaver-config.sh	                        (rev 0)
+++ -hacks/trunk/migrate-xscreensaver-config.sh	2014-01-30 17:11:55 UTC (rev 105042)
@@ -0,0 +1,34 @@
+#!/bin/sh
+
+DIST_BIN=`dirname "$0"`
+
+CMD=xsltproc
+XSL=${DIST_BIN}/xscreensaver-config.xsl
+
+if test "x$1" = "x" -o  "x$1" = "x-h" -o "x$1" = "x--help"; then
+    echo "usage: $0 [file] ..."
+    exit 1
+fi
+
+if [ ! -r ${XSL} ]; then
+    echo "Cannot find XSLT file"
+    exit 1
+fi
+
+FILES="$@"
+for FILE in $FILES; do
+    echo "${FILE}" | grep ".xml$" > /dev/null
+    if [ $? -ne 0 ]; then
+        echo "Skipping non-xml file: ${FILE}"
+        continue
+    fi
+
+    d=`dirname ${FILE}`
+    b=`basename ${FILE} .xml`
+
+    outfile="${b}.desktop"
+    echo "Creating: ${outfile}"
+    ${CMD} -o ${outfile} ${XSL} ${FILE}
+done
+
+ exit 0


Property changes on: mate-screensaver-hacks/trunk/migrate-xscreensaver-config.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: -hacks/trunk/xscreensaver-config.xsl
===================================================================
(Binary files differ)

Index: mate-screensaver-hacks/trunk/xscreensaver-config.xsl
===================================================================
--- -hacks/trunk/xscreensaver-config.xsl	2014-01-30 15:04:00 UTC (rev 105041)
+++ -hacks/trunk/xscreensaver-config.xsl	2014-01-30 17:11:55 UTC (rev 105042)

Property changes on: mate-screensaver-hacks/trunk/xscreensaver-config.xsl
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
\ No newline at end of property



More information about the arch-commits mailing list