[102746] trunk/dports/graphics

devans at macports.org devans at macports.org
Thu Feb 7 14:37:56 PST 2013


Revision: 102746
          https://trac.macports.org/changeset/102746
Author:   devans at macports.org
Date:     2013-02-07 14:37:55 -0800 (Thu, 07 Feb 2013)
Log Message:
-----------
libcdr: new port, a library and tools for reading Corel DRAW files.

Modified Paths:
--------------
    trunk/dports/graphics/cogl/Portfile
    trunk/dports/graphics/inkscape-devel/Portfile
    trunk/dports/graphics/inkscape-devel/files/patch-src-Makefile.am.diff

Added Paths:
-----------
    trunk/dports/graphics/libcdr/
    trunk/dports/graphics/libcdr/Portfile

Modified: trunk/dports/graphics/cogl/Portfile
===================================================================
--- trunk/dports/graphics/cogl/Portfile	2013-02-07 22:12:05 UTC (rev 102745)
+++ trunk/dports/graphics/cogl/Portfile	2013-02-07 22:37:55 UTC (rev 102746)
@@ -27,7 +27,6 @@
 
 depends_lib     port:cairo \
                 port:gobject-introspection \
-                port:mesa \
                 port:pango
 
 configure.args  --enable-introspection=yes \
@@ -59,24 +58,31 @@
 }
 
 variant x11 conflicts quartz {
-    depends_lib-append    port:gdk-pixbuf2 \
+    depends_lib-append    port:mesa \
+                          port:gdk-pixbuf2 \
                           port:xorg-libXcomposite \
                           port:xorg-libXdamage \
                           port:xorg-libXext \
                           port:xorg-libXfixes
-    configure.args-append --enable-gdk-pixbuf=yes \
+    configure.args-append --enable-glx=yes \
+                          --enable-gdk-pixbuf=yes \
                           --enable-quartz-image=no \
-                          --with-x
+                          --with-x \
+                          --x-includes=${prefix}/include \
+                          --x-libraries=${prefix}/lib
+
 }
 
 variant quartz conflicts x11 {
-    configure.args-append --enable-gdk-pixbuf=no \
-                          --enable-quartz-image=yes \
+    configure.args-append --enable-glx=no \
+                          --enable-gdk-pixbuf=yes \
+                          --enable-quartz-image=no \
                           --without-x
 }
 
 variant debug description {Enable debugging} {
-    configure.args-append --enable-debug
+    configure.args-append --enable-debug \
+                          --disable-silent-rules
 }
 
 default_variants +x11

Modified: trunk/dports/graphics/inkscape-devel/Portfile
===================================================================
--- trunk/dports/graphics/inkscape-devel/Portfile	2013-02-07 22:12:05 UTC (rev 102745)
+++ trunk/dports/graphics/inkscape-devel/Portfile	2013-02-07 22:37:55 UTC (rev 102746)
@@ -5,7 +5,7 @@
 
 name            inkscape-devel
 conflicts       inkscape
-set bzr_rev     12036
+set bzr_rev     12104
 version         0.48.99.${bzr_rev}
 epoch           1
 license         GPL-2 LGPL-2.1
@@ -46,6 +46,7 @@
                 port:poppler \
                 port:boost \
                 port:ImageMagick \
+                port:libcdr \
                 port:libvisio \
                 port:libwpg \
                 port:gtkspell2

Modified: trunk/dports/graphics/inkscape-devel/files/patch-src-Makefile.am.diff
===================================================================
--- trunk/dports/graphics/inkscape-devel/files/patch-src-Makefile.am.diff	2013-02-07 22:12:05 UTC (rev 102745)
+++ trunk/dports/graphics/inkscape-devel/files/patch-src-Makefile.am.diff	2013-02-07 22:37:55 UTC (rev 102746)
@@ -1,6 +1,6 @@
---- src/Makefile.am.orig	2012-12-29 13:17:57.000000000 -0800
-+++ src/Makefile.am	2012-12-29 13:28:51.000000000 -0800
-@@ -223,7 +223,7 @@
+--- src/Makefile.am.orig	2013-02-06 12:32:00.000000000 -0800
++++ src/Makefile.am	2013-02-06 12:42:49.000000000 -0800
+@@ -225,7 +225,7 @@
  # someone updates the BZR working directory.
  inkscape-version.cpp: $(inkscape_version_deps)
  	VER_PREFIX="$(VERSION)";\

Added: trunk/dports/graphics/libcdr/Portfile
===================================================================
--- trunk/dports/graphics/libcdr/Portfile	                        (rev 0)
+++ trunk/dports/graphics/libcdr/Portfile	2013-02-07 22:37:55 UTC (rev 102746)
@@ -0,0 +1,51 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem      1.0
+
+name            libcdr
+version         0.0.10
+categories      graphics
+license         {GPL-2.1+ LGPL-2.1+ MPL-1.1+}
+maintainers     devans openmaintainer
+platforms       darwin
+homepage        http://www.freedesktop.org/wiki/Software/libcdr
+master_sites    http://dev-www.libreoffice.org/src/
+
+description \
+    Libcdr is a library and a set of tools for reading and converting binary files \
+    produced by Corel DRAW.
+
+long_description \
+    ${description}
+
+use_xz          yes
+
+checksums       sha256  8d704bb391ecbcd171686ef6437d99e42f8b556e694d57581b3424fff8d037e4 \
+                rmd160  1b437ea4e1d7e26e782c617d2b2618e0e8d7f0e8
+
+depends_build   port:pkgconfig
+
+depends_lib     port:icu \
+                port:libwpd \
+                port:libwpg \
+                port:lcms2 \
+                port:zlib
+
+configure.args  --without-docs
+
+if {${os.major} > 9 && ${configure.compiler} == "clang"} {
+    configure.cxxflags-append -std=c++11
+} else {
+    configure.args-append --disable-werror
+    configure.cxxflags-append -Wno-long-long
+}
+
+variant docs description {Build reference documentation} {
+    depends_build-append  port:doxygen
+    configure.args-replace --without-docs --with-docs
+}
+
+livecheck.type  regex
+livecheck.url   ${master_sites}
+livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"


Property changes on: trunk/dports/graphics/libcdr/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130207/39553ec0/attachment-0001.html>


More information about the macports-changes mailing list