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

Git Clone URL: https://aur.archlinux.org/gnash-git.git (read-only, click to copy)
Package Base: gnash-git
Description: The GNU SWF Player based on GameSWF - git development version
Upstream URL: http://www.gnu.org/software/gnash/
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

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 \

etc.

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: https://github.com/shunonymous/gnash.

PKGBUILD for player, without browser plugin:

pkgname=gnash-git
_gitname=gnash
pkgver=0.8.11.r22402.geac6fd36c
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' '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')
options=('!emptydirs')
install=$_gitname.install
backup=('etc/gnashpluginrc')
source=('git+https://github.com/shunonymous/gnash'
        'jemalloc_gnash.patch')
sha256sums=('SKIP'
            '422aad0cf678f8427b1601e41e6440b3526872b640b6ccd3ab93ae656a9a8c8e')

pkgver() {
  cd $_gitname

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

prepare() {
  cd $_gitname

  chmod +x autogen.sh
  ./autogen.sh
}

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 \
    --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() {
  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 \
    "$pkgdir"/usr/share/applications/*.schemas

  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: http://ix.io/20vM

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: http://ix.io/20vO

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().
    Aborting...

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/' {} +

zootboy commented on 2018-11-11 00:06 (UTC) (edited on 2018-11-11 00:08 (UTC) by zootboy)

Quick & dirty fix for the current build failure. Add this after the cd line in prepare():

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

Iqualfragile commented on 2018-09-25 21:34 (UTC)

do you want to orphan the package, i could take over.

zootboy commented on 2018-06-10 18:29 (UTC) (edited on 2018-06-10 18:30 (UTC) by zootboy)

@Rulatir gcc6 is pulled in by xulrunner, which is needed to build the npapi browser plugin. If you don't need that, you can change this line in the PKGBUILD:

--with-npapi-plugindir=/usr/lib/mozilla/plugins \

to this:

--disable-npapi \

and remove xulrunner as a dep to skip those huge builds.

Rulatir commented on 2018-06-06 17:04 (UTC) (edited on 2018-06-06 17:05 (UTC) by Rulatir)

This package has insane build requirements including gcc6, which means that building it with all the requirements that also need to be built is a day of hard work. Any hope a binary might be provided?

frankspace commented on 2018-05-25 04:39 (UTC) (edited on 2018-05-31 12:44 (UTC) by frankspace)

@z3ntu: that patch fails for me for some reason (specifically, hunks 2 and 3). However, if I'm understanding what it does correctly, you can achieve the same thing simply by adding:

sed -i 's/FF_INPUT_BUFFER_PADDING_SIZE/AV_INPUT_BUFFER_PADDING_SIZE/g' libmedia/ffmpeg/MediaParserFfmpeg.cpp

sed -i 's/FF_INPUT_BUFFER_PADDING_SIZE/AV_INPUT_BUFFER_PADDING_SIZE/g' libmedia/ffmpeg/MediaHandlerFfmpeg.cpp

...immediately above the existing patch command in build(). Or, at least, that works for me.

z3ntu commented on 2018-05-12 20:41 (UTC)

Patch for the new ffmpeg: https://pastebin.com/U9HyE6FT

linka commented on 2016-10-16 15:16 (UTC)

I could successfully build the package, but installing it causes a following error: error: failed to commit transaction (conflicting files) gnash-git: /usr/lib64 exists on filesystem

daniel_shub commented on 2016-08-15 14:25 (UTC)

@christoph.gysin thank you. I had no problems with the new PKGBUILD.

christoph.gysin commented on 2016-08-13 08:10 (UTC)

The build_on_new_boost.patch is causing the failure, since it has already been applied upstream: http://git.savannah.gnu.org/cgit/gnash.git/commit/?id=1bdf822f69297f1053a0ba8afbdab93866edeffb

daniel_shub commented on 2016-08-11 23:22 (UTC)

I was unable to get this to build. Can anyone get it to build?

Captain_Rage commented on 2016-05-14 09:09 (UTC)

@FredBezies @Abogical Thank you for the clarification and update.

FredBezies commented on 2016-05-13 22:10 (UTC)

"Does this means no more gnash in the AUR? The package built and installed without any problems on my computer, and it works with Firefox 46.0.1. It would be nice to have some way to run old Flash applications" You can build it, but it is like a dead end project. Xulrunner is no more built by Mozilla. One day or another, it won't be usable anymore in Mozilla Firefox. "Are we left without any good alternative to proprietary Flash now?" In some way, yes. Lots of sites are "killing" flash support. You need flash ? Looks like the only working option will be in the long run : freshplayerplugin + chromium-pepper-flash.

Abogical commented on 2016-05-13 22:10 (UTC) (edited on 2016-05-13 22:15 (UTC) by Abogical)

@Captain_Rage lightspark would be your only hope now. https://aur.archlinux.org/packages/lightspark-git/

Captain_Rage commented on 2016-05-13 21:55 (UTC)

@FredBezies Does this means no more gnash in the AUR? The package built and installed without any problems on my computer, and it works with Firefox 46.0.1. It would be nice to have some way to run old Flash applications, since I need that for viewing http://www.virtualpathology.leeds.ac.uk/slides/library/ (which works perfectly with gnash-git). Are we left without any good alternative to proprietary Flash now?

FredBezies commented on 2016-05-06 08:59 (UTC)

Looks more and more as a dead-end project. XulRunner is not produced anymore. Cf https://bugzilla.mozilla.org/show_bug.cgi?id=1147577 -> "stop building XULRunner builds" Fixed in august 2015...

rustembuzz commented on 2016-05-06 06:27 (UTC)

Could dump-gnash be added? --enable-gui=sdl,gtk,dump \

kyak commented on 2016-03-08 16:55 (UTC)

When uninstalling: /usr/bin/bash: pre_remove: command not found

Abogical commented on 2016-03-08 12:32 (UTC)

@constroy I forgot to mention that this patch has been implemented in the gnash git repos and has fixed the bug: http://savannah.gnu.org/bugs/?47301 It works for me, you may need to redownload the git repositories.

constroy commented on 2016-03-08 06:16 (UTC)

The patch is not enough. (struct AVFrame seems not correct) I suggest using the ffmpeg2.8 in official repo Extra instead.

Abogical commented on 2016-03-01 19:46 (UTC)

The class and enums that gnash uses have been renamed since ffmpeg 3.0, I made a patch that simply renames them correctly. Link: https://savannah.gnu.org/bugs/download.php?file_id=36522 sha256sum: ddd5f60df63f1eca1db92adfc41784c3ae388bef6515c858f6ddfedba974585a

kyak commented on 2016-02-28 10:20 (UTC)

Same error as for @mnovick1988 here... ffmpeg/VideoDecoderFfmpeg.cpp:502:1: error: 'PixelFormat' does not name a type PixelFormat I use the ffmpeg from repos.

daniel_shub commented on 2016-02-01 14:31 (UTC)

The problem with that is the last "release" v 8.10 is from Feb 2012 (https://www.gnu.org/software/gnash/download.html). As far as I can tell, everything since then is lumped into the "master" branch.

applebloom commented on 2016-01-31 18:09 (UTC)

Hmm, you're right. It should download a certain release (tag).

daniel_shub commented on 2016-01-28 22:00 (UTC)

Shouldn't this be merged with the gnash package (https://aur.archlinux.org/packages/gnash/) since they both are built off the same source in essentially the same way?

daniel_shub commented on 2016-01-28 21:57 (UTC)

I do not see how this package is different from gnash-git: https://aur.archlinux.org/packages/gnash-git/. They both pull the same git source and have nearly identical build and package functions. As this package seems to technically be a git package with a made up version number, shouldn't the maintenance efforts be combine with gnash-git?

applebloom commented on 2016-01-24 18:53 (UTC)

I guess I could.

GI_Jack commented on 2016-01-22 01:20 (UTC)

#applebloom, do you want to maintain this package?

EndlessEden commented on 2016-01-06 02:22 (UTC) (edited on 2016-01-06 02:23 (UTC) by EndlessEden)

Gnash wont build with Git versions of FFMPEG. ffmpeg/VideoConverterFfmpeg.cpp:60:1: error: ‘PixelFormat’ does not name a type PixelFormat repeats.

GI_Jack commented on 2016-01-05 15:23 (UTC)

updated per applebloom's fix.

applebloom commented on 2015-12-28 03:04 (UTC) (edited on 2015-12-28 03:07 (UTC) by applebloom)

You can add this line in the package function to fix the problem: sed -i '36s/.*/ bool adjacent_tokens_only() const { return false; }/' libbase/accumulator.h The issue was that this function adjacent_tokens_only was added in an AB class in boost as pure virtual, so it needed to be implemented in a derived class in Gnash.

GI_Jack commented on 2015-12-19 04:45 (UTC)

your guess is as good as mine. If you figure it out let me know. I get the same errror.

mudrii commented on 2015-12-18 12:27 (UTC)

Getting error during compiilation Any Idea how to fix ? **************************************************************** In file included from /usr/include/agg2/agg_pixfmt_gray.h:38:0, from agg/Renderer_agg.cpp:124: /usr/include/agg2/agg_color_gray.h: In member function ‘const self_type& agg::gray16::demultiply()’: /usr/include/agg2/agg_color_gray.h:347:45: warning: enumeral and non-enumeral type in conditional expression [-Wextra] v = value_type((v_ > base_mask) ? base_mask : v_); ^ In file included from /usr/include/agg2/agg_path_storage.h:32:0, from agg/Renderer_agg.cpp:138: /usr/include/agg2/agg_bezier_arc.h: In member function ‘unsigned int agg::bezier_arc::vertex(double*, double*)’: /usr/include/agg2/agg_bezier_arc.h:75:36: warning: enumeral and non-enumeral type in conditional expression [-Wextra] return (m_vertex == 2) ? path_cmd_move_to : m_cmd; ^ CXX libgnashrender_la-GnashTexture.lo CXXLD libgnashrender.la make[2]: Leaving directory '/tmp/yaourt-tmp-mudrii/aur-gnash/src/gnash/librender' Making all in gui make[2]: Entering directory '/tmp/yaourt-tmp-mudrii/aur-gnash/src/gnash/gui' make all-recursive make[3]: Entering directory '/tmp/yaourt-tmp-mudrii/aur-gnash/src/gnash/gui' Making all in . make[4]: Entering directory '/tmp/yaourt-tmp-mudrii/aur-gnash/src/gnash/gui' CXX dump_gnash-gnash.o CXX dump_gnash-gui.o CXX dump_gnash-Player.o CXX dump_gnash-NullGui.o In file included from gnash.cpp:52:0: ../libbase/accumulator.h: In instantiation of ‘accumulator_type<T>* accumulator() [with T = int]’: gnash.cpp:285:36: required from here ../libbase/accumulator.h:103:36: error: invalid new-expression of abstract class type ‘accumulator_type<int>’ return new accumulator_type<T>(); ^ ../libbase/accumulator.h:31:7: note: because the following virtual functions are pure within ‘accumulator_type<int>’: class accumulator_type : public boost::program_options::value_semantic ^ In file included from /usr/include/boost/program_options/options_description.hpp:13:0, from /usr/include/boost/program_options.hpp:15, from gnash.cpp:30: /usr/include/boost/program_options/value_semantic.hpp:44:22: note: virtual bool boost::program_options::value_semantic::adjacent_tokens_only() const virtual bool adjacent_tokens_only() const = 0; ^ Makefile:2354: recipe for target 'dump_gnash-gnash.o' failed make[4]: *** [dump_gnash-gnash.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory '/tmp/yaourt-tmp-mudrii/aur-gnash/src/gnash/gui' Makefile:3605: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/tmp/yaourt-tmp-mudrii/aur-gnash/src/gnash/gui' Makefile:1760: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/tmp/yaourt-tmp-mudrii/aur-gnash/src/gnash/gui' Makefile:1162: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-mudrii/aur-gnash/src/gnash' Makefile:1070: recipe for target 'all' failed make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build gnash.

commented on 2015-11-09 16:21 (UTC)

Hello, As giorgian, I have the makepkg error. configure: WARNING: cache variable ac_cv_path_jemalloc_incl contains a newline Makefile:592: *** missing separator. Stop. How can I resolve it? I use a RPI 2 and try to install it with yaourt, edition of the PKGBUILD to add 'armv7h' and it follow the building until the makepkg error.

daniel_shub commented on 2015-10-28 17:19 (UTC)

This failed to build in a clean chroot on my 64-bit machine. It might be related to the upstream bug: https://savannah.gnu.org/bugs/?46148. My error is: In file included from gnash.cpp:52:0: ../libbase/accumulator.h: In instantiation of 'accumulator_type<T>* accumulator() [with T = int]': gnash.cpp:285:36: required from here ../libbase/accumulator.h:103:36: error: invalid new-expression of abstract class type 'accumulator_type<int>' return new accumulator_type<T>(); ^ ../libbase/accumulator.h:31:7: note: because the following virtual functions are pure within 'accumulator_type<int>': class accumulator_type : public boost::program_options::value_semantic ^ In file included from /usr/include/boost/program_options/options_description.hpp:13:0, from /usr/include/boost/program_options.hpp:15, from gnash.cpp:30: /usr/include/boost/program_options/value_semantic.hpp:44:22: note: virtual bool boost::program_options::value_semantic::adjacent_tokens_only() const virtual bool adjacent_tokens_only() const = 0; ^ Makefile:3390: recipe for target 'sdl_gnash-gnash.o' failed make[4]: *** [sdl_gnash-gnash.o] Error 1 make[4]: Leaving directory '/build/gnash-git/src/gnash/gui' Makefile:3605: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/build/gnash-git/src/gnash/gui' Makefile:1760: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/build/gnash-git/src/gnash/gui' Makefile:1162: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/build/gnash-git/src/gnash' Makefile:1070: recipe for target 'all' failed make: *** [all] Error 2

jose1711 commented on 2015-10-21 21:47 (UTC)

extremely quick and dirty fix that worked for me .. build() { cd gnash sed -i '27371s/--cxxflags/--cflags/' configure sed -i '27371s%"$% -I/usr/include/jemalloc"%' configure ./configure \ ..

aphirst commented on 2015-10-10 04:15 (UTC)

Fails to build for me. Log: http://sprunge.us/PSLP

giorgianb commented on 2015-09-29 01:09 (UTC)

@mytbk Thank you, the Arch community impresses.

mytbk commented on 2015-09-26 13:26 (UTC)

@giorgian: updated and it should build now.

giorgianb commented on 2015-09-23 15:25 (UTC)

makepkg fails, due to an invalid format for the generated Makefile. configure: WARNING: cache variable ac_cv_path_jemalloc_incl contains a newline Makefile:592: *** missing separator. Stop. Line 592: JEMALLOC_CFLAGS = Usage: /usr/bin/jemalloc-config <option> Options: --help | -h : Print usage. --version : Print jemalloc version. --revision : Print shared library revision number. --config : Print configure options used to build jemalloc. --prefix : Print installation directory prefix. --bindir : Print binary installation directory. --datadir : Print data installation directory. --includedir : Print include installation directory. --libdir : Print library installation directory. --mandir : Print manual page installation directory. --cc : Print compiler used to build jemalloc. --cflags : Print compiler flags used to build jemalloc. --cppflags : Print preprocessor flags used to build jemalloc. --ldflags : Print library flags used to build jemalloc. --libs : Print libraries jemalloc was linked against.

tmtvl commented on 2015-05-17 16:05 (UTC)

Added the dependencies for gdk-pixbuf2 and gdk-pixbuf, and tested the build in clean arch install. Thanks alfplayer!

alfplayer commented on 2015-05-16 23:59 (UTC)

Missing gdk-pixbuf2 and gdk-pixbuf in makedepends. The first is in Arch repos. The second is in AUR and depends on aur/gtk which depends on aur/glib.

tmtvl commented on 2015-02-07 18:21 (UTC)

And upstream fixed the error, so I updated the PKGBUILD.

tmtvl commented on 2015-01-28 09:27 (UTC)

Quick little update, should work now.

jsteel commented on 2014-11-02 12:51 (UTC)

Merging gnash-trunk-git into gnash-git. Bother were orphans; feel free to adopt.

FredBezies commented on 2014-10-29 06:57 (UTC)

Just using html5 video and audio rendering on compatible sites.

taro-k commented on 2014-10-29 01:44 (UTC)

Oh, why? Any security problem?

FredBezies commented on 2014-10-28 18:18 (UTC)

Don't use it anymore. Orphaning it.

taro-k commented on 2014-10-28 16:28 (UTC)

@tmtvl For current AUR version, gnash-trunk-git 0.8.11.r22195.g7349e86-1, by gcc version 4.9.1 20140903 (prerelease) (GCC), makepkg succeeded with your suggestion. thx.

taro-k commented on 2014-10-16 04:02 (UTC)

Hi, my system: gnash-trunk-git pkgver=0.8.11.r22230.g21b977d gcc version 4.9.1 20140903 (prerelease) (GCC) and makepkg fails with/without your suggestion. [code] CXX libgnashbase_la-GnashImageGif.lo GnashImageGif.cpp: In destructor 'virtual gnash::image::{anonymous}::GifInput::~GifInput()': GnashImageGif.cpp:123:23: error: too few arguments to function 'int DGifCloseFile(GifFileType*, int*)' DGifCloseFile(_gif); ^ In file included from GnashImageGif.cpp:27:0: /usr/include/gif_lib.h:183:9: note: declared here int DGifCloseFile(GifFileType * GifFile, int *ErrorCode); ^ Makefile:1257: recipe for target 'libgnashbase_la-GnashImageGif.lo' failed make[2]: *** [libgnashbase_la-GnashImageGif.lo] Error 1 make[2]: Leaving directory '/mnt/tmp/aur/gnash-trunk-git/src/gnash/libbase' Makefile:1145: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/mnt/tmp/aur/gnash-trunk-git/src/gnash' Makefile:1052: recipe for target 'all' failed make: *** [all] Error 2 [/code]

tmtvl commented on 2014-10-15 17:12 (UTC)

AS I said upstream, a possible workaround for the bug is to edit libcore/DragState.h:64: bool hasBounds() const { -return (_bounds); +return (NULL != _bounds); } On my system it works, but on a system running gcc 4.8.2 it failed, so anyone who runs into the problem could let me know if it helps, that would be useful.

FredBezies commented on 2014-09-11 15:43 (UTC)

giflib bug is fixed, but another one appeared : http://savannah.gnu.org/bugs/?43198 No update until this one is fixed.

FredBezies commented on 2014-08-13 06:44 (UTC)

@melkhatt : gnash doesn't build against last giflib. Will try with giflib-nox11, but as gnash is using x11 and any browser to work with it... I try downgrading giflib, but it will conflict with another packages. Will have to wait until gnash code is updated.

melkhatt commented on 2014-08-12 11:00 (UTC)

we need to downgrade "giflib" to compile. "giflib-nox11" from aur makes the deal

FredBezies commented on 2014-06-17 08:29 (UTC)

@taro : bug reported upstream. https://savannah.gnu.org/bugs/index.php?42574 We'll have to wait now.

taro-k commented on 2014-06-17 08:03 (UTC)

Hi, I got the following error while building the latest gnash. If any idea, please help! CXX libgnashbase_la-GnashImageGif.lo GnashImageGif.cpp: In destructor 'virtual gnash::image::{anonymous}::GifInput::~GifInput()': GnashImageGif.cpp:123:23: error: too few arguments to function 'int DGifCloseFile(GifFileType*, int*)' DGifCloseFile(_gif); ^ In file included from GnashImageGif.cpp:27:0: /usr/include/gif_lib.h:183:9: note: declared here int DGifCloseFile(GifFileType * GifFile, int *ErrorCode); ^ Makefile:1257: recipe for target 'libgnashbase_la-GnashImageGif.lo' failed make[2]: *** [libgnashbase_la-GnashImageGif.lo] Error 1 make[2]: Leaving directory '/mnt/tmp/aur/gnash-trunk-git/src/gnash/libbase' Makefile:1145: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/mnt/tmp/aur/gnash-trunk-git/src/gnash' Makefile:1052: recipe for target 'all' failed make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

oriba commented on 2014-06-04 14:54 (UTC)

@FredBezies: thanks, but as fas as I can see, base-devel was already installed. pacman said, it would be a reinstallation. Nevertheless I needed to install autoconf, automake and some others...

FredBezies commented on 2014-06-04 09:54 (UTC)

@oriba : sudo pacman -S base-devel You need this to use fully and quietly AUR packages.

oriba commented on 2014-06-03 20:14 (UTC)

No, I'm sorry, not cmake was mising, it was automake / autoconf... that is missing.

oriba commented on 2014-06-03 20:10 (UTC)

cmake is needed to install, so I think it must be mentioned in the makedepends-entry.

FredBezies commented on 2014-04-26 17:04 (UTC)

@snoxu : try these commands. yaourt -G gnash-trunk-git cd gnash-trunk-git makepkg -s After building : yaourt -U name of package.

snoxu commented on 2014-04-26 16:06 (UTC)

Getting some error about "Unable to read PKGBUILD": /tmp/xxx/aur-gnash-trunk-git/./tmp.CKfbnV5UQN: line 17: syntax error near unexpected token `(' /tmp/xxxxaur-gnash-trunk-git/./tmp.CKfbnV5UQN: line 17: `makedepends=(libtool mesa xulrunner pkgconfig boost git)' ==> ERRO: pkgname não pode estar vazio. ==> ERRO: pkgrel não pode estar vazio. ==> ERRO: não está disponível para a arquitectura 'x86_64'. Entenda que vários pacotes podem precisar de uma linha adicional ao seu PKGBUILD assim como arch=('x86_64'). Unable to read PKGBUILD

FredBezies commented on 2014-04-22 13:43 (UTC)

Cleaned up PKGBUILD. agg is deactived for now.

taro-k commented on 2014-04-02 09:11 (UTC)

@FredBezies Ya. So, I think you mean Youtube used to work but the latest version doesn't. I just wornder it is my personal problem or general one. thx!

FredBezies commented on 2014-04-02 09:06 (UTC)

@taro : It used to work. But Gnash is far from being a fully working opened flash tool.

taro-k commented on 2014-04-02 08:46 (UTC)

Dear FredBezies, thx for your comment and contribution. I have tried the latest version but it still doesn't work, producing error "The SWF Player plugin has crashed. Reload the page to try again." on Iceweasel and just crash on Midori. Is it working at your place?

FredBezies commented on 2014-04-01 10:11 (UTC)

gnash-trunk-git 0.8.10.r21946.ga3180f2-2 => enable-ffmpeg is enabled.

FredBezies commented on 2014-03-31 21:59 (UTC)

Disable ffmpeg a few versions ago because of build problems. Will try to enable it back asap.

LaloHao commented on 2014-03-31 21:43 (UTC)

For playing HD videos on youtube i guess you would change PKGBUILD:39 to --enable-media=ffmpeg \

taro-k commented on 2014-03-20 06:51 (UTC)

Thx, Mr. FredBezies, the build is also in success here with xulrunner 28.0+, althought Youtube doesn't work still... ("An error occured in first visit. Then, the browser freezes when reloaded..") However, the website of gnash says it can work with youtube..

FredBezies commented on 2014-03-19 20:40 (UTC)

Gnash should be built without problem when using xulrunner 28.0+

FredBezies commented on 2014-02-17 08:16 (UTC)

Well, great news. But getting it fixed with xulrunner 27.0.x will be better. And Gnash is sometimes very limited. Don't worry if you find not working sites.

taro-k commented on 2014-02-17 04:52 (UTC)

The bug seems to be fixed at the upstream, great. By the way, I was already succeeded in install of this build gnash-trunk-git 0.8.10.r21945.ga5c2e3b-1 with xulrunner 26.0 because of your comment at the upstream bbs ->Bug appeared when archlinux upgrade xulrunner to version 27.0 thanks for that! However, flash doesn't work at every website I visit like http://www.youtube.com http://www.google.com/finance?q=INDEXDJX:.DJI http://www.bloomberg.com/quote/SET:IND/chart Do you have any idea if it is my environment problem or gnash problem?

FredBezies commented on 2014-02-14 11:19 (UTC)

Cannot get it to build, even with this make line : make CXXFLAGS="$CXXFLAGS -Wc++0x-compat" CFLAGS="$CFLAGS -fPIC" Bug reported. Will have to wait for a fix. https://savannah.gnu.org/bugs/index.php?41587

taro-k commented on 2014-02-14 08:34 (UTC)

Wow, great, thx. Mine is community/xulrunner 27.0-1 [installed]

FredBezies commented on 2014-02-14 08:30 (UTC)

Looks like it is a bug related to xulrunner 27.0. Will try to see how to fix it.

taro-k commented on 2014-02-14 06:18 (UTC)

Thank you for your contribution. This is what I really want now! Then, I am trying to makepkg, however, encountered the following error. According to Stackoverflow, it may be fixed by a compiler argument, but this error happens only for me?! If not, please update this package, Mr. FredBezies ? http://stackoverflow.com/questions/10033373/c-error-nullptr-was-not-declared-in-this-scope-in-eclipse-ide GnashNPVariant.h: In constructor 'gnash::GnashNPVariant::GnashNPVariant()': /usr/include/xulrunner-27.0/npruntime.h:146:30: error: 'nullptr' was not declared in this scope (_v).value.objectValue = nullptr; \ ^ GnashNPVariant.h:120:9: note: in expansion of macro 'NULL_TO_NPVARIANT' NULL_TO_NPVARIANT(_variant); ^ plugin.cpp: In member function 'bool gnash::nsPluginInstance::processPlayerRequest()': /usr/include/xulrunner-27.0/npruntime.h:140:30: error: 'nullptr' was not declared in this scope (_v).value.objectValue = nullptr; \ ^ plugin.cpp:930:9: note: in expansion of macro 'VOID_TO_NPVARIANT' VOID_TO_NPVARIANT(result); ^ Makefile:873: recipe for target 'libgnashplugin_la-plugin.lo' failed make[4]: *** [libgnashplugin_la-plugin.lo] Error 1 make[4]: Leaving directory '/mnt/tmp/taro-tmp/aur/gnash-trunk-git/src/gnash/plugin/npapi' Makefile:962: recipe for target 'install-recursive' failed make[3]: *** [install-recursive] Error 1 make[3]: Leaving directory '/mnt/tmp/taro-tmp/aur/gnash-trunk-git/src/gnash/plugin/npapi' Makefile:667: recipe for target 'install-recursive' failed make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory '/mnt/tmp/taro-tmp/aur/gnash-trunk-git/src/gnash/plugin' Makefile:1143: recipe for target 'install-recursive' failed make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory '/mnt/tmp/taro-tmp/aur/gnash-trunk-git/src/gnash' Makefile:1442: recipe for target 'install' failed make: *** [install] Error 2 ==> ERROR: A failure occurred in package(). Aborting...

FredBezies commented on 2013-10-05 09:36 (UTC)

Cleaned up again PKGBUILD. Making it looking like official PKGBUILD : removed vaapi for now.

goviedo commented on 2013-10-05 04:49 (UTC)

Thanks for this, BUT!!!!!!!!!!!!!. My english is poor, but here i go... The PKGBUILD file has a problem, it has 2 lines with --enable-device , one for vaapi and other for X11. Seeing the makepkg -s process, it seem that only X11 is working, it will not compile with vaapi for folks like me that have a Radeon graphics card. and need vaapi support. Tomorrow i will see if works because my APU E-300 CPU is very damn slow and compilation took an eternity...

FredBezies commented on 2013-04-10 08:06 (UTC)

Cleaned up PKGBUILD

FredBezies commented on 2013-02-25 17:27 (UTC)

Updated PKGBUILD and add gnash.install file.

FredBezies commented on 2013-02-07 22:18 (UTC)

What about removing this package ? Gnash-trunk-git is still alive and working ;)

FredBezies commented on 2012-12-11 08:36 (UTC)

Thanks. Done.

kode54 commented on 2012-12-11 03:55 (UTC)

Also, --enable-hwaccel was changed to --enable-device.

kode54 commented on 2012-12-11 02:51 (UTC)

The patch has already been applied upstream and is no longer required.

FredBezies commented on 2012-11-17 10:48 (UTC)

Added patch to get it build against libboost 1.5.0. Found it official package.

FredBezies commented on 2012-08-11 09:19 (UTC)

Cleaned up a little PKGBUILD and disabled ffmpeg support for now. It breaks build process.

Unia commented on 2012-06-30 13:37 (UTC)

You can disable gconf by adding --without-gconf to the PKGBUILD

Unia commented on 2012-06-30 13:37 (UTC)

Oops, just read I should use the other package instead.

Unia commented on 2012-06-30 13:33 (UTC)

Found it! To compile this without gconf, add this line: --without-gconf \

Unia commented on 2012-06-30 13:27 (UTC)

gconf is, sadly, a dependency. I came here to tried this package since it didn't list it as dependency but it complains when compiling. Is there any possible way to exclude gconf? I don't need that

leo_rockway commented on 2012-05-10 03:29 (UTC)

I think gconf should be a makedepend and not a depend.

FredBezies commented on 2012-05-03 10:27 (UTC)

Added gconf as a depend.

A.J commented on 2012-05-03 10:18 (UTC)

yes gconf should be a dep

leo_rockway commented on 2012-01-23 13:48 (UTC)

I had to install gconf to build, which isn't in makedepends.

FredBezies commented on 2012-01-22 12:05 (UTC)

Modified it following your advices. I will try to make it cleaner asap.

kritztopf commented on 2012-01-22 10:53 (UTC)

I suggested making your package the new gnash-git, as -git packages should clone master/trunk by default and pkg-branch-git is only need if you want to checkout one specific branch.

kritztopf commented on 2012-01-22 10:29 (UTC)

Some remarks for the PKGBUILD: 1) Avoid package name references in pkgdesc - better: " The GNU SWF Player based on GameSWF - git development version" 2) Avoid replaces=(...), it causes unneccessary problems 3) Use "$srcdir" and "$pkgdir" instead of ${srcdir} and ${pkgdir} 4) Building starts automatically in "$srcdir", the first cd is unneccessary 5) Use the package() function to include every "make install" you do, that's what the function is for ;) 6) If you are the maintainer, declare yourself as such (maybe consider "foo at bar dot com" for email addresses) 7) Use namcap. It points out that you need desktop-file-utils and hicolor-icon-theme because gnash provides a .desktop file and icons. Because of this, you need a .install file to call update-desktop-database -q and gtk-update-icon-cache This is everything I see for now. Have fun :)

