Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 105823

Summary: media-libs/swfdec-0.4.4
Product: Gentoo Linux Reporter: Sveinung Kvilhaugsvik <sveinung>
Component: Current packagesAssignee: Nguyen Thai Ngoc Duy (RETIRED) <pclouds>
Status: RESOLVED FIXED    
Severity: enhancement CC: ag, aryixb, bjt23, bug.hunter, bugzie, daemon, graaff, henrique.rodrigues, jaime.mj, james.ausmus, levertond, mad_soft, mail, matija, mikel, otte, pacho, phajdan.jr, uzytkownik2, virdiq
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: swfdec-0.4.1
swfdec-mozilla-0.4.1
swfdec-0.4.2.ebuild
swfdec-0.4.3
ffmpeg-fix for swfdec
swfdec-mozilla-0.4.3
more complete swfdec-mozilla-0.4.3
swfdec-0.4.3.ebuild test
swfdec-mozilla-0.4.3.ebuild mozilla plugin test
New ebuild, working at PS3 Linux
swfdec-0.4.4
swfdec-mozilla-0.4.4.ebuild
swfdec-0.4.4.ebuild
swfdec-0.4.4.ebuild
swfdec-0.4.4-r1.ebuild
swfdec-mozilla-0.4.4-seamonkey.patch
swfdec-mozilla-0.4.4.ebuild (builds against SeaMonkey)
/media-libs/swfdec-0.5.0.ebuild
net-www/swfdec-mozilla-0.5.0.ebuild
swfdec-0.5.1.ebuild
swfdec-mozilla-0.5.1.ebuild

Description Sveinung Kvilhaugsvik 2005-09-13 10:46:02 UTC
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:
Comment 1 Jory A. Pratt 2006-10-26 11:22:10 UTC
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.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2006-10-26 11:29:19 UTC
I've put this in package.mask -- I'll let Jory paste irc snippets from upstream into a comment to more fully explain.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-12-16 20:01:42 UTC
# 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... :)
Comment 4 Matthias Muthmann 2007-01-05 13:50:05 UTC
There is a new release of swfdec available, it seems to be actively developed again:
http://lists.freedesktop.org/archives/swfdec/2006-December/000015.html
Comment 5 Mikel Olasagasti 2007-01-14 22:02:52 UTC
0.4.1 was released today.

Changelogs:
http://lists.freedesktop.org/archives/swfdec/2007-January/000025.html
http://lists.freedesktop.org/archives/swfdec/2007-January/000024.html

Attaching new ebuilds.
Comment 6 Mikel Olasagasti 2007-01-14 22:03:25 UTC
Created attachment 107006 [details]
swfdec-0.4.1
Comment 7 Mikel Olasagasti 2007-01-14 22:03:51 UTC
Created attachment 107008 [details]
swfdec-mozilla-0.4.1
Comment 9 Pacho Ramos gentoo-dev 2007-03-15 21:16:18 UTC
And seems that it will support youtube videos :-O
http://www.advogato.org/person/company/diary.html?start=34
Comment 10 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2007-03-16 18:50:11 UTC
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?
Comment 11 Michal Jakubowski 2007-03-17 17:21:51 UTC
Created attachment 113588 [details]
swfdec-0.4.2.ebuild
Comment 12 Mikel Olasagasti 2007-03-19 19:58:04 UTC
I made and uploaded git ebuilds to http://www.mundurat.net/kaxero/swfdec

I'm able to see youtube videos on a 64bit machine :)
Comment 13 Pacho Ramos gentoo-dev 2007-03-20 11:18:03 UTC
(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 :-)
Comment 14 Mikel Olasagasti 2007-03-22 19:56:26 UTC
Created attachment 114079 [details]
swfdec-0.4.3
Comment 15 Mikel Olasagasti 2007-03-22 19:56:54 UTC
Created attachment 114081 [details, diff]
ffmpeg-fix for swfdec
Comment 16 Mikel Olasagasti 2007-03-22 19:57:27 UTC
Created attachment 114083 [details]
swfdec-mozilla-0.4.3
Comment 17 Pacho Ramos gentoo-dev 2007-03-22 21:34:48 UTC
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
Comment 18 Mikel Olasagasti 2007-03-22 22:13:58 UTC
Try disabling the epatch on the ebuild, should work...

Which version of ffmpeg do you have?
Comment 19 Pacho Ramos gentoo-dev 2007-03-22 22:22:21 UTC
Yes, it compiles without patch.

I am using:
[ebuild   R   ] media-video/ffmpeg-0.4.9_p20061016 

Thanks a lot :-)
Comment 20 Pacho Ramos gentoo-dev 2007-03-22 22:38:48 UTC
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

Comment 21 Brian Tarricone 2007-03-23 03:54:39 UTC
Created attachment 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).
Comment 22 Pacho Ramos gentoo-dev 2007-03-23 08:22:15 UTC
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
Comment 23 Peter Thomassen 2007-03-25 16:40:45 UTC
I don't get swfdec-mozilla to work with Konqueror. What's wrong?

Peter
Comment 24 Pacho Ramos gentoo-dev 2007-03-26 10:42:55 UTC
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
Comment 25 Arlinton Bourne 2007-03-26 14:30:27 UTC
Created attachment 114485 [details]
swfdec-0.4.3.ebuild test

An ebuild i hacked together. Works on my x86_64. Builds with -j1. I found out that multiple jobs may break the building process.
Comment 26 Arlinton Bourne 2007-03-26 14:34:16 UTC
Created attachment 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.
Comment 27 Michal Jakubowski 2007-03-26 17:30:36 UTC
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
Comment 28 Pacho Ramos gentoo-dev 2007-03-29 08:28:47 UTC
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))

