* update libvisio to 0.1.8-1

This commit is contained in:
Alexander Baldeck 2024-11-02 00:47:04 +01:00
parent 45a876368f
commit 503285e65a
3 changed files with 10 additions and 43 deletions

View File

@ -1,14 +1,14 @@
pkgbase = libvisio
pkgdesc = Library providing ability to interpret and import visio diagrams
pkgver = 0.1.7
pkgrel = 11.1
pkgver = 0.1.8
pkgrel = 1
url = https://wiki.documentfoundation.org/DLP/Libraries/libvisio
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = LGPL
license = MPL-2.0
makedepends = boost
makedepends = gperf
makedepends = doxygen
@ -18,9 +18,7 @@ pkgbase = libvisio
depends = librevenge
depends = gcc-libs
depends = glibc
source = https://dev-www.libreoffice.org/src/libvisio/libvisio-0.1.7.tar.xz
source = a24c7ff.diff
sha256sums = 8faf8df870cb27b09a787a1959d6c646faa44d0d8ab151883df408b7166bea4c
sha256sums = ea4d93d328a46a93dd64a822663933bce818db3de8106f28856dc78033fd1a19
source = https://dev-www.libreoffice.org/src/libvisio/libvisio-0.1.8.tar.xz
sha256sums = b4098ffbf4dcb9e71213fa0acddbd928f27bed30db2d80234813b15d53d0405b
pkgname = libvisio

View File

@ -5,26 +5,17 @@
# Contributor: philacs
pkgname=libvisio
pkgver=0.1.7
pkgrel=11.1
pkgver=0.1.8
pkgrel=1
pkgdesc='Library providing ability to interpret and import visio diagrams'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio"
license=('LGPL')
license=('MPL-2.0')
depends=('libxml2' 'icu' 'librevenge'
'gcc-libs' 'glibc')
makedepends=('boost' 'gperf' 'doxygen' 'cppunit')
source=(https://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz
a24c7ff.diff)
sha256sums=('8faf8df870cb27b09a787a1959d6c646faa44d0d8ab151883df408b7166bea4c'
'ea4d93d328a46a93dd64a822663933bce818db3de8106f28856dc78033fd1a19')
prepare() {
cd $pkgname-$pkgver
# fix tests with libxml2 2.12
# https://gerrit.libreoffice.org/c/libvisio/+/160542
patch -Np1 -i ../a24c7ff.diff
}
source=(https://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz)
sha256sums=('b4098ffbf4dcb9e71213fa0acddbd928f27bed30db2d80234813b15d53d0405b')
build() {
cd $pkgname-$pkgver

View File

@ -1,22 +0,0 @@
From a24c7ffa0b19855f9db75bb2414ac338247f4ad6 Mon Sep 17 00:00:00 2001
From: Jan Tojnar <jtojnar@gmail.com>
Date: Sun, 10 Dec 2023 15:42:24 +0100
Subject: [PATCH] tests: Fix build with libxml 2.12
libxml 2.12.0 reorganized the headers, which removed `xmlParseMemory` function from the scope.
Change-Id: Ibd747fe7f83eb7c3a8b8cf57ac4a06e365986d46
---
diff --git a/src/test/importtest.cpp b/src/test/importtest.cpp
index 9a01473..4a26b4a 100644
--- a/src/test/importtest.cpp
+++ b/src/test/importtest.cpp
@@ -14,6 +14,7 @@
#include <libvisio/libvisio.h>
+#include <libxml/parser.h>
#include <libxml/xpath.h>
#include "xmldrawinggenerator.h"