From 056895d52c30cd0736d687e17b26b911b07d468a Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sat, 24 Sep 2016 20:11:37 +0200 Subject: [PATCH] - added normalize patch (normalize cheader path in .vapi file to fix debuginfo extraction) - release 2 --- gxml-normalize.patch | 11 +++++++++++ gxml.spec | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 gxml-normalize.patch diff --git a/gxml-normalize.patch b/gxml-normalize.patch new file mode 100644 index 0000000..6022abf --- /dev/null +++ b/gxml-normalize.patch @@ -0,0 +1,11 @@ +--- gxml-0.10.0/vapi/xlibxml-1.0.vapi.orig 2016-01-30 04:42:43.000000000 +0100 ++++ gxml-0.10.0/vapi/xlibxml-1.0.vapi 2016-09-24 19:51:01.573335825 +0200 +@@ -28,7 +28,7 @@ + namespace Xmlx { + [CCode (cname = "gxml_doc_get_intsubset_entities", cheader_filename = "gxml/xlibxml.h")] + public static Xml.HashTable doc_get_dtd_entities (Xml.Doc *doc); +- [CCode (cname = "gxml_validate_name", cheader_filename = "gxml//xlibxml.h")] ++ [CCode (cname = "gxml_validate_name", cheader_filename = "gxml/xlibxml.h")] + public static int validate_name (string name, int space); + [CCode (cname = "gxml_parser_context_get_last_error", cheader_filename = "gxml/xlibxml.h")] + [Deprecated (replacement = "context_get_last_error", since = "0.8.1")] diff --git a/gxml.spec b/gxml.spec index 31d7eee..a3582f6 100644 --- a/gxml.spec +++ b/gxml.spec @@ -7,7 +7,7 @@ Summary: GXml - GObject API that wraps around libxml2 Summary(pl.UTF-8): GXml - API GObject obudowujące libxml2 Name: gxml Version: 0.10.0 -Release: 1 +Release: 2 License: LGPL v2.1+ Group: Libraries Source0: http://ftp.gnome.org/pub/GNOME/sources/gxml/0.10/%{name}-%{version}.tar.xz @@ -15,6 +15,7 @@ Source0: http://ftp.gnome.org/pub/GNOME/sources/gxml/0.10/%{name}-%{version}.tar Patch0: %{name}-bug770449.patch Patch1: %{name}-missing.patch Patch2: %{name}-docs.patch +Patch3: %{name}-normalize.patch URL: https://github.com/GNOME/gxml BuildRequires: autoconf >= 2.65 BuildRequires: automake >= 1:1.11 @@ -101,6 +102,7 @@ Dokumentacja API biblioteki GXml. %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build %{__intltoolize} -- 2.43.0