void-packages/common
Érico Rolim e1091a5c5b gettext: reorganize so gettext-libs only ships versioned libintl.so.
Move unrelated libraries to gettext package, since they are only used by
it and by gtranslator, which will for the most part be installed
alongside gtranslator already.

The main purpose with this PR is to stop shipping unversioned libintl.so
in gettext-libs. What happens in this case is that packages built
natively for musl with localization support will have gettext in
hostmakedepends, which will lead to gettext-libs being in the host, and,
consequently, /usr/lib/libintl.so being available.

Due to CMake's FindIntl being bad, CMake projects will assume they
should use libintl.so instead of the gettext support from libc, and link
against it unnecessarily (and sometimes innefectively: CMake points the
compiler at /usr/include/libintl.h instead of our
/usr/include/gettext/libintl.h, which means the musl header will be used
instead, and unless the main executable is linked against libintl, the
library's functions won't even be used). Leaving only the essential
libraries in gettext-libs (versioned libintl.so files) and guaranteeing
gettext doesn't pull in the unversioned one means many packages won't
depend on libintl unnecessarily any more. As a matter of fact, this is a
case where our cross builds were more "correct" than native ones, since
libintl.so in the host won't be found for the target.

Furthermore, some packages require autopoint(1) in order to run
autoreconf; to avoid depending on gettext-devel for it, and ending up
linking in libintl into the final binary, we split it into the
gettext-devel-tools subpackage as well.

Also pull in Alpine patches fixing test failures.
2021-03-24 00:51:08 -03:00
..
build-helper common/build-helper: pass a full path for native builds in cmake-wxWidgets-gtk3. 2021-03-06 11:52:06 -03:00
build-profiles common/build-profile/i686-musl: fix triplet 2021-02-02 01:25:46 +01:00
build-style cross*: drop the cross_triplet and _triplet variables 2021-03-15 23:37:10 +01:00
chroot-style xbps-src: remove proot chroot-style 2020-12-29 23:02:16 -08:00
cross-profiles cross-profiles: fix qemu name for ppcle 2021-03-13 03:25:36 +01:00
environment build-style/go: set GO111MODULE=auto 2021-03-15 09:54:49 -03:00
hooks base-files: fix conf files replacing each other wrong 2021-02-28 02:05:33 +01:00
repo-keys repo-keys: remove my testing repo key as it's unofficial 2020-04-01 20:55:45 +02:00
travis spdx-licenses-list: update to 3.12. 2021-03-11 12:22:51 -05:00
wrappers common/wrappers: add -L/usr/lib{32,64} to arguments ignored by cross-cc. 2021-02-09 23:01:46 -03:00
xbps-src xbps-src/update_check: update pattern for GitHub 2021-03-19 22:48:10 +07:00
options.description options.description: describe portaudio and clean up from templates 2021-03-07 23:50:23 -03:00
shlibs gettext: reorganize so gettext-libs only ships versioned libintl.so. 2021-03-24 00:51:08 -03:00