Package Details: lightspark-git 0.7.2.r461.g10b91ea-1

Git Clone URL: https://aur.archlinux.org/lightspark-git.git (read-only)
Package Base: lightspark-git
Description: An open source flash player implementation
Upstream URL: http://lightspark.sourceforge.net
Licenses: LGPL3
Conflicts: lightspark
Provides: lightspark
Submitter: heftig
Maintainer: dlandau
Last Packager: dlandau
Votes: 115
Popularity: 1.413293
First Submitted: 2010-05-18 17:00
Last Updated: 2016-02-20 19:09

Latest Comments

zman0900 commented on 2016-03-11 18:36

Build is failing with error:

src/scripting/flash/display/DisplayObject.h:120:7: error: 'virtual void lightspark::DisplayObject::constructionComplete()' is protected

Here is the full build log when building in chroot with -j1 added to make.

$ extra-x86_64-build -r /tmp/chroot
http://pastebin.com/AF6N5yuL

iomartin commented on 2016-02-09 22:33

I had to install package glibmm:
(...)
-- Checking for module 'glibmm-2.4'
-- Package 'glibmm-2.4' not found

Kiwii commented on 2016-01-12 23:15

Had to install the package sdl_mixer or I would get "fatal error: SDL/SDL_mixer.h: No such file or directory". Maybe add that to dependencies?

respiranto commented on 2015-10-04 14:34

Worked now, thank you.

dlandau commented on 2015-10-04 11:07

Don't know what to say to you. It works here, maybe there was a broken commit and it's been fixed? As I tested now the latest revision was 3b92db0.

respiranto commented on 2015-10-02 13:46

I am getting this error upon compiling:
/home/respiranto/Downloads/AUR/lightspark-git/src/lightspark/src/scripting/abc.cpp: In static member function ‘static void lightspark::ABCVm::Run(lightspark::ABCVm*)’:
/home/respiranto/Downloads/AUR/lightspark-git/src/lightspark/src/scripting/abc.cpp:1668:20: error: expected type-specifier
th->FPM->add(new llvm::DataLayoutPass());
^

dlandau commented on 2015-08-23 18:43

Updated!

sekret commented on 2015-07-20 13:21

Built lightspark-git just now and here's my namcap output

$ namcap lightspark-git-0.7.2.r342.g3574bc3-1-x86_64.pkg.tar.xz
lightspark-git W: Referenced library 'liblightspark.so.0.7' is an uninstalled dependency
lightspark-git E: Dependency rtmpdump detected and not included (libraries ['usr/lib/librtmp.so.1'] needed in files ['usr/lib/lightspark/liblightspark.so.0.7.2'])
lightspark-git W: Dependency libsigc++ included but already satisfied

The first one is strange, but the two others should be fixed!

labelle commented on 2015-07-17 02:08

It has an additional dependency, rtmpdump!

hugoroy commented on 2014-10-22 20:14

This is now fixed https://github.com/lightspark/lightspark/commit/3d55371ee7a2524274ff3cdc546c845203ccd8ea

hugoroy commented on 2014-10-17 12:00

I can't compile it: I get this (some bits translated from French)

[ 36%] Building CXX object src/CMakeFiles/spark.dir/scripting/abc.cpp.o
/tmp/yaourt-tmp-hrd/aur-lightspark-git/src/lightspark/src/scripting/abc.cpp:49:36: fatal error: llvm/Analysis/Verifier.h : No such file or directory
#include <llvm/Analysis/Verifier.h>
^
compilation over.
src/CMakeFiles/spark.dir/build.make:928: recipe for target 'src/CMakeFiles/spark.dir/scripting/abc.cpp.o' failed
make[2]: *** [src/CMakeFiles/spark.dir/scripting/abc.cpp.o] Error 1
CMakeFiles/Makefile2:154: recipe for target 'src/CMakeFiles/spark.dir/all' failed
make[1]: *** [src/CMakeFiles/spark.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2

sekret commented on 2014-09-24 07:44

Disowned, please treat it with care :)

sekret commented on 2014-09-21 06:46

Confirmed! But this has to go upstream! Wanna report it there?

neng commented on 2014-09-20 23:03

aur-lightspark-git/src/lightspark/src/scripting/abc.cpp:49:36: fatal error: llvm/Analysis/Verifier.h: No such file or directory