kritztopf commented on 2012-01-22 10:09 (UTC)

Your package seems to be more advanced, so I will file a deletion request for gnash-git at aur-general. Let me give you some hints on your PKGBUILD, though. See your comments gnash-trunk-git. :)

FredBezies commented on 2012-01-22 09:39 (UTC)

Simple question. What is the interest of this, because of gnash-trunk-git is already there ? https://aur.archlinux.org/packages.php?ID=39699 And with far less dependencies : agg boost-libs curl ffmpeg giflib gsm gstreamer0.10-base gtk2 libdca speex

FredBezies commented on 2011-12-09 21:24 (UTC)

Cleaned up a little again, remove obsolete configure options. It works better and better now ;)

FredBezies commented on 2011-10-10 10:18 (UTC)

Cleaned a little PKGBUILD. Add an option not ot build testsuite.

FredBezies commented on 2011-09-04 07:52 (UTC)

Don't try to build with a multilib system, it will crash.

jp-deplaix commented on 2011-07-16 19:28 (UTC)

There are a bug into your PKGBUILD... Change: 'gstreamer0.10-base boost-libs' -> 'gstreamer0.10-base' 'boost-libs'

haagch commented on 2011-05-27 23:59 (UTC)

Indeed multilib. But gnash should be native 64 bit, right? Thanks for fixing the git behaviour.

