Date: Thursday, January 30, 2014 @ 18:13:00 Author: flexiondotorg Revision: 105043
archrelease: copy trunk to community-any Added: mate-screensaver-hacks/repos/community-any/ mate-screensaver-hacks/repos/community-any/LICENSE (from rev 105042, mate-screensaver-hacks/trunk/LICENSE) mate-screensaver-hacks/repos/community-any/PKGBUILD (from rev 105042, mate-screensaver-hacks/trunk/PKGBUILD) mate-screensaver-hacks/repos/community-any/migrate-xscreensaver-config.sh (from rev 105042, mate-screensaver-hacks/trunk/migrate-xscreensaver-config.sh) mate-screensaver-hacks/repos/community-any/xscreensaver-config.xsl (from rev 105042, mate-screensaver-hacks/trunk/xscreensaver-config.xsl) --------------------------------+ LICENSE | 9 +++++++++ PKGBUILD | 26 ++++++++++++++++++++++++++ migrate-xscreensaver-config.sh | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+) Copied: mate-screensaver-hacks/repos/community-any/LICENSE (from rev 105042, mate-screensaver-hacks/trunk/LICENSE) =================================================================== --- community-any/LICENSE (rev 0) +++ community-any/LICENSE 2014-01-30 17:13:00 UTC (rev 105043) @@ -0,0 +1,9 @@ +/* xscreensaver, Copyright (c) 1993-2006 Jamie Zawinski <j...@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. + */ Copied: mate-screensaver-hacks/repos/community-any/PKGBUILD (from rev 105042, mate-screensaver-hacks/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2014-01-30 17:13:00 UTC (rev 105043) @@ -0,0 +1,26 @@ +# $Id$ +# Maintainer: Martin Wimpress <c...@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" +} Copied: mate-screensaver-hacks/repos/community-any/migrate-xscreensaver-config.sh (from rev 105042, mate-screensaver-hacks/trunk/migrate-xscreensaver-config.sh) =================================================================== --- community-any/migrate-xscreensaver-config.sh (rev 0) +++ community-any/migrate-xscreensaver-config.sh 2014-01-30 17:13:00 UTC (rev 105043) @@ -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 Copied: mate-screensaver-hacks/repos/community-any/xscreensaver-config.xsl (from rev 105042, mate-screensaver-hacks/trunk/xscreensaver-config.xsl) =================================================================== (Binary files differ)