Skip to content

Commit

Permalink
inkscape: fix extensions when python3 is default
Browse files Browse the repository at this point in the history
Also add missing python modules that some extension rely on.

Closes #13337.
  • Loading branch information
abenson authored and Gottox committed Jul 26, 2019
1 parent edb273b commit f1916e6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions srcpkgs/inkscape/patches/use-python2.patch
@@ -0,0 +1,11 @@
--- src/extension/implementation/script.cpp.orig
+++ src/extension/implementation/script.cpp
@@ -87,7 +87,7 @@
#ifdef WIN32
{"python", "python-interpreter", "pythonw" },
#else
- {"python", "python-interpreter", "python" },
+ {"python", "python-interpreter", "python2" },
#endif
{"ruby", "ruby-interpreter", "ruby" },
{"shell", "shell-interpreter", "sh" },
4 changes: 2 additions & 2 deletions srcpkgs/inkscape/template
@@ -1,7 +1,7 @@
# Template file for 'inkscape'
pkgname=inkscape
version=0.92.4
revision=5
revision=6
wrksrc="${pkgname}-INKSCAPE_${version//./_}"
build_style=gnu-configure
configure_args="--enable-lcms --enable-poppler-cairo
Expand All @@ -12,7 +12,7 @@ makedepends="popt-devel libpng-devel gsl-devel gc-devel gtkmm2-devel libxslt-dev
lcms2-devel poppler-glib-devel boost-devel libmagick6-devel
libvisio-devel libwpg-devel libcdr-devel dbus-glib-devel libgomp-devel
potrace-devel cairomm-devel"
depends="desktop-file-utils hicolor-icon-theme python-lxml"
depends="desktop-file-utils hicolor-icon-theme python-lxml python-numpy python-scour"
short_desc="Vector-based drawing program"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2, LGPL-2.1"
Expand Down

0 comments on commit f1916e6

Please sign in to comment.