diff options
author | root <root@rshg054.dnsready.net> | 2012-09-27 00:42:08 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-09-27 00:42:08 -0700 |
commit | bd8faf795abf6d91abdc52bc968829cc2efae4bb (patch) | |
tree | c073a5288d3917e9aa98d3762479ad083c5ceafe | |
parent | 483f8b3ac46ac2d40e8cc2f9c25365741bebc791 (diff) |
Thu Sep 27 00:42:07 PDT 2012
42 files changed, 920 insertions, 64 deletions
diff --git a/community/lxdm/PKGBUILD b/community/lxdm/PKGBUILD index 4a6d1c707..7fb73b5b1 100644 --- a/community/lxdm/PKGBUILD +++ b/community/lxdm/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 74705 2012-08-02 08:51:42Z bpiotrowski $ +# $Id: PKGBUILD 76688 2012-09-26 21:14:05Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: AndyRTR <andyrtr@archlinux.org> # Contributor: kiefer <jorgelmadrid@gmail.com> pkgname=lxdm pkgver=0.4.1 -pkgrel=14 +pkgrel=15 pkgdesc='Lightweight X11 Display Manager' arch=('i686' 'x86_64') url="http://sourceforge.net/projects/lxdm/" diff --git a/community/lxdm/lxdm.install b/community/lxdm/lxdm.install index eaf2339cd..4d1285dc5 100644 --- a/community/lxdm/lxdm.install +++ b/community/lxdm/lxdm.install @@ -1,24 +1,18 @@ -pkgname=lxdm - post_install() { - if [ -z "`getent group "lxdm" 2> /dev/null`" ]; then - groupadd lxdm - chown root:lxdm /etc/lxdm/lxdm.conf - fi - chown -R root:lxdm /var/lib/lxdm > /dev/null - chmod +r /etc/lxdm/lxdm.conf + if ! getent group lxdm > /dev/null ; then + groupadd --system lxdm + chgrp -R lxdm /var/lib/lxdm + chgrp lxdm /etc/lxdm/lxdm.conf + chmod +r /etc/lxdm/lxdm.conf + fi } post_upgrade() { - post_install + post_install $1 } post_remove() { - getent group "lxdm" &>/dev/null && groupdel lxdm #1>/dev/null - return 0 + if ! getent group lxdm > /dev/null ; then + groupdel lxdm + fi } - -op=$1 -shift - -$op "$@" diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD index 066c0c47d..7234f166f 100644 --- a/community/nodejs/PKGBUILD +++ b/community/nodejs/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 76180 2012-09-12 17:56:42Z bpiotrowski $ +# $Id: PKGBUILD 76680 2012-09-26 13:50:57Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: James Campos <james.r.campos@gmail.com> @@ -8,7 +8,7 @@ # Contributor: TIanyi Cui <tianyicui@gmail.com> pkgname=nodejs -pkgver=0.8.9 +pkgver=0.8.10 pkgrel=1 pkgdesc='Evented I/O for V8 javascript' arch=('i686' 'x86_64') @@ -18,7 +18,7 @@ depends=('openssl' 'python2') #'v8') checkdepends=('curl') # curl used for check() options=('!emptydirs') source=("http://nodejs.org/dist/v${pkgver}/node-v${pkgver}.tar.gz") -md5sums=('5470b3951a3b2684cfa71027801bd19d') +md5sums=('e8d26670a4b0746b10e9f06e26e7f30d') build() { cd node-v${pkgver} diff --git a/community/wbar/PKGBUILD b/community/wbar/PKGBUILD index 6dbc694a1..3d20bcbd6 100644 --- a/community/wbar/PKGBUILD +++ b/community/wbar/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 67431 2012-03-11 19:04:07Z lcarlier $ +# $Id: PKGBUILD 76682 2012-09-26 19:34:38Z jlichtblau $ # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=wbar -pkgver=2.3.0 +pkgver=2.3.4 pkgrel=1 pkgdesc="A quick launch bar developed with speed in mind" arch=('i686' 'x86_64') @@ -11,8 +11,8 @@ url="http://code.google.com/p/wbar" license=('GPL') depends=('libglade' 'imlib2' 'gcc-libs') makedepends=('intltool') -source=(http://wbar.googlecode.com/files/${pkgname}_${pkgver}.orig.tar.gz) -sha256sums=('1a192f150eae92d1c92b86050e4f8046de960a2452c48190187dd6b7a89df63b') +source=(http://wbar.googlecode.com/files/$pkgname-$pkgver.tgz) +sha256sums=('46a69849e4436529aefb5cfb2c94b520d05a53c237e7773b90207f67f97a93e3') build() { cd $srcdir/$pkgname-$pkgver diff --git a/community/wbar/wbar.changelog b/community/wbar/wbar.changelog index 17916badd..95467b033 100644 --- a/community/wbar/wbar.changelog +++ b/community/wbar/wbar.changelog @@ -1,3 +1,6 @@ +2012-09-26 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * wbar 2.3.4-1 + 2011-05-21 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> * wbar 2.2.2-1 diff --git a/core/mkinitcpio-busybox/PKGBUILD b/core/mkinitcpio-busybox/PKGBUILD index 6aced1ea4..f85beb6ea 100644 --- a/core/mkinitcpio-busybox/PKGBUILD +++ b/core/mkinitcpio-busybox/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 160678 2012-06-03 16:32:18Z dreisner $ +# $Id: PKGBUILD 167188 2012-09-27 01:16:40Z dreisner $ # Maintainer: Dave Reisner <dreisner@archlinux.org> # Maintainer: Thomas Bächler <thomas@archlinux.org> pkgname=mkinitcpio-busybox -pkgver=1.20.1 +pkgver=1.20.2 pkgrel=1 pkgdesc="base initramfs tools" arch=('i686' 'x86_64') @@ -12,8 +12,10 @@ license=('GPL') depends=('glibc') options=('!buildflags') source=("http://busybox.net/downloads/busybox-$pkgver.tar.bz2" + 'glibc-2.16.patch' 'config') -sha256sums=('3e515d8abefd8583ebabffdcfccecb3b8deacf2cef7c69ab1d8755a012ec68c9' +sha256sums=('eb13ff01dae5618ead2ef6f92ba879e9e0390f9583bd545d8789d27cf39b6882' + 'fb5b6e2a0de4db5401322e5c2474ad8ce6a58615dad45b7109cfe045baf2c88d' 'd8064ed6ec21868e4afe057445e2d852b353abd595132cb1ca3ba345988772f0') build() { @@ -24,6 +26,8 @@ build() { sed 's|^\(CONFIG_EXTRA_CFLAGS\)=.*|\1="-march='"$safeflags"'"|' \ "$srcdir/config" > .config + patch -Np1 < "$srcdir/glibc-2.16.patch" + make } diff --git a/core/mkinitcpio-busybox/glibc-2.16.patch b/core/mkinitcpio-busybox/glibc-2.16.patch new file mode 100644 index 000000000..5e2fb4fa5 --- /dev/null +++ b/core/mkinitcpio-busybox/glibc-2.16.patch @@ -0,0 +1,10 @@ +--- a/include/libbb.h.orig 2012-09-17 08:28:35.215518120 -0400 ++++ b/include/libbb.h 2012-09-17 08:28:49.807212925 -0400 +@@ -44,6 +44,7 @@ + #include <sys/stat.h> + #include <sys/time.h> + #include <sys/types.h> ++#include <sys/resource.h> + #ifndef major + # include <sys/sysmacros.h> + #endif diff --git a/core/nfsidmap/PKGBUILD b/core/nfsidmap/PKGBUILD index a402e5c84..da237370d 100644 --- a/core/nfsidmap/PKGBUILD +++ b/core/nfsidmap/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 136619 2011-08-31 07:19:40Z tpowa $ +# $Id: PKGBUILD 167157 2012-09-26 16:38:02Z tpowa $ # Maintainer: # Contributor: Judd <jvinet@zeroflux.org> pkgname=nfsidmap -pkgver=0.24 -pkgrel=3 +pkgver=0.25 +pkgrel=1 pkgdesc="Library to help mapping IDs, mainly for NFSv4" arch=('i686' 'x86_64') url="http://www.citi.umich.edu/projects/nfsv4/linux/" @@ -12,7 +12,6 @@ depends=('glibc' 'libldap>=2.4.18') license=('custom:nfsidmap') options=(!libtool) source=(http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/libnfsidmap-$pkgver.tar.gz) -md5sums=('d71a1ee9881d5b5814ff3ec41256937d') build() { cd $srcdir/lib$pkgname-$pkgver @@ -27,3 +26,4 @@ package() { # install license install -Dm644 COPYING $pkgdir/usr/share/licenses/nfsidmap/LICENSE } +md5sums=('2ac4893c92716add1a1447ae01df77ab') diff --git a/core/systemd/PKGBUILD b/core/systemd/PKGBUILD index 29479db75..5e0421849 100644 --- a/core/systemd/PKGBUILD +++ b/core/systemd/PKGBUILD @@ -3,14 +3,15 @@ pkgbase=systemd pkgname=('systemd' 'systemd-sysvcompat') -pkgver=189 -pkgrel=4 +pkgver=192 +pkgrel=1 arch=('i686' 'x86_64') url="http://www.freedesktop.org/wiki/Software/systemd" license=('GPL2' 'LGPL2.1' 'MIT') makedepends=('acl' 'cryptsetup' 'dbus-core' 'docbook-xsl' 'gobject-introspection' 'gperf' 'gtk-doc' 'intltool' 'kmod' 'libcap' 'libgcrypt' 'libxslt' 'linux-api-headers' - 'pam' 'xz') + 'pam' 'quota-tools' 'xz') +checkdepends=('python') options=('!libtool') source=("http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz" 'initcpio-hook-udev' @@ -18,12 +19,12 @@ source=("http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz" 'initcpio-install-timestamp' '0001-Reinstate-TIMEOUT-handling.patch' 'use-split-usr-path.patch') -md5sums=('ac2eb313f5dce79622f60aac56bca66d' +md5sums=('e8692055923e87f7f9cb634d44314edb' 'e99e9189aa2f6084ac28b8ddf605aeb8' '59e91c4d7a69b7bf12c86a9982e37ced' 'df69615503ad293c9ddf9d8b7755282d' '5543be25f205f853a21fa5ee68e03f0d' - '482dba45a783f06c2239f1355f4ce72f') + 'fd5b5f04ab0a847373d357555129d4c0') build() { cd "$pkgname-$pkgver" @@ -49,6 +50,10 @@ build() { make } +check() { + make -C "$pkgname-$pkgver" check +} + package_systemd() { pkgdesc="system and service manager" depends=('acl' 'bash' 'dbus-core' 'glib2' 'kbd' 'kmod' 'hwids' 'libcap' 'libgcrypt' @@ -60,7 +65,8 @@ package_systemd() { 'python2-cairo: systemd-analyze' 'python2-dbus: systemd-analyze' 'systemd-sysvcompat: symlink package to provide sysvinit binaries' - 'cryptsetup: required for encrypted block devices') + 'cryptsetup: required for encrypted block devices' + 'quota-tools: kernel-level quota management') backup=(etc/dbus-1/system.d/org.freedesktop.systemd1.conf etc/dbus-1/system.d/org.freedesktop.hostname1.conf etc/dbus-1/system.d/org.freedesktop.login1.conf @@ -130,9 +136,14 @@ package_systemd() { package_systemd-sysvcompat() { pkgdesc="sysvinit compat for systemd" - conflicts=('sysvinit') + conflicts=('sysvinit' 'initscripts') depends=('sysvinit-tools') + # the initscripts conflict here isn't actually needed, but in order to make + # this package remove both sysvinit and initscripts, the initscripts conflict + # is needed. There's no case in which you would ever want initscripts installed + # without sysvinit, and vice versa, as in both cases, they are unusable. + mv "$srcdir/_sysvcompat"/* "$pkgdir" install -dm755 "$pkgdir/sbin" diff --git a/core/systemd/use-split-usr-path.patch b/core/systemd/use-split-usr-path.patch index 057045bf1..2fd32998d 100644 --- a/core/systemd/use-split-usr-path.patch +++ b/core/systemd/use-split-usr-path.patch @@ -1,6 +1,6 @@ ---- a/src/core/main.c 2012-07-17 19:46:24.000000000 -0400 -+++ b/src/core/main.c 2012-07-27 10:04:13.000000000 -0400 -@@ -1379,11 +1379,7 @@ +--- a/src/core/main.c 2012-09-20 23:02:54.000000000 -0400 ++++ b/src/core/main.c 2012-09-20 23:03:13.000000000 -0400 +@@ -1455,11 +1455,7 @@ /* Set up PATH unless it is already set */ setenv("PATH", @@ -9,6 +9,6 @@ -#else - "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", -#endif - arg_running_as == MANAGER_SYSTEM); + arg_running_as == SYSTEMD_SYSTEM); - if (arg_running_as == MANAGER_SYSTEM) { + if (arg_running_as == SYSTEMD_SYSTEM) { diff --git a/extra/feh/PKGBUILD b/extra/feh/PKGBUILD index 046e975d4..1274c5c59 100644 --- a/extra/feh/PKGBUILD +++ b/extra/feh/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 166623 2012-09-13 11:39:21Z bisson $ +# $Id: PKGBUILD 167159 2012-09-26 17:14:45Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: dorphell <dorphell@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=feh -pkgver=2.6.1 +pkgver=2.6.2 pkgrel=1 pkgdesc='Fast and light imlib2-based image viewer' url='http://feh.finalrewind.org/' @@ -16,7 +16,7 @@ optdepends=('perl: feh-cam, webcam wrapper for feh' 'imagemagick: support more file formats') makedepends=('libxt') source=("${url}${pkgname}-${pkgver}.tar.bz2") -sha1sums=('09f2c03b0fc6b9e37fb998e42e3f7626b9fdfbad') +sha1sums=('a2c6cf99ef2128834d14c0367cb5a9a11957ba6c') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/extra/gnu-efi-libs/PKGBUILD b/extra/gnu-efi-libs/PKGBUILD new file mode 100644 index 000000000..f71cd69b5 --- /dev/null +++ b/extra/gnu-efi-libs/PKGBUILD @@ -0,0 +1,75 @@ +# $Id: PKGBUILD 167140 2012-09-26 06:30:46Z tpowa $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +# Maintainer : Keshav P R <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)> +# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com> + +_pkgver="3.0" +pkgname="gnu-efi-libs" +pkgver="${_pkgver}q" +pkgrel="1" +pkgdesc="Library for building x86_64 and i386 UEFI Applications using GNU toolchain" +url="http://sourceforge.net/projects/gnu-efi/" +license=('GPL') +arch=('i686' 'x86_64') +makedepends=('pciutils') +if [[ "${CARCH}" == "x86_64" ]]; then + makedepends+=('lib32-glibc') +fi +conflicts=('gnu-efi') +provides=('gnu-efi') +replaces=('gnu-efi') +options=('!strip' '!makeflags') +source=("http://download.sourceforge.net/gnu-efi/gnu-efi_${pkgver}.orig.tar.gz") +sha1sums=('99d29be5fd17dfca762cf0e265477862c21d63bb') + +_build_gnu-efi-libs-x86_64() { + cp -r "${srcdir}/gnu-efi-${_pkgver}" "${srcdir}/gnu-efi-${_pkgver}-x86_64" + cd "${srcdir}/gnu-efi-${_pkgver}-x86_64/" + ARCH="x86_64" make + ARCH="x86_64" make -C apps all +} + +_build_gnu-efi-libs-i386() { + cp -r "${srcdir}/gnu-efi-${_pkgver}" "${srcdir}/gnu-efi-${_pkgver}-i386" + cd "${srcdir}/gnu-efi-${_pkgver}-i386/" + ARCH="ia32" make + ARCH="ia32" make -C apps all +} + +build() { + ## Fix Makefiles to enable compile for both UEFI arch + sed 's|INSTALLROOT=/usr/local|INSTALLROOT ?= /usr/lib|g' -i "${srcdir}/gnu-efi-${_pkgver}/Make.defaults" + sed 's|LIBDIR=lib|LIBDIR ?= lib|g' -i "${srcdir}/gnu-efi-${_pkgver}/Make.defaults" + sed 's|ARCH :=|ARCH ?=|g' -i "${srcdir}/gnu-efi-${_pkgver}/Make.defaults" + sed 's|-fno-strict-aliasing|-fno-strict-aliasing -fno-stack-protector|g' -i "${srcdir}/gnu-efi-${_pkgver}/Make.defaults" + if [[ "${CARCH}" == "x86_64" ]]; then + _build_gnu-efi-libs-x86_64 + fi + _build_gnu-efi-libs-i386 +} + +_package_gnu-efi-libs-x86_64() { + cd "${srcdir}/gnu-efi-${_pkgver}-x86_64/" + make ARCH="x86_64" INSTALLROOT="${pkgdir}/usr/" LIBDIR="lib" install + install -d "${pkgdir}/usr/share/gnu-efi/x86_64/" + install -D -m0644 "${srcdir}/gnu-efi-${_pkgver}-x86_64/apps"/*.efi "${pkgdir}/usr/share/gnu-efi/x86_64/" +} + +_package_gnu-efi-libs-i386() { + cd "${srcdir}/gnu-efi-${_pkgver}-i386/" + make ARCH="ia32" INSTALLROOT="${pkgdir}/usr/" LIBDIR="${_LIBDIR32}" install + install -d "${pkgdir}/usr/share/gnu-efi/i386/" + install -D -m0644 "${srcdir}/gnu-efi-${_pkgver}-i386/apps"/*.efi "${pkgdir}/usr/share/gnu-efi/i386/" +} + +package() { + if [[ "${CARCH}" == "x86_64" ]]; then + _package_gnu-efi-libs-x86_64 + + _LIBDIR32="lib32" + _package_gnu-efi-libs-i386 + else + _LIBDIR32="lib" + _package_gnu-efi-libs-i386 + fi +} diff --git a/extra/ladspa/PKGBUILD b/extra/ladspa/PKGBUILD index 3f0fb5aad..4885aaa34 100644 --- a/extra/ladspa/PKGBUILD +++ b/extra/ladspa/PKGBUILD @@ -1,22 +1,25 @@ -# $Id: PKGBUILD 137623 2011-09-10 08:28:05Z pierre $ +# $Id: PKGBUILD 167138 2012-09-26 05:02:07Z foutrelis $ # Maintainer: damir <damir@archlinux.org> pkgname=ladspa pkgver=1.13 -pkgrel=3 +pkgrel=4 pkgdesc="Linux Audio Developer's Simple Plugin API (LADSPA)" arch=('i686' 'x86_64') license=('LGPL') url="http://www.ladspa.org/" depends=('gcc-libs') source=("http://www.ladspa.org/download/${pkgname}_sdk_${pkgver}.tgz" - 'hardcode-path.patch') + 'fix-memleak-in-plugin-scanning.patch' + 'fallback-ladspa-path.patch') md5sums=('671be3e1021d0722cadc7fb27054628e' - '27743258232d828575d66940e6de2858') + '478c400e04c9db9cfd6ee1198beec9c5' + '8a0ad7d442662af160381e7302c6ed4c') build() { cd "${srcdir}/${pkgname}_sdk/src" - patch -Np1 -i "${srcdir}/hardcode-path.patch" + patch -Np1 -i "${srcdir}/fix-memleak-in-plugin-scanning.patch" + patch -Np2 -i "${srcdir}/fallback-ladspa-path.patch" sed \ -e 's/mkdirhier/mkdir -p/' \ -e "s#-O3#${CFLAGS} ${LDFLAGS/,--as-needed/}#" \ diff --git a/extra/ladspa/fallback-ladspa-path.patch b/extra/ladspa/fallback-ladspa-path.patch new file mode 100644 index 000000000..7743bf4b4 --- /dev/null +++ b/extra/ladspa/fallback-ladspa-path.patch @@ -0,0 +1,27 @@ +diff -upr ladspa_sdk.orig/src/load.c ladspa_sdk/src/load.c +--- ladspa_sdk.orig/src/load.c 2012-09-26 07:37:24.000000000 +0300 ++++ ladspa_sdk/src/load.c 2012-09-26 07:38:58.000000000 +0300 +@@ -54,6 +54,8 @@ dlopenLADSPA(const char * pcFilename, in + to search. */ + + pcLADSPAPath = getenv("LADSPA_PATH"); ++ if (! pcLADSPAPath) ++ pcLADSPAPath = "/usr/lib/ladspa"; + + if (pcLADSPAPath) { + +diff -upr ladspa_sdk.orig/src/search.c ladspa_sdk/src/search.c +--- ladspa_sdk.orig/src/search.c 2012-09-26 07:37:24.000000000 +0300 ++++ ladspa_sdk/src/search.c 2012-09-26 07:38:46.000000000 +0300 +@@ -99,10 +99,7 @@ LADSPAPluginSearch(LADSPAPluginSearchCal + + pcLADSPAPath = getenv("LADSPA_PATH"); + if (!pcLADSPAPath) { +- fprintf(stderr, +- "Warning: You do not have a LADSPA_PATH " +- "environment variable set.\n"); +- return; ++ pcLADSPAPath = "/usr/lib/ladspa"; + } + + pcStart = pcLADSPAPath; diff --git a/extra/ladspa/fix-memleak-in-plugin-scanning.patch b/extra/ladspa/fix-memleak-in-plugin-scanning.patch new file mode 100644 index 000000000..76cb2e864 --- /dev/null +++ b/extra/ladspa/fix-memleak-in-plugin-scanning.patch @@ -0,0 +1,11 @@ +--- src/search.c.orig 2008-11-07 00:38:18.000000000 +0100 ++++ src/search.c 2008-11-07 00:50:51.000000000 +0100 +@@ -83,6 +83,8 @@ + dlclose(pcFilename); + free(pcFilename); + } ++ } else { ++ free(pcFilename); + } + } + } diff --git a/gnome-unstable/clutter-gst/PKGBUILD b/gnome-unstable/clutter-gst/PKGBUILD index 78c557bed..ce2d5b634 100644 --- a/gnome-unstable/clutter-gst/PKGBUILD +++ b/gnome-unstable/clutter-gst/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 167009 2012-09-24 18:09:58Z jgc $ +# $Id: PKGBUILD 167163 2012-09-26 17:32:54Z jgc $ # Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com> pkgname=clutter-gst -pkgver=1.9.90 +pkgver=1.9.92 pkgrel=1 pkgdesc="GStreamer bindings for clutter" arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ depends=('clutter' 'gst-plugins-base-libs' 'libxdamage') makedepends=('gobject-introspection') options=('!libtool') source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) -sha256sums=('4b05f2d282baf308e6f2e480da5fe05d0755569778caf4c320a2d47cfc682a2d') +sha256sums=('5c09dce218f711a44bd4d741e2dd10ffc47e7fcd7b0cf514ca0e92b825c76c45') build() { cd $pkgname-$pkgver diff --git a/gnome-unstable/gcr/PKGBUILD b/gnome-unstable/gcr/PKGBUILD index 63a5db35f..847c70eaf 100644 --- a/gnome-unstable/gcr/PKGBUILD +++ b/gnome-unstable/gcr/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 166819 2012-09-19 16:07:31Z jgc $ +# $Id: PKGBUILD 167179 2012-09-26 19:45:54Z jgc $ # Maintainer: Ionut Biru <ibiru@archlinux.org> pkgname=gcr -pkgver=3.5.92 +pkgver=3.6.0 pkgrel=1 pkgdesc="A library for bits of crypto UI and parsing" arch=(i686 x86_64) @@ -13,7 +13,7 @@ makedepends=('intltool' 'gobject-introspection') options=(!libtool) install=gcr.install source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) -sha256sums=('040919b750b7177ccfbfeba0910848f83356bc3b52e231f47aebbcf657cd6a34') +sha256sums=('b84e0779cf8977953e9fdfea294bfa377522ca745f75abccf8d2a2909207c090') build() { cd "$pkgname-$pkgver" diff --git a/gnome-unstable/gdm/PKGBUILD b/gnome-unstable/gdm/PKGBUILD new file mode 100644 index 000000000..b5f9b5f14 --- /dev/null +++ b/gnome-unstable/gdm/PKGBUILD @@ -0,0 +1,58 @@ +# $Id: PKGBUILD 167181 2012-09-26 20:17:35Z heftig $ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=gdm +pkgver=3.6.0 +pkgrel=1 +pkgdesc="Gnome Display Manager" +arch=(i686 x86_64) +license=(GPL) +url="http://www.gnome.org" +backup=(etc/pam.d/gdm-autologin etc/pam.d/gdm-fingerprint etc/pam.d/gdm-launch-environment + etc/pam.d/gdm-password etc/pam.d/gdm-smartcard etc/gdm/custom.conf) +groups=(gnome) +options=('!libtool') +depends=(libcanberra gnome-session gnome-settings-daemon metacity upower accountsservice systemd + xorg-xrdb nss polkit-gnome) +makedepends=(itstool intltool gnome-doc-utils xorg-server gobject-introspection) +optdepends=('gnome-shell: new login interface' + 'fprintd: fingerprint authentication') +install=gdm.install +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz + fix_external_program_directories.patch) +sha256sums=('ea63736fc8f7234aca442f4e99b3ba9cc29dce5e464ed93f7bf7eb8c49abd60b' + 'a878680734e35c1d66252cbcfe678c3961b5ff0fa16302f8796a5e7e65ffe4a2') + +build() { + cd "$pkgname-$pkgver" + patch -Np1 -i "$srcdir/fix_external_program_directories.patch" + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/gdm \ + --localstatedir=/var \ + --disable-static \ + --disable-schemas-compile \ + --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \ + --with-check-accelerated-directory=/usr/lib/gnome-session \ + --with-authentication-agent-directory=/usr/lib/polkit-gnome \ + --without-tcp-wrappers \ + --without-console-kit \ + --with-systemd \ + --with-default-pam-config=exherbo + + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool + + make -j1 # race condition building gdm-client.c, does not wait for gdm-client-glue.h +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + + chmod 1770 "$pkgdir/var/log/gdm" + chmod 700 "$pkgdir/var/lib/gdm/.config/dconf" + rm -r "$pkgdir/var/run" "$pkgdir/var/gdm" +} diff --git a/gnome-unstable/gdm/fix_external_program_directories.patch b/gnome-unstable/gdm/fix_external_program_directories.patch new file mode 100644 index 000000000..5e51a776f --- /dev/null +++ b/gnome-unstable/gdm/fix_external_program_directories.patch @@ -0,0 +1,12 @@ +diff -Nur gdm-3.3.92.orig/gui/simple-chooser/gdm-chooser-session.c gdm-3.3.92/gui/simple-chooser/gdm-chooser-session.c +--- gdm-3.3.92.orig/gui/simple-chooser/gdm-chooser-session.c 2012-03-19 22:30:05.304823391 +0000 ++++ gdm-3.3.92/gui/simple-chooser/gdm-chooser-session.c 2012-03-19 22:30:17.004732251 +0000 +@@ -131,7 +131,7 @@ + ret = FALSE; + + error = NULL; +- g_spawn_command_line_async (LIBEXECDIR "/gnome-settings-daemon", &error); ++ g_spawn_command_line_async ("/usr/lib/gnome-settings-daemon/gnome-settings-daemon", &error); + if (error != NULL) { + g_warning ("Error starting settings daemon: %s", error->message); + g_error_free (error); diff --git a/gnome-unstable/gdm/gdm.install b/gnome-unstable/gdm/gdm.install new file mode 100644 index 000000000..c48faf4ae --- /dev/null +++ b/gnome-unstable/gdm/gdm.install @@ -0,0 +1,30 @@ +pkgname=gdm + +post_install() { + getent group gdm >/dev/null 2>&1 || groupadd -g 120 gdm + getent passwd gdm > /dev/null 2>&1 || usr/sbin/useradd -c 'Gnome Display Manager' -u 120 -g gdm -d /var/lib/gdm -s /sbin/nologin gdm + passwd -l gdm > /dev/null + chown -R gdm:gdm /var/lib/gdm > /dev/null + + glib-compile-schemas /usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + dconf update +} + +pre_upgrade() { + if [ -f /usr/share/gconf/schemas/${pkgname}.schemas ]; then + gconfpkg --uninstall ${pkgname} + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + glib-compile-schemas /usr/share/glib-2.0/schemas + dconf update + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + getent passwd gdm >/dev/null 2>&1 && userdel gdm + getent group gdm >/dev/null 2>&1 && groupdel gdm +} diff --git a/gnome-unstable/gnome-dictionary/PKGBUILD b/gnome-unstable/gnome-dictionary/PKGBUILD new file mode 100644 index 000000000..0e231bf4a --- /dev/null +++ b/gnome-unstable/gnome-dictionary/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 167175 2012-09-26 18:55:05Z jgc $ +# Maintainer: Ionut Biru <ibiru@archlinux.org> +pkgname=gnome-dictionary +pkgver=3.6.0 +pkgrel=1 +pkgdesc="Look up words in dictionary sources" +arch=(i686 x86_64) +url="http://gnome.org" +license=('GPL2') +depends=('dconf' 'gtk3') +makedepends=('intltool' 'itstool' 'docbook-xsl') +install=$pkgname.install +options=(!libtool) +groups=('gnome-extra') +source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('1ad03f629bbfe4360fc6d8dd2d7cb4a03e24579068bdd79a25ff5fc5fbff6fa9') + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/gnome-unstable/gnome-dictionary/gnome-dictionary.install b/gnome-unstable/gnome-dictionary/gnome-dictionary.install new file mode 100644 index 000000000..c25dff2d3 --- /dev/null +++ b/gnome-unstable/gnome-dictionary/gnome-dictionary.install @@ -0,0 +1,11 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/gnome-unstable/gnome-games/PKGBUILD b/gnome-unstable/gnome-games/PKGBUILD new file mode 100644 index 000000000..cce30bd0a --- /dev/null +++ b/gnome-unstable/gnome-games/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 167161 2012-09-26 17:29:17Z jgc $ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Contributor: Jan de Groot <jgc@archlinux.org> + +pkgname=gnome-games +pkgver=3.6.0.2 +pkgrel=1 +pkgdesc="Some Games for GNOME" +arch=('i686' 'x86_64') +license=('GPL') +depends=('desktop-file-utils' 'libcanberra' 'clutter-gtk' 'hicolor-icon-theme' 'librsvg' 'python2-gobject' 'dconf') +makedepends=('yelp-tools' 'intltool' 'gobject-introspection' 'vala') +options=('!emptydirs' '!libtool') +install=gnome-games.install +url="http://www.gnome.org" +groups=('gnome-extra') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz) +sha256sums=('353b416dd86e2b6f323d28011c9b478b9848fabc5686a2e01bbd35e36402ed2c') + +build() { + cd $pkgname-$pkgver + PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static --disable-schemas-compile \ + --with-scores-user=root --with-scores-group=games \ + --enable-introspection=yes + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + + # Remove all scores, we generate them from postinstall + rm -rf "$pkgdir/var" + + sed -i 's_#! /usr/bin/env python_#!/usr/bin/env python2_' "$pkgdir/usr/bin/gnome-sudoku" +} diff --git a/gnome-unstable/gnome-games/gnome-games.install b/gnome-unstable/gnome-games/gnome-games.install new file mode 100644 index 000000000..2fad5db0b --- /dev/null +++ b/gnome-unstable/gnome-games/gnome-games.install @@ -0,0 +1,122 @@ +_scores=(glines.Small.scores + glines.Medium.scores + glines.Large.scores + gnibbles.4.0.scores + gnibbles.3.0.scores + gnibbles.2.0.scores + gnibbles.1.0.scores + gnibbles.4.1.scores + gnibbles.3.1.scores + gnibbles.2.1.scores + gnibbles.1.1.scores + gnobots2.robots2.scores + gnobots2.robots2-safe.scores + gnobots2.robots2-super-safe.scores + gnobots2.robots2_easy.scores + gnobots2.robots2_easy-safe.scores + gnobots2.robots2_easy-super-safe.scores + gnobots2.classic_robots.scores + gnobots2.classic_robots-safe.scores + gnobots2.classic_robots-super-safe.scores + gnobots2.robots_with_safe_teleport.scores + gnobots2.robots_with_safe_teleport-safe.scores + gnobots2.robots_with_safe_teleport-super-safe.scores + gnobots2.nightmare.scores + gnobots2.nightmare-safe.scores + gnobots2.nightmare-super-safe.scores + gnomine.Small.scores + gnomine.Medium.scores + gnomine.Large.scores + gnomine.Custom.scores + gnotravex.2x2.scores + gnotravex.3x3.scores + gnotravex.4x4.scores + gnotravex.5x5.scores + gnotravex.6x6.scores + gnotski.1.scores + gnotski.2.scores + gnotski.3.scores + gnotski.4.scores + gnotski.5.scores + gnotski.6.scores + gnotski.7.scores + gnotski.8.scores + gnotski.9.scores + gnotski.10.scores + gnotski.11.scores + gnotski.12.scores + gnotski.13.scores + gnotski.14.scores + gnotski.15.scores + gnotski.16.scores + gnotski.17.scores + gnotski.18.scores + gnotski.19.scores + gnotski.20.scores + gnotski.21.scores + gnotski.22.scores + gnotski.23.scores + gnotski.24.scores + gnotski.25.scores + gnotski.26.scores + gnotski.27.scores + gnotski.28.scores + gnotski.29.scores + gnotski.30.scores + gnotski.31.scores + gnotski.32.scores + gnotski.33.scores + gnotski.34.scores + gnotski.35.scores + gnotski.36.scores + gnotski.37.scores + gtali.Regular.scores + gtali.Colors.scores + gnome-mahjongg.easy.scores + gnome-mahjongg.difficult.scores + gnome-mahjongg.confounding.scores + gnome-mahjongg.pyramid.scores + gnome-mahjongg.tictactoe.scores + gnome-mahjongg.cloud.scores + gnome-mahjongg.dragon.scores + gnome-mahjongg.bridges.scores + gnome-mahjongg.ziggurat.scores + quadrapassel.scores + swell-foop.small.scores + swell-foop.normal.scores + swell-foop.large.scores) + +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + + for score in "${_scores[@]}" ; do + if [ -e "var/games/$score" ]; then + continue + fi + + touch "var/games/$score" + chown root:games "var/games/$score" + chmod 664 "var/games/$score" + done +} + +pre_upgrade() { + (( $(vercmp $2 3.3.5) < 0 )) && gconfpkg --uninstall gnome-games + return 0 +} + +post_upgrade() { + post_install +} + +post_remove() { + glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q + gtk-update-icon-cache -q -f -t usr/share/icons/hicolor + + for score in "${_scores[@]}" ; do + rm -f "var/games/$score" + done +} diff --git a/gnome-unstable/gnome-screensaver/PKGBUILD b/gnome-unstable/gnome-screensaver/PKGBUILD new file mode 100644 index 000000000..921bcaf1f --- /dev/null +++ b/gnome-unstable/gnome-screensaver/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 167171 2012-09-26 18:49:51Z jgc $ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Contributor: Jan de Groot <jgc@archlinux.org> + +pkgname=gnome-screensaver +pkgver=3.6.0 +pkgrel=1 +pkgdesc="Screensaver designed to integrate well with the GNOME desktop." +arch=('i686' 'x86_64') +license=('GPL') +url="http://live.gnome.org/GnomeScreensaver" +backup=(etc/pam.d/gnome-screensaver) +depends=('dbus-glib' 'libgnomekbd' 'gnome-desktop' 'gsettings-desktop-schemas' 'libsystemd') +makedepends=('pkgconfig' 'intltool' 'libxss') +groups=('gnome') +options=(!emptydirs) +install=gnome-screensaver.install +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz + gnome-screensaver.pam) +sha256sums=('4c6579edb764a1108f7ce374a901797cf1de666113fcdc51642d805ff16c5c26' + 'c19870c4f2d6e91ba0eea2603753a74e0c5c82ff5fa3cacb1198027a38d0a6cb') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/gnome-screensaver \ + --localstatedir=/var \ + --with-mit-ext --with-systemd + + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -Dm644 ../gnome-screensaver.pam "$pkgdir/etc/pam.d/gnome-screensaver" +} diff --git a/gnome-unstable/gnome-screensaver/gnome-screensaver.install b/gnome-unstable/gnome-screensaver/gnome-screensaver.install new file mode 100644 index 000000000..d1a42c6ce --- /dev/null +++ b/gnome-unstable/gnome-screensaver/gnome-screensaver.install @@ -0,0 +1,7 @@ +pkgname=gnome-screensaver + +pre_upgrade() { + if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then + gconfpkg --uninstall ${pkgname} + fi +} diff --git a/gnome-unstable/gnome-screensaver/gnome-screensaver.pam b/gnome-unstable/gnome-screensaver/gnome-screensaver.pam new file mode 100644 index 000000000..453dae646 --- /dev/null +++ b/gnome-unstable/gnome-screensaver/gnome-screensaver.pam @@ -0,0 +1,3 @@ +#%PAM-1.0 +auth required pam_unix_auth.so nullok +auth optional pam_gnome_keyring.so diff --git a/gnome-unstable/gnome-session/PKGBUILD b/gnome-unstable/gnome-session/PKGBUILD index 2006f5241..2d9288edd 100644 --- a/gnome-unstable/gnome-session/PKGBUILD +++ b/gnome-unstable/gnome-session/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 166422 2012-09-07 17:46:20Z jgc $ +# $Id: PKGBUILD 167167 2012-09-26 18:35:43Z jgc $ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> pkgname=gnome-session -pkgver=3.5.91 +pkgver=3.6.0 pkgrel=1 pkgdesc="The GNOME Session Handler" arch=(i686 x86_64) @@ -17,7 +17,7 @@ url="http://www.gnome.org" groups=('gnome') source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz gnome-session-3.3.1-llvmpipe.patch timeout.patch) -sha256sums=('407fe44f8567318a789ae013f2f5f6da27b458e93ad4f66e287719e23b4e6c84' +sha256sums=('f82b236f18bc78cef16d4cc3d3892f9a5afff81fdb3e04319b3505aa00e888c1' '59ea58012febe48a67dabd944dc638400637ad4d296d63b63b585f10eea4f85e' '9eaf31857b41db417475c3b14adc11b10c8226ed76978cdf96dd648fa6e505fc') diff --git a/gnome-unstable/libgnome-keyring/PKGBUILD b/gnome-unstable/libgnome-keyring/PKGBUILD index a2599e1c4..cf9d595e1 100644 --- a/gnome-unstable/libgnome-keyring/PKGBUILD +++ b/gnome-unstable/libgnome-keyring/PKGBUILD @@ -1,8 +1,8 @@ -#$Id: PKGBUILD 166414 2012-09-07 17:06:04Z jgc $ +#$Id: PKGBUILD 167177 2012-09-26 19:37:17Z jgc $ #Maintainer: Jan De Groot <jgc@archlinux.org> pkgname=libgnome-keyring -pkgver=3.5.6 +pkgver=3.6.0 pkgrel=1 pkgdesc="GNOME keyring client library" arch=(i686 x86_64) @@ -12,7 +12,7 @@ makedepends=('intltool' 'gobject-introspection') options=('!libtool' '!emptydirs') url="http://www.gnome.org" source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) -sha256sums=('c4b99d7d24fe125d4bebb09b468ac086069e2f48ffdb9a33e894ea28542d4467') +sha256sums=('6dca37fb7b37f800f498031ffe303a567410bec09a9bdd877a18865dafcc9830') build() { cd "$pkgname-$pkgver" diff --git a/gnome-unstable/libgnomekbd/PKGBUILD b/gnome-unstable/libgnomekbd/PKGBUILD new file mode 100644 index 000000000..2c7afa73b --- /dev/null +++ b/gnome-unstable/libgnomekbd/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 167169 2012-09-26 18:42:15Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=libgnomekbd +pkgver=3.6.0 +pkgrel=1 +pkgdesc="Gnome keyboard library" +url="http://gswitchit.sourceforge.net" +arch=('i686' 'x86_64') +license=('LGPL') +depends=('libxklavier' 'gtk3' 'dconf') +makedepends=('intltool' 'gobject-introspection') +options=('!libtool' '!emptydirs') +install=libgnomekbd.install +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver:0:3}/$pkgname-$pkgver.tar.xz) +sha256sums=('c41ea5b0f64da470925ba09f9f1b46b26b82d4e433e594b2c71eab3da8856a09') + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr --sysconfdir=/etc \ + --disable-schemas-compile + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/gnome-unstable/libgnomekbd/libgnomekbd.install b/gnome-unstable/libgnomekbd/libgnomekbd.install new file mode 100644 index 000000000..a3d820459 --- /dev/null +++ b/gnome-unstable/libgnomekbd/libgnomekbd.install @@ -0,0 +1,11 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/gnome-unstable/zenity/PKGBUILD b/gnome-unstable/zenity/PKGBUILD new file mode 100644 index 000000000..2269a84c3 --- /dev/null +++ b/gnome-unstable/zenity/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 167165 2012-09-26 17:56:40Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=zenity +pkgver=3.6.0 +pkgrel=1 +pkgdesc="Display graphical dialog boxes from shell scripts" +arch=(i686 x86_64) +license=('LGPL') +depends=('gtk3' 'libnotify') +makedepends=('intltool' 'gtk-doc' 'itstool' 'docbook-xsl') +url="http://www.gnome.org" +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) +sha256sums=('5de4ebbb6888ad4928fa9eebcd42dbe5bb282bee9dd7dd21475d9eaa854c74be') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="${pkgdir}" install +} diff --git a/pcr/ffmpeg-static/PKGBUILD b/pcr/ffmpeg-static/PKGBUILD new file mode 100644 index 000000000..592c4a7bf --- /dev/null +++ b/pcr/ffmpeg-static/PKGBUILD @@ -0,0 +1,61 @@ +# $Id$ +# Maintainer : Ionut Biru <ibiru@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> +# Contributor: Paul Mattal <paul@archlinux.org> +# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> + +pkgname=ffmpeg-static +pkgver=0.11.2 +pkgrel=1 +epoch=1 +pkgdesc='Complete and free Internet live audio and video broadcasting solution for GNU/Linux, with static library' +arch=(i686 x86_64 mips64el) +url=http://${pkgname%-static}.org/ +license=(GPL) +depends=(alsa-lib bzip2 gsm lame libpulse libtheora libva libvorbis libvpx opencore-amr openjpeg rtmpdump schroedinger sdl speex v4l-utils x264 xvidcore zlib) +makedepends=(yasm libvdpau) +provides=(${pkgname%-static}) +conflicts=(${pkgname%-static}) +source=(http://${pkgname%-static}.org/releases/${pkgname%-static}-$pkgver.tar.bz2) +md5sums=(93c1908022567b321df74db7214da6ac) + +build() { + cd ${pkgname%-static}-$pkgver + + ./configure \ + --prefix=/usr \ + --enable-libmp3lame \ + --enable-libvorbis \ + --enable-libxvid \ + --enable-libx264 \ + --enable-libvpx \ + --enable-libtheora \ + --enable-libgsm \ + --enable-libspeex \ + --enable-postproc \ + --enable-shared \ + --enable-x11grab \ + --enable-libopencore_amrnb \ + --enable-libopencore_amrwb \ + --enable-libschroedinger \ + --enable-libopenjpeg \ + --enable-librtmp \ + --enable-libpulse \ + --enable-libv4l2 \ + --enable-gpl \ + --enable-version3 \ + --enable-runtime-cpudetect \ + --disable-debug \ + --enable-static + make + make tools/qt-faststart + make doc/ff{mpeg,play,server}.1 +} + +package() { + cd ${pkgname%-static}-$pkgver + make DESTDIR="$pkgdir" install install-man + install -D -m755 tools/qt-faststart "$pkgdir/usr/bin/qt-faststart" +} + +# vim:set ts=2 sw=2 et: diff --git a/testing/brltty/PKGBUILD b/testing/brltty/PKGBUILD new file mode 100644 index 000000000..76d9f9466 --- /dev/null +++ b/testing/brltty/PKGBUILD @@ -0,0 +1,50 @@ +# $Id: PKGBUILD 167187 2012-09-26 22:24:47Z tomegun $ +# Maintainer: +# Contributor: Jan de Groot <jgc@archlinux.org> +# Contributor: Giovanni Scafora <giovanni@archlinux.org> + +pkgname=brltty +pkgver=4.3 +pkgrel=6 +pkgdesc="Braille display driver for Linux/Unix" +arch=('i686' 'x86_64') +url="http://mielke.cc/brltty" +license=('GPL' 'LGPL') +depends=('libxaw' 'at-spi2-core' 'gpm' 'icu' 'python2' 'tcl' 'atk' 'libxtst' 'pyrex') +makedepends=('bluez') +optdepends=('bluez: bluetooth support') +backup=(etc/brltty.conf etc/conf.d/brltty.conf) +options=('!makeflags' '!emptydirs') +install=brltty.install +source=(http://mielke.cc/$pkgname/releases/$pkgname-$pkgver.tar.gz + 'brltty' + 'brltty.conf' + 'brltty.service') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --with-screen-driver=a2 \ + --enable-gpm \ + --disable-java-bindings \ + --disable-caml-bindings \ + PYTHON=/usr/bin/python2 + + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make INSTALL_ROOT="$pkgdir" install + install -D -m755 "$srcdir/brltty" "$pkgdir/etc/rc.d/brltty" + install -D -m644 "$srcdir/brltty.conf" "$pkgdir/etc/conf.d/brltty.conf" + install -D -m644 Documents/brltty.conf "$pkgdir/etc/brltty.conf" + install -D -m644 "$srcdir/brltty.service" "$pkgdir/usr/lib/systemd/system/brltty.service" +} +md5sums=('5ada573f88df32b6150db3b9a620e20b' + '831ebaf0c56091702929c68805d20c4f' + 'a8ab8b3dd059e96e1734bc9cdcf844fc' + '7acecd700b9f94d76fe4a6ad56cb0448') diff --git a/testing/brltty/brltty b/testing/brltty/brltty new file mode 100755 index 000000000..5ed21a52d --- /dev/null +++ b/testing/brltty/brltty @@ -0,0 +1,68 @@ +#!/bin/bash + +daemon_name=brltty + +. /etc/rc.conf +. /etc/rc.d/functions +. /etc/conf.d/$daemon_name.conf + +get_pid() { + pidof -o %PPID $daemon_name +} + +case "$1" in + start) + stat_busy "Starting $daemon_name daemon" + + PID=$(get_pid) + if [ -z "$PID" ]; then + [ -f /var/run/$daemon_name.pid ] && rm -f /var/run/$daemon_name.pid + # RUN + $daemon_name $brltty_args + # + if [ $? -gt 0 ]; then + stat_fail + exit 1 + else + echo $(get_pid) > /var/run/$daemon_name.pid + add_daemon $daemon_name + stat_done + fi + else + stat_fail + exit 1 + fi + ;; + + stop) + stat_busy "Stopping $daemon_name daemon" + PID=$(get_pid) + # KILL + [ ! -z "$PID" ] && kill $PID &> /dev/null + # + if [ $? -gt 0 ]; then + stat_fail + exit 1 + else + rm -f /var/run/$daemon_name.pid &> /dev/null + rm_daemon $daemon_name + stat_done + fi + ;; + + restart) + $0 stop + sleep 3 + $0 start + ;; + + status) + stat_busy "Checking $daemon_name status"; + ck_status $daemon_name + ;; + + *) + echo "usage: $0 {start|stop|restart|status}" +esac + +exit 0 diff --git a/testing/brltty/brltty.conf b/testing/brltty/brltty.conf new file mode 100644 index 000000000..94115e1d5 --- /dev/null +++ b/testing/brltty/brltty.conf @@ -0,0 +1,2 @@ +# Specify any arguments to pass to brltty here. +brltty_args=""
\ No newline at end of file diff --git a/testing/brltty/brltty.install b/testing/brltty/brltty.install new file mode 100644 index 000000000..952ae58ff --- /dev/null +++ b/testing/brltty/brltty.install @@ -0,0 +1,20 @@ +post_install () { + getent group brlapi &>/dev/null || groupadd -r brlapi + if [ ! -e /etc/brlapi.key ]; then + mcookie >/etc/brlapi.key + chmod 0640 /etc/brlapi.key + chgrp brlapi /etc/brlapi.key + echo "Please add your user to the brlapi group." + fi +} + +post_upgrade () { + post_install +} + +post_remove () { + getent group brlapi >/dev/null 2>&1 && groupdel brlapi + if [ -e /etc/brlapi.key ]; then + rm -f /etc/brlapi.key + fi +} diff --git a/testing/brltty/brltty.service b/testing/brltty/brltty.service new file mode 100644 index 000000000..1b9d55e32 --- /dev/null +++ b/testing/brltty/brltty.service @@ -0,0 +1,12 @@ +[Unit] +Description=Braille Console Driver +DefaultDependencies=no +Before=sysinit.target + +[Service] +ExecStart=/usr/bin/brltty --pid-file=/run/brltty.pid +Type=forking +PIDFile=/run/brltty.pid + +[Install] +WantedBy=multi-user.target diff --git a/testing/fssos-nsvs/PKGBUILD b/testing/fssos-nsvs/PKGBUILD new file mode 100644 index 000000000..aca81ddc4 --- /dev/null +++ b/testing/fssos-nsvs/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 167185 2012-09-26 22:19:44Z tomegun $ +# Maintainer: Dale Blount <dale@archlinux.org> + +pkgname=fssos-nsvs +pkgver=0.5 +pkgrel=9 +pkgdesc="NSVS for FSSOS" +arch=('i686' 'x86_64') +url="http://fssos.sourceforge.net/" +license=('GPL') +depends=('bash' 'mysql') +backup=('etc/nsvsd.conf') +options=('!libtool' '!makeflags') +install=$pkgname.install +source=("http://downloads.sourceforge.net/sourceforge/fssos/nsvs-$pkgver.tar.gz" + 'nsvsd' + 'nsvsd.service') + +build() { + cd $srcdir/nsvs-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc + make CFLAGS="${CFLAGS} -D_GNU_SOURCE" +} + +package() { + cd $srcdir/nsvs-$pkgver + make DESTDIR=$pkgdir install + install -D -m755 "$srcdir/nsvsd" "$pkgdir/etc/rc.d/nsvsd" + install -D -m644 "$srcdir/nsvsd.service" "$pkgdir/usr/lib/systemd/system/nsvsd.service" +} +md5sums=('3f17c2f6339f1a322b712b467023d825' + '4dfd9dc0d69b375587e39ab2621d9ea9' + '61e970d0704875b1da83cb4e9fc0eef5') diff --git a/testing/fssos-nsvs/fssos-nsvs.install b/testing/fssos-nsvs/fssos-nsvs.install new file mode 100644 index 000000000..253ae64d2 --- /dev/null +++ b/testing/fssos-nsvs/fssos-nsvs.install @@ -0,0 +1,17 @@ +post_install() { + if [ -z "`grep '^nsvsd::' /etc/group`" ]; then + groupadd -g 83 nsvsd + fi + if [ -z "`grep '^nsvsd:' /etc/passwd`" ]; then + useradd -u 83 -d /tmp -g nsvsd -s /bin/false nsvsd + fi +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + userdel nsvsd &> /dev/null + groupdel nsvsd &> /dev/null +} diff --git a/testing/fssos-nsvs/nsvsd b/testing/fssos-nsvs/nsvsd new file mode 100755 index 000000000..f9b4845ab --- /dev/null +++ b/testing/fssos-nsvs/nsvsd @@ -0,0 +1,36 @@ +#!/bin/bash + +# general config +. /etc/rc.conf +. /etc/rc.d/functions + +case "$1" in + start) + stat_busy "Starting nsvsd" + /usr/sbin/nsvsd -f /etc/nsvsd.conf + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon nsvsd + stat_done + fi + ;; + stop) + stat_busy "Stopping nsvsd" + kill `cat /var/run/nsvsd.pid` &>/dev/null + rm -f /var/run/nsvsd.pid + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon nsvsd + stat_done + fi + ;; + restart) + $0 stop + sleep 3 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac diff --git a/testing/fssos-nsvs/nsvsd.service b/testing/fssos-nsvs/nsvsd.service new file mode 100644 index 000000000..0df5444ab --- /dev/null +++ b/testing/fssos-nsvs/nsvsd.service @@ -0,0 +1,8 @@ +[Unit] +Description=Name Service Via Sockets Daemon + +[Service] +ExecStart=/usr/sbin/nsvsd -f /etc/nsvsd.conf + +[Install] +WantedBy=multi-user.target |