Em Qui, 2008-06-19 às 22:10 +0100, Duncan Coutts escreveu:
> On Thu, 2008-06-19 at 17:16 -0300, Marco Túlio Gontijo e Silva wrote:
> It's looking for the pkg-config package xulrunner. We're asking
> pkg-config if it's present and in turn, pkg-config would be looking for
> the file /usr/lib/pkgconfig/xulrunner.pc.
> 
> Does the debian package xulrunner-dev provide that file? Or does it
> provide a .pc file with a different name? One way or another we need an
> appropriate pkg-config file so that we can find the right c flags etc.

The old debian package, which built with gtk2hs, provided:

/usr/lib/pkgconfig/xulrunner-gtkmozembed.pc
/usr/lib/pkgconfig/xulrunner-plugin.pc
/usr/lib/pkgconfig/xulrunner-xpcom.pc

This new one provides:

/usr/lib/pkgconfig/mozilla-plugin.pc
/usr/lib/pkgconfig/libxul-embedding-unstable.pc
/usr/lib/pkgconfig/mozilla-gtkmozembed.pc
/usr/lib/pkgconfig/libxul-embedding.pc
/usr/lib/pkgconfig/libxul-unstable.pc
/usr/lib/pkgconfig/libxul.pc
/usr/lib/pkgconfig/mozilla-gtkmozembed-embedding.pc

So, there's not xulrunner-gtkmozembed.pc, but there's
mozilla-gtkmozembed.pc .  I've looked at configure.ac, and after reading
this part of the code I thought it should check for
mozilla-gtkmozembed.pc too:

GTKHS_PKG_CHECK(mozilla, mozembed, MOZILLA_MOZEMBED,
[mozilla-gtkmozembed >= 1.4],
        [build bindings for the Mozilla display widget (default=auto)],
        [Mozilla requirement not met. Perhaps you need to install mozilla or
mozilla-devel])
MOZILLA_MOZEMBED_LIBDIR=$(${PKG_CONFIG} --variable=libdir
mozilla-gtkmozembed)

GTKHS_PKG_CHECK(seamonkey, mozembed, SEAMONKEY_MOZEMBED,
[seamonkey-gtkmozembed >= 1.0],
        [build bindings for the Mozilla display widget using the
Seamonkey libs (default=auto)],
        [Seamonkey requirement not met. Perhaps you need to install
seamonkey or seamonkey-devel])
SEAMONKEY_MOZEMBED_LIBDIR=$(${PKG_CONFIG} --variable=libdir
seamonkey-gtkmozembed)

GTKHS_PKG_CHECK(firefox, mozembed, FIREFOX_MOZEMBED,
[firefox-gtkmozembed >= 1.0],
        [build bindings for the Mozilla display widget using the Firefox libs
(default=auto)],
        [Mozilla Firefox requirement not met. Perhaps you need to install
firefox or firefox-devel])
FIREFOX_MOZEMBED_LIBDIR=$(${PKG_CONFIG} --variable=libdir
firefox-gtkmozembed)

GTKHS_PKG_CHECK(xulrunner, mozembed, XULRUNNER_MOZEMBED,
[xulrunner-gtkmozembed >= 1.8.0.1],
        [build bindings for the Mozilla display widget using the XULRunner libs
(default=auto)],
        [XULRunner requirement not met. Perhaps you need to install xulrunner
or xulrunner-devel])
XULRUNNER_MOZEMBED_LIBDIR=$(${PKG_CONFIG} --variable=libdir
xulrunner-gtkmozembed)

dnl Use in this order of preference: xulrunner, seamonkey, firefox,
mozilla
if test "$ENABLE_XULRUNNER_MOZEMBED" = "yes"; then
        ENABLE_MOZEMBED="yes"
        MOZEMBED_CFLAGS="$XULRUNNER_MOZEMBED_CFLAGS"
        MOZEMBED_LIBS="$XULRUNNER_MOZEMBED_LIBS"
        MOZEMBED_LIBDIR="$XULRUNNER_MOZEMBED_LIBDIR"
elif test "$ENABLE_SEAMONKEY_MOZEMBED" = "yes"; then
        ENABLE_MOZEMBED="yes"
        MOZEMBED_CFLAGS="$SEAMONKEY_MOZEMBED_CFLAGS"
        MOZEMBED_LIBS="$SEAMONKEY_MOZEMBED_LIBS"
        MOZEMBED_LIBDIR="$SEAMONKEY_MOZEMBED_LIBDIR"
elif test "$ENABLE_FIREFOX_MOZEMBED" = "yes"; then
        ENABLE_MOZEMBED="yes"
        MOZEMBED_CFLAGS="$FIREFOX_MOZEMBED_CFLAGS"
        MOZEMBED_LIBS="$FIREFOX_MOZEMBED_LIBS"
        MOZEMBED_LIBDIR="$FIREFOX_MOZEMBED_LIBDIR"
elif test "$ENABLE_MOZILLA_MOZEMBED" = "yes"; then
        ENABLE_MOZEMBED="yes"
        MOZEMBED_CFLAGS="$MOZILLA_MOZEMBED_CFLAGS"
        MOZEMBED_LIBS="$MOZILLA_MOZEMBED_LIBS"
        MOZEMBED_LIBDIR="$MOZILLA_MOZEMBED_LIBDIR"
else
        ENABLE_MOZEMBED="no"
fi

Do you know why it's not checking?

Thanks.

-- 
Marco Túlio Gontijo e Silva
Página: http://marcotmarcot.googlepages.com/
Blog: http://marcotmarcot.wordpress.com/
Correio: [EMAIL PROTECTED]
XMPP: [EMAIL PROTECTED]
IRC: [EMAIL PROTECTED]
Telefone: 25151920
Celular: 98116720
Endereço:
 Rua Turfa, 639/701
 Prado 30410-370
 Belo Horizonte/MG Brasil



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gtk2hs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to