gecko-sdk

50 views
Skip to first unread message

dk75

unread,
Jun 18, 2008, 1:26:52 PM6/18/08
to gecko-mediaplayer
How to compile GECKO Media Player with GECKO-SDK but without firefox-
dev or xulrunner/xulrunner-dev?

I've dl'ed ff3 from mozilla and installed it. I deleted my old ff2 and
uninstalled ff2-dev (I can't uninstall ff2 with my package manager
because it want to uninstall a loot of other packages which I can't
afford to).

Kevin DeKorte

unread,
Jun 18, 2008, 1:47:24 PM6/18/08
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I never made an option to install gecko-mediaplayer with just the
gecko-sdk. Didn't feel it was necessary anymore since all of the dev
packages were now working correctly. It was added to mplayerplug-in
because of the sorry state of the mozilla dev packages at the time.

Kevin


- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFIWUos6w2kMH0L1dERAlmTAJ0ZwcOUJCe4H4YA9/f7jaSrKkz/vwCdHI76
wz5UlDUo5sVSBy9/i+jHisE=
=6HGu
-----END PGP SIGNATURE-----

Krzysztof Duchnowski

unread,
Jun 18, 2008, 4:29:45 PM6/18/08
to gecko-me...@googlegroups.com
Kevin DeKorte pisze:

> dk75 wrote:
> | How to compile GECKO Media Player with GECKO-SDK but without firefox-
> | dev or xulrunner/xulrunner-dev?
> |
> | I've dl'ed ff3 from mozilla and installed it. I deleted my old ff2 and
> | uninstalled ff2-dev (I can't uninstall ff2 with my package manager
> | because it want to uninstall a loot of other packages which I can't
> | afford to).

> I never made an option to install gecko-mediaplayer with just the
> gecko-sdk. Didn't feel it was necessary anymore since all of the dev
> packages were now working correctly. It was added to mplayerplug-in
> because of the sorry state of the mozilla dev packages at the time.

Hm... this is bad.
I have Firefox3 in tar.bz2 from Mozilla site which I've installed by
hand by adding symlink to "firefox" file into "/usr/local/bin".
I've deleted "/usr/bin/firefox" symlink.
I've installed xulrunner 1.9b4 and xulrunner-dev 1.9b4 (newest possible
right now) but I don't have libxul-dev 1.9 in my distro package
repository - 1.8 only.

*"./configure"* gives me this error:

> checking for GLIB... yes
> checking for GECKO... no
> configure: WARNING: mozilla-plugin not found, trying another
> checking for GECKO... no
> configure: WARNING: firefox-plugin not found, trying another
> checking for GECKO... no
> configure: WARNING: seamokey-plugin not found, trying another
> checking for GECKO... no
> configure: WARNING: xulrunner-plugin not found, trying another
> checking for GECKO... yes
> checking for xpidl... /usr/bin/xpidl
> checking for DBUS... yes
> checking for GCONF... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating gecko-mediaplayer.spec
> config.status: creating src/Makefile
> config.status: creating po/Makefile.in
> config.status: WARNING: po/Makefile.in.in seems to ignore the --datarootdir setting
> config.status: creating config.h
> config.status: executing depfiles commands
> config.status: executing default-1 commands
> /usr/bin/xpidl -w -m header -I /usr/share/idl/xulrunner-1.9b4 -I . -e src/nsIScriptableGeckoMediaPlayer.h src/nsIScriptableGeckoMediaPlayer.idl
> src/nsIScriptableGeckoMediaPlayer.idl:2: can't open included file nsISupports.idl for reading
>
> input callback returned failure


--
Krzysztof 'DK75' Duchnowski
GetFirefox - http://www.mozilla.com/firefox/
Konfiguracja UTF-8 dla czytników - http://evil.pl/pip/utf/

Kevin DeKorte

unread,
Jun 18, 2008, 4:43:27 PM6/18/08
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- --datarootdir setting


|> config.status: creating config.h
|> config.status: executing depfiles commands
|> config.status: executing default-1 commands
|> /usr/bin/xpidl -w -m header -I /usr/share/idl/xulrunner-1.9b4 -I . -e
src/nsIScriptableGeckoMediaPlayer.h src/nsIScriptableGeckoMediaPlayer.idl
|> src/nsIScriptableGeckoMediaPlayer.idl:2: can't open included file
nsISupports.idl for reading
|>
|> input callback returned failure
|
|

