diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2011-June/005329.html')
-rw-r--r-- | zarb-ml/mageia-dev/2011-June/005329.html | 234 |
1 files changed, 234 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-June/005329.html b/zarb-ml/mageia-dev/2011-June/005329.html new file mode 100644 index 000000000..5a652ecd3 --- /dev/null +++ b/zarb-ml/mageia-dev/2011-June/005329.html @@ -0,0 +1,234 @@ +<!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=%3C1307702507.26948.105.camel%40akroma.ephaone.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="005312.html"> + <LINK REL="Next" HREF="005337.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] [RFC] Removing .la files</H1> + <B>Michael Scherer</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=%3C1307702507.26948.105.camel%40akroma.ephaone.org%3E" + TITLE="[Mageia-dev] [RFC] Removing .la files">misc at zarb.org + </A><BR> + <I>Fri Jun 10 12:41:46 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="005312.html">[Mageia-dev] [RFC] Removing .la files +</A></li> + <LI>Next message: <A HREF="005337.html">[Mageia-dev] [RFC] Removing .la files +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#5329">[ date ]</a> + <a href="thread.html#5329">[ thread ]</a> + <a href="subject.html#5329">[ subject ]</a> + <a href="author.html#5329">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Le vendredi 10 juin 2011 à 03:47 +0300, Ahmad Samir a écrit : +><i> 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>><i> > Hello, +</I>><i> > +</I>><i> > as other distributions we started to remove .la files from mageia +</I>><i> > during mageia 1 development. +</I> +Could you explain the rational of removing them ? + +AFAIK, the .la removal was not discussed, so starting by saying "we +remove them now because last time, we didn't discussed and it broke lots +of thing" is a little bit weird. + + +><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> +</I>><i> >From building pidgin-libnotify locally: +</I>><i> libtool: link: cannot find the library `/usr/lib64/libatk-1.0.la' or +</I>><i> unhandled argument `/usr/lib64/libatk-1.0.la' +</I>><i> +</I>><i> >From the chroot: +</I>><i> $ cd usr/lib64/ +</I>><i> $ grep libatk-1.0.la * +</I>><i> libindicate-gtk.la:dependency_libs=' /usr/lib64/libindicate.la +</I>><i> /usr/lib64/libgtk-x11-2.0.la /usr/lib64/libgdk-x11-2.0.la +</I>><i> /usr/lib64/libatk-1.0.la /usr/lib64/libpangocairo-1.0.la +</I>><i> /usr/lib64/libpangoft2-1.0.la /usr/lib64/libgdk_pixbuf-2.0.la +</I>><i> /usr/lib64/libcairo.la /usr/lib64/libpixman-1.la +</I>><i> /usr/lib64/libXrender.la /usr/lib64/libX11.la /usr/lib64/libxcb.la +</I>><i> /usr/lib64/libXau.la /usr/lib64/libXdmcp.la -lpng12 +</I>><i> /usr/lib64/libpango-1.0.la /usr/lib64/libfontconfig.la +</I>><i> /usr/lib64/libfreetype.la /usr/lib64/libxml2.la -lm +</I>><i> /usr/lib64/libdbusmenu-glib.la /usr/lib64/libgio-2.0.la -lresolv -lz +</I>><i> /usr/lib64/libgmodule-2.0.la -ldl -ldbus-glib-1 -ldbus-1 +</I>><i> /usr/lib64/libgobject-2.0.la /usr/lib64/libgthread-2.0.la -lpthread +</I>><i> /usr/lib64/libglib-2.0.la /usr/lib64/libpcre.la -lrt' +</I>><i> +</I>><i> +</I>><i> I don't think just building packages and removing the .la will work, +</I>><i> the inter-dependency is too wide, I count too many .la files up there. +</I>><i> +</I>><i> Reading these: +</I>><i> <A HREF="http://wiki.debian.org/ReleaseGoals/LAFileRemoval">http://wiki.debian.org/ReleaseGoals/LAFileRemoval</A> +</I>><i> <A HREF="http://lists.debian.org/debian-devel/2009/08/msg00783.html">http://lists.debian.org/debian-devel/2009/08/msg00783.html</A> +</I>><i> +</I>><i> it looks like Debian are using sed to remove the .la files from +</I>><i> dependency_libs field in .la files, there's a debhelper script, IIUC +</I>><i> it's run before they build a package. +</I>><i> +</I>><i> This means it's something that a script run as root in the chroot can +</I>><i> do, but I guess it needs to be fine-tuned. +</I>><i> +</I>><i> Meanwhile, just removing .la files will break a lot of builds (note +</I>><i> that we have a lot of packages to rebuild for e.g. new libnotify major +</I>><i> in Cauldron)... :( +</I> +Ie, we need to remove them in the proper order. +One first step would be to find the dependency tree ( should be +basically the same as BuildRequires ) and start bu shaving the leafs. + +-- +Michael Scherer + +</PRE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="005312.html">[Mageia-dev] [RFC] Removing .la files +</A></li> + <LI>Next message: <A HREF="005337.html">[Mageia-dev] [RFC] Removing .la files +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#5329">[ date ]</a> + <a href="thread.html#5329">[ thread ]</a> + <a href="subject.html#5329">[ subject ]</a> + <a href="author.html#5329">[ 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> |