Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 88055

Summary: Add static library build to libgii
Product: Gentoo Linux Reporter: Pat Double <gentoo>
Component: New packagesAssignee: Luca Barbato <lu_zero>
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: libgii-0.9.0.ebuild.patch
libgii-0.9.0.ebuild.patch

Description Pat Double 2005-04-05 10:00:09 UTC
Please add the option for libgii to build static versions of the library. This is needed at least for QEMU when building the accelerator.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Pat Double 2005-04-05 10:00:41 UTC
Created attachment 55376 [details, diff]
libgii-0.9.0.ebuild.patch

Adds static library supports based on the 'static' use flag.
Comment 2 Pat Double 2005-04-05 10:53:16 UTC
Created attachment 55382 [details, diff]
libgii-0.9.0.ebuild.patch

Previous patch did not use 'static' use flag.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2005-04-06 04:25:13 UTC
Chris, see my comment in libggi's bug
Comment 4 Luca Barbato gentoo-dev 2005-04-11 12:56:36 UTC
which accelerator?
Comment 5 Pat Double 2005-04-11 15:27:22 UTC
The KQEMU accelerator.
Comment 6 Luca Barbato gentoo-dev 2005-04-11 23:01:23 UTC
last time I checked it was a closed source kernel module. Please explain better
Comment 7 Pat Double 2005-04-12 03:42:42 UTC
I do not know exactly if it is the accelerator only or for also the 'qemu-fast' program. I do know when I tried to compile QEMU without the ebuild, including the KQEMU patches (which apply to the QEMU emulator to use the module besides the actual kernel module), I needed to have libgii and libggi static libraries. I had to roll my own libgii and libggi ebuilds to get the static libraries before I could continue compiling.

This is just my particular need, but it seems reasonable that libraries that provide linking static versions in the upstream source build should also have that ability in the ebuild. DirectFB has similar support for building static libraries based on the 'static' use flag.
Comment 8 Luca Barbato gentoo-dev 2005-04-12 10:42:00 UTC
you don't need libgii.

get my ebuild for qemu-0.6.2_pre from my devspace