From b137011f8ca1733aef39da7b276bba93c3ad74cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Sun, 22 Jun 2014 04:08:32 +0000 Subject: Sun Jun 22 03:57:56 UTC 2014 --- community/docker/PKGBUILD | 4 +- community/ffms2/PKGBUILD | 12 +++--- community/gputils/PKGBUILD | 6 +-- community/iodine/PKGBUILD | 8 ++-- community/libgit2/PKGBUILD | 7 +-- community/plex-home-theater/PKGBUILD | 33 +++++++++++--- .../plex-home-theater/plex-home-theater.install | 16 +++++++ .../plex-home-theater/plexhometheater.service | 17 ++++++++ community/texstudio/PKGBUILD | 4 +- core/perl/PKGBUILD | 10 +++-- core/perl/perl-vutil-revert.patch | 50 ++++++++++++++++++++++ extra/htop/PKGBUILD | 7 +-- extra/perl-term-readkey/PKGBUILD | 12 +++--- extra/xf86-input-wacom/PKGBUILD | 6 +-- 14 files changed, 151 insertions(+), 41 deletions(-) create mode 100644 community/plex-home-theater/plex-home-theater.install create mode 100644 community/plex-home-theater/plexhometheater.service create mode 100644 core/perl/perl-vutil-revert.patch diff --git a/community/docker/PKGBUILD b/community/docker/PKGBUILD index a24c164eb..5b378e75a 100644 --- a/community/docker/PKGBUILD +++ b/community/docker/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 112920 2014-06-09 14:47:37Z seblu $ +# $Id: PKGBUILD 113377 2014-06-20 22:48:46Z seblu $ # Maintainer: Sébastien "Seblu" Luttringer pkgname=docker -pkgver=1.0.0 +pkgver=1.0.1 pkgrel=1 epoch=1 pkgdesc='Pack, ship and run any application as a lightweight container' diff --git a/community/ffms2/PKGBUILD b/community/ffms2/PKGBUILD index 1f4451a3a..24de9db9e 100644 --- a/community/ffms2/PKGBUILD +++ b/community/ffms2/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 112748 2014-06-06 08:12:32Z alucryd $$ +# $Id: PKGBUILD 113391 2014-06-21 10:06:40Z alucryd $$ # Maintainer: Maxime Gauduin pkgname=ffms2 -pkgver=2.19.1.r120.9203af5 +pkgver=2.20 pkgrel=1 pkgdesc='A libav/ffmpeg based source library and Avisynth plugin for easy frame accurate access' arch=('i686' 'x86_64') @@ -11,18 +11,18 @@ license=('GPL') depends=('ffmpeg') makedepends=('git') provides=('vapoursynth-plugin-ffms2') -source=("git+https://github.com/FFMS/ffms2.git#commit=9203af5") -sha256sums=('SKIP') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") +sha256sums=('c7d880172756c253f2c5673044dabf03c19890dcfe64da5104ee9f42a1a573a0') build() { - cd ${pkgname} + cd ${pkgname}-${pkgver} ./autogen.sh --prefix='/usr' --enable-shared --disable-static --enable-avresample make } package() { - cd ${pkgname} + cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install diff --git a/community/gputils/PKGBUILD b/community/gputils/PKGBUILD index fbf0f94a5..5ff57b3db 100644 --- a/community/gputils/PKGBUILD +++ b/community/gputils/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 94996 2013-08-02 22:34:27Z cinelli $ +# $Id: PKGBUILD 113403 2014-06-21 18:20:31Z jelle $ # Maintainer: Federico Cinelli # Contributor: Johannes Martin # Contributor: JJDaNiMoTh # Contributor: Stefan Husmann pkgname=gputils -pkgver=1.2.0 +pkgver=1.3.0 pkgrel=1 pkgdesc="PIC Programming Utilities" arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ url="http://gputils.sourceforge.net/" license=('GPL') depends=('glibc') source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz") -md5sums=('4332391ce058c636d6c15d05d4cecd86') +md5sums=('175dedeb141b4a4609a70262847257e4') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/iodine/PKGBUILD b/community/iodine/PKGBUILD index 57017b56d..e4f28ff08 100644 --- a/community/iodine/PKGBUILD +++ b/community/iodine/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 106266 2014-02-26 03:44:24Z fyan $ +# $Id: PKGBUILD 113393 2014-06-21 10:38:54Z fyan $ # Maintainer: Felix Yan # Contributor: Christian Hesse # Contributor: Daenyth # Contributor: nofxx pkgname=iodine -pkgver=0.6.0rc1 -pkgrel=4 +pkgver=0.7.0 +pkgrel=1 pkgdesc='Tunnel IPv4 data through a DNS server' arch=('i686' 'x86_64') url='http://code.kryo.se/iodine' @@ -33,6 +33,6 @@ package() { install -Dm644 "$srcdir/iodined.conf.d" "$pkgdir/etc/conf.d/iodined" } -sha256sums=('dacf950198b68fd1dae09fe980080155b0c75718f581c08e069eee0c1b6c5e60' +sha256sums=('ad2b40acf1421316ec15800dcde0f587ab31d7d6f891fa8b9967c4ded93c013e' '4d2c45ab783ce07911afe48403884edc0ee5ccbb463bc4026f83b511d5dde418' '6babc497d86e7b142f61e529f9facacb95e868e920b15dcf66e039891b02929b') diff --git a/community/libgit2/PKGBUILD b/community/libgit2/PKGBUILD index 4345c73bb..bc68be153 100644 --- a/community/libgit2/PKGBUILD +++ b/community/libgit2/PKGBUILD @@ -1,11 +1,12 @@ -# $Id: PKGBUILD 113375 2014-06-20 17:47:33Z thestinger $ +# $Id: PKGBUILD 113387 2014-06-21 05:05:19Z thestinger $ # Maintainer: Daniel Micay # Contributor: Hilton Medeiros # Contributor: Dave Reisner pkgname=libgit2 -pkgver=0.21.0 +pkgver=0.20.0 pkgrel=1 +epoch=1 pkgdesc="A linkable library for Git" arch=('i686' 'x86_64') url="http://libgit2.github.com/" @@ -13,7 +14,7 @@ depends=(zlib openssl libssh2) makedepends=(cmake python) license=('GPL2') source=("https://github.com/libgit2/libgit2/archive/v${pkgver}.tar.gz") -md5sums=('06b598bf21b0536dcbf454dc63af2313') +md5sums=('e35f613a37e11354f34249f2faa68237') build() { cd $pkgname-$pkgver diff --git a/community/plex-home-theater/PKGBUILD b/community/plex-home-theater/PKGBUILD index 32d4635e9..6f5996768 100755 --- a/community/plex-home-theater/PKGBUILD +++ b/community/plex-home-theater/PKGBUILD @@ -1,23 +1,31 @@ -# $Id: PKGBUILD 108338 2014-03-27 00:27:19Z alucryd $ +# $Id: PKGBUILD 113395 2014-06-21 10:43:05Z alucryd $ # Maintainer: Maxime Gauduin # Contributor: Daniel Wallace pkgname=plex-home-theater -pkgver=1.0.13 +pkgver=1.1.4 pkgrel=1 pkgdesc='Plex Home Theater' arch=('i686' 'x86_64') url='http://www.plexapp.com/' license=('GPL2') -depends=('boost-libs' 'curl' 'fontconfig' 'glew' 'java-runtime' 'lame' 'libass' 'libcdio' 'libjpeg-turbo' 'libmad' 'libmicrohttpd' 'libmodplug' 'libmpeg2' 'libsamplerate' 'libssh' 'libusb-compat' 'libva' 'libxrandr' 'lzo2' 'mesa' 'rtmpdump' 'sdl_image' 'sdl_mixer' 'smbclient' 'taglib' 'tinyxml' 'yajl') -makedepends=('boost' 'cmake' 'doxygen' 'ftgl' 'java-environment' 'libcec' 'libplist' 'libshairport' 'nasm' 'swig' 'unzip' 'zip') +depends=('boost-libs' 'curl' 'fontconfig' 'glew' 'lame' 'libass' 'libcdio' + 'libjpeg-turbo' 'libmad' 'libmicrohttpd' 'libmodplug' 'libmpeg2' + 'libsamplerate' 'libssh' 'libusb-compat' 'libva' 'libxrandr' 'lzo2' + 'mesa' 'rtmpdump' 'sdl_image' 'sdl_mixer' 'smbclient' 'taglib' + 'tinyxml' 'yajl') +makedepends=('boost' 'cmake' 'doxygen' 'ftgl' 'java-runtime' 'libcec' + 'libplist' 'libshairport' 'nasm' 'swig' 'unzip' 'zip') optdepends=('libplist: AirPlay support' 'libshairport: AirPlay support' 'libcec: Pulse-Eight USB-CEC adapter support' 'pulseaudio: PulseAudio support') +install="${pkgname}.install" source=("https://github.com/plexinc/plex-home-theater-public/archive/pht-v${pkgver}.tar.gz" + 'plexhometheater.service' 'plexhometheater.sh') -sha256sums=('6a50fe804cfa194a8b694a5c5a8a462610db582fc4528d6a7db597477a72a6fa' +sha256sums=('1f3be5bb9a09b05e624a0ca010c673436b2f1cdcf8dff7c94a030235af340fbb' + 'bca8cd5aa13f469f93dd4e9868c0b5050395ca32f28b19852e5830441b67e1be' 'c551d8f50342dcfede5a11e1bae2c18b25d44b89a5a29863e5809d45ef365702') build() { @@ -28,7 +36,12 @@ build() { fi mkdir build && cd build - cmake .. -DCMAKE_BUILD_TYPE='Release' -DCMAKE_INSTALL_PREFIX='/opt/plexhometheater' -DCMAKE_C_FLAGS="$CMAKE_C_FLAGS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" -DCMAKE_CXX_FLAGS="$CMAKE_CXX_FLAGS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" -DENABLE_{AUTOUPDATE,DUMP_SYMBOLS}='FALSE' -DENABLE_PYTHON='TRUE' -DPYTHON_EXEC='/usr/bin/python2' -DUSE_INTERNAL_FFMPEG='TRUE' -DCREATE_BUNDLE='FALSE' + cmake .. -DCMAKE_INSTALL_PREFIX='/opt/plexhometheater' \ + -DCMAKE_C_FLAGS="$CMAKE_C_FLAGS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" \ + -DCMAKE_CXX_FLAGS="$CMAKE_CXX_FLAGS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" \ + -DENABLE_{AUTOUPDATE,DUMP_SYMBOLS}='FALSE' -DENABLE_PYTHON='TRUE' \ + -DPYTHON_EXEC='/usr/bin/python2' -DUSE_INTERNAL_FFMPEG='TRUE' \ + -DCREATE_BUNDLE='FALSE' make } @@ -41,6 +54,14 @@ package() { install -m 755 "${srcdir}"/plexhometheater.sh "${pkgdir}"/usr/bin/ install -m 644 ../plex/Resources/plexhometheater.desktop "${pkgdir}"/usr/share/applications/ install -m 644 ../plex/Resources/plex-icon-256.png "${pkgdir}"/usr/share/pixmaps/plexhometheater.png + + # Systemd + install -dm 755 "${pkgdir}"/usr/lib/systemd/system + install -m 644 ../../plexhometheater.service "${pkgdir}"/usr/lib/systemd/system/ + + # Plex user home + install -dm 700 "${pkgdir}"/var/lib/plex + chown 421:421 "${pkgdir}"/var/lib/plex } # vim: ts=2 sw=2 et: diff --git a/community/plex-home-theater/plex-home-theater.install b/community/plex-home-theater/plex-home-theater.install new file mode 100644 index 000000000..e84deb4f2 --- /dev/null +++ b/community/plex-home-theater/plex-home-theater.install @@ -0,0 +1,16 @@ +post_install() { + getent group plex > /dev/null 2>&1 || groupadd -g 421 plex + getent passwd plex > /dev/null 2>&1 || useradd -c 'Plex user' -u 421 -g plex -G audio,video,network,optical -d /var/lib/plex -s /sbin/nologin plex + passwd -l plex > /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + getent passwd plex > /dev/null 2>&1 && userdel plex + getent group plex > /dev/null 2>&1 && groupdel plex +} + +# vim: ts=2 sw=2 et: diff --git a/community/plex-home-theater/plexhometheater.service b/community/plex-home-theater/plexhometheater.service new file mode 100644 index 000000000..8efb504f5 --- /dev/null +++ b/community/plex-home-theater/plexhometheater.service @@ -0,0 +1,17 @@ +[Unit] +Description = Starts an instance of Plex Home Theater using xinit +After = systemd-user-sessions.service +Conflicts = getty@tty7.service + +[Service] +User = plex +Group = plex +PAMName = login +Type = simple +TTYPath = /dev/tty7 +Environment = XBMC_HOME=/opt/plexhometheater/share/XBMC +ExecStart = /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /opt/plexhometheater/bin/plexhometheater --standalone -l /run/lirc/lircd -- :0 -nolisten tcp vt7 +Restart = on-abort + +[Install] +WantedBy = multi-user.target diff --git a/community/texstudio/PKGBUILD b/community/texstudio/PKGBUILD index dfbad8186..7ab3a3b3a 100644 --- a/community/texstudio/PKGBUILD +++ b/community/texstudio/PKGBUILD @@ -2,7 +2,7 @@ # Contributor: Clément DEMOULINS pkgname=texstudio -pkgver=2.7.0 +pkgver=2.8.0 pkgrel=1 pkgdesc="Integrated writing environment for creating LaTeX documents" arch=('i686' 'x86_64') @@ -14,7 +14,7 @@ replaces=('texmakerx') install=$pkgname.install source=(http://downloads.sourceforge.net/project/texstudio/texstudio/TeXstudio%20${pkgver}/${pkgname}-${pkgver}.tar.gz) -md5sums=('e2745d828d2c945bea97ea42e57fc881') +md5sums=('01205800d4a4fdc3ade4f761eabd8e3b') build() { cd "$srcdir/$pkgname$pkgver" diff --git a/core/perl/PKGBUILD b/core/perl/PKGBUILD index ff5b12693..8869be9e7 100644 --- a/core/perl/PKGBUILD +++ b/core/perl/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 215143 2014-06-14 17:58:34Z bluewind $ +# $Id: PKGBUILD 215338 2014-06-21 20:13:07Z bluewind $ # Maintainer: Florian Pritz # Contributor: Angel Velasquez # Contributor: kevin @@ -7,7 +7,7 @@ pkgname=perl pkgver=5.20.0 -pkgrel=4 +pkgrel=5 pkgdesc="A highly capable, feature-rich programming language" arch=(i686 x86_64) license=('GPL' 'PerlArtistic') @@ -138,15 +138,19 @@ provides=('perl-archive-tar=1.96' # Add your own provides here provides=(${provides[@]}) source=(http://www.cpan.org/src/5.0/perl-${pkgver}.tar.bz2 + perl-vutil-revert.patch perlbin.sh perlbin.csh) options=('makeflags' '!purge') md5sums=('20cbecd4e9e880ee7a50a136c8b1484e' + '2a1e2849722b2b5be33bd5c50a69e77a' '5ed2542fdb9a60682f215bd33701e61a' - '1f0cbbee783e8a6d32f01be5118e0d5e') + '1f0cbbee783e8a6d32f01be5118e0d5e') prepare() { cd ${srcdir}/${pkgname}-${pkgver} + patch -p1 -i "$srcdir/perl-vutil-revert.patch" + sed -i 's#version vutil.c .*#version vutil.c f1c7e4778fcf78c04141f562b80183b91cbbf6c9#' t/porting/customized.dat } build() { diff --git a/core/perl/perl-vutil-revert.patch b/core/perl/perl-vutil-revert.patch new file mode 100644 index 000000000..ba4e668fe --- /dev/null +++ b/core/perl/perl-vutil-revert.patch @@ -0,0 +1,50 @@ +--- perl-5.20.0/vutil.c 2014-05-26 09:34:21.000000000 -0400 ++++ perl-5.20.0-patched/vutil.c 2014-06-19 09:25:19.024409700 -0400 +@@ -585,11 +585,29 @@ + { + STRLEN len; + ++#ifdef USE_LOCALE_NUMERIC ++ char *loc = setlocale(LC_NUMERIC, NULL); ++ if (loc) { ++ /* setlocale returns NULL on error */ ++ if (loc[0] == 'C' && loc[1] == '\0') { ++ /* LC_NUMERIC is already C, nothing to do */ ++ loc = NULL; ++ } ++ else { ++ loc = savepv(loc); ++ if (!setlocale(LC_NUMERIC, "C")) { ++ /* error! do not restore locale later */ ++ Safefree(loc); ++ loc = NULL; ++ } ++ } ++ } ++#endif ++ + /* may get too much accuracy */ + char tbuf[64]; + SV *sv = SvNVX(ver) > 10e50 ? newSV(64) : 0; + char *buf; +- STORE_NUMERIC_LOCAL_SET_STANDARD(); + if (sv) { + Perl_sv_catpvf(aTHX_ sv, "%.9"NVff, SvNVX(ver)); + len = SvCUR(sv); +@@ -599,7 +617,15 @@ + len = my_snprintf(tbuf, sizeof(tbuf), "%.9"NVff, SvNVX(ver)); + buf = tbuf; + } +- RESTORE_NUMERIC_LOCAL(); ++ ++#ifdef USE_LOCALE_NUMERIC ++ if (loc) { ++ /* restore locale */ ++ setlocale(LC_NUMERIC, loc); ++ Safefree(loc); ++ } ++#endif ++ + while (buf[len-1] == '0' && len > 0) len--; + if ( buf[len-1] == '.' ) len--; /* eat the trailing decimal */ + version = savepvn(buf, len); diff --git a/extra/htop/PKGBUILD b/extra/htop/PKGBUILD index 28d4eab0a..96700f359 100644 --- a/extra/htop/PKGBUILD +++ b/extra/htop/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 211746 2014-04-25 13:42:30Z dreisner $ +# $Id: PKGBUILD 215334 2014-06-21 16:09:10Z dreisner $ # Maintainer: Angel Velasquez # Contributor: Eric Belanger # Contributor: Daniel J Griffiths pkgname=htop pkgver=1.0.3 -pkgrel=1 +pkgrel=2 pkgdesc="Interactive process viewer" arch=('i686' 'x86_64') url="http://htop.sourceforge.net/" @@ -33,7 +33,8 @@ build() { --enable-unicode \ --enable-openvz \ --enable-vserver \ - --enable-cgroup + --enable-cgroup \ + --enable-oom make } diff --git a/extra/perl-term-readkey/PKGBUILD b/extra/perl-term-readkey/PKGBUILD index 06d678cd6..e15451dd8 100644 --- a/extra/perl-term-readkey/PKGBUILD +++ b/extra/perl-term-readkey/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 214234 2014-06-04 13:52:02Z bluewind $ +# $Id: PKGBUILD 215330 2014-06-21 02:47:41Z fyan $ # Maintainer: Felix Yan # Contributor: kevin # Contributor: Wael Nasreddine @@ -6,16 +6,16 @@ pkgname=perl-term-readkey _realname=TermReadKey -pkgver=2.30.02 -pkgrel=4 +pkgver=2.32 +pkgrel=1 pkgdesc="Provides simple control over terminal driver modes" arch=('i686' 'x86_64') license=('custom') depends=('perl' 'glibc') -url="http://search.cpan.org/~stsi/${_realname}/" +url="http://search.cpan.org/~jstowe/${_realname}/" options=('!emptydirs') -source=(http://search.cpan.org/CPAN/authors/id/S/ST/STSI/${_realname}-$pkgver.tar.gz) -md5sums=('69b92c8ddca8691c83823c683cd9838a') +source=(http://search.cpan.org/CPAN/authors/id/J/JS/JSTOWE/${_realname}-$pkgver.tar.gz) +md5sums=('c55420c3456b8e470a01d6557b1045a8') build() { cd "${srcdir}/TermReadKey-$pkgver" diff --git a/extra/xf86-input-wacom/PKGBUILD b/extra/xf86-input-wacom/PKGBUILD index 0b4b59b9b..8a147abb4 100644 --- a/extra/xf86-input-wacom/PKGBUILD +++ b/extra/xf86-input-wacom/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 211259 2014-04-18 11:54:05Z heftig $ +# $Id: PKGBUILD 215332 2014-06-21 12:32:33Z heftig $ # Maintainer: Jan Alexander Steffens (heftig) # Contributor: Jan de Groot # Contributor: M Rawash pkgname=xf86-input-wacom -pkgver=0.24.0 +pkgver=0.25.0 pkgrel=1 pkgdesc="X.Org Wacom tablet driver" arch=(i686 x86_64) @@ -15,7 +15,7 @@ depends=(libxi libxinerama libxrandr systemd) makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=20' 'resourceproto' 'scrnsaverproto') conflicts=('xorg-server<1.15.0' 'X-ABI-XINPUT_VERSION<20' 'X-ABI-XINPUT_VERSION>=21') source=(http://downloads.sourceforge.net/project/linuxwacom/$pkgname/$pkgname-$pkgver.tar.bz2) -md5sums=('f487fffe1ba7d661aed84a9e36ea3b70') +md5sums=('2cf57400fbd9e35eb16b50ad9fe32de1') build() { cd $pkgname-$pkgver -- cgit v1.2.3