Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296600 - dev-libs/DirectFB should have its build system fixed
Summary: dev-libs/DirectFB should have its build system fixed
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-12 11:35 UTC by Rafał Mużyło
Modified: 2009-12-21 22:32 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Mużyło 2009-12-12 11:35:22 UTC
...or at least ebuild should remove all the stray *.o files
and redundant static modules.

Right now, it looks like a giant hack:
to ensure everything is in the static lib, including modules,
upstream in the final step does:
libdirectfb_fixed.a: .libs/libdirectfb.a
        rm -f libdirectfb_fixed.a
        ${AR} cru libdirectfb_fixed.a `find . -name "*.o" | grep -v '.libs'`
        ${RANLIB} libdirectfb_fixed.a
        cp -pf libdirectfb_fixed.a .libs/libdirectfb.a
While previously doing a lot of 
foo_DATA =  = $(foo_LTLIBRARIES:.la=.o)
which not only makes separate static modules redundant,
but also results in a lot of *.o files being needlessly
installed.

There's also a minor issue of : 
* QA Notice: USE Flag '_none' not in IUSE for dev-libs/DirectFB-1.4.2
but that's a small fry compared to the first thing.
(BTW, 1.2.7 had this problem too)
On unrelated note - I see this this lib as a major argument for 
removing la files by default.
Comment 1 SpanKY gentoo-dev 2009-12-21 22:32:04 UTC
upstream has a bug tracker.  use it.

the '_none' issue is fixed in cvs:
http://sources.gentoo.org/dev-libs/DirectFB/DirectFB-1.4.2.ebuild?r1=1.2&r2=1.3