Dan Printzell pushed to branch main at Arch Linux / Packaging / Packages / glibd


Commits:
eed5093c by Dan Printzell at 2024-05-19T23:01:24+02:00
upgpkg: 2.4.3-1: Updated to 2.4.3

- - - - -


3 changed files:

- .SRCINFO
- + 0001-Add-missing-gthread-2.0-dependency.patch
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,19 +1,19 @@
 pkgbase = glibd
        pkgdesc = D bindings for the GLib C Utility Library
-       pkgver = 2.4.2
-       pkgrel = 7
+       pkgver = 2.4.3
+       pkgrel = 1
        url = https://github.com/gtkd-developers/GlibD
        arch = x86_64
-       license = LGPL3
+       license = LGPL-3.0-or-later
        makedepends = meson
        makedepends = ldc
        makedepends = gobject-introspection
        makedepends = gir-to-d
        depends = glib2
        depends = liblphobos
-       source = 
glibd-2.4.2.tar.gz::https://github.com/gtkd-developers/GlibD/archive/v2.4.2.tar.gz
-       source = 
Trivial_fix_for_GLib_2.78.patch::https://github.com/gtkd-developers/GlibD/commit/ef3b70be9de8e1c798db47b627b465b0a257e693.patch
-       sha512sums = 
6db52b29cf90a5d8f6ddb43c1ddcd5bcc6ed5b2b6cd575711beffff74b8592c07aa3c6a1047954305cbcd515ef6ea814c162a91c12e9580d5938228ecc7a6d49
-       sha512sums = 
7bcbf68b9a069860e81232da4ece4ea3e8f766afcefbb6dcff060e897bdd6dc00c8f045eb5b1547a981b08990b678eb54f22d620e375f1ee469caeb09331e2f7
+       source = 
glibd-2.4.3.tar.gz::https://github.com/gtkd-developers/GlibD/archive/v2.4.3.tar.gz
+       source = 0001-Add-missing-gthread-2.0-dependency.patch
+       sha512sums = 
7ceb415cad9aa3ea325d561932586b730af7ce123d4f1e69339eb2f007774abfa126d783af898ef7f8c17bde0f337383ba1630fd039f9a22a3c34a98ac8dd539
+       sha512sums = 
ee741ec82506da7f653ef68033984e5014ae26f5b3faaaddc75fab9af7556721c3824abe712848b772fcf01da91184e3507d486db7b6c87d129981a0f1593283
 
 pkgname = glibd


=====================================
0001-Add-missing-gthread-2.0-dependency.patch
=====================================
@@ -0,0 +1,45 @@
+From 1eb3e39c9a376b65881c3c34801fbcc0610a7bf1 Mon Sep 17 00:00:00 2001
+From: Dan Printzell <xwildn0...@gmail.com>
+Date: Sun, 19 May 2024 22:55:07 +0200
+Subject: [PATCH] Add missing gthread-2.0 dependency
+
+Needed to fix 'undefined symbol: g_thread_init'
+
+Signed-off-by: Dan Printzell <xwildn0...@gmail.com>
+---
+ meson.build | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index 138e969..0b4fd35 100644
+--- a/meson.build
++++ b/meson.build
+@@ -20,6 +20,7 @@ glib_dep          = dependency('glib-2.0')
+ gmodule_dep       = dependency('gmodule-2.0')
+ gobject_dep       = dependency('gobject-2.0')
+ gio_dep           = dependency('gio-2.0')
++gthread_dep       = dependency('gthread-2.0')
+ # The Glib gir files are part of the gobject introspection package.
+ introspection_dep = dependency('gobject-introspection-1.0')
+ 
+@@ -47,7 +48,7 @@ gir_binding_sources = girtod_gen.stdout().strip().split('\n')
+ glibd = library('glibd-2.0',
+     [gir_binding_sources],
+     include_directories: [gir_bind_dir],
+-    dependencies: [glib_dep, gmodule_dep, gobject_dep, gio_dep],
++    dependencies: [glib_dep, gmodule_dep, gobject_dep, gio_dep, gthread_dep],
+     install: true,
+     soversion: project_soversion,
+     version: meson.project_version())
+@@ -61,7 +62,7 @@ pkg_conf.generate(glibd,
+     name: 'glibd-2.0',
+     subdirs: 'd/glibd-2',
+     version: meson.project_version(),
+-    requires: [glib_dep, gmodule_dep, gio_dep, gobject_dep],
++    requires: [glib_dep, gmodule_dep, gio_dep, gobject_dep, gthread_dep],
+     description: 'D bindings for the GLib C Utility Library.')
+ 
+ # for use by others which embed this as subproject
+-- 
+2.45.1
+


=====================================
PKGBUILD
=====================================
@@ -3,21 +3,21 @@
 
 pkgname=glibd
 _pkgname=GlibD
-pkgver=2.4.2
-pkgrel=7
+pkgver=2.4.3
+pkgrel=1
 pkgdesc='D bindings for the GLib C Utility Library'
 arch=('x86_64')
 url='https://github.com/gtkd-developers/GlibD'
-license=('LGPL3')
+license=('LGPL-3.0-or-later')
 depends=('glib2' 'liblphobos')
 makedepends=('meson' 'ldc' 'gobject-introspection' 'gir-to-d')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
-        
"Trivial_fix_for_GLib_2.78.patch::https://github.com/gtkd-developers/GlibD/commit/ef3b70be9de8e1c798db47b627b465b0a257e693.patch";)
-sha512sums=('6db52b29cf90a5d8f6ddb43c1ddcd5bcc6ed5b2b6cd575711beffff74b8592c07aa3c6a1047954305cbcd515ef6ea814c162a91c12e9580d5938228ecc7a6d49'
-            
'7bcbf68b9a069860e81232da4ece4ea3e8f766afcefbb6dcff060e897bdd6dc00c8f045eb5b1547a981b08990b678eb54f22d620e375f1ee469caeb09331e2f7')
+       "0001-Add-missing-gthread-2.0-dependency.patch")
+sha512sums=('7ceb415cad9aa3ea325d561932586b730af7ce123d4f1e69339eb2f007774abfa126d783af898ef7f8c17bde0f337383ba1630fd039f9a22a3c34a98ac8dd539'
+            
'ee741ec82506da7f653ef68033984e5014ae26f5b3faaaddc75fab9af7556721c3824abe712848b772fcf01da91184e3507d486db7b6c87d129981a0f1593283')
 
 prepare() {
-  patch --directory="$_pkgname-$pkgver" --forward --strip=1 --input 
"$srcdir"/Trivial_fix_for_GLib_2.78.patch
+  patch --directory="$_pkgname-$pkgver" --forward --strip=1 --input 
"$srcdir"/0001-Add-missing-gthread-2.0-dependency.patch
 }
 
 build() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/glibd/-/commit/eed5093ce7546bae22dd6e8c038fbda86fd008a4

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/glibd/-/commit/eed5093ce7546bae22dd6e8c038fbda86fd008a4
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to