upg glib2 libcap

This commit is contained in:
joborun linux 2022-09-26 02:58:10 +03:00
parent eb10834cb6
commit 1718cdf8f4
8 changed files with 22 additions and 39 deletions

View File

@ -9,7 +9,7 @@
#pkgname=(glib2 glib2-docs)
pkgname=glib2
pkgver=2.74.0
pkgrel=01
pkgrel=02
# this is a waste of resources rebuilding this for the shake of catching up
# to arch's late decision to be building debug symbol packages along with the core pkg
# like void does with the -devel pkgs. We are not going to build such debug pkgs, if you
@ -20,7 +20,7 @@ arch=(x86_64)
depends=(pcre2 libffi util-linux-libs zlib) # libsysprof-capture)
makedepends=(gettext gtk-doc shared-mime-info python libelf git util-linux
meson dbus gtk3)
checkdepends=(desktop-file-utils)
checkdepends=(desktop-file-utils glib2)
#options=(debug staticlibs) ### uncomment this to have the debug pkg produced
options=(staticlibs)
_commit=30bd57ecf8aa051de9848ba5a2b140f4810401ff # tags/2.74.0^0
@ -43,6 +43,9 @@ prepare() {
# Suppress noise from glib-compile-schemas.hook
git apply -3 ../0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
# https://bugs.archlinux.org/task/75980
# https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2921
git cherry-pick -n 'ea3f17d598d550345e94e4571130e429443e91cb'
}
build() {

View File

@ -4,7 +4,7 @@
pkgbase=glib2
pkgname=(glib2 glib2-docs)
pkgver=2.74.0
pkgrel=1
pkgrel=2
pkgdesc="Low level core library"
url="https://wiki.gnome.org/Projects/GLib"
license=(LGPL)
@ -12,7 +12,7 @@ arch=(x86_64)
depends=(pcre2 libffi util-linux-libs zlib libsysprof-capture)
makedepends=(gettext gtk-doc shared-mime-info python libelf git util-linux
meson dbus)
checkdepends=(desktop-file-utils)
checkdepends=(desktop-file-utils glib2)
options=(debug staticlibs)
_commit=30bd57ecf8aa051de9848ba5a2b140f4810401ff # tags/2.74.0^0
source=("git+https://gitlab.gnome.org/GNOME/glib.git#commit=$_commit"
@ -34,6 +34,10 @@ prepare() {
# Suppress noise from glib-compile-schemas.hook
git apply -3 ../0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
# https://bugs.archlinux.org/task/75980
# https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2921
git cherry-pick -n 'ea3f17d598d550345e94e4571130e429443e91cb'
}
build() {
@ -89,4 +93,4 @@ package_glib2-docs() {
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 glib/docs/reference/COPYING
}
# vim:set sw=2 et:
# vim:set sw=2 sts=-1 et:

View File

@ -7,4 +7,3 @@ desktop-file-utils
gtk3
cmake

View File

@ -1,25 +1 @@
disabled checks as some of them fail, will try next edition
Since sysprof is the only pkg needed as a glib2 dependency for the base chroot of Joborun, not even a make dependency possibly to avert tests from failing, glib2 has been rebuilt Feb6-22 wuthout the dependency. Sysprof will not build without systemd present. LFS builds glib2 without it, so why shouldn't we do the same?
169/254 glib:gio / gdbus-address-get-session FAIL 0.02s killed by signal 6 SIGABRT
185/254 glib:gio / gdbus-peer FAIL 0.65s killed by signal 6 SIGABRT
Ok: 252
Expected Fail: 0
Fail: 2
09-01-2022
Summary of Failures:
170/254 glib:gio / gdbus-address-get-session FAIL 0.03s killed by signal 6 SIGABRT
189/254 glib:gio / gdbus-peer FAIL 0.65s killed by signal 6 SIGABRT
Ok: 252
Expected Fail: 0
Fail: 2
Unexpected Pass: 0
Skipped: 0
Timeout: 0

View File

@ -6,7 +6,7 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=libcap
pkgver=2.65
pkgver=2.66
pkgrel=01
pkgdesc='POSIX 1003.1e capabilities'
arch=('x86_64')
@ -38,5 +38,5 @@ license=('GPL2')
validpgpkeys=(38A644698C69787344E954CE29EE848AE2CCF3F4) # Andrew G. Morgan <morgan@kernel.org>
sha256sums=(73e350020cc31fe15360879d19384ffa3395a825f065fcf6bda3a5cdf965bebd # libcap-2.65.tar.xz
87cda0a3b7f05e628d9d52c67b41d80eae758e217e6bcb4ceba8fc61c641217d) # libcap-2.65.tar.sign
sha256sums=(15c40ededb3003d70a283fe587a36b7d19c8b3b554e33f86129c059a4bb466b2 # libcap-2.66.tar.xz
c831cd6be9961544ce511aa5dba811a5c6ef875ddd43cbe73daef5268eddaac1) # libcap-2.66.tar.sign

View File

@ -4,7 +4,7 @@
# Contributor: Hugo Doria <hugo@archlinux.org>
pkgname=libcap
pkgver=2.65
pkgver=2.66
pkgrel=1
pkgdesc="POSIX 1003.1e capabilities"
arch=(x86_64)
@ -15,9 +15,9 @@ makedepends=(linux-api-headers)
provides=(libcap.so libpsx.so)
options=(debug)
source=(https://kernel.org/pub/linux/libs/security/linux-privs/${pkgname}2/$pkgname-$pkgver.tar.{xz,sign})
sha512sums=('de34cd7fecfe9b688ee08e56c71d4f39a3a05f6414f88577faaadfcd5111a0ae1824af3e76a5b8199131a8df6e87e47fdcb3570c364999e4626f2ab8fafb8671'
sha512sums=('ac005b622f6e065f30ce282a5c87240e7b9da75366ee537aa4835bc501b44bc242c10a4ba4dc070e2415fc7f635d1c3c4e45fbeeaf962cf7973dda82bf6377f0'
'SKIP')
b2sums=('9417c5c22fa2fc03df08667dca802c2e190f17af3cda86021de175bd315cbef8607cff51ee2a9c0b6cee7a09c536dbdc43c01549e0540c335966f0afaf9268c3'
b2sums=('e79bf10c6a3dbffe96dc97aad0bed67caa0b3805d9dcaff1e4a8a833396ee5c6da4f7f0d321b254e99a00073bc39021b9f3a4b350d93094d0df4d74889b3ca56'
'SKIP')
validpgpkeys=(38A644698C69787344E954CE29EE848AE2CCF3F4) # Andrew G. Morgan <morgan@kernel.org>

View File

@ -1,3 +1,2 @@

View File

@ -1,4 +1,6 @@
real 0m7.005s
real 0m5.965s
user 0m5.623s
sys 0m0.646s
sys 0m0.577s