Does /usr/share/idl/xulrunner-1.9b4 contain the file nsISupports.idl? If
not then you have a broken libxul.pc file. Libxul is checked after
xulrunner. So that is how I know which one it is using. You also might
have a stray mozilla-plugin.pc file floating around as well.

Or the path to your package config files is broken or incomplete.

Most 1.8 versions of the code will work successfully on v 1.9 products.
So that is not the problem. The problem you have here is that something
is telling the code to look in /usr/share/idl/xulrunner-1.9b4 but what
should be there is not. So that appears to be a broken .pc file.

Kevin


- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFIWXNv6w2kMH0L1dERAuZ3AKCUhhrvbIvBpBzWNhZPQ3B850MLMQCghY9n
hNy8JUyThj3GWezBsDE8gX8=
=F9ua
-----END PGP SIGNATURE-----

Krzysztof Duchnowski

unread,
Jun 19, 2008, 11:16:47 AM6/19/08
to gecko-me...@googlegroups.com
Kevin DeKorte pisze:

> |> /usr/bin/xpidl -w -m header -I /usr/share/idl/xulrunner-1.9b4 -I . -e
> src/nsIScriptableGeckoMediaPlayer.h src/nsIScriptableGeckoMediaPlayer.idl
> |> src/nsIScriptableGeckoMediaPlayer.idl:2: can't open included file
> nsISupports.idl for reading
> |>
> |> input callback returned failure
> |
> |

> Does /usr/share/idl/xulrunner-1.9b4 contain the file nsISupports.idl? If

I have it there

> not then you have a broken libxul.pc file. Libxul is checked after
> xulrunner. So that is how I know which one it is using. You also might
> have a stray mozilla-plugin.pc file floating around as well.

Certainly, because I've dind't uninstalled Firefox2

> Or the path to your package config files is broken or incomplete.

Saa...

> Most 1.8 versions of the code will work successfully on v 1.9 products.

Not really.
I've compiled GECKO Media Player against Firefox2 and linked it to
Firefox3 plugin directory and it resulted with mostly working plugin but:
1 - toolbar is flickering in full screen mode and it has bitmap
artefacts there;
2 - GECKO Media Player stalled my Xorg once - I was forced to kill GECKO
Media Player from console.

> So that is not the problem. The problem you have here is that something
> is telling the code to look in /usr/share/idl/xulrunner-1.9b4 but what
> should be there is not. So that appears to be a broken .pc file.

Hmmm... but I have /usr/share/idl/xulrunner-1.9b4/stable/nsISupports.idl
file

Kevin DeKorte

unread,
Jun 19, 2008, 11:35:18 AM6/19/08
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Krzysztof Duchnowski wrote:

|> So that is not the problem. The problem you have here is that something
|> is telling the code to look in /usr/share/idl/xulrunner-1.9b4 but what
|> should be there is not. So that appears to be a broken .pc file.
|
| Hmmm... but I have /usr/share/idl/xulrunner-1.9b4/stable/nsISupports.idl
| file
|

Did you happen to say what version of gecko-mediaplayer you were using?
Also can you post your configure.log file.

Thanks,

Kevin

- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFIWny26w2kMH0L1dERAgDCAKCLNaZAkkJrM3m3GkhUqt/bUYScrACglaIq
q7hgkBFZXFyql1X4Cmg/i3o=
=u56t
-----END PGP SIGNATURE-----

Kevin DeKorte

unread,
Jun 19, 2008, 1:20:44 PM6/19/08
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Krzysztof Duchnowski wrote:
| Kevin DeKorte pisze:
|
|> |> /usr/bin/xpidl -w -m header -I /usr/share/idl/xulrunner-1.9b4 -I . -e
|> src/nsIScriptableGeckoMediaPlayer.h src/nsIScriptableGeckoMediaPlayer.idl
|> |> src/nsIScriptableGeckoMediaPlayer.idl:2: can't open included file
|> nsISupports.idl for reading

Ah I see the problem....


| Hmmm... but I have /usr/share/idl/xulrunner-1.9b4/stable/nsISupports.idl
| file
|


See how in the above example, the .pc file is saying the files are in
/usr/share/idl/xulrunner-1.9b4 but when you find them the files are
actually in /usr/share/idl/xulrunner-1.9b4/stable

So it is a .pc file problem...

Sorry, packaging error, needs to get fixed by the xulrunner packager.
Not the first time I've seen this either.

Kevin


- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFIWpVs6w2kMH0L1dERAqIgAJ9j7PFg0LuD0XIsU6V9iPLbGU6l7wCgh32p
H3qORhlRUruB4Xx1FaQw3ZE=
=8gdt
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages