diff options
author | root <root@rshg054.dnsready.net> | 2012-10-02 01:06:16 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-02 01:06:16 -0700 |
commit | 941550cbc215d608bd18439f99500b74fbb80f0d (patch) | |
tree | ced50aee5db693d8495b19c59d2bdbd6927c9393 | |
parent | 9b6be78b0c13a61c14d5278f1363eaf9c6388e4c (diff) |
Tue Oct 2 01:06:06 PDT 2012
70 files changed, 1952 insertions, 246 deletions
diff --git a/community-staging/avr-gdb/PKGBUILD b/community-staging/avr-gdb/PKGBUILD new file mode 100644 index 000000000..2dbb56ee0 --- /dev/null +++ b/community-staging/avr-gdb/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: schuay <jakob.gruber@gmail.com> +# Contributor: Ivan Sichmann Freitas <ivansichfreitas at gmail dot com> +# Contributor: Laszlo Papp <djszapi2 at gmail dot com> +# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> +# Contributor: Vladimir Cerny <blackvladimir@gmail.com> +# Contributor: 4javier <4javieregATgmailDOTcom> + +pkgname=avr-gdb +_pkgname=gdb +pkgver=7.4 +pkgrel=2 +pkgdesc="The GNU Debugger for AVR" +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/gdb/" +license=('GPL3') +depends=('python') +options=('!libtool') +source=(http://ftp.gnu.org/gnu/gdb/${_pkgname}-${pkgver}.tar.bz2) +md5sums=('95a9a8305fed4d30a30a6dc28ff9d060') + +build() { + cd ${srcdir}/${_pkgname}-${pkgver} + + unset LDFLAGS + export CFLAGS="-O2 -pipe" + export CXXFLAGS="$CFLAGS" + + ./configure --prefix=/usr \ + --target=avr \ + --disable-nls \ + --enable-languages=c,c++ \ + --infodir=/usr/share/info \ + --libdir=/usr/lib \ + --program-prefix=avr- \ + --libexecdir=/usr/lib \ + --mandir=/usr/share/man \ + --with-system-readline + make +} + +package() { + cd ${srcdir}/${_pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install + + rm -f ${pkgdir}/usr/lib/libiberty.a + rm -rf ${pkgdir}/usr/share/info + rm -rf ${pkgdir}/usr/share/gdb + rm -rf ${pkgdir}/usr/include/gdb +} diff --git a/community-testing/catalyst-dkms/3.5-do_mmap.patch b/community-testing/catalyst-dkms/3.5-do_mmap.patch new file mode 100644 index 000000000..04248eb7b --- /dev/null +++ b/community-testing/catalyst-dkms/3.5-do_mmap.patch @@ -0,0 +1,50 @@ +--- a/common/lib/modules/fglrx/build_mod/firegl_public.c 2012-06-15 18:30:13.483762070 +0200 ++++ b/common/lib/modules/fglrx/build_mod/firegl_public.c 2012-06-17 17:47:36.543041869 +0200 +@@ -2106,6 +2106,12 @@ + } + } + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 5, 0) ++# define NO_DO_MMAP ++# define do_mmap(a,b,c,d,e,f) vm_mmap(a, b, c, d, e, f) ++# define do_munmap(a,b,c) vm_munmap(b, c) ++#endif ++ + unsigned long ATI_API_CALL KCL_MEM_AllocLinearAddrInterval( + KCL_IO_FILE_Handle file, + unsigned long addr, +@@ -2117,10 +2123,13 @@ + + flags = MAP_SHARED; + prot = PROT_READ|PROT_WRITE; +- ++#ifdef NO_DO_MMAP ++ vaddr = (void *) vm_mmap(file, 0, len, prot, flags, pgoff); ++#else + down_write(¤t->mm->mmap_sem); + vaddr = (void *) do_mmap(file, 0, len, prot, flags, pgoff); + up_write(¤t->mm->mmap_sem); ++#endif + if (IS_ERR(vaddr)) + return 0; + else +@@ -2131,7 +2140,9 @@ + { + int retcode = 0; + ++#ifndef NO_DO_MMAP + down_write(¤t->mm->mmap_sem); ++#endif + #ifdef FGL_LINUX_RHEL_MUNMAP_API + retcode = do_munmap(current->mm, + addr, +@@ -2142,7 +2153,9 @@ + addr, + len); + #endif ++#ifndef NO_DO_MMAP + up_write(¤t->mm->mmap_sem); ++#endif + return retcode; + } + diff --git a/community-testing/catalyst-dkms/PKGBUILD b/community-testing/catalyst-dkms/PKGBUILD new file mode 100644 index 000000000..b238862f8 --- /dev/null +++ b/community-testing/catalyst-dkms/PKGBUILD @@ -0,0 +1,49 @@ +# $Id: PKGBUILD 76898 2012-10-01 22:40:39Z lcarlier $ +# Maintainer: Laurent Carlier <lordheavym@gmail.com> +# Contributor: Vi0L0, wonder, Eduardo "kensai" Romero +# Contributor: aidanlinz, Rip-Rip, OvsInc, Sebastian Siebert + +pkgname=catalyst-dkms +pkgver=12.8 +pkgrel=0.1 +pkgdesc="AMD proprietary gpu kernel driver" +arch=('i686' 'x86_64') +url="http://www.amd.com" +license=('custom') +depends=('linux>=3.5' 'linux-headers>=3.5' 'dkms') +source=(http://www2.ati.com/drivers/linux/amd-driver-installer-${pkgver/./-}-x86.x86_64.zip + dkms.conf + 3.5-do_mmap.patch) +md5sums=('41c5478322b13be6909eeb46412a3aa0' + '972049dc247a74a7162f2227078abcb0' + 'a450e2e3db61994b09e9d99d95bee837') +install=catalyst.install + +package() { + depends=(${depends[@]} "catalyst-utils=${pkgver}") + + cd ${srcdir} + + if [ "${CARCH}" = "x86_64" ]; then + _archdir=x86_64 + else + _archdir=x86 + fi + + sh ./amd-driver-installer*.run --extract fglrx-install + + cd fglrx-install + patch -Np1 -i ../3.5-do_mmap.patch + + install -dm755 "${pkgdir}/usr/lib/modprobe.d" + install -dm755 "${pkgdir}/usr/src/fglrx-${pkgver}-${pkgrel}" + cp -r common/lib/modules/fglrx/build_mod/* "${pkgdir}/usr/src/fglrx-${pkgver}-${pkgrel}/" + cp "arch/${_archdir}"/lib/modules/fglrx/build_mod/libfglrx_ip.a "${pkgdir}/usr/src/fglrx-${pkgver}-${pkgrel}/" + cp ${srcdir}/dkms.conf "${pkgdir}/usr/src/fglrx-${pkgver}-${pkgrel}/" + sed -i -e "s/@VERSION@/${pkgver}-${pkgrel}/" "${pkgdir}/usr/src/fglrx-${pkgver}-${pkgrel}/dkms.conf" + + echo "blacklist radeon" >> "${pkgdir}/usr/lib/modprobe.d/catalyst.conf" + + # license + install -Dm644 "${srcdir}/fglrx-install/LICENSE.TXT" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.TXT" +} diff --git a/community-testing/catalyst-dkms/catalyst.install b/community-testing/catalyst-dkms/catalyst.install new file mode 100644 index 000000000..f32e7ae7a --- /dev/null +++ b/community-testing/catalyst-dkms/catalyst.install @@ -0,0 +1,24 @@ +post_install() +{ + dkms add -m fglrx -v $1 + dkms build -m fglrx -v $1 + dkms install -m fglrx -v $1 +} + +pre_upgrade() +{ + dkms remove -m fglrx -v $1 --all +} + +post_upgrade() +{ + dkms add -m fglrx -v $1 + dkms build -m fglrx -v $1 + dkms install -m fglrx -v $1 +} + +pre_remove() +{ + dkms remove -m fglrx -v $1 --all +} + diff --git a/community-testing/catalyst-dkms/dkms.conf b/community-testing/catalyst-dkms/dkms.conf new file mode 100644 index 000000000..8d312da4f --- /dev/null +++ b/community-testing/catalyst-dkms/dkms.conf @@ -0,0 +1,7 @@ +PACKAGE_NAME="fglrx" +PACKAGE_VERSION="@VERSION@" +CLEAN="rm -f *.*o" +BUILT_MODULE_NAME[0]="fglrx" +MAKE[0]="sh make.sh --nohints --uname_r=$kernelver --norootcheck" +DEST_MODULE_LOCATION[0]="/extramodules" +AUTOINSTALL="yes" diff --git a/community/cmatrix/PKGBUILD b/community/cmatrix/PKGBUILD new file mode 100644 index 000000000..2506b8326 --- /dev/null +++ b/community/cmatrix/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 76875 2012-10-01 14:55:29Z bisson $ +# Maintainer: + +pkgname=cmatrix +pkgver=1.2a +pkgrel=6 +pkgdesc="Let you see the matrix code in your console" +arch=('i686' 'x86_64') +url="http://www.asty.org/cmatrix/" +license=('GPL') +depends=('ncurses' 'fontconfig') +install=cmatrix.install +source=(http://www.asty.org/cmatrix/dist/$pkgname-$pkgver.tar.gz) +md5sums=('ebfb5733104a258173a9ccf2669968a1') +sha1sums=('ca078c10322a47e327f07a44c9a42b52eab5ad93') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + + install -Dm644 mtx.pcf "$pkgdir/usr/share/fonts/misc/mtx.pcf" + install -Dm644 matrix.fnt "$pkgdir/usr/share/kbd/consolefonts/matrix.fnt" + install -Dm644 matrix.psf.gz "$pkgdir/usr/share/kbd/consolefonts/matrix.psf.gz" +} diff --git a/community/cmatrix/cmatrix.install b/community/cmatrix/cmatrix.install new file mode 100644 index 000000000..c46fe4469 --- /dev/null +++ b/community/cmatrix/cmatrix.install @@ -0,0 +1,3 @@ +post_install() { + fc-cache +} diff --git a/community/dvdrtools/PKGBUILD b/community/dvdrtools/PKGBUILD new file mode 100644 index 000000000..fe06cc790 --- /dev/null +++ b/community/dvdrtools/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 76869 2012-10-01 14:50:59Z bisson $ +# Maintainer: Alexander Baldeck <alexander@archlinux.org> +# Contributor: dorphell <dorphell@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgname=dvdrtools +pkgver=0.3.1 +pkgrel=3 +pkgdesc="A fork of cdrtools, with the primary goal of supporting writable DVD drives" +arch=('i686' 'x86_64') +url="http://savannah.nongnu.org/projects/dvdrtools/" +license=('GPL') +depends=('file' 'bash') +makedepends=('transcode') +optdepends=('transcode: video/DVD ripper and encoder for the terminal/console') +conflicts=('cdrkit') +source=(ftp://ftp.archlinux.org/other/dvdrtools/$pkgname-$pkgver.tar.gz) +md5sums=('5707b7e877b853e258cd738938833006') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/community/gambas3/PKGBUILD b/community/gambas3/PKGBUILD index 8235914f2..6e8e7c292 100644 --- a/community/gambas3/PKGBUILD +++ b/community/gambas3/PKGBUILD @@ -1,21 +1,21 @@ -# $Id: PKGBUILD 75314 2012-08-19 08:00:36Z heftig $ +# $Id: PKGBUILD 76895 2012-10-01 22:33:08Z lcarlier $ # Maintainer: Laurent Carlier <lordheavym@gmail.com> # Contributor : sebikul <sebikul@gmail.com> pkgbase=gambas3 pkgname=('gambas3-runtime' 'gambas3-devel' 'gambas3-ide' 'gambas3-script' 'gambas3-examples' 'gambas3-gb-cairo' 'gambas3-gb-chart' - 'gambas3-gb-dbus' 'gambas3-gb-compress' 'gambas3-gb-crypt' 'gambas3-gb-db' 'gambas3-gb-db-form' 'gambas3-gb-db-mysql' - 'gambas3-gb-db-odbc' 'gambas3-gb-db-postgresql' 'gambas3-gb-db-sqlite2' 'gambas3-gb-db-sqlite3' - 'gambas3-gb-desktop' 'gambas3-gb-eval-highlight' 'gambas3-gb-form' 'gambas3-gb-form-dialog' 'gambas3-gb-form-mdi' + 'gambas3-gb-dbus' 'gambas3-gb-complex' 'gambas3-gb-compress' 'gambas3-gb-crypt' 'gambas3-gb-data' 'gambas3-gb-db' 'gambas3-gb-db-form' + 'gambas3-gb-db-mysql' 'gambas3-gb-db-odbc' 'gambas3-gb-db-postgresql' 'gambas3-gb-db-sqlite2' 'gambas3-gb-db-sqlite3' + 'gambas3-gb-desktop' 'gambas3-gb-desktop-gnome' 'gambas3-gb-eval-highlight' 'gambas3-gb-form' 'gambas3-gb-form-dialog' 'gambas3-gb-form-mdi' 'gambas3-gb-form-stock' 'gambas3-gb-gsl' 'gambas3-gb-gtk' 'gambas3-gb-gtk-opengl' 'gambas3-gb-image' - 'gambas3-gb-image-effect' 'gambas3-gb-image-imlib' 'gambas3-gb-image-io' 'gambas3-gb-jit' 'gambas3-gb-media' - 'gambas3-gb-ncurses' 'gambas3-gb-net' 'gambas3-gb-net-curl' 'gambas3-gb-net-smtp' 'gambas3-gb-opengl' 'gambas3-gb-opengl-glu' + 'gambas3-gb-image-effect' 'gambas3-gb-image-imlib' 'gambas3-gb-image-io' 'gambas3-gb-jit' 'gambas3-gb-libxml' 'gambas3-gb-media' 'gambas3-gb-mime' + 'gambas3-gb-ncurses' 'gambas3-gb-net' 'gambas3-gb-net-curl' 'gambas3-gb-net-pop3' 'gambas3-gb-net-smtp' 'gambas3-gb-opengl' 'gambas3-gb-opengl-glu' 'gambas3-gb-opengl-glsl' 'gambas3-gb-option' 'gambas3-gb-pcre' 'gambas3-gb-pdf' 'gambas3-gb-qt4' 'gambas3-gb-qt4-ext' 'gambas3-gb-qt4-opengl' 'gambas3-gb-qt4-webkit' 'gambas3-gb-report' 'gambas3-gb-sdl' 'gambas3-gb-sdl-sound' 'gambas3-gb-settings' 'gambas3-gb-signal' 'gambas3-gb-v4l' 'gambas3-gb-vb' 'gambas3-gb-xml' 'gambas3-gb-xml-html' 'gambas3-gb-xml-rpc' 'gambas3-gb-xml-xslt' 'gambas3-gb-web') -pkgver=3.2.1 -pkgrel=5 +pkgver=3.3.2 +pkgrel=2 pkgdesc="A free development environment based on a Basic interpreter." arch=('i686' 'x86_64') url="http://gambas.sourceforge.net/" @@ -26,11 +26,12 @@ makedepends=('intltool' 'mysql' 'postgresql' 'libffi' 'bzip2' 'glib2' 'v4l-utils 'postgresql-libs' 'libmysqlclient' 'unixodbc' 'sqlite2' 'sqlite' 'librsvg' 'curl' 'poppler-glib' 'sdl_mixer' 'sdl_ttf' 'libxtst' 'pcre' 'qtwebkit' 'libxcursor' 'libsm' 'dbus-core' 'libxml2' 'libxslt' 'libgnome-keyring' - 'gsl' 'gstreamer0.10' 'gstreamer0.10-base' 'gtkglext' 'ncurses' 'llvm') -options=('!emptydirs' '!makeflags') + 'gsl' 'gstreamer0.10' 'gstreamer0.10-base' 'gtkglext' 'ncurses' 'llvm' + 'gmime') +options=('!emptydirs') source=("http://downloads.sourceforge.net/gambas/${pkgbase}-${pkgver}.tar.bz2" 'gambas3-script.install' 'gambas3-runtime.install') -md5sums=('e7aed820300ff8599e9f74029984f793' +md5sums=('2d148d3fbdff7a063157073d555f343c' 'b284be39d147ec799f1116a6abc068b4' '6d9e080b66443e7246387b1716d24e31') @@ -52,16 +53,16 @@ package_gambas3-runtime() { install=gambas3-runtime.install cd ${srcdir}/${pkgbase}-${pkgver}/main/gbc - make DESTDIR="${pkgdir}" install + make -j1 DESTDIR="${pkgdir}" install cd ../gbx - make DESTDIR="${pkgdir}" install + make -j1 DESTDIR="${pkgdir}" install cd ../lib/debug - make DESTDIR="${pkgdir}" install + make -j1 DESTDIR="${pkgdir}" install cd ../eval - make DESTDIR="${pkgdir}" install + make -j1 DESTDIR="${pkgdir}" install cd ../draw - make DESTDIR="${pkgdir}" install + make -j1 DESTDIR="${pkgdir}" install install -D -m644 ../gb.component \ ${pkgdir}/usr/lib/gambas3 @@ -80,13 +81,13 @@ package_gambas3-runtime() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4 - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/main/lib/gui - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install cd ${srcdir}/${pkgbase}-${pkgver}/main/lib/gui.opengl - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4 @@ -101,7 +102,7 @@ package_gambas3-devel() { pkgdesc="Development environment" cd ${srcdir}/${pkgbase}-${pkgver}/main/gbc - make DESTDIR="${pkgdir}" install + make -j1 DESTDIR="${pkgdir}" install } package_gambas3-ide() { @@ -111,9 +112,9 @@ package_gambas3-ide() { pkgdesc="Integrated Development Environment" cd ${srcdir}/${pkgbase}-${pkgver} - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install -#!! with the ide !! + #!! with the ide !! install -D -m644 ${srcdir}/${pkgbase}-${pkgver}/app/desktop/gambas3.desktop \ ${pkgdir}/usr/share/applications/gambas3.desktop install -D -m644 ${srcdir}/${pkgbase}-${pkgver}/app/desktop/gambas3.png \ @@ -130,7 +131,7 @@ package_gambas3-script() { install=gambas3-script.install cd ${srcdir}/${pkgbase}-${pkgver} - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## needed for postinst with xdg-utils cd ${srcdir}/${pkgbase}-${pkgver}/app/mime @@ -145,18 +146,19 @@ package_gambas3-script() { } package_gambas3-examples() { - depends=('gambas3-gb-cairo' 'gambas3-gb-chart' 'gambas3-gb-dbus' 'gambas3-gb-compress' 'gambas3-gb-crypt' 'gambas3-gb-db' - 'gambas3-gb-db-form' 'gambas3-gb-db-mysql' 'gambas3-gb-db-odbc' 'gambas3-gb-db-postgresql' 'gambas3-gb-db-sqlite2' + depends=('gambas3-gb-cairo' 'gambas3-gb-chart' 'gambas3-gb-dbus' 'gambas3-gb-complex' 'gambas3-gb-compress' 'gambas3-gb-complex' 'gambas3-gb-crypt' + 'gambas3-gb-data' 'gambas3-gb-db' 'gambas3-gb-db-form' 'gambas3-gb-db-mysql' 'gambas3-gb-db-odbc' 'gambas3-gb-db-postgresql' 'gambas3-gb-db-sqlite2' 'gambas3-gb-db-sqlite3' 'gambas3-gb-desktop' 'gambas3-gb-eval-highlight' 'gambas3-gb-form' 'gambas3-gb-form-dialog' 'gambas3-gb-form-mdi' 'gambas3-gb-gtk' 'gambas3-gb-image' 'gambas3-gb-image-effect' 'gambas3-gb-image-imlib' - 'gambas3-gb-image-io' 'gambas3-gb-net' 'gambas3-gb-net-curl' 'gambas3-gb-net-smtp' 'gambas3-gb-opengl' 'gambas3-gb-opengl-glsl' - 'gambas3-gb-option' 'gambas3-gb-pcre' 'gambas3-gb-pdf' 'gambas3-gb-qt4' 'gambas3-gb-qt4-ext' 'gambas3-gb-qt4-opengl' - 'gambas3-gb-qt4-webkit' 'gambas3-gb-report' 'gambas3-gb-sdl' 'gambas3-gb-sdl-sound' 'gambas3-gb-settings' 'gambas3-gb-signal' - 'gambas3-gb-v4l' 'gambas3-gb-vb' 'gambas3-gb-xml' 'gambas3-gb-xml-rpc' 'gambas3-gb-xml-xslt' 'gambas3-gb-web') + 'gambas3-gb-image-io' 'gambas3-gb-media' 'gambas3-gb-mime' 'gambas3-gb-ncurses' 'gambas3-gb-net' 'gambas3-gb-net-curl' 'gambas3-gb-net-pop3' + 'gambas3-gb-net-smtp' 'gambas3-gb-opengl' 'gambas3-gb-opengl-glsl' 'gambas3-gb-option' 'gambas3-gb-pcre' 'gambas3-gb-pdf' + 'gambas3-gb-qt4' 'gambas3-gb-qt4-ext' 'gambas3-gb-qt4-opengl' 'gambas3-gb-qt4-webkit' 'gambas3-gb-report' 'gambas3-gb-sdl' + 'gambas3-gb-sdl-sound' 'gambas3-gb-settings' 'gambas3-gb-signal' 'gambas3-gb-v4l' 'gambas3-gb-vb' 'gambas3-gb-xml' + 'gambas3-gb-xml-rpc' 'gambas3-gb-xml-xslt' 'gambas3-gb-web') pkgdesc="Applications examples" cd ${srcdir}/${pkgbase}-${pkgver} - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install rm -r ${pkgdir}/usr/{bin,lib} rm -r ${pkgdir}/usr/share/gambas3/{info,control,gb.sdl} @@ -168,11 +170,11 @@ package_gambas3-gb-cairo() { ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.cairo - make DESTDIR="${pkgdir}" install + make -j1 DESTDIR="${pkgdir}" install ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -186,43 +188,59 @@ package_gambas3-gb-chart() { ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4 - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/comp - make DESTDIR="${pkgdir}" install + make -j1 DESTDIR="${pkgdir}" install ## Workaround for splitting - cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4 make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall + cd ${srcdir}/${pkgbase}-${pkgver}/main + make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall rm -r ${pkgdir}/usr/share/gambas3/control rm -r ${pkgdir}/usr/lib/gambas3/gb.[d-w]* rm -r ${pkgdir}/usr/share/gambas3/info/gb.[d-w]* ## } +package_gambas3-gb-complex() { + depends=('gambas3-runtime') + pkgdesc="Complex numbers component" + + ## Workaround for splitting + cd ${srcdir}/${pkgbase}-${pkgver}/main + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install + ## + + ## Workaround for splitting + rm -r ${pkgdir}/usr/bin + rm -r ${pkgdir}/usr/lib/gambas3/gb.{comp{r,o}*,[d-v]*} + rm -r ${pkgdir}/usr/share/gambas3/info/gb.{compr*,[d-v]*} + ## +} + package_gambas3-gb-compress() { depends=('gambas3-runtime' 'bzip2' 'zlib') pkgdesc="Compression support component" ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.compress.bzlib2 - make DESTDIR="${pkgdir}" install + make -j1 DESTDIR="${pkgdir}" install cd ${srcdir}/${pkgbase}-${pkgver}/gb.compress.zlib - make DESTDIR="${pkgdir}" install + make -j1 DESTDIR="${pkgdir}" install ## Workaround for splitting rm -r ${pkgdir}/usr/bin - rm -r ${pkgdir}/usr/lib/gambas3/{gb.component,gb.[d-v]*} - rm -r ${pkgdir}/usr/share/gambas3/info/gb.[d-v]* + rm -r ${pkgdir}/usr/lib/gambas3/{gb.comp{o,l}*,gb.[d-v]*} + rm -r ${pkgdir}/usr/share/gambas3/info/gb.{compl*,[d-v]*} ## } @@ -232,11 +250,11 @@ package_gambas3-gb-crypt() { ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.crypt - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -244,19 +262,35 @@ package_gambas3-gb-crypt() { ## } +package_gambas3-gb-data() { + depends=('gambas3-runtime') + pkgdesc="Data containers component" + + ## Workaround for splitting + cd ${srcdir}/${pkgbase}-${pkgver}/main + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install + ## + + ## Workaround for splitting + rm -r ${pkgdir}/usr/bin + rm -r ${pkgdir}/usr/lib/gambas3/gb.{c*,d{b,e,r}*,[e-v]*} + rm -r ${pkgdir}/usr/share/gambas3/info/gb.{c*,d{b,e}*,[e-v]*} + ## +} + package_gambas3-gb-db() { depends=('gambas3-runtime') pkgdesc="Database access component" ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## ## Workaround for splitting rm -r ${pkgdir}/usr/bin - rm -r ${pkgdir}/usr/lib/gambas3/{gb.comp*,gb.d{e,r}*,gb.[e-z]*} - rm -r ${pkgdir}/usr/share/gambas3/info/{gb.comp*,gb.de*,gb.[e-z]*} + rm -r ${pkgdir}/usr/lib/gambas3/{gb.comp*,gb.d{a,e,r}*,gb.[e-z]*} + rm -r ${pkgdir}/usr/share/gambas3/info/{gb.comp*,gb.d{a,e}*,gb.[e-z]*} ## } @@ -266,13 +300,13 @@ package_gambas3-gb-db-form() { ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4 - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/comp - make DESTDIR="${pkgdir}" install + make -j1 DESTDIR="${pkgdir}" install ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -291,11 +325,11 @@ package_gambas3-gb-db-mysql() { ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.db.mysql - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -309,11 +343,11 @@ package_gambas3-gb-db-odbc() { ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.db.odbc - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -327,11 +361,11 @@ package_gambas3-gb-db-postgresql() { ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.db.postgresql - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -345,11 +379,11 @@ package_gambas3-gb-db-sqlite2() { ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.db.sqlite2 - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -363,11 +397,11 @@ package_gambas3-gb-db-sqlite3() { ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.db.sqlite3 - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -376,18 +410,42 @@ package_gambas3-gb-db-sqlite3() { } package_gambas3-gb-desktop() { - depends=('gambas3-gb-image' 'libsm' 'libxtst' 'libgnome-keyring') + depends=('gambas3-gb-image' 'libsm' 'libxtst') pkgdesc="Desktop component" ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4 - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.desktop - make DESTDIR="${pkgdir}" install + make -j1 DESTDIR="${pkgdir}" install + cd ${srcdir}/${pkgbase}-${pkgver}/gb.desktop/src/gnome + make DESTDIR="${pkgdir}" uninstall + + ## cleanup the workaround + cd ${srcdir}/${pkgbase}-${pkgver}/main + make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall + cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4 + make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall + ## +} + +package_gambas3-gb-desktop-gnome() { + depends=('gambas3-gb-desktop' 'libgnome-keyring') + pkgdesc="Desktop component for Gnome" + + ## workaround for splitting + cd ${srcdir}/${pkgbase}-${pkgver}/main + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install + cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4 + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install + ## + + cd ${srcdir}/${pkgbase}-${pkgver}/gb.desktop/src/gnome + make -j1 DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -403,11 +461,11 @@ package_gambas3-gb-dbus() { ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.dbus - make DESTDIR="${pkgdir}" install + make -j1 DESTDIR="${pkgdir}" install ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -421,13 +479,13 @@ package_gambas3-gb-eval-highlight() { ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4 - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/comp - make DESTDIR="${pkgdir}" install + make -j1 DESTDIR="${pkgdir}" install ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4 @@ -446,15 +504,15 @@ package_gambas3-gb-form() { ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4 - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install cd ${srcdir}/${pkgbase}-${pkgver}/gb.gtk - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/comp - make DESTDIR="${pkgdir}" install + make -j1 DESTDIR="${pkgdir}" install ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -475,15 +533,15 @@ package_gambas3-gb-form-dialog() { ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4 - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install cd ${srcdir}/${pkgbase}-${pkgver}/gb.gtk - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/comp - make DESTDIR="${pkgdir}" install + make -j1 DESTDIR="${pkgdir}" install ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -504,15 +562,15 @@ package_gambas3-gb-form-mdi() { ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4 - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install cd ${srcdir}/${pkgbase}-${pkgver}/gb.gtk - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/comp - make DESTDIR="${pkgdir}" install + make -j1 DESTDIR="${pkgdir}" install ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -533,13 +591,13 @@ package_gambas3-gb-form-stock() { ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install cd ${srcdir}/${pkgbase}-${pkgver}/gb.gtk - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/comp - make DESTDIR="${pkgdir}" install + make -j1 DESTDIR="${pkgdir}" install ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/gb.gtk @@ -559,11 +617,11 @@ package_gambas3-gb-gtk() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.gtk - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install cd ${srcdir}/${pkgbase}-${pkgver}/gb.gtk/src/opengl make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall @@ -575,16 +633,16 @@ package_gambas3-gb-gtk() { } package_gambas3-gb-gtk-opengl() { - depends=('gambas3-gb-gtk' 'gtkglext') + depends=('gambas3-gb-gtk' 'gambas3-gb-opengl' 'gtkglext') pkgdesc="GTK+ toolkit OpenGL component" ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.gtk/src/opengl - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -598,11 +656,11 @@ package_gambas3-gb-gsl() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.gsl - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -616,7 +674,7 @@ package_gambas3-gb-image() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## ## cleanup the workaround @@ -632,7 +690,7 @@ package_gambas3-gb-image-effect() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## ## cleanup the workaround @@ -648,11 +706,11 @@ package_gambas3-gb-image-imlib() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.image.imlib - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -662,15 +720,15 @@ package_gambas3-gb-image-imlib() { package_gambas3-gb-image-io() { depends=('gambas3-gb-image' 'gdk-pixbuf2') - pkgdesc="Input/Output component" + pkgdesc="Input/Output image component" ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.image.io - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -680,15 +738,33 @@ package_gambas3-gb-image-io() { package_gambas3-gb-jit() { depends=('gambas3-runtime' 'llvm') - pkgdesc="Just-in-time compiler for gambas" + pkgdesc="Just-in-time compiler component" ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.jit - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install + + ## cleanup the workaround + cd ${srcdir}/${pkgbase}-${pkgver}/main + make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall + ## +} + +package_gambas3-gb-libxml() { + depends=('gambas3-runtime' 'libxml2') + pkgdesc="libxml2 component" + + ## workaround for splitting + cd ${srcdir}/${pkgbase}-${pkgver}/main + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install + ## + + cd ${srcdir}/${pkgbase}-${pkgver}/gb.libxml + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -698,15 +774,33 @@ package_gambas3-gb-jit() { package_gambas3-gb-media() { depends=('gambas3-runtime' 'gstreamer0.10' 'gstreamer0.10-base') - pkgdesc="Simplified interface to the GStreamer library" + pkgdesc="Simplified interface to the GStreamer library component" ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.media - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install + + ## cleanup the workaround + cd ${srcdir}/${pkgbase}-${pkgver}/main + make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall + ## +} + +package_gambas3-gb-mime() { + depends=('gambas3-runtime' 'gmime') + pkgdesc="MIME message component" + + ## workaround for splitting + cd ${srcdir}/${pkgbase}-${pkgver}/main + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install + ## + + cd ${srcdir}/${pkgbase}-${pkgver}/gb.mime + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -716,15 +810,15 @@ package_gambas3-gb-media() { package_gambas3-gb-ncurses() { depends=('gambas3-runtime' 'ncurses') - pkgdesc="Ncurses component for gambas" + pkgdesc="Ncurses component" ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.ncurses - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -738,11 +832,11 @@ package_gambas3-gb-net() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.net - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -756,11 +850,11 @@ package_gambas3-gb-net-curl() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.net.curl - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -768,17 +862,45 @@ package_gambas3-gb-net-curl() { ## } +package_gambas3-gb-net-pop3() { + depends=('gambas3-gb-net' 'gambas3-gb-mime') + pkgdesc="POP3 component" + + ## workaround for splitting + cd ${srcdir}/${pkgbase}-${pkgver}/main + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install + cd ${srcdir}/${pkgbase}-${pkgver}/gb.net + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install + cd ${srcdir}/${pkgbase}-${pkgver}/gb.mime + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install + ## + + cd ${srcdir}/${pkgbase}-${pkgver}/comp + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install + + ## cleanup the workaround + cd ${srcdir}/${pkgbase}-${pkgver}/gb.mime + make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall + cd ${srcdir}/${pkgbase}-${pkgver}/gb.net + make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall + cd ${srcdir}/${pkgbase}-${pkgver}/main + make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall + rm -r ${pkgdir}/usr/lib/gambas3/gb.{[f-m]*,[s-w]*} + rm -r ${pkgdir}/usr/share/gambas3/info/gb.{[f-m]*,[s-w]*} + ## +} + package_gambas3-gb-net-smtp() { depends=('gambas3-runtime' 'glib2') pkgdesc="SMTP component" ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.net.smtp - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -792,11 +914,11 @@ package_gambas3-gb-opengl() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.opengl - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/gb.opengl/src/glsl @@ -814,11 +936,11 @@ package_gambas3-gb-opengl-glu() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.opengl/src/glu - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -832,11 +954,11 @@ package_gambas3-gb-opengl-glsl() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.opengl/src/glsl - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -850,7 +972,7 @@ package_gambas3-gb-option() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## ## cleanup the workaround @@ -866,11 +988,11 @@ package_gambas3-gb-pcre() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.pcre - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -884,11 +1006,11 @@ package_gambas3-gb-pdf() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.pdf - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -902,11 +1024,11 @@ package_gambas3-gb-qt4() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4 - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4/src/ext @@ -926,11 +1048,11 @@ package_gambas3-gb-qt4-ext() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4/src/ext - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -939,16 +1061,16 @@ package_gambas3-gb-qt4-ext() { } package_gambas3-gb-qt4-opengl() { - depends=('gambas3-gb-qt4' 'libgl') + depends=('gambas3-gb-qt4' 'gambas3-gb-opengl') pkgdesc="Qt4 toolkit OpenGL component" ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4/src/opengl - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -962,11 +1084,11 @@ package_gambas3-gb-qt4-webkit() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4/src/webkit - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -980,13 +1102,13 @@ package_gambas3-gb-report() { ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4 - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/comp - make DESTDIR="${pkgdir}" install + make -j1 DESTDIR="${pkgdir}" install ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -1005,11 +1127,11 @@ package_gambas3-gb-sdl() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.sdl - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -1023,11 +1145,11 @@ package_gambas3-gb-sdl-sound() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.sdl.sound - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -1041,11 +1163,11 @@ package_gambas3-gb-settings() { ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/comp - make DESTDIR="${pkgdir}" install + make -j1 DESTDIR="${pkgdir}" install ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -1057,11 +1179,11 @@ package_gambas3-gb-settings() { package_gambas3-gb-signal() { depends=('gambas3-runtime') - pkgdesc="Signal component" + pkgdesc="POSIX Signals component" ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## ## cleanup the workaround @@ -1077,11 +1199,11 @@ package_gambas3-gb-v4l() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.v4l - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -1091,11 +1213,11 @@ package_gambas3-gb-v4l() { package_gambas3-gb-vb() { depends=('gambas3-runtime') - pkgdesc="VB transitional component" + pkgdesc="Visual Basic transitional component" ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## ## Workaround for splitting @@ -1111,11 +1233,11 @@ package_gambas3-gb-xml() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.xml - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/gb.xml/src/html @@ -1138,11 +1260,11 @@ package_gambas3-gb-xml-html() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.xml/src/html - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -1156,16 +1278,16 @@ package_gambas3-gb-xml-rpc() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install cd ${srcdir}/${pkgbase}-${pkgver}/gb.net - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install cd ${srcdir}/${pkgbase}-${pkgver}/gb.net.curl - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.xml - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/gb.net @@ -1187,11 +1309,11 @@ package_gambas3-gb-xml-xslt() { ## workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/gb.xml/src/xslt - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cleanup the workaround cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -1205,11 +1327,11 @@ package_gambas3-gb-web() { ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main - make XDG_UTILS='' DESTDIR="${pkgdir}" install + make -j1 XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/comp - make DESTDIR="${pkgdir}" install + make -j1 DESTDIR="${pkgdir}" install ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main @@ -1218,4 +1340,3 @@ package_gambas3-gb-web() { rm -r ${pkgdir}/usr/share/gambas3/info/gb.[c-v]* ## } - diff --git a/community/gnuchess/PKGBUILD b/community/gnuchess/PKGBUILD new file mode 100644 index 000000000..ab77e7855 --- /dev/null +++ b/community/gnuchess/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 76871 2012-10-01 14:52:29Z bisson $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgname=gnuchess +pkgver=6.0.2 +pkgrel=1 +pkgdesc="Lets most modern computers play a full game of chess" +url="http://www.gnu.org/software/chess/chess.html" +arch=('i686' 'x86_64') +license=('GPL') +depends=('glibc' 'ncurses' 'readline') +source=(ftp://ftp.gnu.org/pub/gnu/chess/$pkgname-$pkgver.tar.gz{,.sig}) +md5sums=('566a145479c47f2f9d7d9b7b8119e1b0' + '044487606aa14ecb29ab9613f83918d9') + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make prefix=$pkgdir/usr install +} diff --git a/community/gtkdialog/PKGBUILD b/community/gtkdialog/PKGBUILD index 4dc062315..eb8b9cb32 100644 --- a/community/gtkdialog/PKGBUILD +++ b/community/gtkdialog/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 55992 2011-09-28 11:47:19Z spupykin $ +# $Id: PKGBUILD 76857 2012-10-01 14:34:14Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: dojo <joerg.doll[at]gmx.de> pkgname=gtkdialog -pkgver=0.8.0 +pkgver=0.8.2 pkgrel=1 pkgdesc="Gtkdialog is a small utility for fast and easy GUI building." arch=('i686' 'x86_64') @@ -15,7 +15,7 @@ depends=('gtk2' 'libglade') install=gtkdialog.install options=('zipman') source=(http://gtkdialog.googlecode.com/files/gtkdialog-$pkgver.tar.gz) -md5sums=('a1f0c459a610ac3892342efbec27d93d') +md5sums=('4038a04f4ff78ca7b7e52e998754c8c2') build() { cd $srcdir/$pkgname-$pkgver @@ -25,7 +25,7 @@ build() { package() { cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir install + make DESTDIR=$pkgdir UPDATE_ICON_CACHE=true install rm -f $pkgdir/usr/share/info/dir mkdir -p $pkgdir/usr/share/doc/$pkgname cp -a examples $pkgdir/usr/share/doc/$pkgname/examples diff --git a/community/gtkdialog/gtkdialog.install b/community/gtkdialog/gtkdialog.install index f74f0882b..ef3856eec 100644 --- a/community/gtkdialog/gtkdialog.install +++ b/community/gtkdialog/gtkdialog.install @@ -6,6 +6,8 @@ post_install() { for file in ${filelist[@]}; do install-info $infodir/$file.gz $infodir/dir 2> /dev/null done + + gtk-update-icon-cache -f -t usr/share/icons/hicolor } post_upgrade() { diff --git a/community/lsdvd/PKGBUILD b/community/lsdvd/PKGBUILD new file mode 100644 index 000000000..69fca75c9 --- /dev/null +++ b/community/lsdvd/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 76873 2012-10-01 14:53:57Z bisson $ +# Maintainer: Aaron Griffin <aaron@archlinux.org> + +pkgname=lsdvd +pkgver=0.16 +pkgrel=6 +pkgdesc="A C application for reading the contents of a DVD and printing the contents to your terminal" +arch=('i686' 'x86_64') +url="http://sourceforge.net/projects/lsdvd/" +depends=('libdvdread') +license=('GPL2') +#Special thanks to Mathieu Clabaut <mathieu.clabaut@gmail.com> for patches +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" + 'stdint_usage.patch') +md5sums=('340e1abe5c5e5abf7ff8031e78f49ee7' + '6cbcbfde873f894bd3c784f65141b2fc') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/stdint_usage.patch" + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/lsdvd/stdint_usage.patch b/community/lsdvd/stdint_usage.patch new file mode 100644 index 000000000..67b9ee82d --- /dev/null +++ b/community/lsdvd/stdint_usage.patch @@ -0,0 +1,22 @@ +--- a/lsdvd.c 2006-03-02 07:48:11.000000000 -0600 ++++ b/lsdvd.c 2007-09-27 19:15:28.000000000 -0500 +@@ -13,6 +13,7 @@ + * 2003-04-19 Cleanups get_title_name, added dvdtime2msec, added helper macros, + * output info structures in form of a Perl module, by Henk Vergonet. + */ ++#include <stdint.h> + #include <dvdread/ifo_read.h> + #include <string.h> + #include <sys/stat.h> +--- a/configure 2005-12-12 14:22:45.000000000 -0600 ++++ b/configure 2007-09-27 19:15:13.000000000 -0500 +@@ -2887,8 +2887,8 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#include <dvdread/ifo_read.h> + #include <stdint.h> ++#include <dvdread/ifo_read.h> + int + main () + { diff --git a/community/mongodb/PKGBUILD b/community/mongodb/PKGBUILD index 582dafd5b..3fde55c5c 100644 --- a/community/mongodb/PKGBUILD +++ b/community/mongodb/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 75855 2012-09-03 16:08:44Z tdziedzic $ +# $Id: PKGBUILD 76844 2012-10-01 05:33:09Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: Mathias Stearn <mathias@10gen.com> @@ -6,7 +6,7 @@ pkgname=mongodb pkgver=2.2.0 -pkgrel=1 +pkgrel=2 pkgdesc='A high-performance, open source, schema-free document-oriented database' arch=('i686' 'x86_64') url='http://www.mongodb.org' @@ -19,12 +19,13 @@ backup=('etc/mongodb.conf') install="mongodb.install" source=("http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz" 'mongodb.rc' 'mongodb.conf' 'mongodb.service' - 'SConscript.client.patch') + 'SConscript.client.patch' 'boost1.50.patch') md5sums=('832bdb6cc659176fd8d6b16a660ccfc6' '9c67e00f4626ad761a8f7d4e037a54d7' '4839fe1d638187ca3226e8267b947318' '96ab4517b48974ce0e566d9746a75a4f' - 'a9529e2a6e392ffecef7a9178394c814') + 'a9529e2a6e392ffecef7a9178394c814' + 'da8a9d78e4a38d1ed8e92a210d4b5ba7') build() { export SCONSFLAGS="$MAKEFLAGS" @@ -34,11 +35,10 @@ build() { # fix https://jira.mongodb.org/browse/SERVER-5575 patch -Np1 -i ${srcdir}/SConscript.client.patch - sed -i '/nixLibPrefix/s/lib64/lib/' SConstruct + # fix boost incompatibility + patch -Np1 -i ${srcdir}/boost1.50.patch - # --sharedclient generates an error that the source .so could not be found - # --use-system-sm --use-system-pcre - scons all --full + scons all --use-system-boost # --sharedclient currently fails } <<COMMENT @@ -56,11 +56,16 @@ package() { cd mongodb-src-r${pkgver} - scons install --full --prefix=$pkgdir/usr + scons install --use-system-boost --full --prefix=$pkgdir/usr # --sharedclient currently fails - install -D -m755 $srcdir/mongodb.rc $pkgdir/etc/rc.d/mongodb - install -D -m644 $srcdir/mongodb.conf $pkgdir/etc/mongodb.conf - install -D -m644 $srcdir/mongodb.service $pkgdir/usr/lib/systemd/system/mongodb.service - install -d -m700 $pkgdir/var/lib/mongodb - install -d -m755 $pkgdir/var/log/mongodb + install -Dm755 $srcdir/mongodb.rc $pkgdir/etc/rc.d/mongodb + install -Dm644 $srcdir/mongodb.conf $pkgdir/etc/mongodb.conf + [[ -f $pkgdir/usr/lib ]] && rm $pkgdir/usr/lib # wtf mongo + install -Dm644 $srcdir/mongodb.service $pkgdir/usr/lib/systemd/system/mongodb.service + install -dm700 $pkgdir/var/lib/mongodb + install -dm755 $pkgdir/var/log/mongodb + + # the earlier SConscript patch actually gives us some trouble on x86_64 so we need to hack it out again + mv ${pkgdir}/usr/lib64/libmongoclient.a ${pkgdir}/usr/lib/ + rm -r ${pkgdir}/usr/lib64 } diff --git a/community/mongodb/boost1.50.patch b/community/mongodb/boost1.50.patch new file mode 100644 index 000000000..203826ae7 --- /dev/null +++ b/community/mongodb/boost1.50.patch @@ -0,0 +1,237 @@ +diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp +index 6a80fe9..4a42e73 100644 +--- a/src/mongo/db/db.cpp ++++ b/src/mongo/db/db.cpp +@@ -18,6 +18,7 @@ + + #include "mongo/pch.h" + ++#include <boost/version.hpp> + #include <boost/thread/thread.hpp> + #include <boost/filesystem/operations.hpp> + #include <fstream> +@@ -348,7 +349,7 @@ namespace mongo { + boost::filesystem::path path( dbpath ); + for ( boost::filesystem::directory_iterator i( path ); + i != boost::filesystem::directory_iterator(); ++i ) { +- string fileName = boost::filesystem::path(*i).leaf(); ++ string fileName = boost::filesystem::path(*i).leaf().string(); + if ( boost::filesystem::is_directory( *i ) && + fileName.length() && fileName[ 0 ] == '$' ) + boost::filesystem::remove_all( *i ); +@@ -748,11 +749,6 @@ static int mongoDbMain(int argc, char* argv[]) { + dbExecCommand = argv[0]; + + srand(curTimeMicros()); +-#if( BOOST_VERSION >= 104500 ) +- boost::filesystem::path::default_name_check( boost::filesystem2::no_check ); +-#else +- boost::filesystem::path::default_name_check( boost::filesystem::no_check ); +-#endif + + { + unsigned x = 0x12345678; +@@ -1083,7 +1079,7 @@ static int mongoDbMain(int argc, char* argv[]) { + if (params.count("shutdown")){ + bool failed = false; + +- string name = ( boost::filesystem::path( dbpath ) / "mongod.lock" ).native_file_string(); ++ string name = ( boost::filesystem::path( dbpath ) / "mongod.lock" ).string(); + if ( !boost::filesystem::exists( name ) || boost::filesystem::file_size( name ) == 0 ) + failed = true; + +diff --git a/src/mongo/db/dur.cpp b/src/mongo/db/dur.cpp +index b83957b..242fe00 100644 +--- a/src/mongo/db/dur.cpp ++++ b/src/mongo/db/dur.cpp +@@ -770,7 +770,7 @@ namespace mongo { + + bool samePartition = true; + try { +- const string dbpathDir = boost::filesystem::path(dbpath).native_directory_string(); ++ const string dbpathDir = boost::filesystem::path(dbpath).string(); + samePartition = onSamePartition(getJournalDir().string(), dbpathDir); + } + catch(...) { +diff --git a/src/mongo/db/dur_journal.cpp b/src/mongo/db/dur_journal.cpp +index 9957d41..9f693b9 100644 +--- a/src/mongo/db/dur_journal.cpp ++++ b/src/mongo/db/dur_journal.cpp +@@ -176,7 +176,7 @@ namespace mongo { + for ( boost::filesystem::directory_iterator i( getJournalDir() ); + i != boost::filesystem::directory_iterator(); + ++i ) { +- string fileName = boost::filesystem::path(*i).leaf(); ++ string fileName = boost::filesystem::path(*i).leaf().string(); + if( anyFiles || str::startsWith(fileName, "j._") ) + return true; + } +@@ -194,7 +194,7 @@ namespace mongo { + for ( boost::filesystem::directory_iterator i( getJournalDir() ); + i != boost::filesystem::directory_iterator(); + ++i ) { +- string fileName = boost::filesystem::path(*i).leaf(); ++ string fileName = boost::filesystem::path(*i).leaf().string(); + if( str::startsWith(fileName, "j._") ) { + try { + removeOldJournalFile(*i); +diff --git a/src/mongo/db/dur_recover.cpp b/src/mongo/db/dur_recover.cpp +index a7efd4d..e352db6 100644 +--- a/src/mongo/db/dur_recover.cpp ++++ b/src/mongo/db/dur_recover.cpp +@@ -72,7 +72,7 @@ namespace mongo { + i != boost::filesystem::directory_iterator(); + ++i ) { + boost::filesystem::path filepath = *i; +- string fileName = boost::filesystem::path(*i).leaf(); ++ string fileName = boost::filesystem::path(*i).leaf().string(); + if( str::startsWith(fileName, "j._") ) { + unsigned u = str::toUnsigned( str::after(fileName, '_') ); + if( m.count(u) ) { +@@ -85,7 +85,7 @@ namespace mongo { + if( i != m.begin() && m.count(i->first - 1) == 0 ) { + uasserted(13532, + str::stream() << "unexpected file in journal directory " << dir.string() +- << " : " << boost::filesystem::path(i->second).leaf() << " : can't find its preceeding file"); ++ << " : " << boost::filesystem::path(i->second).leaf().string() << " : can't find its preceeding file"); + } + files.push_back(i->second); + } +diff --git a/src/mongo/db/instance.cpp b/src/mongo/db/instance.cpp +index 218fb9e..42794f0 100644 +--- a/src/mongo/db/instance.cpp ++++ b/src/mongo/db/instance.cpp +@@ -833,13 +833,13 @@ namespace mongo { + i != boost::filesystem::directory_iterator(); ++i ) { + if ( directoryperdb ) { + boost::filesystem::path p = *i; +- string dbName = p.leaf(); ++ string dbName = p.leaf().string(); + p /= ( dbName + ".ns" ); + if ( exists( p ) ) + names.push_back( dbName ); + } + else { +- string fileName = boost::filesystem::path(*i).leaf(); ++ string fileName = boost::filesystem::path(*i).leaf().string(); + if ( fileName.length() > 3 && fileName.substr( fileName.length() - 3, 3 ) == ".ns" ) + names.push_back( fileName.substr( 0, fileName.length() - 3 ) ); + } +@@ -1102,7 +1102,7 @@ namespace mongo { + } + + void acquirePathLock(bool doingRepair) { +- string name = ( boost::filesystem::path( dbpath ) / "mongod.lock" ).native_file_string(); ++ string name = ( boost::filesystem::path( dbpath ) / "mongod.lock" ).string(); + + bool oldFile = false; + +diff --git a/src/mongo/db/pdfile.cpp b/src/mongo/db/pdfile.cpp +index 0c424f0..9fbbde7 100644 +--- a/src/mongo/db/pdfile.cpp ++++ b/src/mongo/db/pdfile.cpp +@@ -1675,7 +1675,7 @@ namespace mongo { + virtual bool apply( const Path &p ) { + if ( !boost::filesystem::exists( p ) ) + return false; +- boostRenameWrapper( p, newPath_ / ( p.leaf() + ".bak" ) ); ++ boostRenameWrapper( p, newPath_ / ( p.leaf().string() + ".bak" ) ); + return true; + } + virtual const char * op() const { +@@ -1783,7 +1783,7 @@ namespace mongo { + uniqueReservedPath( ( preserveClonedFilesOnFailure || backupOriginalFiles ) ? + "backup" : "_tmp" ); + MONGO_ASSERT_ON_EXCEPTION( boost::filesystem::create_directory( reservedPath ) ); +- string reservedPathString = reservedPath.native_directory_string(); ++ string reservedPathString = reservedPath.string(); + + bool res; + { +diff --git a/src/mongo/dbtests/framework.cpp b/src/mongo/dbtests/framework.cpp +index 813705a..d0a3ba4 100644 +--- a/src/mongo/dbtests/framework.cpp ++++ b/src/mongo/dbtests/framework.cpp +@@ -199,7 +199,7 @@ namespace mongo { + boost::filesystem::create_directory(p); + } + +- string dbpathString = p.native_directory_string(); ++ string dbpathString = p.string(); + dbpath = dbpathString.c_str(); + + cmdLine.prealloc = false; +diff --git a/src/mongo/pch.h b/src/mongo/pch.h +index 7044097..6bb9df6 100644 +--- a/src/mongo/pch.h ++++ b/src/mongo/pch.h +@@ -44,7 +44,7 @@ + #include "string.h" + #include "limits.h" + +-#define BOOST_FILESYSTEM_VERSION 2 ++#define BOOST_FILESYSTEM_VERSION 3 + #include <boost/shared_ptr.hpp> + #include <boost/smart_ptr.hpp> + #include <boost/function.hpp> +diff --git a/src/mongo/shell/shell_utils_launcher.cpp b/src/mongo/shell/shell_utils_launcher.cpp +index 60af4f3..fa0d6ad 100644 +--- a/src/mongo/shell/shell_utils_launcher.cpp ++++ b/src/mongo/shell/shell_utils_launcher.cpp +@@ -184,7 +184,7 @@ namespace mongo { + } + #endif + +- _argv.push_back( programPath.native_file_string() ); ++ _argv.push_back( programPath.string() ); + + _port = -1; + +diff --git a/src/mongo/tools/restore.cpp b/src/mongo/tools/restore.cpp +index d7779e6..5c68bde 100644 +--- a/src/mongo/tools/restore.cpp ++++ b/src/mongo/tools/restore.cpp +@@ -174,7 +174,7 @@ public: + log(2) << "drillDown: " << root.string() << endl; + + // skip hidden files and directories +- if (root.leaf()[0] == '.' && root.leaf() != ".") ++ if (root.leaf().string()[0] == '.' && root.leaf().string() != ".") + return; + + if ( is_directory( root ) ) { +@@ -255,7 +255,7 @@ public: + + verify( ns.size() ); + +- string oldCollName = root.leaf(); // Name of the collection that was dumped from ++ string oldCollName = root.leaf().string(); // Name of the collection that was dumped from + oldCollName = oldCollName.substr( 0 , oldCollName.find_last_of( "." ) ); + if (use_coll) { + ns += "." + _coll; +@@ -287,7 +287,7 @@ public: + if (!boost::filesystem::exists(metadataFile.string())) { + // This is fine because dumps from before 2.1 won't have a metadata file, just print a warning. + // System collections shouldn't have metadata so don't warn if that file is missing. +- if (!startsWith(metadataFile.leaf(), "system.")) { ++ if (!startsWith(metadataFile.leaf().string(), "system.")) { + log() << metadataFile.string() << " not found. Skipping." << endl; + } + } else { +diff --git a/src/mongo/tools/tool.cpp b/src/mongo/tools/tool.cpp +index c092cdb..76834fa 100644 +--- a/src/mongo/tools/tool.cpp ++++ b/src/mongo/tools/tool.cpp +@@ -118,12 +118,6 @@ namespace mongo { + // we want durability to be disabled. + cmdLine.dur = false; + +-#if( BOOST_VERSION >= 104500 ) +- boost::filesystem::path::default_name_check( boost::filesystem2::no_check ); +-#else +- boost::filesystem::path::default_name_check( boost::filesystem::no_check ); +-#endif +- + _name = argv[0]; + + /* using the same style as db.cpp */ diff --git a/community/nestopia/PKGBUILD b/community/nestopia/PKGBUILD index b2bc7ab0a..9748e1dcd 100644 --- a/community/nestopia/PKGBUILD +++ b/community/nestopia/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 76405 2012-09-17 10:50:40Z spupykin $ +# $Id: PKGBUILD 76885 2012-10-01 19:05:45Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Tiago Pierezan Camargo <tcamargo@gmail.com> # Contributor: robb_force <robb_force@holybuffalo.net> pkgname=nestopia -pkgver=1.41 -pkgrel=1 +pkgver=1.42 +pkgrel=2 pkgdesc='An NES emulator featuring cycle exact emulation, a ridiculous number of mappers, and lots of custom sound chips.' url='http://0ldsk00l.ca/nestopia.html' license=('GPL') @@ -13,14 +13,13 @@ arch=('i686' 'x86_64') depends=('sdl' 'alsa-lib' 'gtk3' 'mesa') makedepends=('unzip') source=("$pkgname-$pkgver.tar.gz::https://github.com/rdanbrook/nestopia/tarball/$pkgver" - "nestopia_bogus_error_on_save_settings.patch") -md5sums=('6baa5cb1bd4e929b200bdf33ea221606' - '0160078c9afcbb1a6ac389c3989929f7') + "build-fix.patch") +md5sums=('ce7ffba59f19c764f08546e015777172' + '49dc5a51243a023b47f25ff3d6aabd89') build() { cd ${srcdir}/rdanbrook-nestopia-* - # remove a bogus error message on exit - patch -p0 <$srcdir/nestopia_bogus_error_on_save_settings.patch + patch -p1 <$srcdir/build-fix.patch make PREFIX=/usr -j1 } diff --git a/community/nestopia/build-fix.patch b/community/nestopia/build-fix.patch new file mode 100644 index 000000000..7b8609f8d --- /dev/null +++ b/community/nestopia/build-fix.patch @@ -0,0 +1,19 @@ +diff -wbBur rdanbrook-nestopia-53aa38a/Makefile rdanbrook-nestopia-53aa38a.my/Makefile +--- rdanbrook-nestopia-53aa38a/Makefile 2012-09-26 04:21:32.000000000 +0400 ++++ rdanbrook-nestopia-53aa38a.my/Makefile 2012-10-01 21:12:08.000000000 +0400 +@@ -186,12 +186,12 @@ + install -m 0644 NstDatabase.xml $(DATADIR) + install -m 0644 source/linux/icons/*.png $(DATADIR)/icons + install -m 0644 source/linux/icons/*.svg $(DATADIR)/icons +- install -m 0644 source/linux/icons/nestopia.svg /usr/share/pixmaps +- xdg-desktop-menu install --novendor $(DATADIR)/nestopia.desktop ++ install -Dm0644 source/linux/icons/nestopia.svg $(PREFIX)/share/pixmaps/nestopia.svg ++ install -Dm0644 $(DATADIR)/nestopia.desktop $(PREFIX)/share/applications/nestopia.desktop + + uninstall: + xdg-desktop-menu uninstall $(DATADIR)/nestopia.desktop +- rm /usr/share/pixmaps/nestopia.svg ++ rm $(PREFIX)/share/pixmaps/nestopia.svg + rm $(BINDIR)/$(EXE) + rm -rf $(DATADIR) + diff --git a/community/redis/PKGBUILD b/community/redis/PKGBUILD index 16ead1ff8..03c783fff 100644 --- a/community/redis/PKGBUILD +++ b/community/redis/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 75852 2012-09-03 15:18:26Z spupykin $ +# $Id: PKGBUILD 76882 2012-10-01 15:26:16Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Jan-Erik Rediger <badboy at archlinux dot us> # Contributor: nofxx <x@<nick>.com> pkgname=redis pkgver=2.4.17 -pkgrel=1 +pkgrel=2 pkgdesc="Advanced key-value store" arch=('i686' 'x86_64') url="http://redis.io/" @@ -20,7 +20,7 @@ source=("http://redis.googlecode.com/files/${pkgname}-${pkgver}.tar.gz" "redis.service" "redis.logrotate") md5sums=('f921ce282fb1780cb4a5646e242dadea' - '4f2c02b481283d1336508c988e60e8d8' + '8d843919d9f165e9a47e56cadb4ac2ed' '5ab9fdb200e15c13b450fda77fa030b6' '9e2d75b7a9dc421122d673fe520ef17f') diff --git a/community/redis/redis.d b/community/redis/redis.d index 4babbaaa5..e1c79dd2b 100644 --- a/community/redis/redis.d +++ b/community/redis/redis.d @@ -48,6 +48,11 @@ case "$1" in exit 1 else PID=$(cat $PIDFILE) + + # And grab the server address + REDISADDR=`egrep -o '^bind ([^#]+)' $CONF | cut -d' ' -f2` + [ -n "$REDISADDR" ] && CLIEXEC="$CLIEXEC -h $REDISADDR" + $CLIEXEC -p $REDISPORT shutdown [ -d /proc/${PID} ] && sleep 1 [ -d /proc/${PID} ] && sleep 5 diff --git a/community/sshguard/PKGBUILD b/community/sshguard/PKGBUILD index 7ae15b1b5..5753e126b 100644 --- a/community/sshguard/PKGBUILD +++ b/community/sshguard/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 75998 2012-09-08 15:38:53Z ebelanger $ +# $Id: PKGBUILD 76846 2012-10-01 07:36:10Z mtorromeo $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=sshguard pkgver=1.5 -pkgrel=5 +pkgrel=6 pkgdesc="brute force detector for SSH, Exim, VSFTPD and more. Blocks by ip with iptables" arch=('i686' 'x86_64') #url="http://sourceforge.net/projects/sshguard/" @@ -22,8 +22,8 @@ source=("http://downloads.sourceforge.net/sourceforge/sshguard/sshguard-$pkgver. sha256sums=('b537f8765455fdf8424f87d4bd695e5b675b88e5d164865452137947093e7e19' 'a810da878e40be8616a93c9984e7dbd3700367d665b78b8aa2498228bb33cb6e' '66f28e2cc81e5686f8fd5c0d5a5015d7feecbe018a259f4032cfbacf6fe8d1c3' - '299b5f73e4c53aac6007c87210fc862987042b9d4c088180721bae6ab2214b09' - '385d1dea0c6f5495a7c7e5051f1354f1eab85ee5ef599f6698ab353263b8c9bb') + '53bcf72340495bea19e15a0d80771028e933fceb08789243fef47884b7507075' + 'b1ebc5dd10374a790c7d06419694143bffa019a7c65c8a7b2541487aecec574d') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/sshguard/sshguard-journalctl b/community/sshguard/sshguard-journalctl index ffb61b1cc..c919b4434 100644 --- a/community/sshguard/sshguard-journalctl +++ b/community/sshguard/sshguard-journalctl @@ -1,2 +1,2 @@ #!/bin/sh -/usr/bin/journalctl -flbp info -n0 SYSLOG_FACILITY=10 | /usr/sbin/sshguard -l- "$@" +/usr/bin/journalctl -afbp info -n0 SYSLOG_FACILITY=4 SYSLOG_FACILITY=10 | /usr/sbin/sshguard -l- "$@" diff --git a/community/sshguard/sshguard.service b/community/sshguard/sshguard.service index ad9f90ce2..c317d0932 100644 --- a/community/sshguard/sshguard.service +++ b/community/sshguard/sshguard.service @@ -1,6 +1,6 @@ [Unit] Description=Block hacking attempts -Wants=sshd.service +After=iptables.service [Service] EnvironmentFile=/etc/conf.d/sshguard diff --git a/community/yagf/PKGBUILD b/community/yagf/PKGBUILD index fb649bb46..19ba20943 100644 --- a/community/yagf/PKGBUILD +++ b/community/yagf/PKGBUILD @@ -1,16 +1,18 @@ -# $Id: PKGBUILD 76111 2012-09-11 14:07:51Z spupykin $ +# $Id: PKGBUILD 76879 2012-10-01 15:20:01Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: das-ich <das-ich@yandex.ru> pkgname=yagf pkgver=0.9.2 -pkgrel=1 -pkgdesc="QT4-based GUI for Cuneiform OCR" +pkgrel=2 +pkgdesc="QT4-based GUI for Cuneiform and Tesseract OCRs" arch=(i686 x86_64) url="http://symmetrica.net/cuneiform-linux/yagf-en.html" license=('GPL') -depends=('cuneiform' 'qt>=4.3' 'aspell') -optdepends=('xsane: acquire images from a scanner into YAGF directly') +depends=('qt>=4.3' 'aspell') +optdepends=('cuneiform: recognition tool' + 'tesseract: recognition tool' + 'xsane: acquire images from a scanner into YAGF directly') makedepends=('cmake') install=yagf.install source=(http://symmetrica.net/cuneiform-linux/${pkgname}-${pkgver}.tar.gz) diff --git a/extra/antlr2/PKGBUILD b/extra/antlr2/PKGBUILD index 7805cdd81..31269e235 100644 --- a/extra/antlr2/PKGBUILD +++ b/extra/antlr2/PKGBUILD @@ -1,12 +1,13 @@ -# $Id: PKGBUILD 150679 2012-02-20 03:46:01Z allan $ +# $Id: PKGBUILD 167380 2012-10-01 19:24:15Z guillaume $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: George Giorgidze <giorgidze (at) gmail.com> # Contributor: Stefan Husmann <stefan-husmann@t-online.de> pkgbase=antlr2 -pkgname=('antlr2' 'python-antlr2') +pkgname=('antlr2' 'python2-antlr2') pkgver=2.7.7 -pkgrel=2 +pkgrel=3 +# Arch dependant files in /usr/lib/libantlr.a arch=('i686' 'x86_64') url="http://www.antlr2.org/" license=('custom') @@ -46,7 +47,7 @@ package_antlr2() { "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } -package_python-antlr2() { +package_python2-antlr2() { pkgdesc="ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions (Python version)" depends=('antlr2' 'python2') replaces=('python-antlr') diff --git a/extra/brltty/PKGBUILD b/extra/brltty/PKGBUILD index dc67b756d..ea008e64b 100644 --- a/extra/brltty/PKGBUILD +++ b/extra/brltty/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 156715 2012-04-23 09:03:46Z ibiru $ +# $Id: PKGBUILD 167366 2012-10-01 15:08:16Z tomegun $ # Maintainer: # Contributor: Jan de Groot <jgc@archlinux.org> # Contributor: Giovanni Scafora <giovanni@archlinux.org> pkgname=brltty pkgver=4.3 -pkgrel=5 +pkgrel=6 pkgdesc="Braille display driver for Linux/Unix" arch=('i686' 'x86_64') url="http://mielke.cc/brltty" @@ -18,10 +18,8 @@ options=('!makeflags' '!emptydirs') install=brltty.install source=(http://mielke.cc/$pkgname/releases/$pkgname-$pkgver.tar.gz 'brltty' - 'brltty.conf') -md5sums=('5ada573f88df32b6150db3b9a620e20b' - '831ebaf0c56091702929c68805d20c4f' - 'a8ab8b3dd059e96e1734bc9cdcf844fc') + 'brltty.conf' + 'brltty.service') build() { cd "$srcdir/$pkgname-$pkgver" @@ -44,4 +42,9 @@ package() { 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/extra/brltty/brltty.service b/extra/brltty/brltty.service new file mode 100644 index 000000000..1b9d55e32 --- /dev/null +++ b/extra/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/extra/fssos-nsvs/PKGBUILD b/extra/fssos-nsvs/PKGBUILD index b2d16ae34..a2c1af331 100644 --- a/extra/fssos-nsvs/PKGBUILD +++ b/extra/fssos-nsvs/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 150944 2012-02-24 09:43:04Z pierre $ +# $Id: PKGBUILD 167367 2012-10-01 15:08:26Z tomegun $ # Maintainer: Dale Blount <dale@archlinux.org> pkgname=fssos-nsvs pkgver=0.5 -pkgrel=8 +pkgrel=9 pkgdesc="NSVS for FSSOS" arch=('i686' 'x86_64') url="http://fssos.sourceforge.net/" @@ -13,9 +13,8 @@ backup=('etc/nsvsd.conf') options=('!libtool' '!makeflags') install=$pkgname.install source=("http://downloads.sourceforge.net/sourceforge/fssos/nsvs-$pkgver.tar.gz" - 'nsvsd') -md5sums=('3f17c2f6339f1a322b712b467023d825' - '4dfd9dc0d69b375587e39ab2621d9ea9') + 'nsvsd' + 'nsvsd.service') build() { cd $srcdir/nsvs-$pkgver @@ -26,5 +25,9 @@ build() { package() { cd $srcdir/nsvs-$pkgver make DESTDIR=$pkgdir install - install -D -m755 $srcdir/nsvsd $pkgdir/etc/rc.d/nsvsd + 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/extra/fssos-nsvs/nsvsd.service b/extra/fssos-nsvs/nsvsd.service new file mode 100644 index 000000000..0df5444ab --- /dev/null +++ b/extra/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 diff --git a/extra/hwloc/PKGBUILD b/extra/hwloc/PKGBUILD index bcefb1925..c1a138c3e 100644 --- a/extra/hwloc/PKGBUILD +++ b/extra/hwloc/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 159285 2012-05-20 22:11:18Z stephane $ +# $Id: PKGBUILD 167416 2012-10-02 00:13:40Z stephane $ # Maintainer : Stéphane Gaudreault <stephane@archlinux.org> # Contributor: Sylvain HENRY <hsyl20@yahoo.fr> # Contributor: Hervé YVIQUEL <elldekaa@gmail.com> pkgname=hwloc -pkgver=1.4.2 +pkgver=1.5 pkgrel=1 pkgdesc="Portable Hardware Locality is a portable abstraction of hierarchical architectures" arch=('i686' 'x86_64') @@ -13,8 +13,8 @@ license=('BSD') depends=('sh' 'pciutils' 'cairo' 'libxml2') makedepends=('pkg-config') options=('!libtool' '!docs') -source=(http://www.open-mpi.org/software/hwloc/v1.4/downloads/${pkgname}-${pkgver}.tar.bz2) -sha1sums=('2c2ca4101b4ea6782393b555a320c566da50cb68') +source=(http://www.open-mpi.org/software/hwloc/v1.5/downloads/${pkgname}-${pkgver}.tar.bz2) +sha1sums=('b2e60bd40cfc6ca79dde68b19a83e8a4719d6b14') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/extra/kdeplasma-applets-networkmanagement/PKGBUILD b/extra/kdeplasma-applets-networkmanagement/PKGBUILD index c21b8db89..538974e47 100644 --- a/extra/kdeplasma-applets-networkmanagement/PKGBUILD +++ b/extra/kdeplasma-applets-networkmanagement/PKGBUILD @@ -4,7 +4,7 @@ pkgname=kdeplasma-applets-networkmanagement epoch=1 -pkgver=0.9.0.4 +pkgver=0.9.0.5 pkgrel=1 pkgdesc="KDE control panel and widget network connections" arch=('i686' 'x86_64') @@ -17,7 +17,7 @@ optdepends=('mobile-broadband-provider-info: Database of mobile broadband servic 'openconnect: Cisco AnyConnect compatible VPN client') install=${pkgname}.install source=("http://download.kde.org/unstable/networkmanagement/${pkgver}/src/networkmanagement-${pkgver}.tar.bz2") -sha256sums=('520d0592171ce1aa1c54916f408e7f2d1e016da0acefc725f7170b67a292e256') +sha256sums=('aa7a467f1f2a0e1ad22486381284bfb1350d644d5fcf61f8449c475dbec963eb') build() { cd "${srcdir}" diff --git a/extra/libquvi/PKGBUILD b/extra/libquvi/PKGBUILD new file mode 100644 index 000000000..3cac977bb --- /dev/null +++ b/extra/libquvi/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 167326 2012-10-01 10:01:23Z heftig $ +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> + +pkgname=libquvi +pkgver=0.4.1 +pkgrel=1 +pkgdesc='Library for parsing video download links.' +arch=('i686' 'x86_64') +url='http://quvi.sourceforge.net/' +license=('LGPL') +depends=('libquvi-scripts' 'curl' 'lua') +conflicts=('quvi<0.4.0') +options=('!libtool') +source=("http://downloads.sourceforge.net/sourceforge/quvi/${pkgname}-${pkgver}.tar.gz"{,.sig}) +md5sums=('a5fa8860c23655a529b3166f6e25c83a' + 'cc7f15518f8ab2fc134bc64f0e9d584b') + +build() { + cd "${pkgname}-${pkgver}" + + ./configure --prefix=/usr + make +} + +package() { + cd "${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/extra/moc/PKGBUILD b/extra/moc/PKGBUILD index 57fbab7aa..b03012c8e 100644 --- a/extra/moc/PKGBUILD +++ b/extra/moc/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 164822 2012-08-06 20:34:31Z eric $ +# $Id: PKGBUILD 167384 2012-10-01 19:35:31Z eric $ # Maintainer: Eric Bélanger <eric@archlinux.org> pkgname=moc pkgver=20120717 -pkgrel=1 +pkgrel=2 pkgdesc="An ncurses console audio player designed to be powerful and easy to use" arch=('i686' 'x86_64') url="http://moc.daper.net/" diff --git a/extra/mutt/PKGBUILD b/extra/mutt/PKGBUILD index f1da74622..9650cff99 100644 --- a/extra/mutt/PKGBUILD +++ b/extra/mutt/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 166981 2012-09-24 06:32:03Z bisson $ +# $Id: PKGBUILD 167418 2012-10-02 02:04:08Z bisson $ # Contributor: tobias [tobias [at] archlinux.org] # Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=mutt pkgver=1.5.21 -pkgrel=7 +pkgrel=8 pkgdesc='Small but very powerful text-based mail client' url='http://www.mutt.org/' license=('GPL') @@ -13,15 +13,18 @@ arch=('i686' 'x86_64') optdepends=('smtp-forwarder: to send mail') depends=('gpgme' 'ncurses' 'openssl' 'libsasl' 'gdbm' 'libidn' 'mime-types' 'krb5') source=("ftp://ftp.mutt.org/mutt/devel/${pkgname}-${pkgver}.tar.gz" - '1a4c43138685.patch') + 'pop-cachedir.patch' + 'crypt-gpgme.patch') sha1sums=('a8475f2618ce5d5d33bff85c0affdf21ab1d76b9' - '32dbcafe05e4a919fd00c6a1064c6ecd205e6eb1') + '32dbcafe05e4a919fd00c6a1064c6ecd205e6eb1' + '8cf0d4278aab1d162ab7f847f1b917327d630d98') install=install build() { cd "${srcdir}/${pkgname}-${pkgver}" - patch -i ../1a4c43138685.patch # FS#31536 + patch -i ../pop-cachedir.patch # FS#31536 + patch -p1 -i ../crypt-gpgme.patch # FS#31735 ./configure \ --prefix=/usr \ --sysconfdir=/etc \ diff --git a/extra/mutt/crypt-gpgme.patch b/extra/mutt/crypt-gpgme.patch new file mode 100644 index 000000000..7ed9348b2 --- /dev/null +++ b/extra/mutt/crypt-gpgme.patch @@ -0,0 +1,32 @@ +# HG changeset patch +# User Roman Kagan <rkagan@mail.ru> +# Date 1290506473 -10800 +# Node ID 938f0706311a6ab599d29d35447f0c70972fe7cf +# Parent 01731fb1884ea0e1eaf9008ea9c70804b66f2363 +crypt-gpgme: actually init gpgme + +Recent versions of gpgme (at least the one packaged with Fedora 14, +gpgme-1.2.0), requires proper initialization of the library before use. + +The initialization is done via gpgme_check_version(), and gpgme_set_locale() is +recommended right afterwards, too (see gpgme manual for details). + +Otherwise gpgme_init() fails with "Not operational" error, which makes mutt +immediately quit. + +diff --git a/crypt-gpgme.c b/crypt-gpgme.c +--- a/crypt-gpgme.c ++++ b/crypt-gpgme.c +@@ -4191,6 +4191,12 @@ + if (mutt_any_key_to_continue (NULL) == -1) + mutt_exit(1); + } ++ ++ gpgme_check_version (NULL); ++ gpgme_set_locale (NULL, LC_CTYPE, setlocale (LC_CTYPE, NULL)); ++#ifdef LC_MESSAGES ++ gpgme_set_locale (NULL, LC_MESSAGES, setlocale (LC_MESSAGES, NULL)); ++#endif + } + + void pgp_gpgme_init (void) diff --git a/extra/mutt/pop-cachedir.patch b/extra/mutt/pop-cachedir.patch new file mode 100644 index 000000000..ec1bc198a --- /dev/null +++ b/extra/mutt/pop-cachedir.patch @@ -0,0 +1,12 @@ +Index: muttlib.c
+===================================================================
+--- muttlib.c (revision 6128:eff500f87889)
++++ muttlib.c (revision 6161:1a4c43138685)
+@@ -1961,5 +1961,6 @@
+ char *p = safe_strdup (src);
+ int rc = mutt_convert_string (&p, Charset, "utf-8", 0);
+- strfcpy (dest, rc == 0 ? p : src, dlen);
++ /* `src' may be NULL, such as when called from the pop3 driver. */
++ strfcpy (dest, (rc == 0) ? NONULL(p) : NONULL(src), dlen);
+ FREE (&p);
+ }
diff --git a/extra/openmpi/PKGBUILD b/extra/openmpi/PKGBUILD index 19446ca67..6edab4b10 100644 --- a/extra/openmpi/PKGBUILD +++ b/extra/openmpi/PKGBUILD @@ -1,7 +1,7 @@ -# $Id: PKGBUILD 166149 2012-09-04 22:56:21Z stephane $ +# $Id: PKGBUILD 167415 2012-10-02 00:13:37Z stephane $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> pkgname=openmpi -pkgver=1.6.1 +pkgver=1.6.2 pkgrel=1 pkgdesc="High performance message passing library (MPI)" arch=('i686' 'x86_64') @@ -11,7 +11,7 @@ depends=('gcc-fortran' 'openssh' 'valgrind' 'libltdl' 'hwloc') makedepends=('inetutils') options=(!libtool) source=(http://www.open-mpi.org/software/ompi/v1.6/downloads/${pkgname}-${pkgver}.tar.bz2) -sha1sums=('1ccff71e3775c80c5a553f30104d663e1226baab') +sha1sums=('694fd3bac911cdb22f77175884d819b6fea871df') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/gnome-unstable/anjuta-extras/PKGBUILD b/gnome-unstable/anjuta-extras/PKGBUILD new file mode 100644 index 000000000..4ddfa9f55 --- /dev/null +++ b/gnome-unstable/anjuta-extras/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 167364 2012-10-01 14:56:44Z heftig $ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Contributor: Jan de Groot <jgc@archlinux.org> + +pkgname=anjuta-extras +pkgver=3.6.0 +pkgrel=1 +pkgdesc="Anjuta Integrated Development Environment extra plugins" +arch=('i686' 'x86_64') +license=('GPL') +depends=('anjuta') +makedepends=('intltool' 'gnome-doc-utils') +install=anjuta-extras.install +url="http://www.anjuta.org/" +source=(ftp://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz) +options=('!libtool' '!emptydirs') +sha256sums=('69df64e6e13a6e0683ebaee5a26ee9b9368eda9ed157607d1e6935b52d7f0b9c') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} diff --git a/gnome-unstable/anjuta-extras/anjuta-extras.install b/gnome-unstable/anjuta-extras/anjuta-extras.install new file mode 100644 index 000000000..a96048c1d --- /dev/null +++ b/gnome-unstable/anjuta-extras/anjuta-extras.install @@ -0,0 +1,11 @@ +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/gnome-unstable/anjuta/PKGBUILD b/gnome-unstable/anjuta/PKGBUILD new file mode 100644 index 000000000..320888b6e --- /dev/null +++ b/gnome-unstable/anjuta/PKGBUILD @@ -0,0 +1,50 @@ +# $Id: PKGBUILD 167359 2012-10-01 14:54:15Z heftig $ +# Maintainer: Andreas Radke <andyrtr@archlinux.org> +# Contributor: Harley Laue <losinggeneration@yahoo.com> + +pkgbase=anjuta +pkgname=('libanjuta' 'anjuta') +pkgver=3.6.0 +pkgrel=1 +pkgdesc="GNOME Integrated Development Environment (IDE)" +arch=('i686' 'x86_64') +license=('GPL') +makedepends=('vte3' 'gdl' 'autogen' 'devhelp' 'glade' 'libgda' 'subversion' 'gnome-icon-theme' 'vala' 'dconf' 'gnome-doc-utils' 'intltool' 'gobject-introspection' 'itstool') +url="http://www.anjuta.org/" +source=(ftp://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz) +options=('!libtool' '!emptydirs') +sha256sums=('e810213e2f2847b71e05eb21cdaff6b946e9511cef2105158b428eee47be787a') + +build() { + cd "$pkgbase-$pkgver" + PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var + make +} + +package_libanjuta(){ + pkgdesc="Anjuta runtime library" + depends=('gdl') + conflicts=('anjuta<3.4.4') + + cd "$pkgbase-$pkgver/libanjuta" + + # j1: Race during linking + make -j1 DESTDIR="$pkgdir" install +} + +package_anjuta(){ + pkgdesc="GNOME Integrated Development Environment (IDE)" + depends=('libanjuta' 'vte3' 'autogen' 'devhelp' 'glade' 'libgda' 'subversion' 'gnome-icon-theme' 'vala' 'dconf') + + install=anjuta.install + + cd "$pkgbase-$pkgver" + make -j1 DESTDIR="$pkgdir" install + + cd libanjuta + make -j1 DESTDIR="$pkgdir" uninstall + + sed -i "1s|#!/usr/bin/python$|&2|" \ + $pkgdir/usr/share/anjuta/project/{pygtk,python}/src/main.py +} diff --git a/gnome-unstable/anjuta/anjuta.install b/gnome-unstable/anjuta/anjuta.install new file mode 100644 index 000000000..5608d35be --- /dev/null +++ b/gnome-unstable/anjuta/anjuta.install @@ -0,0 +1,15 @@ +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 + gtk-update-icon-cache -q -t -f /usr/share/icons/gnome + update-mime-database /usr/share/mime > /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/gnome-unstable/baobab/PKGBUILD b/gnome-unstable/baobab/PKGBUILD index 433193ef8..9da564813 100644 --- a/gnome-unstable/baobab/PKGBUILD +++ b/gnome-unstable/baobab/PKGBUILD @@ -1,7 +1,8 @@ -# $Id: PKGBUILD 166847 2012-09-19 21:56:41Z jgc $ +# $Id: PKGBUILD 167334 2012-10-01 11:48:40Z jgc $ # Maintainer: Ionut Biru <ibiru@archlinux.org> + pkgname=baobab -pkgver=3.5.92 +pkgver=3.6.0 pkgrel=1 pkgdesc="A graphical directory tree analyzer" arch=(i686 x86_64) @@ -12,7 +13,7 @@ makedepends=('intltool' 'itstool') groups=('gnome-extra') install=$pkgname.install source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) -sha256sums=('d8b5866c003485d4e88a1d076bfb27864de9f849985cbd0ad517a37d07b97c1b') +sha256sums=('cb252b5384287b31d5f945607ad4c8432fd2936087e714ab9d052ca0c08ffb55') build() { cd "$pkgname-$pkgver" diff --git a/gnome-unstable/baobab/baobab.install b/gnome-unstable/baobab/baobab.install index 847019792..5a3c24041 100644 --- a/gnome-unstable/baobab/baobab.install +++ b/gnome-unstable/baobab/baobab.install @@ -1,6 +1,7 @@ post_install() { glib-compile-schemas /usr/share/glib-2.0/schemas gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + update-desktop-database -q } post_upgrade() { diff --git a/gnome-unstable/brasero/PKGBUILD b/gnome-unstable/brasero/PKGBUILD new file mode 100644 index 000000000..13831b8d1 --- /dev/null +++ b/gnome-unstable/brasero/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 167336 2012-10-01 12:07:27Z jgc $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: William Rea <sillywilly@gmail.com> + +pkgname=brasero +pkgver=3.6.0 +pkgrel=1 +pkgdesc="A disc burning application for Gnome" +arch=('i686' 'x86_64') +url="http://www.gnome.org/projects/brasero" +license=('GPL') +options=('!libtool' '!emptydirs') +depends=('gtk3' 'gst-plugins-base' 'totem-plparser' 'cdrkit' 'cdrdao' 'desktop-file-utils' 'hicolor-icon-theme' 'shared-mime-info' 'libcanberra' 'dvd+rw-tools' 'dconf' 'libsm' 'libtracker-sparql') +makedepends=('gtk-doc' 'intltool' 'libburn' 'libisofs' 'nautilus' 'gobject-introspection' 'gconf' 'itstool' 'docbook-xsl') +optdepends=('libburn: alternative back-end' + 'libisofs: libburn back-end' + 'dvdauthor: video project' + 'gstreamer0.10-bad-plugins: video project' + 'vcdimager: video project') +replaces=('nautilus-cd-burner') +install=brasero.install +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('1eb16f85c5663f3f38ee60516759c0980024b893af9ec7875d31208a53c12b3b') + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-caches \ + --disable-schemas-compile + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR=$pkgdir install +} + diff --git a/gnome-unstable/brasero/brasero.install b/gnome-unstable/brasero/brasero.install new file mode 100644 index 000000000..9248062f7 --- /dev/null +++ b/gnome-unstable/brasero/brasero.install @@ -0,0 +1,14 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + update-desktop-database -q + update-mime-database /usr/share/mime > /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/gnome-unstable/dconf/PKGBUILD b/gnome-unstable/dconf/PKGBUILD new file mode 100644 index 000000000..6afb17b84 --- /dev/null +++ b/gnome-unstable/dconf/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 167338 2012-10-01 13:33:25Z jgc $ +# Maintainer: Ionut Biru <ibiru@archlinux.org> + +pkgname=dconf +pkgver=0.13.90 +pkgrel=1 +pkgdesc="A low-level configuration system." +arch=(i686 x86_64) +url="http://live.gnome.org/dconf" +license=('LGPL2.1') +depends=('glib2' 'gtk-update-icon-cache') +makedepends=('vala' 'gtk3' 'intltool' 'docbook-xsl') +optdepends=('gtk3: for dconf-editor') +install=dconf.install +source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('8661a45700d2530d1e07b735809a3a5e3df019cc8064f0f80919417fc59ee288') + +build() { + cd "$pkgname-$pkgver" + + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/dconf + make +} + +package() { + cd "$pkgname-$pkgver" + make completiondir=/usr/share/bash-completion/completions DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/gnome-unstable/dconf/dconf.install b/gnome-unstable/dconf/dconf.install new file mode 100644 index 000000000..75d713d64 --- /dev/null +++ b/gnome-unstable/dconf/dconf.install @@ -0,0 +1,13 @@ +post_install() { + gio-querymodules /usr/lib/gio/modules + glib-compile-schemas /usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_upgrade(){ + post_install +} + +post_remove() { + post_install +} diff --git a/gnome-unstable/empathy/PKGBUILD b/gnome-unstable/empathy/PKGBUILD index a59b3c533..86d9c1833 100644 --- a/gnome-unstable/empathy/PKGBUILD +++ b/gnome-unstable/empathy/PKGBUILD @@ -1,15 +1,15 @@ -# $Id: PKGBUILD 166890 2012-09-20 22:49:35Z jgc $ +# $Id: PKGBUILD 167414 2012-10-01 23:46:18Z jgc $ # Maintainer: Ionut Biru <ibiru@archlinux.org> pkgname=empathy -pkgver=3.5.92 +pkgver=3.6.0 pkgrel=1 pkgdesc="A GNOME instant messaging client using the Telepathy framework." arch=('i686' 'x86_64') url="http://live.gnome.org/Empathy" license=('GPL2') depends=('clutter-gst' 'clutter-gtk' 'folks' 'gcr' 'iso-codes' 'libcanberra' 'libpulse' 'webkitgtk3' 'networkmanager' 'telepathy-farstream' 'telepathy-glib' 'telepathy-logger' 'telepathy-mission-control') -makedepends=('intltool' 'itstool') +makedepends=('intltool' 'itstool' 'gnome-common') optdepends=('telepathy-gabble: XMPP/Jabber support' 'telepathy-idle: IRC support' 'telepathy-salut: Link-local XMPP support' @@ -19,7 +19,7 @@ options=('!libtool') groups=('gnome-extra') install=empathy.install source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz) -sha256sums=('5e65d07d2f7f991d931cdd2a41702520ef9797904ff24016d4bb37a237ebbcbd') +sha256sums=('6bd73710846f369bc41fa0f88b3dd60d03f9242702b6a8c35681c9e5c99e8441') build() { cd $pkgname-$pkgver @@ -27,7 +27,8 @@ build() { --sysconfdir=/etc \ --libexecdir=/usr/lib/empathy \ --disable-static \ - --disable-schemas-compile + --disable-schemas-compile \ + --enable-gst-1.0=yes sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } diff --git a/gnome-unstable/farstream/PKGBUILD b/gnome-unstable/farstream/PKGBUILD new file mode 100644 index 000000000..e152cece7 --- /dev/null +++ b/gnome-unstable/farstream/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 167403 2012-10-01 23:14:26Z jgc $ +# Maintainer: Ionut Biru <ibiru@archlinux.org> + +pkgname=farstream +pkgver=0.2.0 +pkgrel=1 +pkgdesc="Farstream (formerly Farsight) - Audio/Video Communications Framework" +arch=(i686 x86_64) +url="http://www.freedesktop.org/wiki/Software/Farstream" +license=('LGPL2.1') +depends=('gst-plugins-base-libs' 'libnice') +makedepends=('gobject-introspection') +optdepends=('gst-plugins-good' 'gst-plugins-bad') +conflicts=('farsight2') +replaces=('farsight2') +options=(!libtool) +source=(http://freedesktop.org/software/$pkgname/releases/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('efedec4a885170d350b5cc43c933f1c0') + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr \ + --with-package-name='Arch Linux farstream package' \ + --with-package-origin='http://archlinux.org' \ + --disable-static + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/gnome-unstable/gst-plugins-bad/PKGBUILD b/gnome-unstable/gst-plugins-bad/PKGBUILD new file mode 100644 index 000000000..fe92ff01c --- /dev/null +++ b/gnome-unstable/gst-plugins-bad/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 153258 2012-03-12 16:05:19Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=gst-plugins-bad +pkgver=1.0.0 +pkgrel=1 +arch=('i686' 'x86_64') +license=('LGPL') +url="http://gstreamer.freedesktop.org/" +depends=('mjpegtools' 'gst-plugins-base-libs' 'curl' 'chromaprint' 'libmms' 'faad2' 'mpg123' 'faac' 'celt' 'libdca' 'soundtouch' 'spandsp' 'libdvdnav' 'libmodplug' 'libgme' 'opus') +makedepends=('gstreamer' 'schroedinger' 'gtk3' 'libexif' 'libdvdread' 'libvdpau' 'libmpeg2') +options=(!libtool !emptydirs) +source=(${url}/src/gst-plugins-bad/gst-plugins-bad-${pkgver}.tar.xz) + +build() { + cd "${srcdir}/gst-plugins-bad-${pkgver}" + sed -i '/AC_PATH_XTRA/d' configure.ac + autoreconf + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --enable-experimental \ + --with-package-name="GStreamer Bad Plugins (Archlinux)" \ + --with-package-origin="http://www.archlinux.org/" \ + --with-gtk=3.0 + make +} + +check() { + cd "${srcdir}/gst-plugins-bad-${pkgver}" + make check +} + +package() { + cd "${srcdir}/gst-plugins-bad-${pkgver}" + make DESTDIR="${pkgdir}" install +} +md5sums=('f2d2c432917fb639a510bb3ce85c5329') diff --git a/gnome-unstable/gst-plugins-good/PKGBUILD b/gnome-unstable/gst-plugins-good/PKGBUILD new file mode 100644 index 000000000..442165579 --- /dev/null +++ b/gnome-unstable/gst-plugins-good/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 153258 2012-03-12 16:05:19Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=gst-plugins-good +pkgver=1.0.0 +pkgrel=1 +arch=('i686' 'x86_64') +license=('LGPL') +url="http://gstreamer.freedesktop.org/" +depends=('libpulse' 'jack' 'libsoup' 'gst-plugins-base-libs' 'wavpack' 'aalib' 'taglib' 'libdv' 'libshout' 'libvpx' 'gdk-pixbuf2' 'libcaca' 'libavc1394' 'libiec61883') +makedepends=('gstreamer' 'speex' 'flac' 'libraw1394') +options=(!libtool !emptydirs) +source=(${url}/src/gst-plugins-good/gst-plugins-good-${pkgver}.tar.xz) + +build() { + cd "${srcdir}/gst-plugins-good-${pkgver}" + sed -i '/AC_PATH_XTRA/d' configure.ac + autoreconf + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --enable-experimental \ + --with-package-name="GStreamer Good Plugins (Archlinux)" \ + --with-package-origin="http://www.archlinux.org/" + make +} + +check() { + cd "${srcdir}/gst-plugins-good-${pkgver}" + make check +} + +package() { + cd "${srcdir}/gst-plugins-good-${pkgver}" + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install +} +md5sums=('f711832cd8a9b033eb424fabe89ca9d1') diff --git a/gnome-unstable/gtkmm3/PKGBUILD b/gnome-unstable/gtkmm3/PKGBUILD new file mode 100644 index 000000000..63ec30798 --- /dev/null +++ b/gnome-unstable/gtkmm3/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 167340 2012-10-01 14:04:39Z heftig $ +# Maintainer: Ionut Biru <ibiru@archlinux.org> + +pkgbase=gtkmm3 +_pkgbasename=gtkmm +pkgname=('gtkmm3' 'gtkmm3-docs') +pkgver=3.5.13 +pkgrel=1 +arch=('i686' 'x86_64') +makedepends=('gtk3' 'pangomm' 'atkmm' 'glibmm-docs' 'mm-common' 'doxygen' 'libxslt') +license=('LGPL') +options=('!libtool' '!emptydirs') +url="http://www.gtkmm.org/" +source=(http://ftp.gnome.org/pub/GNOME/sources/$_pkgbasename/${pkgver%.*}/$_pkgbasename-$pkgver.tar.xz) +sha256sums=('2dcd3654f1e88cd80d1641e91bb9bceb10216ee74ec400c14f7bb7c5e4cecbfc') + +build() { + cd "$_pkgbasename-$pkgver" + ./configure --prefix=/usr + make +} + +package_gtkmm3() { + pkgdesc="C++ bindings for gtk3" + depends=('gtk3' 'pangomm' 'atkmm') + cd "$_pkgbasename-$pkgver" + + sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile + + make DESTDIR="$pkgdir" install +} + +package_gtkmm3-docs() { + pkgdesc="Developer documentation for gtkmm v3" + + cd "$_pkgbasename-$pkgver" + make -C docs DESTDIR="$pkgdir" install +} diff --git a/gnome-unstable/libnice/PKGBUILD b/gnome-unstable/libnice/PKGBUILD new file mode 100644 index 000000000..05890543b --- /dev/null +++ b/gnome-unstable/libnice/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 500 2009-08-01 11:44:28Z ibiru $ +# Maintainer: Ionut Biru <ibiru@archlinux.org> +# Contributor: William Díaz <wdiaz@archlinux.us> + +pkgname=libnice +pkgver=0.1.3 +pkgrel=1 +pkgdesc="An implementation of the IETF's draft ICE (for p2p UDP data streams)" +arch=('i686' 'x86_64') +url="http://nice.freedesktop.org" +license=('LGPL') +depends=('glib2') +makedepends=('gstreamer' 'gstreamer0.10') +optdepends=('gstreamer' 'gstreamer0.10') +options=('!libtool') +source=(http://nice.freedesktop.org/releases/$pkgname-$pkgver.tar.gz) + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr --disable-static + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} +md5sums=('1a0907605f852dcda32a3b3daf38d36c') diff --git a/gnome-unstable/opus/PKGBUILD b/gnome-unstable/opus/PKGBUILD new file mode 100644 index 000000000..c250b548d --- /dev/null +++ b/gnome-unstable/opus/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: DrZaius <lou[at]fakeoutdoorsman[dot]com> +# Contributor: pumbur + +pkgname=opus +pkgver=1.0.1 +pkgrel=2 +pkgdesc="codec designed for interactive speech and audio transmission over the Internet" +arch=('i686' 'x86_64') +url="http://www.opus-codec.org/" +license=('custom') +depends=('glibc') +source=("http://downloads.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz") +options=('!libtool') +md5sums=('bbac19996957b404a1139816e2f357f5') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install + install -m755 -d "${pkgdir}/usr/share/licenses/opus" + install -m644 COPYING "${pkgdir}/usr/share/licenses/opus/" +} diff --git a/gnome-unstable/pangox-compat/PKGBUILD b/gnome-unstable/pangox-compat/PKGBUILD new file mode 100644 index 000000000..0006f4fc6 --- /dev/null +++ b/gnome-unstable/pangox-compat/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 167404 2012-10-01 23:16:23Z heftig $ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> + +pkgname=pangox-compat +pkgver=0.0.1 +pkgrel=1 +pkgdesc="X Window System font support for Pango" +arch=('i686' 'x86_64') +license=('LGPL') +depends=('pango') +options=('!libtool') +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver:0:3}/${pkgname}-${pkgver}.tar.xz) +url="http://www.pango.org/" +sha256sums=('c2f46569698c080061f258847ff4030c409846ec69fe3b28fa78d199982b8f3b') + +build() { + cd ${pkgname}-${pkgver} + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static + make +} + +package() { + cd ${pkgname}-${pkgver} + make -j1 DESTDIR="${pkgdir}" install +} diff --git a/gnome-unstable/telepathy-farstream/PKGBUILD b/gnome-unstable/telepathy-farstream/PKGBUILD new file mode 100644 index 000000000..42665b4d5 --- /dev/null +++ b/gnome-unstable/telepathy-farstream/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 167406 2012-10-01 23:31:27Z jgc $ +# Maintainer: Ionut Biru <ibiru@archlinux.org> + +pkgname=telepathy-farstream +pkgver=0.6.0 +pkgrel=1 +pkgdesc="A telepathy-backend to use stream engine." +arch=(i686 x86_64) +url="http://telepathy.freedesktop.org" +license=('LGPL2.1') +depends=('telepathy-glib' 'farstream') +makedepends=('dbus-glib' 'gobject-introspection') +conflicts=('telepathy-farsight') +replaces=('telepathy-farsight') +options=('!libtool') +source=(http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('d154350f9f1e3bdba87617c0668481a5') + +build() { + cd "$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/telepathy \ + --disable-static + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/gnome-unstable/vte3/PKGBUILD b/gnome-unstable/vte3/PKGBUILD new file mode 100644 index 000000000..4a07d2dd1 --- /dev/null +++ b/gnome-unstable/vte3/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 167332 2012-10-01 11:36:11Z jgc $ +# Maintainer: Ionut Biru <ibiru@archlinux.org> + +pkgbase=vte3 +pkgname=(vte3 vte-common) +pkgver=0.34.0 +pkgrel=1 +pkgdesc="Virtual Terminal Emulator widget for use with GTK3" +arch=('i686' 'x86_64') +license=('LGPL') +options=('!libtool' '!emptydirs') +makedepends=('intltool' 'gobject-introspection' 'gtk3') +url="http://www.gnome.org" +source=(http://ftp.gnome.org/pub/GNOME/sources/vte/${pkgver%.*}/vte-$pkgver.tar.xz) +sha256sums=('8b5d4dcd84e36f6a89c7d747978387a3ed3eda5806a383530226dd30b0e4af53') + +build() { + cd "vte-$pkgver" + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/vte \ + --localstatedir=/var --disable-static \ + --enable-introspection + make +} + +package_vte3(){ + depends=('gtk3' 'vte-common') + cd "vte-$pkgver" + make DESTDIR="$pkgdir" install + + rm "$pkgdir"/usr/lib/vte/gnome-pty-helper +} + +package_vte-common() { + pkgdesc="Common files used by vte and vte3" + depends=('glibc') + cd "vte-$pkgver" + + make -C gnome-pty-helper DESTDIR="$pkgdir" install +} diff --git a/staging/konversation/PKGBUILD b/staging/konversation/PKGBUILD new file mode 100644 index 000000000..e491f6801 --- /dev/null +++ b/staging/konversation/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 167386 2012-10-01 19:44:28Z stephane $ +# Maintainer: Stéphane Gaudreault <stephane@archlinux.org> +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: James Rayner <iphitus@gmail.com> +# Contributor: Sergio Jovani Guzman <moret@paretux.org> + +pkgname=konversation +pkgver=1.4 +pkgrel=2 +pkgdesc="A user friendly IRC client for KDE" +arch=('i686' 'x86_64') +url="http://konversation.kde.org" +depends=('kdebase-runtime' 'kdepimlibs' 'python') +makedepends=('automoc4' 'cmake' 'pkgconfig' 'docbook-xml') +license=('GPL2' 'FDL') +install=${pkgname}.install +options=('!makeflags') +source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz") +sha1sums=('90741721f68a02d4345b9006a8ae53bc49ef3777') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install + + # Remove a bunch of symlinks pointing to non-existant files + for lang in pt_BR uk sv et de en nl; do + rm "${pkgdir}"/usr/share/doc/kde/html/${lang}/konversation/common + done +} diff --git a/staging/konversation/konversation.install b/staging/konversation/konversation.install new file mode 100644 index 000000000..8834e059a --- /dev/null +++ b/staging/konversation/konversation.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/staging/pathological/PKGBUILD b/staging/pathological/PKGBUILD new file mode 100644 index 000000000..acf263add --- /dev/null +++ b/staging/pathological/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 167400 2012-10-01 23:04:53Z eric $ +# Maintainer: Eric Bélanger <eric@archlinux.org> + +pkgname=pathological +pkgver=1.1.3 +pkgrel=8 +pkgdesc="A puzzle game with the same feel as frozen bubble" +arch=('i686' 'x86_64') +url="http://pathological.sourceforge.net/" +license=('GPL') +depends=('python2-pygame') +makedepends=('netpbm') +install=pathological.install +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz + pathological.desktop pygame_181.patch encoding.patch) +sha1sums=('70b1c9e12704c7fd3b301aa90bceee2e8373b7b9' + '9b57f854ce9621542d810a21c61325de343950d7' + '6f0aa0f74a87bd53771f2db6d3117981c4f070d3' + '7dbaa9ced7da0094280425a68b4c8db3382f230a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p0 < ../encoding.patch + patch -p1 < ../pygame_181.patch + sed -i 's|X11R6/include/X11|share|' Makefile + sed -i 's|usr/games|usr/bin|' Makefile + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' "${pkgdir}/usr/share/games/pathological/pathological.py" + install -D -m644 ../pathological.desktop "${pkgdir}/usr/share/applications/pathological.desktop" + chown root:games "${pkgdir}/var/games" + chmod 775 "${pkgdir}/var/games" + rm "${pkgdir}/var/games/pathological_scores" +} diff --git a/staging/pathological/encoding.patch b/staging/pathological/encoding.patch new file mode 100644 index 000000000..394875809 --- /dev/null +++ b/staging/pathological/encoding.patch @@ -0,0 +1,8 @@ +--- pathological.py.orig 2009-07-10 01:49:39.000000000 -0400 ++++ pathological.py 2009-07-10 01:49:53.000000000 -0400 +@@ -1,4 +1,5 @@ + #!/usr/bin/python ++# -*- coding: utf-8 -*- + """ + Copyright (C) 2003 John-Paul Gignac + diff --git a/staging/pathological/pathological.desktop b/staging/pathological/pathological.desktop new file mode 100644 index 000000000..54817684f --- /dev/null +++ b/staging/pathological/pathological.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Pathological +Comment=A puzzle game involving paths and marbles +Exec=pathological +Icon=pathological.xpm +Terminal=false +Type=Application +Categories=Application;Game; diff --git a/staging/pathological/pathological.install b/staging/pathological/pathological.install new file mode 100644 index 000000000..4bc716839 --- /dev/null +++ b/staging/pathological/pathological.install @@ -0,0 +1,29 @@ +post_install() { +if [ ! -e var/games/pathological_scores ]; then + cat << _EOF > var/games/pathological_scores +0 all-boards 1 John-Paul +0 all-boards 1 Kim +0 all-boards 1 Matths +0 all-boards 1 Carrie +0 all-boards 1 Mike +0 all-boards 1 Dale +0 all-boards 1 Alesh +0 all-boards 1 Thanks to +0 all-boards 1 everyone who +0 all-boards 1 contributed! +_EOF +fi + chown root:games var/games/pathological_scores + chmod 664 var/games/pathological_scores +} + +pre_upgrade() { + if [ -e usr/share/games/pathological/pathological_scores ]; then + mv usr/share/games/pathological/pathological_scores var/games/ + fi +} + +post_upgrade() { + chown root:games var/games/pathological_scores + chmod 664 var/games/pathological_scores +} diff --git a/staging/pathological/pygame_181.patch b/staging/pathological/pygame_181.patch new file mode 100644 index 000000000..4789f1519 --- /dev/null +++ b/staging/pathological/pygame_181.patch @@ -0,0 +1,10 @@ +--- pathological-1.1.3.orig.orig/pathological.py 2009-04-15 10:50:11.000000000 -0400 ++++ pathological-1.1.3.orig/pathological.py 2009-04-15 10:50:56.000000000 -0400 +@@ -169,6 +169,7 @@ + if not pygame.mixer or not pygame.mixer.music: + print "Background music not available." + return ++ pygame.mixer.music.stop() + fullname = os.path.join('music', name) + try: + pygame.mixer.music.load(fullname) diff --git a/staging/pyqt/PKGBUILD b/staging/pyqt/PKGBUILD new file mode 100644 index 000000000..8fba65343 --- /dev/null +++ b/staging/pyqt/PKGBUILD @@ -0,0 +1,92 @@ +# $Id: PKGBUILD 167324 2012-10-01 06:53:33Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Douglas Soares de Andrade <douglas@archlinux.org> +# Contributor: riai <riai@bigfoot.com> Ben <ben@benmazer.net> + +pkgbase=pyqt +pkgname=('pyqt-common' 'pyqt' 'python2-pyqt') +pkgver=4.9.5 +pkgrel=1 +arch=('i686' 'x86_64') +url="http://riverbankcomputing.co.uk/software/pyqt/intro" +license=('GPL') +makedepends=('qt' 'python-sip' 'python-dbus' 'python2-sip' 'phonon' + 'python2-opengl' 'qt-assistant-compat' 'qtwebkit' 'python2-dbus') + source=("http://downloads.sourceforge.net/${pkgbase}/PyQt-x11-gpl-${pkgver}.tar.gz") +md5sums=('e4cdd6619c63655f7510efb4df8462fb') + +build() { + cp -r PyQt-x11-gpl-${pkgver} Py2Qt-x11-gpl-${pkgver} + + cd PyQt-x11-gpl-${pkgver} + python configure.py \ + --confirm-license \ + --qsci-api + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make + + ### Python2 version ### + cd ../Py2Qt-x11-gpl-${pkgver} + python2 configure.py \ + --confirm-license \ + -v /usr/share/sip \ + --qsci-api + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make +} + +package_pyqt-common(){ + pkgdesc="Common PyQt files shared between pyqt and python2-pyqt" + + cd PyQt-x11-gpl-${pkgver} + make -C pyrcc DESTDIR="${pkgdir}" install + make -C pylupdate DESTDIR="${pkgdir}" install + make -C designer INSTALL_ROOT="${pkgdir}" install + + install -Dm644 PyQt4.api "${pkgdir}"/usr/share/qt/qsci/api/python/PyQt4.api +} + +package_pyqt(){ + pkgdesc="A set of Python 3.x bindings for the Qt toolkit" + depends=('qtwebkit' 'python-sip' 'python-dbus' 'pyqt-common') + optdepends=('phonon: enable audio and video in PyQt applications' + 'qscintilla: QScintilla API' + 'qt-assistant-compat: add PyQt online help in Qt Assistant') + + cd PyQt-x11-gpl-${pkgver} + # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR + make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install + + # Provided by pyqt-common + rm "${pkgdir}"/usr/bin/{pylupdate4,pyrcc4} + rm "${pkgdir}"/usr/lib/qt/plugins/designer/libpythonplugin.so + rm "${pkgdir}"/usr/share/qt/qsci/api/python/PyQt4.api +} + +package_python2-pyqt(){ + pkgdesc="A set of Python 2.x bindings for the Qt toolkit" + depends=('qtwebkit' 'python2-sip' 'python2-dbus' 'pyqt-common') + optdepends=('phonon: enable audio and video in PyQt applications' + 'python2-opengl: enable OpenGL 3D graphics in PyQt applications' + 'qscintilla: QScintilla API' + 'qt-assistant-compat: add PyQt online help in Qt Assistant') + provides=('python2-qt') + + cd Py2Qt-x11-gpl-${pkgver} + # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR + make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install + + # Fix conflicts with pyqt + mv "${pkgdir}"/usr/bin/{,python2-}pyuic4 + + # Provided by pyqt-common + rm "${pkgdir}"/usr/bin/{pylupdate4,pyrcc4} + rm "${pkgdir}"/usr/lib/qt/plugins/designer/libpythonplugin.so + rm "${pkgdir}"/usr/share/qt/qsci/api/python/PyQt4.api +} diff --git a/staging/python-pygame/PKGBUILD b/staging/python-pygame/PKGBUILD new file mode 100644 index 000000000..2cd71fc35 --- /dev/null +++ b/staging/python-pygame/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 167394 2012-10-01 22:41:51Z eric $ +# Maintainer: Eric Bélanger <eric@archlinux.org> + +pkgbase=python-pygame +pkgname=python2-pygame +pkgver=1.9.1 +pkgrel=6 +pkgdesc="Python game library" +arch=('i686' 'x86_64') +url="http://www.pygame.org/" +license=('LGPL') +depends=('sdl_mixer' 'sdl_ttf' 'sdl_image' 'python2' 'portmidi') +source=(http://pygame.org/ftp/pygame-${pkgver}release.tar.gz \ + config.patch pygame-v4l.patch) +sha1sums=('a45aeb0623e36ae7a1707b5f41ee6274f72ca4fa' + '285815e28705d5a2aea53c9d952d35fddf10dd13' + '7e693fb2ef5ef636f9965ba1a4eb854f8b0b5070') + +build() { + cd "${srcdir}/pygame-${pkgver}release" + patch -Np0 -i "${srcdir}/config.patch" + patch -Np1 -i "${srcdir}/pygame-v4l.patch" +} + +package_python2-pygame() { + cd "${srcdir}/pygame-${pkgver}release" + python2 config.py -auto + python2 setup.py install --root="${pkgdir}" --prefix=/usr + +# Copying the examples and tests + cp -R examples lib/* "${pkgdir}/usr/lib/python2.7/site-packages/pygame" + cp -R test/* "${pkgdir}/usr/lib/python2.7/site-packages/pygame/tests" + + find "${pkgdir}" -type f -exec sed -i 's#/usr/bin/env python#/usr/bin/env python2#' {} + + +# Fixing permissions + chmod 644 "${pkgdir}"/usr/include/python2.7/pygame/* +} diff --git a/staging/python-pygame/config.patch b/staging/python-pygame/config.patch new file mode 100644 index 000000000..b3dab162c --- /dev/null +++ b/staging/python-pygame/config.patch @@ -0,0 +1,26 @@ +Index: config_unix.py +=================================================================== +--- config_unix.py (revision 2567) ++++ config_unix.py (working copy) +@@ -174,7 +174,7 @@ + + for d in DEPS[1:]: + if not d.found: +- if not confirm(""" ++ if "-auto" not in sys.argv and not confirm(""" + Warning, some of the pygame dependencies were not found. Pygame can still + compile and install, but games that depend on those missing dependencies + will not run. Would you like to continue the configuration?"""): +Index: config_msys.py +=================================================================== +--- config_msys.py (revision 2567) ++++ config_msys.py (working copy) +@@ -283,7 +283,7 @@ + + for d in DEPS[1:]: + if not d.found: +- if not confirm(""" ++ if "-auto" not in sys.argv and not confirm(""" + Warning, some of the pygame dependencies were not found. Pygame can still + compile and install, but games that depend on those missing dependencies + will not run. Would you like to continue the configuration?"""): diff --git a/staging/python-pygame/pygame-v4l.patch b/staging/python-pygame/pygame-v4l.patch new file mode 100644 index 000000000..3b5a2b9d2 --- /dev/null +++ b/staging/python-pygame/pygame-v4l.patch @@ -0,0 +1,88 @@ +diff -crB pygame-1.9.1release/Setup.in pygame-1.9.1release-v4lpatch//Setup.in +*** pygame-1.9.1release/Setup.in Thu Jul 2 06:41:56 2009 +--- pygame-1.9.1release-v4lpatch//Setup.in Thu Mar 24 17:31:22 2011 +*************** +*** 34,40 **** + _numericsndarray src/_numericsndarray.c $(SDL) $(MIXER) $(DEBUG) + movie src/movie.c $(SDL) $(SMPEG) $(DEBUG) + scrap src/scrap.c $(SDL) $(SCRAP) $(DEBUG) +! _camera src/_camera.c src/camera_v4l2.c src/camera_v4l.c $(SDL) $(DEBUG) + pypm src/pypm.c $(SDL) $(PORTMIDI) $(PORTTIME) $(DEBUG) + + GFX = src/SDL_gfx/SDL_gfxPrimitives.c +--- 34,40 ---- + _numericsndarray src/_numericsndarray.c $(SDL) $(MIXER) $(DEBUG) + movie src/movie.c $(SDL) $(SMPEG) $(DEBUG) + scrap src/scrap.c $(SDL) $(SCRAP) $(DEBUG) +! _camera src/_camera.c src/camera_v4l2.c $(SDL) $(DEBUG) + pypm src/pypm.c $(SDL) $(PORTMIDI) $(PORTTIME) $(DEBUG) + + GFX = src/SDL_gfx/SDL_gfxPrimitives.c +diff -crB pygame-1.9.1release/src/_camera.c pygame-1.9.1release-v4lpatch//src/_camera.c +*** pygame-1.9.1release/src/_camera.c Sun Mar 15 20:30:41 2009 +--- pygame-1.9.1release-v4lpatch//src/_camera.c Thu Mar 24 16:58:18 2011 +*************** +*** 160,179 **** + { + #if defined(__unix__) + if (v4l2_open_device(self) == 0) { +! if (v4l_open_device(self) == 0) { +! v4l2_close_device(self); +! return NULL; +! } else { +! self->camera_type = CAM_V4L; +! if (v4l_init_device(self) == 0) { +! v4l2_close_device(self); +! return NULL; +! } +! if (v4l_start_capturing(self) == 0) { +! v4l2_close_device(self); +! return NULL; +! } +! } + } else { + self->camera_type = CAM_V4L2; + if (v4l2_init_device(self) == 0) { +--- 160,167 ---- + { + #if defined(__unix__) + if (v4l2_open_device(self) == 0) { +! v4l2_close_device(self); +! return NULL; + } else { + self->camera_type = CAM_V4L2; + if (v4l2_init_device(self) == 0) { +diff -crB pygame-1.9.1release/src/camera.h pygame-1.9.1release-v4lpatch//src/camera.h +*** pygame-1.9.1release/src/camera.h Fri Oct 10 04:37:10 2008 +--- pygame-1.9.1release-v4lpatch//src/camera.h Thu Mar 24 16:44:32 2011 +*************** +*** 39,45 **** + + #include <asm/types.h> /* for videodev2.h */ + +- #include <linux/videodev.h> + #include <linux/videodev2.h> + #endif + +--- 39,44 ---- +*************** +*** 51,57 **** + #define RGB_OUT 1 + #define YUV_OUT 2 + #define HSV_OUT 4 +- #define CAM_V4L 1 + #define CAM_V4L2 2 + + struct buffer +--- 50,55 ---- +*************** +*** 111,118 **** + int v4l2_close_device (PyCameraObject* self); + int v4l2_open_device (PyCameraObject* self); + +- /* internal functions specific to v4l */ +- int v4l_open_device (PyCameraObject* self); +- int v4l_init_device(PyCameraObject* self); +- int v4l_start_capturing(PyCameraObject* self); + #endif +--- 109,112 ---- diff --git a/testing/iputils/PKGBUILD b/testing/iputils/PKGBUILD index 6b5348b45..af7cb0750 100644 --- a/testing/iputils/PKGBUILD +++ b/testing/iputils/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 163462 2012-07-12 10:24:03Z stephane $ +# $Id: PKGBUILD 167413 2012-10-01 23:45:59Z stephane $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> # Maintainer: Tobias Powalowski <tpowa@archlinux.org> # Contributor: Aaron Griffin <aaron@archlinux.org> pkgname=iputils pkgver=20101006 -pkgrel=4 +pkgrel=6 pkgdesc="IP Configuration Utilities (and Ping)" arch=('i686' 'x86_64') license=('GPL') diff --git a/testing/iputils/iputils.install b/testing/iputils/iputils.install index 2481fb396..d83f94426 100644 --- a/testing/iputils/iputils.install +++ b/testing/iputils/iputils.install @@ -1,7 +1,10 @@ post_install() { - setcap cap_net_raw=ep usr/bin/ping - setcap cap_net_raw=ep usr/bin/ping6 - echo " >> Traceroute is now provided by core/traceroute" + setcap cap_net_raw=ep usr/bin/ping 2>/dev/null || chmod +s usr/bin/ping + setcap cap_net_raw=ep usr/bin/ping6 2>/dev/null || chmod +s usr/bin/ping6 + + if [ "$(vercmp $2 20101006-3)" -le 0 ]; then + echo " >> Traceroute is now provided by core/traceroute" + fi } post_upgrade() { |