| Summary: | media-libs/libgphoto2: empty dependency_libs in .la files to make them harmless | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
| Component: | New packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | graphics+disabled |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://bugs.gentoo.org/show_bug.cgi?id=510956 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | ".la" file installed by all packages | ||
|
Description
Agostino Sarubbo
2011-10-10 14:58:36 UTC
and as you say, you should also use remove_libtool_files() from autotools-utils.eclass (In reply to comment #0) > Created attachment 289467 [details] > ".la" file installed by all packages Fixed json-glib from this list. All done except libgphoto2, as I don't know if its .la files are really needed or not :( As I said many times, libgphoto2 is a valid exception to the la files removal attempts. Unless its code base was modified to use the extended libtool library loading call, those cannot be removed. the dependency_libs can still be emptied, so overlinking doesn't happen:
find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
used in imagemagick, mpg123, redland, etc.
+*libgphoto2-2.4.12 (31 Jan 2012) + + 31 Jan 2012; Pacho Ramos <pacho@gentoo.org> +libgphoto2-2.4.12.ebuild, + -libgphoto2-2.4.10.ebuild, -libgphoto2-2.4.11.ebuild: + Version bump, drop no longer needed libusb fix and automagic patch, empty + dependency_libs in .la files (bug #386665 by Samuli Suominen). Drop old. + |