FredBezies commented on 2011-05-22 18:37 (UTC)

Cdh : multilib system ? I will modify the bad "behaviour" in next update.

haagch commented on 2011-05-22 18:10 (UTC)

WTF if [ -d ${_gitname} ]; then rm -rf ${_gitname} Why would you force a redownload when it is already downloaded? Anyway, aborted for me with ... /usr/bin/ld: skipping incompatible /usr/lib32/libpangocairo-1.0.so when searching for -lpangocairo-1.0 /usr/bin/ld: skipping incompatible /usr/lib32/libgdk_pixbuf-2.0.so when searching for -lgdk_pixbuf-2.0 /usr/lib32/libcairo.so: could not read symbols: File in wrong format I have no idea what it wanted to do in /usr/lib32 anyway.

FredBezies commented on 2011-03-27 07:18 (UTC)

added xulrunner as depend for gnash. Needed for 0.8.10-dev version. http://wiki.gnashdev.org/BuildBot

FredBezies commented on 2011-02-17 10:44 (UTC)

rafmav : cleaned up this PKGBUILD. Here is the new namcap log : namcap gnash-trunk-git-20110217-1-x86_64.pkg.tar.xz gnash-trunk-git W: Referenced library 'libgnashbase-0.8.9dev.so' is an uninstalled dependency gnash-trunk-git W: Referenced library 'libgnashcore-0.8.9dev.so' is an uninstalled dependency gnash-trunk-git W: Referenced library 'libgnashrender-0.8.9dev.so' is an uninstalled dependency gnash-trunk-git W: Referenced library 'libgnashmedia-0.8.9dev.so' is an uninstalled dependency gnash-trunk-git W: Referenced library 'libgnashvaapi-0.8.9dev.so' is an uninstalled dependency gnash-trunk-git W: Referenced library 'libgnashsound-0.8.9dev.so' is an uninstalled dependency Far better, don't you think so ? Thanks for the comment !

