Andreas Radke pushed to branch main at Arch Linux / Packaging / Packages / 
raptor


Commits:
488f7a81 by Andreas Radke at 2023-12-11T17:38:09+01:00
upgpkg: 2.0.16-4; icu rebuild

- - - - -


3 changed files:

- + .SRCINFO
- PKGBUILD
- + raptor-2.0.15-libxml2-2.11.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,39 @@
+pkgbase = raptor
+       pkgdesc = A C library that parses RDF/XML/N-Triples into RDF triples
+       pkgver = 2.0.16
+       pkgrel = 4
+       url = https://librdf.org/raptor
+       arch = x86_64
+       license = Apache
+       license = GPL2
+       license = LGPL2.1
+       makedepends = curl
+       makedepends = gtk-doc
+       makedepends = icu
+       depends = glibc
+       depends = libxml2
+       depends = libxslt
+       depends = xz
+       depends = zlib
+       provides = libraptor2.so
+       source = https://librdf.org/dist/source/raptor2-2.0.16.tar.gz
+       source = https://librdf.org/dist/source/raptor2-2.0.16.tar.gz.asc
+       source = raptor-2.0.15-libxml2-2.11.patch
+       validpgpkeys = F879F0DEDA780198DD08DC6443EC92504F71955A
+       sha512sums = 
9bd5cff36390e1e0ef15ac56e5413ecfceb4018cb531a4da8850d3623615f12a93690a78be61f9d9ae7a24e16f6446e356bc2b7f34051ddc077761d85a9b7c44
+       sha512sums = SKIP
+       sha512sums = 
6d6c6ab0be9136ccf3e5b0c1140e88a49cbf94d4c36d27e3bb672ef13c83cdc7c8048c7ef883f9302fb3924ed78db1b059a983b9e1f8bce4522d5ef33a811ba7
+       b2sums = 
1e5e5742ba4cdaacb98a9ba77a9352589df0da60869e7721ee140c81ed4886bf909b37b247bd925c82a4ac44b3c11a909c913f0851d49a1d9d91c9293189266d
+       b2sums = SKIP
+       b2sums = 
0e3462817a77917eb82066f7d9efb1a28fa27221596c18fb140dadb4c0fd074b0936ed5cbd9fc620548796f548ad75890b00a3f73300af7d754cea695dc7f993
+
+pkgname = raptor
+       depends = glibc
+       depends = libxml2
+       depends = libxslt
+       depends = xz
+       depends = zlib
+       depends = curl
+       depends = libcurl.so
+       depends = icu
+       depends = libicuuc.so


=====================================
PKGBUILD
=====================================
@@ -7,7 +7,7 @@
 _name=raptor2
 pkgname=raptor
 pkgver=2.0.16
-pkgrel=3
+pkgrel=4
 pkgdesc="A C library that parses RDF/XML/N-Triples into RDF triples"
 arch=(x86_64)
 url="https://librdf.org/raptor";
@@ -15,15 +15,19 @@ license=(Apache GPL2 LGPL2.1)
 depends=(glibc libxml2 libxslt xz zlib)
 makedepends=(curl gtk-doc icu)
 provides=(libraptor2.so)
-source=(https://librdf.org/dist/source/$_name-$pkgver.tar.gz{,.asc})
+source=(https://librdf.org/dist/source/$_name-$pkgver.tar.gz{,.asc}
+        raptor-2.0.15-libxml2-2.11.patch)
 
sha512sums=('9bd5cff36390e1e0ef15ac56e5413ecfceb4018cb531a4da8850d3623615f12a93690a78be61f9d9ae7a24e16f6446e356bc2b7f34051ddc077761d85a9b7c44'
-            'SKIP')
+            'SKIP'
+            
'6d6c6ab0be9136ccf3e5b0c1140e88a49cbf94d4c36d27e3bb672ef13c83cdc7c8048c7ef883f9302fb3924ed78db1b059a983b9e1f8bce4522d5ef33a811ba7')
 
b2sums=('1e5e5742ba4cdaacb98a9ba77a9352589df0da60869e7721ee140c81ed4886bf909b37b247bd925c82a4ac44b3c11a909c913f0851d49a1d9d91c9293189266d'
-        'SKIP')
+        'SKIP'
+        
'0e3462817a77917eb82066f7d9efb1a28fa27221596c18fb140dadb4c0fd074b0936ed5cbd9fc620548796f548ad75890b00a3f73300af7d754cea695dc7f993')
 validpgpkeys=('F879F0DEDA780198DD08DC6443EC92504F71955A') # Dave Beckett 
<[email protected]>
 
 prepare() {
   cd $_name-$pkgver
+  patch -Np1 -i ../raptor-2.0.15-libxml2-2.11.patch
   autoreconf -fiv
 }
 


=====================================
raptor-2.0.15-libxml2-2.11.patch
=====================================
@@ -0,0 +1,30 @@
+https://bugs.gentoo.org/906227
+https://github.com/dajobe/raptor/issues/59
+https://github.com/dajobe/raptor/pull/58
+
+From 4dbc4c1da2a033c497d84a1291c46f416a9cac51 Mon Sep 17 00:00:00 2001
+From: David Anes <[email protected]>
+Date: Thu, 4 May 2023 11:54:02 +0200
+Subject: [PATCH] Remove the access to entities 'checked' private symbol for
+ libxml2 2.11.0
+
+Since version 2.11.0, some private symbols that were never intended
+as public API/ABI have been removed from libxml2, therefore the field
+'checked' is no longer present and raptor fails to build in this
+scenario.
+--- a/src/raptor_libxml.c
++++ b/src/raptor_libxml.c
+@@ -246,10 +246,11 @@ raptor_libxml_getEntity(void* user_data, const xmlChar 
*name)
+     
+     ret->owner = 1;
+ 
+-#if LIBXML_VERSION >= 20627
++#if LIBXML_VERSION >= 20627 && LIBXML_VERSION < 21100
+     /* Checked field was released in 2.6.27 on 2006-10-25
+      * 
http://git.gnome.org/browse/libxml2/commit/?id=a37a6ad91a61d168ecc4b29263def3363fff4da6
+      *
++     * and was later removed in version 2.11.0
+      */
+ 
+     /* Mark this entity as having been checked - never do this again */
+



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/raptor/-/commit/488f7a81f9be1b58a54ea2d8cadb05a772bf2e57

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


Reply via email to