Package Details: gnash-git 0.8.11.r22377.g2b3bded-1

Git Clone URL: (read-only, click to copy)
Package Base: gnash-git
Description: The GNU SWF Player based on GameSWF - git development version
Upstream URL:
Licenses: GPL3
Conflicts: gnash, gnash-common, gnash-gtk
Provides: gnash, gnash-common, gnash-gtk
Replaces: gnash, gnash-common, gnash-gtk
Submitter: smoge
Maintainer: DaarkWel (iamtakingiteasy)
Last Packager: christoph.gysin
Votes: 65
Popularity: 0.000000
First Submitted: 2011-05-26 21:04 (UTC)
Last Updated: 2016-08-15 16:08 (UTC)

Required by (1)

Sources (2)

Latest Comments

1 2 3 4 5 6 .. 14 Next › Last »

mito77 commented on 2021-04-19 08:17 (UTC) (edited on 2021-04-19 08:18 (UTC) by mito77)

bug for installation :

 -> Conflicting packages will have to be confirmed manually [Repo:2]  jemalloc-1:5.2.1-3  gtkglext-1.2.0-12 [Repo Make:15]  mozilla-common-1.4-6  doxygen-1.9.1-1  libutf8proc-2.6.1-1  apr-1.7.0-3  apr-util-1.6.1-8  serf-1.3.9-5  subversion-1.14.1-1  java-environment-common-3-3  zip-3.0-9  java-runtime-common-3-3  jre8-openjdk-headless-8.u282-1  jre8-openjdk-8.u282-1  jdk8-openjdk-8.u282-1  yasm-1.3.0-4  autoconf2.13-2.13-6 [Aur:4]  libpng-apng-1.6.37-1  gconf-3.2.6+11+g07808097-10  agg-2.5-11  gnash-git-0.8.11.r22377.g2b3bded-1 [Aur Make:4]  libart-lgpl-2.3.21-5  gcc6-6.5.0-4 (gcc6-libs gcc6)  xulrunner-41.0.2-17  ==> Remove make dependencies after install? [y/N] y :: Downloaded PKGBUILD (1/7): gnash-git 
:: Downloaded PKGBUILD (2/7): agg
:: Downloaded PKGBUILD (3/7): libart-lgpl
:: Downloaded PKGBUILD (4/7): gconf
:: Downloaded PKGBUILD (5/7): xulrunner
:: Downloaded PKGBUILD (6/7): gcc6 (gcc6-libs gcc6)
error: target not found: libart-lgpl
error: target not found: gcc6-libs
error: target not found: gcc6
error: target not found: xulrunner
error: target not found: mozilla-common
error: target not found: doxygen
error: target not found: libutf8proc
error: target not found: apr
error: target not found: apr-util
error: target not found: serf
error: target not found: subversion
error: target not found: java-environment-common
error: target not found: zip
error: target not found: java-runtime-common
error: target not found: jre8-openjdk-headless
error: target not found: jre8-openjdk
error: target not found: jdk8-openjdk
error: target not found: yasm
error: target not found: autoconf2.13

yar commented on 2020-09-05 00:01 (UTC)

The dependency on libpng needs to be replaced with libpng-apng, as xulrunner requires the latter.

ondoho commented on 2020-05-06 18:21 (UTC) (edited on 2020-05-06 18:24 (UTC) by ondoho)

Thank you DaarkWel! I wish I had seen your comment a little earlier, I wasted a lot of time on trying to compile this, but your alternate PKGBUILD works.

This should become the main PKGBUILD for this package imo.

One suggestion: add the "dump" gui to --enable-gui:

--enable-gui=sdl,gtk,dump \


Without that it is not possible to make audio and video dumps of SWF files. AFAICS this is perfectly stable - the Debian gnash package has it enabled, too.

PS: the PKGBUILD for the agg dependency also seems to require some adjustment, I commented there.

DaarkWel commented on 2020-02-26 06:27 (UTC)

