Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249470 - dev-python/gtkmozembed-python-2.19.1-r10 installs nothing for net-libs/xulrunner-1.9*
Summary: dev-python/gtkmozembed-python-2.19.1-r10 installs nothing for net-libs/xulrun...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-01 12:05 UTC by Dmitri Bogomolov
Modified: 2008-12-14 22:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gtkmozembed-python-2.19.1-r10.ebuild (gtkmozembed-python-2.19.1-r10.ebuild,1.06 KB, text/plain)
2008-12-12 17:51 UTC, Gilles Dartiguelongue (RETIRED)
Details
gtkmozembed-python-2.19.1-xulrunner19.patch (gtkmozembed-python-2.19.1-xulrunner19.patch,7.44 KB, patch)
2008-12-12 17:52 UTC, Gilles Dartiguelongue (RETIRED)
Details | Diff
gtkmozembed-python-2.19.1-libtool2.patch (gtkmozembed-python-2.19.1-libtool2.patch,258 bytes, patch)
2008-12-12 17:55 UTC, Gilles Dartiguelongue (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Bogomolov 2008-12-01 12:05:45 UTC
There is
"PKG_CHECK_MODULES(GTKMOZEMBED, [xulrunner-gtkmozembed >= xulrunner_required_version ..." in configure.ac, but for xulrunner-1.9 should be "PKG_CHECK_MODULES(GTKMOZEMBED, [libxul-embedding >= xulrunner_required_version", so configure can't find GTKMOZEMBED.

Reproducible: Always

Steps to Reproduce:
1. emerge dev-python/gtkmozembed-python
2. equery files gtkmozembed-python | grep so$
3. python -c "import gtkmozembed"

Actual Results:  
1.
The following modules will be built:


2. 
3. Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named gtkmozembed

Expected Results:  
1.
The following modules will be built:

gtkmozembed (linking to xulrunner)
2. /usr/lib/python2.5/site-packages/gtk-2.0/gtkmozembed.so
3.
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-12-08 18:57:32 UTC
Actually, xulrunner 1.9 installs mozilla-gtkmozembed.pc, which is not an option because of the sed changing mozilla to seamonkey.  Changing it to re-enable and use mozilla-gtkmozembed.pc doesn't work; it fails with a linker error.

I'm not sure if that's supposed to be useable or not, but historically, gtkmozembed has been different than the straight libxul, so it seems likely that that's what's supposed to be used.
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-12-12 17:51:55 UTC
Created attachment 175122 [details]
gtkmozembed-python-2.19.1-r10.ebuild

updated ebuild
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-12-12 17:52:37 UTC
Created attachment 175124 [details, diff]
gtkmozembed-python-2.19.1-xulrunner19.patch

patch taken from ubuntu which is also available in the bugs mentionned in the patch, updated to apply on top of our split patch.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-12-12 17:55:58 UTC
Created attachment 175130 [details, diff]
gtkmozembed-python-2.19.1-libtool2.patch

make sure we can build with libtool-2.

There, with this, I'm able to build gtkmozembed-python and afaics, it runs fine. I had to make this work because I didn't wanted to rebuild xulrunner 1.8 on my work box and I was trying to get codeina working.
Comment 5 Dmitri Bogomolov 2008-12-13 14:05:15 UTC
(In reply to comment #4)
> Created an attachment (id=175130) [edit]
> gtkmozembed-python-2.19.1-libtool2.patch
> 
> make sure we can build with libtool-2.
> 
> There, with this, I'm able to build gtkmozembed-python and afaics, it runs
> fine. I had to make this work because I didn't wanted to rebuild xulrunner 1.8
> on my work box and I was trying to get codeina working.
> 

Thanks for good work! It really works fo me to, even without segfault at import :)
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-12-14 22:03:12 UTC
in tree as 2.19.1-r11, thanks for reporting.