diff options
44 files changed, 866 insertions, 180 deletions
diff --git a/community-testing/libvirt/PKGBUILD b/community-testing/libvirt/PKGBUILD new file mode 100644 index 000000000..d2ac57345 --- /dev/null +++ b/community-testing/libvirt/PKGBUILD @@ -0,0 +1,77 @@ +# $Id: PKGBUILD 70775 2012-05-16 15:03:54Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Jonathan Wiersma <archaur at jonw dot org> + +pkgname=libvirt +pkgver=0.9.12 +pkgrel=2 +pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)" +arch=('i686' 'x86_64') +url="http://libvirt.org/" +license=('LGPL') +depends=('e2fsprogs' 'gnutls' 'iptables' 'libxml2' 'parted' 'polkit' 'python2' + 'avahi' 'yajl' 'libpciaccess' 'udev' 'dbus-core' 'libxau' 'libxdmcp' 'libpcap' + 'curl' 'libsasl' 'libgcrypt' 'libgpg-error' 'openssl' 'libxcb' 'gcc-libs' + 'iproute2' 'netcf' 'libnl1') +makedepends=('pkgconfig' 'lvm2') +optdepends=('bridge-utils: for briged networking (default)' + 'dnsmasq: for NAT/DHCP for guests' + 'kvm' + 'openbsd-netcat: for remote management over ssh' + 'qemu' + 'radvd' + 'dmidecode') +options=('emptydirs' '!libtool') +backup=('etc/conf.d/libvirtd' + 'etc/conf.d/libvirtd-guests' + 'etc/libvirt/libvirtd.conf' + 'etc/libvirt/libvirt.conf' + 'etc/libvirt/qemu.conf' + 'etc/sasl2/libvirt.conf') +install="libvirt.install" +source=("http://libvirt.org/sources/$pkgname-$pkgver.tar.gz" + libvirtd.rc.d + libvirtd.conf.d + libvirtd-guests.rc.d + libvirtd-guests.conf.d + openbsd-netcat-default.patch) +md5sums=('5e842bc55733ceba60c64767580ff3e4' + 'c43244c40a0437038c82089618e7beaa' + '3ed0e24f5b5e25bf553f5427d64915e6' + '8297b1be794a24cc77f66af9380ace59' + 'bc2971dacdbac967fc3474e50affc345' + 'b0be50eb9dfe4d133decf23b60880f7d') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # python2 fix + export PYTHON=`which python2` + for file in $(find . -name '*.py' -print); do + sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' $file + sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file + done + + [ $NOEXTRACT -eq 1 ] || patch -Np1 -i "$srcdir"/openbsd-netcat-default.patch + + export LDFLAGS=-lX11 + export RADVD=/usr/sbin/radvd + [ -f Makefile ] || ./configure --prefix=/usr --libexec=/usr/lib/"$pkgname" \ + --with-storage-lvm --without-xen --with-udev --without-hal --disable-static + find -name Makefile -exec sed -i 's#-L /usr#-L/usr#' {} \; + make -j1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install + + install -D -m755 "$srcdir"/libvirtd.rc.d "$pkgdir"/etc/rc.d/libvirtd + install -D -m644 "$srcdir"/libvirtd.conf.d "$pkgdir"/etc/conf.d/libvirtd + + install -D -m755 "$srcdir"/libvirtd-guests.rc.d "$pkgdir"/etc/rc.d/libvirtd-guests + install -D -m644 "$srcdir"/libvirtd-guests.conf.d "$pkgdir"/etc/conf.d/libvirtd-guests + + rm -rf $pkgdir/var/run +} diff --git a/community-testing/libvirt/libvirt.install b/community-testing/libvirt/libvirt.install new file mode 100644 index 000000000..3881386d2 --- /dev/null +++ b/community-testing/libvirt/libvirt.install @@ -0,0 +1,38 @@ +_libvirt_setup() { + rm -f /usr/lib/python?.?/site-packages/libvirt.pyc + echo ">>> To use libvirt as a non-root user:" + echo ">>> Use polkit to grant access." + echo ">>> ...or change the access model in /etc/libvirt/libvirtd.conf." + echo ">>> (see unixperms.patch in PKGBUILD for help)" + echo "" +} + +post_install() { + _libvirt_setup || return 1 + echo ">>> Be sure to see optdepends as you may find some of them helpfull." + echo ">>> Especially: bridge-utils, dnsmasq, and hal." + echo "" + echo ">>> To start libvirtd run: '/etc/rc.d/libvirtd start' as root." + echo ">>> Add 'libvirtd' to daemons in /etc/rc.conf if you want it to load upon" + echo ">>> booting." + echo "" + /bin/true +} + +post_upgrade() { + _libvirt_setup || return 1 + echo ">>> To finish the upgrade, restart libvirtd by running the command:" + echo ">>> '/etc/rc.d/libvirtd restart' as root or rebooting." + echo ">>> You may also need to run 'rm -rf ~/.libvirt'" + echo "" + /bin/true +} + +post_remove() { + rm -f /usr/lib/python[0-9].[0-9]/site-packages/libvirt.pyc + echo ">>> You may wish to delete the group 'libvirt' if it still exists." + echo ">>> It can be removed by running 'groupdel libvirt' as root." + echo "" + depmod -a + /bin/true +} diff --git a/community-testing/libvirt/libvirtd-guests.conf.d b/community-testing/libvirt/libvirtd-guests.conf.d new file mode 100644 index 000000000..02a933715 --- /dev/null +++ b/community-testing/libvirt/libvirtd-guests.conf.d @@ -0,0 +1,11 @@ +LIBVIRTD_STOP_ACTION=suspend + +#LIBVIRTD_URI="-c qemu+ssh://user@host/system" +LIBVIRTD_URI="" + +#LIBVIRTD_BYPASS_CACHE="--bypass-cache" +LIBVIRTD_BYPASS_CACHE="" + +LIBVIRTD_START_DELAY=0 + +LIBVIRTD_SHUTDOWN_TIMEOUT=3 diff --git a/community-testing/libvirt/libvirtd-guests.rc.d b/community-testing/libvirt/libvirtd-guests.rc.d new file mode 100644 index 000000000..670b5431a --- /dev/null +++ b/community-testing/libvirt/libvirtd-guests.rc.d @@ -0,0 +1,137 @@ +#!/bin/bash + +. /etc/conf.d/libvirtd-guests +. /etc/rc.conf +. /etc/rc.d/functions + +LIBVIRTD_LISTFILE="/var/state/libvirtd/vm-list" + +# get guest state by name +libvirt_get_guest_state() +{ + virsh $LIBVIRTD_URI dominfo "$1" | grep -E '^State:' | awk '{print $2}' +} + +# list IDs of running guests +libvirt_list() +{ + + list=$(virsh $LIBVIRTD_URI list) + + if [ $? -ne 0 ]; then + RETVAL=1 + return 1 + fi + + uuids= + for id in $(echo "$list" | awk 'NR > 2 {print $1}'); do + uuid=$(virsh $LIBVIRTD_UTI dominfo $id | awk '/^UUID:/{print $2}') + if [ -z "$uuid" ]; then + RETVAL=1 + return 1 + fi + uuids="$uuids $uuid" + done + + echo $uuids + +} + +libvirt_domname() +{ + uuid=$1 + name=$(virsh $LIBVIRTD_URI dominfo $uuid | awk 'NR == 2 {$1=""; print}') + + echo $name +} + +# suspend guest by name +libvirt_suspend() +{ + virsh $LIBVIRTD_URI $LIBVIRTD_BYPASS_CACHE managedsave "$1" >/dev/null + timeout=$LIBVIRTD_SHUTDOWN_TIMEOUT + while [ "$timeout" -gt 0 ]; do + sleep 1 + timeout=$((timeout - 1)) + state=`libvirt_get_guest_state "$1"` + [ "x$state" == "xshut" ] && return 0 + done + return 1 +} + +# shutdown guest by name +libvirt_shutdown() +{ + virsh $LIBVIRTD_URI shutdown "$1" >/dev/null + timeout=$LIBVIRTD_SHUTDOWN_TIMEOUT + while [ "$timeout" -gt 0 ]; do + sleep 1 + timeout=$((timeout - 1)) + state=`libvirt_get_guest_state "$1"` + [ "x$state" == "xshut" ] && return 0 + done + return 1 +} + +# start guest by name +libvirt_start() +{ + virsh $LIBVIRTD_URI $LIBVIRTD_BYPASS_CACHE start "$1" >/dev/null +} + +# stop all guests +libvirt_stop_all() +{ + mkdir -p `dirname $LIBVIRTD_LISTFILE` + echo -n >$LIBVIRTD_LISTFILE + + for i in `libvirt_list`; do + name=`libvirt_domname $i` + if [ "x$LIBVIRTD_STOP_ACTION" == "xsuspend" ]; then + stat_busy "Suspending libvirtd/$name guest" + libvirt_suspend "$i" + else + stat_busy "Shutting libvirtd/$i guest down" + libvirt_shutdown "$i" + fi + [ $? -eq 0 ] && stat_done || stat_fail + echo $i >>$LIBVIRTD_LISTFILE + done +} + +# start all guests +libvirt_start_all() +{ + if [ -f $LIBVIRTD_LISTFILE ]; then + for i in `cat $LIBVIRTD_LISTFILE`; do + name='libvirt_domname $i' + stat_busy "Starting/resuming libvirtd/$name guest" + libvirt_start "$i" + [ $? -eq 0 ] && { sleep $LIBVIRTD_START_DELAY; stat_done; } || stat_fail + done + fi + rm -f $LIBVIRTD_LISTFILE +} + +# main +LC_ALL=C +LANG=C +case "$1" in + start) + libvirt_start_all + add_daemon libvirtd-guests + ;; + stop) + libvirt_stop_all + rm_daemon libvirtd-guests + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo $"Usage: $0 {start|stop|restart}" + ;; +esac +exit 0 diff --git a/community-testing/libvirt/libvirtd.conf.d b/community-testing/libvirt/libvirtd.conf.d new file mode 100644 index 000000000..d4d25b47a --- /dev/null +++ b/community-testing/libvirt/libvirtd.conf.d @@ -0,0 +1,3 @@ +LIBVIRTD_CONFIG="/etc/libvirt/libvirtd.conf" +LIBVIRTD_ARGS="-p /var/run/libvirtd.pid" +KRB5_KTNAME="/etc/libvirt/krb5.tab" diff --git a/community-testing/libvirt/libvirtd.rc.d b/community-testing/libvirt/libvirtd.rc.d new file mode 100644 index 000000000..193bffa9c --- /dev/null +++ b/community-testing/libvirt/libvirtd.rc.d @@ -0,0 +1,66 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/conf.d/libvirtd +. /etc/rc.d/functions + +LIBVIRTD_CONFIG_ARGS= +if [ -n "$LIBVIRTD_CONFIG" ] +then + LIBVIRTD_CONFIG_ARGS="--config $LIBVIRTD_CONFIG" +fi + +PID=`pidof -o %PPID /usr/sbin/libvirtd` +case "$1" in + start) + stat_busy "Starting libvirtd" + export RADVD=/usr/sbin/radvd + for i in /var/run/libvirt/qemu /var/run/libvirt/lxc /var/run/libvirt/uml /var/run/libvirt/network; do + [ -d $i ] || mkdir -p $i + done + [ -z "$PID" ] && ( + mkdir -p /var/{cache,run}/libvirt + rm -rf /var/cache/libvirt/* + KRB5_KTNAME=$KRB5_KTNAME \ + /usr/sbin/libvirtd --daemon $LIBVIRTD_CONFIG_ARGS $LIBVIRTD_ARGS + ) + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon libvirtd + stat_done + fi + ;; + stop) + stat_busy "Stopping libvirtd" + [ ! -z "$PID" ] && ( + kill $PID &> /dev/null + rm -rf /var/cache/libvirt/* + rm -f /var/run/libvirtd.pid + ) + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon libvirtd + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + reload) + stat_busy "Reloading libvirtd configuration" + [ ! -z "$PID" ] && kill -HUP $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + stat_done + fi + ;; + *) + echo $"Usage: $0 {start|stop|restart|reload}" + ;; +esac +exit 0 diff --git a/community-testing/libvirt/openbsd-netcat-default.patch b/community-testing/libvirt/openbsd-netcat-default.patch new file mode 100644 index 000000000..a01b4f14e --- /dev/null +++ b/community-testing/libvirt/openbsd-netcat-default.patch @@ -0,0 +1,36 @@ +diff -wbBur libvirt-0.9.7/src/qemu/qemu_migration.c libvirt-0.9.7.my/src/qemu/qemu_migration.c +--- libvirt-0.9.7/src/qemu/qemu_migration.c 2011-10-31 07:46:04.000000000 +0400 ++++ libvirt-0.9.7.my/src/qemu/qemu_migration.c 2011-11-08 15:46:10.000000000 +0400 +@@ -1589,7 +1589,7 @@ + spec->dest.unix_socket.file); + } else { + const char *args[] = { +- "nc", "-U", spec->dest.unix_socket.file, NULL ++ "nc.openbsd", "-U", spec->dest.unix_socket.file, NULL + }; + ret = qemuMonitorMigrateToCommand(priv->mon, migrate_flags, args); + } +diff -wbBur libvirt-0.9.7/src/remote/remote_driver.c libvirt-0.9.7.my/src/remote/remote_driver.c +--- libvirt-0.9.7/src/remote/remote_driver.c 2011-11-08 07:53:30.000000000 +0400 ++++ libvirt-0.9.7.my/src/remote/remote_driver.c 2011-11-08 15:46:10.000000000 +0400 +@@ -614,7 +614,7 @@ + username, + !tty, + !verify, +- netcat ? netcat : "nc", ++ netcat ? netcat : "nc.openbsd", + keyfile, + sockname))) + goto failed; +diff -wbBur libvirt-0.9.7/src/rpc/virnetsocket.c libvirt-0.9.7.my/src/rpc/virnetsocket.c +--- libvirt-0.9.7/src/rpc/virnetsocket.c 2011-11-08 07:53:30.000000000 +0400 ++++ libvirt-0.9.7.my/src/rpc/virnetsocket.c 2011-11-08 15:46:31.000000000 +0400 +@@ -642,7 +642,7 @@ + virCommandAddArgList(cmd, "-o", "StrictHostKeyChecking=no", NULL); + + if (!netcat) +- netcat = "nc"; ++ netcat = "nc.openbsd"; + + virCommandAddArgList(cmd, nodename, "sh", "-c", NULL); + diff --git a/community/0ad/PKGBUILD b/community/0ad/PKGBUILD index b36205e09..77a3bcae9 100644 --- a/community/0ad/PKGBUILD +++ b/community/0ad/PKGBUILD @@ -2,8 +2,8 @@ # Contributor: t3ddy <t3ddy1988 "at" gmail {dot} com> # Contributor: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com> pkgname=0ad -pkgver=a9 -_pkgver=r11339-alpha +pkgver=a10 +_pkgver=r11863-alpha pkgrel=1 pkgdesc="Cross-platform, 3D and historically-based real-time strategy game" arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ license=('GPL2' 'CCPL') depends=('binutils' 'boost-libs' 'curl' 'enet>=1.3' 'gamin' 'libogg' 'libpng' 'libvorbis' 'libxml2' 'openal' 'openexr' 'python2' 'sdl' 'wxgtk' 'zip' 'zlib' 'libgl' '0ad-data') makedepends=('boost' 'cmake' 'mesa') source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz") -md5sums=('6db1e62215654269516f5eb1eec371f1') +md5sums=('f42a2e18515cbcd48b99f0ea3796b3a4') build() { cd "$srcdir/$pkgname-$_pkgver/build/workspaces" diff --git a/community/bcg729/PKGBUILD b/community/bcg729/PKGBUILD new file mode 100644 index 000000000..23cb66cf3 --- /dev/null +++ b/community/bcg729/PKGBUILD @@ -0,0 +1,25 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=bcg729 +pkgver=1.0.0 +pkgrel=2 +pkgdesc="g729 codec" +arch=('i686' 'x86_64') +url="http://www.linphone.org/eng/documentation/dev/bcg729.html" +license=('GPL') +depends=('mediastreamer') +options=('!libtool') +source=(http://download-mirror.savannah.gnu.org/releases/linphone/plugins/sources/bcg729-$pkgver.tar.gz) +md5sums=('45e127a9a309aff94d3262d97b5aeab0') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} diff --git a/community/gnome-settings-daemon-updates/PKGBUILD b/community/gnome-settings-daemon-updates/PKGBUILD index 67da86e79..02308740b 100644 --- a/community/gnome-settings-daemon-updates/PKGBUILD +++ b/community/gnome-settings-daemon-updates/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 69964 2012-04-27 11:53:11Z jconder $ +# $Id: PKGBUILD 70738 2012-05-16 07:55:23Z jconder $ # Maintainer: Jonathan Conder <jonno.conder@gmail.com> _pkgname=gnome-settings-daemon pkgname=$_pkgname-updates -pkgver=3.4.1 +pkgver=3.4.2 pkgrel=1 pkgdesc="Updates plugin for the GNOME Settings daemon" arch=('i686' 'x86_64') @@ -15,19 +15,9 @@ install=$_pkgname.install url="http://www.gnome.org" source=("http://ftp.gnome.org/pub/gnome/sources/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.xz" 'systemd-fallback.patch' - 'evironment.patch::http://git.gnome.org/browse/gnome-settings-daemon/patch/?id=9d7ea1d0b8b90b55f916751858a210a2e02a06b6' - 'arguments.patch::http://git.gnome.org/browse/gnome-settings-daemon/patch/?id=00681573ad6ebeb127ec72ac61d30d69be6459f8' - 'mem-leak.patch::http://git.gnome.org/browse/gnome-settings-daemon/patch/?id=053f48b3b1b9a3b2ab0714d470da4354735d0c4b' - 'glist-leak.patch::http://git.gnome.org/browse/gnome-settings-daemon/patch/?id=214a832820f6448f07d438f6686267eaf8301dd1' - 'mouse-mem-leak.patch::http://git.gnome.org/browse/gnome-settings-daemon/patch/?id=09c215b42312ca5bb63b215c2f95231613b3103d' 'arch.patch') -sha256sums=('d5d4a270ec5692cdc56a58cfb57bc7f8fa93374566912a65e78c1c3db7faf4ed' +sha256sums=('00499118c80474981f3389ef518e2d001f1b1a3b1fb78e54859d59f3bee38ff4' '82b721d0e274af15ed2770052d550d3162d2d37e5e9ee5e6fcebac1ed6cb8199' - '1ba33f6eadac4c54f3f08f4bce075d2bef8124f857f5af22eaee010c8d38bc3b' - '884a959b334f864f75dcb4eec8c137785f587c7c2ae57906f8b4e60e04c29246' - '3a3f8b2964406b9b3c85c05f25e677e8c9eaa221779b95826ffbc0474740decc' - 'af3bda801befdbd3d318723ae6de3aaf7df1e16bccd84e13f15b57f2dceaefcd' - '43b7397e622a2c19091b3665822e9461067fb6a497b9507418a3bbb100a69e1b' '727ab3e8181464af32ba604b2931b77cd6d4fbf34e10bbba99bb213eb992466e') build() { @@ -35,11 +25,6 @@ build() { patch -Np1 -i "$srcdir/arch.patch" patch -Np1 -i "$srcdir/systemd-fallback.patch" - patch -Np1 -i ../evironment.patch - patch -Np1 -i ../arguments.patch - patch -Np1 -i ../mem-leak.patch - patch -Np1 -i ../glist-leak.patch - patch -Np1 -i ../mouse-mem-leak.patch gnome-autogen.sh --prefix=/usr \ --sysconfdir=/etc \ diff --git a/community/go/PKGBUILD b/community/go/PKGBUILD index 16f3154b8..ab6e73e97 100644 --- a/community/go/PKGBUILD +++ b/community/go/PKGBUILD @@ -1,15 +1,16 @@ -# $Id: PKGBUILD 70575 2012-05-11 22:56:57Z remy $ +# $Id: PKGBUILD 70799 2012-05-16 17:49:57Z arodseth $ # Maintainer: Vesa Kaihlavirta <vegai@iki.fi> # Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Rémy Oudompheng <remy@archlinux.org> # Contributor: Andres Perera <andres87p gmail> # Contributor: Matthew Bauer <mjbauer95@gmail.com> -# Contributor: Christian Himpel <chressie at gmail dot com> +# Contributor: Christian Himpel <chressie@gmail.com> # Contributor: Mike Rosset <mike.rosset@gmail.com> # Contributor: Daniel YC Lin <dlin.tw@gmail.com> pkgname=go pkgver=1.0.1 -pkgrel=3 +pkgrel=5 epoch=2 pkgdesc='Google Go compiler and tools (release version)' arch=('x86_64' 'i686') @@ -19,22 +20,27 @@ depends=('perl' 'gawk') makedepends=('inetutils') options=('!strip' '!emptydirs') install=go.install -source=("http://go.googlecode.com/files/${pkgname}$pkgver.src.tar.gz") -sha1sums=('fc8a6d6725f7f2bf7c94685c5fd0880c9b7f67f6') +source=("http://go.googlecode.com/files/${pkgname}$pkgver.src.tar.gz" + "$pkgname.sh") +sha1sums=('fc8a6d6725f7f2bf7c94685c5fd0880c9b7f67f6' + '0e8c7edc9d788be3518367bf04bdb5ff8b6bbdcf') build() { cd "$srcdir/$pkgname" + export GOROOT_FINAL="/usr/lib/go" export GOOS=linux - cd src && bash make.bash + cd src && bash make.bash } check() { - # TestSimpleMulticastListener will fail in standard chroot. cd "$srcdir/$pkgname" + export GOROOT="$srcdir/$pkgname" export PATH="$srcdir/$pkgname/bin:$PATH" + + # TestSimpleMulticastListener will fail in standard chroot. cd src && bash run.bash --no-rebuild || true } @@ -59,28 +65,31 @@ package() { install -Dm644 "misc/vim/$f" "$pkgdir/usr/share/vim/vimfiles/$f" done - mkdir -p $pkgdir/{etc/profile.d,usr/{share/go,lib/go,lib/go/src}} + mkdir -p "$pkgdir/"{etc/profile.d,usr/{share/go,lib/go,lib/go/src}} - cp -r doc misc -t $pkgdir/usr/share/go - ln -s /usr/share/go/doc $pkgdir/usr/lib/go/doc - cp -r --preserve=timestamps bin $pkgdir/usr - cp -r --preserve=timestamps pkg $pkgdir/usr/lib/go - cp -r --preserve=timestamps $GOROOT/src/pkg $pkgdir/usr/lib/go/src/ - cp -r --preserve=timestamps $GOROOT/src/cmd $pkgdir/usr/lib/go/src/cmd - cp -r --preserve=timestamps $GOROOT/src/lib9 $pkgdir/usr/lib/go/src/ - cp -r --preserve=timestamps $GOROOT/lib $pkgdir/usr/lib/go/ + cp -r doc misc -t "$pkgdir/usr/share/go" + ln -s /usr/share/go/doc "$pkgdir/usr/lib/go/doc" + cp -r --preserve=timestamps bin "$pkgdir/usr" + cp -r --preserve=timestamps pkg "$pkgdir/usr/lib/go" + cp -r --preserve=timestamps $GOROOT/src/pkg "$pkgdir/usr/lib/go/src/" + cp -r --preserve=timestamps $GOROOT/src/cmd "$pkgdir/usr/lib/go/src/cmd" + cp -r --preserve=timestamps $GOROOT/src/lib9 "$pkgdir/usr/lib/go/src/" + cp -r --preserve=timestamps $GOROOT/lib "$pkgdir/usr/lib/go/" - install -Dm644 src/Make.* $pkgdir/usr/lib/go/src + install -Dm644 src/Make.* "$pkgdir/usr/lib/go/src" # Remove object files from target src dir - find $pkgdir/usr/lib/go/src/ -type f -name '*.[ao]' -delete - find $pkgdir/usr/lib/go/src/pkg -type f -executable -delete + find "$pkgdir/usr/lib/go/src/" -type f -name '*.[ao]' -delete + find "$pkgdir/usr/lib/go/src/pkg" -type f -executable -delete # Headers for C modules install -Dm644 src/pkg/runtime/runtime.h \ - $pkgdir/usr/lib/go/src/pkg/runtime/runtime.h + "$pkgdir/usr/lib/go/src/pkg/runtime/runtime.h" install -Dm644 src/pkg/runtime/cgocall.h \ - $pkgdir/usr/lib/go/src/pkg/runtime/cgocall.h + "$pkgdir/usr/lib/go/src/pkg/runtime/cgocall.h" + + # For packages that source /etc/profile.d/go.sh + install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/etc/profile.d/$pkgname.sh" rm -f "$pkgdir/usr/share/go/doc/articles/wiki/get.bin" } diff --git a/community/go/go.install b/community/go/go.install index decdeccf5..25b9690ac 100644 --- a/community/go/go.install +++ b/community/go/go.install @@ -14,6 +14,12 @@ post_upgrade() { # setting the appropriate environment variables. # ln -sf /usr/bin /usr/lib/go/bin + + # Friendly message to the user + echo "Example use of the \"go\" tool as a user:" + echo " mkdir ~/go" + echo " export GOPATH=~/go" + echo " go get website.com/user/module" } post_install() { diff --git a/community/go/go.sh b/community/go/go.sh index 8393dc8d2..a0109ba97 100755..100644 --- a/community/go/go.sh +++ b/community/go/go.sh @@ -1 +1 @@ -export GOROOT=/usr/lib/go +export GOPATH=/usr/lib/go/site diff --git a/community/libvirt/PKGBUILD b/community/libvirt/PKGBUILD index 9111cb5ab..1289ba305 100644 --- a/community/libvirt/PKGBUILD +++ b/community/libvirt/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 70663 2012-05-14 09:46:54Z spupykin $ +# $Id: PKGBUILD 70770 2012-05-16 14:43:00Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Jonathan Wiersma <archaur at jonw dot org> pkgname=libvirt -pkgver=0.9.12 -pkgrel=1 +pkgver=0.9.11 +pkgrel=7 pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)" arch=('i686' 'x86_64') url="http://libvirt.org/" @@ -34,17 +34,13 @@ source=("http://libvirt.org/sources/$pkgname-$pkgver.tar.gz" libvirtd.conf.d libvirtd-guests.rc.d libvirtd-guests.conf.d - openbsd-netcat-default.patch - unixperms.patch - yajl-2.x.patch) -md5sums=('5e842bc55733ceba60c64767580ff3e4' + openbsd-netcat-default.patch) +md5sums=('6e9fab115075a8fd21d9bd0d7e558a52' 'c43244c40a0437038c82089618e7beaa' '3ed0e24f5b5e25bf553f5427d64915e6' '8297b1be794a24cc77f66af9380ace59' 'bc2971dacdbac967fc3474e50affc345' - 'b0be50eb9dfe4d133decf23b60880f7d' - 'db95aecdf2ccf3693fef5821cdcb7eba' - '5745bb8d0b254abb7a3528c66e03b0f9') + 'b0be50eb9dfe4d133decf23b60880f7d') build() { cd "$srcdir/$pkgname-$pkgver" @@ -56,11 +52,6 @@ build() { sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file done -# for more information on authentication see http://libvirt.org/auth.html -# If you wish to have unix-permissions based access rather than only polkit -# access, create a group called libvirt and uncomment the line below: -# patch -Np1 -i "$srcdir"/unixperms.patch - [ $NOEXTRACT -eq 1 ] || patch -Np1 -i "$srcdir"/openbsd-netcat-default.patch export LDFLAGS=-lX11 diff --git a/community/midori/PKGBUILD b/community/midori/PKGBUILD index 8e1242d7b..64fdaf822 100644 --- a/community/midori/PKGBUILD +++ b/community/midori/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 69842 2012-04-24 15:19:18Z bpiotrowski $ +# $Id: PKGBUILD 70793 2012-05-16 17:08:50Z bpiotrowski $ # Maintainer: Andreas Radke <andyrtr@archlinux.org> # Contributor: rabyte <rabyte.at.gmail.dot.com> # Contributor: Johannes Krampf <wuischke.at.amule.dot.org> # Contributor: Bartłomiej Piotrowski <barthalion@gmail.com> pkgname=midori -pkgver=0.4.5 -pkgrel=2 +pkgver=0.4.6 +pkgrel=1 pkgdesc="Lightweight web browser based on Gtk WebKit" arch=('x86_64' 'i686') url="http://www.twotoasts.de/index.php?/pages/midori_summary.html" @@ -16,10 +16,8 @@ depends=('libwebkit>=1.3.13' 'libunique' 'hicolor-icon-theme' 'desktop-file-util makedepends=('libxml2' 'intltool' 'gtk-doc' 'librsvg' 'python2>=2.7.1' 'vala') # 'git' optdepends=('vala: for use in extensions') options=('!emptydirs') -source=(http://archive.xfce.org/src/apps/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2 - 0001-Fix-libsoup-version-check-defines.patch) -sha256sums=('7b57cf3ebb56eef586351f2ae9f71ec9683aedff0b79a071b70b811d9876ff84' - '0095c23247c62b6a4b3ab4312f68b49e2d0974ce3fd701a2ce0114817c7bd399') +source=(http://archive.xfce.org/src/apps/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2) +sha256sums=('910f47bd2b5f2998cd4fce45c08f9e282318820b68562d0bade2096b9a17e3ea') build() { cd "$srcdir/$pkgname-$pkgver" @@ -28,9 +26,6 @@ build() { export PYTHON=/usr/bin/python2 sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" wscript waf - # FS#29468 - patch -Np1 -i "$srcdir"/0001-Fix-libsoup-version-check-defines.patch - ./configure \ --prefix=/usr \ --jobs=${MAKEFLAGS/-j/} \ diff --git a/community/mp3splt-gtk/PKGBUILD b/community/mp3splt-gtk/PKGBUILD index bd8059767..6cf48d2ea 100644 --- a/community/mp3splt-gtk/PKGBUILD +++ b/community/mp3splt-gtk/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 66640 2012-02-26 16:44:34Z jlichtblau $ +# $Id: PKGBUILD 70795 2012-05-16 17:11:55Z jlichtblau $ # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> pkgname=mp3splt-gtk -pkgver=0.7.1 +pkgver=0.7.2 pkgrel=1 pkgdesc="Split mp3 and ogg files without decoding" arch=('i686' 'x86_64') @@ -14,7 +14,7 @@ install=$pkgname.install changelog=$pkgname.changelog source=(http://downloads.sourceforge.net/sourceforge/mp3splt/$pkgname-$pkgver.tar.gz \ $pkgname.desktop) -sha256sums=('b3f54a62dae55cfabab7aff3ae2f5627093dee27675635b04b425f3214bcdd62' +sha256sums=('58d2e562b004bc99ad206b4a6726126d170dc9093a35689888b010fe663be23a' 'a50dd43c28a723c824d658b9468ff3719dcc302c57ecb3b122124e63c20800ed') build() { diff --git a/community/mp3splt-gtk/mp3splt-gtk.changelog b/community/mp3splt-gtk/mp3splt-gtk.changelog index c5e4dadc6..50b711d96 100644 --- a/community/mp3splt-gtk/mp3splt-gtk.changelog +++ b/community/mp3splt-gtk/mp3splt-gtk.changelog @@ -1,3 +1,6 @@ +2012-05-16 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * mp3splt-gtk O.7.2-1 + 2012-02-26 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> * mp3splt-gtk O.7.1-1 diff --git a/community/netcf/PKGBUILD b/community/netcf/PKGBUILD index 0383ca4da..9c26ba270 100644 --- a/community/netcf/PKGBUILD +++ b/community/netcf/PKGBUILD @@ -1,26 +1,32 @@ -# $Id: PKGBUILD 66320 2012-02-23 14:03:54Z allan $ +# $Id: PKGBUILD 70813 2012-05-16 21:38:44Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Aurélien Wailly <aurelien.wailly@gmail.com> pkgname=netcf -pkgver=0.1.7 -pkgrel=3 +pkgver=0.1.9 +pkgrel=2 pkgdesc="A library for configuring network interfaces" arch=('i686' 'x86_64') license=('LGPL') url="https://fedorahosted.org/netcf/" -depends=('augeas>=0.7.4' 'netcfg' 'libxslt' 'libxml2' 'libnl1') +depends=('augeas>=0.7.4' 'netcfg' 'libxslt' 'libxml2' 'libnl') makedepends=('gcc') options=(!libtool) source=("https://fedorahosted.org/released/netcf/$pkgname-$pkgver.tar.gz" - netcf-0.1.7.patch) -md5sums=('8e313b623c907eb035cf3948b71fecc2' - '0e88ee6813219e9e75a943444fe439f5') + "netcf-libnl3.patch::https://bugs.archlinux.org/task/29908?getfile=8775") +md5sums=('4d62010a79d56c12438969da9035b63c' + 'a509be4b819f669fac21e1eaa621e3e0') build() { cd "${srcdir}/${pkgname}-${pkgver}" - patch -Np1 -i ${srcdir}/netcf-0.1.7.patch - ./configure --prefix=/usr --disable-static + patch -Np1 -i ${srcdir}/netcf-libnl3.patch + aclocal + automake --add-missing || true + autoreconf +# CFLAGS="`pkg-config --cflags libnl-3.0` -DRTNL_LINK_NOT_FOUND=-1" + CFLAGS="-DNETCF_TRANSACTION=\"true\"" ./configure --prefix=/usr \ + --disable-static \ + --with-init-script=none make } diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD index 0178a38c6..a4767c36c 100644 --- a/community/nodejs/PKGBUILD +++ b/community/nodejs/PKGBUILD @@ -1,5 +1,6 @@ -# $Id: PKGBUILD 70343 2012-05-04 22:20:32Z tdziedzic $ -# Maintainer: Thomas Dziedzic < gostrc at gmail > +# $Id: PKGBUILD 70788 2012-05-16 16:52:49Z bpiotrowski $ +# Maintainer: Nartłomiej Piotrowski <nospam@bpiotrowski.pl> +# Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: James Campos <james.r.campos@gmail.com> # Contributor: BlackEagle < ike DOT devolder AT gmail DOT com > # Contributor: Dongsheng Cai <dongsheng at moodle dot com> @@ -7,7 +8,7 @@ # Contributor: TIanyi Cui <tianyicui@gmail.com> pkgname=nodejs -pkgver=0.6.17 +pkgver=0.6.18 pkgrel=1 pkgdesc='Evented I/O for V8 javascript' arch=('i686' 'x86_64') @@ -18,7 +19,7 @@ checkdepends=('curl') # curl used for check() optdepends=('openssl: TLS support') options=('!emptydirs') source=("http://nodejs.org/dist/v${pkgver}/node-v${pkgver}.tar.gz") -md5sums=('55641d5d280cdd4e0c030c203107599d') +md5sums=('4a3d3123ccc7b9b21c1990fe074e3d14') build() { cd node-v${pkgver} diff --git a/community/percona-server/PKGBUILD b/community/percona-server/PKGBUILD index c27b0d27d..33e2b34fe 100644 --- a/community/percona-server/PKGBUILD +++ b/community/percona-server/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 69962 2012-04-27 10:25:29Z mtorromeo $ +# $Id: PKGBUILD 70768 2012-05-16 14:40:05Z mtorromeo $ # Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> pkgname=percona-server -pkgver=5.5.22_rel25.2 +pkgver=5.5.23_rel25.3 pkgrel=1 pkgdesc="A backwards-compatible drop-in replacement for MySQL that provides improved performance, diagnostics and instrumentation, and manageability of the server" arch=('i686' 'x86_64') @@ -99,6 +99,6 @@ package() { install -dm700 "${pkgdir}"/var/lib/mysql } -md5sums=('2fc67b0e0e31c1a7949beae9399abc33' +md5sums=('b098914c14256187686db0ccbc46a6d4' '243864805611764a7e5883c1dba7afd8' '1c949c0dbea5206af0db14942d9927b6') diff --git a/community/pidgin-otr/PKGBUILD b/community/pidgin-otr/PKGBUILD index 565f57436..9da6e6fde 100644 --- a/community/pidgin-otr/PKGBUILD +++ b/community/pidgin-otr/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 57815 2011-11-03 09:57:10Z lfleischer $ +# $Id: PKGBUILD 70766 2012-05-16 13:08:20Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> # Contributor: Allan McRae <allan@archlinux.org> @@ -6,16 +6,17 @@ # Contributor: Marcel Wysocki <maci@satgnu.net> pkgname=pidgin-otr -pkgver=3.2.0 -pkgrel=3 +pkgver=3.2.1 +pkgrel=1 pkgdesc='Off-the-Record Messaging plugin for Pidgin.' arch=('i686' 'x86_64') license=('GPL') url='http://www.cypherpunks.ca/otr/' depends=('libotr>=3.2.0' 'pidgin' 'perlxml') +makedepends=('intltool') source=("http://www.cypherpunks.ca/otr/${pkgname}-${pkgver}.tar.gz"{,.asc}) -md5sums=('8af70b654b7d7c5a5b7785699ff562f9' - '67d711a7a44cef2791f50b319aaf0e0e') +md5sums=('4c3f73cca729555ff46c09e789ef6896' + 'e9a6d699768bd888f086e697ad984aa7') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/community/remmina/PKGBUILD b/community/remmina/PKGBUILD index 290e46ab1..b135d2a00 100644 --- a/community/remmina/PKGBUILD +++ b/community/remmina/PKGBUILD @@ -1,15 +1,15 @@ -# $Id: PKGBUILD 70316 2012-05-04 09:53:40Z spupykin $ +# $Id: PKGBUILD 70791 2012-05-16 16:57:31Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=remmina pkgver=1.0.0 -pkgrel=6 +pkgrel=7 pkgdesc="Remmina is a remote desktop client written in GTK+. " arch=(i686 x86_64) url="http://remmina.sourceforge.net/" license=('GPL') -depends=('gtk3' 'zlib' 'libjpeg' 'libssh' 'libunique' 'avahi' 'vte3' 'libgcrypt' 'libxdmcp' 'libgnome-keyring') -makedepends=('intltool' 'pkgconfig' 'cmake' +depends=('gtk3' 'zlib' 'libjpeg' 'libssh' 'libunique' 'avahi' 'vte3' 'libgcrypt' 'libxdmcp') +makedepends=('intltool' 'pkgconfig' 'cmake' 'libgnome-keyring' 'avahi' 'libxkbfile' 'freerdp' 'telepathy-glib') optdepends=('libxkbfile' 'freerdp' @@ -32,5 +32,9 @@ build() { export LDFLAGS="-lX11 -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lpthread -lgnutls" cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_APPINDICATOR=OFF . make +} + +package() { + cd ${srcdir}/FreeRDP-Remmina-*/ make DESTDIR=${pkgdir} install } diff --git a/community/wmname/PKGBUILD b/community/wmname/PKGBUILD index e9c75101e..599d35733 100644 --- a/community/wmname/PKGBUILD +++ b/community/wmname/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 55541 2011-09-14 08:07:38Z andrea $ +# $Id: PKGBUILD 70751 2012-05-16 10:53:27Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Vincent Kriek <vincent@vincentkriek.nl> @@ -6,7 +6,7 @@ pkgname=wmname pkgver=0.1 pkgrel=2 pkgdesc="An utility to set the name of your window manager" -url="http://www.suckless.org/programs/wmname.html" +url="http://tools.suckless.org/wmname" license=('custom') depends=('libx11') arch=('i686' 'x86_64') diff --git a/core/glib2/PKGBUILD b/core/glib2/PKGBUILD index 7fbbe5623..1bbd45ecd 100644 --- a/core/glib2/PKGBUILD +++ b/core/glib2/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 158759 2012-05-09 08:41:45Z ibiru $ +# $Id: PKGBUILD 159164 2012-05-16 20:53:29Z ibiru $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=glib2 -pkgver=2.32.2 -pkgrel=2 +pkgver=2.32.3 +pkgrel=1 pkgdesc="Common C routines used by GTK+ and other libs" url="http://www.gtk.org/" arch=(i686 x86_64) @@ -16,7 +16,7 @@ source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-$pkgver.ta glib2.sh glib2.csh revert-warn-glib-compile-schemas.patch) -sha256sums=('b1764abf00bac96e0e93e29fb9715ce75f3583579acac40648e18771d43d6136' +sha256sums=('b65ceb462807e4a2f91c95e4293ce6bbefca308cb44a1407bcfdd9e40363ff4d' '9456872cdedcc639fb679448d74b85b0facf81033e27157d2861b991823b5a2a' '8d5626ffa361304ad3696493c0ef041d0ab10c857f6ef32116b3e2878ecf89e3' '049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97') @@ -33,13 +33,13 @@ build() { package() { cd glib-$pkgver - make DESTDIR="$pkgdir" install + make completiondir=/usr/share/bash-completion/completions DESTDIR="$pkgdir" install install -d "$pkgdir/etc/profile.d" install -m755 "$srcdir/glib2.sh" "$pkgdir/etc/profile.d/" install -m755 "$srcdir/glib2.csh" "$pkgdir/etc/profile.d/" - for _i in "$pkgdir/etc/bash_completion.d/"*; do + for _i in "$pkgdir/usr/share/bash-completion/completions/"*; do chmod -x "$_i" done sed -i "s|#!/usr/bin/env python|#!/usr/bin/env python2|" "$pkgdir"/usr/bin/gdbus-codegen diff --git a/extra/ccrtp/PKGBUILD b/extra/ccrtp/PKGBUILD new file mode 100644 index 000000000..5901e29ed --- /dev/null +++ b/extra/ccrtp/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 159161 2012-05-16 20:49:22Z andrea $ +# Maintainer: +# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Jeff Mickey <jeff@archlinux.org> +# Contributor: John Proctor <jproctor@prium.net> +# Contributor: Alexander Rødseth <rodseth@gmail.com> + +pkgname=ccrtp +pkgver=2.0.3 +pkgrel=2 +pkgdesc="An implementation of RTP, the real-time transport protocol from the IETF" +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/ccrtp/" +license=('GPL' 'custom') +depends=('ucommon' 'libgcrypt') +options=('!libtool') +install=$pkgname.install +source=("ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}) +md5sums=('0d57da1b8e212fb634b8951067fbc1e0' + '127fa3b293f7a7c3be1d2891c4544453') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -Dm644 COPYING.addendum "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} diff --git a/extra/ccrtp/ccrtp.install b/extra/ccrtp/ccrtp.install new file mode 100644 index 000000000..51b971c5c --- /dev/null +++ b/extra/ccrtp/ccrtp.install @@ -0,0 +1,22 @@ +infodir=usr/share/info +filelist=(ccrtp.info) + +post_install() { + [[ -x usr/bin/install-info ]] || return 0 + for file in "${filelist[@]}"; do + install-info "$infodir/$file.gz" "$infodir/dir" 2> /dev/null + done +} + +post_upgrade() { + post_install "$1" +} + +pre_remove() { + [[ -x usr/bin/install-info ]] || return 0 + for file in "${filelist[@]}"; do + install-info --delete "$infodir/$file.gz" "$infodir/dir" 2> /dev/null + done +} + +# vim:set ts=2 sw=2 et: diff --git a/extra/glsof/PKGBUILD b/extra/glsof/PKGBUILD index 71b97318c..a99009358 100644 --- a/extra/glsof/PKGBUILD +++ b/extra/glsof/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 147275 2012-01-25 16:46:28Z eric $ +# $Id: PKGBUILD 159121 2012-05-16 06:34:12Z eric $ # Maintainer: Eric Bélanger <eric@archlinux.org> pkgname=glsof -pkgver=1.8.0 -_fmver=1.8.0 +pkgver=2.0 +_fmver=2.0 _qver=1.0.0 pkgrel=1 pkgdesc="Two separate GUI utilities (Queries and Filemonitor) to the lsof command line utility" @@ -11,28 +11,26 @@ arch=('i686' 'x86_64') url="http://glsof.sourceforge.net/" license=('GPL3') depends=('sh' 'java-runtime' 'lsof') -source=(http://downloads.sourceforge.net/sourceforge/glsof/filemonitor-${_fmver}.tar.gz) -if [ "$CARCH" = "i686" ]; then - source=(${source[@]} http://downloads.sourceforge.net/sourceforge/glsof/queries-${_qver}/queries_linux32.tar.gz \ - glsof-filemonitor glsof-queries) - sha1sums=('a70c8d3877c13af8bd8e7e319a1709c1b90eedc6' - 'd5a17d66dd02cd78bad5ffdda0b936c7848e4890' - '197b58f40880995d6442fd42a58fa1f4594fd19d' - '2797c326904af16a254c3e39b8c529ea14ef37e5') -elif [ "$CARCH" = "x86_64" ]; then - source=(${source[@]} http://downloads.sourceforge.net/sourceforge/glsof/queries-${_qver}/queries_linux64.tar.gz \ - glsof-filemonitor glsof-queries) - sha1sums=('a70c8d3877c13af8bd8e7e319a1709c1b90eedc6' - 'c5dd12e9b2860f1c427ed7cd482e898978051d2c' - '197b58f40880995d6442fd42a58fa1f4594fd19d' - '2797c326904af16a254c3e39b8c529ea14ef37e5') -fi +source=(http://downloads.sourceforge.net/sourceforge/glsof/filemonitor-${_fmver}.tar.gz \ + http://downloads.sourceforge.net/sourceforge/glsof/queries-${_qver}/queries_linux32.tar.gz \ + http://downloads.sourceforge.net/sourceforge/glsof/queries-${_qver}/queries_linux64.tar.gz \ + glsof-filemonitor glsof-queries) +sha1sums=('4bb1ca87aa8aedcf793cd704d4ea5dfec5c53bb1' + 'd5a17d66dd02cd78bad5ffdda0b936c7848e4890' + 'c5dd12e9b2860f1c427ed7cd482e898978051d2c' + '197b58f40880995d6442fd42a58fa1f4594fd19d' + '2797c326904af16a254c3e39b8c529ea14ef37e5') package() { cd "${srcdir}" install -D -m755 glsof-filemonitor "${pkgdir}/usr/bin/glsof-filemonitor" install -D -m755 glsof-queries "${pkgdir}/usr/bin/glsof-queries" install -D -m644 filemonitor/filemonitor.jar "${pkgdir}/usr/share/java/glsof/filemonitor.jar" - install -D -m644 queries_linux??/queries.jar "${pkgdir}/usr/share/java/glsof/queries.jar" - install -D -m644 queries_linux??/queries.pdf "${pkgdir}/usr/share/doc/glsof/queries.pdf" + if [ "$CARCH" = "i686" ]; then + install -D -m644 queries_linux32/queries.jar "${pkgdir}/usr/share/java/glsof/queries.jar" + install -D -m644 queries_linux32/queries.pdf "${pkgdir}/usr/share/doc/glsof/queries.pdf" + elif [ "$CARCH" = "x86_64" ]; then + install -D -m644 queries_linux64/queries.jar "${pkgdir}/usr/share/java/glsof/queries.jar" + install -D -m644 queries_linux64/queries.pdf "${pkgdir}/usr/share/doc/glsof/queries.pdf" + fi } diff --git a/extra/gupnp-igd/PKGBUILD b/extra/gupnp-igd/PKGBUILD new file mode 100644 index 000000000..8e08e3a17 --- /dev/null +++ b/extra/gupnp-igd/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 159125 2012-05-16 11:29:35Z eric $ +# Maintainer: Eric Bélanger <eric@archlinux.org> +# Contributor: William Díaz <wdiaz [at] archlinux [dot] us> + +pkgname=gupnp-igd +pkgver=0.2.1 +pkgrel=3 +pkgdesc="A library to handle UPnP IGD port mapping" +arch=('i686' 'x86_64') +url="http://www.gupnp.org" +license=('LGPL') +depends=('gupnp' 'python2-gobject2') +makedepends=('gettext') +options=('!libtool' '!makeflags') +source=(http://www.gupnp.org/sites/all/files/sources/${pkgname}-${pkgver}.tar.gz) +sha1sums=('409cb45e495dfa61c4ce4a74f8ba06f2784c39e2') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + PYTHON=python2 ./configure --prefix=/usr + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} + diff --git a/extra/kdepim-runtime/PKGBUILD b/extra/kdepim-runtime/PKGBUILD index c98230101..c493acbdb 100644 --- a/extra/kdepim-runtime/PKGBUILD +++ b/extra/kdepim-runtime/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 158355 2012-05-03 22:30:17Z andrea $ +# $Id: PKGBUILD 159144 2012-05-16 19:52:39Z andrea $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Pierre Schmitz <pierre@archlinux.de> pkgname=kdepim-runtime pkgver=4.8.3 -pkgrel=1 +pkgrel=2 pkgdesc='KDE PIM Runtime Environment' arch=('i686' 'x86_64') url='http://www.kde.org' @@ -12,16 +12,20 @@ license=('GPL' 'LGPL' 'FDL') depends=('kdepimlibs' 'kdebase-runtime') makedepends=('cmake' 'automoc4' 'boost') install=${pkgname}.install -source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz") -sha1sums=('f1c6691522113887dc5f098678ccbbacfecb9390') +source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz" + 'fix-carddav-support.patch') +sha1sums=('f1c6691522113887dc5f098678ccbbacfecb9390' + '1362bc04e82a3fdf870578c051a2e16170c43e86') build() { + cd "${srcdir}"/${pkgname}-${pkgver} + patch -p1 -i "${srcdir}"/fix-carddav-support.patch + cd "${srcdir}" mkdir build cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX=/usr make } diff --git a/extra/kdepim-runtime/fix-carddav-support.patch b/extra/kdepim-runtime/fix-carddav-support.patch new file mode 100644 index 000000000..25c281307 --- /dev/null +++ b/extra/kdepim-runtime/fix-carddav-support.patch @@ -0,0 +1,26 @@ +commit bec63a313160ec6dc1833029d5e99746779ed3f4 +Author: Gregory Oestreicher <greg@kamago.net> +Date: Tue May 15 21:19:17 2012 +0200 + + Add a prop-filter in the CardDAV requests + + BUG: 299482 + FIXED-IN: 4.8.4 + +diff --git a/resources/dav/protocols/carddavprotocol.cpp b/resources/dav/protocols/carddavprotocol.cpp +index 38eca17..9c58653 100644 +--- a/resources/dav/protocols/carddavprotocol.cpp ++++ b/resources/dav/protocols/carddavprotocol.cpp +@@ -35,6 +35,12 @@ CarddavProtocol::CarddavProtocol() + propElement.appendChild( document.createElementNS( "DAV:", "resourcetype" ) ); + propElement.appendChild( document.createElementNS( "DAV:", "getetag" ) ); + ++ QDomElement filterElement = document.createElementNS( "urn:ietf:params:xml:ns:carddav", "filter" ); ++ queryElement.appendChild( filterElement ); ++ QDomElement propfilterElement = document.createElementNS( "urn:ietf:params:xml:ns:carddav", "prop-filter" ); ++ propfilterElement.setAttribute( "name", "FN" ); ++ filterElement.appendChild( propfilterElement ); ++ + mItemsQueries << document; + } + diff --git a/extra/libmp3splt/PKGBUILD b/extra/libmp3splt/PKGBUILD index 866cefa5d..acb42e268 100644 --- a/extra/libmp3splt/PKGBUILD +++ b/extra/libmp3splt/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 151286 2012-02-25 12:53:00Z pierre $ +# $Id: PKGBUILD 159128 2012-05-16 12:24:49Z tpowa $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=libmp3splt -pkgver=0.7.1 +pkgver=0.7.2 pkgrel=1 pkgdesc="Library for splitting mp3 and ogg files without decoding" arch=('i686' 'x86_64') @@ -12,7 +12,6 @@ depends=('libmad' 'libvorbis' 'libid3tag' 'pcre' 'libltdl') makedepends=('libtool') options=('!libtool') source=("http://downloads.sourceforge.net/sourceforge/mp3splt/$pkgname-$pkgver.tar.gz") -md5sums=('62025951f483334f14f1b9be58162094') build() { cd $srcdir/$pkgname-$pkgver @@ -26,3 +25,4 @@ package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir/ install } +md5sums=('848817d1d980729aec99bbc62caddd76') diff --git a/extra/libsrtp/PKGBUILD b/extra/libsrtp/PKGBUILD new file mode 100644 index 000000000..13f8142c3 --- /dev/null +++ b/extra/libsrtp/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 159152 2012-05-16 20:08:38Z andrea $ +# Maintainer: +# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Yejun Yang <yejunx AT gmail DOT com> +# Contributor: Michal Krenek <mikos@sg1.cz> + +pkgname=libsrtp +pkgver=1.4.4 +pkgrel=2 +pkgdesc="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)" +url="http://srtp.sourceforge.net/srtp.html" +arch=('i686' 'x86_64') +license=('BSD') +source=("http://downloads.sourceforge.net/srtp/srtp-${pkgver}.tgz") +md5sums=('9b449edb011c934ca97009e7e0566d22') + +build() { + cd "${srcdir}"/srtp + ./configure --prefix=/usr + make CFLAGS="${CFLAGS} -fPIC" +} + +package() { + cd "${srcdir}"/srtp + make DESTDIR="${pkgdir}" install + + install -Dm0644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} diff --git a/extra/libzrtpcpp/PKGBUILD b/extra/libzrtpcpp/PKGBUILD new file mode 100644 index 000000000..77579187a --- /dev/null +++ b/extra/libzrtpcpp/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 159158 2012-05-16 20:39:07Z andrea $ +# Maintainer: +# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Jeff Mickey <jeff@archlinux.org> +# Contributor: Michel Brabants <michel.brabants@euphonynet.be> + +pkgname=libzrtpcpp +pkgver=2.0.0 +pkgrel=2 +pkgdesc="A C++ implementation of Phil Zimmermann's ZRTP specification" +arch=('i686' 'x86_64') +url='http://www.gnutelephony.org/index.php/GNU_ZRTP' +license=('GPL3') +depends=('ccrtp') +makedepends=('cmake') +source=("ftp://ftp.gnu.org/pub/gnu/ccrtp/$pkgname-$pkgver.tar.gz"{,.sig}) +md5sums=('dc1501e7e8a46a1608fc3820c7476727' + '7216f652aa2e080de114e02a85127dbc') + +build() { + sed 's/lib64/lib/g' -i "${srcdir}"/${pkgname}-${pkgver}/CMakeLists.txt + + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install +} diff --git a/extra/misdnuser/PKGBUILD b/extra/misdnuser/PKGBUILD index a6475d25c..9de576e21 100644 --- a/extra/misdnuser/PKGBUILD +++ b/extra/misdnuser/PKGBUILD @@ -1,20 +1,25 @@ -# $Id: PKGBUILD 156006 2012-04-11 12:11:55Z tomegun $ +# $Id: PKGBUILD 159134 2012-05-16 12:27:20Z tpowa $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=misdnuser -pkgver=2.0.11 -pkgrel=3 +pkgver=2.0.13_20120513 +pkgrel=1 pkgdesc="Tools and library for mISDN" arch=('i686' 'x86_64') url="http://www.misdn.org" license=('GPL') depends=('isdn4k-utils' 'spandsp') backup=('etc/capi20.conf') -options=('!libtool') +options=('!makeflags' '!libtool' '!strip') source=(ftp://ftp.archlinux.org/other/misdnuser/${pkgname}-${pkgver}.tar.gz - misdncapid.rc) + misdncapid.rc + mISDNcapid.service + mISDNcapid.conf) build() { + # only enable for debugging! + #export CFLAGS+=" -g -O0" + #export CXXFLAGS+=" -g -O0" cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr --enable-capi --enable-softdsp --with-mISDN_group=uucp make @@ -30,6 +35,11 @@ package() { rm -r ${pkgdir}/etc/udev/ # remove temporary dir /var/run/mISDNcapid rm -r ${pkgdir}/var + # add systemd files + install -D -m644 ${srcdir}/mISDNcapid.service ${pkgdir}/usr/lib/systemd/system/mISDNcapid.service + install -D -m644 ${srcdir}/mISDNcapid.conf ${pkgdir}/usr/lib/tmpfiles.d/mISDNcapid.conf } -md5sums=('1c8825afde76e290727240077bbd37ea' - '2009563b144de037ecb20f8d727a772e') +md5sums=('f61339c3a28a370cd971957e6ef07f5c' + '2009563b144de037ecb20f8d727a772e' + '638b399f7e0937639960c4dfb3d5138e' + '42c3b46880a68c3883ee1ed00af34b45') diff --git a/extra/misdnuser/mISDNcapid.conf b/extra/misdnuser/mISDNcapid.conf new file mode 100644 index 000000000..7607e262d --- /dev/null +++ b/extra/misdnuser/mISDNcapid.conf @@ -0,0 +1 @@ +D /var/run/mISDNcapid 0755 root root - diff --git a/extra/misdnuser/mISDNcapid.service b/extra/misdnuser/mISDNcapid.service new file mode 100644 index 000000000..b2b08a0a5 --- /dev/null +++ b/extra/misdnuser/mISDNcapid.service @@ -0,0 +1,10 @@ +[Unit] +Description=mISDN CAPI daemon + +[Service] +Type=forking +ExecStart=/usr/sbin/mISDNcapid +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target diff --git a/extra/mp3splt/PKGBUILD b/extra/mp3splt/PKGBUILD index 63b5aa1cb..7add37552 100644 --- a/extra/mp3splt/PKGBUILD +++ b/extra/mp3splt/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 151288 2012-02-25 12:55:39Z pierre $ +# $Id: PKGBUILD 159130 2012-05-16 12:25:44Z tpowa $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=mp3splt -pkgver=2.4.1 +pkgver=2.4.2 pkgrel=1 arch=('i686' 'x86_64') pkgdesc="Commandline tool for splitting mp3 and ogg files without decoding" @@ -11,7 +11,6 @@ url="http://mp3splt.sourceforge.net" depends=('libmp3splt') source=("http://downloads.sourceforge.net/sourceforge/mp3splt/$pkgname-$pkgver.tar.gz") options=('!libtool') -md5sums=('aed4a94f996abcdb07679206a600fc5b') build() { cd $srcdir/$pkgname-$pkgver @@ -23,3 +22,4 @@ package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir/ install } +md5sums=('f4c5c42f9dec9fb72b7f6ffeacd82906') diff --git a/extra/ortp/PKGBUILD b/extra/ortp/PKGBUILD index 375831112..3f64e6195 100644 --- a/extra/ortp/PKGBUILD +++ b/extra/ortp/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 150809 2012-02-23 01:26:10Z andrea $ +# $Id: PKGBUILD 159150 2012-05-16 20:08:01Z andrea $ # Maintainer: # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org> @@ -6,24 +6,31 @@ pkgname=ortp pkgver=0.20.0 -pkgrel=1 +pkgrel=2 pkgdesc="A Real-time Transport Protocol (RTP) library" arch=('i686' 'x86_64') url="http://www.linphone.org/index.php/eng/code_review/ortp" license=('LGPL') -depends=('glibc') +depends=('libzrtpcpp' 'libsrtp') options=('!libtool') -source=("http://download-mirror.savannah.gnu.org/releases/linphone/${pkgname}/sources/${pkgname}-${pkgver}.tar.gz"{,.sig}) +source=("http://download-mirror.savannah.gnu.org/releases/linphone/${pkgname}/sources/${pkgname}-${pkgver}.tar.gz"{,.sig} + 'libzrtpcpp2.patch') md5sums=('b3f2f02fc5b7ba7e294806c81d419f3c' - 'c5d39f9ad14fe252db9a96f616308b0b') + 'c5d39f9ad14fe252db9a96f616308b0b' + 'a37392fd9889711ac2f0fed2e388fbd8') build() { - cd ${srcdir}/${pkgname}-${pkgver} - ./configure --prefix=/usr + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -p1 -i "${srcdir}"/libzrtpcpp2.patch + + ./configure --prefix=/usr \ + --enable-zrtp \ + --disable-strict make } package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } diff --git a/extra/ortp/libzrtpcpp2.patch b/extra/ortp/libzrtpcpp2.patch new file mode 100644 index 000000000..c433c314d --- /dev/null +++ b/extra/ortp/libzrtpcpp2.patch @@ -0,0 +1,69 @@ +Only in ortp-0.20.0.my/build: Makefile +Only in ortp-0.20.0.my/build/win32native: Makefile +Only in ortp-0.20.0.my/build/wince: Makefile +Only in ortp-0.20.0.my/build/winmob: Makefile +Only in ortp-0.20.0.my: config.log +Only in ortp-0.20.0.my: config.status +Only in ortp-0.20.0.my: doc +Only in ortp-0.20.0.my/include: Makefile +Only in ortp-0.20.0.my/include/ortp: Makefile +Only in ortp-0.20.0.my: libtool +Only in ortp-0.20.0.my: Makefile +Only in ortp-0.20.0.my: ortp-config.h +Only in ortp-0.20.0.my: ortp.defs +Only in ortp-0.20.0.my: ortp.pc +Only in ortp-0.20.0.my/src: avprofile.lo +Only in ortp-0.20.0.my/src: b64.lo +Only in ortp-0.20.0.my/src: .deps +Only in ortp-0.20.0.my/src: event.lo +Only in ortp-0.20.0.my/src: jitterctl.lo +Only in ortp-0.20.0.my/src: libortp.la +Only in ortp-0.20.0.my/src: .libs +Only in ortp-0.20.0.my/src: Makefile +Only in ortp-0.20.0.my/src: netsim.lo +Only in ortp-0.20.0.my/src: ortp.lo +Only in ortp-0.20.0.my/src: ortp_srtp.lo +Only in ortp-0.20.0.my/src: payloadtype.lo +Only in ortp-0.20.0.my/src: port.lo +Only in ortp-0.20.0.my/src: posixtimer.lo +Only in ortp-0.20.0.my/src: rtcp.lo +Only in ortp-0.20.0.my/src: rtcpparse.lo +Only in ortp-0.20.0.my/src: rtpparse.lo +Only in ortp-0.20.0.my/src: rtpsession_inet.lo +Only in ortp-0.20.0.my/src: rtpsession.lo +Only in ortp-0.20.0.my/src: rtpsignaltable.lo +Only in ortp-0.20.0.my/src: rtptimer.lo +Only in ortp-0.20.0.my/src: scheduler.lo +Only in ortp-0.20.0.my/src: sessionset.lo +Only in ortp-0.20.0.my/src: str_utils.lo +Only in ortp-0.20.0.my/src: stun.lo +Only in ortp-0.20.0.my/src: stun_udp.lo +Only in ortp-0.20.0.my/src: telephonyevents.lo +Only in ortp-0.20.0.my/src/tests: .deps +Only in ortp-0.20.0.my/src/tests: Makefile +Only in ortp-0.20.0.my/src/tests/win_receiver: Makefile +Only in ortp-0.20.0.my/src/tests/win_sender: Makefile +Only in ortp-0.20.0.my/src: utils.lo +diff -wbBur ortp-0.20.0/src/zrtp.c ortp-0.20.0.my/src/zrtp.c +--- ortp-0.20.0/src/zrtp.c 2012-02-22 20:19:51.000000000 +0400 ++++ ortp-0.20.0.my/src/zrtp.c 2012-05-16 19:11:25.000000000 +0400 +@@ -837,7 +837,7 @@ + userData->session=s; + ortp_zrtp_configure(context); + ortp_message("Initialized ZRTP context"); +- zrtp_initializeZrtpEngine(context, &userData->zrtp_cb, userAgentStr, params->zid_file, userData, 0); ++ zrtp_initializeZrtpEngine(context, &userData->zrtp_cb, userAgentStr, params->zid_file, userData); + return ortp_zrtp_configure_context(userData,s,params); + } + +@@ -867,7 +867,7 @@ + userData->session=s; + ortp_zrtp_configure(context); + +- zrtp_initializeZrtpEngine(context, &userData->zrtp_cb, userAgentStr, params->zid_file, userData, 0); ++ zrtp_initializeZrtpEngine(context, &userData->zrtp_cb, userAgentStr, params->zid_file, userData); + + ortp_message("setting zrtp_setMultiStrParams"); + zrtp_setMultiStrParams(context,multiparams,length); +Only in ortp-0.20.0.my/src: zrtp.lo +Only in ortp-0.20.0.my: stamp-h1 diff --git a/extra/slim/PKGBUILD b/extra/slim/PKGBUILD index 1ef39a739..290f217e2 100644 --- a/extra/slim/PKGBUILD +++ b/extra/slim/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 158801 2012-05-10 13:44:49Z tpowa $ +# $Id: PKGBUILD 159123 2012-05-16 10:08:44Z tpowa $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Thayer Williams <thayer@archlinux.org> # Contributor: Alexander Fehr <pizzapunk gmail com> @@ -12,7 +12,7 @@ arch=('i686' 'x86_64') url='http://slim.berlios.de/' license=('GPL2') depends=('consolekit' 'pam' 'libxmu' 'libpng' 'libjpeg' 'libxft') -makedepends=('cmake') +makedepends=('cmake' 'freeglut') backup=('etc/slim.conf' 'etc/logrotate.d/slim' 'etc/pam.d/slim') source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.gz" 'rc.d' diff --git a/extra/soprano/PKGBUILD b/extra/soprano/PKGBUILD index 5e47b1ec2..b44395501 100644 --- a/extra/soprano/PKGBUILD +++ b/extra/soprano/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 151914 2012-03-04 09:57:03Z andrea $ +# $Id: PKGBUILD 159138 2012-05-16 18:32:58Z andrea $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Tobias Powalowski <tpowa@archlinux.org> pkgname=soprano -pkgver=2.7.5 +pkgver=2.7.6 pkgrel=1 pkgdesc='A library which provides a highly usable object-oriented C++/Qt4 framework for RDF data' arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ license=('GPL' 'LGPL') depends=('qt' 'redland-storage-virtuoso' 'libiodbc' 'virtuoso') makedepends=('cmake' 'openjdk6' 'doxygen') source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2") -md5sums=('9d881ce405354da4f7c2eeee386e2859') +md5sums=('8eee947956134ea4aa2d1e94ddbd551e') build() { cd "${srcdir}" diff --git a/extra/ucommon/PKGBUILD b/extra/ucommon/PKGBUILD new file mode 100644 index 000000000..e9e78bdc0 --- /dev/null +++ b/extra/ucommon/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 159166 2012-05-16 20:55:54Z andrea $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=ucommon +pkgver=5.2.2 +pkgrel=2 +pkgdesc="A light-weight C++ library to facilitate using C++ design patterns" +arch=('i686' 'x86_64') +url="http://www.gnutelephony.org/index.php/GNU_uCommon_C++" +license=('GPL3' 'LGPL3') +depends=('openssl') +options=('!libtool') +source=("http://ftp.gnu.org/pub/gnu/commoncpp/$pkgname-$pkgver.tar.gz"{,.sig}) +md5sums=('4739fcd9db006432f1b8e2ea226e414a' + 'adb2349cffe80678e39a96c6ab5c5a5b') + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install +} diff --git a/extra/xfce4-sensors-plugin/PKGBUILD b/extra/xfce4-sensors-plugin/PKGBUILD index 3d11b36d9..bd561fa89 100644 --- a/extra/xfce4-sensors-plugin/PKGBUILD +++ b/extra/xfce4-sensors-plugin/PKGBUILD @@ -1,21 +1,23 @@ -# $Id: PKGBUILD 157883 2012-04-30 04:21:17Z foutrelis $ -# Maintainer: Andreas Radke <andyrtr@archlinux.org> +# $Id: PKGBUILD 159140 2012-05-16 19:30:19Z foutrelis $ +# Maintainer: +# Contributor: Andreas Radke <andyrtr@archlinux.org> # Contributor: Merk Matthias <macem@chello.at> pkgname=xfce4-sensors-plugin -pkgver=1.2.3 -pkgrel=5 +pkgver=1.2.5 +pkgrel=1 pkgdesc="A lm_sensors plugin for the Xfce panel" arch=('i686' 'x86_64') -license=('GPL2') url="http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin" +license=('GPL2') groups=('xfce4-goodies') -depends=('xfce4-panel' 'lm_sensors' 'libnotify' 'hddtemp' 'hicolor-icon-theme') -makedepends=('intltool' 'gnu-netcat') +depends=('xfce4-panel' 'lm_sensors' 'libnotify' 'hicolor-icon-theme') +makedepends=('intltool' 'hddtemp' 'gnu-netcat') +optdepends=('hddtemp: for monitoring the temperature of hard drives') options=('!libtool') install=$pkgname.install source=(http://archive.xfce.org/src/panel-plugins/$pkgname/1.2/$pkgname-$pkgver.tar.bz2) -sha256sums=('3dd27348f7b38b55e53aa8d851cdb80e090b8830ca9e705bf32641679f08d326') +sha256sums=('6b3c12917116c0610c0ca0824357afcc4ab4553301241e27aa9665159b834c1e') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/extra/xfce4-sensors-plugin/xfce4-sensors-plugin.install b/extra/xfce4-sensors-plugin/xfce4-sensors-plugin.install index ef6375367..e4f8fd06c 100644 --- a/extra/xfce4-sensors-plugin/xfce4-sensors-plugin.install +++ b/extra/xfce4-sensors-plugin/xfce4-sensors-plugin.install @@ -1,25 +1,13 @@ -post_common() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - post_install() { - post_common - - echo '> Make sure the hddtemp daemon is running, otherwise xfce4-sensors will' - echo '> crash on start.' + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor } post_upgrade() { - post_common - - if (($(vercmp $2 1.2.3-4) < 0)); then - echo '> Make sure the hddtemp daemon is running, otherwise xfce4-sensors will' - echo '> crash on start.' - fi + post_install } post_remove() { - post_common + post_install } # vim:set ts=2 sw=2 et: |