Bug 105823 - media-libs/swfdec-0.4.4
|
Bug#:
105823
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: pclouds@gentoo.org
|
Reported By: sveinung@HotPOP.com
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: media-libs/swfdec-0.4.4
|
|
Keywords: EBUILD
|
|
Status Whiteboard:
|
|
Opened: 2005-09-13 10:46 0000
|
swfdec, when compiled against Mozilla, still will work in Firefox. However,
Firefox can not find it. I suggest to create a link from
/usr/lib/mozilla/plugins/libswfdecmozilla.so to
/usr/lib/mozilla-firefox/plugins/libswfdecmozilla.so or to place the plugin in a
place were Firefox will search for it.
Reproducible: Always
Steps to Reproduce:
swfdec is gonna be p.masked today. zaheerm will be looking into it monday when
he gets back from england to see about making it compatible with seamonkey and
or firefox.
I've put this in package.mask -- I'll let Jory paste irc snippets from upstream
into a comment to more fully explain.
# Seemant Kulleen <seemant@gentoo.org> (26 Oct 2006)
# swfdec is stale, according to upstream as well, and these need to follow
# mozilla out of the door.
media-libs/swfdec
media-plugins/gst-plugins-swfdec
Time to die... :)
How about changing the bug title and restoring the ebuilds (could be even
pmasked, but it would be very nice) as it seems that swfdec's development is
active again?
(In reply to comment #12)
> I made and uploaded git ebuilds to http://www.mundurat.net/kaxero/swfdec
>
> I'm able to see youtube videos on a 64bit machine :)
>
swfdec-mozilla ebuild needs to be adapted to use seamonkey instead of mozilla
Thanks :-)
I get the following error when I try to merge swfdec-0.4.3 (same with GIT
version):
[ebuild N ] media-libs/swfdec-0.4.3 USE="alsa ffmpeg gtk mad" 0 kB
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=k8 -O2
-pipe -msse3 -o swfplay -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0 ../libswfdec/libswfdec-0.4.la -lmad
-lgobject-2.0 -lglib-2.0 -lz swfplay-swfdec_slow_loader.o swfplay-swfplay.o
libswfdecui.la
x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -msse3 -o .libs/swfplay
swfplay-swfdec_slow_loader.o swfplay-swfplay.o
../libswfdec/.libs/libswfdec-0.4.so ./.libs/libswfdecui.a
/usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so
/usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so -lrt
/var/tmp/portage/media-libs/swfdec-0.4.3/work/swfdec-0.4.3/libswfdec/.libs/libswfdec-0.4.so
/usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so
/usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libfontconfig.so
/usr/lib64/libfreetype.so /usr/lib64/libxml2.so /usr/lib64/libglitz.so
/usr/lib64/libpng12.so /usr/lib64/libXrender.so /usr/lib64/libX11.so
/usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libgmodule-2.0.so
-lavcodec /usr/lib64/libdts.so /usr/lib64/libmp3lame.so -lxvidcore
/usr/lib64/libfaac.so -lstdc++ /usr/lib64/libmp4v2.so /usr/lib64/libfaad.so
/usr/lib64/libvorbisenc.so -lavutil /usr/lib64/libvorbis.so
/usr/lib64/libogg.so /usr/lib64/liboil-0.3.so /usr/lib64/libmad.so
/usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -lz
/usr/lib64/libasound.so -lm -ldl -lpthread
../libswfdec/.libs/libswfdec-0.4.so: undefined reference to
`avcodec_decode_audio2'
collect2: ld returned 1 exit status
make[3]: *** [swfplay] Error 1
make[3]: se sale del directorio
`/var/tmp/portage/media-libs/swfdec-0.4.3/work/swfdec-0.4.3/player'
make[2]: *** [all] Error 2
make[2]: se sale del directorio
`/var/tmp/portage/media-libs/swfdec-0.4.3/work/swfdec-0.4.3/player'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio
`/var/tmp/portage/media-libs/swfdec-0.4.3/work/swfdec-0.4.3'
make: *** [all] Error 2
!!! ERROR: media-libs/swfdec-0.4.3 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3058: Called src_compile
swfdec-0.4.3.ebuild, line 37: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/tmp/portage/media-libs/swfdec-0.4.3/temp/build.log'.
!!! This ebuild is from an overlay: '/usr/local/portage'
Thanks a lot
Try disabling the epatch on the ebuild, should work...
Which version of ffmpeg do you have?
Yes, it compiles without patch.
I am using:
[ebuild R ] media-video/ffmpeg-0.4.9_p20061016
Thanks a lot :-)
It works fine in firefox, but is not detected by seamonkey. I think that this
is because plugins are installed in /usr/lib/mozilla-firefox/plugins instead of
/opt/netscape/plugins
Created an attachment (id=114099) [details]
more complete swfdec-mozilla-0.4.3
This one will install the plugin to $libdir/nsbrowser/plugins, which should
work with both seamonkey and firefox. Also actually makes the 'alsa' USE flag
do something, tells it not to build the static library, and uses 'make install'
directly rather than 'emake install' (see the portage ebuild guidelines).
It now works on seamonkey :-D
But I have a dubt, Are really needed seamonkey and firefox USE flags? I think
that they could be removed :-|
Thanks a lot
I don't get swfdec-mozilla to work with Konqueror. What's wrong?
Peter
You need to configure konqueror for searching the plugin in
/usr/lib64/nsbrowser/plugins
May be better change the ebuild for installing the plugin in
/opt/netscape/plugins :-/
Thanks
Created an attachment (id=114489) [details]
swfdec-mozilla-0.4.3.ebuild mozilla plugin test
Installs into /usr/$libdir/nsbrowser/plugins
From what i see the plugin doesn't work in Konqueror yet, not sure if it's a
bug agains nsplugins or swfdec-mozilla.
Making install in various
i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -pipe -fomit-frame-pointer -o
.libs/swfdec-extract swfdec_extract-swfdec-extract.o
../libswfdec/.libs/libswfdec-0.4.so /usr/lib/libmad.so
/usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -lz /usr/lib/libcairo.so
../libswfdec/.libs/libswfdec-0.4.so: undefined reference to
`oil_function_class_ptr_colorspace_argb'
../libswfdec/.libs/libswfdec-0.4.so: undefined reference to
`oil_function_class_ptr_merge_linear_u8'
collect2: ld returned 1 exit status
make[2]: *** [swfdec-extract] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
!!! ERROR: media-libs/swfdec-0.4.3 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_install
ebuild.sh, line 1060: Called qa_call 'src_install'
environment, line 3043: Called src_install
swfdec-0.4.3.ebuild, line 39: Called die
emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r1,
2.6.19-beyond2 i686)
=================================================================
System uname: 2.6.19-beyond2 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.12.9
Timestamp of tree: Mon, 26 Mar 2007 15:20:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python: 2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r6
dev-util/confcache: 0.4.2-r1
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17.50.0.5
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool: 1.5.23b
virtual/os-headers: 2.6.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/php/apache1-php5/ext-active/
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/portage /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg ccache digest distlocks fixpackages keepwork
metadata-transfer parallel-fetch prelink sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://gentoo.prz.edu.pl http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="pl"
MAKEOPTS="-j2 -s"
PKGDIR="/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/package.banned"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/betacomp-overlay /usr/local/kadu
/usr/local/portage/xeffects/trunk /usr/local/portage/xeffects/experimental
/usr/local/xgl-overlay /usr/local/xgl-coffee /usr/local/ifolder-overlay
/usr/local/eiffel-ebuilds"
SYNC="rsync://gentoo.prz.edu.pl/gentoo-portage"
USE="3dnow 3dnowext 3gp X Xaw3d aac adsl aiglx alsa apache2 apic apm atm avi
berkdb beryl bitmap-fonts branding cairo cdparanoia cdr cdrom cgwd cli cmov
compiz-quinnstorm cracklib crypt csm cups curl cx8 dbus de dhcp divx4linux dri
dv dvd dvdr dvdread dvi eds emboss encode esd extramodules extras fam firefox
foomaticdb fortran fpu fxsr gdbm gg gif glitz gnome gpm gstreamer gtk gtk2 hal
halimlib hddtemp iconv imlib ipv6 irssi isdnlog java jpeg kde kerberos kqemu
ldap libg++ libwww lirc macmenu mad mca mce midi mikmod mmx mmx2 mmxext motif
mp3 mpeg mpeg2 mplayer msr mtrr mysql ncurses network nls nptl nptlonly ntfs
nvidia ogg oggvorbis opengl opera oss pae pam pat pcre pdf perl pge pic png
ppds ppdsdvdr pppd pse pse36 python qt3 qt4 quicktime readline reflection sdl
seamonkey sep serial server session speedup spell spl sse ssl syscall tcpd tiff
transcode truetype truetype-fonts tsc type1-fonts udev unicode usb vme vmware
voice vorbis win32codecs wmf wxGTK wxgtk1 x86 xcomposite xgl xinerama xml xml2
xorg xprint xv zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym
copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat
linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl"
USERLAND="GNU" VIDEO_CARDS="nvidia vmware nv vga vesa"
Unset: CTARGET, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
I think that you should remove seamonkey and mozilla-firefox dependency, they
are not needed by swfdec (for example, you can install epiphany-2.18 without
mozilla-firefox (using xulrunner instead))
(In reply to comment #29)
> Created an attachment (id=115400) [edit] [details]
> New ebuild, working at PS3 Linux
>
> This updates ffmpeg and liboil to more recent versions and not get errors on
> compile time, tested at ppc 32ul and 64ul
>
It works (with ffmpeg-fix.patch) in Apple G4 (PowerPC). Please, add ~ppc to
KEYWORDS
0.4.4 has just been released:
http://swfdec.freedesktop.org/download/swfdec/0.4/swfdec-0.4.4.tar.gz
Zaheer Abbas Merali: Are you really the maintainer or should I reassign the bug
to "maintainer-wanted", seems that you were swfdec maintainer before dropping
it from portage tree, but I am not sure if you are the maintainer now...
Thanks for information
Broke down for me, log and emerge --info can be found here:
http://roslin.kicks-ass.net/~lazy_bum/logs/config.log
http://roslin.kicks-ass.net/~lazy_bum/logs/emerge-info.log
And here's some console output:
checking dependency style of i686-pc-linux-gnu-gcc... (cached) gcc3
checking for ANSI C header files... (cached) yes
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for PANGO... yes
checking for GTK... yes
checking for ALSA... yes
configure: audio backend: alsa
checking for LIBOIL... yes
checking for CAIRO... yes
checking for mad_decoder_finish in -lmad... yes
checking for FFMPEG... yes
checking for GST... no
configure: error: Couldn't find GStreamer 0.10.11.
!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/media-libs/swfdec-0.4.4/work/swfdec-0.4.4/config.log
!!! ERROR: media-libs/swfdec-0.4.4 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3104: Called src_compile
swfdec-0.4.4.ebuild, line 36: Called econf
ebuild.sh, line 577: Called die
What gstreamer version have you installed?
Created an attachment (id=117654) [details]
swfdec-0.4.4.ebuild
Gstreamer USE flag and dependency added. ffmpeg, mad and gtk USE flags are
added to src_compile() too. Test the new ebuild in your machines, please.
Created an attachment (id=117656) [details]
swfdec-0.4.4.ebuild
(In reply to comment #35)
> What gstreamer version have you installed?
None.
(In reply to comment #36)
> Gstreamer USE flag and dependency added. ffmpeg, mad and gtk USE flags are
> added to src_compile() too. Test the new ebuild in your machines, please.
Merged this new ebuild with my own. Added new/local "gnome-vfs" flag. Works
fine for me without gstreamer and gnome-vfs.
(In reply to comment #36)
> Gstreamer USE flag and dependency added. ffmpeg, mad and gtk USE flags are
> added to src_compile() too. Test the new ebuild in your machines, please.
One more thing, someone compiled it without gtk? It crashes for me. If it
doesn't work without gtk it should be removed from use and added "by default"?
Created an attachment (id=117681) [details]
swfdec-0.4.4-r1.ebuild
(In reply to comment #38)
> One more thing, someone compiled it without gtk? It crashes for me. If it
> doesn't work without gtk it should be removed from use and added "by default"?
>
Swfdec player requires GTK and ALSA libraries but not libswfdec-gtk. Check
README. Anyway, I don't know how to compile libswfdec-gtk and not compile
swfdec player so I removed GTK and ALSA from USE flags and I added these
libraries to the dependencies until we know how to compile library only.
(In reply to comment #37)
> Merged this new ebuild with my own. Added new/local "gnome-vfs" flag. Works
> fine for me without gstreamer and gnome-vfs.
>
It works fine too but I think the correct USE flag for gnome-vfs support is
'gnome'. I have added a message in ebuild to report about this behaviour.
Thank you at all for the bug reports!
Latest ebuilds (swfdec-0.4.4-r1.ebuild and swfdec-mozilla-0.4.4.ebuild) both
compiled fine on my sparc64 (Ultra 10). I modified swfdec-mozilla-0.4.4.ebuild
to install plugins into /opt/netscape/plugins, because gnash also installs
here. Opera sees plugin, but doesn't seem to use it. And Firefox doesn't see
plugin until i made symlink to it in /usr/lib/mozilla-firefox/plugins. After
making this symlink it shows some flash banners (much faster than gnash), but
crashes browser when i go to youtube or other sites which use flash heavily.
I guess ~sparc keyword would be fine.
P.S.
I guess also it would be nice to have swfplay (standalone player) installed by
swfdec ebuild - it doesn't installs by 'make install'
The Mozilla plugin doesn't build against SeaMonkey, because the configure
script only checks for mozilla, firefox and iceape. It builds and runs fine
after patching configure, but I had to modify configure directly, not
configure.ac, because doing the latter produces an error from autoconf,
complaining about the AS_COMPILER_FLAG macro. Anyone know a proper solution?
(In reply to comment #40)
> Latest ebuilds (swfdec-0.4.4-r1.ebuild and swfdec-mozilla-0.4.4.ebuild) both
> compiled fine on my sparc64 (Ultra 10). I modified swfdec-mozilla-0.4.4.ebuild
> to install plugins into /opt/netscape/plugins, because gnash also installs
> here. Opera sees plugin, but doesn't seem to use it. And Firefox doesn't see
> plugin until i made symlink to it in /usr/lib/mozilla-firefox/plugins.
>
The proper global install location for plugins should be
/usr/lib/mozilla/plugins. In theory every every Gecko browser should look
there. In practice, due to upstream not having a streamlined solution, it
varies by distro. I'm gonna change the way the plugin builds in 0.4.5, but for
now the suggested solution is to look at what Totem does and mirror that
behaviour.
> After
> making this symlink it shows some flash banners (much faster than gnash), but
> crashes browser when i go to youtube or other sites which use flash heavily.
>
Swfdec is supposed to never ever crash. This is the primary goal of it right
now. There will be a lot of files that don't play correctly, but none of these
should ever make Swfdec crash. Unfortunately I'm unable to test the
not-so-common architectures, so there will be bugs that cause crashes. If
Swfdec crashes, immediately file a bug at http://bugs.freedesktop.org about it,
so I can fix it, please.
> I guess also it would be nice to have swfplay (standalone player) installed by
> swfdec ebuild - it doesn't installs by 'make install'
>
Another thing I should probably communicate better. I'm going to install
swfplay once someone has made it a proper application. Currently it's just a
testing tool that you can't even quit properly. When someone has added the
usual stuff for a viewer application - a file menu, some settings with maybe a
toolbar, a desktop file, translations, ... - I'll install it by default.
So far noone has shown up to do this work though. And I'd rather make swfdec
play more Flash files.
(In reply to comment #41)
> The Mozilla plugin doesn't build against SeaMonkey, because the configure
> script only checks for mozilla, firefox and iceape. It builds and runs fine
> after patching configure, but I had to modify configure directly, not
> configure.ac, because doing the latter produces an error from autoconf,
> complaining about the AS_COMPILER_FLAG macro. Anyone know a proper solution?
>
Running aclocal -I m4 before running autoconf should fix it.
An even better solution would be using ./autogen.sh if you want to hack on
build files.
(In reply to comment #46)
> Bumped in the sunrise to 0.4.5
The new swfdec-mozilla ebuild in sunrise has had multilib support removed, why
is this?
(In reply to comment #49)
> Created an attachment (id=125234) [edit] [details]
> net-www/swfdec-mozilla-0.5.0.ebuild
>
> The plug in ebuild updated too
>
Thanks. I can confirm that both your swfdec 0.5.0 & swfdec-mozilla 0.5.0
ebuilds are working correctly for me (stable amd64 mixed with ~amd64 gstreamer
0.10.6 and vanilla-sources 2.6.23-rc1). Tested with Firefox 2.0.0.4
I have tested v0.5.1 of the swfdec-mozilla plugin on amd64 (Firefox 2.0.0.6)
against Claes Mogren's swfdec-0.5.1 ebuild
(http://bugs.gentoo.org/attachment.cgi?id=127252). The 0.5.1 ebuild of the
mozilla plugin is really just a version bump, no other changes need to be made
over the 0.5.0 ebuild. Compiles ok, embedded YouTube videos sort of work now
(they play, but the progress slider and some other buttons doesn't work).
Any reason bug reports should be to bugs.freedesktop.org instead of
bugs.gentoo.org in swfdec-mozilla?
Both (0.5.2) have been added to the tree. Thanks to all contributors.
I made some changes though:
- no redirect bugs to bugs.fd.o, Gentoo maintainers should get informed first,
just in case they are Gentoo-specific bugs
- use versionator so no change needed if upstream releases 0.10
- support xulrunner in swfdec-mozilla
With the latest swfdec-0.5.2...
!!! Digest verification failed:
!!! /usr/portage/media-libs/swfdec/ChangeLog
!!! Reason: Filesize does not match recorded size
!!! Got: 2302
!!! Expected: 2308
(In reply to comment #58)
> With the latest swfdec-0.5.2...
>
> !!! Digest verification failed:
> !!! /usr/portage/media-libs/swfdec/ChangeLog
> !!! Reason: Filesize does not match recorded size
> !!! Got: 2302
> !!! Expected: 2308
>
Should have been fixed now. Please wait for a moment and try again. Let me know
if the problem still exists