[arch-dev-public] Making !staticlibs the default in makepkg.conf
All this recent talk about static libs reminded me that we added options=(!staticlibs) to makepkg-4.1 to automatically remove them, with the idea of enabling it by default. My plan is: - build pacman with updated makepkg.conf - update devtools to have this in the makepkg.conf - set up a rebuild list The rebuild is to allow people that really need static libraries (toolchain etc) to add options=(staticlibs) to their PKGBUILD, although it will also get other static libraries gone. Any obejctions (from devs and TUs)? Allan
Sounds good. The few packages that should need options=(!staticlibs) can just use that. Also, it would be possible to create a TODO for the packages that currently include static libraries. --- Best regards, Alexander Rødseth xyproto / TU
On 29/09/13 17:36, Allan McRae wrote:
All this recent talk about static libs reminded me that we added options=(!staticlibs) to makepkg-4.1 to automatically remove them, with the idea of enabling it by default.
My plan is: - build pacman with updated makepkg.conf - update devtools to have this in the makepkg.conf - set up a rebuild list
The rebuild is to allow people that really need static libraries (toolchain etc) to add options=(staticlibs) to their PKGBUILD, although it will also get other static libraries gone.
Any obejctions (from devs and TUs)?
Due to support confirmed through lack of objection, I have uploaded a pacman package with !staticlibs in makepkg.conf to [testing]. @Pierre: I have also submitted a patch for devtools to add this to our build environment. Can you make a release with that? Once devtools is updated, I will generate a rebuild list. If your package really needs static libs, you will need to add options=(staticlibs) to the PKGBUILD. The packages I know that need it are glibc, gcc, binutils, haskell, probably lua (but we hack that for shared libraries...). So if you are not dealing with a compiler, you probably do not need them... Allan
On Tue, Oct 15, 2013 at 12:18 AM, Allan McRae <allan@archlinux.org> wrote:
On 29/09/13 17:36, Allan McRae wrote:
All this recent talk about static libs reminded me that we added options=(!staticlibs) to makepkg-4.1 to automatically remove them, with the idea of enabling it by default.
My plan is: - build pacman with updated makepkg.conf - update devtools to have this in the makepkg.conf - set up a rebuild list
The rebuild is to allow people that really need static libraries (toolchain etc) to add options=(staticlibs) to their PKGBUILD, although it will also get other static libraries gone.
Any obejctions (from devs and TUs)?
Due to support confirmed through lack of objection, I have uploaded a pacman package with !staticlibs in makepkg.conf to [testing].
@Pierre: I have also submitted a patch for devtools to add this to our build environment. Can you make a release with that?
Once devtools is updated, I will generate a rebuild list. If your package really needs static libs, you will need to add options=(staticlibs) to the PKGBUILD. The packages I know that need it are glibc, gcc, binutils, haskell, probably lua (but we hack that for shared libraries...). So if you are not dealing with a compiler, you probably do not need them...
Allan
I just discussed on IRC with Allan about the possibility of making !libtool the default in makepkg.conf. Currently, 104 packages contains *.la files (mostly gambas stuff). We could check which of these packages really require the libtool files and add an options=('libtool') to them. This could be done at the same time as the !staticlibs rebuild. Any objections? Eric
Am Tue, 15 Oct 2013 23:18:00 -0400 schrieb Eric Bélanger <snowmaniscool@gmail.com>:
I just discussed on IRC with Allan about the possibility of making !libtool the default in makepkg.conf. Currently, 104 packages contains *.la files (mostly gambas stuff). We could check which of these packages really require the libtool files and add an options=('libtool') to them. This could be done at the same time as the !staticlibs rebuild. Any objections?
Eric
Sounds good to me. +1 -Andy
On 17/10/13 01:18, Andreas Radke wrote:
Am Tue, 15 Oct 2013 23:18:00 -0400 schrieb Eric Bélanger <snowmaniscool@gmail.com>:
I just discussed on IRC with Allan about the possibility of making !libtool the default in makepkg.conf. Currently, 104 packages contains *.la files (mostly gambas stuff). We could check which of these packages really require the libtool files and add an options=('libtool') to them. This could be done at the same time as the !staticlibs rebuild. Any objections?
Eric
Sounds good to me.
+1
If there are no objects to makeing !libtool the default too, I will do the pacman rebuild this weekend. Allan
Am 18.10.2013 03:01, schrieb Allan McRae:
On 17/10/13 01:18, Andreas Radke wrote:
Am Tue, 15 Oct 2013 23:18:00 -0400 schrieb Eric Bélanger <snowmaniscool@gmail.com>:
I just discussed on IRC with Allan about the possibility of making !libtool the default in makepkg.conf. Currently, 104 packages contains *.la files (mostly gambas stuff). We could check which of these packages really require the libtool files and add an options=('libtool') to them. This could be done at the same time as the !staticlibs rebuild. Any objections?
Eric
Sounds good to me.
+1
If there are no objects to makeing !libtool the default too, I will do the pacman rebuild this weekend.
Allan
OK, I'll update devtools once this happens. -- Pierre Schmitz, https://pierre-schmitz.com
On 20/10/13 21:17, Pierre Schmitz wrote:
Am 18.10.2013 03:01, schrieb Allan McRae:
On 17/10/13 01:18, Andreas Radke wrote:
Am Tue, 15 Oct 2013 23:18:00 -0400 schrieb Eric Bélanger <snowmaniscool@gmail.com>:
I just discussed on IRC with Allan about the possibility of making !libtool the default in makepkg.conf. Currently, 104 packages contains *.la files (mostly gambas stuff). We could check which of these packages really require the libtool files and add an options=('libtool') to them. This could be done at the same time as the !staticlibs rebuild. Any objections?
Eric
Sounds good to me.
+1
If there are no objects to makeing !libtool the default too, I will do the pacman rebuild this weekend.
Allan
OK, I'll update devtools once this happens.
It happened two minutes before you sent this email! :P
participants (5)
-
Alexander Rødseth
-
Allan McRae
-
Andreas Radke
-
Eric Bélanger
-
Pierre Schmitz