rafmav commented on 2011-02-17 08:43 (UTC)

namcap tells several erros: uninstalled dependencies, dependencies included but not needed, non-standard directories, not common-license... gnash-trunk-git 20110217-1 (jeu. févr. 17 08:41:31 CET 2011) ==> Installer gnash-trunk-git ? [O/n] ==> [A]fficher le contenu du paquet [V]érifier avec namcap ==> ------------------------------------------------------ ==> v gnash-trunk-git W: Referenced library 'libgnashbase-0.8.9dev.so' is an uninstalled dependency gnash-trunk-git W: Referenced library 'libgnashcore-0.8.9dev.so' is an uninstalled dependency gnash-trunk-git W: Referenced library 'libgnashrender-0.8.9dev.so' is an uninstalled dependency gnash-trunk-git W: Referenced library 'libgnashmedia-0.8.9dev.so' is an uninstalled dependency gnash-trunk-git W: Referenced library 'libgnashsound-0.8.9dev.so' is an uninstalled dependency gnash-trunk-git W: Dependency included and not needed ('atk') gnash-trunk-git W: Dependency included but already satisfied ('libxml2') gnash-trunk-git W: Dependency included and not needed ('ffmpeg') gnash-trunk-git W: Dependency included and not needed ('boost') gnash-trunk-git W: Dependency included and not needed ('pango') gnash-trunk-git W: Dependency included and not needed ('libxi') gnash-trunk-git W: Dependency included but already satisfied ('gstreamer0.10') gnash-trunk-git W: Dependency included and not needed ('gstreamer0.10-ffmpeg') gnash-trunk-git W: Dependency included and not needed ('gstreamer0.10-base-plugins') gnash-trunk-git W: Dependency included and not needed ('gstreamer0.10-good-plugins') gnash-trunk-git W: Dependency included and not needed ('gstreamer0.10-bad-plugins') gnash-trunk-git W: Dependency included and not needed ('gstreamer0.10-ugly-plugins') gnash-trunk-git W: File (usr/etc) exists in a non-standard directory. gnash-trunk-git W: File (usr/etc/gnashrc) exists in a non-standard directory. gnash-trunk-git W: File (usr/etc/gnashpluginrc) exists in a non-standard directory. gnash-trunk-git W: File (usr/lib/gnash/libgnashmedia.la) is a libtool file gnash-trunk-git W: File (usr/lib/gnash/libgnashcore.la) is a libtool file gnash-trunk-git W: File (usr/lib/gnash/libgnashsound.la) is a libtool file gnash-trunk-git W: File (usr/lib/gnash/libgnashrender.la) is a libtool file gnash-trunk-git W: File (usr/lib/gnash/libgnashbase.la) is a libtool file gnash-trunk-git E: GPLv3+ is not a common license (it's not in /usr/share/licenses/common/)

FredBezies commented on 2010-09-03 16:13 (UTC)

@Eothred : your PKGBUILD was nearly working. Just a typo to modify. And it works. Adopted and updated ;)

