From 74b254a3a2024190d464d5b2931a167d7b74d51c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:01:55 +0100 Subject: [PATCH] rebuilt with ldc 1.23.0 adde dpatch to fix glibd build with gobject-introspection 1.66 (https://github.com/gtkd-developers/GlibD/issues/10) [release 0.21.0-3mamba;Thu Oct 22 2020] --- ...od-0.21.0-gobject-introspection-1.66.patch | 25 +++++++++++++++++++ girtod.spec | 10 ++++++-- 2 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 girtod-0.21.0-gobject-introspection-1.66.patch diff --git a/girtod-0.21.0-gobject-introspection-1.66.patch b/girtod-0.21.0-gobject-introspection-1.66.patch new file mode 100644 index 0000000..70b7fdb --- /dev/null +++ b/girtod-0.21.0-gobject-introspection-1.66.patch @@ -0,0 +1,25 @@ +From b5a463ce6a1f41979030ed43b33c266fb1a352ae Mon Sep 17 00:00:00 2001 +From: Mike Wey +Date: Thu, 17 Sep 2020 22:54:15 +0200 +Subject: [PATCH] Skip the general documentation in docsection. + +See Also: gtkd-developers/GlibD#10 +--- + source/gtd/GirPackage.d | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/source/gtd/GirPackage.d b/source/gtd/GirPackage.d +index 8745397..6f698e7 100644 +--- a/source/gtd/GirPackage.d ++++ b/source/gtd/GirPackage.d +@@ -207,6 +207,10 @@ final class GirPackage + // We are not able to wrap these. + reader.skipTag(); + break; ++ case "docsection": ++ // General documentation. ++ reader.skipTag(); ++ break; + default: + error("Unexpected tag: ", reader.front.value, " in GirPackage: ", name, reader); + } diff --git a/girtod.spec b/girtod.spec index c20dc3c..266817f 100644 --- a/girtod.spec +++ b/girtod.spec @@ -1,6 +1,6 @@ Name: girtod Version: 0.21.0 -Release: 2mamba +Release: 3mamba Summary: Create D bindings from GObject introspection files Group: Development/Tools Vendor: openmamba @@ -8,6 +8,7 @@ Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/gtkd-developers/gir-to-d.git Source: https://github.com/gtkd-developers/gir-to-d.git/v%{version}/gir-to-d-%{version}.tar.bz2 +Patch0: girtod-0.21.0-gobject-introspection-1.66.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -16,7 +17,7 @@ BuildRequires: libgcc BuildRequires: libldc-devel ## AUTOBUILDREQ-END BuildRequires: ldc -BuildRequires: libldc-devel >= 1.21.0 +BuildRequires: libldc-devel >= 1.23.0 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -26,6 +27,7 @@ Create D bindings from GObject introspection files. %prep %setup -q -n gir-to-d-%{version} +%patch0 -p1 %build %meson @@ -45,6 +47,10 @@ Create D bindings from GObject introspection files. %doc COPYING %changelog +* Thu Oct 22 2020 Silvan Calarco 0.21.0-3mamba +- rebuilt with ldc 1.23.0 +- adde dpatch to fix glibd build with gobject-introspection 1.66 (https://github.com/gtkd-developers/GlibD/issues/10) + * Wed May 06 2020 Silvan Calarco 0.21.0-2mamba - rebuilt with libldc 1.21.0