upg glib2

This commit is contained in:
joborun linux 2023-09-09 02:52:27 +03:00
parent 86d5f5b188
commit 05546324c0
2 changed files with 7 additions and 36 deletions

View file

@ -8,8 +8,8 @@
#pkgbase=glib2
#pkgname=(glib2 glib2-docs)
pkgname=glib2
pkgver=2.76.5
pkgrel=02
pkgver=2.78.0
pkgrel=01
pkgdesc="Low level core library"
url="https://wiki.gnome.org/Projects/GLib"
depends=(pcre2 libffi util-linux-libs zlib) # libsysprof-capture)
@ -18,13 +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=f0171c9eccdf9ebeabb074d4683fc9cfc41f4e60 # tags/2.76.5^0
_commit=3c543ef69ffab7c78e29eaf383e7fe2c7df6cd49 # tags/2.78.0^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-glocalfile-Sum-apparent-size-only-for-files-and-syml.patch
0003-tests-file-Do-not-rely-on-du-bytes-behaviour.patch
# gio-querymodules.{hook,script}
gio-querymodules.hook
glib-compile-schemas.hook)
@ -36,17 +33,8 @@ pkgver() {
prepare() {
cd glib
# Unbreak keyfiles with bad escapes
# https://bugs.archlinux.org/task/79540
# https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3565
git cherry-pick -n 4a9672764214d5fab569b774fe761ae7d2ec11d9
# Suppress noise from glib-compile-schemas.hook
git apply -3 ../0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
# fix test suite issues with coreutils >=9.2
# https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3358
git apply -3 ../0002-glocalfile-Sum-apparent-size-only-for-files-and-syml.patch
git apply -3 ../0003-tests-file-Do-not-rely-on-du-bytes-behaviour.patch
git submodule init
git submodule set-url subprojects/gvdb "$srcdir/gvdb"
@ -123,10 +111,7 @@ validpgpkeys=('923B7025EE03C1C59F42684CF0942E894B2EAFA0') # Philip Withnall (htt
sha256sums=(SKIP
SKIP
7f8ee5db60987f0d0feba84643e1cf988c98a294a681fb8d4fce1a5b2c25d1d3 # 0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
aa464f3eee9c464bc8d858eb126c853d72d7b1173c701e3d9ded225cb57ed0ed # 0002-glocalfile-Sum-apparent-size-only-for-files-and-syml.patch
a27d58ea1408ec452a29eaaf1a52436b4364688087dcb352f6b7886e69fd9ca9 # 0003-tests-file-Do-not-rely-on-du-bytes-behaviour.patch
557c88177f011ced17bdeac1af3f882b2ca33b386a866fdf900b35f927a2bbe8 # gio-querymodules.hook
64ae5597dda3cc160fc74be038dbe6267d41b525c0c35da9125fbf0de27f9b25) # glib-compile-schemas.hook
## e4eac3ead054f06f1f1c803f1c117e49d852e9b256353f6ca740003d959725de glib2-2.76.5-02-x86_64.pkg.tar.lz
## 916d46f2ebb41da8f3937d4c15d66aa9c322f12372e2e5ecc15f82443a951b05 glib2-2.78.0-01-x86_64.pkg.tar.lz

View file

@ -6,8 +6,8 @@ pkgname=(
glib2
glib2-docs
)
pkgver=2.76.5
pkgrel=2
pkgver=2.78.0
pkgrel=1
pkgdesc="Low level core library"
url="https://wiki.gnome.org/Projects/GLib"
license=(LGPL)
@ -38,21 +38,17 @@ options=(
debug
staticlibs
)
_commit=f0171c9eccdf9ebeabb074d4683fc9cfc41f4e60 # tags/2.76.5^0
_commit=3c543ef69ffab7c78e29eaf383e7fe2c7df6cd49 # tags/2.78.0^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-glocalfile-Sum-apparent-size-only-for-files-and-syml.patch
0003-tests-file-Do-not-rely-on-du-bytes-behaviour.patch
gio-querymodules.hook
glib-compile-schemas.hook
)
b2sums=('SKIP'
'SKIP'
'94c73ca7070c239494873dd52d6ee09382bbb5b1201f7afd737cfa140b1a2fb0744b2c2831baf3943d1d072550c35888d21ce6f19f89481ff9d1a60d9a0b30e0'
'6bcbcba60208162f7221701d6a642eabfc92c2fc6a476bcb42da5967577f8f0c75b688d149be01c9c48cd644aafa7fbdd63d9086385b8f7607fc981756d71a68'
'257bf37d304cc161dedcde0a2c4d01e297f8263cde48b49d3ee47ca95a8fb9ad44bbb9bf99da51ec766ffb6f9d502e0a8fdc6b86346e6755373ee515e23b9419'
'14c9211c0557f6d8d9a914f1b18b7e0e23f79f4abde117cb03ab119b95bf9fa9d7a712aa0a29beb266468aeb352caa3a9e4540503cfc9fe0bbaf764371832a96'
'd30d349b4cb4407839d9074ce08f5259b8a5f3ca46769aabc621f17d15effdb89c4bf19bd23603f6df3d59f8d1adaded0f4bacd0333afcab782f2d048c882858')
@ -65,19 +61,9 @@ pkgver() {
prepare() {
cd glib
# Unbreak keyfiles with bad escapes
# https://bugs.archlinux.org/task/79540
# https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3565
git cherry-pick -n 4a9672764214d5fab569b774fe761ae7d2ec11d9
# Suppress noise from glib-compile-schemas.hook
git apply -3 ../0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
# fix test suite issues with coreutils >=9.2
# https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3358
git apply -3 ../0002-glocalfile-Sum-apparent-size-only-for-files-and-syml.patch
git apply -3 ../0003-tests-file-Do-not-rely-on-du-bytes-behaviour.patch
git submodule init
git submodule set-url subprojects/gvdb "$srcdir/gvdb"
git -c protocol.file.allow=always submodule update