diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2011-June/005312.html')
-rw-r--r-- | zarb-ml/mageia-dev/2011-June/005312.html | 226 |
1 files changed, 226 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-June/005312.html b/zarb-ml/mageia-dev/2011-June/005312.html new file mode 100644 index 000000000..c176fac8a --- /dev/null +++ b/zarb-ml/mageia-dev/2011-June/005312.html @@ -0,0 +1,226 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] [RFC] Removing .la files + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BRFC%5D%20Removing%20.la%20files&In-Reply-To=%3CBANLkTim-9MV5RcfwDsTZ6mPXV04heVbojQ%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="005288.html"> + <LINK REL="Next" HREF="005329.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] [RFC] Removing .la files</H1> + <B>Ahmad Samir</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BRFC%5D%20Removing%20.la%20files&In-Reply-To=%3CBANLkTim-9MV5RcfwDsTZ6mPXV04heVbojQ%40mail.gmail.com%3E" + TITLE="[Mageia-dev] [RFC] Removing .la files">ahmadsamir3891 at gmail.com + </A><BR> + <I>Fri Jun 10 02:47:08 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="005288.html">[Mageia-dev] [RFC] Removing .la files +</A></li> + <LI>Next message: <A HREF="005329.html">[Mageia-dev] [RFC] Removing .la files +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#5312">[ date ]</a> + <a href="thread.html#5312">[ thread ]</a> + <a href="subject.html#5312">[ subject ]</a> + <a href="author.html#5312">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 9 June 2011 19:35, Dexter Morgan <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">dmorganec at gmail.com</A>> wrote: +><i> Hello, +</I>><i> +</I>><i> as other distributions we started to remove .la files from mageia +</I>><i> during mageia 1 development. +</I>><i> +</I>><i> Unfortunatly we didn't had enough time to finish this. +</I>><i> +</I>><i> I restarted this task today. +</I>><i> +</I>><i> +</I>><i> Please tell me if a build fails because of a missing la file. +</I>><i> +</I> +><i>From building pidgin-libnotify locally: +</I>libtool: link: cannot find the library `/usr/lib64/libatk-1.0.la' or +unhandled argument `/usr/lib64/libatk-1.0.la' + +><i>From the chroot: +</I>$ cd usr/lib64/ +$ grep libatk-1.0.la * +libindicate-gtk.la:dependency_libs=' /usr/lib64/libindicate.la +/usr/lib64/libgtk-x11-2.0.la /usr/lib64/libgdk-x11-2.0.la +/usr/lib64/libatk-1.0.la /usr/lib64/libpangocairo-1.0.la +/usr/lib64/libpangoft2-1.0.la /usr/lib64/libgdk_pixbuf-2.0.la +/usr/lib64/libcairo.la /usr/lib64/libpixman-1.la +/usr/lib64/libXrender.la /usr/lib64/libX11.la /usr/lib64/libxcb.la +/usr/lib64/libXau.la /usr/lib64/libXdmcp.la -lpng12 +/usr/lib64/libpango-1.0.la /usr/lib64/libfontconfig.la +/usr/lib64/libfreetype.la /usr/lib64/libxml2.la -lm +/usr/lib64/libdbusmenu-glib.la /usr/lib64/libgio-2.0.la -lresolv -lz +/usr/lib64/libgmodule-2.0.la -ldl -ldbus-glib-1 -ldbus-1 +/usr/lib64/libgobject-2.0.la /usr/lib64/libgthread-2.0.la -lpthread +/usr/lib64/libglib-2.0.la /usr/lib64/libpcre.la -lrt' + + +I don't think just building packages and removing the .la will work, +the inter-dependency is too wide, I count too many .la files up there. + +Reading these: +<A HREF="http://wiki.debian.org/ReleaseGoals/LAFileRemoval">http://wiki.debian.org/ReleaseGoals/LAFileRemoval</A> +<A HREF="http://lists.debian.org/debian-devel/2009/08/msg00783.html">http://lists.debian.org/debian-devel/2009/08/msg00783.html</A> + +it looks like Debian are using sed to remove the .la files from +dependency_libs field in .la files, there's a debhelper script, IIUC +it's run before they build a package. + +This means it's something that a script run as root in the chroot can +do, but I guess it needs to be fine-tuned. + +Meanwhile, just removing .la files will break a lot of builds (note +that we have a lot of packages to rebuild for e.g. new libnotify major +in Cauldron)... :( + +-- +Ahmad Samir +</PRE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="005288.html">[Mageia-dev] [RFC] Removing .la files +</A></li> + <LI>Next message: <A HREF="005329.html">[Mageia-dev] [RFC] Removing .la files +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#5312">[ date ]</a> + <a href="thread.html#5312">[ thread ]</a> + <a href="subject.html#5312">[ subject ]</a> + <a href="author.html#5312">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |