mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
inkscape: fix extensions when python3 is default
Also add missing python modules that some extension rely on. Closes #13337.
This commit is contained in:
parent
edb273b886
commit
f1916e6de7
2 changed files with 13 additions and 2 deletions
11
srcpkgs/inkscape/patches/use-python2.patch
Normal file
11
srcpkgs/inkscape/patches/use-python2.patch
Normal file
|
@ -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" },
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'inkscape'
|
# Template file for 'inkscape'
|
||||||
pkgname=inkscape
|
pkgname=inkscape
|
||||||
version=0.92.4
|
version=0.92.4
|
||||||
revision=5
|
revision=6
|
||||||
wrksrc="${pkgname}-INKSCAPE_${version//./_}"
|
wrksrc="${pkgname}-INKSCAPE_${version//./_}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-lcms --enable-poppler-cairo
|
configure_args="--enable-lcms --enable-poppler-cairo
|
||||||
|
@ -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
|
lcms2-devel poppler-glib-devel boost-devel libmagick6-devel
|
||||||
libvisio-devel libwpg-devel libcdr-devel dbus-glib-devel libgomp-devel
|
libvisio-devel libwpg-devel libcdr-devel dbus-glib-devel libgomp-devel
|
||||||
potrace-devel cairomm-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"
|
short_desc="Vector-based drawing program"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||||
license="GPL-2, LGPL-2.1"
|
license="GPL-2, LGPL-2.1"
|
||||||
|
|
Loading…
Add table
Reference in a new issue