maninha22crazy / gecko-mediaplayer

Automatically exported from code.google.com/p/gecko-mediaplayer
GNU General Public License v2.0
0 stars 0 forks source link

gecko-mediaplayer 1.0.0 comile correctly but not run on firefox 4.0b7 #114

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compile gecko-mediaplayer 1.0.0
2. Launch Firefox 4.0b7

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
gecko-mediaplayer 1.0.0 on Debian Testing

Please provide any additional information below.
I compile gecko-mediaplayer 1.0.0. 

From firefox about:plugins, all plugins are correctly installed but when i go 
to any .mp3 or other media pages appear a black page with no 
audio/video/interfaces.

I've just disable any others plugins like totem/vlc (only gecko-mediaplayer is 
present.

I use xulrunner1.9.1 packaged for my Debian to compile.

Original issue reported on code.google.com by fabrixx2 on 14 Nov 2010 at 5:33

GoogleCodeExporter commented 8 years ago
You must compile against xulrunner 2.0 to use it with Firefox 4

Original comment by kdeko...@gmail.com on 14 Nov 2010 at 5:57

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Yes i know..but i've tried before to download xulrunner 2.0 from mozilla 
nightly ftp, i've tryed to link to my system with no results.

You know where can i find a deb of xulrunner 2.0 for my debian?
I've tryed also with ubuntu ppa package version but have no satisfied some 
dependence..

Thank you

Original comment by fabrixx2 on 14 Nov 2010 at 6:07

GoogleCodeExporter commented 8 years ago
you probably need to get the xulrunner-sdk v 2 and then compile 
gecko-mediaplayer against it using the --with-xulrunner-sdk option  (read the 
help in configure --help) on how to use it.

Original comment by kdeko...@gmail.com on 14 Nov 2010 at 6:10

GoogleCodeExporter commented 8 years ago
Thanks i will try with sdk version.

Original comment by fabrixx2 on 14 Nov 2010 at 7:22

GoogleCodeExporter commented 8 years ago
Whith latest gecko sdk 2.0:

plugin.h:124: error: ‘NPStream’ has not been declared
plugin.h:165: error: ‘NPP’ does not name a type
plugin.h:169: error: ‘uint16_t’ does not name a type
In file included from plugin_types_std.cpp:38:
plugin_types.h:45: error: ‘NPError’ does not name a type
plugin_types_std.cpp:138: error: ‘NPError’ does not name a type
make[3]: *** [plugin_types_std.o] Error 1
make[3]: Leaving directory.....

But this issue is closed..this is a make error

Original comment by fabrixx2 on 14 Nov 2010 at 10:07

GoogleCodeExporter commented 8 years ago
please post then entire configure output, I'm guessing you are specifying the 
argument incorrectly.

Original comment by kdeko...@gmail.com on 15 Nov 2010 at 12:55

GoogleCodeExporter commented 8 years ago
I got the SDK from here: 

http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/latest-trunk/

Make sure you get the tar file with sdk in the name

I downloaded it to ~/Downloads

I extracted it so that the created directory was in ~/Downloads/xulrunner-sdk

I switched to ~/svn/gecko-mediaplayer

ran make clean

ran ./configure --prefix=/usr 
--with-xulrunner-sdk=/home/kdekorte/Downloads/xulrunner-sdk/ --enable-new-libxul

Note that using the full path for SDK is important

ran make

Code compiled clean

Original comment by kdeko...@gmail.com on 15 Nov 2010 at 4:52

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
You can ignore the warning... and it looks like the make succeeded...

you can copy the .so files into the firefox 4 plugin directory and it should 
work.

Original comment by kdeko...@gmail.com on 15 Nov 2010 at 6:59

GoogleCodeExporter commented 8 years ago
- I have downloaded gecko-mediaplayer-1.0.0.tar.gz & extract on my Desktop

- I have downloaded xulrunner-2.0b8pre.en-US.linux-x86_64.sdk.tar.bz2 from 
http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/latest-trunk & extract 
on my Desktop

- I open a terminal and:

$ cd /home/fabrizio/Scrivania/gecko-mediaplayer-1.0.0 #(Scrivania is Desktop 
name in italian)

$ ./configure --prefix=/usr 
--with-xulrunner-sdk=/home/fabrizio/Scrivania/xulrunner-sdk/ --enable-new-libxul

I receive a configure error:
config.status: WARNING:  'po/Makefile.in.in' seems to ignore the --datarootdir 
setting

I attach my complete configure output & my make output

Thanks for the support

Fabrizio

Original comment by fabrixx2 on 15 Nov 2010 at 7:00

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
The .so files should be in the src directory. Your output does not show any 
errors.

perhaps running 

autoreconf -fiv 

And then make again may help.

Original comment by kdeko...@gmail.com on 15 Nov 2010 at 7:39

GoogleCodeExporter commented 8 years ago
I personally tested the nightly build of Firefox 4b8pre using the xulrunner-sdk 
instructions and found that the build I had from a few days ago would not play 
videos using gecko-mediaplayer. I wen to help About Minefield and let it 
download the latest update and after that videos worked. 

So it appears that the browser had been broken with plugins.

Original comment by kdeko...@gmail.com on 15 Nov 2010 at 7:51

GoogleCodeExporter commented 8 years ago
Ok make & checkinstall is now ok this was my error (thanks kdekorte :) ):

./configure --with-xulrunner-sdk=/home/fabrizio/Scrivania/xulrunner-sdk 
--enable-new-libxul

instead of:

./configure --prefix=/usr 
--with-xulrunner-sdk=/home/fabrizio/Scrivania/xulrunner-sdk/ --enable-new-libxul

about:config reveal all plugin installed but firefox 4 not reproduce any media

I use release 4.0b7 (not nightly)
I will try with nightly 

A question: i have gnome-mplayer packeged for debian testing at version 
0.9.9.2, i heve to install or compile version 1.0 to work with 1.0 plugin?

Thanks again

Fabrizio

Original comment by fabrixx2 on 15 Nov 2010 at 8:01

GoogleCodeExporter commented 8 years ago
Yes you need gnome-mplayer 1.0.0 to work with gecko-mediaplayer 1.0.0

Original comment by kdeko...@gmail.com on 15 Nov 2010 at 8:09

GoogleCodeExporter commented 8 years ago
Its work but only in nightly !!

 - I compiled & install gnome-mplayer 1.0 but plugin not work in firefox 4.0b7
 - I download nightly version (minefield 4.0b8) from here (64 bit):
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central-l1
0n/

With this version plugin work !!

Why firefox 4.0b7 is not implemented?

Very very thanks kdekorte for exhaustive support.

Fabrizio

Original comment by fabrixx2 on 15 Nov 2010 at 8:17

GoogleCodeExporter commented 8 years ago
As for 4.0b7... well it is beta software.. expect it to be broken.

Original comment by kdeko...@gmail.com on 15 Nov 2010 at 8:19

GoogleCodeExporter commented 8 years ago
Ok, i will use minefield, i hope in a new firefox builds...
Thks

Original comment by fabrixx2 on 15 Nov 2010 at 8:40