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]
This commit is contained in:
Silvan Calarco 2024-01-05 23:01:55 +01:00
parent 1d596175b3
commit 74b254a3a2
2 changed files with 33 additions and 2 deletions

View File

@ -0,0 +1,25 @@
From b5a463ce6a1f41979030ed43b33c266fb1a352ae Mon Sep 17 00:00:00 2001
From: Mike Wey <mike@mikewey.eu>
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);
}

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 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 <silvan.calarco@mambasoft.it> 0.21.0-2mamba
- rebuilt with libldc 1.21.0