summaryrefslogtreecommitdiffstats
path: root/graphics/inkscape
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/inkscape')
-rw-r--r--graphics/inkscape/inkscape.SlackBuild10
-rw-r--r--graphics/inkscape/inkscape.info8
-rw-r--r--graphics/inkscape/libxml2-2.12.patch33
3 files changed, 41 insertions, 10 deletions
diff --git a/graphics/inkscape/inkscape.SlackBuild b/graphics/inkscape/inkscape.SlackBuild
index 1a4740bb02..416df46df2 100644
--- a/graphics/inkscape/inkscape.SlackBuild
+++ b/graphics/inkscape/inkscape.SlackBuild
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=inkscape
-VERSION=${VERSION:-1.2}
-EXTRAVER=${EXTRAVER:-2022-05-15_dc2aedaf03}
+VERSION=${VERSION:-1.3.2}
+EXTRAVER=${EXTRAVER:-2023-11-25_091e20ef0f}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -94,8 +94,7 @@ dos2unix -k -q share/extensions/*.py
# Fix man page location:
sed -i CMakeScripts/Pod2man.cmake -e "s/SHARE_INSTALL/CMAKE_INSTALL_PREFIX/g"
-# patch from archlinux
-#patch -p1 < $CWD/poppler-21.11.0.patch
+patch -p1 < $CWD/libxml2-2.12.patch
mkdir -p build
cd build
@@ -111,7 +110,6 @@ cd build
-DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DBUILD_SHARED_LIBS=ON \
- -DWITH_DBUS=ON \
-DWITH_GRAPHICS_MAGICK=ON \
-DWITH_IMAGE_MAGICK=OFF \
..
@@ -133,7 +131,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING* README* TRANSLATORS LICENSES *.md doc/* \
+ AUTHORS CONTRIBUTING.md COPYING INSTALL.md NEWS.md README.md TRANSLATORS LICENSES doc/* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -name "Makefile*" -exec rm {} \;
diff --git a/graphics/inkscape/inkscape.info b/graphics/inkscape/inkscape.info
index dce6bb8e1f..b3887b766d 100644
--- a/graphics/inkscape/inkscape.info
+++ b/graphics/inkscape/inkscape.info
@@ -1,10 +1,10 @@
PRGNAM="inkscape"
-VERSION="1.2"
+VERSION="1.3.2"
HOMEPAGE="http://www.inkscape.org/"
-DOWNLOAD="https://media.inkscape.org/dl/resources/file/inkscape-1.2.tar.xz"
-MD5SUM="fb40ac4635b9ea5608e1706584cd0665"
+DOWNLOAD="https://inkscape.org/gallery/item/44615/inkscape-1.3.2.tar.xz"
+MD5SUM="76ed1f4b13065e80de8b2d77b6427b83"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="GraphicsMagick gdl dos2unix double-conversion libcdr lxml numpy potrace pstoedit scour"
+REQUIRES="GraphicsMagick gdl dos2unix libcdr python3-lxml python2-numpy potrace pstoedit scour 2geom"
MAINTAINER="Fernando Lopez Jr."
EMAIL="fernando.lopezjr@gmail.com"
diff --git a/graphics/inkscape/libxml2-2.12.patch b/graphics/inkscape/libxml2-2.12.patch
new file mode 100644
index 0000000000..dc5b0f5346
--- /dev/null
+++ b/graphics/inkscape/libxml2-2.12.patch
@@ -0,0 +1,33 @@
+From 694d8ae43d06efff21adebf377ce614d660b24cd Mon Sep 17 00:00:00 2001
+From: Christian Hesse <mail@eworm.de>
+Date: Fri, 17 Nov 2023 22:30:42 +0100
+Subject: [PATCH] include missing header file
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This fixes build error:
+```
+/build/inkscape/src/inkscape/src/object/uri.cpp: In constructor ‘Inkscape::URI::URI(const gchar*, const char*)’:
+/build/inkscape/src/inkscape/src/object/uri.cpp:86:9: error: ‘xmlFree’ was not declared in this scope; did you mean ‘xmlFreeURI’?
+ 86 | xmlFree(full);
+```
+---
+ src/object/uri.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/object/uri.h b/src/object/uri.h
+index 381adec58cf..d5b211fe2b2 100644
+--- a/src/object/uri.h
++++ b/src/object/uri.h
+@@ -13,6 +13,7 @@
+ #define INKSCAPE_URI_H
+
+ #include <libxml/uri.h>
++#include <libxml/xmlmemory.h>
+ #include <memory>
+ #include <string>
+
+--
+GitLab
+