| View previous topic :: View next topic |
| Author |
Message |
Pythagoras1 Guru


Joined: 29 Jul 2002 Posts: 351 Location: trailer park Vienna, Austria
|
Posted: Sun Jul 25, 2004 1:05 pm Post subject: |
|
|
| p-Lo wrote: | | I hope the plugin improves sometime soon, because i don't see any open format or tools replacing flash anytime in the forseeable future. |
i hope the svg implementation into mozilla finishes soon. i'd like to use them on my homepage
an alternative tool to macromedia flash could become gplflash. it does compile on amd64 but when i start firefox (64b) i get
| Quote: | LoadPlugin: failed to initialize shared library /opt/netscape/plugins/npflash.so [/opt/netscape/plugins/npflash.so: undefined symbol: __dso_handle]
|
as result firefox doesn't even support gplflash althought it's 64b too  _________________ Gobo, listen to reason. We wouldn't be in the Land of Having Blown Up if we didn't blow up now would we?!? ~Wembley |
|
| Back to top |
|
 |
Pythagoras1 Guru


Joined: 29 Jul 2002 Posts: 351 Location: trailer park Vienna, Austria
|
Posted: Sat Aug 21, 2004 11:19 pm Post subject: |
|
|
the source code sdk seems to be an ideal base to port the flash player to amd64. maybe someone looks at this.
http://www.macromedia.com/software/devices/licensing/sourcecode/ _________________ Gobo, listen to reason. We wouldn't be in the Land of Having Blown Up if we didn't blow up now would we?!? ~Wembley |
|
| Back to top |
|
 |
LaNcom Apprentice

Joined: 03 May 2003 Posts: 254 Location: Erfurt, Germany
|
Posted: Sun Aug 22, 2004 2:36 am Post subject: |
|
|
To get the source, you'll have to pay royalties. We're talking big bucks, so I wouldn't hold my breath to see an official player for Linux/ AMD64 anytime soon... No open source/ freeware developer had been granted access to the source so far.
But, according to some dubious sources the Flash 6 SDK, containing the complete source of the Flash 6 Mozilla plugin for Linux, leaked and should be available on the net somewhere... - anyone knows more about this? I just checked for two hours, but I can't confirm this so far.  |
|
| Back to top |
|
 |
evgeny n00b


Joined: 25 Feb 2004 Posts: 52
|
Posted: Sun Aug 22, 2004 10:44 am Post subject: |
|
|
Notice that as far as solely player functionality is considered, you can use the stand-alone "gflashplayer", a 32-bit exec distributed by Macromedia with version 6. Then put these 2 lines in mozpluggerrc:
| Code: | application/x-shockwave-flash: swf: SWF file
repeat noisy swallow(Gflashplayer) fill: gflashplayer "$file"
|
and you should be done. The big drawback of this solution is that all interactivity will be lost: flashs are usually programmed to invoke relative action URLs, but since mozplugger will be given (by mozilla) a cached version of the document, the URLs will become senseless. What can be done is to intercept all exec*() calls of gflashplayer, extract the URL, look it up in the Mozilla's cache, replace the URL with the original one, and invoke an appropriate "mozilla -remote" command. Anyone with free time to take care of this project? |
|
| Back to top |
|
 |
Pythagoras1 Guru


Joined: 29 Jul 2002 Posts: 351 Location: trailer park Vienna, Austria
|
Posted: Sun Aug 22, 2004 11:25 am Post subject: |
|
|
oh, i read that sdk licenses depend on the number of devices which are shipped with flash player. so i thought there aren't license fees if the player isn't shipped with hardware.
however, my opinion is that development on gplflash should be forced. at least the bug which prevents 64b gplflash from working with 64b mozilla should be worked on.  _________________ Gobo, listen to reason. We wouldn't be in the Land of Having Blown Up if we didn't blow up now would we?!? ~Wembley |
|
| Back to top |
|
 |
LaNcom Apprentice

Joined: 03 May 2003 Posts: 254 Location: Erfurt, Germany
|
Posted: Sun Aug 22, 2004 1:05 pm Post subject: |
|
|
I just checked the CVS of swfdec, it seems to improve _very_ fast. The current 0.2.2 release is completely outdated, the CVS version seems to feature support for ActionScript, a plugin and other stuff. But I can't compile it, since it depends on liboil 0.1, and this one seems to have some problems on 64bit CPU's. Maybe, if someone wants to look into this one, the CVS on sf.net is outdated and abandoned - get this one instead:
cvs -d :pserver:anonymous@home.schleef.org:/home/cvs/swfdec login
<no password required>
cvs -d :pserver:anonymous@home.schleef.org:/home/cvs/swfdec co swfdec
Liboil is available at:
http://people.fishpool.fi/~setok/sleberEid/liboil/ |
|
| Back to top |
|
 |
