Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 379115 - dev-libs/glib-2.28.8 should ALWAYS punt .la files as it ships proper pkg-config files(was: should not punt .la files when USE=static-libs)
Summary: dev-libs/glib-2.28.8 should ALWAYS punt .la files as it ships proper pkg-conf...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-14 01:36 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2011-08-14 09:44 UTC (History)
1 user (show)

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


Attachments
patch for glib-2.28.8.ebuild (glib.ebuild.patch,265 bytes, patch)
2011-08-14 01:36 UTC, Alexandre Rostovtsev (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-08-14 01:36:36 UTC
Created attachment 283257 [details, diff]
patch for glib-2.28.8.ebuild

Three days ago, Samuli modified the dev-libs/glib-2.28.8 ebuild to unconditionally remove .la files in src_install; see http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/glib/glib-2.28.8.ebuild?r1=1.10&r2=1.11

However, glib has a static-libs USE flag, and when it's enabled (and it is enabled by default), glib will install static libraries. If a package installs static libraries, then, unless I am entirely mistaken, it should also install .la files to allow static linking using libtool.

I believe that the ebuild should be changed to only punt .la files when USE=-static-libs. My proposed patch is attached.
Comment 1 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-08-14 03:04:17 UTC
I'm thinking we should also not do IUSE=+static-libs. But we should probably do that in the ~arch tree, with 2.29/30 perhaps. There's unknown breakage without IUSE=+static-libs.
Comment 2 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-08-14 03:08:21 UTC
Alrighty, fixed. Thanks for reporting!
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2011-08-14 09:34:45 UTC
reopneing as the first commit was correct, and glib-2.0 has proper pkg-config files making all .la files redudant in any case

please revert
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2011-08-14 09:44:11 UTC
+  14 Aug 2011; Samuli Suominen <ssuominen@gentoo.org> glib-2.28.8.ebuild:
+  Revert last libtool file preservation since we have usable pkg-config files
+  wrt #379115.