[127668] users/devans/dports/graphics/inkscape-experimental

devans at macports.org devans at macports.org
Fri Oct 31 15:02:36 PDT 2014


Revision: 127668
          https://trac.macports.org/changeset/127668
Author:   devans at macports.org
Date:     2014-10-31 15:02:36 -0700 (Fri, 31 Oct 2014)
Log Message:
-----------
devans/dports: inkscape-experimental, update to experimental bzr 13629, sync variants, dependencies, configuration with inkscape-devel.

Modified Paths:
--------------
    users/devans/dports/graphics/inkscape-experimental/Portfile

Removed Paths:
-------------
    users/devans/dports/graphics/inkscape-experimental/files/

Modified: users/devans/dports/graphics/inkscape-experimental/Portfile
===================================================================
--- users/devans/dports/graphics/inkscape-experimental/Portfile	2014-10-31 21:53:40 UTC (rev 127667)
+++ users/devans/dports/graphics/inkscape-experimental/Portfile	2014-10-31 22:02:36 UTC (rev 127668)
@@ -5,7 +5,7 @@
 
 name            inkscape-experimental
 conflicts       inkscape inkscape-devel inkscape-prerelease
-set bzr_rev     13580
+set bzr_rev     13629
 version         0.48.99.${bzr_rev}
 epoch           1
 license         GPL-2 LGPL-2.1
@@ -25,8 +25,8 @@
 homepage        http://www.inkscape.org/
 master_sites    file:///Users/devans/macports/distfiles/${name}
 
-checksums       rmd160  9fa04ef2060d1c1f056aa41044fff5020c820ee7 \
-                sha256  ec0e0ebb3322121eb4fc9de95781fd431e935f273f9c6405cc51532614305fe7
+checksums       rmd160  efe5ee615fdfc8d85dc38ad018587dc8857727bf \
+                sha256  2618fbdaaa2fa176ceffb2692f229cc1f11035a8fea504e2a91de0a35d347b85
 
 worksrcdir      ${name}
 
@@ -47,54 +47,20 @@
                 port:poppler \
                 port:boost \
                 port:ImageMagick \
-                port:libcdr \
+                port:libcdr-0.1 \
                 port:libexif \
-                port:libvisio \
-                port:libwpg \
-                port:gtkspell2
+                port:libvisio-0.1 \
+                port:libwpg-0.3 \
+                port:gtkspell2 \
+                port:py27-lxml \
+                port:py27-numpy
 
-patchfiles      clang-cxx11-boost-1-56_3.diff
-
-variant revenge description {Experimental upstream patch to build with latest libcdr, libvisio, libwpg based on librevenge} {
-    patchfiles-append   patch-librevenge.diff
-    depends_lib-delete  port:libcdr \
-                        port:libvisio \
-                        port:libwpg
-    depends_lib-append  port:libcdr-0.1 \
-                        port:libvisio-0.1 \
-                        port:libwpg-0.3
+post-patch {
+    reinplace "s|\"python-interpreter\", \"python\"|\"python-interpreter\", \"python2.7\"|g" ${worksrcpath}/src/extension/implementation/script.cpp
+    reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.h
+    reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.cpp
 }
 
-variant python26 conflicts python27 description {Configure to use Python version 2.6} {
-    depends_lib-append \
-        port:py26-lxml \
-        port:py26-numpy
-
-    post-patch {
-        reinplace "s|\"python-interpreter\", \"python\"|\"python-interpreter\", \"python2.6\"|g" ${worksrcpath}/src/extension/implementation/script.cpp
-        reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.h
-        reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.cpp
-    }
-
-    configure.python \
-        ${prefix}/bin/python2.6
-}
-
-variant python27 conflicts python26 description {Configure to use Python version 2.7} {
-    depends_lib-append \
-        port:py27-lxml \
-        port:py27-numpy
-
-    post-patch {
-        reinplace "s|\"python-interpreter\", \"python\"|\"python-interpreter\", \"python2.7\"|g" ${worksrcpath}/src/extension/implementation/script.cpp
-        reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.h
-        reinplace "s|^#include \"Object.h\"|#include \"${prefix}/include/poppler/Object.h\"|" ${worksrcpath}/src/extension/internal/pdfinput/pdf-parser.cpp
-    }
-
-    configure.python \
-        ${prefix}/bin/python2.7
-}
-
 variant gtk3 description {Enable experimental GTK+ 3 build} {
     depends_lib-delete  port:gtkspell2 \
                         port:gtk2 \
@@ -107,8 +73,16 @@
     configure.args-append --enable-gtk3-experimental
 }
 
+variant svg2 description {Enable experimental SVG level 2 proposed features} {
+    configure.cppflags-append \
+                        "-DWITH_MESH -DWITH_CSSBLEND -DWITH_CSSCOMPOSITE -DWITH_SVG2"
+}
+
 configure.cmd   ./autogen.sh && ./configure
 
+configure.python \
+                ${prefix}/bin/python2.7
+
 configure.args  --without-gnome-vfs \
                 --enable-lcms \
                 --enable-poppler-cairo \
@@ -123,14 +97,12 @@
     configure.cxxflags-append -std=c++11
 }
 
-if {![variant_isset python26] && ![variant_isset python27]} {
-    default_variants +python27
-}
-
 variant strict description {Enable strict build} {
     configure.args-replace  --disable-strict-build --enable-strict-build
 }
 
+default_variants +strict
+
 #
 # the following dummy variants are used
 # to identify this port's binary dependencies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141031/b2b575d1/attachment-0001.html>


More information about the macports-changes mailing list