diff options
Diffstat (limited to 'community')
70 files changed, 1178 insertions, 276 deletions
diff --git a/community/alsa-tools/PKGBUILD b/community/alsa-tools/PKGBUILD index 1e097048e..c49246f5d 100644 --- a/community/alsa-tools/PKGBUILD +++ b/community/alsa-tools/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 59642 2011-11-28 23:44:29Z seblu $ +# $Id: PKGBUILD 62752 2012-01-25 20:12:30Z seblu $ #Maintainer: Sebastien Luttringer <seblu+arch@seblu.net> #Contributor: Jochen Immend�rfer <jochen dot immendoerfer at gmail dot com> pkgname=alsa-tools -pkgver=1.0.24.1 +pkgver=1.0.25 pkgrel=1 pkgdesc='ALSA tools package' arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ license=('GPL2') depends=('fltk' 'alsa-lib' 'gtk2') options=('!libtool') source=("ftp://ftp.alsa-project.org/pub/tools/$pkgname-$pkgver.tar.bz2") -md5sums=('08fe93a12006093e590d7ecc02b119dd') +md5sums=('57bfec98a814d12e0f7ab379aaeccd87') build() { for f in $(find "$srcdir/$pkgname-$pkgver" -type f -name configure ); do diff --git a/community/arpack/PKGBUILD b/community/arpack/PKGBUILD index 5b92af19f..988f4ab62 100644 --- a/community/arpack/PKGBUILD +++ b/community/arpack/PKGBUILD @@ -1,50 +1,32 @@ -# $Id: PKGBUILD 18351 2010-06-02 21:49:21Z shusmann $ +# $Id: PKGBUILD 62905 2012-01-29 00:58:19Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: William Rea <sillywilly@gmail.com> -# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> - +# Contributor: Stefan Husmann <stefan-husmann@t-online.de> pkgname=arpack -pkgver=2.1 -pkgrel=4 -pkgdesc="A collection of Fortran77 subroutines designed to solve large scale eigenvalue problems" -arch=('i686' 'x86_64' 'mips64el') -url="http://www.caam.rice.edu/software/ARPACK" -license=('custom:BSD') -depends=('glibc' 'gcc-fortran') -source=(http://www.caam.rice.edu/software/ARPACK/SRC/arpack96.tar.gz \ - http://www.caam.rice.edu/software/ARPACK/SRC/patch.tar.gz \ - arpack-2.1-redhat.patch \ - license.txt) -md5sums=('fffaa970198b285676f4156cebc8626e' - '14830d758f195f272b8594a493501fa2' - '95678954de317c92862bb4f9cc9d04ad' - '7caaa0099a5c39726f4478a1bde89495') +pkgver=3.0.2 +pkgrel=1 +pkgdesc="Collection of Fortran77 subroutines designed to solve large scale eigenvalue problems" +arch=('x86_64' 'i686' 'mips64el') +provides=('arpack-ng') +options=(!libtool) +url="http://forge.scilab.org/index.php/p/arpack-ng/" +license=('BSD') +depends=('glibc' 'gcc-fortran' 'lapack') +source=("http://forge.scilab.org/upload/arpack-ng/files/arpack_3.0.2.tar.gz") +sha256sums=('4add769386e0f6b0484491bcff129c6f5234190dbf58e07cc068fbd5dc7278bf') build() { - cd $srcdir/ARPACK - patch -p1 -i ../arpack-2.1-redhat.patch - mkdir static shared - cd shared - for dir in ../SRC ../UTIL; do - make -f $dir/Makefile VPATH=$dir srcdir=$dir FC=gfortran FFLAGS="-fPIC" \ - single double complex complex16 - done - gcc -shared -Wl,-soname,libarpack.so.2 -o libarpack.so.2.1 *.o - cd .. - cd static - for dir in ../SRC ../UTIL; do - make -f $dir/Makefile VPATH=$dir srcdir=$dir FC=gfortran FFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \ - all - done - ar rv libarpack.a *.o - ranlib libarpack.a + cd "$srcdir/$pkgname-ng-$pkgver" + + ./configure --prefix=/usr + make } + package() { - cd $srcdir/ARPACK - install -d $pkgdir/usr/lib - install -p -m644 $srcdir/ARPACK/static/libarpack.a $pkgdir/usr/lib - install -p -m755 $srcdir/ARPACK/shared/libarpack.so.2.1 $pkgdir/usr/lib - ln -s libarpack.so.2.1 $pkgdir/usr/lib/libarpack.so.2 - ln -s libarpack.so.2 $pkgdir/usr/lib/libarpack.so - install -D -m644 $srcdir/license.txt \ - $pkgdir/usr/share/licenses/$pkgname/license.txt + cd "$srcdir/$pkgname-ng-$pkgver" + + make DESTDIR="$pkgdir/" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } + +# vim:set ts=2 sw=2 et: diff --git a/community/calibre/PKGBUILD b/community/calibre/PKGBUILD index ac163851d..096d73e90 100644 --- a/community/calibre/PKGBUILD +++ b/community/calibre/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 62518 2012-01-20 10:19:50Z giovanni $ +# $Id: PKGBUILD 62819 2012-01-27 11:13:37Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Petrov Roman <nwhisper@gmail.com> # Contributor: Andrea Fagiani <andfagiani _at_ gmail dot com> pkgname=calibre -pkgver=0.8.36 +pkgver=0.8.37 pkgrel=1 pkgdesc="Ebook management application" arch=('i686' 'x86_64' 'mips64el') @@ -21,7 +21,7 @@ install=calibre.install source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz" 'desktop_integration.patch' 'calibre-mount-helper') -md5sums=('cc009c02fa0db088d074fef8b983e78a' +md5sums=('7e313e9bf84e046d5ccfa0e9e4c06b26' '253ce4fe5d01f8ff76b63cd3825755ea' '675cd87d41342119827ef706055491e7') diff --git a/community/cegui/PKGBUILD b/community/cegui/PKGBUILD index 9bd00f25a..8087bcef1 100644 --- a/community/cegui/PKGBUILD +++ b/community/cegui/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 55877 2011-09-24 16:48:18Z stephane $ +# $Id: PKGBUILD 62687 2012-01-24 14:37:57Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Juergen Hoetzel <juergen@archlinux.org> # Contributor: William Rea <sillywilly@gmail.com>, # Contributor: Bjorn Lindeijer <bjorn@lindeijer.nl> pkgname=cegui -pkgver=0.7.5 -pkgrel=5 +pkgver=0.7.6 +pkgrel=1 pkgdesc="A free library providing windowing and widgets for graphics APIs/engines" arch=('i686' 'x86_64' 'mips64el') url="http://crayzedsgui.sourceforge.net" @@ -15,7 +15,8 @@ license=("MIT") depends=('pcre' 'glew' 'expat' 'freetype2' 'libxml2' 'devil' 'freeglut' 'lua' 'silly') makedepends=('python2' 'doxygen') source=(http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz) -md5sums=('38c79d1fdfaaa10f481c99a2ac479516') +options=(!libtool) +md5sums=('7ddb5145dc94fb7daf9aea1d30a6ffa3') build() { cd $srcdir/CEGUI-${pkgver} diff --git a/community/clinica/PKGBUILD b/community/clinica/PKGBUILD new file mode 100644 index 000000000..85bd9b258 --- /dev/null +++ b/community/clinica/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 62971 2012-01-29 17:19:57Z giovanni $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Gianmarco Brocchi <gianmarcobrocchi@gmail.com> + +pkgname=clinica +pkgver=0.2.1 +pkgrel=4 +pkgdesc="Simple medical records manager" +arch=('i686' 'x86_64') +url="https://launchpad.net/clinica-project" +license=('GPL3') +depends=('libgee' 'python' 'libpeas' 'dconf') +makedepends=('vala' 'intltool' 'pkg-config') +optdepends=('python2-gobject: for Agenzia del Farmaco plugin') +install=clinica.install +source=("http://launchpad.net/clinica-project/stable/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2") +md5sums=('327ce50d20b0e56d3de57270eed2ad23') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./waf configure --prefix=/usr + LC_ALL=C LANG=C ./waf build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./waf --destdir="${pkgdir}" install + rm -rf ${pkgdir}/usr/share/glib-2.0/schemas/gschemas.compiled + sed -i -e "s:Application;GTK;:Office;:g" clinica.desktop + install -Dm644 clinica.desktop "${pkgdir}/usr/share/applications" +} diff --git a/community/clinica/clinica.install b/community/clinica/clinica.install new file mode 100644 index 000000000..326aa98a2 --- /dev/null +++ b/community/clinica/clinica.install @@ -0,0 +1,11 @@ +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/cuda-toolkit/PKGBUILD b/community/cuda-toolkit/PKGBUILD index a37c7f8a8..1612ba93e 100644 --- a/community/cuda-toolkit/PKGBUILD +++ b/community/cuda-toolkit/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> pkgname=cuda-toolkit -pkgver=4.1.21 -pkgrel=3 +pkgver=4.1.28 +pkgrel=1 _fedver=14 pkgdesc="NVIDIA's GPU programming toolkit" arch=('i686' 'x86_64') @@ -9,20 +9,21 @@ arch=('i686' 'x86_64') url="http://www.nvidia.com/object/cuda_home.html" license=('custom') depends=('gcc-libs' 'opencl-nvidia') +optdepends=('gdb: for cuda-gdb') if [ "$CARCH" = "i686" ]; then _arch=32 - md5sums=('930b7bfd1a162335b909f119a004f6d7' + md5sums=('835d403e86f4b014b348c587ffb23c0d' '5af5226b36cd3f9993f762f85b5d236a' 'c0781c63e726eaf03e10135b42b85729') else _arch=64 - md5sums=('509c795b9b79f991e045a83576e2e2f3' + md5sums=('c82103da07d0e96f3d65d7b308b74446' '5af5226b36cd3f9993f762f85b5d236a' 'c0781c63e726eaf03e10135b42b85729') fi install=cuda-toolkit.install -source=(http://developer.download.nvidia.com/compute/cuda/4_1/RC2/toolkit/cudatoolkit_${pkgver}_linux_${_arch}_fedora${_fedver}.run +source=(http://developer.download.nvidia.com/compute/cuda/4_1/rel/toolkit/cudatoolkit_${pkgver}_linux_${_arch}_fedora${_fedver}.run cuda-toolkit.sh cuda-toolkit.conf) @@ -42,12 +43,7 @@ package() { install -Dm644 cuda-toolkit.conf $pkgdir/etc/ld.so.conf.d/cuda-toolkit.conf install -Dm644 $pkgdir/opt/cuda-toolkit/doc/EULA.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE - # Fixes FS#27841 - cd $pkgdir/opt/cuda-toolkit/lib + mkdir -p $pkgdir/usr/lib + cd $pkgdir/usr/lib ln -s /usr/lib/libncurses.so.5 libtinfo.so.5 - - if [[ $CARCH == "x86_64" ]]; then - cd $pkgdir/opt/cuda-toolkit/lib64 - ln -s /usr/lib/libncurses.so.5 libtinfo.so.5 - fi } diff --git a/community/deadbeef/PKGBUILD b/community/deadbeef/PKGBUILD index c9272ed0e..83ceb2f38 100644 --- a/community/deadbeef/PKGBUILD +++ b/community/deadbeef/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 58389 2011-11-12 17:16:28Z ibiru $ +# $Id: PKGBUILD 62726 2012-01-25 08:16:40Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Alexey Yakovenko <waker@users.sourceforge.net> pkgname=deadbeef pkgver=0.5.1 -pkgrel=3 +pkgrel=4 pkgdesc='An audio player for GNU/Linux based on GTK2.' arch=('i686' 'x86_64' 'mips64el') url='http://deadbeef.sourceforge.net' @@ -32,11 +32,18 @@ optdepends=('libsamplerate: for Resampler plugin' 'libzip: for vfs_zip plugin') options=('!libtool') install='deadbeef.install' -source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tar.bz2" "ffmpeg.patch") +source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tar.bz2" + 'deadbeef-0.5.1-ffmpeg-AV_VERSION_INT.patch' + 'deadbeef-0.5.1-ffmpeg-version-check-fix.patch') +md5sums=('be8359d1bd9cf7679cf2ca748996e726' + 'd1c913c0ccefef33012732cf0ae49f7f' + '6d22855f61f4d2fea4b343dca76d5e85') build() { cd "${srcdir}/${pkgname}-${pkgver}" - patch -Np1 -i $srcdir/ffmpeg.patch + + patch -Np1 -i ../deadbeef-0.5.1-ffmpeg-AV_VERSION_INT.patch + patch -Np1 -i ../deadbeef-0.5.1-ffmpeg-version-check-fix.patch ./configure --prefix=/usr make @@ -47,5 +54,3 @@ package () { make prefix="${pkgdir}/usr" install } -md5sums=('be8359d1bd9cf7679cf2ca748996e726' - '6cc7623734af310095534c361c9f64e8') diff --git a/community/deadbeef/deadbeef-0.5.1-ffmpeg-AV_VERSION_INT.patch b/community/deadbeef/deadbeef-0.5.1-ffmpeg-AV_VERSION_INT.patch new file mode 100644 index 000000000..db1c79638 --- /dev/null +++ b/community/deadbeef/deadbeef-0.5.1-ffmpeg-AV_VERSION_INT.patch @@ -0,0 +1,118 @@ +From 2bb5828e58fa8c187377f8ba75f8eb73a53ed7ca Mon Sep 17 00:00:00 2001 +From: Igor Murzov <e-mail@date.by> +Date: Mon, 4 Jul 2011 16:47:25 +0400 +Subject: [PATCH 1/2] ffmpeg: define fallback macro AV_VERSION_INT() + +For ffmpeg < 0.5. Copied from libavutil 0.5. + +ffmpeg: don't use deprecated CODEC_TYPE_AUDIO with new lavc + +fixes build with lavc 53. + +ffmpeg: fix erroneous version comparisons + +Comparing versions this way: (x.y < x1.y1) is obviously equivalent to +(x < x1 || (x == x1 && y < y1)), not to (x <= x1 && y < y1). + +ffmpeg: use av_register_protocol2() if available + +fixes usage with ffmpeg-0.8 +--- + plugins/ffmpeg/ffmpeg.c | 37 ++++++++++++++++++++++++++++++------- + 1 files changed, 30 insertions(+), 7 deletions(-) + +diff --git a/plugins/ffmpeg/ffmpeg.c b/plugins/ffmpeg/ffmpeg.c +index cd7edf4..0cb9955 100644 +--- a/plugins/ffmpeg/ffmpeg.c ++++ b/plugins/ffmpeg/ffmpeg.c +@@ -44,6 +44,10 @@ + #define av_register_protocol register_protocol + #endif + ++#ifndef AV_VERSION_INT ++#define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c) ++#endif ++ + #endif + + //#define trace(...) { fprintf(stderr, __VA_ARGS__); } +@@ -140,7 +144,12 @@ ffmpeg_init (DB_fileinfo_t *_info, DB_playItem_t *it) { + for (i = 0; i < info->fctx->nb_streams; i++) + { + info->ctx = info->fctx->streams[i]->codec; +- if (info->ctx->codec_type == CODEC_TYPE_AUDIO) ++ if (info->ctx->codec_type == ++#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52, 64, 0) ++ AVMEDIA_TYPE_AUDIO) ++#else ++ CODEC_TYPE_AUDIO) ++#endif + { + info->codec = avcodec_find_decoder (info->ctx->codec_id); + if (info->codec != NULL) { +@@ -279,10 +288,10 @@ ffmpeg_read (DB_fileinfo_t *_info, char *bytes, int size) { + int out_size = AVCODEC_MAX_AUDIO_FRAME_SIZE; + int len; + //trace ("in: out_size=%d(%d), size=%d\n", out_size, AVCODEC_MAX_AUDIO_FRAME_SIZE, size); +-#if (LIBAVCODEC_VERSION_MAJOR <= 52) && (LIBAVCODEC_VERSION_MINOR <= 25) +- len = avcodec_decode_audio2 (info->ctx, (int16_t *)info->buffer, &out_size, info->pkt.data, info->pkt.size); +-#else ++#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52,25,0) + len = avcodec_decode_audio3 (info->ctx, (int16_t *)info->buffer, &out_size, &info->pkt); ++#else ++ len = avcodec_decode_audio2 (info->ctx, (int16_t *)info->buffer, &out_size, info->pkt.data, info->pkt.size); + #endif + trace ("out: out_size=%d, len=%d\n", out_size, len); + if (len <= 0) { +@@ -418,7 +427,7 @@ static const char *map[] = { + + static int + ffmpeg_read_metadata_internal (DB_playItem_t *it, AVFormatContext *fctx) { +-#if LIBAVFORMAT_VERSION_MAJOR <= 52 && LIBAVFORMAT_VERSION_MINOR < 43 ++#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(52,43,0) + if (!strlen (fctx->title)) { + // title is empty, this call will set track title to filename without extension + deadbeef->pl_add_meta (it, "title", NULL); +@@ -490,7 +499,12 @@ ffmpeg_insert (ddb_playlist_t *plt, DB_playItem_t *after, const char *fname) { + for (i = 0; i < fctx->nb_streams; i++) + { + ctx = fctx->streams[i]->codec; +- if (ctx->codec_type == CODEC_TYPE_AUDIO) ++ if (ctx->codec_type == ++#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52, 64, 0) ++ AVMEDIA_TYPE_AUDIO) ++#else ++ CODEC_TYPE_AUDIO) ++#endif + { + codec = avcodec_find_decoder(ctx->codec_id); + if (codec != NULL && !strcasecmp (codec->name, "alac")) { // only open alac streams +@@ -704,7 +718,11 @@ ffmpeg_start (void) { + ffmpeg_init_exts (); + avcodec_init (); + av_register_all (); ++#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(52, 64, 0) ++ av_register_protocol2 (&vfswrapper, sizeof(vfswrapper)); ++#else + av_register_protocol (&vfswrapper); ++#endif + return 0; + } + +@@ -745,7 +763,12 @@ ffmpeg_read_metadata (DB_playItem_t *it) { + for (i = 0; i < fctx->nb_streams; i++) + { + ctx = fctx->streams[i]->codec; +- if (ctx->codec_type == CODEC_TYPE_AUDIO) ++ if (ctx->codec_type == ++#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52, 64, 0) ++ AVMEDIA_TYPE_AUDIO) ++#else ++ CODEC_TYPE_AUDIO) ++#endif + { + codec = avcodec_find_decoder(ctx->codec_id); + if (codec != NULL) +-- +1.7.8.4 + diff --git a/community/deadbeef/deadbeef-0.5.1-ffmpeg-version-check-fix.patch b/community/deadbeef/deadbeef-0.5.1-ffmpeg-version-check-fix.patch new file mode 100644 index 000000000..af8c282c0 --- /dev/null +++ b/community/deadbeef/deadbeef-0.5.1-ffmpeg-version-check-fix.patch @@ -0,0 +1,25 @@ +From 9cbd09b81028679a507f751c206e8f6769fd450c Mon Sep 17 00:00:00 2001 +From: Igor Murzov <e-mail@date.by> +Date: Thu, 7 Jul 2011 22:31:44 +0400 +Subject: [PATCH 2/2] ffmpeg: version check fix + +--- + plugins/ffmpeg/ffmpeg.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/plugins/ffmpeg/ffmpeg.c b/plugins/ffmpeg/ffmpeg.c +index 0cb9955..37c7e80 100644 +--- a/plugins/ffmpeg/ffmpeg.c ++++ b/plugins/ffmpeg/ffmpeg.c +@@ -718,7 +718,7 @@ ffmpeg_start (void) { + ffmpeg_init_exts (); + avcodec_init (); + av_register_all (); +-#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(52, 64, 0) ++#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(52, 69, 0) + av_register_protocol2 (&vfswrapper, sizeof(vfswrapper)); + #else + av_register_protocol (&vfswrapper); +-- +1.7.8.4 + diff --git a/community/ejabberd/PKGBUILD b/community/ejabberd/PKGBUILD index ce4c8437c..e0eb5ddec 100644 --- a/community/ejabberd/PKGBUILD +++ b/community/ejabberd/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 61453 2011-12-31 18:08:55Z spupykin $ +# $Id: PKGBUILD 62769 2012-01-26 14:42:40Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Jeff 'codemac' Mickey <jeff@archlinux.org> # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=ejabberd pkgver=2.1.10 -pkgrel=1 +pkgrel=2 pkgdesc="An erlang jabber server" arch=(i686 x86_64 'mips64el') url="http://www.ejabberd.im/" diff --git a/community/ejabberd/ejabberd.install b/community/ejabberd/ejabberd.install index 579be7ed3..eceb73592 100644 --- a/community/ejabberd/ejabberd.install +++ b/community/ejabberd/ejabberd.install @@ -1,6 +1,6 @@ post_install() { - groupadd jabber - useradd -G jabber -d /var/lib/ejabberd ejabberd + groupadd -r jabber + useradd -r -G jabber -d /var/lib/ejabberd ejabberd chown -R ejabberd.jabber /var/log/ejabberd chown -R ejabberd.jabber /var/spool/ejabberd chown -R ejabberd.jabber /var/lib/ejabberd diff --git a/community/electricsheep/PKGBUILD b/community/electricsheep/PKGBUILD index 41402f4b6..f2ac0230c 100644 --- a/community/electricsheep/PKGBUILD +++ b/community/electricsheep/PKGBUILD @@ -1,24 +1,26 @@ -# $Id: PKGBUILD 58393 2011-11-12 17:16:52Z ibiru $ +# $Id: PKGBUILD 62754 2012-01-25 20:28:55Z ebelanger $ # Maintainer: Eric Bélanger <eric@archlinux.org> pkgname=electricsheep pkgver=2.7b12 -pkgrel=4 +pkgrel=5 pkgdesc="A screensaver that realize the collective dream of sleeping computers from all over the internet" arch=('i686' 'x86_64' 'mips64el') url="http://community.electricsheep.org/" license=('GPL') -depends=('curl' 'expat' 'flam3' 'ffmpeg' 'mplayer' 'libglade') +depends=('curl' 'flam3' 'ffmpeg' 'mplayer' 'libglade') makedepends=('xscreensaver') optdepends=('xscreensaver: to use electricsheep with xscreensaver') source=(ftp://ftp.archlinux.org/other/community/${pkgname}/${pkgname}-${pkgver}.tar.bz2 - electricsheep-ffmpeg.patch) + electricsheep-ffmpeg.patch electricsheep-pref-segfault.patch) sha1sums=('fd1c307912905ba456189efbb546ef0fe336fa32' - 'd6816e27c2a2f6c74ae61c99ad2d7fb28b1d1825') + 'd6816e27c2a2f6c74ae61c99ad2d7fb28b1d1825' + 'bdf0f66fdbb5741671e8bb127bd76ef236d0e44a') build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -p1 -i "${srcdir}/electricsheep-ffmpeg.patch" + patch -p1 -i "${srcdir}/electricsheep-pref-segfault.patch" ./configure --prefix=/usr make } diff --git a/community/electricsheep/PKGBUILD.svn b/community/electricsheep/PKGBUILD.svn new file mode 100644 index 000000000..2fc8a26ff --- /dev/null +++ b/community/electricsheep/PKGBUILD.svn @@ -0,0 +1,60 @@ +# $Id: PKGBUILD 57680 2011-11-01 05:03:57Z ebelanger $ +# Maintainer: Eric Bélanger <eric@archlinux.org> +# Contributor: Alexander Rødseth <rodseth@gmail.com> +pkgname=electricsheep +pkgver=2.7b34 +pkgrel=1 +pkgdesc="Screensaver that realize the collective dream of computers all over the internet" +arch=('x86_64' 'i686') +url="http://community.electricsheep.org/" +license=('GPL') +depends=('curl' 'expat' 'flam3' 'ffmpeg' 'mplayer' 'libglade' 'tinyxml' 'boost' 'gtk2' 'lua') +#subversion libgtk2.0 libgl1-mesa libavcodec libavformat libswscale liblua5 libcurl4-openssl libxml2 libjpeg8 libgtop2 libboost libboost-filesystem libboost-thread libtinyxml libglut3 +makedepends=('xscreensaver') +optdepends=('xscreensaver: to use electricsheep with xscreensaver') +_fixed_revision=107 + +build() { + cd "$srcdir" + + msg2 "Checking out svn revision $_fixed_revision (in lack of a Linux release for $pkgver)..." + if [[ -d "$pkgname/.svn" ]]; then + (cd "$pkgname" && svn up -r $_fixed_revision) + else + svn co \ + http://electricsheep.googlecode.com/svn/trunk/ \ + --config-dir ./ -r $_fixed_revision "$pkgname" + fi + + msg2 "Setting up build directory..." + rm -rf "$srcdir/$pkgname-build" + cp -r "$srcdir/$pkgname" "$srcdir/$pkgname-build" + cd "$srcdir/$pkgname-build/client_generic" + + #patch -p1 -i ../electricsheep-ffmpeg.patch + msg2 "Configuring..." + ./autogen.sh + ./configure --prefix=/usr + + msg2 "Compiling..." + make +} + +package() { + cd "$srcdir/$pkgname-build/client_generic" + + install -d "$pkgdir/usr/share/applications/screensavers" + install -d "$pkgdir/usr/lib/gnome-screensaver/gnome-screensaver" + make DESTDIR="$pkgdir" \ + GNOME_SCREENSAVER_DATADIR="$pkgdir/usr/share/applications/screensavers" \ + GNOME_SCREENSAVER_PRIVEXEDIR="$pkgdir/usr/lib/gnome-screensaver/gnome-screensaver" \ + install + install -Dm644 electricsheep.desktop.kde \ + "$pkgdir/usr/share/kde4/services/ScreenSavers/electricsheep.desktop" + install -Dm644 electricsheep.xml \ + "$pkgdir/usr/share/xscreensaver/config/electricsheep.xml" + install -Dm755 electricsheep-saver \ + "$pkgdir/usr/bin/electricsheep-saver" +} + +# vim:set ts=2 sw=2 et: diff --git a/community/electricsheep/electricsheep-pref-segfault.patch b/community/electricsheep/electricsheep-pref-segfault.patch new file mode 100644 index 000000000..83bcd8a0f --- /dev/null +++ b/community/electricsheep/electricsheep-pref-segfault.patch @@ -0,0 +1,270 @@ +diff -Naur electricsheep-2.7b12/electricsheep.c electricsheep-2.7~b12+svn20091224/electricsheep.c +--- electricsheep-2.7b12/electricsheep.c 2009-07-09 04:10:05.000000000 -0400 ++++ electricsheep-2.7~b12+svn20091224/electricsheep.c 2009-12-24 18:03:01.000000000 -0500 +@@ -564,6 +566,12 @@ + n++; + } + } ++ if (n < 1) { ++ if (debug) { ++ fprintf(logout, "median rank undefined\n"); ++ } ++ return; ++ } + qsort(tms, n, sizeof(int), compare_ints); + if (0 && debug) { + for (i = 0; i < n; i++) +@@ -1915,7 +1923,7 @@ + if (-1 == (decoder_pid = fork())) { + perror("decoder fork"); + } else if (0 == decoder_pid) { +- char *argv[20]; ++ char *argv[25]; + int c = 0; + /* child */ + snprintf(fps, 24, "%g", prefs.frame_rate); +@@ -1934,6 +1942,7 @@ + cleanup_and_exit(1); + } + argv[c++] = "mplayer"; ++ argv[c++] = "-nolirc"; + argv[c++] = "-cache"; + argv[c++] = "8192"; + argv[c++] = "-really-quiet"; +diff -Naur electricsheep-2.7b12/electricsheep.h electricsheep-2.7~b12+svn20091224/electricsheep.h +--- electricsheep-2.7b12/electricsheep.h 2009-07-09 04:10:05.000000000 -0400 ++++ electricsheep-2.7~b12+svn20091224/electricsheep.h 2009-12-24 18:03:01.000000000 -0500 +@@ -74,4 +74,4 @@ + void init_list_cmd (char *buf); + void get_end_element(void *userData, const char *name); + void character_handler(void *userData, const XML_Char *s, int len); +-char *encry(char *pw); ++char *encry(char *pw, char *nick); +diff -Naur electricsheep-2.7b12/electricsheep-preferences.c electricsheep-2.7~b12+svn20091224/electricsheep-preferences.c +--- electricsheep-2.7b12/electricsheep-preferences.c 2009-07-09 04:10:05.000000000 -0400 ++++ electricsheep-2.7~b12+svn20091224/electricsheep-preferences.c 2009-12-24 18:03:01.000000000 -0500 +@@ -108,8 +108,9 @@ + prefs.password = strdup(""); + } else { + char *pw = (char*)gtk_entry_get_text(password_entry); ++ pw = strdup(pw); + if (strcmp(pw, pw_marker)) +- prefs.password = encry(pw); ++ prefs.password = encry(pw, prefs.nick); + } + prefs.video_driver = (char*)gtk_entry_get_text(video_driver_entry); + prefs.frame_rate = gtk_spin_button_get_value(frame_rate_spin); +@@ -207,72 +208,72 @@ + void get_widgets(GladeXML *xml) { + title_label = (GtkLabel *) glade_xml_get_widget(xml, "titleLabel"); + if (NULL == title_label) { +- fprintf(stderr, "titleLabel not found\n"); ++ fprintf(logout, "titleLabel not found\n"); + exit(1); + } + test_label = (GtkLabel *) glade_xml_get_widget(xml, "testLabel"); + if (NULL == test_label) { +- fprintf(stderr, "testLabel not found\n"); ++ fprintf(logout, "testLabel not found\n"); + exit(1); + } + test_button = (GtkButton *) glade_xml_get_widget(xml, "testButton"); + if (NULL == test_button) { +- fprintf(stderr, "testButton not found\n"); ++ fprintf(logout, "testButton not found\n"); + exit(1); + } + nick_entry = (GtkEntry *) glade_xml_get_widget(xml, "nickEntry"); + if (NULL == nick_entry) { +- fprintf(stderr, "nickEntry not found\n"); ++ fprintf(logout, "nickEntry not found\n"); + exit(1); + } + url_entry = (GtkEntry *) glade_xml_get_widget(xml, "urlEntry"); + if (NULL == url_entry) { +- fprintf(stderr, "urlEntry not found\n"); ++ fprintf(logout, "urlEntry not found\n"); + exit(1); + } + password_entry = (GtkEntry *) glade_xml_get_widget(xml, "passEntry"); + if (NULL == password_entry) { +- fprintf(stderr, "passEntry not found\n"); ++ fprintf(logout, "passEntry not found\n"); + exit(1); + } + video_driver_entry = (GtkEntry *) glade_xml_get_widget(xml, "vdEntry"); + if (NULL == video_driver_entry) { +- fprintf(stderr, "vdEntry not found\n"); ++ fprintf(logout, "vdEntry not found\n"); + exit(1); + } + frame_rate_spin = (GtkSpinButton *) glade_xml_get_widget(xml, "frameSpin"); + if (NULL == frame_rate_spin) { +- fprintf(stderr, "frameSpin not found\n"); ++ fprintf(logout, "frameSpin not found\n"); + exit(1); + } + nrepeats_spin = (GtkSpinButton *) glade_xml_get_widget(xml, "repeatSpin"); + if (NULL == nrepeats_spin) { +- fprintf(stderr, "repeatSpin not found\n"); ++ fprintf(logout, "repeatSpin not found\n"); + exit(1); + } + cache_spin = (GtkSpinButton *) glade_xml_get_widget(xml, "cacheSpin"); + if (NULL == cache_spin) { +- fprintf(stderr, "cacheSpin not found\n"); ++ fprintf(logout, "cacheSpin not found\n"); + exit(1); + } + no_animation_check = (GtkCheckButton *) glade_xml_get_widget(xml, "noanimCheck"); + if (NULL == no_animation_check) { +- fprintf(stderr, "noanimCheck not found\n"); ++ fprintf(logout, "noanimCheck not found\n"); + exit(1); + } + standalone_check = (GtkCheckButton *) glade_xml_get_widget(xml, "standaloneCheck"); + if (NULL == standalone_check) { +- fprintf(stderr, "standaloneCheck not found\n"); ++ fprintf(logout, "standaloneCheck not found\n"); + exit(1); + } + hide_errors_check = (GtkCheckButton *) glade_xml_get_widget(xml, "hideCheck"); + if (NULL == hide_errors_check) { +- fprintf(stderr, "hideCheck not found\n"); ++ fprintf(logout, "hideCheck not found\n"); + exit(1); + } + save_frames_check = (GtkCheckButton *) glade_xml_get_widget(xml, "saveCheck"); + if (NULL == save_frames_check) { +- fprintf(stderr, "saveCheck not found\n"); ++ fprintf(logout, "saveCheck not found\n"); + exit(1); + } + } +diff -Naur electricsheep-2.7b12/utils.c electricsheep-2.7~b12+svn20091224/utils.c +--- electricsheep-2.7b12/utils.c 2009-07-09 04:10:05.000000000 -0400 ++++ electricsheep-2.7~b12+svn20091224/utils.c 2009-12-24 18:03:01.000000000 -0500 +@@ -69,19 +70,23 @@ + } + } + +-char *encry(char *pw) { ++ ++char *encry(char *pw, char *nick) { ++ static char *salt = "sh33p"; + unsigned char digest[16]; + char md5_pw[33]; ++ char *pw_salted = malloc(strlen(pw) + strlen(salt) + strlen(nick) + 1); + int i, j; +- md5_buffer(pw, strlen(pw), digest); ++ sprintf(pw_salted, "%s%s%s", pw, salt, nick); ++ md5_buffer(pw_salted, strlen(pw_salted), digest); + for (i = 0, j = 0; i < sizeof(digest); i++) { + char *hex_digits = "0123456789ABCDEF"; +- + md5_pw[j++] = hex_digits[digest[i] >> 4]; + md5_pw[j++] = hex_digits[digest[i] & 0x0F]; + } + md5_pw[j] = 0; + free(pw); ++ free(pw_salted); + return strdup(md5_pw); + } + +@@ -97,10 +102,11 @@ + free(prefs->url); + prefs->url = strdup(atts[i+1]); + } else if (!strcmp("password", atts[i])) { +- free(prefs->password); +- prefs->password = encry(strdup(atts[i+1])); ++ free(prefs->password); ++ /* assume nick comes before pw in the xml XXX */ ++ prefs->password = encry(strdup(atts[i+1]), prefs->nick); + } else if (!strcmp("password_md5", atts[i])) { +- free(prefs->password); ++ free(prefs->password); + prefs->password = strdup(atts[i+1]); + } else if (!strcmp("video_driver", atts[i])) { + free(prefs->video_driver); +@@ -133,7 +139,7 @@ + } else if (!strcmp("version", atts[i])) { + // nothing to check + } else { +- fprintf(stderr, "ignoring attribute %s\n", atts[i]); ++ fprintf(logout, "ignoring attribute %s\n", atts[i]); + } + i += 2; + } +@@ -146,7 +152,7 @@ + if (argc > 2) + strcpy(rc_file, argv[2]); + else { +- fprintf(stderr, ++ fprintf(logout, + "%s: --preferences option requires a file name argument.\n", + argv[0]); + exit(1); +@@ -155,7 +161,7 @@ + } + hom = getenv("HOME"); + if (!hom) { +- fprintf(stderr, "%s: HOME envar not defined\n", argv[0]); ++ fprintf(logout, "%s: HOME envar not defined\n", argv[0]); + exit(1); + } + snprintf(rc_file, PATH_MAX, "%s/.electricsheep/preferences.xml", hom); +@@ -281,15 +287,15 @@ + + int mysystem(char *cmd, char *msg) { + int n; +- if (0) fprintf(stderr, "subprocess; (%s)\n", cmd); ++ if (0) fprintf(logout, "subprocess; (%s)\n", cmd); + if (0 != (n = interruptable_system(cmd))) { + if (SIGINT != n) { + if (!prefs.hide_errors) +- fprintf(stderr, "subprocess error: %s, %d=%d<<8+%d\n", ++ fprintf(logout, "subprocess error: %s, %d=%d<<8+%d\n", + msg, n, n>>8, n&255); + return 1; + } +- fprintf(stderr, "control-c during %s, exiting\n", msg); ++ fprintf(logout, "control-c during %s, exiting\n", msg); + cleanup_and_exit(1); + } + return 0; +@@ -325,7 +331,7 @@ + int bytes_read; + void *buff = XML_GetBuffer(parser, XML_BUFF_SIZE); + if (buff == NULL) { +- fprintf(stderr, "unable to allocate buffer.\n"); ++ fprintf(logout, "unable to allocate buffer.\n"); + exit(1); + } + +@@ -334,7 +340,7 @@ + break; + + if (! XML_ParseBuffer(parser, bytes_read, bytes_read == 0)) { +- fprintf(stderr, "parse error.\n"); ++ fprintf(logout, "parse error.\n"); + exit(1); + } + } +@@ -441,7 +447,7 @@ + + void init_curl_cmd(int registration) { + +- if (debug) fprintf(stderr, "init_curl_cmd %d\n", registration); ++ if (debug) fprintf(logout, "init_curl_cmd %d\n", registration); + + if (prefs.proxy_name) { + snprintf(curl_cmd, MAXBUF, "nice -n %d curl --location --proxy %s", +@@ -472,7 +478,7 @@ + } + } + server = dream_server; +- if (debug) fprintf(stderr, "curl_cmd = %s\nserver = %s\n", curl_cmd, server); ++ if (debug) fprintf(logout, "curl_cmd = %s\nserver = %s\n", curl_cmd, server); + } + + void init_list_cmd (char *buf) { diff --git a/community/fceux/PKGBUILD b/community/fceux/PKGBUILD index fe25715f7..9c1632d33 100644 --- a/community/fceux/PKGBUILD +++ b/community/fceux/PKGBUILD @@ -1,35 +1,45 @@ -# $Id: PKGBUILD 49458 2011-06-16 19:25:29Z angvp $ -# Maintainer: Eric Belanger <eric@archlinux.org> -# Contributor: Jo Christian Bergskås <jcberg@gmail.com> - +# $Id: PKGBUILD 57567 2011-10-30 20:09:10Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Eric Belanger <eric@archlinux.org> +# Contributor: Jo Christian BergskÃ¥s <jcberg@gmail.com> pkgname=fceux pkgver=2.1.5 -pkgrel=1 -arch=('i686' 'x86_64' 'mips64el') -url="http://fceux.com/web/home.html" -pkgdesc="A fast and ultra-compatible NES/Famicom emulator with SDL, OpenGL and SVGALIB support" +pkgrel=3 +arch=('x86_64' 'i686' 'mips64el') +url="http://fceux.com/" +pkgdesc="Fast and ultra-compatible NES/Famicom emulator" license=('GPL') -depends=('sdl' 'lua' 'gtk2') -makedepends=('scons' 'mesa') -optdepends=('xchm: for viewing the help manual') +depends=('sdl' 'gtk2' 'gd' 'desktop-file-utils') +makedepends=('scons' 'mesa' 'lua') +optdepends=('xchm: for viewing the manual') provides=('fceu' 'gfceux') replaces=('fceu' 'gfceux') -source=(http://downloads.sourceforge.net/fceultra/$pkgname-${pkgver}.src.tar.bz2 \ - fceux.desktop fceux.png) +install=fceux.install +source=("http://downloads.sourceforge.net/fceultra/$pkgname-$pkgver.src.tar.bz2" + "fceux.desktop" + "fceux.png") +md5sums=('e8b20e62bbbb061b1a59d51b47c827bd' + '3c6a259d88825ff1b9387d191a6c970e' + '3fe753731ac46b5fee528b1f73abd3e3') build() { - cd "${srcdir}/fceu$pkgver" - scons + cd "$srcdir/fceu${pkgver}" - sed -i "s|/usr/local|${pkgdir}/usr|" SConstruct - scons install + sed -i "s|/usr/local|$pkgdir/usr|" SConstruct + scons OPENGL=0 install +} - install -D -m644 bin/$pkgname.chm "${pkgdir}/usr/share/doc/$pkgname/$pkgname.chm" - install -D -m644 "$srcdir"/fceux.desktop "${pkgdir}"/usr/share/applications/fceux.desktop - install -D -m644 "$srcdir"/fceux.png "$pkgdir"/usr/share/pixmaps/fceux.png +package() { + cd "$srcdir/fceu${pkgver}" + + install -Dm644 bin/$pkgname.chm \ + "$pkgdir/usr/share/doc/$pkgname/$pkgname.chm" + install -Dm644 $srcdir/fceux.desktop \ + "$pkgdir/usr/share/applications/fceux.desktop" + install -Dm644 $srcdir/fceux.png \ + "$pkgdir/usr/share/pixmaps/fceux.png" + install -Dm644 COPYING \ + "$pkgdir/usr/share/licenses/$pkgname/COPYING" } # vim:set ts=2 sw=2 et: -md5sums=('e8b20e62bbbb061b1a59d51b47c827bd' - '30baf915c936926fa50f59d8276f6575' - '3fe753731ac46b5fee528b1f73abd3e3') diff --git a/community/fceux/fceux.desktop b/community/fceux/fceux.desktop new file mode 100644 index 000000000..c20271a77 --- /dev/null +++ b/community/fceux/fceux.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Fceux +GenericName=NES/Famicom emulator +Exec=fceux +Icon=fceux +Type=Application +Categories=Game;Emulator; +Encoding=UTF-8 +MimeType=application/x-nes;application/x-nes-rom diff --git a/community/fceux/fceux.install b/community/fceux/fceux.install new file mode 100644 index 000000000..ad97d7bab --- /dev/null +++ b/community/fceux/fceux.install @@ -0,0 +1,13 @@ +post_upgrade() { + update-desktop-database -q +} + +post_install() { + post_upgrade +} + +post_remove() { + post_upgrade +} + +# vim:set ts=2 sw=2 et: diff --git a/community/fceux/fceux.png b/community/fceux/fceux.png Binary files differnew file mode 100644 index 000000000..1cf27b1fd --- /dev/null +++ b/community/fceux/fceux.png diff --git a/community/ffmpeg2theora/PKGBUILD b/community/ffmpeg2theora/PKGBUILD index 049eb0cda..269f3b872 100644 --- a/community/ffmpeg2theora/PKGBUILD +++ b/community/ffmpeg2theora/PKGBUILD @@ -1,27 +1,32 @@ -# $Id: PKGBUILD 58395 2011-11-12 17:16:59Z ibiru $ +# $Id: PKGBUILD 62853 2012-01-27 19:43:55Z arodseth $ # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Contributor: Eric Belanger <eric@archlinux.org> # Contributor: Angelo Theodorou <encelo@users.sourceforge.net> - +# Contributor: Alexander Rødseth <rodseth@gmail.com> pkgname=ffmpeg2theora pkgver=0.28 -pkgrel=2 -pkgdesc="A simple converter to create Ogg Theora files" -arch=('i686' 'x86_64' 'mips64el') +pkgrel=3 +pkgdesc="Simple converter to create Ogg Theora files" +arch=('x86_64' 'i686' 'mips64el') url="http://www.v2v.cc/~j/ffmpeg2theora/" license=('GPL3') depends=('ffmpeg') -makedepends=('pkgconfig' 'scons') -changelog=$pkgname.changelog -source=(http://www.v2v.cc/~j/${pkgname}/downloads/${pkgname}-${pkgver}.tar.bz2) +makedepends=('pkgconfig' 'scons') # 'libkate') +source=("http://www.v2v.cc/~j/$pkgname/downloads/$pkgname-$pkgver.tar.bz2") sha256sums=('6893c1444d730a1514275ba76ba487ca207205b916d6cb1285704225ee86fe1e') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "$srcdir/$pkgname-$pkgver" + + sed -i 's:pp_mode_t:pp_mode:' src/ffmpeg2theora.c + sed -i 's:pp_context_t:pp_context:' src/ffmpeg2theora.c scons } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - scons install destdir="${pkgdir}" prefix="/usr" mandir="PREFIX/share/man" + cd "$srcdir/$pkgname-$pkgver" + + scons install destdir="$pkgdir" prefix="/usr" mandir="PREFIX/share/man" } + +# vim:set ts=2 sw=2 et: diff --git a/community/gkrellm/PKGBUILD b/community/gkrellm/PKGBUILD index 1b7db8aaf..918eb548b 100644 --- a/community/gkrellm/PKGBUILD +++ b/community/gkrellm/PKGBUILD @@ -1,25 +1,37 @@ -# $Id: PKGBUILD 31931 2010-11-07 23:10:53Z lcarlier $ +# $Id: PKGBUILD 62784 2012-01-26 17:53:09Z arodseth $ +# Maintainer: dorphell <dorphell@archlinux.org> # Contributor: Matt Smith (Majik) <darkknight@helpdesk.zaz.net> # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> -# Maintainer: dorphell <dorphell@archlinux.org> - +# Contributor: Jozef Riha <jose1711@gmail.com> +# Contributor: Alexander Rødseth <rodseth@gmail.com> pkgname=gkrellm pkgver=2.3.5 -pkgrel=1 +pkgrel=2 pkgdesc="System monitor package for GTK2" arch=('i686' 'x86_64' 'mips64el') url="http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html" license=('GPL3') -depends=('gtk2' 'openssl' 'libsm' 'lm_sensors') +depends=('gtk2' 'libsm' 'lm_sensors') makedepends=('gettext') backup=('etc/gkrellmd.conf') -source=(http://members.dslextreme.com/users/billw/$pkgname/$pkgname-$pkgver.tar.bz2) -md5sums=('e43a9416a6975e3be63d591bdeb33b04') +source=("http://members.dslextreme.com/users/billw/$pkgname/$pkgname-$pkgver.tar.bz2" + "gkrellmd") +sha256sums=('702b5b0e9c040eb3af8e157453f38dd6f53e1dcd8b1272d20266cda3d4372c8b' + 'c6d532dd7a706891aed92d750bceda74d4618e86ad82feadc0503214de904360') build() { - cd ${srcdir}/$pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" make LOCALEDIR=/usr/share/locale - make DESTDIR=${pkgdir} PREFIX=/usr install - install -D -m644 "${srcdir}/${pkgname}-${pkgver}/server/gkrellmd.conf" "${pkgdir}/etc/gkrellmd.conf" } + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" PREFIX=/usr install + install -Dm644 "server/gkrellmd.conf" "$pkgdir/etc/gkrellmd.conf" + install -Dm755 "../gkrellmd" "$pkgdir/etc/rc.d/gkrellmd" + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} + +# vim:set ts=2 sw=2 et: diff --git a/community/gkrellm/gkrellmd b/community/gkrellm/gkrellmd new file mode 100644 index 000000000..1f255e755 --- /dev/null +++ b/community/gkrellm/gkrellmd @@ -0,0 +1,40 @@ +#!/bin/bash + +# source application-specific settings +GKRELLMD_ARGS='-d' + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=$(pidof -o %PPID /usr/bin/gkrellmd) +case "$1" in + start) + stat_busy "Starting GKrellM Daemon" + [ -z "$PID" ] && /usr/bin/gkrellmd ${GKRELLMD_ARGS} + PID=$(pidof -o %PPID /usr/bin/gkrellmd) + if [ -z "$PID" ]; then + stat_fail + else + add_daemon gkrellmd + stat_done + fi + ;; + stop) + stat_busy "Stopping GKrellM Daemon" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon gkrellmd + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/community/i3-wm/PKGBUILD b/community/i3-wm/PKGBUILD index 0a2ae1e12..e820f035b 100644 --- a/community/i3-wm/PKGBUILD +++ b/community/i3-wm/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 61211 2011-12-24 17:06:50Z ttopper $ +# $Id: PKGBUILD 62878 2012-01-28 14:15:46Z ttopper $ # Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> pkgname=i3-wm _pkgsourcename=i3 -pkgver=4.1.1 +pkgver=4.1.2 pkgrel=1 pkgdesc="An improved dynamic tiling window manager" arch=('i686' 'x86_64' 'mips64el') @@ -20,7 +20,7 @@ optdepends=('rxvt-unicode: The terminal emulator used in the default config.' 'perl: To migrate your configuration to v4 format.') options=('docs' '!strip') source=("http://i3wm.org/downloads/${_pkgsourcename}-${pkgver}.tar.bz2") -md5sums=('25bc29349b65000a2b0afc0655a80035') +md5sums=('0e81c381f9bf3ebf155aaa394e71834f') build() { cd "$srcdir/$_pkgsourcename-$pkgver" diff --git a/community/jansson/PKGBUILD b/community/jansson/PKGBUILD index 583354aa6..66a4a4910 100644 --- a/community/jansson/PKGBUILD +++ b/community/jansson/PKGBUILD @@ -1,17 +1,18 @@ -# $Id: PKGBUILD 56380 2011-10-07 02:59:03Z kkeen $ +# $Id: PKGBUILD 62893 2012-01-28 22:13:43Z kkeen $ # Maintainer: Kyle Keen <keenerd@gmail.com> # Contributor: Dave Reisner <d@falconindy.com> pkgname=jansson -pkgver=2.2.1 +pkgver=2.3 pkgrel=1 pkgdesc='C library for encoding, decoding and manipulating JSON data' arch=('i686' 'x86_64' 'mips64el') url='http://www.digip.org/jansson/' +depends=('glibc') license=('MIT') options=('!libtool') source=("$url/releases/$pkgname-$pkgver.tar.bz2") -md5sums=('074373f2d101c52d70659be86647e7a1') +md5sums=('9f322b4b43b1b4f38473c52b49dabf99') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/ldns/Makefile.patch b/community/ldns/Makefile.patch new file mode 100644 index 000000000..d98291ac9 --- /dev/null +++ b/community/ldns/Makefile.patch @@ -0,0 +1,20 @@ +--- old/Makefile.in 2012-01-12 00:11:36.000000000 +1100 ++++ new/Makefile.in 2012-01-27 11:36:16.110154453 +1100 +@@ -130,7 +130,7 @@ + exit -1 ; \ + fi + drill/drill: $(DRILL_LOBJS) $(LIB) +- $(LINK_EXE) $(DRILL_LOBJS) $(LIBS) -lldns -o drill/drill ++ $(LINK_EXE) $(DRILL_LOBJS) $(LIBS) $(LIBSSL_LIBS) -lldns -o drill/drill + + install-drill: drill/drill + $(INSTALL) -m 755 -d $(DESTDIR)$(bindir) +@@ -157,7 +157,7 @@ + exit -1 ; \ + fi + $(EXAMPLE_PROGS): $(EXAMPLE_LOBJS) $(LIB) +- $(LINK_EXE) $@.lo $(LIBS) -lldns -o $@ ++ $(LINK_EXE) $@.lo $(LIBS) $(LIBSSL_LIBS) -lldns -o $@ + + $(TESTNS): $(TESTNS_LOBJS) $(LIB) + $(LINK_EXE) $(TESTNS_LOBJS) $(LIBS) -lldns -o $(TESTNS) diff --git a/community/ldns/PKGBUILD b/community/ldns/PKGBUILD index 49febb4d2..46d7e1f5f 100644 --- a/community/ldns/PKGBUILD +++ b/community/ldns/PKGBUILD @@ -1,39 +1,38 @@ -# $Id: PKGBUILD 56190 2011-10-03 10:19:02Z bisson $ - +# $Id: PKGBUILD 62792 2012-01-27 01:01:36Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> -# Contributor: jiribb <jiribb@gmail.com> and <mathieui> <mathieui@mathieui.net> # Contributor: mathieui <mathieui@mathieui.net> +# Contributor: jiribb <jiribb@gmail.com> pkgname=ldns -pkgver=1.6.11 +pkgver=1.6.12 pkgrel=1 -pkgdesc='Fast DNS library with DNSSEC support, including tools such as Drill' -arch=('i686' 'x86_64' 'mips64el') +pkgdesc='Fast DNS library supporting recent RFCs, including Drill and other tools' url='http://www.nlnetlabs.nl/projects/ldns/' license=('custom:BSD') +arch=('i686' 'x86_64' 'mips64el') +options=('!libtool') depends=('openssl') makedepends=('libpcap') optdepends=('libpcap: ldns-dpa tool') -options=('!libtool') -source=("http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz") -sha1sums=('2c4537eee39a1af63e8dde4f35498ce78c968c1f') +source=("http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz" + 'Makefile.patch') +sha1sums=('1d61df0f666908551d5a62768f77d63e727810aa' + '01bce260e9639d9cd26109a689dddf2498e5026a') build() { cd "${srcdir}/${pkgname}-${pkgver}" - _conf='--prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-static=no --disable-rpath' - _tmp="$(mktemp -d)" + patch -p1 -i ../Makefile.patch - ./configure ${_conf} - make - make DESTDIR="${_tmp}" install + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-static=no \ + --disable-rpath \ + --with-drill \ + --with-examples \ - cd drill - ./configure ${_conf} --with-ldns="${_tmp}" - make - - cd ../examples - ./configure ${_conf} --with-ldns="${_tmp}" make } @@ -41,11 +40,6 @@ package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install - install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - - cd drill - make DESTDIR="${pkgdir}" install - cd ../examples - make DESTDIR="${pkgdir}" install + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/community/libalkimia/PKGBUILD b/community/libalkimia/PKGBUILD index 2f14f4bf6..004c8d6fa 100644 --- a/community/libalkimia/PKGBUILD +++ b/community/libalkimia/PKGBUILD @@ -1,9 +1,10 @@ -# $Id: PKGBUILD 58105 2011-11-06 17:14:04Z lcarlier $ +# $Id: PKGBUILD 62859 2012-01-27 20:47:22Z lcarlier $ +# Maintainer: Laurent Carlier <lordheavym@gmail.com> # Contributor: gumper <gumper1034@gmail.com> pkgname=libalkimia -pkgver=4.3.1 -pkgrel=2 +pkgver=4.3.2 +pkgrel=1 pkgdesc="A library with common classes and functionality used by finance applications for the KDE SC." depends=('kdelibs') makedepends=('cmake' 'automoc4' 'doxygen') @@ -11,7 +12,7 @@ url=('http://kde-apps.org/content/show.php/libalkimia?content=137323') license=('LGPL') arch=('i686' 'x86_64') source=("http://kde-apps.org/CONTENT/content-files/137323-libalkimia-$pkgver.tar.bz2") -md5sums=('73d7f1365118019030b2045d95c92456') +md5sums=('8d7b529c7be5f72ae1cbb02e818e9b79') build() { cd "${srcdir}" @@ -21,7 +22,7 @@ build() { cmake ../${pkgname}-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=DebugFull \ + -DCMAKE_BUILD_TYPE=Release \ -Wno-dev make } diff --git a/community/libee/PKGBUILD b/community/libee/PKGBUILD new file mode 100644 index 000000000..dec3ed023 --- /dev/null +++ b/community/libee/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 62738 2012-01-25 15:37:48Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Brian Knox <taotetek@gmail.com> + +pkgname=libee +pkgver=0.3.1 +pkgrel=3 +pkgdesc="event expression library inspired by CEE" +url="http://www.libee.org/" +arch=('i686' 'x86_64') +license=('LGPL2.1') +depends=('libestr') +makedepends=() +optdepends=() +options=(!libtool) +source=("http://www.libee.org/files/download/libee-$pkgver.tar.gz") +md5sums=('61403a9a62b984381cf48454664f915e') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr + make -j1 +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make install DESTDIR=${pkgdir} +} diff --git a/community/libestr/PKGBUILD b/community/libestr/PKGBUILD new file mode 100644 index 000000000..adb612d56 --- /dev/null +++ b/community/libestr/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 62740 2012-01-25 15:38:28Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Brian Knox <taotetek@gmail.com> + +pkgname=libestr +pkgver=0.1.2 +pkgrel=2 +pkgdesc="essentials for string handling (and a bit more)" +url="http://libestr.adiscon.com/" +arch=('i686' 'x86_64') +license=('LGPL2.1') +depends=() +options=(!libtool) +source=("http://libestr.adiscon.com/files/download/libestr-$pkgver.tar.gz") +md5sums=('30ec4054155dc7d7e9b06418181c4f12') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make install DESTDIR=${pkgdir} +} diff --git a/community/libmemcached/PKGBUILD b/community/libmemcached/PKGBUILD index a94ecd995..040b67f50 100644 --- a/community/libmemcached/PKGBUILD +++ b/community/libmemcached/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 61907 2012-01-10 16:07:55Z foutrelis $ +# $Id: PKGBUILD 62973 2012-01-29 19:01:45Z foutrelis $ # Maintainer: Evangelos Foutras <evangelos@foutrelis.com> pkgname=libmemcached -pkgver=1.0.3 +pkgver=1.0.4 pkgrel=1 pkgdesc="C and C++ client library to the memcached server" arch=('i686' 'x86_64' 'mips64el') @@ -12,7 +12,7 @@ depends=('glibc' 'libsasl') makedepends=('perl') options=('!libtool') source=(http://launchpad.net/$pkgname/1.0/$pkgver/+download/$pkgname-$pkgver.tar.gz) -sha256sums=('936cc1b5f36fae45a1069cbd889effa2ecf12e05ce09b45c14a992a35d3c0dbc') +sha256sums=('1dd0a9fb5823aa6f8337a3beaeb287bb92041005c136622b4d82622a9428e20c') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/libmicrohttpd/PKGBUILD b/community/libmicrohttpd/PKGBUILD index 37f165f92..d7ca5a4be 100644 --- a/community/libmicrohttpd/PKGBUILD +++ b/community/libmicrohttpd/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 59260 2011-11-22 06:42:34Z spupykin $ +# $Id: PKGBUILD 62677 2012-01-24 12:51:51Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Norberto Lopes <shelika@mail.telepac.pt> # Contributor: Kao Dome <kaodome@gmail.com> @@ -6,7 +6,7 @@ # Contributor: Mathias Rohnstock <linksoft@gmx.de> pkgname=libmicrohttpd -pkgver=0.9.17 +pkgver=0.9.18 pkgrel=1 pkgdesc="a small C library that is supposed to make it easy to run an HTTP server as part of another application." arch=('i686' 'x86_64' 'mips64el') @@ -16,7 +16,7 @@ options=('!libtool') depends=('gnutls' 'libgcrypt') install=libmicrohttpd.install source=(ftp://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz) -md5sums=('d6802049c806e903ef1fa9c5b847e555') +md5sums=('af0f282b92413f414cb6daf2d2f618c7') build() { cd ${pkgname}-${pkgver} diff --git a/community/lightspark/PKGBUILD b/community/lightspark/PKGBUILD index 2ffa1c59a..a49e2aa10 100644 --- a/community/lightspark/PKGBUILD +++ b/community/lightspark/PKGBUILD @@ -2,8 +2,8 @@ # Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com> pkgname=lightspark -pkgver=0.5.3 -pkgrel=2 +pkgver=0.5.4 +pkgrel=1 pkgdesc='An alternative Flash Player for Linux.' arch=('i686' 'x86_64' 'mips64el') url='http://lightspark.sourceforge.net' @@ -15,12 +15,12 @@ optdepends=('gnash-gtk: fallback support') install="lightspark.install" source=("http://launchpad.net/lightspark/trunk/lightspark-${pkgver}/+download/lightspark-${pkgver}.tar.gz" 'llvm29.diff') -md5sums=('2d4519c61aabc34cbba97120f5c01d18' +md5sums=('1101e1d1cb1b55b84b9214ef02217ec3' '5f717d1d9ead478184ca68f6ac068099') build() { - cd lightspark-${pkgver} - patch -Np0 -i ${srcdir}/llvm29.diff + #cd lightspark-${pkgver} + #patch -Np0 -i ${srcdir}/llvm29.diff cd ${srcdir} rm -rf build diff --git a/community/linuxtv-dvb-apps/PKGBUILD b/community/linuxtv-dvb-apps/PKGBUILD index fe902bd15..3efdf75d6 100644 --- a/community/linuxtv-dvb-apps/PKGBUILD +++ b/community/linuxtv-dvb-apps/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 58911 2011-11-20 05:15:40Z jconder $ +# $Id: PKGBUILD 62806 2012-01-27 05:32:06Z jconder $ # Maintainer: Jonathan Conder <jonno.conder@gmail.com> # Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org> # Contributor: Camille Moncelier <pix@devlife.org> pkgname=linuxtv-dvb-apps -pkgver=1452 +pkgver=1465 pkgrel=1 -_hgrev=d4e8bf5658ce +_hgrev=69fc03702a64 pkgdesc='Viewer programs for DVB cards' arch=('i686' 'x86_64' 'mips64el') url='http://www.linuxtv.org/' license=('GPL') source=("http://linuxtv.org/hg/dvb-apps/archive/$_hgrev.tar.bz2") -sha256sums=('c3bb865ea5c8dd97050d7b3a68ee158dadff50a2fb948d955b3a559be3cf31c5') +sha256sums=('4c32fd895d826254779f1020f69a1978ea3c0130440f82f7b18e2d8e5378804a') build() { cd "dvb-apps-$_hgrev" diff --git a/community/lxlauncher/PKGBUILD b/community/lxlauncher/PKGBUILD index c8bac639a..85de2af9b 100644 --- a/community/lxlauncher/PKGBUILD +++ b/community/lxlauncher/PKGBUILD @@ -3,7 +3,7 @@ # Maintainer: Geoffroy Carrier <geoffroy.carrier@koon.fr> pkgname=lxlauncher pkgver=0.2.2 -pkgrel=1 +pkgrel=1.1 pkgdesc="Launcher for Asus EeePC (part of LXDE)" arch=('i686' 'x86_64' 'mips64el') license=('GPL2') diff --git a/community/lxrandr/PKGBUILD b/community/lxrandr/PKGBUILD index c427394b5..6d3958f5c 100644 --- a/community/lxrandr/PKGBUILD +++ b/community/lxrandr/PKGBUILD @@ -4,7 +4,7 @@ pkgname=lxrandr pkgver=0.1.2 -pkgrel=1 +pkgrel=1.1 pkgdesc="Monitor configuration tool (part of LXDE)" arch=('i686' 'x86_64' 'mips64el') license=('GPL2') diff --git a/community/lxsession/PKGBUILD b/community/lxsession/PKGBUILD index 808b33161..0deb4855c 100644 --- a/community/lxsession/PKGBUILD +++ b/community/lxsession/PKGBUILD @@ -4,7 +4,7 @@ pkgname=lxsession pkgver=0.4.6.1 -pkgrel=1 +pkgrel=1.1 pkgdesc="Session manager of the LXDE Desktop (light version)" arch=('i686' 'x86_64' 'mips64el') license=('GPL2') diff --git a/community/lxtask/PKGBUILD b/community/lxtask/PKGBUILD index 8fa1911f3..fc6aec61a 100644 --- a/community/lxtask/PKGBUILD +++ b/community/lxtask/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr> pkgname=lxtask pkgver=0.1.4 -pkgrel=3 +pkgrel=3.1 pkgdesc="Task manager of the LXDE Desktop" arch=('i686' 'x86_64' 'mips64el') license=('GPL2') diff --git a/community/mednafen/ChangeLog b/community/mednafen/ChangeLog new file mode 100644 index 000000000..a3097076c --- /dev/null +++ b/community/mednafen/ChangeLog @@ -0,0 +1,6 @@ +2011-05-17 Angel Velasquez <angvp@archlinux.org> + * Updated to 0.8.D.3 + * Removed fix_build patch + * Cleaned PKGBUILD + * Adding ChangeLog + diff --git a/community/mednafen/PKGBUILD b/community/mednafen/PKGBUILD new file mode 100755 index 000000000..88e469afc --- /dev/null +++ b/community/mednafen/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Angel Velasquez <angvp@archlinux.org> +# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com> +# Contributor: kagan <juanynie@mi.madritel.es> +pkgname=mednafen +pkgver=0.8.D.3 +pkgrel=1 +pkgdesc="A command-line multi-system gaming emulator" +url="http://mednafen.sourceforge.net/" +license=(GPL) +arch=('i686' 'x86_64') +depends=('libcdio>=0.82' 'libsamplerate' 'libogg' 'libvorbis' 'sdl' 'sdl_net' 'libsndfile' 'zlib') +makedepends=('pkgconfig' 'mesa') +changelog=ChangeLog +source=(http://downloads.sourceforge.net/mednafen/$pkgname-$pkgver.tar.bz2) +md5sums=('57d22805071becd81858b0c088a275e5') + +build() { + cd $srcdir/$pkgname + ./configure --prefix=/usr + make +} + +package() { + cd $srcdir/$pkgname + make DESTDIR=$pkgdir install +} diff --git a/community/megaglest/PKGBUILD b/community/megaglest/PKGBUILD index a1f316dc2..265ddeed9 100644 --- a/community/megaglest/PKGBUILD +++ b/community/megaglest/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 62066 2012-01-15 14:56:57Z svenstaro $ +# $Id: PKGBUILD 62705 2012-01-24 21:51:26Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Larry Hajali <larryhaja [at] gmail [dot] com> pkgname=megaglest -pkgver=3.6.0.2 +pkgver=3.6.0.3 pkgrel=1 pkgdesc="Fork of Glest, a 3D real-time strategy game in a fantastic world." arch=('i686' 'x86_64' 'mips64el') @@ -13,7 +13,7 @@ depends=('curl' 'megaglest-data' 'xerces-c' 'sdl' 'libvorbis' 'openal' 'libgl' ' 'libircclient' 'miniupnpc' 'wxgtk') makedepends=('ftjam' 'cmake' 'mesa') source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-source-${pkgver}.tar.xz") -md5sums=('9d840a04b41aef2cba503de7bf433b8d') +md5sums=('e939cbbb85c35e66c67ec2aa6f6b7f0b') build() { cd "${srcdir}"/"${pkgname}"-"${pkgver}"/ diff --git a/community/mg/PKGBUILD b/community/mg/PKGBUILD index 5f8fff086..601e1af1b 100644 --- a/community/mg/PKGBUILD +++ b/community/mg/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 59123 2011-11-21 11:46:26Z spupykin $ +# $Id: PKGBUILD 62917 2012-01-29 07:15:53Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Hannes Rist <hrist@phreeknet.org> pkgname=mg -pkgver=20110120 +pkgver=20110905 pkgrel=1 pkgdesc="mg is Micro GNU/emacs, this is a portable version of the mg maintained by the OpenBSD team." arch=('i686' 'x86_64' 'mips64el') @@ -14,7 +14,7 @@ options=(!libtool) source=(http://homepage.boetes.org/software/mg/mg-$pkgver.tar.gz README cleanup.patch) -md5sums=('f2fa8016a491aa2a9d4c5698c593f31b' +md5sums=('2de35316fa8ebafe6003efaae70b723e' '8cc5195ad4fabcf7c6782764f9617748' 'e009afe0d249593f3436b2fea110f72e') diff --git a/community/miredo/PKGBUILD b/community/miredo/PKGBUILD index 289ae5564..9c3ca8400 100644 --- a/community/miredo/PKGBUILD +++ b/community/miredo/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 59154 2011-11-21 12:39:37Z spupykin $ +# $Id: PKGBUILD 62679 2012-01-24 12:52:57Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=miredo -pkgver=1.2.3 +pkgver=1.2.4 pkgrel=1 pkgdesc="Teredo client and server." arch=('i686' 'x86_64' 'mips64el') @@ -17,7 +17,7 @@ source=(http://www.remlab.net/files/${pkgname}/${pkgname}-${pkgver}.tar.bz2 miredo.install miredo.rc.d miredo-server.rc.d) -md5sums=('6ba484ad5e331514a8a3452da2b144e7' +md5sums=('1281e7e75bddbde244cd778d99fa22d4' '51ab6d091192605ee9206944869cb2ab' 'd1b655d7a851cdb46c91c3418ed1962f' 'c5a9be5c3175fecec387f1710bfd2788' diff --git a/community/mythplugins/PKGBUILD b/community/mythplugins/PKGBUILD index 2097c4310..8dbcc7b9a 100644 --- a/community/mythplugins/PKGBUILD +++ b/community/mythplugins/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 48174 2011-05-29 12:47:11Z jconder $ +# $Id: PKGBUILD 62800 2012-01-27 02:41:18Z jconder $ # Maintainer: Jonathan Conder <jonno.conder@gmail.com> # Contributor: Giovanni Scafora <giovanni@archlinux.org> @@ -14,21 +14,21 @@ pkgname=('mythplugins-mytharchive' 'mythplugins-mythweather' 'mythplugins-mythweb' 'mythplugins-mythzoneminder') -pkgver=0.24.1 -pkgrel=4 +pkgver=0.24.2 +pkgrel=2 epoch=1 arch=('i686' 'x86_64' 'mips64el') url="http://www.mythtv.org" license=('GPL') makedepends=('cdparanoia' 'cdrkit' 'dvdauthor' 'dvd+rw-tools' 'ffmpeg' 'flac' 'libcdaudio' 'libexif' 'libvisual' 'libvorbis' 'mplayer' 'mythtv' - 'perl-datetime-format-iso8601' 'perl-date-manip' 'perl-image-size' - 'perl-libwww' 'perl-soap-lite' 'perl-xml-sax' 'perl-xml-simple' - 'perl-xml-xpath' 'python2-oauth' 'python-imaging' 'python-pycurl' - 'sdl' 'taglib' 'zlib') + 'perl-datetime-format-iso8601' 'perl-date-manip' 'perl-image-size' + 'perl-json' 'perl-libwww' 'perl-soap-lite' 'perl-xml-sax' + 'perl-xml-simple' 'perl-xml-xpath' 'python2-oauth' 'python-imaging' + 'python-pycurl' 'sdl' 'taglib' 'zlib') source=("ftp://ftp.osuosl.org/pub/mythtv/$pkgbase-$pkgver.tar.bz2" 'mtd.rc') -md5sums=('76aeefeff70b550b2d35c2d9d751df18' +md5sums=('471836d48657afc488d560aee624931e' '476c12ba074794ad7f4ae092bdf949d6') build() { @@ -112,9 +112,9 @@ package_mythplugins-mythvideo() { package_mythplugins-mythweather() { pkgdesc="Weather checking plugin for MythTV" - depends=('mythtv' 'perl-date-manip' 'perl-libwww' - 'perl-soap-lite' 'perl-xml-sax' 'perl-xml-simple' 'perl-xml-xpath' - 'perl-image-size' 'perl-datetime-format-iso8601') + depends=('mythtv' 'perl-date-manip' 'perl-json' 'perl-libwww' 'perl-soap-lite' + 'perl-xml-sax' 'perl-xml-simple' 'perl-xml-xpath' 'perl-image-size' + 'perl-datetime-format-iso8601') cd "$srcdir/$pkgbase-$pkgver/mythweather" make INSTALL_ROOT="$pkgdir" install diff --git a/community/mythtv/PKGBUILD b/community/mythtv/PKGBUILD index 3c0a58764..4fae3d925 100644 --- a/community/mythtv/PKGBUILD +++ b/community/mythtv/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 61085 2011-12-21 20:51:44Z andrea $ +# $Id: PKGBUILD 62798 2012-01-27 02:10:36Z jconder $ # Maintainer: Jonathan Conder <jonno.conder@gmail.com> # Contributor: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Juergen Hoetzel <juergen@archlinux.org> @@ -6,8 +6,8 @@ # Contributor: dorphell <dorphell@archlinux.org> pkgname=mythtv -pkgver=0.24.1 -pkgrel=4 +pkgver=0.24.2 +pkgrel=2 epoch=1 pkgdesc="A Homebrew PVR project" arch=('i686' 'x86_64' 'mips64el') @@ -15,30 +15,23 @@ url="http://www.mythtv.org/" license=('GPL') depends=('lame' 'libavc1394' 'libiec61883' 'libpulse' 'libvdpau' 'libxinerama' 'libxvmc' 'libxxf86vm' 'lirc-utils' 'mesa' 'mysql-clients' - 'mysql-python' 'perl-dbd-mysql' 'perl-libwww' 'perl-net-upnp' - 'python-lxml' 'wget' 'qtwebkit') + 'mysql-python' 'perl-dbd-mysql' 'perl-libwww' 'perl-net-upnp' + 'python-lxml' 'wget' 'qtwebkit') makedepends=('yasm') optdepends=('xmltv: to download tv listings') backup=('etc/conf.d/mythbackend') install='mythtv.install' source=("ftp://ftp.osuosl.org/pub/$pkgname/$pkgname-$pkgver.tar.bz2" 'mythbackend.rc' - 'mythbackend.conf' - 'mythtv-v4l2-fix.patch' - 'build.patch') -md5sums=('6870c679619ec58456e76839745411d8' + 'mythbackend.conf') +md5sums=('7259fd24560da77da90b1494492f9550' 'feadcc9ad064d93d6dceab1efc0bd9ed' - 'bb8e4033d82428d827570fae9ba15e6a' - 'ba5c91df80f0d3f7563a873e71a3725c' - '3188962917e98c4e07818dccd64bc423') + 'bb8e4033d82428d827570fae9ba15e6a') build() { cd "$srcdir/$pkgname-$pkgver" find 'bindings/python' 'contrib' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@' - patch -Np2 -i ${srcdir}/mythtv-v4l2-fix.patch - patch -Np1 -i ${srcdir}/build.patch - ARCH="${CARCH/_/-}" ./configure --prefix=/usr --cpu="$ARCH" \ --enable-mmx \ diff --git a/community/nestopia/ChangeLog b/community/nestopia/ChangeLog new file mode 100644 index 000000000..5077d00b2 --- /dev/null +++ b/community/nestopia/ChangeLog @@ -0,0 +1,12 @@ +2008-12-16 Tiago Pierezan Camargo <tcamargo@gmail.com> + + * PKGBUILD: Minor corrections. + +2008-12-04 Tiago Pierezan Camargo <tcamargo@gmail.com> + + * PKGBUILD (source): Package adopted. + Variable/version cleanup. + Patch to remove bogus error messages on program exit. + New dependency: mesa. + Renamed executable to nestopia. + diff --git a/community/nestopia/PKGBUILD b/community/nestopia/PKGBUILD new file mode 100644 index 000000000..0cff030f3 --- /dev/null +++ b/community/nestopia/PKGBUILD @@ -0,0 +1,46 @@ +# $Id: PKGBUILD 53185 2011-07-31 19:02:49Z 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.40h +pkgrel=4 +pkgdesc='An NES emulator featuring cycle exact emulation, a ridiculous number of mappers, and lots of custom sound chips.' +url='http://rbelmont.mameworld.info/?page_id=200' +license=('GPL') +arch=('i686' 'x86_64') +depends=('sdl>=1.2.12' 'alsa-lib' 'gtk2>=2.4' 'mesa') +makedepends=('unzip') +# rbelmont.mameworld.info blocks some user-agents +DLAGENTS=('http::/usr/bin/wget -c -t 3 --waitretry=3 --user-agent=Mozilla/5.0 -O %o %u' + 'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u') +source=("https://downloads.sourceforge.net/project/nestopia/Nestopia/v${pkgver//[a-z]/}/Nestopia${pkgver//[.a-z]/}src.zip" + "http://rbelmont.mameworld.info/nst${pkgver//[a.a-z]/}_lnx_release_${pkgver:${#pkgver}-1:1}.zip" + "nestopia" + "nestopia_bogus_error_on_save_settings.patch") +md5sums=('526c99a06d2b257135e7047b0ed95ae0' + 'f9a9a905bada67e11dac1364612d0b35' + 'abc2f030dd291f58d65c9095ef024225' + '0160078c9afcbb1a6ac389c3989929f7') + +build() { + cd ${srcdir} + # remove a bogus error message on exit + patch -p0 < nestopia_bogus_error_on_save_settings.patch + make -j1 + + # Install the nestopia script that copies required files to ~/.nestopia + install -Dm755 ${srcdir}/${pkgname} ${pkgdir}/usr/bin/${pkgname} + + # Older releases used a .sh file. Make a symlink to make everyone happy + cd ${pkgdir}/usr/bin + ln -s ${pkgname} ${pkgname}.sh + + # Install the required files and executable in /usr/share + cd ${srcdir} + install -Dm755 nst ${pkgdir}/usr/bin/${pkgname}-bin + install -dm775 ${pkgdir}/usr/share/${pkgname}/ + install -m644 nstcontrols ${pkgdir}/usr/share/${pkgname}/ + install -m644 NstDatabase.xml ${pkgdir}/usr/share/${pkgname}/ +} diff --git a/community/nestopia/nestopia b/community/nestopia/nestopia new file mode 100644 index 000000000..52bd2b2b3 --- /dev/null +++ b/community/nestopia/nestopia @@ -0,0 +1,10 @@ +#!/bin/sh + +if [ ! -e $HOME/.nestopia ]; then + echo "Running NEStopia for the first time..." + echo "Copying required files to ~/.nestopia..." + mkdir $HOME/.nestopia + cp /usr/share/nestopia/{nstcontrols,NstDatabase.xml} $HOME/.nestopia/ +fi + +nestopia-bin "$@" diff --git a/community/nestopia/nestopia_bogus_error_on_save_settings.patch b/community/nestopia/nestopia_bogus_error_on_save_settings.patch new file mode 100644 index 000000000..63f33bc72 --- /dev/null +++ b/community/nestopia/nestopia_bogus_error_on_save_settings.patch @@ -0,0 +1,11 @@ +--- source/linux/settings.cpp.old 2008-10-23 05:45:58.000000000 +0200 ++++ source/linux/settings.cpp 2008-12-04 23:17:59.000000000 +0100 +@@ -16,7 +16,7 @@ + using namespace LinuxNst; + + #define READ_SETTING(x) fread(&x, sizeof(x), 1, f) +-#define WRITE_SETTING(x) if (fwrite(&x, sizeof(x), 1, f) != sizeof(x)) std::cout << "Error writing setting!\n" ++#define WRITE_SETTING(x) if (fwrite(&x, sizeof(x), 1, f) != 1) std::cout << "Error writing setting!\n" + + static int rates[4] = { 11025, 22050, 44100, 48000 }; + diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD index 736d2ebb9..b772e44c0 100644 --- a/community/nodejs/PKGBUILD +++ b/community/nodejs/PKGBUILD @@ -6,7 +6,7 @@ # Contributor: TIanyi Cui <tianyicui@gmail.com> pkgname=nodejs -pkgver=0.6.8 +pkgver=0.6.9 pkgrel=1 pkgdesc='Evented I/O for V8 javascript' arch=('i686' 'x86_64' 'mips64el') @@ -17,7 +17,7 @@ checkdepends=('curl') # curl used for check() optdepends=('openssl: TLS support') options=('!emptydirs') source=("http://nodejs.org/dist/v${pkgver}/node-v${pkgver}.tar.gz") -md5sums=('9fd7baa2d27b848c3134e6ae35bb87b2') +md5sums=('c2d2aee123a141ba8431855f1d9c8200') build() { cd node-v${pkgver} diff --git a/community/open-vm-tools/PKGBUILD b/community/open-vm-tools/PKGBUILD index 5be5138ce..87a7a8f21 100644 --- a/community/open-vm-tools/PKGBUILD +++ b/community/open-vm-tools/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 61569 2012-01-03 12:06:41Z spupykin $ +# $Id: PKGBUILD 62772 2012-01-26 14:44:28Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Krzysztof Raczkowski <raczkow@gmail.com> pkgname=open-vm-tools pkgver=2011.12.20 _pkgsubver=562307 -pkgrel=1 +pkgrel=2 pkgdesc="The Open Virtual Machine Tools (open-vm-tools) are the open source implementation of VMware Tools." arch=('i686' 'x86_64' 'mips64el') url="http://open-vm-tools.sourceforge.net/" @@ -29,7 +29,7 @@ md5sums=('529c15cb6cfa2972a96664c504dee560' '199508b0d3fe6fa9b726d09170bf51f1' '8c333a979578bdc0c3134c1dd6bb7353' '79b0a14d86191fee70a4639da8bd7785' - '136ff53d0d3a303d09266a407fd2d215' + '67cb83a9e5a4dd016c1a1da2863ca36d' 'b55d15e2c4be396aad709aeca91033d3' '73cc1a2665b0dd62427733d62ead8b9a' '75a25d83417e683957321f97a00f8465') diff --git a/community/open-vm-tools/open-vm-tools.rc.d b/community/open-vm-tools/open-vm-tools.rc.d index 555fa1535..0c9221489 100644 --- a/community/open-vm-tools/open-vm-tools.rc.d +++ b/community/open-vm-tools/open-vm-tools.rc.d @@ -13,7 +13,7 @@ case "$1" in if [ "$VM_DRAG_AND_DROP" == "yes" ]; then VMBLOCK=`grep -w vmblock /proc/modules` - [ -z "$VMBLOCK" ] && modprobe -f vmblock + [ -z "$VMBLOCK" ] && modprobe vmblock if [ $? -gt 0 ]; then stat_fail exit 1 @@ -36,7 +36,7 @@ case "$1" in for m in vmhgfs vmsync; do VMMOD=`grep -w $m /proc/modules` [ -z "$VMMOD" ] && \ - { modprobe -f $m + { modprobe $m if [ $? -gt 0 ]; then stat_fail exit 1 diff --git a/community/openbox/PKGBUILD b/community/openbox/PKGBUILD index bc424cf0a..17cd2c64c 100644 --- a/community/openbox/PKGBUILD +++ b/community/openbox/PKGBUILD @@ -5,7 +5,7 @@ pkgname=openbox pkgver=3.5.0 -pkgrel=4 +pkgrel=4.1 pkgdesc="A window manager for the X11 windowing system" arch=('i686' 'x86_64' 'mips64el') url="http://openbox.org" diff --git a/community/parrot/PKGBUILD b/community/parrot/PKGBUILD index e3bed3e31..5c5fcf876 100644 --- a/community/parrot/PKGBUILD +++ b/community/parrot/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 58586 2011-11-16 05:16:04Z spupykin $ +# $Id: PKGBUILD 62750 2012-01-25 18:56:38Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributer: mpie <michael.kyne-phillips1@ntlworld.com> pkgname=parrot -pkgver=3.10.0 -_rel=devel -#_rel=stable +pkgver=4.0.0 +#_rel=devel +_rel=stable pkgrel=2 pkgdesc="standalone virtual machine that can be used to execute bytecode compiled dynamic languages" arch=(i686 x86_64 'mips64el') @@ -16,7 +16,7 @@ makedepends=('perl-json') optdepends=('freeglut') options=(!emptydirs !makeflags) source=(ftp://ftp.parrot.org/pub/parrot/releases/${_rel}/$pkgver/parrot-$pkgver.tar.gz) -md5sums=('36a839beaef511f178b0607a03f1ff0f') +md5sums=('fc613c41771baf79307c519072302299') build() { cd $srcdir/$pkgname-$pkgver diff --git a/community/perl-datetime/PKGBUILD b/community/perl-datetime/PKGBUILD index 19a115798..d12d492e8 100644 --- a/community/perl-datetime/PKGBUILD +++ b/community/perl-datetime/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 55077 2011-09-02 08:37:50Z andrea $ +# $Id: PKGBUILD 62774 2012-01-26 14:45:14Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-datetime -pkgver=0.70 -pkgrel=3 +pkgver=0.72 +pkgrel=1 pkgdesc="A complete, easy to use date and time object" arch=('i686' 'x86_64' 'mips64el') url="http://search.cpan.org/dist/DateTime" @@ -15,7 +15,7 @@ LC_NUMERIC=C provides=("perl-datetime=`printf %.4f $pkgver`") options=('!emptydirs') source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-$pkgver.tar.gz) -md5sums=('228a3ca93b49e308fc7a3b7a47341ab3') +md5sums=('f50b328919fe8bf2d2b16ca0df35c3f3') build() { cd $srcdir/DateTime-$pkgver diff --git a/community/portmidi/PKGBUILD b/community/portmidi/PKGBUILD index 1ddd9bd97..033f881a6 100644 --- a/community/portmidi/PKGBUILD +++ b/community/portmidi/PKGBUILD @@ -1,19 +1,21 @@ -# $Id: PKGBUILD 31348 2010-10-30 15:46:33Z lfleischer $ +# $Id: PKGBUILD 62694 2012-01-24 20:35:44Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: SpepS <dreamspepser at yahoo dot it> # Contributor: Denis Martinez <deuns.martinez AT gmail DOT com> pkgname=portmidi pkgver=217 -pkgrel=2 +pkgrel=3 pkgdesc="Platform independent library for real-time MIDI input/output." arch=('i686' 'x86_64' 'mips64el') url='http://portmedia.sourceforge.net/' license=('GPL') depends=('alsa-lib') makedepends=('cmake' 'java-environment') -source=("http://downloads.sourceforge.net/project/portmedia/${pkgname}/${pkgver}/${pkgname}-src-${pkgver}.zip") -md5sums=('03f46fd3947e2ef4c8c465baaf832241') +source=("http://downloads.sourceforge.net/project/portmedia/${pkgname}/${pkgver}/${pkgname}-src-${pkgver}.zip" + 'portmidi-217-build-fix.patch') +md5sums=('03f46fd3947e2ef4c8c465baaf832241' + '59cb428b29a33bab3bb5811cda479a9b') build() { cd "${srcdir}/${pkgname}" @@ -21,6 +23,9 @@ build() { sed -i "s#/usr/local#/usr#" */CMakeLists.txt pm_python/setup.py mkdir -p pm_java/Release + # build fix for "pm_java/CMakeLists.txt" (fixes FS#27118) + patch -p1 -i ../portmidi-217-build-fix.patch + cmake . -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY=Release \ -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=Release \ diff --git a/community/portmidi/portmidi-217-build-fix.patch b/community/portmidi/portmidi-217-build-fix.patch new file mode 100644 index 000000000..3e2dfef29 --- /dev/null +++ b/community/portmidi/portmidi-217-build-fix.patch @@ -0,0 +1,29 @@ +diff -rup portmidi.orig/pm_java/CMakeLists.txt portmidi/pm_java/CMakeLists.txt +--- portmidi.orig/pm_java/CMakeLists.txt 2009-11-04 16:20:44.000000000 +0100 ++++ portmidi/pm_java/CMakeLists.txt 2012-01-24 21:13:08.513182169 +0100 +@@ -15,13 +15,11 @@ if(UNIX) + add_custom_command(OUTPUT pmdefaults/PmDefaultsFrame.class + COMMAND javac -classpath . pmdefaults/PmDefaultsFrame.java + MAIN_DEPENDENCY pmdefaults/PmDefaultsFrame.java +- DEPENDS pmdefaults/PmDefaults.java +- WORKING_DIRECTORY pm_java) ++ DEPENDS pmdefaults/PmDefaults.java) + add_custom_command(OUTPUT pmdefaults/PmDefaults.class + COMMAND javac -classpath . pmdefaults/PmDefaults.java + MAIN_DEPENDENCY pmdefaults/PmDefaults.java +- DEPENDS pmdefaults/PmDefaultsFrame.java +- WORKING_DIRECTORY pm_java) ++ DEPENDS pmdefaults/PmDefaultsFrame.java) + add_custom_command(OUTPUT ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/pmdefaults.jar + COMMAND cp pmdefaults/portmusic_logo.png . + COMMAND jar cmf pmdefaults/manifest.txt pmdefaults.jar +@@ -31,8 +29,7 @@ if(UNIX) + COMMAND mv pmdefaults.jar ${CMAKE_LIBRARY_OUTPUT_DIRECTORY} + COMMAND rm portmusic_logo.png + MAIN_DEPENDENCY pmdefaults/PmDefaults.class +- DEPENDS ${PMDEFAULTS_ALL_CLASSES} +- WORKING_DIRECTORY pm_java) ++ DEPENDS ${PMDEFAULTS_ALL_CLASSES}) + add_custom_target(pmdefaults_target ALL + DEPENDS ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/pmdefaults.jar) + # message(STATUS "add_custom_target: pmdefaults.jar") diff --git a/community/python2-pycuda/PKGBUILD b/community/python2-pycuda/PKGBUILD new file mode 100644 index 000000000..37049dea1 --- /dev/null +++ b/community/python2-pycuda/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 62828 2012-01-27 14:09:50Z stephane $ +# Maintainer: Stéphane Gaudreault <stephane@archlinux.org> +pkgname=python2-pycuda +pkgver=2011.2.2 +pkgrel=1 +pkgdesc="Python wrapper for Nvidia CUDA" +arch=('i686' 'x86_64') +url="http://mathema.tician.de/software/pycuda" +license=('MIT/X Consortium') +source=(http://pypi.python.org/packages/source/p/pycuda/pycuda-${pkgver}.tar.gz) +depends=('cuda-toolkit' 'python2-numpy' 'python2-pytools' 'python2') +optdepends=('python2-pytest') +makedepends=('ctags' 'python2-distribute' 'mesa') +provides=('pycuda') +replaces=('pycuda') +conflicts=('pycuda') +sha1sums=('026ca33f66d35c82a087a5ef3f8e0f213575059b') + +build() { + cd "${srcdir}/pycuda-${pkgver}" + python2 ./configure.py \ + --cuda-root=/opt/cuda-toolkit \ + --boost-compiler=gcc \ + --cuda-enable-gl \ + --cuda-inc-dir=/opt/cuda-toolkit/include \ + --cudadrv-lib-dir=/opt/cuda-toolkit/lib \ + --cudart-lib-dir=/opt/cuda-toolkit/lib + + make +} + +package() { + cd "${srcdir}/pycuda-${pkgver}" + python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 +} diff --git a/community/rsyslog/PKGBUILD b/community/rsyslog/PKGBUILD index 6d3bb3f4c..6f0bfed5e 100644 --- a/community/rsyslog/PKGBUILD +++ b/community/rsyslog/PKGBUILD @@ -1,20 +1,20 @@ -# $Id: PKGBUILD 58329 2011-11-11 14:26:11Z spupykin $ +# $Id: PKGBUILD 62742 2012-01-25 15:39:27Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=rsyslog -pkgver=5.8.6 +pkgver=6.2.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') license=('GPL3') -depends=('zlib') +depends=('zlib' 'libestr' 'libee') makedepends=('postgresql-libs>=8.4.1' 'libmysqlclient' 'net-snmp' 'gnutls') optdepends=('postgresql-libs: PostgreSQL Database Support' 'libmysqlclient: MySQL Database Support' 'net-snmp' 'gnutls') -backup=('etc/rsyslog.conf' \ +backup=('etc/rsyslog.conf' 'etc/logrotate.d/rsyslog' 'etc/conf.d/rsyslog') options=('strip' 'zipman' '!libtool') @@ -22,13 +22,14 @@ source=("http://www.rsyslog.com/files/download/rsyslog/rsyslog-$pkgver.tar.gz" 'rsyslog' 'rsyslog.logrotate' 'rsyslog.conf.d') -md5sums=('c46db0496066b82faf735bd4222208d7' +md5sums=('03e237abaa5d47f92c6e655f92f22532' 'a18bbcbb6ebdaa13a6ec6d9f3d9eb2da' '8065db4bef3061a4f000ba58779f6829' '1a0cd4530dd5d1439456d5ae230574d9') build() { cd ${srcdir}/${pkgname}-${pkgver} + export LDFLAGS="-lestr" ./configure --prefix=/usr \ --enable-mysql \ --enable-pgsql \ diff --git a/community/setconf/PKGBUILD b/community/setconf/PKGBUILD index e8dcf7cec..7c1f188be 100644 --- a/community/setconf/PKGBUILD +++ b/community/setconf/PKGBUILD @@ -1,14 +1,14 @@ -# $Id: PKGBUILD 61589 2012-01-03 23:37:49Z arodseth $ +# $Id: PKGBUILD 62734 2012-01-25 13:50:09Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> pkgname=setconf pkgver=0.3.2 -pkgrel=1 -pkgdesc="Utility to easily change settings in Makefiles and other configuration files" +pkgrel=3 +pkgdesc="Utility to easily change settings in Makefiles and configuration files" arch=('x86_64' 'i686') url="http://setconf.roboticoverlords.org/" license=('GPL') depends=('pcre' 'gc') -makedepends=('shedskin>=0.1.2') +makedepends=('shedskin>=0.9.1') source=("http://setconf.roboticoverlords.org/$pkgname-$pkgver.tbz2") sha256sums=('8b18e11da7adf78f2e21c39cfa949b178fa1b2f85e691b85be123023b7303f03') diff --git a/community/sigil/PKGBUILD b/community/sigil/PKGBUILD index 7258bc6be..cfb9b390e 100644 --- a/community/sigil/PKGBUILD +++ b/community/sigil/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 61097 2011-12-21 20:52:48Z andrea $ +# $Id: PKGBUILD 62685 2012-01-24 13:11:44Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Larry Hajali <larryhaja [at] gmail [dot] com> pkgname=sigil -pkgver=0.4.2 -pkgrel=3 +pkgver=0.5.0 +pkgrel=1 pkgdesc="A WYSIWYG ebook editor" arch=('i686' 'x86_64' 'mips64el') url="http://code.google.com/p/sigil/" @@ -14,7 +14,7 @@ makedepends=('cmake') install=sigil.install source=("http://sigil.googlecode.com/files/Sigil-${pkgver}-Code.zip" "${pkgname}.desktop") -md5sums=('ce27976254236f8b11b787fd05be9acb' +md5sums=('8deb8ae451d485698ab9330dccfe46e5' 'fef6aa492af487ccccd6b133635cee5a') build() { @@ -28,7 +28,7 @@ build() { -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON .. - make + make } package() { diff --git a/community/tmux/PKGBUILD b/community/tmux/PKGBUILD index c37dbd826..6f5bf908f 100644 --- a/community/tmux/PKGBUILD +++ b/community/tmux/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 51497 2011-07-10 19:49:12Z spupykin $ +# $Id: PKGBUILD 62681 2012-01-24 12:53:39Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: TDY <tdy@gmx.com> # Contributor: Grigorios Bouzakis <grbzks[at]gmail[dot]com> pkgname=tmux -pkgver=1.5 +pkgver=1.6 pkgrel=1 pkgdesc="A terminal multiplexer" url="http://tmux.sourceforge.net/" @@ -13,7 +13,7 @@ license=('BSD') depends=('ncurses' 'libevent') source=(http://downloads.sourceforge.net/tmux/tmux-$pkgver.tar.gz LICENSE) -md5sums=('3d4b683572af34e83bc8b183a8285263' +md5sums=('3e37db24aa596bf108a0442a81c845b3' '71601bc37fa44e4395580b321963018e') build() { diff --git a/community/tomoyo-tools/PKGBUILD b/community/tomoyo-tools/PKGBUILD index a9bd200a1..1e4e50780 100644 --- a/community/tomoyo-tools/PKGBUILD +++ b/community/tomoyo-tools/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 62318 2012-01-19 08:04:12Z spupykin $ +# $Id: PKGBUILD 62767 2012-01-26 14:20:03Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Jamie Nguyen <jamie AT tomoyolinux.co.uk> @@ -8,7 +8,7 @@ _timestamp=20111025 _file=53357 pkgver=${_basever}.${_timestamp} pkgrel=1 -pkgdesc='TOMOYO Linux 2.3.x userspace tools for Linux kernels 2.6.36 - 3.0' +pkgdesc='TOMOYO Linux userspace tools for Linux kernels >=3.2' arch=('i686' 'x86_64' 'mips64el') url='http://tomoyo.sourceforge.jp' #url='http://sourceforge.jp/projects/tomoyo/releases/?package_id=9818' diff --git a/community/ulogd/PKGBUILD b/community/ulogd/PKGBUILD index c4ea91a7c..b002d8e49 100644 --- a/community/ulogd/PKGBUILD +++ b/community/ulogd/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 55184 2011-09-05 09:03:02Z spupykin $ +# $Id: PKGBUILD 62776 2012-01-26 14:46:13Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Sebastien Luttringer <seblu+arch@seblu.net> # Contributor: Dale Blount <dale@archlinux.org> @@ -6,7 +6,7 @@ pkgname=ulogd pkgver=1.24 -pkgrel=7 +pkgrel=8 pkgdesc='Userspace Packet Logging for netfilter' arch=('i686' 'x86_64') url='http://www.netfilter.org/projects/ulogd/index.html' @@ -19,14 +19,17 @@ optdepends=('postgresql-libs' backup=('etc/ulogd.conf') source=("ftp://ftp.netfilter.org/pub/$pkgname/$pkgname-$pkgver.tar.bz2" 'rc' - 'logrotate') + 'logrotate' + 'mac-addr.patch') md5sums=('05b4ed2926b9a22aaeaf642917bbf8ff' 'c42230c1cabf5dd9b80bf9a0fd87ca7e' - 'fe40b3073b7474a77e0b8b0bfd19ab63') + 'fe40b3073b7474a77e0b8b0bfd19ab63' + 'ca41a10a9f230614cd15e2bb037e057d') build() { cd $pkgname-$pkgver export MAKEFLAGS="-j1" + patch -p0 extensions/ulogd_BASE.c <$srcdir/mac-addr.patch ./configure --prefix=/usr --sysconfdir=/etc --with-mysql --with-pgsql --with-sqlite3 make || true (cd mysql && ld -shared -L/usr/lib -L/usr/lib -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -o ulogd_MYSQL.so ulogd_MYSQL_sh.o -lc) diff --git a/community/ulogd/mac-addr.patch b/community/ulogd/mac-addr.patch new file mode 100644 index 000000000..87a76a22b --- /dev/null +++ b/community/ulogd/mac-addr.patch @@ -0,0 +1,22 @@ +--- ulogd_BASE.c-save 2007-08-06 11:23:53.000000000 +0200 ++++ ulogd_BASE.c 2007-08-06 11:28:47.000000000 +0200 +@@ -63,7 +63,7 @@ static ulog_iret_t *_interp_raw(ulog_int + { + unsigned char *p; + int i; +- char *buf, *oldbuf = NULL; ++ char *buf = NULL; + ulog_iret_t *ret = ip->result; + + if (pkt->mac_len) { +@@ -75,9 +75,8 @@ static ulog_iret_t *_interp_raw(ulog_int + *buf = '\0'; + + p = pkt->mac; +- oldbuf = buf; + for (i = 0; i < pkt->mac_len; i++, p++) +- sprintf(buf, "%s%02x%c", oldbuf, *p, i==pkt->mac_len-1 ? ' ':':'); ++ sprintf(buf + (i*3), "%02x%c", *p, i==pkt->mac_len-1 ? ' ':':'); + ret[0].value.ptr = buf; + ret[0].flags |= ULOGD_RETF_VALID; + } diff --git a/community/unbound/PKGBUILD b/community/unbound/PKGBUILD index 9e866e24e..ac58b852a 100644 --- a/community/unbound/PKGBUILD +++ b/community/unbound/PKGBUILD @@ -1,16 +1,15 @@ -# $Id: PKGBUILD 60976 2011-12-19 22:59:53Z bisson $ - +# $Id: PKGBUILD 62794 2012-01-27 01:24:10Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Hisato Tatekura <hisato_tatekura@excentrics.net> # Contributor: Massimiliano Torromeo <massimiliano DOT torromeo AT google mail service> pkgname=unbound -pkgver=1.4.14 +pkgver=1.4.15 pkgrel=1 pkgdesc='Validating, recursive, and caching DNS resolver' -arch=('i686' 'x86_64' 'mips64el') url='http://unbound.net/' license=('custom:BSD') +arch=('i686' 'x86_64' 'mips64el') options=('!libtool') depends=('openssl' 'ldns') makedepends=('expat') @@ -19,7 +18,7 @@ backup=('etc/unbound/unbound.conf') source=("http://unbound.net/downloads/${pkgname}-${pkgver}.tar.gz" 'unbound.conf' 'rc.d') -sha1sums=('1435029abe63d0106213acb9f173b885183cf1d7' +sha1sums=('bbda46664ea8391ca7986300ce98a79787c0e322' '5d473ec2943fd85367cdb653fcd58e186f07383f' 'dc96e772f467b32555df21d16fdb15e98194c228') diff --git a/community/usb_modeswitch/PKGBUILD b/community/usb_modeswitch/PKGBUILD index 68b048614..f53a0dc29 100644 --- a/community/usb_modeswitch/PKGBUILD +++ b/community/usb_modeswitch/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 61364 2011-12-28 19:37:10Z spupykin $ +# $Id: PKGBUILD 62881 2012-01-28 14:42:08Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=usb_modeswitch -pkgver=1.2.1 +pkgver=1.2.2 pkgrel=1 -_pkgdata=20111023 +_pkgdata=20120120 pkgdesc="Activating switchable USB devices on Linux." arch=('i686' 'x86_64' 'mips64el') url="http://www.draisberghof.de/usb_modeswitch/" @@ -15,9 +15,9 @@ backup=("etc/$pkgname.conf") source=("http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-${pkgver}.tar.bz2" "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-data-${_pkgdata}.tar.bz2" "usb-modeswitch-${pkgver}-device_reference.txt::http://www.draisberghof.de/usb_modeswitch/device_reference.txt") -md5sums=('d228f74e4045e1ba05d80db4fe0f4144' - '6e7cb67d0428bda241600b038ba11aeb' - '1378c0319520c817d49c7e9457c7d6e3') +md5sums=('4f3d3b9342b59b488089a8a81abda3ae' + 'c899cc9c71bb35f3ec600b7cd1455c65' + 'c12e19e3992b5beac9b6c48555cff660') build() { cd $srcdir/usb-modeswitch-$pkgver/ diff --git a/community/vidalia/PKGBUILD b/community/vidalia/PKGBUILD new file mode 100644 index 000000000..9bb33a812 --- /dev/null +++ b/community/vidalia/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 62747 2012-01-25 18:13:51Z tredaelli $ +# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com> +# Contributor: Rorschach <r0rschach@lavabit.com> + +pkgname=vidalia +pkgver=0.2.15 +pkgrel=1 +pkgdesc="Controller GUI for Tor" +url="https://www.torproject.org/vidalia" +arch=('i686' 'x86_64') +license=('GPL') +depends=('qt' 'tor') +makedepends=('cmake') +install=vidalia.install +source=("https://www.torproject.org/vidalia/dist/$pkgname-$pkgver.tar.gz") +md5sums=(845b627eb2534aa5da29efd6c8d30978) + +build() { + [[ -f /etc/profile.d/qt4.sh ]] && source /etc/profile.d/qt4.sh + + cd "$srcdir" + mkdir build + cd build + cmake -D CMAKE_INSTALL_PREFIX=/usr ../$pkgname-$pkgver + make +} + +package() { + cd "$srcdir/build" + make DESTDIR="$pkgdir/" install + install -Dm644 ../$pkgname-$pkgver/doc/vidalia.1 "$pkgdir"/usr/share/man/man1/vidalia.1 || return 1 +} diff --git a/community/vidalia/vidalia.install b/community/vidalia/vidalia.install new file mode 100644 index 000000000..58b897a0a --- /dev/null +++ b/community/vidalia/vidalia.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} diff --git a/community/virtualbox-modules/PKGBUILD b/community/virtualbox-modules/PKGBUILD index 8ff5888e8..548827524 100644 --- a/community/virtualbox-modules/PKGBUILD +++ b/community/virtualbox-modules/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 62232 2012-01-18 17:19:12Z ibiru $ +# $Id: PKGBUILD 62846 2012-01-27 17:21:04Z ibiru $ #Maintainer: Ionut Biru <ibiru@archlinux.org> pkgbase=virtualbox-modules pkgname=('virtualbox-modules' 'virtualbox-archlinux-modules') pkgver=4.1.8 -pkgrel=2 +pkgrel=3 arch=('i686' 'x86_64') url='http://virtualbox.org' license=('GPL') diff --git a/community/yaml-cpp/PKGBUILD b/community/yaml-cpp/PKGBUILD index 940a9cadb..c14cb52c8 100644 --- a/community/yaml-cpp/PKGBUILD +++ b/community/yaml-cpp/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Markus Martin <markus@archwyrm.net> pkgname=yaml-cpp -pkgver=0.2.7 +pkgver=0.3.0 pkgrel=1 pkgdesc="YAML parser and emitter in C++, written around the YAML 1.2 spec" url="http://code.google.com/p/yaml-cpp/" @@ -9,17 +9,17 @@ arch=('i686' 'x86_64') license=('MIT') makedepends=('cmake') source=(http://yaml-cpp.googlecode.com/files/$pkgname-$pkgver.tar.gz) -md5sums=('6878e14bad90c69a8f2caca273eb24c2') +md5sums=('9aa519205a543f9372bf4179071c8ac6') build() { - cd $srcdir/$pkgname-$pkgver + cd $srcdir/$pkgname cmake . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON make } package() { - cd $srcdir/$pkgname-$pkgver + cd $srcdir/$pkgname make DESTDIR=$pkgdir install } |