FreeBSD Bugzilla – Attachment 207939 Details for
Bug 234797
graphics/inkscape: Unable to save optimized svg
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix python support
inkscape-python.diff (text/plain), 1.37 KB, created by
Max Brazhnikov
on 2019-09-29 17:53:45 UTC
(
hide
)
Description:
fix python support
Filename:
MIME Type:
Creator:
Max Brazhnikov
Created:
2019-09-29 17:53:45 UTC
Size:
1.37 KB
patch
obsolete
>Index: graphics/inkscape/Makefile >=================================================================== >--- graphics/inkscape/Makefile (revision 513047) >+++ graphics/inkscape/Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= inkscape > PORTVERSION= 0.92.4 >-PORTREVISION= 7 >+PORTREVISION= 8 > CATEGORIES= graphics gnome > MASTER_SITES= https://media.inkscape.org/dl/resources/file/ > >@@ -29,9 +29,12 @@ > libpotrace.so:graphics/libpotrace \ > libpng.so:graphics/png \ > libMagick++-6.so:graphics/ImageMagick6 >+RUN_DEPENDS= ${PYNUMPY} \ >+ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}scour>0:textproc/py-scour@${PY_FLAVOR} > > USES= compiler:c++11-lib cmake cpe desktop-file-utils gnome \ >- iconv:wchar_t jpeg pathfix pkgconfig python:2.7,build \ >+ iconv:wchar_t jpeg pathfix pkgconfig python:2.7 \ > shebangfix tar:bzip2 > USE_GNOME= gtkmm24 libxml2 libxslt > USE_XORG= x11 >@@ -82,6 +85,9 @@ > post-patch: > @${REINPLACE_CMD} -e 's|COMMAND python|COMMAND ${PYTHON_VERSION}|g' \ > ${WRKSRC}/share/*/CMakeLists.txt >+ # Third entry in the table of interpreters is basename of executable >+ @${REINPLACE_CMD} -e 's|python|${PYTHON_VERSION}|3' \ >+ ${WRKSRC}/src/extension/implementation/script.cpp > # Obtained from Arch Linux > @${REINPLACE_CMD} -e 's|gTrue|true|g' -e 's|gFalse|false|g' -e 's|GBool|bool|g' \ > ${WRKSRC}/src/extension/internal/pdfinput/pdf-parser.*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 234797
: 207939