There is github fork of gnash with build patches:

PKGBUILD for player, without browser plugin:

pkgdesc="The GNU SWF Player based on GameSWF - git development version"
arch=('i686' 'x86_64')
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' 'gdk-pixbuf2')
makedepends=('mesa' 'pkgconfig' 'boost' 'git')
provides=('gnash-common' 'gnash-gtk' 'gnash')
conflicts=('gnash-common' 'gnash-gtk' 'gnash')
replaces=('gnash-common' 'gnash-gtk' 'gnash')

pkgver() {
  cd $_gitname

  echo "0.8.11.r$(git rev-list --count master).g$(git log -1 --format="%h")" 

prepare() {
  cd $_gitname

  chmod +x

build() {
  cd $_gitname

#  patch -Np1 -i "${srcdir}/jemalloc_gnash.patch"
#  sed -i 's#${JEMALLOC_CONFIG} --cxxflags#${JEMALLOC_CONFIG} --cflags#g' configure

  ./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --enable-gui=sdl,gtk \
    --disable-npapi \
    --enable-media=ffmpeg \
    --enable-renderer=all \

  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


package() {
  cd $_gitname

  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install install-plugin

  install -m755 -d "$pkgdir/usr/share/gconf/schemas"

  gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/gnash.schemas" --domain gnash \

  rm -f "$pkgdir"/usr/share/applications/*.schemas

daniel_shub commented on 2020-01-27 01:28 (UTC)

I think the package also depends on the boost1.69-libs package.

@iamtakingiteasy thank you for the patches. You should adopt the package and integrate in your patches so it builds easier.

ynikitenko commented on 2019-11-17 17:28 (UTC)

Unfortunately, I failed to install xulrunner. It's written on its Wikipedia page that that package is no longer supported.

kbk commented on 2019-11-08 23:57 (UTC)

@iamtakingiteasy thank you, it works :)

iamtakingiteasy commented on 2019-11-01 17:12 (UTC) (edited on 2019-11-01 17:12 (UTC) by iamtakingiteasy)

Regarding gif error, this patch may help:

Basically gnash testing only for libgif 5.1 ignoring that there might be newer minor versions.

You also may need to replace FF_INPUT_BUFFER_PADDING_SIZE with AV_INPUT_BUFFER_PADDING_SIZE where it is used in code:

kbk commented on 2019-10-08 14:39 (UTC)

it fails to build with the following error:

GnashImageGif.cpp: In destructor ‘virtual gnash::image::{anonymous}::GifInput::~GifInput()’:
GnashImageGif.cpp:126:20: error: too few arguments to function ‘int DGifCloseFile(GifFileType*, int*)’
  126 |  DGifCloseFile(_gif);
      |                    ^
In file included from GnashImageGif.cpp:27:
/usr/include/gif_lib.h:185:9: note: declared here
  185 |     int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
      |         ^~~~~~~~~~~~~
make[2]: *** [Makefile:1316: libgnashbase_la-GnashImageGif.lo] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-kbk/aur-gnash-git/src/gnash/libbase'
make[1]: *** [Makefile:1162: all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-kbk/aur-gnash-git/src/gnash'
make: *** [Makefile:1070: all] Error 2
==> ERROR: A failure occurred in build().

lucaswerkmeister commented on 2019-04-05 21:54 (UTC) (edited on 2019-04-05 21:54 (UTC) by lucaswerkmeister)

Minor correction on @zootboy’s comment – the wildcards need to be quoted, otherwise they might be expanded by the shell, resulting in a “paths must precede expression” error from find.

Also, we might as well single-quote the sed script, run it on multiple files at once, and remove an unnecessary option:

find . \( -iname '*.cpp' -o -iname '*.h' \) -exec sed -i 's/FF_INPUT_BUFFER_PADDING_SIZE/AV_INPUT_BUFFER_PADDING_SIZE/' {} +