Comment 29 Marcus Fazzi 2007-04-04 02:27:27 UTC
Created attachment 115400 [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
Comment 30 Jaime Martin 2007-04-12 23:20:30 UTC
(In reply to comment #29)
> Created an attachment (id=115400) [edit]
> 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
Comment 31 Pacho Ramos gentoo-dev 2007-04-27 12:18:16 UTC
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
Comment 32 Jaime Martin 2007-04-28 17:38:05 UTC
Created attachment 117561 [details]
swfdec-0.4.4

New swfdec-0.4.4 ebuild added. It works fine in ppc.
Comment 33 Jaime Martin 2007-04-28 17:39:34 UTC
Created attachment 117563 [details]
swfdec-mozilla-0.4.4.ebuild
Comment 34 Piotr Szymaniak 2007-04-29 15:55:40 UTC
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
Comment 35 Pacho Ramos gentoo-dev 2007-04-29 17:54:05 UTC
What gstreamer version have you installed?
Comment 36 Jaime Martin 2007-04-29 17:58:07 UTC
Created attachment 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.
Comment 37 Piotr Szymaniak 2007-04-29 18:07:37 UTC
Created attachment 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.
Comment 38 Piotr Szymaniak 2007-04-29 18:46:43 UTC
(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"?
Comment 39 Jaime Martin 2007-04-29 21:55:45 UTC
Created attachment 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!
Comment 40 Dmitry 'MAD' Artamonow 2007-05-14 13:51:35 UTC
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'
Comment 41 David Leverton 2007-05-16 12:53:11 UTC
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?
Comment 42 Benjamin Otte 2007-05-20 09:44:42 UTC
(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.
Comment 43 Benjamin Otte 2007-05-20 09:46:24 UTC
(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.
Comment 44 David Leverton 2007-05-20 15:12:10 UTC
Created attachment 119808 [details, diff]
swfdec-mozilla-0.4.4-seamonkey.patch

(In reply to comment #43)
> Running aclocal -I m4 before running autoconf should fix it.

Thanks, it was the "-I m4" part that did it.
Comment 45 David Leverton 2007-05-20 15:12:56 UTC
Created attachment 119810 [details]
swfdec-mozilla-0.4.4.ebuild (builds against SeaMonkey)

New ebuild that builds against SeaMonkey, requires above patch.
Comment 46 ArYiX 2007-06-10 22:20:30 UTC
(In reply to comment #45)
> Created an attachment (id=119810) [edit]
> swfdec-mozilla-0.4.4.ebuild (builds against SeaMonkey)
> 
> New ebuild that builds against SeaMonkey, requires above patch.
> 
Bumped in the sunrise to 0.4.5
Comment 47 David Leverton 2007-06-12 00:34:45 UTC
(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?
Comment 48 Claes Mogren 2007-07-18 07:17:57 UTC
Created attachment 125233 [details]
/media-libs/swfdec-0.5.0.ebuild

I was unable to install swfdec-0.4.5 from sunrise because it failed on "undefined reference to `img_convert'". Instead I noticed that version 0.5.0 as been out a while. (http://lists.freedesktop.org/archives/swfdec/2007-July/000406.html)

I've updated the SRC_URI to use ${PV:0:3} instead of hard coded 0.4 and keyworded it to ~amd64 only since I've only tested on that arch.
Comment 49 Claes Mogren 2007-07-18 07:19:33 UTC
Created attachment 125234 [details]
net-www/swfdec-mozilla-0.5.0.ebuild

The plug in ebuild updated too
Comment 50 ArYiX 2007-07-18 19:17:49 UTC
(In reply to comment #49)
> Created an attachment (id=125234) [edit]
> net-www/swfdec-mozilla-0.5.0.ebuild
> 
> The plug in ebuild updated too
> 

i promise you this for this night (GMT-3)
Thank's Claes,
Comment 51 Jaime Martin 2007-07-18 21:46:33 UTC
(In reply to comment #50)
Version bumped in Sunrise

http://overlays.gentoo.org/proj/sunrise/browser/sunrise/media-libs/swfdec
Comment 52 virdiq 2007-07-28 15:34:57 UTC
(In reply to comment #49)
> Created an attachment (id=125234) [edit]
> 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
Comment 53 Claes Mogren 2007-08-08 09:10:30 UTC
Created attachment 127252 [details]
swfdec-0.5.1.ebuild

I noticed that sunrise was updated to the latest swfdec release, but without the possibility to enable the oss sound backend (Mentioned in the release notes: http://lists.freedesktop.org/archives/swfdec/2007-August/000452.html). I've done an attempt here but haven't tried it yet since I don't use oss. 
Also, the ChangeLog for swfdec in sunrise has not yet been updated.
/Claes
Comment 54 virdiq 2007-08-10 01:30:36 UTC
Created attachment 127409 [details]
swfdec-mozilla-0.5.1.ebuild

Mozilla/Firefox plugin for v0.5.1
Comment 55 virdiq 2007-08-10 01:37:45 UTC
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).
Comment 56 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2007-08-25 07:55:29 UTC
Any reason bug reports should be to bugs.freedesktop.org instead of bugs.gentoo.org in swfdec-mozilla?
Comment 57 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2007-09-03 09:27:01 UTC
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
Comment 58 virdiq 2007-09-04 00:13:50 UTC
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
Comment 59 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2007-09-04 11:33:34 UTC
(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