Pythagoras1 Guru


Joined: 29 Jul 2002 Posts: 351 Location: trailer park Vienna, Austria
|
Posted: Sun Aug 22, 2004 1:54 pm Post subject: |
|
|
that's right. oil seems to do some dirty casts. maybe i can clean this out.
EDIT: didn't find such casts. did you delete all object .o files in *all* directiories? it seems to compile fine here. _________________ Gobo, listen to reason. We wouldn't be in the Land of Having Blown Up if we didn't blow up now would we?!? ~Wembley |
|
| Back to top |
|
 |
LaNcom Apprentice

Joined: 03 May 2003 Posts: 254 Location: Erfurt, Germany
|
Posted: Sun Aug 22, 2004 3:13 pm Post subject: |
|
|
! UPDATED !
You are right, indeed. I tried the (outdated) CVS version, that one used strange casts... But this doesn't seem to be liboil!? Then I guess this is it:
http://www.schleef.org/liboil/
And that one bails out:
tablelookup_ref.c: In function `tablelookup_u8_ref':
tablelookup_ref.c:32: warning: cast from pointer to integer of different size
make[3]: *** [liboiltmp_la-tablelookup_ref.lo] Fehler 1 |
|
| Back to top |
|
 |
Pythagoras1 Guru


Joined: 29 Jul 2002 Posts: 351 Location: trailer park Vienna, Austria
|
Posted: Sun Aug 22, 2004 3:33 pm Post subject: |
|
|
i'm confused now. i managed to compile the 0.1.1 tarball from http://people.fishpool.fi/~setok/sleberEid/liboil/ the shipped demos did work too. is http://www.schleef.org/liboil/ a different project? which package and version does cause your errors? _________________ Gobo, listen to reason. We wouldn't be in the Land of Having Blown Up if we didn't blow up now would we?!? ~Wembley |
|
| Back to top |
|
 |
LaNcom Apprentice

Joined: 03 May 2003 Posts: 254 Location: Erfurt, Germany
|
Posted: Sun Aug 22, 2004 3:45 pm Post subject: |
|
|
Well, that's an interesting question...
The recent swfdec depends on _liboil_, but the oil 0.1.1 from people.fishpool.fi seems to create no liboil.so (only oilsh). The one from schleef.org does compile to liboil.so, so I think this is the right one - but this one doesn't compile, giving the error I posted!
I don't really know if those projects are connected somehow, both seem to be intended for multimedia apps... |
|
| Back to top |
|
 |
Pythagoras1 Guru


Joined: 29 Jul 2002 Posts: 351 Location: trailer park Vienna, Austria
|
Posted: Sun Aug 22, 2004 5:00 pm Post subject: |
|
|
i already coded c but i don't know what that does mean.
| Code: | | *dest = OIL_GET(table,tablestride*(int)src, uint8_t); |
i'll try to describe what i see:
target_content_of_dest = macro_behind_OIL_GET(table,????what????, uint8_t);
what does that tablestride*(int)src mean? usually casts do (int) expression;
tablestride is declared as int.
EDIT: another question: what is uint8_t? never heard. _________________ Gobo, listen to reason. We wouldn't be in the Land of Having Blown Up if we didn't blow up now would we?!? ~Wembley |
|
| Back to top |
|
 |
LaNcom Apprentice

Joined: 03 May 2003 Posts: 254 Location: Erfurt, Germany
|
|
| Back to top |
|
 |
Pythagoras1 Guru


Joined: 29 Jul 2002 Posts: 351 Location: trailer park Vienna, Austria
|
Posted: Sun Aug 22, 2004 6:02 pm Post subject: |
|
|
i beleive how many bits the uint8_t has doesn't matter. it's a pointer so it would have 32 bit on a 32 bit architecture and 64 bit on a 64 bit cpu.
int on 32 bit cpu also has 32 bits too. on a 64 bit cpu int is still 32 bit too but casting to a pointer would fail since the compiler doesn't like casting 32->64. don't know where's the problem, but it seems that int should be changed to something like int64_t. _________________ Gobo, listen to reason. We wouldn't be in the Land of Having Blown Up if we didn't blow up now would we?!? ~Wembley |
|
| Back to top |
|
 |
Pythagoras1 Guru


Joined: 29 Jul 2002 Posts: 351 Location: trailer park Vienna, Austria
|
Posted: Sun Aug 22, 2004 6:26 pm Post subject: |
|
|
that's interesting: http://www.treblig.org/articles/64bits.html
it seems a datatype called void* (althought i always thought void means 'nothing') is compatible to cast between int and pointers on all platforms. _________________ Gobo, listen to reason. We wouldn't be in the Land of Having Blown Up if we didn't blow up now would we?!? ~Wembley |
|
| Back to top |
|
 |
Pythagoras1 Guru


Joined: 29 Jul 2002 Posts: 351 Location: trailer park Vienna, Austria
|
Posted: Sun Aug 22, 2004 6:39 pm Post subject: |
|
|
| Quote: | liboilcpu.c:119: warning: `get_cpuinfo_flags_string' defined but not used
liboilcpu.c:140: warning: `strsplit' defined but not used
liboilcpu.c:39: warning: `get_cpuinfo' defined but not used
make[3]: *** [liboiltmp_la-liboilcpu.lo] Fehler 1
|
that's not really an error, isn't?
i don't want to comment these unused functions out! _________________ Gobo, listen to reason. We wouldn't be in the Land of Having Blown Up if we didn't blow up now would we?!? ~Wembley |
|
| Back to top |
|
 |
