Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289028 - dev-python/gdl-python-2.19.1-r1.ebuild needs dev-libs/gdl with the 'gnome' USE flag
Summary: dev-python/gdl-python-2.19.1-r1.ebuild needs dev-libs/gdl with the 'gnome' US...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-14 10:38 UTC by MT
Modified: 2009-10-30 07:47 UTC (History)
1 user (show)

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


Attachments
gdl-python-2.19.1-r2.ebuild.patch (gdl-python-2.19.1-r2.ebuild.patch,1.53 KB, patch)
2009-10-14 10:39 UTC, MT
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description MT 2009-10-14 10:38:47 UTC
installing dev-python/gdl-python I got this emerge message:

* If you want to build gdl-python you need to build dev-libs/gdl with
* the the 'gnome' USE flag.
* ERROR: dev-python/gdl-python-2.19.1 failed:                             
*   gdl must be built with USE='gnome'

the problem here is that the ebuild requires >=dev-libs/gdl-2.24.0 which in turn does NOT have the USE flag 'gnome', making impossible to install gdl-python.

Attached there is an ebuild patch that remove the restriction of the USE 'gnome', convert the ebuild to the EAPI2 format and add these enhancements:

- removed pkg_setup() as is useless;
- added USE 'static-libs' to correctly handle static *.a files;
- removal of useless *.la files;

Hope to be useful.
Mauro Toffanin

p.s: the patch files/gdl-python-2.19.1-gdlicons.patch MUST be stored inside gnome-python-extras-2.19.1-split.patch.gz and removed from the portage tree, but is something that I can not fix by the bugzilla.
Comment 1 MT 2009-10-14 10:39:52 UTC
Created attachment 207070 [details, diff]
gdl-python-2.19.1-r2.ebuild.patch
Comment 2 Mart Raudsepp gentoo-dev 2009-10-14 11:05:40 UTC
NAK on static-libs and removal of *.la files. Just pass --disable-static always, perhaps even in gnome-python*.eclass

I don't understand how you got the error you paste here, because gdl-python built_with_use uses "--missing true", so when gdl-2.24.0 doesn't have IUSE=gnome, it should assume the functionality is there and be happy, iirc.
Though mrpouet is saying its configure might be checking for gdl-python pkgconfig package explicitly, which newer gdl probably doesn't provide
Comment 3 MT 2009-10-14 11:18:45 UTC
(In reply to comment #2)
> I don't understand how you got the error you paste here, because gdl-python
> built_with_use uses "--missing true", so when gdl-2.24.0 doesn't have
> IUSE=gnome, it should assume the functionality is there and be happy, iirc.
> Though mrpouet is saying its configure might be checking for gdl-python
> pkgconfig package explicitly, which newer gdl probably doesn't provide

the message come out using sys-apps/portage-2.2_rc45 and sys-apps/portage-2.2_rc46, if you need more info or some particular tests, just ask, i'm available to provide feedback.

Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-30 07:47:06 UTC
removed the built_with_use call since it is indeed useless. Please reopen if it doesn't fix your problem.