Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378769 - dev-libs/gmime : add USE=static-libs support
Summary: dev-libs/gmime : add USE=static-libs support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-11 12:27 UTC by Agostino Sarubbo
Modified: 2011-08-14 04:36 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 Agostino Sarubbo gentoo-dev 2011-08-11 12:27:08 UTC
This package installs also static libs ".a" please provide do add relative
USE. TIA

>>> /usr/lib64/libgmime-2.4.a
>>> /usr/lib64/libgmime-2.4.so.2.4.24
>>> /usr/lib64/libgmime-2.4.la

Please remove also .la if is not needed.
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-08-11 13:27:45 UTC
There is no good reason for dev-libs/gmime to install static libraries and .la files at all; every package that uses it should be using dynamic linking and the pkg-config file.

I recommend adding --disable-static to G2CONF and 'find "${D}" -name '*.la' -exec rm -f {} + || die' to src_install, like in the overlay: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commitdiff;h=51490e1f29a1add04c2cd2ed0719900d680ab5c6
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-08-11 13:41:26 UTC
Actually, may want to add USE=static-libs after all since it looks like some users of gmime (e.g. net-mail/dbmail) do support static linking.
Comment 3 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-08-14 04:36:39 UTC
USE=static-libs added, and .la files dropped conditionally, thanks for reporting.