FredBezies commented on 2010-08-31 14:55 (UTC)

Will try your PKGBUILD asap.

Eothred commented on 2010-08-31 08:28 (UTC)

Ah, I'm sorry, forgot to modify the "time limit" on the pastebin I suppose. And I managed to delete the PKGBUILD :) Anyway, here is a new one: http://aur.pastebin.com/dXjhhmdH Note I changed the gitname variable since this new suggestion of mine delete the gitname folder... I think this works (I didn't go all the way to compilation, but configuration started and it looks OK).

FredBezies commented on 2010-08-27 05:26 (UTC)

As your pastebin was not more available, I tried this option, but it didn't work : ==> Connecting to GIT server... Cloning into gnash... remote: Counting objects: 2671, done. remote: Compressing objects: 100% (1534/1534), done. remote: Total 2671 (delta 1413), reused 1593 (delta 1048) Receiving objects: 100% (2671/2671), 6.47 MiB | 1.11 MiB/s, done. Resolving deltas: 100% (1413/1413), done. ==> GIT checkout done or server timeout. Cloning into gnash-build... fatal: attempt to fetch/clone from a shallow repository fatal: The remote end hung up unexpectedly Abandon...

FredBezies commented on 2010-08-25 14:55 (UTC)

I will look at it asap and adapt it from your PKGBUILD. Thanks for the tip.

Eothred commented on 2010-08-25 07:48 (UTC)

Good package, but could I propose to take advantage of the --depth option in git clone? It does take quite a while (and is quite an unnecessary load on the server) to clone the entire repo. See my suggested PKGBUILD here as an example: http://pastebin.ca/1924933