compilation terminated.
src/CMakeFiles/spark.dir/build.make:928: recipe for target 'src/CMakeFiles/spark.dir/scripting/abc.cpp.o' failed
make[2]: *** [src/CMakeFiles/spark.dir/scripting/abc.cpp.o] Error 1
CMakeFiles/Makefile2:154: recipe for target 'src/CMakeFiles/spark.dir/all' failed
make[1]: *** [src/CMakeFiles/spark.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2

sekret commented on 2014-07-30 22:52

Adopted and updated. Please give word for anything missing. Strangely the browser plugin builds even without xulrunner. I built it in a chroot environment to be sure.

FredBezies commented on 2014-05-18 09:31

You should try this PKGBUILD, far cleaner and working : http://pastebin.com/qk1zqCxg

apaugh commented on 2013-11-11 21:52

Is anyone else getting this error? The build seems to have a problem with my version of freetype. Could this be an x64 issue? I haven't been able to figure it out. I tried an older snapshot of the repo (fff7e63) and I have the same issue.

Linking CXX shared library ../x86_64/Release/lib/liblightspark.so
/usr/lib64/i386-linux-gnu/libfreetype.so: could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status
src/CMakeFiles/spark.dir/build.make:2709: recipe for target 'x86_64/Release/lib/liblightspark.so.0.7.2' failed
make[2]: *** [x86_64/Release/lib/liblightspark.so.0.7.2] Error 1
CMakeFiles/Makefile2:157: recipe for target 'src/CMakeFiles/spark.dir/all' failed
make[1]: *** [src/CMakeFiles/spark.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2

cpatrick08 commented on 2013-08-21 22:53

might have gotten the errer from migrating to parabola from arch. reinstalled with parabola iso and don't have the problem anymore

mmm commented on 2013-08-21 20:59

hmm..just tested and I cant confirm your troubles, builds fine here (x86_64). Are you using updated versions for all progs?
btw, you can test: download the PKGBUILD from this site, install all dependencies and run makepkg. also, does it create a dir, what is its name?

cpatrick08 commented on 2013-08-21 19:57

get following error message when I run makepkg ==> Making package: lightspark-git 20130215-2 (Wed Aug 21 14:56:48 CDT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Cloning lightspark git repo...
==> Validating source files with md5sums...
lightspark ... Skipped
==> Extracting sources...
-> Creating working copy of lightspark git repo...
/usr/bin/makepkg: line 1387: cd: lightspark: No such file or directory
==> ERROR: Failed to change to directory lightspark
Aborting...
here is my /usr/bin/makepkg http://pastebin.com/FerS56up

dlh commented on 2013-08-13 15:36

I have the same issue as @the-kyle

kyle commented on 2013-08-09 17:29

Perhaps I'm missing a package somehow, but the current version fails to build on my system. I am including only one of many similar errors here. Hopefully someone can help.

In file included from /tmp/packerbuild-1000/lightspark-git/lightspark-git/src/lightspark/src/scripting/flash/net/flashnet.h:29:0,
from /tmp/packerbuild-1000/lightspark-git/lightspark-git/src/lightspark/src/swf.h:32,
from /tmp/packerbuild-1000/lightspark-git/lightspark-git/src/lightspark/src/tiny_string.cpp:23:
/tmp/packerbuild-1000/lightspark-git/lightspark-git/src/lightspark/src/backends/decoder.h:31:30: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ was not declared in this scope
#define MAX_AUDIO_FRAME_SIZE AVCODEC_MAX_AUDIO_FRAME_SIZE
^
/tmp/packerbuild-1000/lightspark-git/lightspark-git/src/lightspark/src/backends/decoder.h:202:19: note: in expansion of macro ‘MAX_AUDIO_FRAME_SIZE’
int16_t samples[MAX_AUDIO_FRAME_SIZE/2];
^
/tmp/packerbuild-1000/lightspark-git/lightspark-git/src/lightspark/src/backends/decoder.h: In constructor ‘lightspark::AudioDecoder::FrameSamples::FrameSamples()’:
/tmp/packerbuild-1000/lightspark-git/lightspark-git/src/lightspark/src/backends/decoder.h:207:26: error: ‘samples’ was not declared in this scope
FrameSamples():current(samples),len(0),time(0){}
^
/tmp/packerbuild-1000/lightspark-git/lightspark-git/src/lightspark/src/backends/decoder.h: At global scope:
/tmp/packerbuild-1000/lightspark-git/lightspark-git/src/lightspark/src/backends/decoder.h:283:2: error: ‘CodecID’ does not name a type
CodecID LSToFFMpegCodec(LS_AUDIO_CODEC lscodec);
^
make[2]: *** [src/CMakeFiles/spark.dir/swftypes.cpp.o] Error 1

FredBezies commented on 2013-07-20 14:42

Cleaner PKGBUILD : http://pastebin.com/wvwE1vwy

Feel free to use it !

mmm commented on 2013-04-12 16:41

upgraded PKGBUILD to take advantage of new makepkg's ability of VCS packages! http://allanmcrae.com/2012/08/changes-to-vcs-packaging-support-in-makepkg/

mmm commented on 2013-04-12 16:37

@GuestOne: git/svn and other VCS packages are not "updated", it depends on you, when you build it, a fresh upstream version is used.
Short: wanna new? rebuild!

mmm commented on 2013-04-12 16:37

@GuestOne: git/svn and other VCS packages are not "updated", it depends on you, when you build it, a fresh upstream version is used.
Short: wanna new? rebuild!

heftig commented on 2013-03-29 23:08

No, sorry. Lost interest.

GuestOne commented on 2013-03-29 23:05

Is this package updated or not?

xrchz commented on 2012-05-22 17:24

should the optional dep be pulseaudio rather than libpulse?

heftig commented on 2011-10-30 00:33

Won't do anything about that, sorry. Wait for upstream to fix their LLVM support.

Anonymous comment on 2011-10-29 21:41

http://pastebin.com/kUGRYYuz

dWolf commented on 2011-07-20 15:33

current lightsparc-git don't work with the arch's ffmpeg package. For me it just crashes on youtube or vimeo.

td123 commented on 2011-02-02 18:18

librtmp is a new dependency for lightspark, I don't think there is a package for it

td123 commented on 2011-02-02 05:02

Hello, I'm getting the following error when building this package; http://pastie.org/1520530

anoknusa commented on 2011-01-18 21:29

I haven't had any problem building Lightspark; however, YouTube videos state that the plugin is outdated. Replacing it with flashhplugin-prerelease takes care of this, but I'd rather go to OSS route. Any idea why this is? I didn't see anything mentioned on the Lightspark homepage or Launchpad.

td123 commented on 2011-01-05 18:29

I have worked through getting lightspark to correctly build http://projects.archlinux.org/svntogit/community.git/tree/lightspark/trunk/PKGBUILD
You can really just copy+paste the code, but it does need to be statically linked against libxml++ 2.33.1 or it has to depend on that version (which no package exists for it right now)
Otherwise if you don't, there will be lots of random crashes related to libxml++.

td123 commented on 2010-11-08 20:57

This package fails to compile, please see the lightspark PKGBUILD to see how it is worked around there.

cookiecaper commented on 2010-11-07 09:44

See the following thread:
http://groups.google.com/group/llvm-dev/browse_thread/thread/ca747ca9c750ca26/dc50cd293ee3efc7?show_docid=dc50cd293ee3efc7

It appears that LLVM 2.8 has an incompatibility with GCC 4.5 and will sometimes cause this error. It is fixed in LLVM SVN, so you'll either need to upgrade to LLVM SVN or downgrade to 2.7. The guys in #llvm say that they usually don't do point releases.

Anonymous comment on 2010-10-19 08:38

Ftr, this package apparently won't compile with the current LLVM (2.8). You need to revert to 2.7 for it to compile.

Anonymous comment on 2010-10-15 19:31

fails in compilation

http://pastebin.com/075ZnE8J

td123 commented on 2010-09-25 04:37

Ya, libxml++ was recently used to handle security policies in flash. please add libxml++ to the depends array

Anonymous comment on 2010-09-24 12:14

I got errors trying to build this one from yaourt.
Installing libxml++ fixed it. I guess it should be in the dependencies?
Thnx for the pkg

td123 commented on 2010-09-16 19:18

@skodabenz
Please finish reading the second sentence in the link you posted. PA is still required, but there is now support for a plugin architecture which makes it possible for an alsa backend.

Anonymous comment on 2010-09-14 16:06

Seems like Alsa audio backend is now supported http://allievi.sssup.it/techblog/?p=597 . Pulseaudio dependency can be dropped.

Anonymous comment on 2010-09-12 13:34

requires boost as a build dependency

td123 commented on 2010-09-12 02:51

please add a .install file (an example can be found on the from the lightspark package) because a .desktop and png icons were added upstream

td123 commented on 2010-08-19 19:06

upstream repo has changed to git://github.com/lightspark/lightspark.git

heftig commented on 2010-08-10 23:57

Not out of date. Still builds.

heftig commented on 2010-07-21 20:13

Leftover from inspection, sorry.

Anonymous comment on 2010-07-21 20:12

Uh, why is there a zsh command in this PKGBUILD?

kfgz commented on 2010-07-21 14:32

Please add line conflicts=(lightspark)

kfgz commented on 2010-07-21 14:27

Please add line conflicts=(lightspark)

nTia89 commented on 2010-07-21 09:35

i've installed lightspark but how can i enable it in firefox or other browser ?
thks

heftig commented on 2010-07-20 22:43

Done.

intgr commented on 2010-07-20 21:55

Lightspark now uses fontconfig to locate fonts, so ttf-liberation is no longer a dependency; please remove.

heftig commented on 2010-07-20 20:58

Seems to play youtube videos, but controls don't work.

flamelab commented on 2010-07-20 20:28

Is it usable right now since it supports fontconfig (no liberation font issue) ?

rnestler commented on 2010-07-18 10:44

If I check the created package with namcap I get the following errors and warnings:

lightspark-git E: Dependency detected and not included (libffi) from files ['usr/lib/liblightspark.so.0.4', 'usr/lib/liblightspark.so.0.4.2', 'usr/lib/liblightspark.so']
lightspark-git W: Referenced library 'liblightspark.so.0.4' is an uninstalled dependency
lightspark-git W: Dependency included but already satisfied ('mesa')
lightspark-git W: Dependency included but already satisfied ('sdl')
lightspark-git W: Dependency included but already satisfied ('zlib')
lightspark-git W: Dependency included and not needed ('ttf-liberation')
lightspark-git W: Dependency included but already satisfied ('pcre')

The first one sounds like a real issue.

heftig commented on 2010-06-21 19:37

Patched. Builds again, provided you have glew-1.5.4 (which should be released shortly).

juantascon commented on 2010-06-21 14:40

hi, I am getting this error compiling:

usr/bin/ld: cannot find -lLLVMLinker

you can see the whole log here: http://pastebin.com/0xr85zHV

heftig commented on 2010-06-17 21:04

It's not in any usable state yet. Some very simple SWFs actually manage to not crash.

flamelab commented on 2010-06-17 20:44

Have you actually make it work ? It always crashes on my 64bit system.

heftig commented on 2010-06-17 20:26

Updated.

cookiecaper commented on 2010-06-17 18:56

See http://pastie.org/1008971 for a pkgbuild that gets around the lib64 errors.

cookiecaper commented on 2010-06-17 18:39

Now getting the same as MadFish :(

Anonymous comment on 2010-06-17 17:19

Can't build on x86_64. PKGBUILD wants to use "lib", while it is being built to "lib64".

chmod: cannot access `/home/madfish/temp/lightspark/pkg/usr/lib/mozilla/plugins/liblightsparkplugin.so': No such file or directory
==> ERROR: Packaging Failed.
Aborting...

heftig commented on 2010-06-17 10:11

Install libvpx from [extra].

flamelab commented on 2010-06-17 09:06

Anyone else with vp8 errors during compiling ?

heftig commented on 2010-06-17 03:48

The issue is that Arch Linux's GLEW doesn't ship with a pkgconfig file. Anyway, patched.

Anonymous comment on 2010-06-17 00:33

You can kludge it into building by using the PKGBUILD here - http://aur.pastebin.com/0juFP9RH

cookiecaper commented on 2010-06-16 22:23

I'm getting the same as intgr and Mystal. Using stable packages on x86-64.

cookiecaper commented on 2010-06-16 22:23

I'm getting the same as intgr and Mystal. Using stable packages.

intgr commented on 2010-06-16 17:27

@Mystal
Same problem here (x86_64, testing, community-testing). They probably broke their git.

Mystal commented on 2010-06-16 17:23

I'm don't believe I'm doing anything wrong, but for some reason cmake cannot find glew. I have it installed, double checked that. Any ideas?


...
-- Found Threads: TRUE
-- Found CURL: /usr/lib/libcurl.so
-- Found ZLIB: /usr/lib/libz.so
-- checking for modules 'gl;libpcrecpp;libavcodec;libavutil;ftgl;x11;libpulse;glu;fontconfig;glew'
-- package 'glew' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:259 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:311 (_pkg_check_modules_internal)
CMakeLists.txt:51 (pkg_check_modules)
...

heftig commented on 2010-06-14 23:00

Ah whoops, that was a typo. Sorry :)

Anonymous comment on 2010-06-14 22:11

Looks like ttf-liberation can be taken out as a dependency:
http://github.com/alexp-sssup/lightspark/commit/5eff3c66883e83b875b6a4fc9fbd037f9c8eeea

Also I can't see why gtk1 is required? I haven't tried to build this yet though as I don't currently want pulseaudio.

Anonymous comment on 2010-06-12 10:05

For those having crashs, not working on 64bit or wondering why ttf-liberation is mandatory please read this : https://bugs.launchpad.net/lightspark/+bug/590771

heftig commented on 2010-06-05 23:19

Depends on it. At least according to the included dpkg control file.

intgr commented on 2010-06-05 22:35

Why the dependency on ttf-liberation? I don't want ttf-liberation installed, Adobe Flash works fine without it. It makes no sense.

daimonion commented on 2010-05-20 09:32

Not working for me on 64bit architecture.

heftig commented on 2010-05-19 16:38

Looks like logging has been enabled for Release as well.

Adding glproto to makedepends.

Anonymous comment on 2010-05-19 09:38

+1 for glproto in makedepends, no matter if it's documented as makedependency or not, it's definitely needed.

Anonymo commented on 2010-05-19 06:33

losinggeneration, you can create a package that you maintain called lightspark-debug or something

losinggeneration commented on 2010-05-18 20:46

Fair enough. You're free to do what you want with your package, but since you yourself admit the package isn't usable (because of crashes), it'd make sense to me to have it as the default with debugger symbols so useful backtraces could be submitted upstream and change it to Release when it does become usable.

heftig commented on 2010-05-18 20:42

Not for general use (should this become usable). If you want to debug it, change it yourself.

losinggeneration commented on 2010-05-18 20:42

bah, it's actually RelWithDebInfo not, DebugWithRelInfo

losinggeneration commented on 2010-05-18 20:39

since the package is from Git, and the source was just recently declared beta, wouldn't it be better to have CMAKE_BUILD_TYPE be something more like Debug, or DebugWithRelInfo (rather than Release)? (sorry for the edits...)

losinggeneration commented on 2010-05-18 20:38

pkgconfig is a build dependency

Also, I don't know about baghera's suggestion, I don't have glproto and it seems to compile just fine.

One final thing, since the package is from Git, and the source was just recently declared beta, wouldn't it be better to have CMAKE_BUILD_TYPE be something more like Debug, or DebugWithRelInfo (rather than Release)?

heftig commented on 2010-05-18 20:38

The glproto headers aren't referenced anywhere in the source.

losinggeneration commented on 2010-05-18 20:32

strange, it builds and runs in my arch64 chroot, but not in my arch32 chroot

losinggeneration commented on 2010-05-18 20:27

Also, I don't know about baghera's suggestion, I don't have glproto and it seems to compile just fine.

losinggeneration commented on 2010-05-18 20:26

pkgconfig is a build dependency

Anonymous comment on 2010-05-18 20:13

This build s successfully for i686 by changing the 'arch' in the PKGBUILD. Have not tested it in use as yet, however.

Duologic commented on 2010-05-18 18:23

anyone has a fix or workaround for x64?

flamelab commented on 2010-05-18 17:53

It crashes here as well (x86_64).

baghera commented on 2010-05-18 17:20

You should add glproto to makedeps, it doesn't build without it.

heftig commented on 2010-05-18 17:00

Builds, but crashes. Needs more research.