From d68e8563be15593456770c90e71e156ea28c3c1f Mon Sep 17 00:00:00 2001 From: kth5 Date: Mon, 23 Sep 2024 07:34:50 +0200 Subject: [PATCH] * update gettext to 0.22.5-2 --- gettext/.SRCINFO | 29 ++++++++++++++++++++++++++++ gettext/.nvchecker.toml | 4 ++++ gettext/PKGBUILD | 42 +++++++++++++++++++++++++++-------------- 3 files changed, 61 insertions(+), 14 deletions(-) create mode 100644 gettext/.SRCINFO create mode 100644 gettext/.nvchecker.toml diff --git a/gettext/.SRCINFO b/gettext/.SRCINFO new file mode 100644 index 0000000000..5c347a383b --- /dev/null +++ b/gettext/.SRCINFO @@ -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 diff --git a/gettext/.nvchecker.toml b/gettext/.nvchecker.toml new file mode 100644 index 0000000000..fcb5da495c --- /dev/null +++ b/gettext/.nvchecker.toml @@ -0,0 +1,4 @@ +[gettext] +source = "git" +git = "https://git.savannah.gnu.org/git/gettext.git" +prefix = "v" diff --git a/gettext/PKGBUILD b/gettext/PKGBUILD index 9b270c2986..dd23ba64bc 100644 --- a/gettext/PKGBUILD +++ b/gettext/PKGBUILD @@ -1,37 +1,51 @@ # POWER Maintainer: Alexander Baldeck -# Maintainer: +# Maintainer: Tobias Powalowski pkgname=gettext pkgver=0.22.5 -pkgrel=1 +pkgrel=2 pkgdesc="GNU internationalization library" url="https://www.gnu.org/software/gettext/" 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') -depends=(gcc-libs acl sh libunistring libxml2) -makedepends=(gettext emacs git) +license=( + GFDL-1.2-only + 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') options=(!docs) source=(https://ftp.gnu.org/pub/gnu/gettext/$pkgname-$pkgver.tar.gz{,.sig} gettext-0.22-disable-libtextstyle.patch) -sha256sums=('ec1705b1e969b83a9f073144ec806151db88127f5e40fe5a94cb6c8fa48996a0' - 'SKIP' - 'a28a27192f336f0b0908bdbf840d3b19d7b587c4ac52cad635cb43e95eb3c78d') +b2sums=('39bc18de7b8836c63dec0b006555eec0bb82e7bbf210ea774f47d9933c98dad9a719c9cd2eff46ec3bacc8be633167a4fa8d84bb0132cdadbb86d182235b63b7' + 'SKIP' + '8512f87c7c8fc6bedf2992a5da8b34ee847dd61af4f55407ff9e02b965afcbea508b1dd87cd2e31c689166ee8ded824f54a95089978274753a6730a8a1d39164') validpgpkeys=('462225C3B46F34879FC8496CD605848ED7E69871' # Daiki Ueno '68D94D8AAEEAD48AE7DC5B904F494A942E4616C2' '9001B85AF9E1B83DF1BDA942F5BE8B267C6A406D') # Bruno Haible (Open Source Development) prepare() { - cd $pkgname-$pkgver - automake + cd ${pkgname}-${pkgver} # Do not build libtextstyle, as it depends on libcroco # which is now unmaintained and has known security bugs. # 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() { - cd $pkgname-$pkgver + cd ${pkgname}-${pkgver} ./configure \ --prefix=/usr \ --enable-csharp \ @@ -44,11 +58,11 @@ build() { } check() { - cd $pkgname-$pkgver + cd ${pkgname}-${pkgver} make check } package() { - cd $pkgname-$pkgver + cd ${pkgname}-${pkgver} make DESTDIR="$pkgdir" install }