[arch-commits] Commit in gnash/repos (18 files)
Stéphane Gaudreault
stephane at nymeria.archlinux.org
Mon Jan 28 16:49:39 UTC 2013
Date: Monday, January 28, 2013 @ 17:49:39
Author: stephane
Revision: 83253
db-move: moved gnash from [community-testing] to [community] (i686, x86_64)
Added:
gnash/repos/community-i686/PKGBUILD
(from rev 83238, gnash/repos/community-testing-i686/PKGBUILD)
gnash/repos/community-i686/gnash-0.8.10-boost-1.50.patch
(from rev 83238, gnash/repos/community-testing-i686/gnash-0.8.10-boost-1.50.patch)
gnash/repos/community-i686/gnash-gtk.install
(from rev 83238, gnash/repos/community-testing-i686/gnash-gtk.install)
gnash/repos/community-i686/nodebug.patch
(from rev 83238, gnash/repos/community-testing-i686/nodebug.patch)
gnash/repos/community-x86_64/PKGBUILD
(from rev 83238, gnash/repos/community-testing-x86_64/PKGBUILD)
gnash/repos/community-x86_64/gnash-0.8.10-boost-1.50.patch
(from rev 83238, gnash/repos/community-testing-x86_64/gnash-0.8.10-boost-1.50.patch)
gnash/repos/community-x86_64/gnash-gtk.install
(from rev 83238, gnash/repos/community-testing-x86_64/gnash-gtk.install)
gnash/repos/community-x86_64/nodebug.patch
(from rev 83238, gnash/repos/community-testing-x86_64/nodebug.patch)
Deleted:
gnash/repos/community-i686/PKGBUILD
gnash/repos/community-i686/gnash-0.8.10-boost-1.50.patch
gnash/repos/community-i686/gnash-gtk.install
gnash/repos/community-i686/nodebug.patch
gnash/repos/community-testing-i686/
gnash/repos/community-testing-x86_64/
gnash/repos/community-x86_64/PKGBUILD
gnash/repos/community-x86_64/gnash-0.8.10-boost-1.50.patch
gnash/repos/community-x86_64/gnash-gtk.install
gnash/repos/community-x86_64/nodebug.patch
------------------------------------------------+
community-i686/PKGBUILD | 172 +++++++++++------------
community-i686/gnash-0.8.10-boost-1.50.patch | 24 +--
community-i686/gnash-gtk.install | 44 ++---
community-i686/nodebug.patch | 96 ++++++------
community-x86_64/PKGBUILD | 172 +++++++++++------------
community-x86_64/gnash-0.8.10-boost-1.50.patch | 24 +--
community-x86_64/gnash-gtk.install | 44 ++---
community-x86_64/nodebug.patch | 96 ++++++------
8 files changed, 336 insertions(+), 336 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2013-01-28 16:49:38 UTC (rev 83252)
+++ community-i686/PKGBUILD 2013-01-28 16:49:39 UTC (rev 83253)
@@ -1,86 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgbase=gnash
-pkgname=(gnash-common gnash-gtk)
-pkgver=0.8.10
-pkgrel=5
-arch=(i686 x86_64)
-url="http://www.gnu.org/software/gnash/"
-license=(GPL3)
-makedepends=(curl giflib libldap sdl agg libjpeg libpng libtool mesa glu
- speex fontconfig
- gstreamer0.10-base
- gtk2 libldap xulrunner hicolor-icon-theme desktop-file-utils gconf gtkglext
- pkgconfig boost)
-options=(!libtool !emptydirs)
-source=(http://ftp.gnu.org/gnu/gnash/${pkgver}/gnash-${pkgver}.tar.bz2
- nodebug.patch gnash-0.8.10-boost-1.50.patch)
-sha256sums=('9625072e45df92baa2c28fc9999d4e2deb66bc827530baedfad2e4e2292d1224'
- '0ebb104a7632af997c7e6b268755949fa0c1eea5e32015b95a22d63d0e431551'
- 'ac3e7dbcb2ea30b8a263168462e739aa07706e0e3cdc672410a42a4357dbf54c')
-
-build() {
- cd gnash-$pkgver
-
- # Disable very, very verbose debugging (gigabytes of logs)
- patch -Np1 -i ../nodebug.patch
-
- # Link to libboost_system.so
- patch -Np1 -i ../gnash-0.8.10-boost-1.50.patch
-
- ./autogen.sh
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --with-plugins-install=system \
- --with-npapi-plugindir=/usr/lib/mozilla/plugins \
- --enable-gui=sdl,gtk,dump \
- --enable-media=gst \
- --enable-renderer=all \
- --enable-device=x11
-
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
-
- make
-}
-
-package_gnash-common() {
- pkgdesc="A GNU Flash movie player"
- depends=(curl giflib sdl agg libjpeg libpng libltdl libgl glu
- speex fontconfig cairo
- gstreamer0.10-base
- boost-libs)
- backup=(etc/gnashrc etc/gnashthumbnailrc)
-
- cd gnash-$pkgver
-
- make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
-
- # Split gnash-gtk
- mkdir -p "$srcdir"/gtk/{etc,usr/{bin,share/man/man1}}
- mv "$pkgdir"/usr/bin/{gtk-gnash,gnash-gtk-launcher} \
- "$srcdir/gtk/usr/bin/"
- mv "$pkgdir"/usr/share/man/man1/{gtk-gnash,gnash-gtk-launcher}.1 \
- "$srcdir/gtk/usr/share/man/man1/"
- mv "$pkgdir"/usr/share/{applications,icons} "$srcdir/gtk/usr/share/"
- mv "$pkgdir"/etc/gnashpluginrc "$srcdir/gtk/etc/"
-}
-
-package_gnash-gtk() {
- pkgdesc="A GNU Flash movie player"
- depends=("gnash-common=$pkgver"
- gtk2 libldap hicolor-icon-theme desktop-file-utils gconf gtkglext)
- install=gnash-gtk.install
- backup=(etc/gnashpluginrc)
-
- mv gtk/* "$pkgdir"
-
- cd gnash-$pkgver
- make DESTDIR="$pkgdir" install-plugin
-
- install -m755 -d "$pkgdir/usr/share/gconf/schemas"
- gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/gnash.schemas" --domain gnash \
- "$pkgdir"/usr/share/applications/*.schemas
- rm -f "$pkgdir"/usr/share/applications/*.schemas
-}
Copied: gnash/repos/community-i686/PKGBUILD (from rev 83238, gnash/repos/community-testing-i686/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-01-28 16:49:39 UTC (rev 83253)
@@ -0,0 +1,86 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgbase=gnash
+pkgname=(gnash-common gnash-gtk)
+pkgver=0.8.10
+pkgrel=6
+arch=(i686 x86_64)
+url="http://www.gnu.org/software/gnash/"
+license=(GPL3)
+makedepends=(curl giflib libldap sdl agg libjpeg libpng libtool mesa glu
+ speex fontconfig
+ gstreamer0.10-base
+ gtk2 libldap xulrunner hicolor-icon-theme desktop-file-utils gconf gtkglext
+ pkgconfig boost)
+options=(!libtool !emptydirs)
+source=(http://ftp.gnu.org/gnu/gnash/${pkgver}/gnash-${pkgver}.tar.bz2
+ nodebug.patch gnash-0.8.10-boost-1.50.patch)
+sha256sums=('9625072e45df92baa2c28fc9999d4e2deb66bc827530baedfad2e4e2292d1224'
+ '0ebb104a7632af997c7e6b268755949fa0c1eea5e32015b95a22d63d0e431551'
+ 'ac3e7dbcb2ea30b8a263168462e739aa07706e0e3cdc672410a42a4357dbf54c')
+
+build() {
+ cd gnash-$pkgver
+
+ # Disable very, very verbose debugging (gigabytes of logs)
+ patch -Np1 -i ../nodebug.patch
+
+ # Link to libboost_system.so
+ patch -Np1 -i ../gnash-0.8.10-boost-1.50.patch
+
+ ./autogen.sh
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-plugins-install=system \
+ --with-npapi-plugindir=/usr/lib/mozilla/plugins \
+ --enable-gui=sdl,gtk,dump \
+ --enable-media=gst \
+ --enable-renderer=all \
+ --enable-device=x11
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+
+ make
+}
+
+package_gnash-common() {
+ pkgdesc="A GNU Flash movie player"
+ depends=(curl giflib sdl agg libjpeg libpng libltdl libgl glu
+ speex fontconfig cairo
+ gstreamer0.10-base
+ boost-libs)
+ backup=(etc/gnashrc etc/gnashthumbnailrc)
+
+ cd gnash-$pkgver
+
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
+
+ # Split gnash-gtk
+ mkdir -p "$srcdir"/gtk/{etc,usr/{bin,share/man/man1}}
+ mv "$pkgdir"/usr/bin/{gtk-gnash,gnash-gtk-launcher} \
+ "$srcdir/gtk/usr/bin/"
+ mv "$pkgdir"/usr/share/man/man1/{gtk-gnash,gnash-gtk-launcher}.1 \
+ "$srcdir/gtk/usr/share/man/man1/"
+ mv "$pkgdir"/usr/share/{applications,icons} "$srcdir/gtk/usr/share/"
+ mv "$pkgdir"/etc/gnashpluginrc "$srcdir/gtk/etc/"
+}
+
+package_gnash-gtk() {
+ pkgdesc="A GNU Flash movie player"
+ depends=("gnash-common=$pkgver"
+ gtk2 libldap hicolor-icon-theme desktop-file-utils gconf gtkglext)
+ install=gnash-gtk.install
+ backup=(etc/gnashpluginrc)
+
+ mv gtk/* "$pkgdir"
+
+ cd gnash-$pkgver
+ make DESTDIR="$pkgdir" install-plugin
+
+ install -m755 -d "$pkgdir/usr/share/gconf/schemas"
+ gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/gnash.schemas" --domain gnash \
+ "$pkgdir"/usr/share/applications/*.schemas
+ rm -f "$pkgdir"/usr/share/applications/*.schemas
+}
Deleted: community-i686/gnash-0.8.10-boost-1.50.patch
===================================================================
--- community-i686/gnash-0.8.10-boost-1.50.patch 2013-01-28 16:49:38 UTC (rev 83252)
+++ community-i686/gnash-0.8.10-boost-1.50.patch 2013-01-28 16:49:39 UTC (rev 83253)
@@ -1,12 +0,0 @@
-diff -u -r gnash-0.8.10/macros/boost.m4 gnash-0.8.10-boost1.50/macros/boost.m4
---- gnash-0.8.10/macros/boost.m4 2012-01-19 20:17:49.000000000 +0100
-+++ gnash-0.8.10-boost-1.50/macros/boost.m4 2012-07-11 10:56:11.089137186 +0200
-@@ -37,7 +37,7 @@
- boost_headers="detail/lightweight_mutex.hpp thread/thread.hpp multi_index_container.hpp multi_index/key_extractors.hpp thread/mutex.hpp program_options/options_description.hpp iostreams/stream.hpp"
- dnl this is a list of *required* libraries. If any of these are missing, this
- dnl test will return a failure, and Gnash won't build.
-- boost_libs="thread program_options iostreams"
-+ boost_libs="thread program_options iostreams system"
-
- dnl this is a list of *recommended* libraries. If any of these are missing, this
- dnl test will return a warning, and Gnash will build, but testing won't work.
Copied: gnash/repos/community-i686/gnash-0.8.10-boost-1.50.patch (from rev 83238, gnash/repos/community-testing-i686/gnash-0.8.10-boost-1.50.patch)
===================================================================
--- community-i686/gnash-0.8.10-boost-1.50.patch (rev 0)
+++ community-i686/gnash-0.8.10-boost-1.50.patch 2013-01-28 16:49:39 UTC (rev 83253)
@@ -0,0 +1,12 @@
+diff -u -r gnash-0.8.10/macros/boost.m4 gnash-0.8.10-boost1.50/macros/boost.m4
+--- gnash-0.8.10/macros/boost.m4 2012-01-19 20:17:49.000000000 +0100
++++ gnash-0.8.10-boost-1.50/macros/boost.m4 2012-07-11 10:56:11.089137186 +0200
+@@ -37,7 +37,7 @@
+ boost_headers="detail/lightweight_mutex.hpp thread/thread.hpp multi_index_container.hpp multi_index/key_extractors.hpp thread/mutex.hpp program_options/options_description.hpp iostreams/stream.hpp"
+ dnl this is a list of *required* libraries. If any of these are missing, this
+ dnl test will return a failure, and Gnash won't build.
+- boost_libs="thread program_options iostreams"
++ boost_libs="thread program_options iostreams system"
+
+ dnl this is a list of *recommended* libraries. If any of these are missing, this
+ dnl test will return a warning, and Gnash will build, but testing won't work.
Deleted: community-i686/gnash-gtk.install
===================================================================
--- community-i686/gnash-gtk.install 2013-01-28 16:49:38 UTC (rev 83252)
+++ community-i686/gnash-gtk.install 2013-01-28 16:49:39 UTC (rev 83253)
@@ -1,22 +0,0 @@
-post_install() {
- gconfpkg --install gnash
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-pre_upgrade() {
- pre_remove
-}
-
-post_upgrade() {
- post_install
-}
-
-pre_remove() {
- gconfpkg --uninstall gnash
-}
-
-post_remove() {
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
Copied: gnash/repos/community-i686/gnash-gtk.install (from rev 83238, gnash/repos/community-testing-i686/gnash-gtk.install)
===================================================================
--- community-i686/gnash-gtk.install (rev 0)
+++ community-i686/gnash-gtk.install 2013-01-28 16:49:39 UTC (rev 83253)
@@ -0,0 +1,22 @@
+post_install() {
+ gconfpkg --install gnash
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+ pre_remove
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ gconfpkg --uninstall gnash
+}
+
+post_remove() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
Deleted: community-i686/nodebug.patch
===================================================================
--- community-i686/nodebug.patch 2013-01-28 16:49:38 UTC (rev 83252)
+++ community-i686/nodebug.patch 2013-01-28 16:49:39 UTC (rev 83253)
@@ -1,48 +0,0 @@
-diff -u -r gnash-0.8.9/libbase/log.h gnash-0.8.9-nodebug/libbase/log.h
---- gnash-0.8.9/libbase/log.h 2011-02-26 19:11:08.000000000 +0100
-+++ gnash-0.8.9-nodebug/libbase/log.h 2012-01-18 09:39:02.004103494 +0100
-@@ -331,27 +331,27 @@
-
- // Define to 0 to completely remove parse debugging at compile-time
- #ifndef VERBOSE_PARSE
--#define VERBOSE_PARSE 1
-+#define VERBOSE_PARSE 0
- #endif
-
- // Define to 0 to completely remove action debugging at compile-time
- #ifndef VERBOSE_ACTION
--#define VERBOSE_ACTION 1
-+#define VERBOSE_ACTION 0
- #endif
-
- // Define to 0 to remove ActionScript errors verbosity at compile-time
- #ifndef VERBOSE_ASCODING_ERRORS
--#define VERBOSE_ASCODING_ERRORS 1
-+#define VERBOSE_ASCODING_ERRORS 0
- #endif
-
- // Define to 0 this to remove invalid SWF verbosity at compile-time
- #ifndef VERBOSE_MALFORMED_SWF
--#define VERBOSE_MALFORMED_SWF 1
-+#define VERBOSE_MALFORMED_SWF 0
- #endif
-
- // Define to 0 this to remove Networking verbosity at compile-time
- #ifndef VERBOSE_NETWORKING
--#define VERBOSE_NETWORKING 1
-+#define VERBOSE_NETWORKING 0
- #endif
-
- #if VERBOSE_PARSE
-diff -u -r gnash-0.8.9/libcore/vm/ActionExec.cpp gnash-0.8.9-nodebug/libcore/vm/ActionExec.cpp
---- gnash-0.8.9/libcore/vm/ActionExec.cpp 2011-03-13 17:47:36.000000000 +0100
-+++ gnash-0.8.9-nodebug/libcore/vm/ActionExec.cpp 2012-01-18 09:40:25.653458508 +0100
-@@ -46,7 +46,7 @@
- // too much information for my tastes. I really want just
- // to see how stack changes while executing actions...
- // --strk Fri Jun 30 02:28:46 CEST 2006
--# define DEBUG_STACK 1
-+//# define DEBUG_STACK 1
-
- // Max number of stack item to dump. 0 for unlimited.
- # define STACK_DUMP_LIMIT 32
Copied: gnash/repos/community-i686/nodebug.patch (from rev 83238, gnash/repos/community-testing-i686/nodebug.patch)
===================================================================
--- community-i686/nodebug.patch (rev 0)
+++ community-i686/nodebug.patch 2013-01-28 16:49:39 UTC (rev 83253)
@@ -0,0 +1,48 @@
+diff -u -r gnash-0.8.9/libbase/log.h gnash-0.8.9-nodebug/libbase/log.h
+--- gnash-0.8.9/libbase/log.h 2011-02-26 19:11:08.000000000 +0100
++++ gnash-0.8.9-nodebug/libbase/log.h 2012-01-18 09:39:02.004103494 +0100
+@@ -331,27 +331,27 @@
+
+ // Define to 0 to completely remove parse debugging at compile-time
+ #ifndef VERBOSE_PARSE
+-#define VERBOSE_PARSE 1
++#define VERBOSE_PARSE 0
+ #endif
+
+ // Define to 0 to completely remove action debugging at compile-time
+ #ifndef VERBOSE_ACTION
+-#define VERBOSE_ACTION 1
++#define VERBOSE_ACTION 0
+ #endif
+
+ // Define to 0 to remove ActionScript errors verbosity at compile-time
+ #ifndef VERBOSE_ASCODING_ERRORS
+-#define VERBOSE_ASCODING_ERRORS 1
++#define VERBOSE_ASCODING_ERRORS 0
+ #endif
+
+ // Define to 0 this to remove invalid SWF verbosity at compile-time
+ #ifndef VERBOSE_MALFORMED_SWF
+-#define VERBOSE_MALFORMED_SWF 1
++#define VERBOSE_MALFORMED_SWF 0
+ #endif
+
+ // Define to 0 this to remove Networking verbosity at compile-time
+ #ifndef VERBOSE_NETWORKING
+-#define VERBOSE_NETWORKING 1
++#define VERBOSE_NETWORKING 0
+ #endif
+
+ #if VERBOSE_PARSE
+diff -u -r gnash-0.8.9/libcore/vm/ActionExec.cpp gnash-0.8.9-nodebug/libcore/vm/ActionExec.cpp
+--- gnash-0.8.9/libcore/vm/ActionExec.cpp 2011-03-13 17:47:36.000000000 +0100
++++ gnash-0.8.9-nodebug/libcore/vm/ActionExec.cpp 2012-01-18 09:40:25.653458508 +0100
+@@ -46,7 +46,7 @@
+ // too much information for my tastes. I really want just
+ // to see how stack changes while executing actions...
+ // --strk Fri Jun 30 02:28:46 CEST 2006
+-# define DEBUG_STACK 1
++//# define DEBUG_STACK 1
+
+ // Max number of stack item to dump. 0 for unlimited.
+ # define STACK_DUMP_LIMIT 32
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2013-01-28 16:49:38 UTC (rev 83252)
+++ community-x86_64/PKGBUILD 2013-01-28 16:49:39 UTC (rev 83253)
@@ -1,86 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgbase=gnash
-pkgname=(gnash-common gnash-gtk)
-pkgver=0.8.10
-pkgrel=5
-arch=(i686 x86_64)
-url="http://www.gnu.org/software/gnash/"
-license=(GPL3)
-makedepends=(curl giflib libldap sdl agg libjpeg libpng libtool mesa glu
- speex fontconfig
- gstreamer0.10-base
- gtk2 libldap xulrunner hicolor-icon-theme desktop-file-utils gconf gtkglext
- pkgconfig boost)
-options=(!libtool !emptydirs)
-source=(http://ftp.gnu.org/gnu/gnash/${pkgver}/gnash-${pkgver}.tar.bz2
- nodebug.patch gnash-0.8.10-boost-1.50.patch)
-sha256sums=('9625072e45df92baa2c28fc9999d4e2deb66bc827530baedfad2e4e2292d1224'
- '0ebb104a7632af997c7e6b268755949fa0c1eea5e32015b95a22d63d0e431551'
- 'ac3e7dbcb2ea30b8a263168462e739aa07706e0e3cdc672410a42a4357dbf54c')
-
-build() {
- cd gnash-$pkgver
-
- # Disable very, very verbose debugging (gigabytes of logs)
- patch -Np1 -i ../nodebug.patch
-
- # Link to libboost_system.so
- patch -Np1 -i ../gnash-0.8.10-boost-1.50.patch
-
- ./autogen.sh
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --with-plugins-install=system \
- --with-npapi-plugindir=/usr/lib/mozilla/plugins \
- --enable-gui=sdl,gtk,dump \
- --enable-media=gst \
- --enable-renderer=all \
- --enable-device=x11
-
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
-
- make
-}
-
-package_gnash-common() {
- pkgdesc="A GNU Flash movie player"
- depends=(curl giflib sdl agg libjpeg libpng libltdl libgl glu
- speex fontconfig cairo
- gstreamer0.10-base
- boost-libs)
- backup=(etc/gnashrc etc/gnashthumbnailrc)
-
- cd gnash-$pkgver
-
- make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
-
- # Split gnash-gtk
- mkdir -p "$srcdir"/gtk/{etc,usr/{bin,share/man/man1}}
- mv "$pkgdir"/usr/bin/{gtk-gnash,gnash-gtk-launcher} \
- "$srcdir/gtk/usr/bin/"
- mv "$pkgdir"/usr/share/man/man1/{gtk-gnash,gnash-gtk-launcher}.1 \
- "$srcdir/gtk/usr/share/man/man1/"
- mv "$pkgdir"/usr/share/{applications,icons} "$srcdir/gtk/usr/share/"
- mv "$pkgdir"/etc/gnashpluginrc "$srcdir/gtk/etc/"
-}
-
-package_gnash-gtk() {
- pkgdesc="A GNU Flash movie player"
- depends=("gnash-common=$pkgver"
- gtk2 libldap hicolor-icon-theme desktop-file-utils gconf gtkglext)
- install=gnash-gtk.install
- backup=(etc/gnashpluginrc)
-
- mv gtk/* "$pkgdir"
-
- cd gnash-$pkgver
- make DESTDIR="$pkgdir" install-plugin
-
- install -m755 -d "$pkgdir/usr/share/gconf/schemas"
- gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/gnash.schemas" --domain gnash \
- "$pkgdir"/usr/share/applications/*.schemas
- rm -f "$pkgdir"/usr/share/applications/*.schemas
-}
Copied: gnash/repos/community-x86_64/PKGBUILD (from rev 83238, gnash/repos/community-testing-x86_64/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-01-28 16:49:39 UTC (rev 83253)
@@ -0,0 +1,86 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgbase=gnash
+pkgname=(gnash-common gnash-gtk)
+pkgver=0.8.10
+pkgrel=6
+arch=(i686 x86_64)
+url="http://www.gnu.org/software/gnash/"
+license=(GPL3)
+makedepends=(curl giflib libldap sdl agg libjpeg libpng libtool mesa glu
+ speex fontconfig
+ gstreamer0.10-base
+ gtk2 libldap xulrunner hicolor-icon-theme desktop-file-utils gconf gtkglext
+ pkgconfig boost)
+options=(!libtool !emptydirs)
+source=(http://ftp.gnu.org/gnu/gnash/${pkgver}/gnash-${pkgver}.tar.bz2
+ nodebug.patch gnash-0.8.10-boost-1.50.patch)
+sha256sums=('9625072e45df92baa2c28fc9999d4e2deb66bc827530baedfad2e4e2292d1224'
+ '0ebb104a7632af997c7e6b268755949fa0c1eea5e32015b95a22d63d0e431551'
+ 'ac3e7dbcb2ea30b8a263168462e739aa07706e0e3cdc672410a42a4357dbf54c')
+
+build() {
+ cd gnash-$pkgver
+
+ # Disable very, very verbose debugging (gigabytes of logs)
+ patch -Np1 -i ../nodebug.patch
+
+ # Link to libboost_system.so
+ patch -Np1 -i ../gnash-0.8.10-boost-1.50.patch
+
+ ./autogen.sh
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-plugins-install=system \
+ --with-npapi-plugindir=/usr/lib/mozilla/plugins \
+ --enable-gui=sdl,gtk,dump \
+ --enable-media=gst \
+ --enable-renderer=all \
+ --enable-device=x11
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+
+ make
+}
+
+package_gnash-common() {
+ pkgdesc="A GNU Flash movie player"
+ depends=(curl giflib sdl agg libjpeg libpng libltdl libgl glu
+ speex fontconfig cairo
+ gstreamer0.10-base
+ boost-libs)
+ backup=(etc/gnashrc etc/gnashthumbnailrc)
+
+ cd gnash-$pkgver
+
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
+
+ # Split gnash-gtk
+ mkdir -p "$srcdir"/gtk/{etc,usr/{bin,share/man/man1}}
+ mv "$pkgdir"/usr/bin/{gtk-gnash,gnash-gtk-launcher} \
+ "$srcdir/gtk/usr/bin/"
+ mv "$pkgdir"/usr/share/man/man1/{gtk-gnash,gnash-gtk-launcher}.1 \
+ "$srcdir/gtk/usr/share/man/man1/"
+ mv "$pkgdir"/usr/share/{applications,icons} "$srcdir/gtk/usr/share/"
+ mv "$pkgdir"/etc/gnashpluginrc "$srcdir/gtk/etc/"
+}
+
+package_gnash-gtk() {
+ pkgdesc="A GNU Flash movie player"
+ depends=("gnash-common=$pkgver"
+ gtk2 libldap hicolor-icon-theme desktop-file-utils gconf gtkglext)
+ install=gnash-gtk.install
+ backup=(etc/gnashpluginrc)
+
+ mv gtk/* "$pkgdir"
+
+ cd gnash-$pkgver
+ make DESTDIR="$pkgdir" install-plugin
+
+ install -m755 -d "$pkgdir/usr/share/gconf/schemas"
+ gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/gnash.schemas" --domain gnash \
+ "$pkgdir"/usr/share/applications/*.schemas
+ rm -f "$pkgdir"/usr/share/applications/*.schemas
+}
Deleted: community-x86_64/gnash-0.8.10-boost-1.50.patch
===================================================================
--- community-x86_64/gnash-0.8.10-boost-1.50.patch 2013-01-28 16:49:38 UTC (rev 83252)
+++ community-x86_64/gnash-0.8.10-boost-1.50.patch 2013-01-28 16:49:39 UTC (rev 83253)
@@ -1,12 +0,0 @@
-diff -u -r gnash-0.8.10/macros/boost.m4 gnash-0.8.10-boost1.50/macros/boost.m4
---- gnash-0.8.10/macros/boost.m4 2012-01-19 20:17:49.000000000 +0100
-+++ gnash-0.8.10-boost-1.50/macros/boost.m4 2012-07-11 10:56:11.089137186 +0200
-@@ -37,7 +37,7 @@
- boost_headers="detail/lightweight_mutex.hpp thread/thread.hpp multi_index_container.hpp multi_index/key_extractors.hpp thread/mutex.hpp program_options/options_description.hpp iostreams/stream.hpp"
- dnl this is a list of *required* libraries. If any of these are missing, this
- dnl test will return a failure, and Gnash won't build.
-- boost_libs="thread program_options iostreams"
-+ boost_libs="thread program_options iostreams system"
-
- dnl this is a list of *recommended* libraries. If any of these are missing, this
- dnl test will return a warning, and Gnash will build, but testing won't work.
Copied: gnash/repos/community-x86_64/gnash-0.8.10-boost-1.50.patch (from rev 83238, gnash/repos/community-testing-x86_64/gnash-0.8.10-boost-1.50.patch)
===================================================================
--- community-x86_64/gnash-0.8.10-boost-1.50.patch (rev 0)
+++ community-x86_64/gnash-0.8.10-boost-1.50.patch 2013-01-28 16:49:39 UTC (rev 83253)
@@ -0,0 +1,12 @@
+diff -u -r gnash-0.8.10/macros/boost.m4 gnash-0.8.10-boost1.50/macros/boost.m4
+--- gnash-0.8.10/macros/boost.m4 2012-01-19 20:17:49.000000000 +0100
++++ gnash-0.8.10-boost-1.50/macros/boost.m4 2012-07-11 10:56:11.089137186 +0200
+@@ -37,7 +37,7 @@
+ boost_headers="detail/lightweight_mutex.hpp thread/thread.hpp multi_index_container.hpp multi_index/key_extractors.hpp thread/mutex.hpp program_options/options_description.hpp iostreams/stream.hpp"
+ dnl this is a list of *required* libraries. If any of these are missing, this
+ dnl test will return a failure, and Gnash won't build.
+- boost_libs="thread program_options iostreams"
++ boost_libs="thread program_options iostreams system"
+
+ dnl this is a list of *recommended* libraries. If any of these are missing, this
+ dnl test will return a warning, and Gnash will build, but testing won't work.
Deleted: community-x86_64/gnash-gtk.install
===================================================================
--- community-x86_64/gnash-gtk.install 2013-01-28 16:49:38 UTC (rev 83252)
+++ community-x86_64/gnash-gtk.install 2013-01-28 16:49:39 UTC (rev 83253)
@@ -1,22 +0,0 @@
-post_install() {
- gconfpkg --install gnash
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-pre_upgrade() {
- pre_remove
-}
-
-post_upgrade() {
- post_install
-}
-
-pre_remove() {
- gconfpkg --uninstall gnash
-}
-
-post_remove() {
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
Copied: gnash/repos/community-x86_64/gnash-gtk.install (from rev 83238, gnash/repos/community-testing-x86_64/gnash-gtk.install)
===================================================================
--- community-x86_64/gnash-gtk.install (rev 0)
+++ community-x86_64/gnash-gtk.install 2013-01-28 16:49:39 UTC (rev 83253)
@@ -0,0 +1,22 @@
+post_install() {
+ gconfpkg --install gnash
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+ pre_remove
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ gconfpkg --uninstall gnash
+}
+
+post_remove() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
Deleted: community-x86_64/nodebug.patch
===================================================================
--- community-x86_64/nodebug.patch 2013-01-28 16:49:38 UTC (rev 83252)
+++ community-x86_64/nodebug.patch 2013-01-28 16:49:39 UTC (rev 83253)
@@ -1,48 +0,0 @@
-diff -u -r gnash-0.8.9/libbase/log.h gnash-0.8.9-nodebug/libbase/log.h
---- gnash-0.8.9/libbase/log.h 2011-02-26 19:11:08.000000000 +0100
-+++ gnash-0.8.9-nodebug/libbase/log.h 2012-01-18 09:39:02.004103494 +0100
-@@ -331,27 +331,27 @@
-
- // Define to 0 to completely remove parse debugging at compile-time
- #ifndef VERBOSE_PARSE
--#define VERBOSE_PARSE 1
-+#define VERBOSE_PARSE 0
- #endif
-
- // Define to 0 to completely remove action debugging at compile-time
- #ifndef VERBOSE_ACTION
--#define VERBOSE_ACTION 1
-+#define VERBOSE_ACTION 0
- #endif
-
- // Define to 0 to remove ActionScript errors verbosity at compile-time
- #ifndef VERBOSE_ASCODING_ERRORS
--#define VERBOSE_ASCODING_ERRORS 1
-+#define VERBOSE_ASCODING_ERRORS 0
- #endif
-
- // Define to 0 this to remove invalid SWF verbosity at compile-time
- #ifndef VERBOSE_MALFORMED_SWF
--#define VERBOSE_MALFORMED_SWF 1
-+#define VERBOSE_MALFORMED_SWF 0
- #endif
-
- // Define to 0 this to remove Networking verbosity at compile-time
- #ifndef VERBOSE_NETWORKING
--#define VERBOSE_NETWORKING 1
-+#define VERBOSE_NETWORKING 0
- #endif
-
- #if VERBOSE_PARSE
-diff -u -r gnash-0.8.9/libcore/vm/ActionExec.cpp gnash-0.8.9-nodebug/libcore/vm/ActionExec.cpp
---- gnash-0.8.9/libcore/vm/ActionExec.cpp 2011-03-13 17:47:36.000000000 +0100
-+++ gnash-0.8.9-nodebug/libcore/vm/ActionExec.cpp 2012-01-18 09:40:25.653458508 +0100
-@@ -46,7 +46,7 @@
- // too much information for my tastes. I really want just
- // to see how stack changes while executing actions...
- // --strk Fri Jun 30 02:28:46 CEST 2006
--# define DEBUG_STACK 1
-+//# define DEBUG_STACK 1
-
- // Max number of stack item to dump. 0 for unlimited.
- # define STACK_DUMP_LIMIT 32
Copied: gnash/repos/community-x86_64/nodebug.patch (from rev 83238, gnash/repos/community-testing-x86_64/nodebug.patch)
===================================================================
--- community-x86_64/nodebug.patch (rev 0)
+++ community-x86_64/nodebug.patch 2013-01-28 16:49:39 UTC (rev 83253)
@@ -0,0 +1,48 @@
+diff -u -r gnash-0.8.9/libbase/log.h gnash-0.8.9-nodebug/libbase/log.h
+--- gnash-0.8.9/libbase/log.h 2011-02-26 19:11:08.000000000 +0100
++++ gnash-0.8.9-nodebug/libbase/log.h 2012-01-18 09:39:02.004103494 +0100
+@@ -331,27 +331,27 @@
+
+ // Define to 0 to completely remove parse debugging at compile-time
+ #ifndef VERBOSE_PARSE
+-#define VERBOSE_PARSE 1
++#define VERBOSE_PARSE 0
+ #endif
+
+ // Define to 0 to completely remove action debugging at compile-time
+ #ifndef VERBOSE_ACTION
+-#define VERBOSE_ACTION 1
++#define VERBOSE_ACTION 0
+ #endif
+
+ // Define to 0 to remove ActionScript errors verbosity at compile-time
+ #ifndef VERBOSE_ASCODING_ERRORS
+-#define VERBOSE_ASCODING_ERRORS 1
++#define VERBOSE_ASCODING_ERRORS 0
+ #endif
+
+ // Define to 0 this to remove invalid SWF verbosity at compile-time
+ #ifndef VERBOSE_MALFORMED_SWF
+-#define VERBOSE_MALFORMED_SWF 1
++#define VERBOSE_MALFORMED_SWF 0
+ #endif
+
+ // Define to 0 this to remove Networking verbosity at compile-time
+ #ifndef VERBOSE_NETWORKING
+-#define VERBOSE_NETWORKING 1
++#define VERBOSE_NETWORKING 0
+ #endif
+
+ #if VERBOSE_PARSE
+diff -u -r gnash-0.8.9/libcore/vm/ActionExec.cpp gnash-0.8.9-nodebug/libcore/vm/ActionExec.cpp
+--- gnash-0.8.9/libcore/vm/ActionExec.cpp 2011-03-13 17:47:36.000000000 +0100
++++ gnash-0.8.9-nodebug/libcore/vm/ActionExec.cpp 2012-01-18 09:40:25.653458508 +0100
+@@ -46,7 +46,7 @@
+ // too much information for my tastes. I really want just
+ // to see how stack changes while executing actions...
+ // --strk Fri Jun 30 02:28:46 CEST 2006
+-# define DEBUG_STACK 1
++//# define DEBUG_STACK 1
+
+ // Max number of stack item to dump. 0 for unlimited.
+ # define STACK_DUMP_LIMIT 32
More information about the arch-commits
mailing list