diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-08-29 11:24:07 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-08-29 11:24:07 -0300 |
commit | 38bae167f23bd509b81394975c012b8abb1693d7 (patch) | |
tree | 3b926bce43f03c0366d78ad6253cbdf9520235d4 /community | |
parent | 2bcb8acb8b02bde03c5d285baafe754760788265 (diff) | |
parent | 498a4346616c33beac56d48a246cf27fe3812341 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/espeak/PKGBUILD
community/gmic/PKGBUILD
extra/dhcp/PKGBUILD
extra/hspell/PKGBUILD
extra/libatasmart/PKGBUILD
extra/udisks/PKGBUILD
extra/xorg-server/PKGBUILD
testing/libdrm/PKGBUILD
testing/libdrm/no-pthread-stubs.patch
testing/systemd/PKGBUILD
Diffstat (limited to 'community')
-rw-r--r-- | community/atop/PKGBUILD | 7 | ||||
-rw-r--r-- | community/chuck/PKGBUILD | 51 | ||||
-rw-r--r-- | community/connman/PKGBUILD | 3 | ||||
-rw-r--r-- | community/espeak/PKGBUILD | 29 | ||||
-rw-r--r-- | community/flightgear/PKGBUILD | 19 | ||||
-rw-r--r-- | community/gmic/PKGBUILD | 57 | ||||
-rw-r--r-- | community/gprolog/PKGBUILD | 10 | ||||
-rw-r--r-- | community/iasl/PKGBUILD | 36 | ||||
-rw-r--r-- | community/mariadb/PKGBUILD | 6 | ||||
-rw-r--r-- | community/mayavi/PKGBUILD | 45 | ||||
-rw-r--r-- | community/openmotif/PKGBUILD | 5 | ||||
-rw-r--r-- | community/percona-server/PKGBUILD | 16 | ||||
-rw-r--r-- | community/python2-traits/PKGBUILD | 32 | ||||
-rw-r--r-- | community/rsyslog/PKGBUILD | 9 | ||||
-rw-r--r-- | community/simgear/PKGBUILD | 8 | ||||
-rw-r--r-- | community/spectrwm/PKGBUILD | 6 | ||||
-rw-r--r-- | community/vtk/PKGBUILD | 111 | ||||
-rw-r--r-- | community/vtk/ffmpeg-0.11.diff | 46 | ||||
-rw-r--r-- | community/vtk/ffmpeg-0.8.diff | 66 |
19 files changed, 462 insertions, 100 deletions
diff --git a/community/atop/PKGBUILD b/community/atop/PKGBUILD index 2e0a1b5c0..583499150 100644 --- a/community/atop/PKGBUILD +++ b/community/atop/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 74387 2012-07-26 08:51:10Z spupykin $ +# $Id: PKGBUILD 75558 2012-08-27 08:48:21Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: John Gerritse <john.gerritse@gmail.com> pkgname=atop pkgver=1.27_3 -pkgrel=1 +pkgrel=2 pkgdesc="A system and process level monitor." arch=(i686 x86_64 'mips64el') url="http://www.atoptool.nl/" @@ -22,4 +22,7 @@ build() { package() { cd $srcdir/$pkgname-${pkgver/_/-} make DESTDIR=$pkgdir INIPATH=/etc/rc.d install + rm -f $pkgdir/etc/cron.d/atop + install -dm0755 $pkgdir/etc/cron.daily + mv $pkgdir/etc/atop/atop.daily $pkgdir/etc/cron.daily/atop } diff --git a/community/chuck/PKGBUILD b/community/chuck/PKGBUILD new file mode 100644 index 000000000..5cb5634ab --- /dev/null +++ b/community/chuck/PKGBUILD @@ -0,0 +1,51 @@ +# $Id: PKGBUILD 75637 2012-08-27 21:34:19Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Laurent Carlier <lordheavym@gmail.com> +# Contributor: Brad Fanella <bradfanella@archlinux.us> +# Contributor: SpepS <dreamspepser at yahoo dot it> +# Contributor: Jeff Mickey <jeff@archlinux.org> +# Contributor: tardo <tardo@nagi-fanboi.net> + +pkgname=chuck +pkgver=1.3.0.0 +pkgrel=1 +pkgdesc="Concurrent, on-the-fly audio programming language" +arch=('x86_64' 'i686') +url="http://chuck.cs.princeton.edu/" +license=('GPL') +depends=('gcc-libs' 'libsndfile') +makedepends=('bison' 'flex' 'setconf') +source=("http://chuck.cs.princeton.edu/release/files/$pkgname-$pkgver.tgz") +sha256sums=('80bfc6ab3017c8183fe7640eca94bcb314cf4cdb1c4b70cc3abb67b4d88ff111') + +if [[ $CARCH == x86_64 ]]; then + depends=('gcc-libs-multilib' 'lib32-libsndfile' 'lib32-alsa-lib') + makedepends+=('gcc-multilib') +fi + +build() { + cd "$srcdir/$pkgname-$pkgver/src" + + msg2 "Configuring..." + if [[ $CARCH == x86_64 ]]; then + setconf makefile CC 'gcc -m32' + setconf makefile CXX 'g++ -m32' + setconf makefile LD 'g++ -m32' + fi + CFLAGS+=' -fno-strict-aliasing -lpthread' + CXXFLAGS+=' -fno-strict-aliasing -fpermissive -lpthread' + + msg2 "Compiling..." + # Alternatives to linux-alsa are: linux-jack linux-oss osx win32 + make linux-alsa +} + +package() { + cd "$srcdir/$pkgname-$pkgver/src" + + install -Dm755 chuck $pkgdir/usr/bin/chuck + mkdir -p "$pkgdir/usr/share/doc/$pkgname" + cp -r ../examples "$pkgdir/usr/share/doc/$pkgname/" +} + +# vim:set ts=2 sw=2 et: diff --git a/community/connman/PKGBUILD b/community/connman/PKGBUILD index d9379b889..a67a10498 100644 --- a/community/connman/PKGBUILD +++ b/community/connman/PKGBUILD @@ -4,7 +4,7 @@ pkgname=connman pkgver=1.6 -pkgrel=2 +pkgrel=3 pkgdesc="Wireless LAN network manager" url="http://connman.net/" arch=('i686' 'x86_64') @@ -29,6 +29,7 @@ build() { patch -Np1 -i "${srcdir}/allow_group_network.diff" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --with-systemdunitdir=/usr/lib/systemd/system \ --enable-threads \ --enable-openconnect \ --enable-openvpn \ diff --git a/community/espeak/PKGBUILD b/community/espeak/PKGBUILD index 93ec88a20..a35be4c24 100644 --- a/community/espeak/PKGBUILD +++ b/community/espeak/PKGBUILD @@ -1,29 +1,32 @@ -# $Id: PKGBUILD 67106 2012-03-04 10:23:58Z andrea $ -# Maintainer: +# $Id: PKGBUILD 75640 2012-08-27 22:14:26Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Mateusz Herych <heniekk@gmail.com> # Contributor: Christoph Siegenthaler <csi@gmx.ch> pkgname=espeak pkgver=1.46.02 -pkgrel=1 +pkgrel=2 pkgdesc="Text to Speech engine for good quality English, with support for other languages" arch=('i686' 'x86_64' 'mips64el') url='http://espeak.sourceforge.net/' license=('GPL') -depends=('gcc-libs' 'portaudio') -source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-source.zip") -md5sums=('84e8e44562f05a3afc5427218afc8af1') +depends=('portaudio' 'libpulse') +options=('!emptydirs') +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-source.zip") +sha256sums=('ef8beba25bd261718582d5cbb1f10293007eb525b705ff79c9fb3f505dd954ba') build() { - cd $srcdir/$pkgname-$pkgver-source/src - cp portaudio19.h portaudio.h - make + cd "$srcdir/$pkgname-$pkgver-source/src" + + cp portaudio19.h portaudio.h + make CXXFLAGS="$CXXFLAGS" AUDIO=runtime } package() { - cd $srcdir/$pkgname-$pkgver-source/src - make DESTDIR=$pkgdir install + cd "$srcdir/$pkgname-$pkgver-source/src" - # Fix permissions - chmod 644 ${pkgdir}/usr/lib/libespeak.a + make DESTDIR=$pkgdir install + chmod 644 "$pkgdir/usr/lib/libespeak.a" } + +# vim:set ts=2 sw=2 et: diff --git a/community/flightgear/PKGBUILD b/community/flightgear/PKGBUILD index 50ddaec16..7c386c450 100644 --- a/community/flightgear/PKGBUILD +++ b/community/flightgear/PKGBUILD @@ -1,14 +1,14 @@ -# $Id: PKGBUILD 71686 2012-06-01 13:04:56Z dreisner $ +# $Id: PKGBUILD 75601 2012-08-27 13:34:13Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: William Rea <sillywilly@gmail.com> # Contributor: Hans Janssen <hans@janserv.xs4all.nl> pkgname=flightgear -pkgver=2.6.0 -pkgrel=5 +pkgver=2.8.0 +pkgrel=1 pkgdesc="An open-source, multi-platform flight simulator" arch=(i686 x86_64) -depends=('simgear' 'libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion') +depends=('simgear' 'libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion' 'libxrandr') makedepends=('boost' 'cmake') license=("GPL") url="http://www.flightgear.org" @@ -16,11 +16,10 @@ options=('!makeflags') #source=("$pkgname-$pkgver.tar.gz::https://gitorious.org/fg/flightgear/archive-tarball/release/$pkgver") #source=("ftp://ftp.de.flightgear.org/pub/fgfs/Source/flightgear-$pkgver.tar.bz2") source=("http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/flightgear-$pkgver.tar.bz2") -md5sums=('943f784f55c7e11ddce6082d2d1dbba4') +md5sums=('9499194146f414323efef8cb3451b750') build() { cd $srcdir/flightgear-$pkgver - sed -i '1,1i#include <unistd.h>' utils/TerraSync/terrasync.cxx cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ @@ -30,10 +29,12 @@ build() { } package() { - depends=('simgear' 'libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion' 'flightgear-data') + depends=(${depends[@]} 'flightgear-data') + cd $srcdir/flightgear-$pkgver make DESTDIR=$pkgdir install - install -Dm0644 package/flightgear.desktop $pkgdir//usr/share/applications/flightgear.desktop - install -Dm0644 package/RedHat/flightgear.48.png $pkgdir/usr/share/icons/flightgear.png + + install -Dm0644 package/flightgear.desktop $pkgdir/usr/share/applications/flightgear.desktop + install -Dm0644 package/flightgear.ico $pkgdir/usr/share/icons/flightgear.ico ln -sf flightgear $pkgdir/usr/share/FlightGear } diff --git a/community/gmic/PKGBUILD b/community/gmic/PKGBUILD index f7f169d90..7fcc2020b 100644 --- a/community/gmic/PKGBUILD +++ b/community/gmic/PKGBUILD @@ -1,45 +1,58 @@ -# $Id: PKGBUILD 75539 2012-08-26 22:26:59Z spupykin $ +# $Id: PKGBUILD 75579 2012-08-27 10:53:33Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com> # Contributor: farid <farid at archlinuc-br.org> # Contributor: Archie <Mymaud@gmail.com> pkgbase=gmic -pkgname=('gmic' 'gimp-plugin-gmic') +pkgname=("gmic" "gimp-plugin-gmic" "zart") pkgver=1.5.1.8 -pkgrel=1 -pkgdesc="image procession framework" +pkgrel=2 arch=('i686' 'x86_64' 'mips64el') -license=('custom:CeCILL') url="http://gmic.sourceforge.net" -makedepends=('gimp' 'fftw' 'lapack' 'opencv' 'graphicsmagick' 'openexr' 'imagemagick' 'qt') -options=('docs' '!emptydirs') -source=("http://downloads.sourceforge.net/sourceforge/gmic/gmic_$pkgver.tar.gz" - opencv-buildfix.patch) +license=("custom:CeCILL") +makedepends=("gimp" "qt" "fftw" "openexr" "opencv") +#options=('!emptydirs') +source=("http://downloads.sourceforge.net/sourceforge/gmic/gmic_${pkgver}.tar.gz" + "opencv-buildfix.patch") md5sums=('1fc38346269bdd829dd7c4864a27fbc3' '8d1cf5000239099255d25c7d3dbe5728') build() { - cd "$srcdir/gmic-$pkgver" - patch -p1 <$srcdir/opencv-buildfix.patch + cd "${srcdir}/gmic-${pkgver}" + patch -p1 -i "${srcdir}/opencv-buildfix.patch" + find "${srcdir}/gmic-${pkgver}/zart" -type f -execdir chmod 644 '{}' \; + find "${srcdir}/gmic-${pkgver}/zart" -type d -execdir chmod 755 '{}' \; make -C src all } package_gmic() { - depends=('fftw' 'lapack' 'opencv' 'graphicsmagick' 'openexr') - replaces=('greycstoration') + pkgdesc="GREYC's Magic Image Converter: image processing framework" + depends=("fftw" "libtiff" "libjpeg" "libpng" "openexr" "libx11") + replaces=("greycstoration") - cd "$srcdir/gmic-$pkgver" - make -C src install DESTDIR="$pkgdir" USR=/usr - install -Dm644 COPYING "$pkgdir/usr/share/licenses/gmic/LICENSE" + cd "${srcdir}/gmic-${pkgver}" + make -C src install DESTDIR="$pkgdir" USR="/usr" + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + rm -rf "${pkgdir}/usr/"{bin/zart,lib/gimp,share/zart} +} + +package_zart() { + pkgdesc="A GUI for G'MIC real-time manipulations on the output of a webcam" + depends=("opencv" "fftw" "qt") + + cd "${srcdir}/gmic-${pkgver}" + make -C src install DESTDIR="$pkgdir" USR="/usr" + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + rm -rf "${pkgdir}/usr/"{bin/gmic,include,lib,share/{man,bash-completion}} } package_gimp-plugin-gmic() { - pkgdesc="Gimp plugin for the GMIC image procession framework" - depends=('gimp' 'fftw' 'lapack') - replaces=('gimp-plugin-greycstoration' 'gimp-plugin-gmic4gimp') + pkgdesc="Gimp plugin for the G'MIC image processing framework" + depends=("gimp" "fftw") + replaces=("gimp-plugin-greycstoration" "gimp-plugin-gmic4gimp") - cd "$srcdir/gmic-$pkgver" - install -Dm755 src/gmic_gimp "$pkgdir/usr/lib/gimp/2.0/plug-ins/gmic_gimp" - install -Dm644 COPYING "$pkgdir/usr/share/licenses/gimp-plugin-gmic/LICENSE" + cd "${srcdir}/gmic-${pkgver}" + install -Dm755 src/gmic_gimp "${pkgdir}/usr/lib/gimp/2.0/plug-ins/gmic_gimp" + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/community/gprolog/PKGBUILD b/community/gprolog/PKGBUILD index 8a19bff88..405263831 100644 --- a/community/gprolog/PKGBUILD +++ b/community/gprolog/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 65538 2012-02-21 08:47:59Z spupykin $ +# $Id: PKGBUILD 75564 2012-08-27 09:17:12Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Geoffroy Carrier <geoffroy.carrier@koon.fr> # Contributer: Jason Chu <jchu@xentac.net> pkgname=gprolog -pkgver=1.4.0 -pkgrel=2 +pkgver=1.4.1 +pkgrel=1 pkgdesc="GNU Prolog" arch=('i686' 'x86_64' 'mips64el') url="http://www.gprolog.org/" -depends=('glibc') +depends=() license=('GPL') source=(ftp://ftp.gnu.org/gnu/gprolog/gprolog-$pkgver.tar.gz) -md5sums=('cc944e5637a04a9184c8aa46c947fd16') +md5sums=('433c733da92596ee40e6d4a934591a5b') build() { cd "$srcdir/gprolog-$pkgver/src" diff --git a/community/iasl/PKGBUILD b/community/iasl/PKGBUILD index c9bea62b9..865c7780d 100644 --- a/community/iasl/PKGBUILD +++ b/community/iasl/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 72890 2012-06-24 13:48:22Z lcarlier $ +# $Id: PKGBUILD 75633 2012-08-27 20:02:12Z lcarlier $ # Maintainer : Laurent Carlier <lordheavym@gmail.com> # Contributor: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Alessio 'mOlOk' Bolognino <themolok@gmail.com> pkgname=iasl -pkgver=20120620 +pkgver=20120816 pkgrel=1 pkgdesc="Intel ACPI Source Language compiler" arch=('i686' 'x86_64' 'mips64el') @@ -16,35 +16,25 @@ options=('!makeflags') install=iasl.install source=(http://acpica.org/download/acpica-unix-${pkgver}.tar.gz LICENSE) -md5sums=('7061691ed7c828bc640aaf4274bbca78' +md5sums=('eae80f528320717357b3cb5368ba580b' '8615526144f69ea4e870d9bc37df9b29') build() { - cd "${srcdir}/acpica-unix-${pkgver}"/source + cd "${srcdir}/acpica-unix-${pkgver}"/generate/unix - # fix building with gcc-4.6 - sed -i -e 's/-Werror//g' compiler/Makefile tools/acpisrc/Makefile + sed -i -e 's/_CYGWIN/_LINUX/g' -e 's/-Werror//g' Makefile.config - cd compiler - make - - cd ../tools/acpisrc - make - - - #cd ../acpiexec - #make - #install -m755 acpiexec "${pkgdir}/usr/bin" - - cd ../acpixtract - make + if [[ $CARCH == i686 ]]; then + make BITS=32 + else + make BITS=64 + fi } package() { - cd "${srcdir}/acpica-unix-${pkgver}"/source + cd "${srcdir}/acpica-unix-${pkgver}"/generate/unix + + make DESTDIR=${pkgdir} install - install -D -m755 compiler/iasl "${pkgdir}/usr/bin/iasl" - install -m755 tools/acpisrc/acpisrc "${pkgdir}/usr/bin" - install -m755 tools/acpixtract/acpixtract "${pkgdir}/usr/bin" install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/community/mariadb/PKGBUILD b/community/mariadb/PKGBUILD index 83e17e7ec..bf94c2554 100644 --- a/community/mariadb/PKGBUILD +++ b/community/mariadb/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 75383 2012-08-21 18:02:55Z bpiotrowski $ +# $Id: PKGBUILD 75598 2012-08-27 12:35:39Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> pkgbase=mariadb pkgname=('libmariadbclient' 'mariadb-clients' 'mariadb') pkgver=5.5.25 -pkgrel=5 +pkgrel=6 arch=('i686' 'x86_64') license=('GPL') url="http://mariadb.org/" @@ -18,7 +18,7 @@ md5sums=('943f67c267d73a4080ab497e11740daf' '32f30449d3111714fe190931d08fdb8c') build() { - cd "${srcdir}" + cd $srcdir mkdir build cd build diff --git a/community/mayavi/PKGBUILD b/community/mayavi/PKGBUILD new file mode 100644 index 000000000..4e9fcafc9 --- /dev/null +++ b/community/mayavi/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 75627 2012-08-27 16:59:37Z aginiewicz $ +# Maintainer: Andrzej Giniewicz <gginiu@gmail.com> + +pkgname=mayavi +pkgver=4.2.0 +_githubtag=a1e562a +pkgrel=2 +pkgdesc="A 3-dimensional visualizer of scientific data" +arch=('i686' 'x86_64') +url="http://code.enthought.com/projects/mayavi/" +license=('BSD') +depends=('ipython2' 'vtk' 'python2-envisage' 'wxpython') +makedepends=('python2-distribute' 'python2-sphinx') +replaces=('python2-mayavi') +provides=('python2-mayavi') +options=(!emptydirs) + +source=("$pkgname-$pkgver.tar.gz::https://github.com/enthought/mayavi/tarball/${pkgver}") +md5sums=('b46fb048176002738de64eed8d2b447a') + +build() { + cd "$srcdir"/enthought-mayavi-${_githubtag} + + python2 setup.py build + + cd docs + + make SPHINXBUILD=sphinx-build2 html +} + +package() { + cd "$srcdir"/enthought-mayavi-${_githubtag} + + python2 setup.py install --root="$pkgdir"/ --optimize=1 + + cp -r docs/build/* "${pkgdir}"/usr/lib/python2.7/site-packages + + sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ + $(find "${pkgdir}" -name '*.py') + sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ + "$pkgdir/usr/lib/python2.7/site-packages/mayavi/tests/csv_files/csv_2_py" + + install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + diff --git a/community/openmotif/PKGBUILD b/community/openmotif/PKGBUILD index bc0a48392..bc72582c1 100644 --- a/community/openmotif/PKGBUILD +++ b/community/openmotif/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 63686 2012-02-05 12:06:47Z ibiru $ +# $Id: PKGBUILD 75562 2012-08-27 08:58:52Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Enrico Morelli <morelli@cerm.unifi.it> @@ -13,7 +13,8 @@ depends=(libxext libxp libxft libxt libxmu libpng libjpeg) makedepends=(xbitmaps xproto printproto xextproto automake) conflicts=(lesstif) options=('!libtool') -source=(http://www.motifzone.org/files/public_downloads/openmotif/2.3/$pkgver/openmotif-$pkgver.tar.gz) +#source=(http://www.motifzone.org/files/public_downloads/openmotif/2.3/$pkgver/openmotif-$pkgver.tar.gz) +source=(ftp://ftp.ics.com/openmotif/2.3/$pkgver/openmotif-$pkgver.tar.gz) md5sums=('fd27cd3369d6c7d5ef79eccba524f7be') build() { diff --git a/community/percona-server/PKGBUILD b/community/percona-server/PKGBUILD index 953f2e0d1..2a04156e2 100644 --- a/community/percona-server/PKGBUILD +++ b/community/percona-server/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 74393 2012-07-26 13:12:10Z mtorromeo $ +# $Id: PKGBUILD 75571 2012-08-27 10:24:27Z mtorromeo $ # Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> pkgname=percona-server -pkgver=5.5.25a_rel27.1 +pkgver=5.5.27_rel28.0 pkgrel=1 pkgdesc="A backwards-compatible drop-in replacement for MySQL that provides improved performance, diagnostics and instrumentation, and manageability of the server" arch=('i686' 'x86_64' 'mips64el') @@ -106,9 +106,9 @@ package() { install -Dm755 "$srcdir/mysqld-post" "$pkgdir/usr/bin/mysqld-post" } -md5sums=('c6d08224a37f545d55af7657f24bd2c8' - '243864805611764a7e5883c1dba7afd8' - '1c949c0dbea5206af0db14942d9927b6' - '5143dadeaac15f1ff88ea16716588554' - 'e2e21a54c1aa1d6ab83a3dd0629aac52' - '7af72b49f943bd52defce8bc4e804e64') +sha256sums=('774a41905c1be51de298fc704eaf7a00beb2cf191b8851ca4b971ef2c176b65a' + 'e875fac56f69634b4f1720aec3b952fc63903414e9345af630e5fd74b5373eb4' + '400e9a6e6517bbfe0971b65456dfacfb363cb54a644e4c2bacd373171611d5aa' + '4894d39605950d86841ad982e619daa6c8d5d60ca30928d7dbb582e8cb3ade32' + 'ca10dec3cc162baede651980e675fd8094e55cb2403edffaa3d0865a6184553f' + 'f05a8d81dc3d4f2cabf96747b90d8392e0584db9e10b5b3211c21478d2d0d8c3') diff --git a/community/python2-traits/PKGBUILD b/community/python2-traits/PKGBUILD new file mode 100644 index 000000000..8c6e51e36 --- /dev/null +++ b/community/python2-traits/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 75625 2012-08-27 16:55:19Z aginiewicz $ +# Maintainer: Andrzej Giniewicz <gginiu@gmail.com> + +pkgname=python2-traits +pkgver=4.2.0 +_githubtag=0afc79d +pkgrel=2 +pkgdesc="Explicitly typed attributes for Python" +arch=('i686' 'x86_64') +url="http://code.enthought.com/projects/traits/" +license=('BSD') +depends=('python2-numpy') +makedepends=('python2-distribute') +options=(!emptydirs) + +source=("$pkgname-$pkgver.tar.gz::https://github.com/enthought/traits/tarball/${pkgver}") +md5sums=('835c83c320ed1109ca05fa4ae4556828') + +build() { + cd "$srcdir"/enthought-traits-${_githubtag} + + python2 setup.py build +} + +package() { + cd "$srcdir"/enthought-traits-${_githubtag} + + python2 setup.py install --root="$pkgdir"/ --optimize=1 + + install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + diff --git a/community/rsyslog/PKGBUILD b/community/rsyslog/PKGBUILD index 91ee3c39e..534176837 100644 --- a/community/rsyslog/PKGBUILD +++ b/community/rsyslog/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 73703 2012-07-14 13:07:25Z allan $ +# $Id: PKGBUILD 75616 2012-08-27 14:38:49Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=rsyslog -pkgver=6.2.2 -pkgrel=2 +pkgver=6.4.0 +pkgrel=1 pkgdesc="An enhanced multi-threaded syslogd with a focus on security and reliability" url="http://www.rsyslog.com/" arch=('i686' 'x86_64' 'mips64el') @@ -22,7 +22,7 @@ source=("http://www.rsyslog.com/files/download/rsyslog/rsyslog-$pkgver.tar.gz" 'rsyslog' 'rsyslog.logrotate' 'rsyslog.conf.d') -md5sums=('b797b8222d6ea4d5dfa007efe8aafa7f' +md5sums=('d81f74b09829a38ac91cf85a08c5ab19' 'a18bbcbb6ebdaa13a6ec6d9f3d9eb2da' '8065db4bef3061a4f000ba58779f6829' '1a0cd4530dd5d1439456d5ae230574d9') @@ -34,7 +34,6 @@ build() { --enable-pgsql \ --enable-mail \ --enable-imfile \ - --enable-imtemplate \ --enable-snmp \ --enable-gnutls \ --enable-inet \ diff --git a/community/simgear/PKGBUILD b/community/simgear/PKGBUILD index ae67781d2..c20bdf932 100644 --- a/community/simgear/PKGBUILD +++ b/community/simgear/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 70927 2012-05-19 18:44:03Z spupykin $ +# $Id: PKGBUILD 75603 2012-08-27 13:35:08Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: William Rea <sillywilly@gmail.com> # Contributor: Hans Janssen <hans@janserv.xs4all.nl> pkgname=simgear -pkgver=2.6.0 -pkgrel=2 +pkgver=2.8.0 +pkgrel=1 pkgdesc="A set of open-source libraries designed to be used as building blocks for quickly assembling 3d simulations, games, and visualization applications." arch=(i686 x86_64) depends=('glut' 'freealut' 'plib' 'openscenegraph') @@ -16,7 +16,7 @@ url="https://gitorious.org/fg" options=('!makeflags') #source=("SimGear-$pkgver.tar.gz::https://gitorious.org/fg/simgear/archive-tarball/release/$pkgver") source=("http://mirrors.ibiblio.org/pub/mirrors/simgear/ftp/Source/simgear-$pkgver.tar.bz2") -md5sums=('24a368754d10e50d7f3ec00f93891a89') +md5sums=('0a8c77439ba7879b354a8fbcb7901ce3') build() { cd $srcdir/simgear-$pkgver diff --git a/community/spectrwm/PKGBUILD b/community/spectrwm/PKGBUILD index 625ffca2e..92da2b182 100644 --- a/community/spectrwm/PKGBUILD +++ b/community/spectrwm/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 75507 2012-08-26 15:22:17Z kkeen $ +# $Id: PKGBUILD 75631 2012-08-27 17:30:40Z kkeen $ # Maintainer: Kyle Keen <keenerd@gmail.com> # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> pkgname=spectrwm -pkgver=2.0.1 +pkgver=2.0.2 pkgrel=1 pkgdesc="A minimalistic automatic tiling window manager that tries to stay out of the way." arch=('i686' 'x86_64' 'mips64el') @@ -18,7 +18,7 @@ backup=(etc/spectrwm.conf) source=(http://opensource.conformal.com/snapshots/$pkgname/$pkgname-$pkgver.tgz \ LICENSE \ baraction.sh) -md5sums=('ed553574e65bb364e26d359790e204f2' +md5sums=('b7c52886492690eb1b71aa673743d044' 'a67cfe51079481e5b0eab1ad371379e3' '950d663692e1da56e0ac864c6c3ed80e') diff --git a/community/vtk/PKGBUILD b/community/vtk/PKGBUILD new file mode 100644 index 000000000..4563c8c34 --- /dev/null +++ b/community/vtk/PKGBUILD @@ -0,0 +1,111 @@ +# $Id: PKGBUILD 75604 2012-08-27 13:46:13Z aginiewicz $ +# Maintainer: Andrzej Giniewicz <gginiu@gmail.com> +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: Christofer Bertonha <christoferbertonha at gmail dot com> +# Contributor: leepesjee <lpeschier at xs4all dot nl> +# Contributor: Olivier Medoc +# Contributor: ignotus +# Contributor: Fabian Moser +# Contributor: djscholl + +pkgname=vtk +pkgver=5.10.0 +pkgrel=2 +pkgdesc='A software system for 3D computer graphics, image processing, and visualization.' +arch=('i686' 'x86_64') +url='http://www.vtk.org/' +license=('BSD') +depends=('libjpeg-turbo' 'boost' 'ffmpeg' 'qt' 'qtwebkit' 'lesstif' 'mysql' 'hdf5') +makedepends=('cmake' 'java-environment' 'doxygen' 'gnuplot' 'mesa' 'python2' 'tk') +optdepends=('python2: python bindings' + 'java-runtime: java bindings' + 'tk: tcl bindings' + 'gnuplot: plotting tools' + 'graphviz: drawing tools') +source=("http://www.vtk.org/files/release/${pkgver:0:4}/vtk-${pkgver}.tar.gz" + "http://www.vtk.org/files/release/${pkgver:0:4}/vtkdata-${pkgver}.tar.gz" + ffmpeg-0.8.diff ffmpeg-0.11.diff) +md5sums=('a0363f78910f466ba8f1bd5ab5437cb9' + '8c4105b221384154421e7a460adc9c0c' + 'e992321c9d1def6034d0fa6607b40c5a' + '81922ea61989e5591135f233a0400694') + +build() { + cd "${srcdir}"/VTK + + # fix compilation error: + patch -Np1 -i "${srcdir}/ffmpeg-0.8.diff" + patch -Np1 -i "${srcdir}/ffmpeg-0.11.diff" + + cd "${srcdir}" + + rm -rf build + mkdir build + cd build + + # flags to enable using system libs + local cmake_system_flags="" + for lib in HDF5 EXPAT FREETYPE JPEG PNG TIFF ZLIB LIBXML2 OGGTHEORA; do + cmake_system_flags+="-DVTK_USE_SYSTEM_${lib}:BOOL=ON " + done + + # flags to use python2 instead of python which is 3.x.x on archlinux + local cmake_system_python_flags="-DPYTHON_EXECUTABLE:PATH=/usr/bin/python2 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python2.7 -DPYTHON_LIBRARY:PATH=/usr/lib/libpython2.7.so" + + cmake \ + -Wno-dev \ + -DBUILD_SHARED_LIBS:BOOL=ON \ + -DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \ + -DVTK_DATA_ROOT:FILEPATH=${srcdir}/VTKData \ + -DBUILD_DOCUMENTATION:BOOL=ON \ + -DDOCUMENTATION_HTML_HELP:BOOL=ON \ + -DDOCUMENTATION_HTML_TARZ:BOOL=ON \ + -DBUILD_EXAMPLES:BOOL=ON \ + -DVTK_USE_HYBRID:BOOL=ON \ + -DVTK_USE_PARALLEL:BOOL=ON \ + -DVTK_USE_PATENTED:BOOL=ON \ + -DVTK_USE_BOOST:BOOL=ON \ + -DVTK_USE_INFOVIS:BOOL=ON \ + -DVTK_USE_GL2PS:BOOL=ON \ + -DVTK_USE_MYSQL:BOOL=ON \ + -DVTK_USE_FFMPEG_ENCODER:BOOL=ON \ + -DVTK_USE_TEXT_ANALYSIS:BOOL=ON \ + -DVTK_WRAP_JAVA:BOOL=ON \ + -DVTK_WRAP_PYTHON:BOOL=ON \ + -DVTK_WRAP_TCL:BOOL=ON \ + -DVTK_PYTHON_SETUP_ARGS:STRING="--root='${pkgdir}'" \ + -DVTK_USE_QT:BOOL=ON \ + -DVTK_INSTALL_QT_PLUGIN_DIR:STRING="/usr/lib/qt/plugins" \ + -DVTK_USE_GUISUPPORT:BOOL=ON \ + -DCMAKE_CXX_FLAGS="-D__STDC_CONSTANT_MACROS" \ + ${cmake_system_flags} \ + ${cmake_system_python_flags} \ + "${srcdir}/VTK" + + make +} + +package() { + cd "${srcdir}/build" + + make DESTDIR="${pkgdir}" install + + # Move the vtk.jar to the arch-specific location + install -dv "${pkgdir}/usr/share/java/vtk" + mv -v "${pkgdir}/usr/lib/vtk-${pkgver:0:4}/java/vtk.jar" \ + "${pkgdir}/usr/share/java/vtk" + rm -rf "${pkgdir}/usr/lib/vtk-${pkgver:0:4}/java" + + # Install license + install -dv "${pkgdir}/usr/share/licenses/vtk" + install -m644 "${srcdir}/VTK/Copyright.txt" \ + "${pkgdir}/usr/share/licenses/vtk" + + # Put an entry in /etc/ld.so.conf.d + install -dv "${pkgdir}/etc/ld.so.conf.d" + echo "/usr/lib/vtk-${pkgver:0:4}" > "${pkgdir}/etc/ld.so.conf.d/vtk.conf" + + sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ + $(find "${pkgdir}" -name '*.py') +} + diff --git a/community/vtk/ffmpeg-0.11.diff b/community/vtk/ffmpeg-0.11.diff new file mode 100644 index 000000000..af4e230cc --- /dev/null +++ b/community/vtk/ffmpeg-0.11.diff @@ -0,0 +1,46 @@ +--- VTK/IO/vtkFFMPEGWriter.cxx.orig 2012-07-08 13:40:55.000000000 +0200 ++++ VTK/IO/vtkFFMPEGWriter.cxx 2012-07-08 13:59:37.000000000 +0200 +@@ -192,13 +192,6 @@ + c->bit_rate_tolerance = this->Writer->GetBitRateTolerance(); + } + +- //apply the chosen parameters +- if (av_set_parameters(this->avFormatContext, NULL) < 0) +- { +- vtkGenericWarningMacro (<< "Invalid output format parameters." ); +- return 0; +- } +- + //manufacture a codec with the chosen parameters + AVCodec *codec = avcodec_find_encoder(c->codec_id); + if (!codec) +@@ -259,14 +252,14 @@ + + + //Finally, open the file and start it off. +- if (url_fopen(&this->avFormatContext->pb, this->avFormatContext->filename, URL_WRONLY) < 0) ++ if (avio_open(&this->avFormatContext->pb, this->avFormatContext->filename, AVIO_FLAG_WRITE) < 0) + { + vtkGenericWarningMacro (<< "Could not open " << this->Writer->GetFileName() << "." ); + return 0; + } + this->openedFile = 1; + +- av_write_header(this->avFormatContext); ++ avformat_write_header(this->avFormatContext, NULL); + return 1; + } + +@@ -388,11 +381,7 @@ + if (this->openedFile) + { + av_write_trailer(this->avFormatContext); +-#ifdef VTK_FFMPEG_OLD_URL_FCLOSE +- url_fclose(&this->avFormatContext->pb); +-#else +- url_fclose(this->avFormatContext->pb); +-#endif ++ avio_close(this->avFormatContext->pb); + this->openedFile = 0; + } + diff --git a/community/vtk/ffmpeg-0.8.diff b/community/vtk/ffmpeg-0.8.diff new file mode 100644 index 000000000..523919d6f --- /dev/null +++ b/community/vtk/ffmpeg-0.8.diff @@ -0,0 +1,66 @@ +Description: Upstream changes introduced in version 5.6.1-6.1 + This patch has been created by dpkg-source during the package build. + Here's the last changelog entry, hopefully it gives details on why + those changes were made: + . + vtk (5.6.1-6.1) unstable; urgency=low + . + [ Michael Schutte ] + * Non-maintainer upload. + * Remove absolute paths to required libraries from + /usr/lib/vtk-5.6/VTKLibraryDepends.cmake after building, closes: + #506992. Due to the multiarch transition, the original behavior + frequently causes reverse build-deps to FTBFS. This change should + probably be reverted once all required libraries are multiarched. + . + [ Steve M. Robbins ] + * Override lintian diagnostic about embedded libraries ftgl and sqlite. + * IO/vtkFFMPEGWriter.cxx: Applied fix from #638246 to build with libav + 0.7. + . + The person named in the Author field signed this changelog entry. +Author: Steve M. Robbins <smr@debian.org> +Bug-Debian: http://bugs.debian.org/506992 + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: <vendor|upstream|other>, <url of original patch> +Bug: <url in upstream bugtracker> +Bug-Debian: http://bugs.debian.org/<bugnumber> +Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> +Forwarded: <no|not-needed|url proving that it has been forwarded> +Reviewed-By: <name and email of someone who approved the patch> +Last-Update: <YYYY-MM-DD> + +--- vtk-5.6.1.orig/IO/vtkFFMPEGWriter.cxx ++++ vtk-5.6.1/IO/vtkFFMPEGWriter.cxx +@@ -123,7 +123,7 @@ int vtkFFMPEGWriterInternal::Start() + } + + //choose avi media file format +- this->avOutputFormat = guess_format("avi", NULL, NULL); ++ this->avOutputFormat = av_guess_format("avi", NULL, NULL); + if (!this->avOutputFormat) + { + vtkGenericWarningMacro (<< "Could not open the avi media file format."); +@@ -150,7 +150,7 @@ int vtkFFMPEGWriterInternal::Start() + //Set up the codec. + AVCodecContext *c = this->avStream->codec; + c->codec_id = (CodecID)this->avOutputFormat->video_codec; +- c->codec_type = CODEC_TYPE_VIDEO; ++ c->codec_type = AVMEDIA_TYPE_VIDEO; + c->width = this->Dim[0]; + c->height = this->Dim[1]; + c->pix_fmt = PIX_FMT_YUVJ420P; +@@ -329,7 +329,7 @@ int vtkFFMPEGWriterInternal::Write(vtkIm + pkt.stream_index = this->avStream->index; + if (cc->coded_frame->key_frame) //treat keyframes well + { +- pkt.flags |= PKT_FLAG_KEY; ++ pkt.flags |= AV_PKT_FLAG_KEY; + } + pkt.duration = 0; //presentation duration in time_base units or 0 if NA + pkt.pos = -1; //byte position in stream or -1 if NA |