upg glib2 gpgme

This commit is contained in:
joborun linux 2023-10-25 16:50:20 +03:00
parent a2fa9adc6a
commit 99a1345b8b
6 changed files with 23 additions and 49 deletions

View file

@ -8,8 +8,8 @@
#pkgbase=glib2
#pkgname=(glib2 glib2-docs)
pkgname=glib2
pkgver=2.78.0
pkgrel=03
pkgver=2.78.1
pkgrel=01
pkgdesc="Low level core library"
url="https://wiki.gnome.org/Projects/GLib"
depends=(pcre2 libffi util-linux-libs zlib) # libsysprof-capture)
@ -18,11 +18,10 @@ makedepends=(gettext shared-mime-info python libelf git util-linux
#checkdepends=(desktop-file-utils glib2)
#options=(debug staticlibs) ### uncomment this to have the debug pkg produced
options=(staticlibs)
_commit=3c543ef69ffab7c78e29eaf383e7fe2c7df6cd49 # tags/2.78.0^0
_commit=21624e78f013ee8706483086e3086076d08fe242 # tags/2.78.1^0
source=("git+https://gitlab.gnome.org/GNOME/glib.git#commit=$_commit"
"git+https://gitlab.gnome.org/GNOME/gvdb.git"
0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
0002-gthreadedresolver-Fix-race-between-source-callbacks-.patch
gio-querymodules.hook
glib-compile-schemas.hook)
@ -37,11 +36,6 @@ prepare() {
# Suppress noise from glib-compile-schemas.hook
git apply -3 ../0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
# Fix NetworkManager crashes
# https://bugs.archlinux.org/task/79658
# https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3575
git apply -3 ../0002-gthreadedresolver-Fix-race-between-source-callbacks-.patch
git submodule init
git submodule set-url subprojects/gvdb "$srcdir/gvdb"
git -c protocol.file.allow=always submodule update
@ -117,8 +111,8 @@ validpgpkeys=('923B7025EE03C1C59F42684CF0942E894B2EAFA0') # Philip Withnall (htt
sha256sums=(SKIP
SKIP
7f8ee5db60987f0d0feba84643e1cf988c98a294a681fb8d4fce1a5b2c25d1d3 # 0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
d790be86bb8eeb144afd5b8c5110eaf91bdeb205163317c06fdd472938b4ec7d # 0002-gthreadedresolver-Fix-race-between-source-callbacks-.patch
557c88177f011ced17bdeac1af3f882b2ca33b386a866fdf900b35f927a2bbe8 # gio-querymodules.hook
64ae5597dda3cc160fc74be038dbe6267d41b525c0c35da9125fbf0de27f9b25) # glib-compile-schemas.hook
## e46f3a46774d5fd05360d7ac82cba5d3df6db8fde0956a5d4fd56c2ec807e7d4 glib2-2.78.0-03-x86_64.pkg.tar.lz
## 648179161d26adefd1564507bf330bbffd968a1bb8e30a6ffb3cc4464fbbe29e glib2-2.78.1-01-x86_64.pkg.tar.lz

View file

@ -6,8 +6,8 @@ pkgname=(
glib2
glib2-docs
)
pkgver=2.78.0
pkgrel=3
pkgver=2.78.1
pkgrel=1
pkgdesc="Low level core library"
url="https://wiki.gnome.org/Projects/GLib"
license=(LGPL)
@ -38,19 +38,17 @@ options=(
debug
staticlibs
)
_commit=3c543ef69ffab7c78e29eaf383e7fe2c7df6cd49 # tags/2.78.0^0
_commit=21624e78f013ee8706483086e3086076d08fe242 # tags/2.78.1^0
source=(
"git+https://gitlab.gnome.org/GNOME/glib.git#commit=$_commit"
"git+https://gitlab.gnome.org/GNOME/gvdb.git"
0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
0002-gthreadedresolver-Fix-race-between-source-callbacks-.patch
gio-querymodules.hook
glib-compile-schemas.hook
)
b2sums=('SKIP'
'SKIP'
'94c73ca7070c239494873dd52d6ee09382bbb5b1201f7afd737cfa140b1a2fb0744b2c2831baf3943d1d072550c35888d21ce6f19f89481ff9d1a60d9a0b30e0'
'ffa7a0f8d9dc09864a6a8083b20f634788e5929cd678f7c38ce65be7cdfdea50d0be3cf3a7e6b9a2641f21a085b90b7ac33a2a81ae62a8963992aa9eb7699f57'
'14c9211c0557f6d8d9a914f1b18b7e0e23f79f4abde117cb03ab119b95bf9fa9d7a712aa0a29beb266468aeb352caa3a9e4540503cfc9fe0bbaf764371832a96'
'd30d349b4cb4407839d9074ce08f5259b8a5f3ca46769aabc621f17d15effdb89c4bf19bd23603f6df3d59f8d1adaded0f4bacd0333afcab782f2d048c882858')
@ -66,11 +64,6 @@ prepare() {
# Suppress noise from glib-compile-schemas.hook
git apply -3 ../0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
# Fix NetworkManager crashes
# https://bugs.archlinux.org/task/79658
# https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3575
git apply -3 ../0002-gthreadedresolver-Fix-race-between-source-callbacks-.patch
git submodule init
git submodule set-url subprojects/gvdb "$srcdir/gvdb"
git -c protocol.file.allow=always submodule update

View file

@ -10,6 +10,6 @@ cmake
valgrind
gtk-doc
libglvnd
graphite

View file

@ -8,23 +8,18 @@
pkgbase=gpgme
#pkgname=(gpgme qgpgme-qt5 qgpgme-qt6 python-gpgme)
pkgname=(gpgme python-gpgme) # qgpgme)
pkgver=1.22.0
pkgver=1.23.0
pkgrel=01
pkgdesc="A C wrapper library for GnuPG"
#options=('debug') ## uncomment this to have the debug pkg produced
url='https://www.gnupg.org/related_software/gpgme/'
makedepends=('gnupg' 'libgpg-error' 'python' 'python-setuptools' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel' 'swig') # 'qt5-base')
source=("https://www.gnupg.org/ftp/gcrypt/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2"{,.sig}
'0001-qt-tests-Fix-build-in-source-directory.patch'
'0002-qt-tests-Fix-build-in-source-directory-part-2.patch')
source=("https://www.gnupg.org/ftp/gcrypt/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2"{,.sig})
prepare() {
cd ${pkgbase}-${pkgver}/
patch -Np1 < ../0001-qt-tests-Fix-build-in-source-directory.patch
patch -Np1 < ../0002-qt-tests-Fix-build-in-source-directory-part-2.patch
sed -i 's/-unknown//' autogen.sh
autoreconf -fi
@ -126,10 +121,9 @@ license=('LGPL')
validpgpkeys=('6DAA6E64A76D2840571B4902528897B826403ADA' # Werner Koch (dist signing 2020)
'AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD') # Niibe Yutaka (GnuPG Release Key)
sha256sums=(9551e37081ad3bde81018a0d24f245c3f8206990549598fb31a97a68380a7b71 # gpgme-1.21.0.tar.bz2
a5598bc557bd0dad1b50e6850e6b9245b826137fcaf8997820e3bdfe5cd3dcad # gpgme-1.22.0.tar.bz2.sig
a0d3d02c46e7053cfc887271fea7d38f64439b9f67b14eaacec3e602de5dccd4 # 0001-qt-tests-Fix-build-in-source-directory.patch
eaeae9b9818dd94c08954bb5c3535f43a80583f9c97d5e7f8ca62a104deeebe9) # 0002-qt-tests-Fix-build-in-source-directory-part-2.patch
sha256sums=(043e2efe18b4ad22b96d434dde763fbed32cf8d6c220dc69df0d0ffb9dc66fc6 # gpgme-1.23.0.tar.bz2
b56cde1eb66604edb6b8593e4882c158e1c2c9e2e18b353a375f273afb47a2b6) # gpgme-1.23.0.tar.bz2.sig
## ffaacf9c67cd1d2ddb7c20b062823a1331b94a7440faa58df5dab54d22365723 gpgme-1.23.0-01-x86_64.pkg.tar.lz
## 39fc3f5491f0c337956f33cb9331ae243ca6cb696ae5bf24e5704ff7f4bb61a7 python-gpgme-1.23.0-01-x86_64.pkg.tar.lz
## c5413598e36ed40693ce45db40c3a5e8bcc962681578e8675290f0946037164e gpgme-1.22.0-01-x86_64.pkg.tar.lz
## 90a4eee5128113d793b9aa9aed71fc1b3077c3644e13c1d7a7003dd4b79a143b python-gpgme-1.22.0-01-x86_64.pkg.tar.lz

View file

@ -4,7 +4,7 @@
pkgbase=gpgme
pkgname=(gpgme qgpgme-qt5 qgpgme-qt6 python-gpgme)
pkgver=1.22.0
pkgver=1.23.0
pkgrel=1
pkgdesc='A C wrapper library for GnuPG'
arch=('x86_64')
@ -24,20 +24,13 @@ makedepends=(
)
validpgpkeys=('6DAA6E64A76D2840571B4902528897B826403ADA' # Werner Koch (dist signing 2020)
'AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD') # Niibe Yutaka (GnuPG Release Key)
source=("https://www.gnupg.org/ftp/gcrypt/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2"{,.sig}
'0001-qt-tests-Fix-build-in-source-directory.patch'
'0002-qt-tests-Fix-build-in-source-directory-part-2.patch')
sha256sums=('9551e37081ad3bde81018a0d24f245c3f8206990549598fb31a97a68380a7b71'
'SKIP'
'a0d3d02c46e7053cfc887271fea7d38f64439b9f67b14eaacec3e602de5dccd4'
'eaeae9b9818dd94c08954bb5c3535f43a80583f9c97d5e7f8ca62a104deeebe9')
source=("https://www.gnupg.org/ftp/gcrypt/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2"{,.sig})
sha256sums=('043e2efe18b4ad22b96d434dde763fbed32cf8d6c220dc69df0d0ffb9dc66fc6'
'SKIP')
prepare() {
cd ${pkgbase}-${pkgver}/
patch -Np1 < ../0001-qt-tests-Fix-build-in-source-directory.patch
patch -Np1 < ../0002-qt-tests-Fix-build-in-source-directory-part-2.patch
sed -i 's/-unknown//' autogen.sh
autoreconf -fi

View file

@ -5,7 +5,7 @@ python-build
python-installer
python-wheel
python-typing_extensions
autoconf
automake