diff --git a/glibd-2.3.0-glib-2.72.patch b/glibd-2.3.0-glib-2.72.patch new file mode 100644 index 0000000..e0d9ae1 --- /dev/null +++ b/glibd-2.3.0-glib-2.72.patch @@ -0,0 +1,36 @@ +From ff1daa7c1206c632ef4cba1dc92f35e4c4fdc440 Mon Sep 17 00:00:00 2001 +From: Mike Wey +Date: Wed, 23 Mar 2022 23:32:30 +0100 +Subject: [PATCH] Glib 2.72 + +--- + meson.build | 3 ++- + src/APILookupGio.txt | 1 + + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index e199722..8d494a5 100644 +--- a/meson.build ++++ b/meson.build +@@ -32,7 +32,8 @@ message('Generating D interfaces from GIR...') + girtod_gen = run_command(gir_to_d_prog, + '-i', gir_wrap_dir, + '-o', gir_d_intf_dir, +- '--print-files', 'relative,' + source_root) ++ '--print-files', 'relative,' + source_root, ++ check: true) + if girtod_gen.returncode() != 0 + error('Unable to build D intefaces from GIR:\n' + girtod_gen.stderr()) + endif +diff --git a/src/APILookupGio.txt b/src/APILookupGio.txt +index 87c6780..d0a989f 100644 +--- a/src/APILookupGio.txt ++++ b/src/APILookupGio.txt +@@ -405,6 +405,7 @@ version 2.68: start + struct: TlsCertificate + #TODO: Proper solution + noCode: new_from_pkcs11_uris ++ version 2.72: noCode: new_from_file_with_password + version: end + + struct: TlsPassword diff --git a/glibd.spec b/glibd.spec index dcb84ff..e91453a 100644 --- a/glibd.spec +++ b/glibd.spec @@ -1,6 +1,6 @@ Name: glibd Version: 2.3.0 -Release: 1mamba +Release: 2mamba Summary: D bindings for the GLib C Utility Library Group: System/Libraries Vendor: openmamba @@ -10,6 +10,7 @@ URL: https://github.com/gtkd-developers/GlibD Source: https://github.com/gtkd-developers/GlibD.git/v%{version}/GlibD-%{version}.tar.bz2 Patch0: glibd-2.3.0-glib-2.68.patch Patch1: glibd-2.3.0-glib-2.70.patch +Patch2: glibd-2.3.0-glib-2.72.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -17,7 +18,7 @@ BuildRequires: libgcc BuildRequires: libglib-devel BuildRequires: libldc-devel ## AUTOBUILDREQ-END -BuildRequires: libldc-devel >= 1.28.0 +BuildRequires: libldc-devel >= 1.29.0 BuildRequires: girtod BuildRequires: ldc Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} @@ -49,6 +50,7 @@ This package contains libraries and header files for developing applications tha %setup -q -n GlibD-%{version} %patch0 -p1 -b .glib-2.68 %patch1 -p1 -b .glib-2.70 +%patch2 -p1 -b .glib-2.72 %build %meson @@ -92,6 +94,9 @@ This package contains libraries and header files for developing applications tha %doc README.md %changelog +* Mon May 02 2022 Silvan Calarco 2.3.0-2mamba +- rebuilt with ldc 1.29.0 + * Wed Nov 03 2021 Silvan Calarco 2.3.0-1mamba - update to 2.3.0