From 04aff5f70cb7c04abe06ca8eaf8261cbb0eeb378 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 11 Apr 2012 00:01:18 +0000 Subject: Wed Apr 11 00:01:18 UTC 2012 --- community-testing/couchdb/PKGBUILD | 49 ++++++++++ community-testing/couchdb/configure-fix.patch | 21 +++++ community-testing/couchdb/couchdb.install | 22 +++++ community-testing/couchdb/rc-script.patch | 57 ++++++++++++ community-testing/dee/PKGBUILD | 33 +++++++ community-testing/dee/fix-crash.patch | 86 ++++++++++++++++++ community-testing/dwdiff/PKGBUILD | 24 +++++ community-testing/ejabberd/PKGBUILD | 44 +++++++++ community-testing/ejabberd/ejabberd | 63 +++++++++++++ community-testing/ejabberd/ejabberd.install | 26 ++++++ community-testing/ejabberd/ejabberd.logrotate | 12 +++ community-testing/esdl/PKGBUILD | 39 ++++++++ community-testing/fatrat/PKGBUILD | 38 ++++++++ community-testing/glabels/PKGBUILD | 35 +++++++ community-testing/glabels/fix-gschema.patch | 36 ++++++++ community-testing/glabels/glabels.install | 15 +++ community-testing/gtranslator/PKGBUILD | 34 +++++++ .../gtranslator/gtranslator.changelog | 36 ++++++++ community-testing/gtranslator/gtranslator.install | 13 +++ community-testing/gwibber/PKGBUILD | 34 +++++++ community-testing/gwibber/gwibber.install | 12 +++ community-testing/gwibber/lp_959068.patch | 27 ++++++ community-testing/ibus-qt/PKGBUILD | 30 ++++++ community-testing/libfbclient/ChangeLog | 26 ++++++ community-testing/libfbclient/LICENSE | 44 +++++++++ community-testing/libfbclient/PKGBUILD | 41 +++++++++ community-testing/mapnik/PKGBUILD | 54 +++++++++++ community-testing/mapnik/gcc47.patch | 11 +++ community-testing/mapnik/mapnik.install | 11 +++ community-testing/open-vm-tools/PKGBUILD | 65 +++++++++++++ .../open-vm-tools/open-vm-tools-X11Bool.patch | 15 +++ .../open-vm-tools/open-vm-tools.conf.d | 6 ++ .../open-vm-tools/open-vm-tools.install | 10 ++ community-testing/open-vm-tools/open-vm-tools.rc.d | 101 +++++++++++++++++++++ .../open-vm-tools/scripts-network-FS19541.patch | 38 ++++++++ .../open-vm-tools/scripts-network.patch | 73 +++++++++++++++ community-testing/open-vm-tools/tools.conf | 1 + community-testing/open-vm-tools/vmware-guestd | 6 ++ community-testing/open-vm-tools/xautostart.conf | 6 ++ community-testing/openttd/PKGBUILD | 39 ++++++++ community-testing/openttd/openttd.install | 17 ++++ community-testing/parrot/PKGBUILD | 49 ++++++++++ community-testing/pion-net/PKGBUILD | 42 +++++++++ community-testing/shotwell/PKGBUILD | 35 +++++++ community-testing/shotwell/shotwell.install | 17 ++++ community-testing/sword/PKGBUILD | 2 +- community-testing/wings3d/PKGBUILD | 55 +++++++++++ community-testing/wings3d/wings3d | 2 + community-testing/wings3d/wings3d.install | 14 +++ community-testing/wings3d/wings3d.png | Bin 0 -> 5838 bytes community-testing/yaws/PKGBUILD | 39 ++++++++ community-testing/yaws/yaws.install | 13 +++ community-testing/yaws/yaws.profile | 1 + community-testing/yaz/PKGBUILD | 38 ++++++++ 54 files changed, 1656 insertions(+), 1 deletion(-) create mode 100644 community-testing/couchdb/PKGBUILD create mode 100644 community-testing/couchdb/configure-fix.patch create mode 100644 community-testing/couchdb/couchdb.install create mode 100644 community-testing/couchdb/rc-script.patch create mode 100644 community-testing/dee/PKGBUILD create mode 100644 community-testing/dee/fix-crash.patch create mode 100644 community-testing/dwdiff/PKGBUILD create mode 100644 community-testing/ejabberd/PKGBUILD create mode 100644 community-testing/ejabberd/ejabberd create mode 100644 community-testing/ejabberd/ejabberd.install create mode 100644 community-testing/ejabberd/ejabberd.logrotate create mode 100644 community-testing/esdl/PKGBUILD create mode 100644 community-testing/fatrat/PKGBUILD create mode 100644 community-testing/glabels/PKGBUILD create mode 100644 community-testing/glabels/fix-gschema.patch create mode 100644 community-testing/glabels/glabels.install create mode 100644 community-testing/gtranslator/PKGBUILD create mode 100644 community-testing/gtranslator/gtranslator.changelog create mode 100644 community-testing/gtranslator/gtranslator.install create mode 100644 community-testing/gwibber/PKGBUILD create mode 100644 community-testing/gwibber/gwibber.install create mode 100644 community-testing/gwibber/lp_959068.patch create mode 100644 community-testing/ibus-qt/PKGBUILD create mode 100644 community-testing/libfbclient/ChangeLog create mode 100644 community-testing/libfbclient/LICENSE create mode 100644 community-testing/libfbclient/PKGBUILD create mode 100644 community-testing/mapnik/PKGBUILD create mode 100644 community-testing/mapnik/gcc47.patch create mode 100644 community-testing/mapnik/mapnik.install create mode 100644 community-testing/open-vm-tools/PKGBUILD create mode 100644 community-testing/open-vm-tools/open-vm-tools-X11Bool.patch create mode 100644 community-testing/open-vm-tools/open-vm-tools.conf.d create mode 100644 community-testing/open-vm-tools/open-vm-tools.install create mode 100644 community-testing/open-vm-tools/open-vm-tools.rc.d create mode 100644 community-testing/open-vm-tools/scripts-network-FS19541.patch create mode 100644 community-testing/open-vm-tools/scripts-network.patch create mode 100644 community-testing/open-vm-tools/tools.conf create mode 100644 community-testing/open-vm-tools/vmware-guestd create mode 100644 community-testing/open-vm-tools/xautostart.conf create mode 100644 community-testing/openttd/PKGBUILD create mode 100644 community-testing/openttd/openttd.install create mode 100644 community-testing/parrot/PKGBUILD create mode 100644 community-testing/pion-net/PKGBUILD create mode 100644 community-testing/shotwell/PKGBUILD create mode 100644 community-testing/shotwell/shotwell.install create mode 100644 community-testing/wings3d/PKGBUILD create mode 100644 community-testing/wings3d/wings3d create mode 100644 community-testing/wings3d/wings3d.install create mode 100644 community-testing/wings3d/wings3d.png create mode 100644 community-testing/yaws/PKGBUILD create mode 100644 community-testing/yaws/yaws.install create mode 100644 community-testing/yaws/yaws.profile create mode 100644 community-testing/yaz/PKGBUILD (limited to 'community-testing') diff --git a/community-testing/couchdb/PKGBUILD b/community-testing/couchdb/PKGBUILD new file mode 100644 index 000000000..44bb5a33d --- /dev/null +++ b/community-testing/couchdb/PKGBUILD @@ -0,0 +1,49 @@ +# $Id: PKGBUILD 69092 2012-04-09 13:49:06Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Contributor: Vitaliy Berdinskikh ur6lad[at]i.ua +# Contributor: Michael Fellinger + +pkgname=couchdb +pkgver=1.2.0 +pkgrel=3 +pkgdesc="A document-oriented database that can be queried and indexed in a MapReduce fashion using JSON" +arch=('i686' 'x86_64') +url="http://couchdb.apache.org" +license=('APACHE') +depends=('icu' 'erlang' 'js' 'openssl' 'curl') +install=couchdb.install +options=('!libtool') +backup=('etc/couchdb/local.ini' + 'etc/conf.d/couchdb' + 'etc/logrotate.d/couchdb') +source=("http://www.apache.org/dist/couchdb/releases/${pkgver}/apache-${pkgname}-${pkgver}.tar.gz"{,.asc} + "rc-script.patch" "configure-fix.patch") +md5sums=('a5cbbcaac288831b3d8a08b725657f10' + '890a85b22219ea113a4901a289c442f8' + '8a3b1a1ff98a6411827ad991db7a355b' + 'fd1669544d08bda09c3318873d51db1e') + +build() { + cd "$srcdir/apache-$pkgname-$pkgver" + + # workaround for FS#26827 + patch -Np1 < $srcdir/configure-fix.patch + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var + make + + patch -R etc/init/couchdb <$srcdir/rc-script.patch +} + +package() { + cd "$srcdir/apache-$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + + install -Dm644 etc/default/couchdb $pkgdir/etc/conf.d/couchdb + sed -i 's|\(CONFIGURATION_FILE=/etc/\)default\(/couchdb\)|\1conf.d\2|' $pkgdir/etc/rc.d/couchdb + sed -i 's|\(COUCHDB_OPTIONS=\)|\1"-p /var/run/couchdb/couchdb.pid"|' $pkgdir/etc/conf.d/couchdb + + rm -rf $pkgdir/etc/default/ $pkgdir/var/run +} diff --git a/community-testing/couchdb/configure-fix.patch b/community-testing/couchdb/configure-fix.patch new file mode 100644 index 000000000..0bb68ecfe --- /dev/null +++ b/community-testing/couchdb/configure-fix.patch @@ -0,0 +1,21 @@ +diff -rup apache-couchdb-1.2.0/configure apache-couchdb-1.2.0.new/configure +--- apache-couchdb-1.2.0/configure 2012-03-29 23:05:41.000000000 +0200 ++++ apache-couchdb-1.2.0.new/configure 2012-04-08 13:50:14.923693056 +0200 +@@ -18234,7 +18234,7 @@ echo "$as_me: error: $erlang_version_err + fi + fi + +-otp_release="`${ERL} -noshell -eval 'io:put_chars(erlang:system_info(otp_release)).' -s erlang halt`" ++otp_release="`${ERL} -smp disable -noshell -eval 'io:put_chars(erlang:system_info(otp_release)).' -s erlang halt`" + + if test x$otp_release \> xR13B03; then + USE_OTP_NIFS_TRUE= +@@ -18253,7 +18253,7 @@ else + fi + + +-has_crypto=`${ERL} -eval "case application:load(crypto) of ok -> ok; _ -> exit(no_crypto) end." -noshell -s init stop` ++has_crypto=`${ERL} -smp disable -eval "case application:load(crypto) of ok -> ok; _ -> exit(no_crypto) end." -noshell -s init stop` + + if test -n "$has_crypto"; then + { { echo "$as_me:$LINENO: error: Could not find the Erlang crypto library. Has Erlang been compiled with OpenSSL support?" >&5 diff --git a/community-testing/couchdb/couchdb.install b/community-testing/couchdb/couchdb.install new file mode 100644 index 000000000..5eff459c7 --- /dev/null +++ b/community-testing/couchdb/couchdb.install @@ -0,0 +1,22 @@ +post_install() { + id couchdb &>/dev/null || \ + useradd -r -c "CouchDB daemon" -g daemon -d /var/lib/couchdb -s /bin/false couchdb + mkdir -p /var/run/couchdb + chown -R couchdb.daemon /etc/couchdb + chown -R couchdb.daemon /var/{lib,log,run}/couchdb +} + +pre_upgrade() { + id couchdb &>/dev/null || \ + useradd -r -c "CouchDB daemon" -g daemon -d /var/lib/couchdb -s /bin/false couchdb +} + +post_upgrade() { + mkdir -p $pkgdir/var/run/couchdb + chown -R couchdb.daemon /etc/couchdb + chown -R couchdb.daemon /var/{lib,log,run}/couchdb +} + +post_remove() { + userdel couchdb &>/dev/null +} diff --git a/community-testing/couchdb/rc-script.patch b/community-testing/couchdb/rc-script.patch new file mode 100644 index 000000000..1dd723ffc --- /dev/null +++ b/community-testing/couchdb/rc-script.patch @@ -0,0 +1,57 @@ +--- couchdb 2011-12-27 01:21:59.000000000 +0400 ++++ couchdb.my 2011-12-27 01:21:18.000000000 +0400 +@@ -1,6 +1,4 @@ +-#!/bin/bash +-. /etc/rc.conf +-. /etc/rc.d/functions ++#!/bin/sh -e + + # Licensed under the Apache License, Version 2.0 (the "License"); you may not + # use this file except in compliance with the License. You may obtain a copy of +@@ -31,7 +29,7 @@ + NAME=couchdb + SCRIPT_NAME=`basename $0` + COUCHDB=/usr/bin/couchdb +-CONFIGURATION_FILE=/etc/conf.d/couchdb ++CONFIGURATION_FILE=/etc/default/couchdb + RUN_DIR=/var/run/couchdb + LSB_LIBRARY=/lib/lsb/init-functions + +@@ -44,14 +42,16 @@ + fi + + log_daemon_msg () { +- stat_busy $@ ++ # Dummy function to be replaced by LSB library. ++ ++ echo $@ + } + + log_end_msg () { ++ # Dummy function to be replaced by LSB library. ++ + if test "$1" != "0"; then +- stat_fail +- else +- stat_done ++ echo "Error with $DESCRIPTION: $NAME" + fi + return $1 + } +@@ -66,7 +66,7 @@ + command="$command $COUCHDB_OPTIONS" + fi + if test -n "$COUCHDB_USER"; then +- if su $COUCHDB_USER -s /bin/bash -c "$command"; then ++ if su $COUCHDB_USER -c "$command"; then + return $SCRIPT_OK + else + return $SCRIPT_ERROR +@@ -84,7 +84,6 @@ + # Start Apache CouchDB as a background process. + + mkdir -p "$RUN_DIR" +- chown -R $COUCHDB_USER "$RUN_DIR" + command="$COUCHDB -b" + if test -n "$COUCHDB_STDOUT_FILE"; then + command="$command -o $COUCHDB_STDOUT_FILE" diff --git a/community-testing/dee/PKGBUILD b/community-testing/dee/PKGBUILD new file mode 100644 index 000000000..e65c2d80c --- /dev/null +++ b/community-testing/dee/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 69158 2012-04-09 22:02:32Z bgyorgy $ +# Maintainer: Balló György + +pkgname=dee +pkgver=1.0.8 +pkgrel=1 +pkgdesc="Library to provide objects allowing to create Model-View-Controller type programs across DBus" +arch=('i686' 'x86_64') +url="https://launchpad.net/dee" +license=('LGPL') +depends=('glib2' 'icu') +makedepends=('python2' 'gobject-introspection' 'vala') +options=('!libtool') +source=(http://launchpad.net/$pkgname/1.0/$pkgver/+download/$pkgname-$pkgver.tar.gz + fix-crash.patch) +md5sums=('e9dbf5526ac4aca5a001e87e8cea516d' + 'e6e95a783dd1f3aa0accc7410a5783e1') + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -Np0 -i "$srcdir/fix-crash.patch" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --disable-tests \ + PYTHON=python2 + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} diff --git a/community-testing/dee/fix-crash.patch b/community-testing/dee/fix-crash.patch new file mode 100644 index 000000000..9ce664e10 --- /dev/null +++ b/community-testing/dee/fix-crash.patch @@ -0,0 +1,86 @@ +=== modified file 'src/dee-shared-model.c' +--- src/dee-shared-model.c 2012-03-12 11:49:53 +0000 ++++ src/dee-shared-model.c 2012-03-29 12:04:44 +0000 +@@ -1183,6 +1183,7 @@ + guint32 pos; + guchar change_type; + gint i, j; ++ gboolean transaction_error; + + g_return_if_fail (DEE_IS_SHARED_MODEL (self)); + g_return_if_fail (transaction != NULL); +@@ -1249,48 +1250,56 @@ + g_variant_get (tt, "(tt)", &seqnum_before, &seqnum_after); + g_variant_unref (tt); + ++ transaction_error = FALSE; + /* If this is our first transaction we accept anything, if not the + * incoming seqnums must align with our own records */ + current_seqnum = dee_serializable_model_get_seqnum (DEE_MODEL (self)); +- if (current_seqnum != 0 && +- current_seqnum != seqnum_before) +- { ++ ++ if (current_seqnum != 0 && current_seqnum != seqnum_before) ++ { + g_warning ("Transaction from %s is in the %s. Expected seqnum %"G_GUINT64_FORMAT + ", but got %"G_GUINT64_FORMAT". Ignoring transaction.", + sender_name, + current_seqnum < seqnum_before ? "future" : "past", + current_seqnum, seqnum_before); +- if (dee_shared_model_is_leader (self)) +- { +- g_warning ("Invalidating %s", sender_name); +- invalidate_peer (self, sender_name, NULL); +- } +- +- g_variant_unref (transaction); +- g_variant_unref (aav); +- g_variant_unref (au); +- g_variant_unref (ay); +- return; +- } ++ transaction_error = TRUE; ++ } + + /* Check that the lengths of all the arrays match up */ + n_rows = g_variant_n_children (aav); ++ + if (n_rows != g_variant_n_children (au)) + { + g_warning ("Commit from %s has illegal position vector", + sender_name); +- // FIXME cleanup ++ transaction_error = TRUE; + } + if (n_rows != g_variant_n_children (ay)) + { + g_warning ("Commit from %s has illegal change type vector", + sender_name); +- // FIXME cleanup ++ transaction_error = TRUE; + } + if (n_rows > (seqnum_after - seqnum_before)) + { + g_warning ("Commit from %s has illegal seqnum count.", + sender_name); ++ transaction_error = TRUE; ++ } ++ ++ if (transaction_error) ++ { ++ if (dee_shared_model_is_leader (self)) ++ { ++ g_warning ("Invalidating %s", sender_name); ++ invalidate_peer (self, sender_name, NULL); ++ } ++ ++ g_variant_unref (transaction); ++ g_variant_unref (aav); ++ g_variant_unref (au); ++ g_variant_unref (ay); ++ return; + } + + /* Allocate an array on the stack as a temporary row data buffer */ + diff --git a/community-testing/dwdiff/PKGBUILD b/community-testing/dwdiff/PKGBUILD new file mode 100644 index 000000000..2b41b97b5 --- /dev/null +++ b/community-testing/dwdiff/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 69094 2012-04-09 13:49:12Z tdziedzic $ +# Maintainer: Sergej Pupykin + +pkgname=dwdiff +pkgver=2.0 +pkgrel=2 +pkgdesc="A front-end for the diff program that operates at the word level instead of the line level" +arch=('i686' 'x86_64') +url="http://os.ghalkes.nl/dwdiff.html" +depends=('diffutils' 'icu') +license=('GPL') +source=("http://os.ghalkes.nl/dist/$pkgname-$pkgver.tgz") +md5sums=('98dd16b58a1f136a2cd49f7dd88c5313') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make prefix="$pkgdir"/usr install +} diff --git a/community-testing/ejabberd/PKGBUILD b/community-testing/ejabberd/PKGBUILD new file mode 100644 index 000000000..d4bf9c2da --- /dev/null +++ b/community-testing/ejabberd/PKGBUILD @@ -0,0 +1,44 @@ +# $Id: PKGBUILD 69116 2012-04-09 13:50:43Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Contributor: Jeff 'codemac' Mickey +# Contributor: Alexander Rødseth + +pkgname=ejabberd +pkgver=2.1.10 +pkgrel=4 +pkgdesc="Jabber server written in Erlang" +arch=('x86_64' 'i686') +url="http://www.ejabberd.im/" +license=("GPL") +depends=('expat' 'openssl' 'zlib' 'erlang' 'pam' 'iproute2') +backup=(etc/ejabberd/ejabberd.cfg etc/logrotate.d/ejabberd) +install=$pkgname.install +source=("http://www.process-one.net/downloads/ejabberd/${pkgver/_/-}/ejabberd-${pkgver}.tar.gz" + "$pkgname.logrotate" + "$pkgname") +sha256sums=('9dc2e5889e919a7d51f2b95b83da835116631db81550a115c02e71909ad932be' + '31780cac78736d285e46f445f8c8463a70f2aeb2683280c259129db11832ddd2' + '93f8f9a8751b9e982b332f74e71f766c3c9c4818876991cadef08fe140b83ca6') + +build() { + cd "$srcdir/$pkgname-$pkgver/src" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --enable-pam --enable-odbc + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver/src" + + make DESTDIR="$pkgdir" install + install -D -m 0755 "$srcdir/$pkgname" "$pkgdir/etc/rc.d/$pkgname" + install -d "$pkgdir/var/spool/$pkgname" + install -d "$pkgdir/var/lib/$pkgname" + install -D -m0644 "$srcdir/$pkgname.logrotate" \ + "$pkgdir/etc/logrotate.d/$pkgname" + chmod ug+r "$pkgdir/etc/$pkgname/"* + rm -rf "$pkgdir/var/lock" +} + +# vim:set ts=2 sw=2 et: diff --git a/community-testing/ejabberd/ejabberd b/community-testing/ejabberd/ejabberd new file mode 100644 index 000000000..259d4db66 --- /dev/null +++ b/community-testing/ejabberd/ejabberd @@ -0,0 +1,63 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +cd /var/log/ejabberd/ + +get_pid() { + pidof epmd >/dev/null || { echo '' ; return 0; } + # get port from 'epmd -names', then get pid from 'ss -tlnp' + PORT=`epmd -names | grep ejabberd | cut -f5 -d\ ` + [ -z "$PORT" ] && { echo '' ; return 0; } + PID=`ss -tlnp | grep $PORT | grep -oE '[[:digit:]]+,' | cut -d, -f1` + [ -z "$PID" ] && { echo '' ; return 0; } + echo ${PID%/} +} + +case "$1" in + start) + stat_busy "Starting ejabber daemon" + + [ -d /var/lock/ejabberdctl ] || mkdir -p /var/lock/ejabberdctl + [ -f /var/run/ejabber.pid ] && rm -f /var/run/ejabber.pid + PID=`get_pid` + if [ -z "$PID" ]; then + su ejabberd -s /bin/bash - -c 'erl -pa /usr/lib/ejabberd/ebin -sname ejabberd -s ejabberd -ejabberd config \"/etc/ejabberd/ejabberd.cfg\" log_path \"/var/log/ejabberd/ejabberd.log\" -sasl sasl_error_logger \{file,\"/var/log/ejabberd/sasl.log\"\} -mnesia dir \"/var/spool/ejabberd\" -detached -kernel inetrc \"/etc/ejabberd/inetrc\"' + if [ $? -gt 0 ]; then + stat_fail + exit 1 + else + echo `get_pid` > /var/run/ejabberd.pid + add_daemon ejabberd + stat_done + fi + else + stat_fail + exit 1 + fi + ;; + + stop) + stat_busy "Stopping ejabber daemon" + PID=`get_pid` + [ ! -z "$PID" ] && su ejabberd -s /bin/bash - -c "kill $PID" &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + exit 1 + else + rm -f /var/run/ejabberd.pid &> /dev/null + rm_daemon ejabberd + stat_done + fi + ;; + + restart) + $0 stop + sleep 3 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/community-testing/ejabberd/ejabberd.install b/community-testing/ejabberd/ejabberd.install new file mode 100644 index 000000000..9d17a911e --- /dev/null +++ b/community-testing/ejabberd/ejabberd.install @@ -0,0 +1,26 @@ +post_install() { + groupadd -r jabber + useradd -r -G jabber -d /var/lib/ejabberd ejabberd + chown -R ejabberd.jabber /var/log/ejabberd + chown -R ejabberd.jabber /var/spool/ejabberd + chown -R ejabberd.jabber /var/lib/ejabberd + chown root:ejabberd /usr/lib/ejabberd/priv/bin/epam + chown root:ejabberd /etc/ejabberd/ejabberd.cfg /etc/ejabberd/ejabberdctl.cfg /etc/ejabberd + chmod 4750 /usr/lib/ejabberd/priv/bin/epam +} + +post_upgrade() { + chown -R ejabberd.jabber /var/log/ejabberd + chown -R ejabberd.jabber /var/spool/ejabberd + chown -R ejabberd.jabber /var/lib/ejabberd + chown root:ejabberd /etc/ejabberd/ejabberd.cfg /etc/ejabberd/ejabberdctl.cfg /etc/ejabberd + chown root:ejabberd /usr/lib/ejabberd/priv/bin/epam + chmod 4750 /usr/lib/ejabberd/priv/bin/epam +} + +post_remove() { + userdel ejabberd + groupdel jabber +} + +# vim:set ts=2 sw=2 et: diff --git a/community-testing/ejabberd/ejabberd.logrotate b/community-testing/ejabberd/ejabberd.logrotate new file mode 100644 index 000000000..03069078a --- /dev/null +++ b/community-testing/ejabberd/ejabberd.logrotate @@ -0,0 +1,12 @@ +/var/log/ejabberd/ejabberd.log { + weekly + missingok + rotate 10 + compress + delaycompress + ifempty + nomail + sharedscripts + postrotate ejabberdctl --node ejabberd reopen-log > /dev/null + endscript +} diff --git a/community-testing/esdl/PKGBUILD b/community-testing/esdl/PKGBUILD new file mode 100644 index 000000000..1324daaee --- /dev/null +++ b/community-testing/esdl/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 61589 2012-01-03 23:37:49Z arodseth $ +# Maintainer: Alexander Rødseth +# Contributor: kappa + +pkgname=esdl +pkgver=1.0.1 +pkgrel=2 +epoch=2 +arch=('x86_64' 'i686') +pkgdesc="SDL and OpenGL bindings for the Erlang programming language" +url="http://esdl.sourceforge.net/" +license=('custom') +depends=('erlang' 'sdl' 'mesa') +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.src.tar.gz") +md5sums=('50230ea81418cb029281a70627a5dd8e') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + find -type f -print0 | xargs -0 chmod 644 + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make INSTALLDIR="$pkgdir/usr/lib/erlang/lib/$pkgname-$pkgver" install + + ## To make wings3d compile with esdl 1.2 + #ln -s /usr/lib/erlang/lib/wx-0.99/include/glu.hrl \ + # "$pkgdir/usr/lib/erlang/lib/$pkgname-$pkgver/include/glu.hrl" + #ln -s /usr/lib/erlang/lib/wx-0.99/include/gl.hrl \ + # "$pkgdir/usr/lib/erlang/lib/$pkgname-$pkgver/include/gl.hrl" + + install -Dm644 "$srcdir/$pkgname-$pkgver/license.terms" \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: diff --git a/community-testing/fatrat/PKGBUILD b/community-testing/fatrat/PKGBUILD new file mode 100644 index 000000000..6130fafbd --- /dev/null +++ b/community-testing/fatrat/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 69096 2012-04-09 13:49:17Z tdziedzic $ +# Maintainer: Lukas Jirkovsky + +pkgname=fatrat +pkgver=1.2.0_beta1 +pkgrel=5 +pkgdesc="QT4 based download manager with support for HTTP, FTP, SFTP, BitTorrent, rapidshare and more" +arch=('i686' 'x86_64') +url="http://fatrat.dolezel.info/" +license=('GPL') +depends=('gloox' 'qt' 'libtorrent-rasterbar' 'pion-net' 'qtwebkit') +optdepends=('geoip: GeoIP support') +makedepends=('boost' 'cmake' 'java-environment') +source=(http://www.dolezel.info/download/data/fatrat/fatrat-$pkgver.tar.gz) +md5sums=('7ce4d5e6318361f36ba5ac86a5755da9') + +build() { + cd $pkgname-$pkgver + + . /etc/profile.d/jre.sh + . /etc/profile.d/jdk.sh + + cmake \ + -DWITH_EVERYTHING=ON \ + -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS="-lpthread" \ + -DCMAKE_CXX_FLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + . + + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/community-testing/glabels/PKGBUILD b/community-testing/glabels/PKGBUILD new file mode 100644 index 000000000..4454af492 --- /dev/null +++ b/community-testing/glabels/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 69135 2012-04-09 18:05:08Z bgyorgy $ +# Maintainer: Balló György +# Contributor: yugrotavele +# Contributor: Damir Perisa + +pkgname=glabels +pkgver=3.0.0 +pkgrel=3 +pkgdesc="Creating labels and business cards the very easy way" +arch=('i686' 'x86_64') +url="http://glabels.sourceforge.net/" +license=('GPL' 'LGPL') +depends=('librsvg' 'evolution-data-server>=3.4.0' 'qrencode' 'iec16022' 'dconf' 'desktop-file-utils' 'xdg-utils') +makedepends=('barcode' 'intltool' 'gnome-doc-utils') +options=('!libtool') +install=$pkgname.install +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2 + fix-gschema.patch) +sha256sums=('a3a3db4dd25bfb1a03f4008f01c5d9045174e78e13ae77438b81bfe4bf14e64a' + 'ef4f368b49fe66fb7e9c1c4edabb96e1f10fd3e8502d695aef6b89388c38cd94') + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -Np1 -i "$srcdir/fix-gschema.patch" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --disable-scrollkeeper --disable-schemas-compile + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} diff --git a/community-testing/glabels/fix-gschema.patch b/community-testing/glabels/fix-gschema.patch new file mode 100644 index 000000000..51e197096 --- /dev/null +++ b/community-testing/glabels/fix-gschema.patch @@ -0,0 +1,36 @@ +diff -Naur glabels-3.0.0.orig/data/schemas/org.gnome.glabels-3.gschema.xml.in glabels-3.0.0/data/schemas/org.gnome.glabels-3.gschema.xml.in +--- glabels-3.0.0.orig/data/schemas/org.gnome.glabels-3.gschema.xml.in 2012-04-09 13:58:25.256413359 +0000 ++++ glabels-3.0.0/data/schemas/org.gnome.glabels-3.gschema.xml.in 2012-04-09 13:59:40.495830152 +0000 +@@ -2,10 +2,10 @@ + + + +- +- +- +- ++ ++ ++ ++ + + + +diff -Naur glabels-3.0.0.orig/data/schemas/org.gnome.glabels-3.gschema.xml.in.in glabels-3.0.0/data/schemas/org.gnome.glabels-3.gschema.xml.in.in +--- glabels-3.0.0.orig/data/schemas/org.gnome.glabels-3.gschema.xml.in.in 2012-04-09 13:58:25.256413359 +0000 ++++ glabels-3.0.0/data/schemas/org.gnome.glabels-3.gschema.xml.in.in 2012-04-09 13:59:32.232560783 +0000 +@@ -2,10 +2,10 @@ + + + +- +- +- +- ++ ++ ++ ++ + + + diff --git a/community-testing/glabels/glabels.install b/community-testing/glabels/glabels.install new file mode 100644 index 000000000..42bb5884d --- /dev/null +++ b/community-testing/glabels/glabels.install @@ -0,0 +1,15 @@ +post_install() { + xdg-icon-resource forceupdate + update-desktop-database -q + update-mime-database usr/share/mime &> /dev/null + glib-compile-schemas usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install $1 +} + + +post_remove() { + post_install $1 +} diff --git a/community-testing/gtranslator/PKGBUILD b/community-testing/gtranslator/PKGBUILD new file mode 100644 index 000000000..9ad34ee63 --- /dev/null +++ b/community-testing/gtranslator/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 69147 2012-04-09 20:24:34Z bgyorgy $ +# Maintainer: Jaroslav Lichtblau +# Contributor: Hugo Doria +# Contributor: Christer Solskogen (solskogen@carebears.mine.nu) + +pkgname=gtranslator +pkgver=2.91.2 +pkgrel=1 +pkgdesc="An enhanced gettext po file editor for the GNOME" +arch=('i686' 'x86_64') +url="http://projects.gnome.org/gtranslator/" +license=('GPL') +depends=('desktop-file-utils' 'gdl' 'gettext' 'gtksourceview3' 'gtkspell3' 'iso-codes' 'libgda' 'libpeas' 'gsettings-desktop-schemas' 'hicolor-icon-theme' 'dconf') +makedepends=('intltool' 'gnome-doc-utils' 'gucharmap' 'json-glib') +optdepends=('gucharmap: for charmap plugin' + 'json-glib: for open-tran plugin') +options=('!libtool') +install=$pkgname.install +changelog=$pkgname.changelog +source=(http://ftp.acc.umu.se/pub/GNOME/sources/$pkgname/2.91/$pkgname-$pkgver.tar.xz) +sha256sums=('884c14b5a556c0bb5764315530eda43542a0a887a2142cc3c75f8c917a8ff49e') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-compile + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +} diff --git a/community-testing/gtranslator/gtranslator.changelog b/community-testing/gtranslator/gtranslator.changelog new file mode 100644 index 000000000..33e27a489 --- /dev/null +++ b/community-testing/gtranslator/gtranslator.changelog @@ -0,0 +1,36 @@ +2012-04-09 Balló György + * gtranslator 2.91.2-1 + replace gtkspell dependency with gtkspell3 + remove unused libunique dependency + remove broken dictionary plugin + +2012-03-18 Jaroslav Lichtblau + * gtranslator 2.90.8-1 + +2011-10-28 Jaroslav Lichtblau (Dragonlord) + * gtranslator 2.90.7-1 + +2011-08-20 Jaroslav Lichtblau (Dragonlord) + * gtranslator 2.90.5-1 + +2011-05-12 Jaroslav Lichtblau (Dragonlord) + * gtranslator 2.90.3-1 + +2011-01-09 Jaroslav Lichtblau (Dragonlord) + * gtranslator-1.9.13-1 + +2010-08-30 Jaroslav Lichtblau (Dragonlord) + * gtranslator-1.9.11-1 + +2010-02-23 Jaroslav Lichtblau (Dragonlord) + * gtranslator-1.9.7-1 + +2007-06-19 Eric Belanger (Snowman) + * gtranslator-1.1.7-3 + added x86_64 to arch field + added license + removed gnome.sh sourcing : no longer necessary + +2007-05-29 Alessio 'mOLOk' Bolognino + * gtranslator-1.1.7-3 + move from /opt/gnome to /usr diff --git a/community-testing/gtranslator/gtranslator.install b/community-testing/gtranslator/gtranslator.install new file mode 100644 index 000000000..390bbf2b0 --- /dev/null +++ b/community-testing/gtranslator/gtranslator.install @@ -0,0 +1,13 @@ +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community-testing/gwibber/PKGBUILD b/community-testing/gwibber/PKGBUILD new file mode 100644 index 000000000..05dd3d6f2 --- /dev/null +++ b/community-testing/gwibber/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 69159 2012-04-09 22:04:04Z bgyorgy $ +# Maintainer: Balló György + +pkgname=gwibber +pkgver=3.4.0 +pkgrel=1 +pkgdesc="Microblogging client for GNOME, which supports Twitter, Identi.ca, StatusNet, Facebook, Flickr, Digg, FriendFeed and Qaiku" +arch=('i686' 'x86_64') +url="http://gwibber.com/" +license=('GPL') +depends=('libgee' 'libnotify' 'dee>=1.0.0' 'json-glib' 'gtkspell3' 'python2-gobject' 'libwnck3' 'libwebkit3' 'libgnome-keyring>=3.3' 'dbus-python' 'python2-httplib2' 'python-egenix-mx-base' 'python2-oauth' 'python-imaging' 'pyxdg' 'dconf' 'hicolor-icon-theme' 'xdg-utils') +makedepends=('intltool' 'vala>=0.15.0') +options=('!libtool') +install=$pkgname.install +source=(http://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.gz + lp_959068.patch) +md5sums=('cec2c692d870f7aa7fb6a7cb556617ad' + 'c15dd5289f36270f980036ead71b6c20') + +build() { + cd "$srcdir/$pkgname-$pkgver" + find . -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@' + patch -Np1 -i "$srcdir/lp_959068.patch" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --disable-schemas-compile --disable-unity + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} diff --git a/community-testing/gwibber/gwibber.install b/community-testing/gwibber/gwibber.install new file mode 100644 index 000000000..d973d53f7 --- /dev/null +++ b/community-testing/gwibber/gwibber.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate + glib-compile-schemas usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/community-testing/gwibber/lp_959068.patch b/community-testing/gwibber/lp_959068.patch new file mode 100644 index 000000000..66b288ba7 --- /dev/null +++ b/community-testing/gwibber/lp_959068.patch @@ -0,0 +1,27 @@ +=== modified file 'libgwibber/streams.vala' +--- old/libgwibber/streams.vala 2012-03-19 13:35:30 +0000 ++++ new/libgwibber/streams.vala 2012-04-04 20:53:49 +0000 +@@ -213,13 +213,21 @@ + model = create_model (); + } + model.row_removed.connect((_m, _i) => { ++ var to_remove = new GLib.List (); + foreach (var v in seen.entries) + { + if (v.value == _i) + { +- seen.unset(v.key); ++ /* defer calling unset until after we are done iterating ++ * the HashMap, it will resize making the iterator invalid ++ * This is fixed in the 0.7 series of libgee ++ * https://bugzilla.gnome.org/show_bug.cgi?id=671327 ++ */ ++ to_remove.prepend (v.key); + } + } ++ foreach (var v in to_remove) ++ seen.unset(v); + }); + Idle.add(() => { + refresh_model_async.begin (); + diff --git a/community-testing/ibus-qt/PKGBUILD b/community-testing/ibus-qt/PKGBUILD new file mode 100644 index 000000000..c6bd27c11 --- /dev/null +++ b/community-testing/ibus-qt/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 69098 2012-04-09 13:49:23Z tdziedzic $ +# Maintainer: Thomas Dziedzic < gostrc at gmail > +# Contributor: garion < garion @ mailoo.org > +# Contributor: leemars + +pkgname=ibus-qt +pkgver=1.3.1 +pkgrel=5 +pkgdesc='IBus qt library and IBus qt input method plugin' +arch=('i686' 'x86_64') +license=('LGPL') +url='http://ibus.googlecode.com' +depends=('qt' 'ibus' 'icu') +makedepends=('cmake' 'automoc4' 'doxygen') +source=("http://ibus.googlecode.com/files/${pkgname}-${pkgver}-Source.tar.gz") +md5sums=('769e8872ca8a59327b2073ce2f142589') + +build() { + cd "${srcdir}" + mkdir build + cd build + + cmake "../${pkgname}-${pkgver}-Source" -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}/build" + make DESTDIR="${pkgdir}" install +} diff --git a/community-testing/libfbclient/ChangeLog b/community-testing/libfbclient/ChangeLog new file mode 100644 index 000000000..f02bd5ff5 --- /dev/null +++ b/community-testing/libfbclient/ChangeLog @@ -0,0 +1,26 @@ + +2009-06-08 Douglas Soares de Andrade + + * Rebuilt for the new icu + +2009-04-09 Douglas Soares de Andrade + + * Updated for i686: 2.1.2 + +2008-08-10 Douglas Soares de Andrade + + * Updated for i686: 2.1.1 + +2008-05-10 Mateusz Herych + + * Updated for x86_64 - 2.1.0 + +2008-04-28 Douglas Soares de Andrade + + * Updated for i686 - 2.1.0 + * Sure, firebird is the hell to build. Waiting contributions ;-) + +2007-07-06 tardo + + * Built for x86_64 + * This is the most fucked up pkg evar. diff --git a/community-testing/libfbclient/LICENSE b/community-testing/libfbclient/LICENSE new file mode 100644 index 000000000..e735b0cc1 --- /dev/null +++ b/community-testing/libfbclient/LICENSE @@ -0,0 +1,44 @@ + +LICENSES +-------- + +The applicable and approved licenses for the source files +of the Firebird RDBMS project are: + + 1) InterBase Public License (IPL), version 1.0 + http://bdn.borland.com/article/0,1410,30198,00.html + + 2) Initial Developer's Public License (IDPL), version 1.0 + http://www.ibphoenix.com/main.nfs?a=ibphoenix&page=ibp_idpl + +The IPL is copyright of Borland Corp., the other licenses are copyright +by the source code authors and contributors. + + +USAGE RULES +----------- + +1) The source code which was released under the IPL must keep this license. + All modifications / adaptations of this code are still subjects of the IPL. + +2) The files that are derived from the IPL covered code, must also keep + this license. It means that if any new file contains some code covered by + the IPL, then this file should be released under the IPL too. + +3) The new files developed by the members of the Firebird project should + be released under the IDPL. + +4) The new files contributed by people who are not members of the Firebird + project should follow the rule #3. If an author (initial developer) doesn't + specify the license to be used, the person who applies the contributed code + to the CVS tree (a committer) becomes responsible for the license assigned + to the contributed code. + +5) Every non-binary file that exists in the CVS tree, should have a header + section which describes the license this code is released under. If a file + contains no header, it means that this code is freeware and nobody owns the + appropriate copyrights. + + +You may find the exhibits for the approved licenses in /doc/license directory +of the CVS tree. diff --git a/community-testing/libfbclient/PKGBUILD b/community-testing/libfbclient/PKGBUILD new file mode 100644 index 000000000..9c5223618 --- /dev/null +++ b/community-testing/libfbclient/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 69100 2012-04-09 13:49:31Z tdziedzic $ +# Maintainer: Carlier Laurent +# Contributor: Douglas Soares de Andrade + +pkgname=libfbclient +pkgver=2.5.1.26351 +pkgrel=2 +pkgdesc="Client library for Firebird." +arch=('i686' 'x86_64') +url="http://www.firebirdsql.org/" +license=('custom') +depends=('gcc-libs' 'icu') +options=('!makeflags') +source=(http://downloads.sourceforge.net/firebird/Firebird-$pkgver-0.tar.bz2 + LICENSE) +md5sums=('1772fba4f09c8fc84d989282405f90fd' + '0d61798861e159c85dbdf0f30fe2f2ce') + +build() { + cd $srcdir/Firebird-$pkgver-0 + + ./configure --prefix=/usr --with-system-icu --without-fbudf \ + --without-fbsbin --without-fbconf --without-fbdoc --without-fbsample \ + --without-fbsample-db --without-fbintl --without-fbmisc --without-fbhelp \ + --without-fbsecure-db --with-fbmsg=/usr/share/firebird --without-fblog \ + --without-fbglock --without-fbplugins + + make +} + +package() { + cd $srcdir/Firebird-$pkgver-0 + + mkdir -p $pkgdir/usr/{bin,share/firebird} + cp -R gen/firebird/{lib,include} $pkgdir/usr + rm -f $pkgdir/usr/lib/libedit.a + install -m644 gen/firebird/*.msg $pkgdir/usr/share/firebird + install -m755 gen/firebird/bin/fb_config $pkgdir/usr/bin + mkdir -p $srcdir/usr/share/licenses/$pkgname/ + install -D -m644 ${srcdir}/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +} diff --git a/community-testing/mapnik/PKGBUILD b/community-testing/mapnik/PKGBUILD new file mode 100644 index 000000000..3e3ad0524 --- /dev/null +++ b/community-testing/mapnik/PKGBUILD @@ -0,0 +1,54 @@ +# $Id: PKGBUILD 69102 2012-04-09 13:49:40Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Contributor: David Dent +# Contributor: orbisvicis + +pkgname=mapnik +pkgver=0.7.1 +pkgrel=16 +pkgdesc="Free Toolkit for developing mapping applications. Above all Mapnik is about rendering beautiful maps" +arch=('i686' 'x86_64') +url="http://mapnik.org/" +license=('LGPL') +depends=('boost-libs' 'icu' 'libpng' 'libjpeg' 'libtiff' 'freetype2' + 'libxml2' 'python2' 'proj' 'cairo' 'cairomm' 'pycairo' + 'postgresql-libs' 'postgis' 'gdal' 'curl' 'libtool') + # already in core ('zlib' 'sqlite3') +optdepends=('libxslt: Web Map Service' + 'python2-lxml: Web Map Service' + 'python-imaging: Web Map Service' + 'python-nose: Web Map Service' + 'apache: Web Map Service' + 'mod_fastcgi: Web Map Service - or:' + 'mod_fcgid: Web Map Service - or:' + 'mod_wsgi: Web Map Service' + ) +makedepends=('scons' 'boost') # already in core ('pkg-config') +install="mapnik.install" +source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.bz2" + 'gcc47.patch') +md5sums=('8f65fda2a792518d6f6be8a85f62fc73' + 'ce7933dc20de7e07427a6a6b5d4fd002') + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -p1 -i "${srcdir}"/gcc47.patch + + #patch SConstruct so libs end up in /usr/lib not /usr/lib64 on X86_64 + sed -i -e "/LIBDIR_SCHEMA=/s/lib64/lib/" SConstruct + sed -i 's|png_ptr->io_ptr|png_get_io_ptr(png_ptr)|g' src/png_reader.cpp + sed -i 's/-ansi -Wall/-ansi -DBOOST_FILESYSTEM_VERSION=2 -Wall/' SConstruct + + scons configure \ + PREFIX="/usr" \ + INPUT_PLUGINS=all \ + DESTDIR="$pkgdir" + scons +} + +package(){ + cd "$srcdir/$pkgname-$pkgver" + scons install + # fix permissions on SCons-autogenerated files + chmod 644 "${pkgdir}/usr/lib/python2.7/site-packages/mapnik/paths.py" +} diff --git a/community-testing/mapnik/gcc47.patch b/community-testing/mapnik/gcc47.patch new file mode 100644 index 000000000..0532e0c21 --- /dev/null +++ b/community-testing/mapnik/gcc47.patch @@ -0,0 +1,11 @@ +--- mapnik-0.7.1/include/mapnik/factory.hpp~ 2010-03-22 16:40:04.000000000 +0000 ++++ mapnik-0.7.1/include/mapnik/factory.hpp 2012-04-05 15:55:13.460191219 +0000 +@@ -84,7 +84,7 @@ + { + return (pos->second)(file); + } +- return on_unknown_type(key); ++ return this->on_unknown_type(key); + } + }; + } diff --git a/community-testing/mapnik/mapnik.install b/community-testing/mapnik/mapnik.install new file mode 100644 index 000000000..46f265d5b --- /dev/null +++ b/community-testing/mapnik/mapnik.install @@ -0,0 +1,11 @@ +post_install() { + /sbin/ldconfig +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community-testing/open-vm-tools/PKGBUILD b/community-testing/open-vm-tools/PKGBUILD new file mode 100644 index 000000000..3914b43f2 --- /dev/null +++ b/community-testing/open-vm-tools/PKGBUILD @@ -0,0 +1,65 @@ +# $Id: PKGBUILD 69104 2012-04-09 13:50:02Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Contributor: Krzysztof Raczkowski + +pkgname=open-vm-tools +pkgver=2012.03.13 +_pkgsubver=651368 +pkgrel=2 +pkgdesc="The Open Virtual Machine Tools (open-vm-tools) are the open source implementation of VMware Tools" +arch=('i686' 'x86_64') +url="http://open-vm-tools.sourceforge.net/" +license=('LGPL') +depends=('open-vm-tools-modules' 'libdnet' 'icu' 'procps' 'uriparser' 'libsigc++' 'libxss') +makedepends=('chrpath' 'doxygen' 'gtkmm' 'fuse' 'libxtst') +optdepends=('gtkmm' 'libnotify' 'libxtst' 'fuse' 'libsm') +options=('docs' '!libtool') +install=$pkgname.install +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-${_pkgsubver}.tar.gz + scripts-network.patch + scripts-network-FS19541.patch + open-vm-tools-X11Bool.patch + open-vm-tools.conf.d + open-vm-tools.rc.d + tools.conf + vmware-guestd + xautostart.conf) +md5sums=('a664206443d5de53f5f8ee8d5fe6c2d7' + 'b8f68fef3d388489e40dba581b6da18a' + '199508b0d3fe6fa9b726d09170bf51f1' + '8c333a979578bdc0c3134c1dd6bb7353' + '79b0a14d86191fee70a4639da8bd7785' + '67cb83a9e5a4dd016c1a1da2863ca36d' + 'b55d15e2c4be396aad709aeca91033d3' + '73cc1a2665b0dd62427733d62ead8b9a' + '75a25d83417e683957321f97a00f8465') + +build() { + cd "$srcdir/$pkgname-${pkgver}-${_pkgsubver}" + + [ -f Makefile ] || ./configure --prefix=/usr --without-kernel-modules + make +} + +package() { + cd "$srcdir/$pkgname-${pkgver}-${_pkgsubver}" + + make install DESTDIR=$pkgdir + install -D -m 755 scripts/common/vmware-xdg-detect-de $pkgdir/usr/bin/vmware-xdg-detect-de + chmod 07755 $pkgdir/usr/bin/vmware-user-suid-wrapper + + cd $pkgdir + patch -p1 -i $srcdir/scripts-network.patch etc/vmware-tools/scripts/vmware/network + patch -p1 -i $srcdir/scripts-network-FS19541.patch etc/vmware-tools/scripts/vmware/network + + install -D -m 755 $srcdir/open-vm-tools.rc.d $pkgdir/etc/rc.d/open-vm-tools + install -D -m 644 $srcdir/open-vm-tools.conf.d $pkgdir/etc/conf.d/open-vm-tools + install -D -m 644 $srcdir/tools.conf $pkgdir/etc/vmware-tools/tools.conf + install -D -m 644 $srcdir/xautostart.conf $pkgdir/etc/vmware-tools/xautostart.conf + install -D -m 644 $srcdir/vmware-guestd $pkgdir/etc/pam.d/vmware-guestd + rm -rf $pkgdir/usr/etc + + ln -fs /usr/sbin/mount.vmhgfs $pkgdir/sbin/mount.vmhgfs + + cd $pkgdir && find -type f -exec sh -c "file {} | grep ELF >/dev/null && echo {} && chrpath -d {}" \; +} diff --git a/community-testing/open-vm-tools/open-vm-tools-X11Bool.patch b/community-testing/open-vm-tools/open-vm-tools-X11Bool.patch new file mode 100644 index 000000000..f12581807 --- /dev/null +++ b/community-testing/open-vm-tools/open-vm-tools-X11Bool.patch @@ -0,0 +1,15 @@ +diff -wbBur open-vm-tools-2010.08.24-292196.org/lib/include/vm_basic_types.h open-vm-tools-2010.08.24-292196/lib/include/vm_basic_types.h +--- open-vm-tools-2010.08.24-292196.org/lib/include/vm_basic_types.h 2010-08-24 19:59:22.000000000 +0000 ++++ open-vm-tools-2010.08.24-292196/lib/include/vm_basic_types.h 2010-08-30 09:38:48.000000000 +0000 +@@ -83,8 +83,11 @@ + + /* STRICT ANSI means the Xserver build and X defines Bool differently. */ + #if !defined(__STRICT_ANSI__) || defined(__FreeBSD__) || defined(__MINGW32__) ++# ifndef _XTYPEDEF_BOOL ++# define _XTYPEDEF_BOOL + typedef char Bool; + #endif ++#endif + + #ifndef FALSE + #define FALSE 0 diff --git a/community-testing/open-vm-tools/open-vm-tools.conf.d b/community-testing/open-vm-tools/open-vm-tools.conf.d new file mode 100644 index 000000000..83f7864e8 --- /dev/null +++ b/community-testing/open-vm-tools/open-vm-tools.conf.d @@ -0,0 +1,6 @@ +# Enable support for Drag'n'Drop +VM_DRAG_AND_DROP="yes" + +# vmware-guestd settings +GUESTD_BIN="/usr/sbin/vmware-guestd" +PIDFILE="/var/run/vmware-guestd.pid" diff --git a/community-testing/open-vm-tools/open-vm-tools.install b/community-testing/open-vm-tools/open-vm-tools.install new file mode 100644 index 000000000..88d9b88e6 --- /dev/null +++ b/community-testing/open-vm-tools/open-vm-tools.install @@ -0,0 +1,10 @@ +post_install() { + [ ! -d "/mnt/hgfs" ] && mkdir /mnt/hgfs + echo ">>>" + echo ">>> You can mount VMware Shared Folders via:" + echo ">>> mount -t vmhgfs .host:/ /mnt/hgfs" + echo ">>>" + echo ">>> or by adding this line to /etc/fstab:" + echo ">>> .host:/ /mnt/hgfs vmhgfs defaults 0 0" + echo ">>>" +} diff --git a/community-testing/open-vm-tools/open-vm-tools.rc.d b/community-testing/open-vm-tools/open-vm-tools.rc.d new file mode 100644 index 000000000..0c9221489 --- /dev/null +++ b/community-testing/open-vm-tools/open-vm-tools.rc.d @@ -0,0 +1,101 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +# source application-specific settings +[ -f /etc/conf.d/open-vm-tools ] && . /etc/conf.d/open-vm-tools + +PID=`pidof -o %PPID /usr/bin/vmtoolsd` +case "$1" in + start) + stat_busy "Starting Open Virtual Machine Tools" + + if [ "$VM_DRAG_AND_DROP" == "yes" ]; then + VMBLOCK=`grep -w vmblock /proc/modules` + [ -z "$VMBLOCK" ] && modprobe vmblock + if [ $? -gt 0 ]; then + stat_fail + exit 1 + fi + + DND_TMPDIR="/tmp/VMwareDnD" + if [ ! -d "$DND_TMPDIR" ]; then + mkdir $DND_TMPDIR + chmod 1777 $DND_TMPDIR + fi + + mount -t vmblock none /proc/fs/vmblock/mountPoint + if [ $? -gt 0 ]; then + stat_fail + exit 1 + fi + fi + + + for m in vmhgfs vmsync; do + VMMOD=`grep -w $m /proc/modules` + [ -z "$VMMOD" ] && \ + { modprobe $m + if [ $? -gt 0 ]; then + stat_fail + exit 1 + fi; } + done + + + [ -z "$PID" ] && /usr/bin/vmtoolsd --background $PIDFILE + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon open-vm-tools + stat_done + fi + ;; + stop) + stat_busy "Stopping Open Virtual Machine Tools" + [ ! -z "$PID" ] && kill $PID &>/dev/null +# if [ $? -gt 0 ]; then +# stat_fail +# exit 1 +# fi + + for m in vmhgfs vmsync vmci; do + VMMOD=`grep -w $m /proc/modules` + [ ! -z "$VMMOD" ] && rmmod $m + if [ $? -gt 0 ]; then + stat_fail + exit 4 + fi + done + + if [ "$VM_DRAG_AND_DROP" == "yes" ]; then + MOUNTPOINT=`grep -w "none /proc/fs/vmblock/mountPoint vmblock" /proc/modules` + [ -z "$MOUNTPOINT" ] && umount /proc/fs/vmblock/mountPoint + if [ $? -gt 0 ]; then + stat_fail + exit 5 + fi + + DND_TMPDIR="/tmp/VMwareDnD" + rm -r $DND_TMPDIR + + VMBLOCK=`grep -w vmblock /proc/modules` + [ ! -z "$VMBLOCK" ] && rmmod vmblock + if [ $? -gt 0 ]; then + stat_fail + exit 6 + fi + fi + + rm_daemon open-vm-tools + stat_done + ;; + restart) + $0 stop + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/community-testing/open-vm-tools/scripts-network-FS19541.patch b/community-testing/open-vm-tools/scripts-network-FS19541.patch new file mode 100644 index 000000000..5fcb33ba8 --- /dev/null +++ b/community-testing/open-vm-tools/scripts-network-FS19541.patch @@ -0,0 +1,38 @@ +--- network.orig 2011-11-09 18:42:28.000000000 +0400 ++++ network 2011-11-09 18:46:22.000000000 +0400 +@@ -76,7 +76,7 @@ + else + echo `date` "[rescue_nic] activating $nic ..." + +- ifup $nic ++ ifconfig $nic up + exitCode=`expr $exitCode \| $?` + fi + done < $activeList +@@ -105,7 +105,7 @@ + # `which' may be a bit noisy, so we'll shush it. + dbusSend=`which dbus-send 2>/dev/null` + rc=$? +- if [ $rc = 0 ]; then ++ if [ $rc = 0 ] && [ `pidof dbus-daemon` ]; then + # NetworkManager 0.8.0 + $dbusSend --system --print-reply \ + --dest=org.freedesktop.NetworkManager \ +@@ -154,7 +154,7 @@ + # `which' may be a bit noisy, so we'll shush it. + dbusSend=`which dbus-send 2>/dev/null` + rc=$? +- if [ $rc = 0 ]; then ++ if [ $rc = 0 ] && [ `pidof dbus-daemon` ]; then + # NetworkManager 0.8.0 + $dbusSend --system --print-reply \ + --dest=org.freedesktop.NetworkManager \ +@@ -203,7 +203,7 @@ + + # XXX Are these really necessary? If so, we should have seen customer + # complaints by now. +- which ifup >/dev/null 2>&1 || Panic "ifup not in search path." ++# which ifup >/dev/null 2>&1 || Panic "ifup not in search path." + which ifconfig >/dev/null 2>&1 || Panic "ifconfig not in search path." + + case "$1" in diff --git a/community-testing/open-vm-tools/scripts-network.patch b/community-testing/open-vm-tools/scripts-network.patch new file mode 100644 index 000000000..44c7e6dcb --- /dev/null +++ b/community-testing/open-vm-tools/scripts-network.patch @@ -0,0 +1,73 @@ +--- network.org 2012-03-17 22:20:11.000000000 +0400 ++++ network 2012-03-17 22:18:47.000000000 +0400 +@@ -34,51 +34,6 @@ + + + # +-# find_networking_script -- +-# +-# Searches common Linux distro init/rc paths to find a singular network +-# services script. +-# +-# Result: +-# Returns a valid networking script path on success or "error" on failure. +-# +-# Side effects: +-# None. +-# +- +-find_networking_script() { +- local script="error" +- for dir in "/etc/init.d" "/sbin/init.d" "/etc" "/etc/rc.d" ; do +- if [ -d "$dir/rc0.d" ] && +- [ -d "$dir/rc1.d" ] && +- [ -d "$dir/rc2.d" ] && +- [ -d "$dir/rc3.d" ] && +- [ -d "$dir/rc4.d" ] && +- [ -d "$dir/rc5.d" ] && +- [ -d "$dir/rc6.d" ]; then +- +- # Now find the appropriate networking script. +- if [ -d "$dir/init.d" ]; then +- if [ -x "$dir/init.d/network" ]; then +- script="$dir/init.d/network" +- elif [ -x "$dir/init.d/networking" ]; then +- script="$dir/init.d/networking" +- fi +- else +- if [ -x "$dir/network" ]; then +- script="$dir/network" +- elif [ -x "$dir/networking" ]; then +- script="$dir/networking" +- fi +- fi +- fi +- done +- +- echo "$script" +-} +- +- +-# + # run_network_script -- + # + # Finds out how to run the system's script used to control networking, and +@@ -87,17 +42,7 @@ + # + run_network_script() + { +- script=`find_networking_script` +- [ "$script" != "error" ] || Panic "Cannot find system networking script." +- +- # Using SysV "service" if it exists, otherwise fall back to run the script directly +- service=`which service 2>/dev/null` +- if [ $? = 0 -a -n "$service" ]; then +- serviceName=`basename "$script"` +- "$service" "$serviceName" "$1" +- else +- "$script" "$1" +- fi ++ /etc/rc.d/network "$1" + } + + diff --git a/community-testing/open-vm-tools/tools.conf b/community-testing/open-vm-tools/tools.conf new file mode 100644 index 000000000..0bb2681b1 --- /dev/null +++ b/community-testing/open-vm-tools/tools.conf @@ -0,0 +1 @@ +bindir = "/usr/bin" diff --git a/community-testing/open-vm-tools/vmware-guestd b/community-testing/open-vm-tools/vmware-guestd new file mode 100644 index 000000000..ac80c0385 --- /dev/null +++ b/community-testing/open-vm-tools/vmware-guestd @@ -0,0 +1,6 @@ +#%PAM-1.0 + +auth sufficient /lib/security/pam_unix2.so shadow nullok +auth required /lib/security/pam_unix_auth.so shadow nullok +account sufficient /lib/security/pam_unix2.so +account required /lib/security/pam_unix_acct.so diff --git a/community-testing/open-vm-tools/xautostart.conf b/community-testing/open-vm-tools/xautostart.conf new file mode 100644 index 000000000..829f379ce --- /dev/null +++ b/community-testing/open-vm-tools/xautostart.conf @@ -0,0 +1,6 @@ +gnome-panel +ksmserver +startkde +kwrapper +panel +xfce4-panel diff --git a/community-testing/openttd/PKGBUILD b/community-testing/openttd/PKGBUILD new file mode 100644 index 000000000..c546a3db3 --- /dev/null +++ b/community-testing/openttd/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 69106 2012-04-09 13:50:09Z tdziedzic $ +# Maintainer: Vesa Kaihlavirta + +pkgname=openttd +pkgver=1.2.0rc4 +_realpkgver=1.2.0-RC4 +pkgrel=1 +pkgdesc='An engine for running Transport Tycoon Deluxe.' +arch=('i686' 'x86_64') +url='http://www.openttd.org' +license=('GPL') +depends=('libpng' 'sdl' 'icu' 'fontconfig' 'lzo2' 'hicolor-icon-theme' 'desktop-file-utils' 'xz') +install=openttd.install +optdepends=('openttd-opengfx: free graphics' + 'openttd-opensfx: free soundset') +source=("http://binaries.openttd.org/releases/${_realpkgver}/${pkgname}-${_realpkgver}-source.tar.xz") +md5sums=('b8692deb951dc3a88c321a9e4b254dd2') + +build() { + cd ${pkgname}-${_realpkgver} + + ./configure \ + --prefix-dir=/usr \ + --binary-name=${pkgname} \ + --binary-dir=bin \ + --data-dir=share/${pkgname} \ + --install-dir=${pkgdir} \ + --doc-dir=share/doc/${pkgname} \ + --menu-name="OpenTTD" \ + --personal-dir=.${pkgname} + + make +} + +package() { + cd ${pkgname}-${_realpkgver} + + make install +} diff --git a/community-testing/openttd/openttd.install b/community-testing/openttd/openttd.install new file mode 100644 index 000000000..85b22a1c5 --- /dev/null +++ b/community-testing/openttd/openttd.install @@ -0,0 +1,17 @@ +post_install() { + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor > /dev/null 2>&1 + update-desktop-database > /dev/null 2>&1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + update-desktop-database > /dev/null 2>&1 +} + +post_remove() { + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor > /dev/null 2>&1 + update-desktop-database > /dev/null 2>&1 +} diff --git a/community-testing/parrot/PKGBUILD b/community-testing/parrot/PKGBUILD new file mode 100644 index 000000000..640e7a740 --- /dev/null +++ b/community-testing/parrot/PKGBUILD @@ -0,0 +1,49 @@ +# $Id: PKGBUILD 69108 2012-04-09 13:50:17Z tdziedzic $ +# Maintainer: Sergej Pupykin +# Contributor: mpie + +pkgname=parrot +pkgver=4.2.0 +#_rel=stable +_rel=devel +pkgrel=1 +pkgdesc="Standalone VM that can execute bytecode compiled dynamic languages" +arch=('x86_64' 'i686') +url="http://www.parrotcode.org/" +license=('GPL') +depends=('icu' 'openssl' 'libffi') +makedepends=('perl-json') +optdepends=('freeglut') +options=(!makeflags) +source=("ftp://ftp.parrot.org/pub/parrot/releases/$_rel/$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('69ee93d9f81babcff67b747cc614358958a32f274e407b65771ca5a056d4c3d4') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + sed -i 's#auto::sha1##' lib/Parrot/Configure/Step/List.pm + sed -i 's#auto::git_describe##' lib/Parrot/Configure/Step/List.pm + + perl Configure.pl --prefix=/usr \ + --parrot_is_shared \ + --disable-rpath + + find -type f -name Makefile | while read F; do + grep "$srcdir" $F && sed -i \ + "s#-Wl,-rpath=$srcdir/$pkgname-$pkgver/blib/lib##" $F + grep "$srcdir" $F && sed -i \ + "s#-rpath=$srcdir/$pkgname-$pkgver/blib/lib##" $F + done + + export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:$(pwd)/blib/lib" + make all parrot_utils docs html +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install-dev + + sed -i "s#$srcdir#/usr/src#" \ + $pkgdir/usr/lib/parrot/$pkgver/tools/lib/Parrot/Config/Generated.pm +} diff --git a/community-testing/pion-net/PKGBUILD b/community-testing/pion-net/PKGBUILD new file mode 100644 index 000000000..970c36de2 --- /dev/null +++ b/community-testing/pion-net/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 69110 2012-04-09 13:50:21Z tdziedzic $ +# Maintainer: Lukas Jirkovsky +# Contributor: David Watzke + +pkgname=pion-net +pkgver=4.0.11 +pkgrel=1 +pkgdesc="A C++ development library for implementing lightweight HTTP interfaces" +url="http://www.pion.org/projects/pion-network-library" +arch=('i686' 'x86_64') +license=('custom:Boost') +depends=('boost-libs' 'openssl' 'log4cpp') +makedepends=('boost') +source=("http://www.pion.org/files/$pkgname-$pkgver.tar.bz2") +md5sums=('e5cf42a02681c5d73e7be6784d99fece') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # override configure bug (forces debug even when nobody asked for it) + sed -i "s/ -ggdb//g" configure + + ./configure --prefix=/usr --disable-doxygen-doc + + # override Makefile bug + sed -i "/docs:/ s/doxygen-doc//" Makefile + + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + make -k check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + + # install license + install -D -m0755 COPYING "$pkgdir/usr/share/licenses/$pkgname/Boost" +} diff --git a/community-testing/shotwell/PKGBUILD b/community-testing/shotwell/PKGBUILD new file mode 100644 index 000000000..a10eff80d --- /dev/null +++ b/community-testing/shotwell/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 69088 2012-04-09 09:04:50Z jelle $ +# Maintainer: Sergej Pupykin +# Maintainer : Ionut Biru +# Contributor: Joeny Ang + +pkgname=shotwell +pkgver=0.12.1 +pkgrel=1 +pkgdesc="A digital photo organizer designed for the GNOME desktop environment" +arch=('i686' 'x86_64') +url="http://yorba.org/shotwell/" +license=('LGPL2.1') +depends=('glib2' 'gconf' 'libgee' 'libgphoto2' 'libunique3' 'libwebkit3' 'libgexiv2' 'libraw' + 'librsvg' 'json-glib' 'desktop-file-utils' 'dconf' 'sqlite' 'gtk3' 'rest') +makedepends=('intltool' 'vala') +install=shotwell.install +source=("http://yorba.org/download/shotwell/0.12/shotwell-${pkgver}.tar.bz2") +md5sums=('af2fa1f6d9ee498c0e23c23d8bb9fc7b') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr \ + --with-gconf-schema-file-dir=/usr/share/gconf/schemas \ + --disable-schemas-install \ + --disable-desktop-update \ + --disable-icon-update + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + rm -f $pkgdir/usr/share/glib-2.0/schemas/gschemas.compiled +} diff --git a/community-testing/shotwell/shotwell.install b/community-testing/shotwell/shotwell.install new file mode 100644 index 000000000..bab8ecd29 --- /dev/null +++ b/community-testing/shotwell/shotwell.install @@ -0,0 +1,17 @@ +pkgname=shotwell + +post_install() { + gtk-update-icon-cache -fq -t usr/share/icons/hicolor + update-desktop-database -q + glib-compile-schemas usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + update-desktop-database -q + gtk-update-icon-cache -fq -t usr/share/icons/hicolor + glib-compile-schemas usr/share/glib-2.0/schemas +} diff --git a/community-testing/sword/PKGBUILD b/community-testing/sword/PKGBUILD index 0efbbe9c1..eaf1742cc 100644 --- a/community-testing/sword/PKGBUILD +++ b/community-testing/sword/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 68457 2012-03-25 01:46:00Z arodseth $ +# $Id: PKGBUILD 69112 2012-04-09 13:50:28Z tdziedzic $ # Maintainer: Alexander Rødseth # Contributor: Andrea Scarpino # Contributor: Stefan Husmann diff --git a/community-testing/wings3d/PKGBUILD b/community-testing/wings3d/PKGBUILD new file mode 100644 index 000000000..ead5b9e68 --- /dev/null +++ b/community-testing/wings3d/PKGBUILD @@ -0,0 +1,55 @@ +# $Id: PKGBUILD 61589 2012-01-03 23:37:49Z arodseth $ +# Maintainer: Alexander Rødseth +# Contributor: kappa + +pkgname=wings3d +_pkgname=wings +pkgver=1.4.1 +pkgrel=6 +pkgdesc="3D modeling program" +arch=('x86_64' 'i686') +url="http://www.wings3d.com/" +license=('GPL') +depends=('esdl' 'bash' 'desktop-file-utils') +makedepends=('setconf' 'gendesk') +optdepends=('povray: rendering support via POV-Ray') +# 'kerkythea: rendering support via Kerkythea' +replaces=('wings' 'wings-devel') +install=$pkgname.install +source=("http://downloads.sourceforge.net/wings/$_pkgname-$pkgver.tar.bz2" + "$pkgname" + "$pkgname.png") +sha256sums=('51aea431e18935e5634ea673caa945f586db2203855554d8dcab5e9545f2789a' + '46513cd05f8b6e778120af4a87b239c5250799c17b591592893d98cbf082359e' + 'ad49fded5e503131ee0e2e03a6db0974aa60f50e1ec6cd697fcacef126c40f52') +_genericname=('3D Modeler') + +build() { + cd "$srcdir" + gendesk + setconf "$pkgname.desktop" Categories "Graphics;3DGraphics;" + + cd "$_pkgname-$pkgver" + export ESDL_PATH=$(echo /usr/lib/erlang/lib/esdl-*) + make + make lang +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + + mkdir -p "$pkgdir/usr/lib/$pkgname" + for subdir in ebin fonts patches plugins shaders textures; do + cp -r "$srcdir/$_pkgname-$pkgver/$subdir/" "$pkgdir/usr/lib/$pkgname" + done + + install -D -m 755 "$srcdir/wings3d" "$pkgdir/usr/bin/wings3d" + install -D -m 644 "$srcdir/wings3d.desktop" \ + "$pkgdir/usr/share/applications/wings3d.desktop" + install -D -m 644 "$srcdir/wings3d.png" \ + "$pkgdir/usr/share/pixmaps/wings3d.png" + install -D -m 644 license.terms \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: diff --git a/community-testing/wings3d/wings3d b/community-testing/wings3d/wings3d new file mode 100644 index 000000000..c0fd3b2fb --- /dev/null +++ b/community-testing/wings3d/wings3d @@ -0,0 +1,2 @@ +#!/bin/sh +erl -noinput -smp disable -pa /usr/lib/erlang/lib/esdl-*/ebin /usr/lib/wings3d/ebin -run wings_start start_halt ${1+"$@"} diff --git a/community-testing/wings3d/wings3d.install b/community-testing/wings3d/wings3d.install new file mode 100644 index 000000000..98f3ea190 --- /dev/null +++ b/community-testing/wings3d/wings3d.install @@ -0,0 +1,14 @@ +post_upgrade() { + #gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor + update-desktop-database -q +} + +post_install() { + post_upgrade +} + +post_remove() { + post_upgrade +} + +# vim:set ts=2 sw=2 et: diff --git a/community-testing/wings3d/wings3d.png b/community-testing/wings3d/wings3d.png new file mode 100644 index 000000000..45a1140bf Binary files /dev/null and b/community-testing/wings3d/wings3d.png differ diff --git a/community-testing/yaws/PKGBUILD b/community-testing/yaws/PKGBUILD new file mode 100644 index 000000000..3652a9c06 --- /dev/null +++ b/community-testing/yaws/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 69122 2012-04-09 13:51:14Z tdziedzic $ +# Maintainer: Vesa Kaihlavirta +# Contributor: Alexander Rødseth + +pkgname=yaws +pkgver=1.92 +pkgrel=2 +pkgdesc='Yet Another Web Server -- The pure Erlang HTTP server/framework' +arch=('x86_64' 'i686') +url='http://yaws.hyber.org/' +license=('BSD') +depends=('pam' 'erlang') +backup=('etc/yaws/yaws.conf') +options=('!emptydirs') +install=$pkgname.install +source=("http://yaws.hyber.org/download/$pkgname-$pkgver.tar.gz") +sha256sums=('cde83ca55d8e1b10a89094e1cfdc3e78d91ba9b1036cb5ea4e1994f5922c2357') + +build() { + cd "$pkgname-$pkgver" + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var + for file in www/cgi.yaws www/cgi-bin/foo.py; do + # python2 fix + sed -i '0,/on/s//on2/' "$file" + done + make +} + +package() { + cd "$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install + install -d "$pkgdir/usr/lib/erlang/lib" + ln -s /usr/lib/yaws "$pkgdir/usr/lib/erlang/lib/$pkgname-$pkgver" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: diff --git a/community-testing/yaws/yaws.install b/community-testing/yaws/yaws.install new file mode 100644 index 000000000..2b28403e1 --- /dev/null +++ b/community-testing/yaws/yaws.install @@ -0,0 +1,13 @@ +post_upgrade() { + mkdir -p /usr/var/log/yaws +} + +post_install() { + post_upgrade +} + +post_remove() { + rmdir --ignore-fail-on-non-empty /usr/var/log/yaws +} + +# vim:set ts=2 sw=2 et: diff --git a/community-testing/yaws/yaws.profile b/community-testing/yaws/yaws.profile new file mode 100644 index 000000000..57303c1f8 --- /dev/null +++ b/community-testing/yaws/yaws.profile @@ -0,0 +1 @@ +export PATH=$PATH:/opt/yaws/bin diff --git a/community-testing/yaz/PKGBUILD b/community-testing/yaz/PKGBUILD new file mode 100644 index 000000000..30b4a88aa --- /dev/null +++ b/community-testing/yaz/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 69114 2012-04-09 13:50:32Z tdziedzic $ +# Maintainer: Ray Rashif +# Contributor: Andrea Scarpino +# Contributor: Stefan Husmann +# Contributor: William Rea +# Contributor: Robert Emil Berge + +pkgname=yaz +pkgver=4.2.29 +pkgrel=1 +pkgdesc="A toolkit supporting the development of Z39.50/SRW/SRU clients and servers" +arch=('i686' 'x86_64') +license=('BSD') +url="http://www.indexdata.dk/yaz" +depends=('openssl' 'libxslt' 'icu') +options=('!libtool') +source=("http://ftp.indexdata.dk/pub/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('584bcf12401f182a42091616c6cf7e0a') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --enable-shared=yaz \ + --with-openssl=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install + + install -Dm644 LICENSE \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf