Package Details: gnash-git 0.8.11.r22276.g939bcfb-1

Package Base: gnash-git
Description: The GNU SWF Player based on GameSWF - git development version
Upstream URL: http://www.gnu.org/software/gnash/
Category: multimedia
Licenses: GPL3
Conflicts: gnash-common, gnash-gtk
Provides: gnash-common, gnash-gtk
Replaces: gnash-common, gnash-gtk
Submitter: smoge
Maintainer: tmtvl
Last Packager: tmtvl
Votes: 30
First Submitted: 2011-05-26 21:04
Last Updated: 2015-05-17 16:03

Latest Comments

Comment by tmtvl

2015-05-17 16:05

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

Comment by alfplayer

2015-05-16 23:59

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.

Comment by tmtvl

2015-02-07 18:21

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

Comment by tmtvl

2015-01-28 09:27

Quick little update, should work now.

Comment by jsteel

2014-11-02 12:51

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

Comment by FredBezies

2014-10-29 06:57

Just using html5 video and audio rendering on compatible sites.

Comment by taro-k

2014-10-29 01:44

Oh, why? Any security problem?

Comment by FredBezies

2014-10-28 18:18

Don't use it anymore. Orphaning it.

Comment by taro-k

2014-10-28 16:28

@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.

Comment by taro-k

2014-10-16 04:02

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]

Comment by tmtvl

2014-10-15 17:12

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.

Comment by FredBezies

2014-09-11 15:43

giflib bug is fixed, but another one appeared :

http://savannah.gnu.org/bugs/?43198

No update until this one is fixed.

Comment by FredBezies

2014-08-13 06:44

@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.

Comment by melkhatt

2014-08-12 11:00

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

Comment by FredBezies

2014-06-17 08:29

@taro : bug reported upstream. https://savannah.gnu.org/bugs/index.php?42574

We'll have to wait now.

Comment by taro-k

2014-06-17 08:03

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...

Comment by oriba

2014-06-04 14:54

@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...

Comment by FredBezies

2014-06-04 09:54

@oriba : sudo pacman -S base-devel

You need this to use fully and quietly AUR packages.

Comment by oriba

2014-06-03 20:14

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

Comment by oriba

2014-06-03 20:10

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

Comment by FredBezies

2014-04-26 17:04

@snoxu : try these commands.

yaourt -G gnash-trunk-git
cd gnash-trunk-git
makepkg -s

After building : yaourt -U name of package.

Comment by snoxu

2014-04-26 16:06

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

Comment by FredBezies

2014-04-22 13:43

Cleaned up PKGBUILD. agg is deactived for now.

Comment by taro-k

2014-04-02 09:11

@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!

Comment by FredBezies

2014-04-02 09:06

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

Comment by taro-k

2014-04-02 08:46

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?

Comment by FredBezies

2014-04-01 10:11

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

Comment by FredBezies

2014-03-31 21:59

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

Comment by LaloHao

2014-03-31 21:43

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

Comment by taro-k

2014-03-20 06:51

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..

Comment by FredBezies

2014-03-19 20:40

Gnash should be built without problem when using xulrunner 28.0+

Comment by FredBezies

2014-02-17 08:16

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.

Comment by taro-k

2014-02-17 04:52

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?

Comment by FredBezies

2014-02-14 11:19

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

Comment by taro-k

2014-02-14 08:34

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

Comment by FredBezies

2014-02-14 08:30

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

Comment by taro-k

2014-02-14 06:18

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...

Comment by FredBezies

2013-10-05 09:36

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

Comment by goviedo

2013-10-05 04:49

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...

Comment by FredBezies

2013-04-10 08:06

Cleaned up PKGBUILD

Comment by FredBezies

2013-02-25 17:27

Updated PKGBUILD and add gnash.install file.

Comment by FredBezies

2013-02-07 22:18

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

Comment by FredBezies

2012-12-11 08:36

Thanks. Done.

Comment by kode54

2012-12-11 03:55

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

Comment by kode54

2012-12-11 02:51

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

Comment by FredBezies

2012-11-17 10:48

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

Comment by FredBezies

2012-08-11 09:19

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

Comment by Unia

2012-06-30 13:37

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

Comment by Unia

2012-06-30 13:37

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

Comment by Unia

2012-06-30 13:33

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

Comment by Unia

2012-06-30 13:27

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

Comment by Artefact2

2012-05-19 13:34

You forgot to add extra/boost to the depedencies. Without it, the first call to CC failed with "DeviceGlue.h:27:34: fatal error: boost/shared_array.hpp: No such file or directory".

Comment by leo_rockway

2012-05-10 03:29

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

Comment by FredBezies

2012-05-03 10:27

Added gconf as a depend.

Comment by step-2

2012-05-03 10:18

yes gconf should be a dep

Comment by leo_rockway

2012-01-23 13:48

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

Comment by FredBezies

2012-01-22 12:05

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

Comment by kritztopf

2012-01-22 10:53

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.

Comment by kritztopf

2012-01-22 10:29

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 :)

Comment by kritztopf

2012-01-22 10:09

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. :)

Comment by FredBezies

2012-01-22 09:39

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

Comment by FredBezies

2011-12-09 21:24

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

Comment by FredBezies

2011-10-10 10:18

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

Comment by FredBezies

2011-09-04 07:52

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

Comment by jp-deplaix

2011-07-16 19:28

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

Comment by haagch

2011-05-27 23:59

Indeed multilib. But gnash should be native 64 bit, right?

Thanks for fixing the git behaviour.

Comment by FredBezies

2011-05-22 18:37

Cdh : multilib system ?

I will modify the bad "behaviour" in next update.

Comment by haagch

2011-05-22 18:10

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.

Comment by FredBezies

2011-03-27 07:18

added xulrunner as depend for gnash. Needed for 0.8.10-dev version.

http://wiki.gnashdev.org/BuildBot

Comment by FredBezies

2011-02-17 10:44

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 !

Comment by rafmav

2011-02-17 08:43

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/)

Comment by FredBezies

2010-09-03 16:13

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

Comment by FredBezies

2010-08-31 14:55

Will try your PKGBUILD asap.

Comment by Eothred

2010-08-31 08:28

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

Comment by FredBezies

2010-08-27 05:26

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...

Comment by FredBezies

2010-08-25 14:55

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

Comment by Eothred

2010-08-25 07:48

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