Re: Testing Yelp 2.23.1 with Firefox 3.0



tjoen wrote:
I will try it without CPPFLAGS=-DXPCOM_GLUE

Needed this patch:

diff -uNr yelp-2.23.1.orig/src/yelp-gecko-utils.cpp yelp-2.23.1/src/yelp-gecko-utils.cpp
--- yelp-2.23.1.orig/src/yelp-gecko-utils.cpp   2008-06-02 19:56:46.000000000 +0200
+++ yelp-2.23.1/src/yelp-gecko-utils.cpp        2008-06-21 12:41:12.000000000 +0200
@@ -27,10 +27,6 @@

 #include <nsStringAPI.h>

-#ifdef HAVE_GECKO_1_9
-#include <gtkmozembed_glue.cpp>
-#endif
-
 #include <gtkmozembed.h>
 #include <gtkmozembed_internal.h>
 #include <nsCOMPtr.h>

This /usr/lib/pkgconfig/firefox-xpcom.pc:

prefix=/usr
exec_prefix=/usr
libdir=/usr/lib/firefox-devel-3.0/sdk/lib
includedir=/usr/include/firefox-3.0/unstable
idldir=/usr/share/idl/firefox-3.0

Name: XPCOM
Description: The Mozilla Cross Platform Component Library
Version: 3.0
Libs: -L${libdir} -lxpcom -lxpcomglue
Cflags: -I/usr/include/firefox-3.0/stable -I${includedir}

$ yelp
Could not initialize gecko!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]