Pythagoras1 Guru


Joined: 29 Jul 2002 Posts: 351 Location: trailer park Vienna, Austria
|
Posted: Sun Aug 22, 2004 7:07 pm Post subject: |
|
|
i'm very new to gcc but i found out when i remove -Wall from the cflags the warnings are not interpreted as errors.
liboil compiles now!
in tablelookup_ref.c just replace
| Code: | | *dest = OIL_GET(table,tablestride*(int)src, uint8_t); |
with
| Code: | | *dest = OIL_GET(table,tablestride*(int64_t)src, uint8_t); |
it's a dirty solution since i don't think it would work on a regular 32 bit architecture.
i'm going over to swfdec now. _________________ Gobo, listen to reason. We wouldn't be in the Land of Having Blown Up if we didn't blow up now would we?!? ~Wembley |
|
| Back to top |
|
 |
LaserGuidedBunnyRabbit Tux's lil' helper

Joined: 03 Oct 2003 Posts: 78 Location: Washington, USA
|
Posted: Tue Aug 24, 2004 11:48 pm Post subject: |
|
|
Any luck yet?
I'm tired of seeing the flash installation pop ups in firefox. |
|
| Back to top |
|
 |
LaNcom Apprentice

Joined: 03 May 2003 Posts: 254 Location: Erfurt, Germany
|
Posted: Wed Aug 25, 2004 1:12 am Post subject: |
|
|
Not yet, I think. Currently, swfdec just seems to display nothing or crash when trying to play a SWF...
But I still think swfdec is the the most advanced open Flash player right now, even if it will need a lot more time and manpower to be a true alternative to Macromedia Flash. Anyway, it should be well worth it, for the sake of independence (all the poor Linux/ AMD64, PPC, PPC64, Power, MIPS, Sparc users are pretty f*cked by Macromedia's policy right now). |
|
| Back to top |
|
 |
Pythagoras1 Guru


Joined: 29 Jul 2002 Posts: 351 Location: trailer park Vienna, Austria
|
Posted: Fri Oct 08, 2004 12:49 pm Post subject: |
|
|
| LaserGuidedBunnyRabbit wrote: | | I'm tired of seeing the flash installation pop ups in firefox. |
you can delete the null plugin from the plugin directory. i beleive it's called npnull.so or something like that. i don't have this file any more  _________________ Gobo, listen to reason. We wouldn't be in the Land of Having Blown Up if we didn't blow up now would we?!? ~Wembley |
|
| Back to top |
|
 |
Sivar Apprentice


Joined: 25 May 2002 Posts: 266 Location: USA
|
Posted: Sun Oct 10, 2004 4:17 pm Post subject: |
|
|
| LaNcom wrote: | | GPLFlash _does_ work, more or less. But it's very unstable, only supports parts of Flash up to v4, crashes on v5, v6 and v7 applets, and it seems to be abandoned for quite some time now. |
Take a look at their webpage. They have somewhat recent release--the first in almost 4 years, as they say. It is supposed to support newer versions of FLASH.[/url]
Unfortunately, this whole thread indicates to me that 32-bit Linux is still the way to go on 64-bit x86 systems. _________________ The greatest deeds are still undone, the greatest songs are still unsung... |
|
| Back to top |
|
 |
Pythagoras1 Guru


Joined: 29 Jul 2002 Posts: 351 Location: trailer park Vienna, Austria
|
Posted: Sun Oct 10, 2004 5:41 pm Post subject: |
|
|
thanks, there is just one thing missing: the ebuild _________________ Gobo, listen to reason. We wouldn't be in the Land of Having Blown Up if we didn't blow up now would we?!? ~Wembley |
|
| Back to top |
|
 |
Mythos l33t


Joined: 02 May 2004 Posts: 946 Location: Portugal
|
Posted: Sun Oct 10, 2004 10:22 pm Post subject: |
|
|
if you find the ebuild tell us ...
i need flash too _________________ Best Regards,
Sérgio Henrique
Linux dune 3.0.6-gentoo #1 SMP Thu Oct 27 16:47:29 WEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux |
|
| Back to top |
|
 |
Mythos l33t


Joined: 02 May 2004 Posts: 946 Location: Portugal
|
Posted: Sun Oct 10, 2004 10:46 pm Post subject: |
|
|
| Code: | make[2]: Entering directory `/var/tmp/portage/gplflash-0.4.11/work/gplflash-0.4.11/plugin'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXP_UNIX -DPLUGIN_TRACE -I../lib -I/usr/X11R6/include -march=k8 -O2 -pipe -fomit-frame-pointer -frename-registers -Wall -MT npflash_so-plugin.o -MD -MP -MF ".deps/npflash_so-plugin.Tpo" -c -o npflash_so-plugin.o `test -f 'plugin.c' || echo './'`plugin.c; \
then mv -f ".deps/npflash_so-plugin.Tpo" ".deps/npflash_so-plugin.Po"; else rm -f ".deps/npflash_so-plugin.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXP_UNIX -DPLUGIN_TRACE -I../lib -I/usr/X11R6/include -march=k8 -O2 -pipe -fomit-frame-pointer -frename-registers -Wall -MT npflash_so-npunix.o -MD -MP -MF ".deps/npflash_so-npunix.Tpo" -c -o npflash_so-npunix.o `test -f 'npunix.c' || echo './'`npunix.c; \
then mv -f ".deps/npflash_so-npunix.Tpo" ".deps/npflash_so-npunix.Po"; else rm -f ".deps/npflash_so-npunix.Tpo"; exit 1; fi
plugin.c:10: warning: 'rcsid' defined but not used
rm -f npflash.so
ld -shared -o npflash.so npflash_so-plugin.o npflash_so-npunix.o -L../lib/libflash.a -lflash
ld: npflash_so-plugin.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
npflash_so-plugin.o: could not read symbols: Bad value
make[2]: *** [npflash.so] Error 1
make[2]: Leaving directory `/var/tmp/portage/gplflash-0.4.11/work/gplflash-0.4.11/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gplflash-0.4.11/work/gplflash-0.4.11'
make: *** [all] Error 2
!!! ERROR: net-www/gplflash-0.4.11 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! emake failed |
buah iam stuk here _________________ Best Regards,
Sérgio Henrique
Linux dune 3.0.6-gentoo #1 SMP Thu Oct 27 16:47:29 WEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux |
|
| Back to top |
|
 |
wzzrd Apprentice


Joined: 18 Jul 2002 Posts: 245
|
Posted: Mon Oct 11, 2004 1:07 pm Post subject: |
|
|
| Mythos wrote: | | Code: | make[2]: Entering directory `/var/tmp/portage/gplflash-0.4.11/work/gplflash-0.4.11/plugin'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXP_UNIX -DPLUGIN_TRACE -I../lib -I/usr/X11R6/include -march=k8 -O2 -pipe -fomit-frame-pointer -frename-registers -Wall -MT npflash_so-plugin.o -MD -MP -MF ".deps/npflash_so-plugin.Tpo" -c -o npflash_so-plugin.o `test -f 'plugin.c' || echo './'`plugin.c; \
then mv -f ".deps/npflash_so-plugin.Tpo" ".deps/npflash_so-plugin.Po"; else rm -f ".deps/npflash_so-plugin.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXP_UNIX -DPLUGIN_TRACE -I../lib -I/usr/X11R6/include -march=k8 -O2 -pipe -fomit-frame-pointer -frename-registers -Wall -MT npflash_so-npunix.o -MD -MP -MF ".deps/npflash_so-npunix.Tpo" -c -o npflash_so-npunix.o `test -f 'npunix.c' || echo './'`npunix.c; \
then mv -f ".deps/npflash_so-npunix.Tpo" ".deps/npflash_so-npunix.Po"; else rm -f ".deps/npflash_so-npunix.Tpo"; exit 1; fi
plugin.c:10: warning: 'rcsid' defined but not used
rm -f npflash.so
ld -shared -o npflash.so npflash_so-plugin.o npflash_so-npunix.o -L../lib/libflash.a -lflash
ld: npflash_so-plugin.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
npflash_so-plugin.o: could not read symbols: Bad value
make[2]: *** [npflash.so] Error 1
make[2]: Leaving directory `/var/tmp/portage/gplflash-0.4.11/work/gplflash-0.4.11/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gplflash-0.4.11/work/gplflash-0.4.11'
make: *** [all] Error 2
!!! ERROR: net-www/gplflash-0.4.11 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! emake failed |
buah iam stuk here |
Same here, and I am pretty sure I compiled xorg and libflash with -fPic... |
|
| Back to top |
|
 |
|