* update gettext to 0.22.5-2

This commit is contained in:
Alexander Baldeck 2024-09-23 07:34:50 +02:00
parent 46182a614d
commit d68e8563be
3 changed files with 61 additions and 14 deletions

29
gettext/.SRCINFO Normal file
View File

@ -0,0 +1,29 @@
pkgbase = gettext
pkgdesc = GNU internationalization library
pkgver = 0.22.5
pkgrel = 2
url = https://www.gnu.org/software/gettext/
arch = x86_64
license = GFDL-1.2-only
license = GPL-2.0-only
license = GPL-2.0-or-later
license = LGPL-2.0-only
makedepends = emacs
depends = acl
depends = gcc-libs
depends = libunistring
depends = libxml2
depends = sh
optdepends = git: for autopoint infrastructure updates
options = !docs
source = https://ftp.gnu.org/pub/gnu/gettext/gettext-0.22.5.tar.gz
source = https://ftp.gnu.org/pub/gnu/gettext/gettext-0.22.5.tar.gz.sig
source = gettext-0.22-disable-libtextstyle.patch
validpgpkeys = 462225C3B46F34879FC8496CD605848ED7E69871
validpgpkeys = 68D94D8AAEEAD48AE7DC5B904F494A942E4616C2
validpgpkeys = 9001B85AF9E1B83DF1BDA942F5BE8B267C6A406D
b2sums = 39bc18de7b8836c63dec0b006555eec0bb82e7bbf210ea774f47d9933c98dad9a719c9cd2eff46ec3bacc8be633167a4fa8d84bb0132cdadbb86d182235b63b7
b2sums = SKIP
b2sums = 8512f87c7c8fc6bedf2992a5da8b34ee847dd61af4f55407ff9e02b965afcbea508b1dd87cd2e31c689166ee8ded824f54a95089978274753a6730a8a1d39164
pkgname = gettext

4
gettext/.nvchecker.toml Normal file
View File

@ -0,0 +1,4 @@
[gettext]
source = "git"
git = "https://git.savannah.gnu.org/git/gettext.git"
prefix = "v"

View File

@ -1,37 +1,51 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com> # POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=gettext pkgname=gettext
pkgver=0.22.5 pkgver=0.22.5
pkgrel=1 pkgrel=2
pkgdesc="GNU internationalization library" pkgdesc="GNU internationalization library"
url="https://www.gnu.org/software/gettext/" url="https://www.gnu.org/software/gettext/"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64) arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
license=('GPL-2.0-only' 'LGPL-2.0-only' 'GFDL-1.2-only' 'GPL-2.0-or-later') license=(
depends=(gcc-libs acl sh libunistring libxml2) GFDL-1.2-only
makedepends=(gettext emacs git) GPL-2.0-only
GPL-2.0-or-later
LGPL-2.0-only
)
depends=(
acl
gcc-libs
libunistring
libxml2
sh
)
makedepends=(
emacs
)
optdepends=('git: for autopoint infrastructure updates') optdepends=('git: for autopoint infrastructure updates')
options=(!docs) options=(!docs)
source=(https://ftp.gnu.org/pub/gnu/gettext/$pkgname-$pkgver.tar.gz{,.sig} source=(https://ftp.gnu.org/pub/gnu/gettext/$pkgname-$pkgver.tar.gz{,.sig}
gettext-0.22-disable-libtextstyle.patch) gettext-0.22-disable-libtextstyle.patch)
sha256sums=('ec1705b1e969b83a9f073144ec806151db88127f5e40fe5a94cb6c8fa48996a0' b2sums=('39bc18de7b8836c63dec0b006555eec0bb82e7bbf210ea774f47d9933c98dad9a719c9cd2eff46ec3bacc8be633167a4fa8d84bb0132cdadbb86d182235b63b7'
'SKIP' 'SKIP'
'a28a27192f336f0b0908bdbf840d3b19d7b587c4ac52cad635cb43e95eb3c78d') '8512f87c7c8fc6bedf2992a5da8b34ee847dd61af4f55407ff9e02b965afcbea508b1dd87cd2e31c689166ee8ded824f54a95089978274753a6730a8a1d39164')
validpgpkeys=('462225C3B46F34879FC8496CD605848ED7E69871' # Daiki Ueno validpgpkeys=('462225C3B46F34879FC8496CD605848ED7E69871' # Daiki Ueno
'68D94D8AAEEAD48AE7DC5B904F494A942E4616C2' '68D94D8AAEEAD48AE7DC5B904F494A942E4616C2'
'9001B85AF9E1B83DF1BDA942F5BE8B267C6A406D') # Bruno Haible (Open Source Development) '9001B85AF9E1B83DF1BDA942F5BE8B267C6A406D') # Bruno Haible (Open Source Development)
prepare() { prepare() {
cd $pkgname-$pkgver cd ${pkgname}-${pkgver}
automake
# Do not build libtextstyle, as it depends on libcroco # Do not build libtextstyle, as it depends on libcroco
# which is now unmaintained and has known security bugs. # which is now unmaintained and has known security bugs.
# patch from Fedora # patch from Fedora
patch -p1 -i $srcdir/gettext-0.22-disable-libtextstyle.patch patch -p1 -i $srcdir/gettext-0.22-disable-libtextstyle.patch
autoreconf -f
automake
} }
build() { build() {
cd $pkgname-$pkgver cd ${pkgname}-${pkgver}
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--enable-csharp \ --enable-csharp \
@ -44,11 +58,11 @@ build() {
} }
check() { check() {
cd $pkgname-$pkgver cd ${pkgname}-${pkgver}
make check make check
} }
package() { package() {
cd $pkgname-$pkgver cd ${pkgname}-${pkgver}
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
} }