[aur-general] status of libtool slaying
I remember the consensus used to be !libtool by default and now it's libtool in makepkg.conf, so what happened? In any case, on my system: ~$ for i in `ls /usr/lib/*.la`; do pacman -Qo $i | awk '{print $5}'; done | sort -u fam gnutls kdemod-meanwhile libarchive libgphoto2 libsasl moonlight mpg123 neon
On Wed, Nov 11, 2009 at 5:34 AM, Ray Rashif <schivmeister@gmail.com> wrote:
I remember the consensus used to be !libtool by default and now it's libtool in makepkg.conf, so what happened?
some packages need the libtool files to function properly if that is what you mean. Ronald
2009/11/11 Ronald van Haren <pressh@gmail.com>
I remember the consensus used to be !libtool by default and now it's
On Wed, Nov 11, 2009 at 5:34 AM, Ray Rashif <schivmeister@gmail.com> wrote: libtool
in makepkg.conf, so what happened?
some packages need the libtool files to function properly if that is what you mean.
Ronald
I mean, that was always the case: http://wiki.archlinux.org/index.php/Libtool_slaying So the default for some time was to get rid of them, but in the event a package did need its libtool files, then we used options=('libtool'), right? But of course, there aren't many that install libtool files unnecessarily now, so that's good. Just curious, in case I missed anything.
2009/11/11 Ray Rashif <schivmeister@gmail.com>
2009/11/11 Ronald van Haren <pressh@gmail.com>
On Wed, Nov 11, 2009 at 5:34 AM, Ray Rashif <schivmeister@gmail.com>
I remember the consensus used to be !libtool by default and now it's
wrote: libtool
in makepkg.conf, so what happened?
some packages need the libtool files to function properly if that is what you mean.
Ronald
I mean, that was always the case: http://wiki.archlinux.org/index.php/Libtool_slaying
So the default for some time was to get rid of them, but in the event a package did need its libtool files, then we used options=('libtool'), right? But of course, there aren't many that install libtool files unnecessarily now, so that's good. Just curious, in case I missed anything.
Oops, I think I answered my own question. It's because "there aren't many that install libtool files unnecessarily now". Thanks and sorry for the blob!
On Wed, Nov 11, 2009 at 9:35 AM, Ray Rashif <schivmeister@gmail.com> wrote:
2009/11/11 Ray Rashif <schivmeister@gmail.com>
2009/11/11 Ronald van Haren <pressh@gmail.com>
On Wed, Nov 11, 2009 at 5:34 AM, Ray Rashif <schivmeister@gmail.com>
I remember the consensus used to be !libtool by default and now it's
wrote: libtool
in makepkg.conf, so what happened?
some packages need the libtool files to function properly if that is what you mean.
Ronald
I mean, that was always the case: http://wiki.archlinux.org/index.php/Libtool_slaying
So the default for some time was to get rid of them, but in the event a package did need its libtool files, then we used options=('libtool'), right? But of course, there aren't many that install libtool files unnecessarily now, so that's good. Just curious, in case I missed anything.
Oops, I think I answered my own question. It's because "there aren't many that install libtool files unnecessarily now". Thanks and sorry for the blob!
haha, good you figured it out! :lol: Ronald
On Wed, 2009-11-11 at 12:34 +0800, Ray Rashif wrote:
I remember the consensus used to be !libtool by default and now it's libtool in makepkg.conf, so what happened?
In any case, on my system:
~$ for i in `ls /usr/lib/*.la`; do pacman -Qo $i | awk '{print $5}'; done | sort -u
fam gnutls kdemod-meanwhile libarchive libgphoto2 libsasl moonlight mpg123 neon
From this list posted above, I know at least mpg123, libsasl and
libtool always used to be the default and will stay this way. Some packages require .la files, and it's a hard job detecting them when they get removed by default. Showing a warning with namcap is much easier than finding out the other way around. libgphoto2 require libtool files to load their plugins. I think fam and gnutls kept the .la files for no clear reason. Fedora was the first to start deleting all these .la files, they kept the files in these packages. Nowadays Fedora removes the .la files from gnutls and gamin too, so we might do that in the near future also. Note that removing these files also means rebuilding all packages with .la files that include it. For libarchive we kept the .la files because static linking would fail without them. We don't do static linking with libarchive anymore, so if we ever decide to --disable-static, we should also remove the .la files in it. Fedora still keeps .la files in neon and even patches them to include less crap, so I guess they have a reason to keep the files. Moonlight doesn't contain .la files, and about kdemod-meanwhile: I don't use kdemod, so I can't comment on it.
On Wed, Nov 11, 2009 at 10:25 AM, Jan de Groot <jan@jgc.homeip.net> wrote:
For libarchive we kept the .la files because static linking would fail without them. We don't do static linking with libarchive anymore, so if we ever decide to --disable-static, we should also remove the .la files in it.
There is still pacman-static in AUR, we might want to keep support for it : http://aur.archlinux.org/packages/pacman-static/pacman-static/PKGBUILD But after a long time of inactivity, I finally just got pkgconfig added to libarchive : http://code.google.com/p/libarchive/source/detail?r=1614# Though I did not try it to edit pacman-static package to use pkgconfig instead of libtool.
2009/11/11 Jan de Groot <jan@jgc.homeip.net>
libtool always used to be the default and will stay this way. Some packages require .la files, and it's a hard job detecting them when they get removed by default. Showing a warning with namcap is much easier than finding out the other way around.
From this list posted above, I know at least mpg123, libsasl and libgphoto2 require libtool files to load their plugins. I think fam and gnutls kept the .la files for no clear reason. Fedora was the first to start deleting all these .la files, they kept the files in these packages. Nowadays Fedora removes the .la files from gnutls and gamin too, so we might do that in the near future also. Note that removing these files also means rebuilding all packages with .la files that include it. For libarchive we kept the .la files because static linking would fail without them. We don't do static linking with libarchive anymore, so if we ever decide to --disable-static, we should also remove the .la files in it. Fedora still keeps .la files in neon and even patches them to include less crap, so I guess they have a reason to keep the files. Moonlight doesn't contain .la files, and about kdemod-meanwhile: I don't use kdemod, so I can't comment on it.
Awesome; exactly what I wanted to know, thanks guys!
participants (4)
-
Jan de Groot
-
Ray Rashif
-
Ronald van Haren
-
Xavier