Patches are taken from http://bugs.gentoo.org/show_bug.cgi?id=223265 and slightly changed. I expected it will work, but configure says: The following modules will be built: The following modules will NOT be built: gtkhtml2 egg.trayicon egg.recent gtkmozembed gtkspell gdl gda gksu2 gksu gksu.ui Reproducible: Always
Created attachment 172002 [details] ebuild for dev-python/gtkmozembed-python
Created attachment 172003 [details, diff] adapted xulrunner-1.9 patch
Created attachment 172004 [details, diff] patch from #223265
if you don't read the patch, you have no chance of making this work... Please also note that we tend to make xulrunner-1.9 only ebuild and xulrunner-1.8/firefox/whatever separate.
The gtkmozembed-python in the tree builds against xulrunner 1.9.
(In reply to comment #5) > The gtkmozembed-python in the tree builds against xulrunner 1.9. > I just did emerge --sync and don't see gtkmozembed-python that builds against xulrunner-1.9. dev-python/gtkmozembed-python-2.19.1.ebuild: RDEPEND="xulrunner? ( =net-libs/xulrunner-1.8* ) !xulrunner? ( firefox? ( =www-client/mozilla-firefox-2* ) ) !xulrunner? ( !firefox? ( seamonkey? ( =www-client/seamonkey-1* ) ) )" DEPEND="${RDEPEND}"
Ah, my bad. I had just made a local modification, and missed that. Just change the dep to 1.9 and change the configure to 1.9 and it works fine.
Created attachment 172370 [details, diff] working patch
Created attachment 172371 [details] working ebuild
> Just change the dep to 1.9 and change the configure to 1.9 and it works fine. > You right. I just attached ebuild & patch, on which checked that out.
Reopening to fix
I added 2.19.1-r10 that deps on 1.9. This is inline with epiphany and others.
(In reply to comment #12) > I added 2.19.1-r10 that deps on 1.9. This is inline with epiphany and others. > but this breaks during configure configure: error: --with-gtkmozembed argument must be either 'mozilla', 'firefox', or 'xulrunner' !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-python/gtkmozembed-python-2.19.1-r10/work/gnome-python-extras-2.19.1/config.log * * ERROR: dev-python/gtkmozembed-python-2.19.1-r10 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3724: Called gnome2_src_compile * environment, line 2904: Called gnome2_src_configure * environment, line 2918: Called econf '--disable-allbindings' '--enable-gtkmozembed' '--with-gtkmozembed=xulrunner-1.9' '--disable-gtk-doc' * ebuild.sh, line 525: Called die * The specific snippet of code: * die "econf failed" * The die message: * econf failed
*** Bug 247616 has been marked as a duplicate of this bug. ***
*** Bug 247615 has been marked as a duplicate of this bug. ***
(In reply to comment #13) > (In reply to comment #12) > > I added 2.19.1-r10 that deps on 1.9. This is inline with epiphany and others. > > > > but this breaks during configure > configure: error: --with-gtkmozembed argument must be either 'mozilla', > 'firefox', or 'xulrunner' > > !!! Please attach the following file when seeking support: > !!! > /var/tmp/portage/dev-python/gtkmozembed-python-2.19.1-r10/work/gnome-python-extras-2.19.1/config.log > * > * ERROR: dev-python/gtkmozembed-python-2.19.1-r10 failed. > * Call stack: > * ebuild.sh, line 49: Called src_compile > * environment, line 3724: Called gnome2_src_compile > * environment, line 2904: Called gnome2_src_configure > * environment, line 2918: Called econf '--disable-allbindings' > '--enable-gtkmozembed' '--with-gtkmozembed=xulrunner-1.9' '--disable-gtk-doc' > * ebuild.sh, line 525: Called die > * The specific snippet of code: > * die "econf failed" > * The die message: > * econf failed > > I get the same error with gtkmozembed-python-2.19.1-r10. Please reopen this bug.
*** Bug 247643 has been marked as a duplicate of this bug. ***
Reopening since the ebuild fails to compile with "-firefox -seamonkey xulrunner" USE flags
Created attachment 172421 [details, diff] gtkmozembed-python-2.19.1-r10.ebuild.patch This patch fixes the above mentioned problem for me...
Fixed. Sorry about that.
(In reply to comment #19) > Created an attachment (id=172421) [edit] > gtkmozembed-python-2.19.1-r10.ebuild.patch > > This patch fixes the above mentioned problem for me... > Confirm that this builds, but gtkmozembed.so is linked again against old xulrunner, you can see with ldd /usr/lib/python2.5/site-packages/gtk-2.0/gtkmozembed.so or in the respective gtkmozembed.la file.
> Confirm that this builds, but gtkmozembed.so is linked again against old > xulrunner, you can see with > ldd /usr/lib/python2.5/site-packages/gtk-2.0/gtkmozembed.so or in the > respective gtkmozembed.la file. I verified that this is indeed true in my case as well. The configure script may need updated to handle paths for the --with-gtkmozembed flag.
*** Bug 223265 has been marked as a duplicate of this bug. ***