diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2020-05-04 12:48:34 -0400 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-05-04 20:58:35 +0200 |
commit | 7c37754b1c8a1a71f94932c484c4fd2299caa768 (patch) | |
tree | b714a9d4923a151e179d44fe30a8288466ff80b5 /libre-testing/your-system-sanity | |
parent | afc15703678cda346910f9ffe487253e40acede9 (diff) | |
download | abslibre-7c37754b1c8a1a71f94932c484c4fd2299caa768.tar.gz abslibre-7c37754b1c8a1a71f94932c484c4fd2299caa768.tar.bz2 abslibre-7c37754b1c8a1a71f94932c484c4fd2299caa768.zip |
icu-parabola: convert to install in /usr/lib and not conflict with icu
Following the same pattern as some AUR packages (icu65 and so on), make
this package just provide compat libs. There's no need to try building
packages against an old icu version, we just want to make sure programs
which are linked to an older libicu*.so can use it.
The libprovides recently added in Arch Linux are introduced as well.
They won't break anything, they simply add another way to depend on this
package, which is more convenient than the current use in package()
functions of:
local _icu_ver
_icu_ver=$(pacman -S --print-format='%v' icu)
depends+=("icu>=${_icu_ver}" "icu<$((${_icu_ver%%.*} + 1))")
(which has other problems, like not being the version which is built
against, but rather the version that a pacman -S icu would install or
upgrade to -- partial upgrades are bad, but that doesn't mean break it
if someone does so)
Expected use of this package:
depends+=('icu' 'libicui18n.so')
... added to a Parabola package which uses icu, to make it depend on the
Arch icu package (and ensure it is preferred in all cases) and
additionally to depend on any package providing the correct version of
the libicu*.so dependent libraries. If all goes well, the icu package
will be pulled in as a dependency. If all doesn't go well, then packages
fall back on additionally installing this package for compatibility
purposes, and all still goes well.
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'libre-testing/your-system-sanity')
0 files changed, 0 insertions, 0 deletions