From b03089f7a4056a33b49d7a7a16a44512c4b04940 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Sat, 9 Jan 2016 12:06:39 -0500 Subject: gnash-git-0.8.11.r22311.gf0f66ce-1: updating version --- pcr/gnash-git/PKGBUILD | 46 ++++++++++++++++++++++++-------------- pcr/gnash-git/gnash_boost.patch | 22 ++++++++++++++++++ pcr/gnash-git/jemalloc_gnash.patch | 13 +++++++++++ 3 files changed, 64 insertions(+), 17 deletions(-) create mode 100644 pcr/gnash-git/gnash_boost.patch create mode 100644 pcr/gnash-git/jemalloc_gnash.patch (limited to 'pcr') diff --git a/pcr/gnash-git/PKGBUILD b/pcr/gnash-git/PKGBUILD index 6e041e2ce..515d4a1b3 100644 --- a/pcr/gnash-git/PKGBUILD +++ b/pcr/gnash-git/PKGBUILD @@ -1,33 +1,41 @@ -# Maintainer: Tim Van den Langenbergh -# Contributor: Omar Botta -# Contributor: Carlos Sanchez -# Contributor: Frederic Bezies +# Maintainer (Arch): Iru Cai +# Maintainer (Arch): Tim Van den Langenbergh +# Contributor (Arch): Omar Botta +# Contributor (Arch): Carlos Sanchez +# Contributor (Arch): Frederic Bezies +# Maintainer: Omar Vega Ramos pkgname=gnash-git _gitname=gnash -pkgver=0.8.11.r22276.g939bcfb +pkgver=0.8.11.r22311.gf0f66ce pkgrel=1 pkgdesc="The GNU SWF Player based on GameSWF - git development version" arch=('i686' 'x86_64') url="http://www.gnu.org/software/gnash/" license=('GPL3') -depends=('curl' 'giflib' 'sdl' 'libjpeg' 'libpng' 'libltdl' 'libgl' - 'glu' 'speex' 'fontconfig' 'cairo' 'ffmpeg' 'jemalloc' 'boost-libs' +depends=('curl' 'giflib' 'sdl' 'libjpeg' 'libpng' 'libgl' + 'glu' 'fontconfig' 'cairo' 'ffmpeg' 'jemalloc' 'boost-libs' 'gtk2' 'libldap' 'hicolor-icon-theme' 'desktop-file-utils' 'gconf' - 'gtkglext' 'agg') -makedepends=('mesa' 'xulrunner' 'pkgconfig' 'boost' 'git' - 'gdk-pixbuf2' 'gdk-pixbuf') -provides=('gnash-common' 'gnash-gtk' "$_gitname") -conflicts=('gnash-common' 'gnash-gtk' "$_gitname") -replaces=('gnash-common' 'gnash-gtk') + 'gtkglext' 'agg' 'gdk-pixbuf2') +makedepends=('mesa' 'xulrunner' 'pkgconfig' 'boost' 'git') +provides=('gnash-common' 'gnash-gtk' 'gnash') +conflicts=('gnash-common' 'gnash-gtk' 'gnash') +replaces=('gnash-common' 'gnash-gtk' 'gnash') options=('!emptydirs') install=$_gitname.install backup=('etc/gnashpluginrc') -source=("https://repo.parabola.nu/other/$pkgname/$pkgname-$pkgver.tar.gz") -md5sums=('d771bf518551efedc5593868e0750a25') +source=('git://git.sv.gnu.org/gnash.git' + 'jemalloc_gnash.patch' + 'gnash_boost.patch') +sha256sums=('SKIP' + '422aad0cf678f8427b1601e41e6440b3526872b640b6ccd3ab93ae656a9a8c8e' + '25ca1554f4c6e06d5a3fe68c37f58c7f63cf05544f14ad0e716452f8a033a095') -mksource=('git://git.sv.gnu.org/gnash.git') -mkmd5sums=('SKIP') +pkgver() { + cd $_gitname + + echo "0.8.11.r$(git rev-list --count master).g$(git log -1 --format="%h")" +} prepare() { cd $_gitname @@ -39,6 +47,10 @@ prepare() { build() { cd $_gitname + patch -Np1 -i "${srcdir}/jemalloc_gnash.patch" + patch -Np1 -i "${srcdir}/gnash_boost.patch" + sed -i 's#${JEMALLOC_CONFIG} --cxxflags#${JEMALLOC_CONFIG} --cflags#g' configure + ./configure \ --prefix=/usr \ --sysconfdir=/etc \ diff --git a/pcr/gnash-git/gnash_boost.patch b/pcr/gnash-git/gnash_boost.patch new file mode 100644 index 000000000..e617891a4 --- /dev/null +++ b/pcr/gnash-git/gnash_boost.patch @@ -0,0 +1,22 @@ +--- gnash.orig/libbase/accumulator.h 2016-01-09 11:08:36.983892360 -0500 ++++ gnash/libbase/accumulator.h 2016-01-09 11:10:26.775762676 -0500 +@@ -22,6 +22,7 @@ + + #include + #include ++#include + #include + #include + #include +@@ -61,6 +62,11 @@ + virtual unsigned min_tokens() const { return 0; } + virtual unsigned max_tokens() const { return 0; } + ++#if BOOST_VERSION >= 105900 ++ /// There are no tokens, so this is indifferent. ++ virtual bool adjacent_tokens_only() const { return false; } ++#endif ++ + /// Accumulating from different sources is silly. + virtual bool is_composing() const { return false; } + diff --git a/pcr/gnash-git/jemalloc_gnash.patch b/pcr/gnash-git/jemalloc_gnash.patch new file mode 100644 index 000000000..743507069 --- /dev/null +++ b/pcr/gnash-git/jemalloc_gnash.patch @@ -0,0 +1,13 @@ +diff --git a/libbase/jemalloc_gnash.c b/libbase/jemalloc_gnash.c +index a702688..7bfd752 100644 +--- a/libbase/jemalloc_gnash.c ++++ b/libbase/jemalloc_gnash.c +@@ -18,7 +18,7 @@ + */ + + #include +-#include ++#include + + #ifdef HAVE_CONFIG_H + # include "gnashconfig.h" -- cgit v1.2.3-2-g168b