[116460] users/devans
devans at macports.org
devans at macports.org
Sat Jan 25 12:17:09 PST 2014
Revision: 116460
https://trac.macports.org/changeset/116460
Author: devans at macports.org
Date: 2014-01-25 12:17:08 -0800 (Sat, 25 Jan 2014)
Log Message:
-----------
users/devans/wip: import local work-in-progress
Added Paths:
-----------
users/devans/dports/
users/devans/dports/audio/
users/devans/dports/audio/ardour2/
users/devans/dports/audio/ardour2/Portfile
users/devans/dports/audio/ardour2/files/
users/devans/dports/audio/ardour2/files/patch-SConstruct.diff
users/devans/dports/audio/ardour2/files/patch-SConstruct.diff.old
users/devans/dports/audio/ardour2/files/patch-gtk2_ardour-SConscript.diff
users/devans/dports/audio/ardour2/files/patch-gtk2_ardour-main.cc.diff
users/devans/dports/audio/ardour2/files/patch-gtk2_ardour-nag.cc.diff
users/devans/dports/audio/ardour2/files/patch-libs-pbd-mountpoint.cc.diff
users/devans/dports/audio/ardour2/files/patch-libs-pbd-pathscanner.cc.diff
users/devans/dports/databases/
users/devans/dports/databases/mysql-workbench/
users/devans/dports/databases/mysql-workbench/Portfile
users/devans/dports/databases/mysql-workbench/files/
users/devans/dports/databases/mysql-workbench/files/patch-configure.diff
users/devans/dports/databases/mysql-workbench/files/patch-configure.in.diff
users/devans/dports/genealogy/
users/devans/dports/genealogy/gramps/
users/devans/dports/genealogy/gramps/Portfile
users/devans/dports/genealogy/gramps/files/
users/devans/dports/genealogy/gramps/files/patch-configure.diff
users/devans/dports/genealogy/gramps/files/patch-gramps-gen-utils-resourcepath.py.diff
users/devans/dports/genealogy/gramps/files/patch-no-gexiv2-private.diff
users/devans/dports/gnome/
users/devans/dports/gnome/colord/
users/devans/dports/gnome/colord/Portfile
users/devans/dports/gnome/gigolo/
users/devans/dports/gnome/gigolo/Portfile
users/devans/dports/gnome/glom/
users/devans/dports/gnome/glom/Portfile
users/devans/dports/gnome/glom/Portfile.devel
users/devans/dports/gnome/glom/files/
users/devans/dports/gnome/glom/files/patch-glom-frame_glom.cc.diff
users/devans/dports/gnome/glom/files/patch-glom-libglom-connectionpool.cc.diff
users/devans/dports/gnome/glom-gda4/
users/devans/dports/gnome/glom-gda4/Portfile-1.16.3
users/devans/dports/gnome/glom-gda4/files/
users/devans/dports/gnome/glom-gda4/files/patch-configure.diff
users/devans/dports/gnome/glom-gda4/files/patch-glom-frame_glom.cc.diff
users/devans/dports/gnome/glom-gda4/files/patch-glom-libglom-connectionpool.cc.diff
users/devans/dports/gnome/glom-gda4/files/patch-glom-main.cc.diff
users/devans/dports/gnome/glom-gda4/files/patch-tests-test_python_module.cc.diff
users/devans/dports/gnome/gnome-color-manager/
users/devans/dports/gnome/gnome-color-manager/Portfile
users/devans/dports/gnome/nemiver/
users/devans/dports/gnome/nemiver/Portfile
users/devans/dports/gnome/nemiver/Portfile.orig
users/devans/dports/gnome/nemiver/files/
users/devans/dports/gnome/nemiver/files/nemiver-tr1-osx-patch.diff
users/devans/dports/graphics/
users/devans/dports/graphics/cairo-devel/
users/devans/dports/graphics/cairo-devel/Portfile
users/devans/dports/graphics/cairo-devel/files/
users/devans/dports/graphics/cairo-devel/files/patch-configure.ac.diff
users/devans/dports/graphics/inkscape-devel/
users/devans/dports/graphics/inkscape-devel/Portfile
users/devans/dports/lang/
users/devans/dports/lang/libantlr3c/
users/devans/dports/lang/libantlr3c/Portfile
Added: users/devans/dports/audio/ardour2/Portfile
===================================================================
--- users/devans/dports/audio/ardour2/Portfile (rev 0)
+++ users/devans/dports/audio/ardour2/Portfile 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,131 @@
+# -*- 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 ardour2
+version 2.8.16
+distname ardour-${version}
+maintainers devans
+license GPL-2
+categories audio x11
+platforms darwin
+homepage http://ardour.org/
+
+description Ardour is a digital audio workstation.
+
+long_description \
+ Ardour is a digital audio workstation. \
+ You can use it to record, edit and mix multi-track audio. \
+ Capabilities include: multichannel recording, non-destructive \
+ editing with unlimited undo/redo, full automation support, \
+ a powerful mixer, unlimited tracks/busses/plugins, timecode \
+ synchronization, and hardware control from surfaces like \
+ the Mackie Control Universal.
+
+use_parallel_build no
+universal_variant no
+
+use_bzip2 yes
+
+master_sites file:///Users/devans/macports/distfiles/ardour2
+#master_sites macports:ardour2
+
+checksums rmd160 a87ef3bdd3f0023a1f1341b902a5525234f5b8fc \
+ sha256 37ee32119ba105fa0883faa7e18c58ecd5276894568da224a554d9ef49075e40
+
+depends_build port:pkgconfig \
+ port:scons
+
+depends_lib port:jack \
+ port:gtkmm \
+ port:libgnomecanvas \
+ port:liblrdf \
+ port:boost \
+ port:fftw-3 \
+ port:fftw-3-single \
+ port:libusb-compat \
+ port:liblo \
+ port:aubio
+
+patchfiles patch-SConstruct.diff \
+ patch-libs-pbd-mountpoint.cc.diff \
+ patch-libs-pbd-pathscanner.cc.diff
+# patch-gtk2_ardour-SConscript.diff \
+# patch-gtk2_ardour-main.cc.diff \
+# patch-gtk2_ardour-nag.cc.diff
+
+pre-patch {
+ file copy ${worksrcpath}/SConstruct ${worksrcpath}/SConstruct.orig
+}
+
+pre-build {
+ reinplace "s%@MP_PREFIX@%${prefix}%g" ${worksrcpath}/SConstruct
+ reinplace "s%@MP_CPP@%${configure.cpp}%g" ${worksrcpath}/gtk2_ardour/SConscript
+}
+
+use_configure no
+
+build.cmd scons
+build.target
+build.args PREFIX=${prefix} SYSLIBS=1 FPU_OPTIMIZATION=1 VST=0 AUBIO=1 FREESOUND=1 LV2=0 GTKOSX=0 DIST_TARGET=x86_64
+
+destroot.cmd scons
+
+# Fix gettext bug on Leopard (and later?); see #19886
+destroot.env-append VERSION_CONTROL=off
+
+variant lv2 description {Add support for LV2 plugins} {
+ build.args-delete LV2=0
+ build.args-append LV2=1
+ depends_lib-append port:slv2
+}
+
+variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {build with gcc 4.3} {
+ depends_build-append port:gcc43
+ depends_skip_archcheck-append gcc43
+ configure.compiler macports-gcc-4.3
+ build.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
+ destroot.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
+}
+
+variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {build with gcc 4.4} {
+ depends_build-append port:gcc44
+ depends_skip_archcheck-append gcc44
+ configure.compiler macports-gcc-4.4
+ build.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
+ destroot.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
+}
+
+variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {build with gcc 4.5} {
+ depends_build-append port:gcc45
+ depends_skip_archcheck-append gcc45
+ configure.compiler macports-gcc-4.5
+ build.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
+ destroot.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
+}
+
+variant gcc46 conflicts gcc43 gcc44 gcc45 description {build with gcc 4.6} {
+ depends_build-append port:gcc46
+ depends_skip_archcheck-append gcc46
+ configure.compiler macports-gcc-4.6
+ build.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
+ destroot.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
+}
+
+variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {build with gcc 4.7} {
+ depends_build-append port:gcc47
+ depends_skip_archcheck-append gcc47
+ configure.compiler macports-gcc-4.7
+ build.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
+ destroot.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
+}
+
+
+if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} {
+ default_variants +gcc47
+}
+
+livecheck.type regex
+livecheck.url https://community.ardour.org/s/buy_anon
+livecheck.regex "Ardour (\\d+(?:\\.\\d+)*)"
Property changes on: users/devans/dports/audio/ardour2/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: users/devans/dports/audio/ardour2/files/patch-SConstruct.diff
===================================================================
--- users/devans/dports/audio/ardour2/files/patch-SConstruct.diff (rev 0)
+++ users/devans/dports/audio/ardour2/files/patch-SConstruct.diff 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,47 @@
+--- SConstruct.orig 2012-07-20 08:25:16.000000000 -0700
++++ SConstruct 2012-08-10 22:16:11.000000000 -0700
+@@ -772,13 +772,13 @@
+ debug_flags.append ("-DBUILD_VECLIB_OPTIMIZATIONS");
+ libraries['core'].Append(LINKFLAGS= '-framework Accelerate')
+ elif env['DIST_TARGET'] == 'i686' or env['DIST_TARGET'] == 'x86_64':
+- opt_flags.append ("-DBUILD_SSE_OPTIMIZATIONS")
+- debug_flags.append ("-DBUILD_SSE_OPTIMIZATIONS")
++# opt_flags.append ("-DBUILD_SSE_OPTIMIZATIONS")
++# debug_flags.append ("-DBUILD_SSE_OPTIMIZATIONS")
+ if env['DIST_TARGET'] == 'x86_64' and not env['VST']:
+ opt_flags.append ("-DUSE_X86_64_ASM")
+ debug_flags.append ("-DUSE_X86_64_ASM")
+- if build_host_supports_sse != 1:
+- print "\nWarning: you are building Ardour with SSE support even though your system does not support these instructions. (This may not be anerror, especially if you are a package maintainer)"
++# if build_host_supports_sse != 1:
++# print "\nWarning: you are building Ardour with SSE support even though your system does not support these instructions. (This may not be anerror, especially if you are a package maintainer)"
+ # end optimization section
+
+ # handle x86/x86_64 libdir properly
+@@ -931,7 +931,7 @@
+
+ conf = Configure (env)
+
+-if conf.CheckHeader ('fftw3.h'):
++if conf.CheckHeader ('/opt/local/include/fftw3.h'):
+ env['RUBBERBAND'] = True
+ libraries['rubberband'] = LibraryInfo (LIBS='rubberband',
+ LIBPATH='#libs/rubberband',
+@@ -992,7 +992,7 @@
+
+ libraries['boost'] = LibraryInfo ()
+ prep_libcheck(env, libraries['boost'])
+-libraries['boost'].Append(CPPPATH="/usr/local/include", LIBPATH="/usr/local/lib")
++libraries['boost'].Append(CPPPATH="/opt/local/include", LIBPATH="/opt/local/lib")
+ conf = Configure (libraries['boost'])
+ if conf.CheckHeader ('boost/shared_ptr.hpp', language='CXX') == False:
+ print "Boost header files do not appear to be installed. You also might be running a buggy version of scons. Try scons 0.97 if you can."
+@@ -1319,7 +1319,7 @@
+ else:
+ print "Found msgmerge"
+
+- if not conf.CheckCHeader('libintl.h'):
++ if not conf.CheckCHeader('/opt/local/include/libintl.h'):
+ nls_error += ' No libintl.h.'
+ env['NLS'] = 0
+
Added: users/devans/dports/audio/ardour2/files/patch-SConstruct.diff.old
===================================================================
--- users/devans/dports/audio/ardour2/files/patch-SConstruct.diff.old (rev 0)
+++ users/devans/dports/audio/ardour2/files/patch-SConstruct.diff.old 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,97 @@
+--- SConstruct.orig 2010-06-16 08:40:25.000000000 -0700
++++ SConstruct 2010-06-22 15:08:14.000000000 -0700
+@@ -530,7 +530,7 @@
+ print ('Ardour cannot be compiled without the curl headers, which do not seem to be installed')
+ sys.exit (1)
+ else:
+- libraries['curl'].ParseConfig('pkg-config --cflags --libs libcurl')
++ libraries['curl'].ParseConfig('@MP_PREFIX@/bin/pkg-config --cflags --libs libcurl')
+ conf.Finish()
+ else:
+ print 'FREESOUND support is not enabled. Build with \'scons FREESOUND=1\' to enable.'
+@@ -540,7 +540,7 @@
+
+ if conf.CheckPKGVersion('slv2', '0.6.1'):
+ libraries['slv2'] = LibraryInfo()
+- libraries['slv2'].ParseConfig('pkg-config --cflags --libs slv2')
++ libraries['slv2'].ParseConfig('@MP_PREFIX@/bin/pkg-config --cflags --libs slv2')
+ env.Append (CCFLAGS="-DHAVE_LV2")
+ else:
+ print 'LV2 support is not enabled (SLV2 not found or older than 0.6.0)'
+@@ -879,7 +879,7 @@
+
+ conf = Configure (env)
+
+-if conf.CheckHeader ('fftw3.h'):
++if conf.CheckHeader ('@MP_PREFIX@/include/fftw3.h'):
+ env['RUBBERBAND'] = True
+ libraries['rubberband'] = LibraryInfo (LIBS='rubberband',
+ LIBPATH='#libs/rubberband',
+@@ -940,7 +940,7 @@
+
+ libraries['boost'] = LibraryInfo ()
+ prep_libcheck(env, libraries['boost'])
+-libraries['boost'].Append(CPPPATH="/usr/local/include", LIBPATH="/usr/local/lib")
++libraries['boost'].Append(CPPPATH="@MP_PREFIX@/include", LIBPATH="@MP_PREFIX@/lib")
+ conf = Configure (libraries['boost'])
+ if conf.CheckHeader ('boost/shared_ptr.hpp', language='CXX') == False:
+ print "Boost header files do not appear to be installed. You also might be running a buggy version of scons. Try scons 0.97 if you can."
+@@ -954,6 +954,7 @@
+ if env['LIBLO']:
+ libraries['lo'] = LibraryInfo ()
+ prep_libcheck(env, libraries['lo'])
++ libraries['lo'].Append(CPPPATH="@MP_PREFIX@/include", LIBPATH="@MP_PREFIX@/lib")
+
+ conf = Configure (libraries['lo'])
+ if conf.CheckLib ('lo', 'lo_server_new') == False:
+@@ -1055,30 +1056,30 @@
+ env = conf.Finish()
+
+ libraries['sigc2'] = LibraryInfo()
+- libraries['sigc2'].ParseConfig('pkg-config --cflags --libs sigc++-2.0')
++ libraries['sigc2'].ParseConfig('@MP_PREFIX@/bin/pkg-config --cflags --libs sigc++-2.0')
+ libraries['glibmm2'] = LibraryInfo()
+- libraries['glibmm2'].ParseConfig('pkg-config --cflags --libs glibmm-2.4')
++ libraries['glibmm2'].ParseConfig('@MP_PREFIX@/bin/pkg-config --cflags --libs glibmm-2.4')
+ libraries['cairomm'] = LibraryInfo()
+- libraries['cairomm'].ParseConfig('pkg-config --cflags --libs cairomm-1.0')
++ libraries['cairomm'].ParseConfig('@MP_PREFIX@/bin/pkg-config --cflags --libs cairomm-1.0')
+ libraries['gdkmm2'] = LibraryInfo()
+- libraries['gdkmm2'].ParseConfig ('pkg-config --cflags --libs gdkmm-2.4')
++ libraries['gdkmm2'].ParseConfig('@MP_PREFIX@/bin/pkg-config --cflags --libs gdkmm-2.4')
+ libraries['gtkmm2'] = LibraryInfo()
+- libraries['gtkmm2'].ParseConfig ('pkg-config --cflags --libs gtkmm-2.4')
++ libraries['gtkmm2'].ParseConfig('@MP_PREFIX@/bin/pkg-config --cflags --libs gtkmm-2.4')
+ libraries['atkmm'] = LibraryInfo()
+- libraries['atkmm'].ParseConfig ('pkg-config --cflags --libs atkmm-1.6')
++ libraries['atkmm'].ParseConfig('@MP_PREFIX@/bin/pkg-config --cflags --libs atkmm-1.6')
+ libraries['pangomm'] = LibraryInfo()
+- libraries['pangomm'].ParseConfig ('pkg-config --cflags --libs pangomm-1.4')
++ libraries['pangomm'].ParseConfig('@MP_PREFIX@/bin/pkg-config --cflags --libs pangomm-1.4')
+ libraries['libgnomecanvasmm'] = LibraryInfo()
+- libraries['libgnomecanvasmm'].ParseConfig ('pkg-config --cflags --libs libgnomecanvasmm-2.6')
++ libraries['libgnomecanvasmm'].ParseConfig('@MP_PREFIX@/bin/pkg-config --cflags --libs libgnomecanvasmm-2.6')
+
+ # libraries['libglademm'] = LibraryInfo()
+-# libraries['libglademm'].ParseConfig ('pkg-config --cflags --libs libglademm-2.4')
++# libraries['libglademm'].ParseConfig('@MP_PREFIX@/bin/pkg-config --cflags --libs libglademm-2.4')
+
+ # libraries['flowcanvas'] = LibraryInfo(LIBS='flowcanvas', LIBPATH='#/libs/flowcanvas', CPPPATH='#libs/flowcanvas')
+ libraries['soundtouch'] = LibraryInfo()
+- libraries['soundtouch'].ParseConfig ('pkg-config --cflags --libs soundtouch-1.0')
++ libraries['soundtouch'].ParseConfig('@MP_PREFIX@/bin/pkg-config --cflags --libs soundtouch-1.0')
+ # Comment the previous line and uncomment this for old versions of Debian:
+- #libraries['soundtouch'].ParseConfig ('pkg-config --cflags --libs libSoundTouch')
++ #libraries['soundtouch'].ParseConfig('@MP_PREFIX@/bin/pkg-config --cflags --libs libSoundTouch')
+
+ libraries['appleutility'] = LibraryInfo(LIBS='libappleutility',
+ LIBPATH='#libs/appleutility',
+@@ -1276,7 +1277,7 @@
+ else:
+ print "Found msgmerge"
+
+- if not conf.CheckCHeader('libintl.h'):
++ if not conf.CheckCHeader('@MP_PREFIX@/include/libintl.h'):
+ nls_error += ' No libintl.h.'
+ env['NLS'] = 0
+
Added: users/devans/dports/audio/ardour2/files/patch-gtk2_ardour-SConscript.diff
===================================================================
--- users/devans/dports/audio/ardour2/files/patch-gtk2_ardour-SConscript.diff (rev 0)
+++ users/devans/dports/audio/ardour2/files/patch-gtk2_ardour-SConscript.diff 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,14 @@
+--- gtk2_ardour/SConscript.orig 2009-06-19 21:48:51.000000000 -0700
++++ gtk2_ardour/SConscript 2009-06-19 21:55:28.000000000 -0700
+@@ -405,9 +405,9 @@
+ #
+
+ if env['GTKOSX']:
+- ardour_menus = env.Command ('ardour.menus', 'ardour.menus.in', "cpp -E -P -DGTKOSX -DTOP_MENUBAR ardour.menus.in ardour.menus", chdir=1)
++ ardour_menus = env.Command ('ardour.menus', 'ardour.menus.in', "@MP_CPP@ -E -P -DGTKOSX -DTOP_MENUBAR ardour.menus.in ardour.menus", chdir=1)
+ else:
+- ardour_menus = env.Command ('ardour.menus', 'ardour.menus.in', "cpp -E -P ardour.menus.in ardour.menus", chdir=1)
++ ardour_menus = env.Command ('ardour.menus', 'ardour.menus.in', "@MP_CPP@ -E -P ardour.menus.in ardour.menus", chdir=1)
+
+ ardour_dark_theme = env.SubstInFile ('ardour2_ui_dark.rc', 'ardour2_ui_dark.rc.in', SUBST_DICT = my_font_dict)
+ ardour_light_theme = env.SubstInFile ('ardour2_ui_light.rc', 'ardour2_ui_light.rc.in', SUBST_DICT = my_font_dict)
Added: users/devans/dports/audio/ardour2/files/patch-gtk2_ardour-main.cc.diff
===================================================================
--- users/devans/dports/audio/ardour2/files/patch-gtk2_ardour-main.cc.diff (rev 0)
+++ users/devans/dports/audio/ardour2/files/patch-gtk2_ardour-main.cc.diff 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,20 @@
+--- gtk2_ardour/main.cc.orig 2010-07-21 23:36:34.000000000 -0700
++++ gtk2_ardour/main.cc 2010-07-21 23:38:09.000000000 -0700
+@@ -62,7 +62,7 @@
+ static ARDOUR_UI *ui = 0;
+ static const char* localedir = LOCALEDIR;
+
+-#ifdef __APPLE__
++#ifdef GTKOSX
+
+ #include <mach-o/dyld.h>
+ #include <sys/param.h>
+@@ -313,7 +313,7 @@
+ {
+ vector<Glib::ustring> null_file_list;
+
+-#ifdef __APPLE__
++#ifdef GTKOSX
+ fixup_bundle_environment ();
+ #endif
+
Added: users/devans/dports/audio/ardour2/files/patch-gtk2_ardour-nag.cc.diff
===================================================================
--- users/devans/dports/audio/ardour2/files/patch-gtk2_ardour-nag.cc.diff (rev 0)
+++ users/devans/dports/audio/ardour2/files/patch-gtk2_ardour-nag.cc.diff 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,22 @@
+--- gtk2_ardour/nag.cc.orig 2009-02-24 04:37:42.000000000 -0800
++++ gtk2_ardour/nag.cc 2009-06-06 15:02:31.000000000 -0700
+@@ -191,15 +191,15 @@
+ GError* err;
+ return gtk_open_uri (0, uri, GDK_CURRENT_TIME, &err);
+ #else
+-#ifndef __APPLE__
++#ifdef GTKOSX
++ extern bool cocoa_open_url (const char*);
++ return cocoa_open_url (uri);
++#else
+ std::string command = "xdg-open ";
+ command += uri;
+ spawn_command_line_async (command);
+
+ return true;
+-#else
+- extern bool cocoa_open_url (const char*);
+- return cocoa_open_url (uri);
+ #endif
+ #endif
+ }
Added: users/devans/dports/audio/ardour2/files/patch-libs-pbd-mountpoint.cc.diff
===================================================================
--- users/devans/dports/audio/ardour2/files/patch-libs-pbd-mountpoint.cc.diff (rev 0)
+++ users/devans/dports/audio/ardour2/files/patch-libs-pbd-mountpoint.cc.diff 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,13 @@
+--- libs/pbd/mountpoint.cc.orig 2009-06-06 10:26:24.000000000 -0700
++++ libs/pbd/mountpoint.cc 2009-06-06 11:15:08.000000000 -0700
+@@ -96,6 +96,10 @@
+ #include <sys/ucred.h>
+ #include <sys/mount.h>
+
++#if defined(__APPLE__)
++#include <stdlib.h>
++#endif
++
+ string
+ mountpoint (string path)
+ {
Added: users/devans/dports/audio/ardour2/files/patch-libs-pbd-pathscanner.cc.diff
===================================================================
--- users/devans/dports/audio/ardour2/files/patch-libs-pbd-pathscanner.cc.diff (rev 0)
+++ users/devans/dports/audio/ardour2/files/patch-libs-pbd-pathscanner.cc.diff 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,13 @@
+--- libs/pbd/pathscanner.cc.orig 2009-06-06 10:44:16.000000000 -0700
++++ libs/pbd/pathscanner.cc 2009-06-06 11:16:36.000000000 -0700
+@@ -30,6 +30,10 @@
+ #include <pbd/pathscanner.h>
+ #include <pbd/stl_delete.h>
+
++#if defined(__APPLE__) && !defined(PATH_MAX)
++#define PATH_MAX 1024
++#endif
++
+ using namespace PBD;
+
+ vector<string *> *
Added: users/devans/dports/databases/mysql-workbench/Portfile
===================================================================
--- users/devans/dports/databases/mysql-workbench/Portfile (rev 0)
+++ users/devans/dports/databases/mysql-workbench/Portfile 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,55 @@
+# -*- 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 mysql-workbench
+version 5.2.47
+distname ${name}-gpl-${version}-src
+maintainers devans
+license GPL-2
+categories databases
+platforms darwin
+
+description MySQL Workbench
+
+long_description ${description}
+
+homepage http://dev.mysql.com/downloads/workbench/
+master_sites file:///Users/devans/macports/distfiles/${name}
+
+use_parallel_build no
+universal_variant no
+compiler.blacklist clang
+
+checksums rmd160 c1ebe6023d85176ce8a25d35e152bb494992eb69 \
+ sha256 e6928beb157f1e0abbb8885d16544eefe4d25b05f54dc0fb75b8375d8775838c
+
+depends_build port:pkgconfig
+
+depends_lib port:libzip \
+ port:glib2 \
+ port:libsigcxx2 \
+ port:libgnome-keyring \
+ port:gtkmm \
+ port:sqlite3 \
+ port:boost \
+ port:mysql55 \
+ port:ossp-uuid \
+ port:lua \
+ port:python27 \
+ port:cairo \
+ port:mesa \
+ port:google-ctemplate \
+ port:libiodbc \
+ port:libantlr3c \
+ port:pcre
+
+patchfiles patch-configure.in.diff
+
+use_autoreconf yes
+
+configure.args --disable-i18n \
+ --with-boost-includes=${prefix}/include
+
+livecheck.type none
Property changes on: users/devans/dports/databases/mysql-workbench/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: users/devans/dports/databases/mysql-workbench/files/patch-configure.diff
===================================================================
--- users/devans/dports/databases/mysql-workbench/files/patch-configure.diff (rev 0)
+++ users/devans/dports/databases/mysql-workbench/files/patch-configure.diff 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,16 @@
+--- configure.orig 2013-03-10 01:31:15.000000000 -0800
++++ configure 2013-03-10 01:35:44.000000000 -0800
+@@ -24321,12 +24321,7 @@
+ # Python headers
+ { echo "$as_me:$LINENO: checking for Python libraries" >&5
+ echo $ECHO_N "checking for Python libraries... $ECHO_C" >&6; }
+-PYTHON_LIBS=$(python -c "from distutils import sysconfig
+-import os
+-cfg=sysconfig.get_config_vars()
+-lib = os.path.join(cfg['LIBDIR'], cfg['LDLIBRARY'])
+-if os.path.exists(lib):
+- print \"-L\" + cfg['LIBDIR'] + \" -l\" + cfg['LDLIBRARY'].lstrip(\"lib\").rstrip(\".so\")")
++PYTHON_LIBS="-L${prefix}/lib -lpython2.7"
+ PYTHON_CFLAGS=$(python -c "from distutils import sysconfig
+ print sysconfig.get_python_inc()")
+ PYTHON_CFLAGS="-I$PYTHON_CFLAGS"
Added: users/devans/dports/databases/mysql-workbench/files/patch-configure.in.diff
===================================================================
--- users/devans/dports/databases/mysql-workbench/files/patch-configure.in.diff (rev 0)
+++ users/devans/dports/databases/mysql-workbench/files/patch-configure.in.diff 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,16 @@
+--- configure.in.orig 2013-03-10 03:04:43.000000000 -0700
++++ configure.in 2013-03-10 03:07:14.000000000 -0700
+@@ -243,12 +243,7 @@
+ AC_CHECK_PROG(PYTHON27, python2.7, [yes])
+ # Python headers
+ AC_MSG_CHECKING(for Python libraries)
+-PYTHON_LIBS=[$(python -c "from distutils import sysconfig
+-import os
+-cfg=sysconfig.get_config_vars()
+-lib = os.path.join(cfg['LIBDIR'], cfg['LDLIBRARY'])
+-if os.path.exists(lib):
+- print \"-L\" + cfg['LIBDIR'] + \" -l\" + cfg['LDLIBRARY'].lstrip(\"lib\").rstrip(\".so\")")]
++PYTHON_LIBS="-L${prefix}/lib -lpython2.7"
+ PYTHON_CFLAGS=[$(python -c "from distutils import sysconfig
+ print sysconfig.get_python_inc()")]
+ PYTHON_CFLAGS="-I$PYTHON_CFLAGS"
Added: users/devans/dports/genealogy/gramps/Portfile
===================================================================
--- users/devans/dports/genealogy/gramps/Portfile (rev 0)
+++ users/devans/dports/genealogy/gramps/Portfile 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,117 @@
+# -*- 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 gramps
+
+PortGroup python 1.0
+
+version 4.0.2
+license GPL-2
+categories genealogy python
+platforms darwin
+supported_archs noarch
+maintainers devans openmaintainer
+
+description GRAMPS is a genealogy program
+
+long_description GRAMPS is a genealogy program to store, edit, \
+ and research genealogical data. It provides \
+ advanced capabilities for research, analysis, and \
+ correlation to potentially fill relationship gaps.
+
+homepage http://www.gramps-project.org/
+master_sites sourceforge:gramps
+
+checksums rmd160 cf51720699cf341d82b5b2fa3afad730e5ce2633 \
+ sha256 0788b60618e258bb7cf2a7ba81d71f96141b51e8ff11efe82242f2ff12062dab
+
+depends_build-append port:intltool
+
+depends_lib-append port:desktop-file-utils \
+ port:shared-mime-info \
+ port:gtk3 \
+ port:gtkspell3 \
+ port:osm-gps-map \
+ port:gexiv2 \
+ port:webkit-gtk3 \
+ path:bin/dot:graphviz \
+ port:ghostscript
+
+patchfiles patch-gramps-gen-utils-resourcepath.py.diff \
+ patch-no-gexiv2-private.diff
+
+#
+# supports python27 and python3 >= 3.2
+# python 3 versions require py-bsddb3 for database access
+#
+
+variant python27 conflicts python32 python33 description {Use Python 2.7} {
+ python.default_version 27
+ depends_lib-append port:py27-gobject3 \
+ port:py27-pyicu
+}
+
+variant python32 conflicts python27 python33 description {Use Python 3.2} {
+ python.default_version 32
+ depends_lib-append port:py32-gobject3 \
+ port:py32-pyicu \
+ port:py32-bsddb3
+}
+
+variant python33 conflicts python27 python32 description {Use Python 3.3} {
+ python.default_version 33
+ depends_lib-append port:py33-gobject3 \
+ port:py33-pyicu \
+ port:py33-bsddb3
+}
+
+if {![variant_isset python32] && ![variant_isset python33]} {
+ default_variants +python27
+}
+
+post-destroot {
+ reinplace "s|${destroot}${python.prefix}|${prefix}|" ${destroot}${python.pkgd}/gramps/gen/utils/resource-path
+ file delete -force ${destroot}${prefix}/share
+ file rename ${destroot}${python.prefix}/share ${destroot}${prefix}
+}
+
+post-activate {
+ system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+ system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
+}
+
+notes {
+
+When using GRAMPS, be sure to backup your data regularly! GRAMPS backups are in XML format.
+XML is machine- and human-readable. It is completely self-sufficient. It is also small.
+
+The following are good backup practices:
+
+ Backup to XML from time to time, especially after large edits.
+ Backup to XML before making big changes, such as importing new data into an existing database from e.g. GEDCOM,
+ merging records, running tools that may heavily modify the data, etc.
+ Backup to XML before upgrading GRAMPS to a newer version. Backup to XML with the old version before you install the new one!
+ Backup to XML before upgrading your OS.
+
+Also, use XML format for any data migration. Moving to another machine, sending data to a family member,
+copying to another user on the same machine -- all of these cases should use XML.
+
+***** IMPORTANT *****
+
+Beginning with GRAMPS 4.0, GRAMPS supports either python2 or python3. If you plan to use python3, please MAKE A BACKUP
+of your data using your old python2 version before attempting to load your family tree in GRAMPS 4.0 with python3. The python3
+versions use a different database interface with a new database format that is not compatible with the python2 versions. On startup,
+GRAMPS 4.0 python3 will ask you if you want to reformat your database. Once this has been done, your database will no longer be usable
+with python2 versions.
+
+***** MAKE A BACKUP! *****
+
+For detailed backup instructions, see the online GRAMPS documentation at http://www.gramps-project.org/wiki/index.php?title=How_to_make_a_backup
+
+}
+
+livecheck.type regex
+livecheck.url http://sourceforge.net/projects/gramps/files/Stable/
+livecheck.regex "/Stable/(\[0-9.\]+)"
Property changes on: users/devans/dports/genealogy/gramps/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: users/devans/dports/genealogy/gramps/files/patch-configure.diff
===================================================================
--- users/devans/dports/genealogy/gramps/files/patch-configure.diff (rev 0)
+++ users/devans/dports/genealogy/gramps/files/patch-configure.diff 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,14 @@
+--- configure.orig 2012-08-23 12:02:19.000000000 -0700
++++ configure 2012-09-17 08:34:25.000000000 -0700
+@@ -5600,9 +5600,9 @@
+
+
+
+- PYTHON_PREFIX='${prefix}'
++ PYTHON_PREFIX=`$PYTHON -c 'import sys; print sys.prefix;'`
+
+- PYTHON_EXEC_PREFIX='${exec_prefix}'
++ PYTHON_EXEC_PREFIX=`$PYTHON -c 'import sys; print sys.exec_prefix;'`
+
+
+
Added: users/devans/dports/genealogy/gramps/files/patch-gramps-gen-utils-resourcepath.py.diff
===================================================================
--- users/devans/dports/genealogy/gramps/files/patch-gramps-gen-utils-resourcepath.py.diff (rev 0)
+++ users/devans/dports/genealogy/gramps/files/patch-gramps-gen-utils-resourcepath.py.diff 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,11 @@
+--- gramps/gen/utils/resourcepath.py.orig 2013-10-05 00:29:32.000000000 -0700
++++ gramps/gen/utils/resourcepath.py 2013-10-05 00:30:14.000000000 -0700
+@@ -66,7 +66,7 @@
+ try:
+ with io.open(resource_file, encoding='utf-8',
+ errors='strict') as fp:
+- resource_path = fp.readline()
++ resource_path = fp.readline().rstrip('\n')
+ except UnicodeError as err:
+ LOG.exception("Encoding error while parsing resource path", err)
+ sys.exit(1)
Added: users/devans/dports/genealogy/gramps/files/patch-no-gexiv2-private.diff
===================================================================
--- users/devans/dports/genealogy/gramps/files/patch-no-gexiv2-private.diff (rev 0)
+++ users/devans/dports/genealogy/gramps/files/patch-no-gexiv2-private.diff 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,30 @@
+--- gramps/plugins/lib/libmetadata.py
++++ gramps/plugins/lib/libmetadata.py
+@@ -19,7 +19,7 @@
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ #
+-# $Id: libmetadata.py 21985 2013-04-13 14:37:34Z jralls $
++# $Id: libmetadata.py 23475 2013-11-08 14:38:34Z nick-h $
+ #
+ #-------------------------------------------------------------------------
+ #
+@@ -178,7 +178,7 @@
+ except:
+ return False
+
+- get_human = metadata.get_exif_tag_interpreted_string
++ get_human = metadata.get_tag_interpreted_string
+
+ for section, key, key2, func in TAGS:
+ if not key in metadata.get_exif_tags():
+@@ -197,7 +197,7 @@
+ if key2 in metadata.get_exif_tags():
+ human_value += ' ' + get_human(key2)
+
+- label = metadata.get_exif_tag_label(key)
++ label = metadata.get_tag_label(key)
+ node = self.__add_section(section)
+ if human_value is None:
+ human_value = ''
+
Added: users/devans/dports/gnome/colord/Portfile
===================================================================
--- users/devans/dports/gnome/colord/Portfile (rev 0)
+++ users/devans/dports/gnome/colord/Portfile 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,42 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name colord
+version 1.1.2
+maintainers devans openmaintainer
+categories gnome kde graphics
+license LGPL-2+
+platforms darwin
+description colord is a DBus system service that makes it easy to manage, install and generate \
+ color profiles to accurately color manage input and output devices.
+
+long_description \
+ ${description}
+
+homepage http://www.freedesktop.org/software/${name}
+master_sites ${homepage}/releases
+
+use_xz yes
+
+checksums rmd160 92a80abc875912dacdac9e97fda3df5198e99917 \
+ sha256 80005b47e13a586ab6fd1a2ca48de3c26212259d6b5037975b72684ab986dc28
+
+depends_build port:pkgconfig \
+ port:intltool
+
+depends_lib port:desktop-file-utils
+
+configure.args --enable-introspection=no \
+ --disable-gusb \
+ --disable-gudev \
+ --disable-silent-rules
+
+post-activate {
+ system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+}
+
+livecheck.type regex
+livecheck.url ${master_sites}
+livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Property changes on: users/devans/dports/gnome/colord/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: users/devans/dports/gnome/gigolo/Portfile
===================================================================
--- users/devans/dports/gnome/gigolo/Portfile (rev 0)
+++ users/devans/dports/gnome/gigolo/Portfile 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,52 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name gigolo
+version 0.4.1
+license LGPL-2.1
+description Gigolo is a frontend to easily manage connections to remote filesystems using \
+ GIO/GVfs.
+long_description ${description} \
+ It allows you to quickly connect/mount a remote filesystem and manage \
+ bookmarks of such.
+maintainers devans openmaintainer
+categories gnome devel
+platforms darwin
+homepage http://www.uvena.de/gigolo/
+master_sites http://files.uvena.de/gigolo
+
+use_bzip2 yes
+
+checksums rmd160 3bdbd7484854c0cd984b2083ce52787fcd64a211 \
+ sha256 82f3b5f0ce3ff19c1facac1c89117d67bdf1d4fac66e42fb7a98a8b0d74a17f9
+
+depends_build port:pkgconfig \
+ port:intltool
+
+depends_lib port:desktop-file-utils \
+ port:gtk2 \
+ port:xorg-libX11
+
+configure.cmd ./waf configure
+configure.universal_args-delete --disable-dependency-tracking
+
+build.cmd ./waf
+build.target build
+
+destroot.destdir --destdir=${destroot}
+
+universal_variant no
+
+variant debug description {Build for debuggins with gdb} {
+ configure.optflags -g -O0
+}
+
+post-activate {
+ system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+}
+
+livecheck.type regex
+livecheck.url ${master_sites}
+livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Property changes on: users/devans/dports/gnome/gigolo/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: users/devans/dports/gnome/glom/Portfile
===================================================================
--- users/devans/dports/gnome/glom/Portfile (rev 0)
+++ users/devans/dports/gnome/glom/Portfile 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,67 @@
+# -*- 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 glom
+version 1.24.0
+set branch [join [lrange [split ${version} .] 0 1] .]
+license GPL-2
+description Glom is an easy-to-use database designer and user interface.
+long_description \
+ ${description} This version supports GTK+ 3 and the libgda-5.0 API.
+maintainers landonf
+categories gnome databases
+platforms darwin
+
+homepage http://www.glom.org/
+master_sites gnome:sources/${name}/${branch}/
+
+use_xz yes
+
+checksums rmd160 4d1ce27c1e8fe272ad1e33525d4917a51e2f2d8d \
+ sha256 83ff79610ffdede48536c0d07d5288ad84ec26c86aa2aa1db98b46abdebbdcc2
+
+depends_build port:gnome-doc-utils \
+ port:mm-common \
+ port:graphviz \
+ port:doxygen \
+ port:libxslt \
+ port:py27-sphinx
+
+depends_lib port:boost \
+ port:libxml2 \
+ port:libgda5 \
+ port:libxmlxx2 \
+ port:goocanvasmm2\
+ port:libgdamm5 \
+ port:gtksourceviewmm3 \
+ port:postgresql91 \
+ port:py27-gobject3 \
+ port:libepc \
+ port:evince
+
+patchfiles patch-glom-libglom-connectionpool.cc.diff
+
+set python.branch 2.7
+set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch}
+
+configure.pkg_config_path ${python.prefix}/lib/pkgconfig
+configure.python ${prefix}/bin/python${python.branch}
+
+configure.env SPHINX_BUILD=${prefix}/bin/sphinx-build-${python.branch}
+
+configure.args --with-boost-python=mt \
+ --with-postgres-utils=${prefix}/lib/postgresql90/bin \
+ --disable-scrollkeeper \
+ --disable-update-mime-database \
+ --disable-documentation
+
+universal_variant no
+
+post-activate {
+ system "scrollkeeper-update"
+ system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
+}
+
+livecheck.type gnome
Property changes on: users/devans/dports/gnome/glom/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: users/devans/dports/gnome/glom/Portfile.devel
===================================================================
--- users/devans/dports/gnome/glom/Portfile.devel (rev 0)
+++ users/devans/dports/gnome/glom/Portfile.devel 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,92 @@
+# -*- 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: Portfile 72064 2010-10-01 20:05:13Z jmr at macports.org $
+
+PortSystem 1.0
+
+name glom
+version 1.18.5
+license GPL-3
+set branch [join [lrange [split ${version} .] 0 1] .]
+description Glom is an easy-to-use database designer and user interface.
+long_description ${description}
+maintainers landonf
+categories gnome databases
+platforms darwin
+
+homepage http://www.glom.org/
+master_sites gnome:sources/${name}/${branch}/
+
+checksums md5 d040a9ffddfa6a88ab73cd1ce4233796 \
+ sha1 0b3037756b6014e1025c554ff6c4b98c5afe6a62 \
+ rmd160 51d101705825a8f7ee79e9e069f1f0369be6b7f8
+
+use_bzip2 yes
+
+depends_build port:pkgconfig \
+ port:intltool \
+ port:doxygen \
+ port:libxslt
+
+depends_lib port:bakery \
+ port:boost \
+ port:libepc \
+ port:libgdamm4 \
+ port:gtksourceviewmm2 \
+ port:goocanvasmm \
+ port:iso-codes
+
+patchfiles patch-glom-libglom-connectionpool.cc.diff
+
+variant python26 conflicts python27 description {Build for Python 2.6} {
+ depends_build-append port:py26-sphinx
+ depends_lib-append port:py26-gda
+ configure.python ${prefix}/bin/python2.6
+ set python_prefix ${frameworks_dir}/Python.framework/Versions/2.6
+ configure.pkg_config_path ${python_prefix}/lib/pkgconfig
+ configure.env PATH=${python_prefix}/bin:$env(PATH)
+}
+
+variant python27 conflicts python26 description {Build for Python 2.7} {
+ depends_build-append port:py27-sphinx
+ depends_lib-append port:py27-gda
+ configure.python ${prefix}/bin/python2.7
+ set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7
+ configure.pkg_config_path ${python_prefix}/lib/pkgconfig
+ configure.env PATH=${python_prefix}/bin:$env(PATH)
+}
+
+if {![variant_isset python26]} {
+ default_variants +python27
+}
+
+#post-patch {
+ #reinplace s/-lutil//g ${worksrcpath}/glom/libglom/Makefile.in \
+ #${worksrcpath}/glom/Makefile.in \
+ #${worksrcpath}/glom/python_embed/python_module/Makefile.in
+#}
+
+configure.args --with-postgres-utils=${prefix}/lib/postgresql84/bin \
+ --disable-update-mime-database \
+ --disable-scrollkeeper
+
+# --disable-documentation \
+
+use_parallel_build no
+
+#post-destroot {
+# file delete "${destpath}${prefix}/share/mime/globs"
+# file delete "${destpath}${prefix}/share/mime/magic"
+# file delete "${destpath}${prefix}/share/mime/XMLnamespaces"
+#}
+
+post-activate {
+ system "${prefix}/bin/scrollkeeper-update; true"
+ system "${prefix}/bin/update-desktop-database -q ${prefix}/share/applications; true"
+ system "${prefix}/bin/update-mime-database ${prefix}/share/mime; true"
+ system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
+ gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
+}
+
+livecheck.type regex
+livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Added: users/devans/dports/gnome/glom/files/patch-glom-frame_glom.cc.diff
===================================================================
--- users/devans/dports/gnome/glom/files/patch-glom-frame_glom.cc.diff (rev 0)
+++ users/devans/dports/gnome/glom/files/patch-glom-frame_glom.cc.diff 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,11 @@
+--- glom/frame_glom.cc.orig 2013-04-16 00:35:35.000000000 -0700
++++ glom/frame_glom.cc 2013-04-16 00:35:55.000000000 -0700
+@@ -1576,7 +1576,7 @@
+ //Get the fields information from the database:
+ DbUtils::type_vec_fields fieldsDatabase = DbUtils::get_fields_for_table_from_database(m_table_name);
+
+- Document* pDoc = dynamic_cast<const Document*>(get_document());
++ Document* pDoc = dynamic_cast<Document*>(get_document());
+ if(pDoc)
+ {
+ bool document_must_be_updated = false;
Added: users/devans/dports/gnome/glom/files/patch-glom-libglom-connectionpool.cc.diff
===================================================================
--- users/devans/dports/gnome/glom/files/patch-glom-libglom-connectionpool.cc.diff (rev 0)
+++ users/devans/dports/gnome/glom/files/patch-glom-libglom-connectionpool.cc.diff 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,11 @@
+--- glom/libglom/connectionpool.cc.orig 2013-01-14 00:13:51.000000000 -0800
++++ glom/libglom/connectionpool.cc 2013-08-03 06:17:07.000000000 -0700
+@@ -620,7 +620,7 @@
+ // TODO: This is probably mingw specific
+ static __p_sig_fn_t previous_sig_handler = SIG_DFL;
+ #else
+-static sighandler_t previous_sig_handler = SIG_DFL; /* Arbitrary default */
++static sig_t previous_sig_handler = SIG_DFL; /* Arbitrary default */
+ #endif
+
+ /* This is a Linux/Unix signal handler,
Added: users/devans/dports/gnome/glom-gda4/Portfile-1.16.3
===================================================================
--- users/devans/dports/gnome/glom-gda4/Portfile-1.16.3 (rev 0)
+++ users/devans/dports/gnome/glom-gda4/Portfile-1.16.3 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,85 @@
+# -*- 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: Portfile 72064 2010-10-01 20:05:13Z jmr at macports.org $
+
+PortSystem 1.0
+PortGroup active_variants 1.1
+
+name glom
+version 1.16.3
+set branch [join [lrange [split ${version} .] 0 1] .]
+license GPL-2
+description Glom is an easy-to-use database designer and user interface.
+long_description \
+ ${description} This version supports the libgda-4.0 API.
+maintainers landonf
+categories gnome databases
+platforms darwin
+
+homepage http://www.glom.org/
+master_sites gnome:sources/${name}/${branch}/
+
+use_xz yes
+
+checksums rmd160 ce8ee11f125cf24e6f3699580d411e0c1c7fedba \
+ sha256 561ade3efe1d6cecd69d921458a579a0060ff8d7dd6f8e94115d26a31c4371c0
+
+depends_build port:gnome-doc-utils \
+ port:libxslt \
+ port:py27-sphinx
+
+depends_lib port:desktop-file-utils \
+ port:rarian \
+ port:boost \
+ port:libxml2 \
+ port:libgda4 \
+ port:gtkmm \
+ port:goocanvasmm \
+ port:libgdamm4 \
+ port:gtksourceviewmm2 \
+ port:postgresql90 \
+ port:py27-gobject \
+ port:py27-gda \
+ port:libepc
+
+require_active_variants boost python27
+require_active_variants libgda4 with_postgresql90
+
+patchfiles patch-configure.diff \
+ patch-glom-libglom-connectionpool.cc.diff \
+ patch-glom-frame_glom.cc.diff \
+ patch-glom-main.cc.diff \
+ patch-tests-test_python_module.cc.diff
+
+compiler.blacklist clang
+
+set python.branch 2.7
+set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch}
+
+configure.pkg_config_path ${python.prefix}/lib/pkgconfig
+configure.python ${prefix}/bin/python${python.branch}
+
+configure.env SPHINX_BUILD=${prefix}/bin/sphinx-build-${python.branch}
+
+configure.optflags -g
+
+configure.args --with-boost-python=mt \
+ --with-postgres-utils=${prefix}/lib/postgresql90/bin \
+ --disable-sqlite \
+ --disable-silent-rules \
+ --disable-scrollkeeper \
+ --disable-update-mime-database \
+ --disable-documentation
+
+post-activate {
+ system "scrollkeeper-update"
+ system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+ system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
+ system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
+}
+
+#
+# version 1.16.3 is the last version to support libgda-4.0 and gtk2
+# later versions are reputed to install in parallel and support ligda-5.0 and gtk3
+#
+
+livecheck.type none
Added: users/devans/dports/gnome/glom-gda4/files/patch-configure.diff
===================================================================
--- users/devans/dports/gnome/glom-gda4/files/patch-configure.diff (rev 0)
+++ users/devans/dports/gnome/glom-gda4/files/patch-configure.diff 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,14 @@
+--- configure.orig 2011-07-06 00:02:20.000000000 -0700
++++ configure 2013-04-19 08:09:54.000000000 -0700
+@@ -17991,9 +17991,9 @@
+
+
+
+- PYTHON_PREFIX='${prefix}'
++ PYTHON_PREFIX=`$PYTHON -c 'import sys; print sys.prefix;'`
+
+- PYTHON_EXEC_PREFIX='${exec_prefix}'
++ PYTHON_EXEC_PREFIX=`$PYTHON -c 'import sys; print sys.exec_prefix;'`
+
+
+
Added: users/devans/dports/gnome/glom-gda4/files/patch-glom-frame_glom.cc.diff
===================================================================
--- users/devans/dports/gnome/glom-gda4/files/patch-glom-frame_glom.cc.diff (rev 0)
+++ users/devans/dports/gnome/glom-gda4/files/patch-glom-frame_glom.cc.diff 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,11 @@
+--- glom/frame_glom.cc.orig 2013-04-16 00:35:35.000000000 -0700
++++ glom/frame_glom.cc 2013-04-16 00:35:55.000000000 -0700
+@@ -1576,7 +1576,7 @@
+ //Get the fields information from the database:
+ DbUtils::type_vec_fields fieldsDatabase = DbUtils::get_fields_for_table_from_database(m_table_name);
+
+- Document* pDoc = dynamic_cast<const Document*>(get_document());
++ Document* pDoc = dynamic_cast<Document*>(get_document());
+ if(pDoc)
+ {
+ bool document_must_be_updated = false;
Added: users/devans/dports/gnome/glom-gda4/files/patch-glom-libglom-connectionpool.cc.diff
===================================================================
--- users/devans/dports/gnome/glom-gda4/files/patch-glom-libglom-connectionpool.cc.diff (rev 0)
+++ users/devans/dports/gnome/glom-gda4/files/patch-glom-libglom-connectionpool.cc.diff 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,11 @@
+--- glom/libglom/connectionpool.cc.orig 2011-04-15 18:21:22.000000000 -0700
++++ glom/libglom/connectionpool.cc 2011-04-15 18:23:33.000000000 -0700
+@@ -600,7 +600,7 @@
+ // TODO: This is probably mingw specific
+ static __p_sig_fn_t previous_sig_handler = SIG_DFL;
+ #else
+-static sighandler_t previous_sig_handler = SIG_DFL; /* Arbitrary default */
++static sig_t previous_sig_handler = SIG_DFL; /* Arbitrary default */
+ #endif
+
+ /* This is a Linux/Unix signal handler,
Added: users/devans/dports/gnome/glom-gda4/files/patch-glom-main.cc.diff
===================================================================
--- users/devans/dports/gnome/glom-gda4/files/patch-glom-main.cc.diff (rev 0)
+++ users/devans/dports/gnome/glom-gda4/files/patch-glom-main.cc.diff 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,20 @@
+--- glom/main.cc.orig 2013-04-19 13:05:43.000000000 -0700
++++ glom/main.cc 2013-04-19 13:07:41.000000000 -0700
+@@ -372,7 +372,7 @@
+ } //namespace Glom
+
+ #ifndef G_OS_WIN32
+-extern "C" void __libc_freeres(void);
++//extern "C" void __libc_freeres(void);
+ #endif
+
+ int
+@@ -381,7 +381,7 @@
+ #ifndef G_OS_WIN32
+ //Force some cleanup at exit,
+ //to help valgrind to detect memory leaks:
+- atexit(__libc_freeres);
++ //atexit(__libc_freeres);
+ #else
+ WSADATA data;
+ int errcode = WSAStartup(MAKEWORD(2, 0), &data);
Added: users/devans/dports/gnome/glom-gda4/files/patch-tests-test_python_module.cc.diff
===================================================================
--- users/devans/dports/gnome/glom-gda4/files/patch-tests-test_python_module.cc.diff (rev 0)
+++ users/devans/dports/gnome/glom-gda4/files/patch-tests-test_python_module.cc.diff 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,21 @@
+diff -ur tests.orig/test_python_module.cc tests/test_python_module.cc
+--- tests.orig/test_python_module.cc 2011-07-05 23:56:40.000000000 -0700
++++ tests/test_python_module.cc 2013-04-19 02:04:25.000000000 -0700
+@@ -6,7 +6,7 @@
+ #include "glom/python_embed/glom_python.h"
+
+ #ifndef G_OS_WIN32
+-extern "C" void __libc_freeres(void);
++//extern "C" void __libc_freeres(void);
+ #endif
+
+ namespace Glom
+@@ -42,7 +42,7 @@
+ int main ()
+ {
+ #ifndef G_OS_WIN32
+- atexit(__libc_freeres);
++ //atexit(__libc_freeres);
+ #endif
+ Glom::libglom_init(); // Calls PyInitialize()
+
Added: users/devans/dports/gnome/gnome-color-manager/Portfile
===================================================================
--- users/devans/dports/gnome/gnome-color-manager/Portfile (rev 0)
+++ users/devans/dports/gnome/gnome-color-manager/Portfile 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,44 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name gnome-color-manager
+version 3.8.3
+set branch [join [lrange [split ${version} .] 0 1] .]
+maintainers devans openmaintainer
+categories gnome
+license LGPL-2+
+platforms darwin
+description gnome-desktop contains the libgnome-desktop library, the gnome-about \
+ program as well as some desktop-wide documents.
+
+long_description \
+ ${description} The libgnome-desktop library provides API shared \
+ by several applications on the desktop, but that cannot live \
+ in the platform for various reasons. Documentation for the API \
+ is available with gtk-doc.
+
+homepage http://www.gnome.org/
+master_sites gnome:sources/${name}/${branch}/
+
+use_xz yes
+
+checksums rmd160 7ea3086e22aa19dd715ff40add567dd1697275ef \
+ sha256 9125f438321c686c578b37f37a7bfab1ec8dbb519c06031a682b1eb49f474279
+
+depends_build port:pkgconfig \
+ port:intltool \
+ port:gnome-common \
+ port:gtk-doc
+
+depends_lib port:desktop-file-utils
+
+configure.args --enable-introspection=no \
+ --disable-silent-rules
+
+post-activate {
+ system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+}
+
+livecheck.type gnome
Property changes on: users/devans/dports/gnome/gnome-color-manager/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: users/devans/dports/gnome/nemiver/Portfile
===================================================================
--- users/devans/dports/gnome/nemiver/Portfile (rev 0)
+++ users/devans/dports/gnome/nemiver/Portfile 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,72 @@
+# -*- 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 nemiver
+version 0.9.5
+license GPL-2
+set branch [join [lrange [split ${version} .] 0 1] .]
+description Standalone graphical debugger for GNOME.
+long_description Nemiver is a project to write a standalone graphical debugger that integrates \
+ in the GNOME desktop. It features a backend which uses the well known GNU \
+ Debugger gdb to debug C/C++ programs. \
+ Nemiver is built with a plugin system that can offer several different \
+ perspectives. Currently the only perspective provided is a debugging \
+ perspective, but it could be expanded with perspectives added for \
+ valgrind, or for profiling tools such as oprofile.
+
+maintainers gmail.com:juanrgar openmaintainer
+categories gnome devel
+platforms darwin
+homepage http://www.gnome.org/
+master_sites gnome:sources/${name}/${branch}/
+
+use_xz yes
+
+checksums sha256 33590e3964092cabb629a6ba8415786b054702063a944eca5fe4156048baf8d9 \
+ rmd160 5ccc191da5ece02691222d57e7b79798b423e9c0
+
+depends_lib port:desktop-file-utils \
+ port:dconf \
+ port:gsettings-desktop-schemas \
+ port:libgtop \
+ port:gdlmm3 \
+ port:ghex \
+ port:glibmm \
+ port:gtkmm3 \
+ port:gtksourceviewmm3 \
+ port:vte \
+ port:gdb \
+ port:boost
+
+depends_build port:pkgconfig \
+ port:itstool \
+ port:libxml2 \
+ port:libxslt \
+ port:yelp-xsl \
+ port:yelp-tools
+
+depends_run port:yelp \
+ port:gnome-settings-daemon
+
+patchfiles nemiver-tr1-osx-patch.diff
+
+use_autoreconf yes
+autoreconf.args -fvi
+
+configure.args --enable-gsettings=yes \
+ --with-default-gdb=${prefix}/bin/ggdb \
+ --disable-schemas-compile \
+ --disable-silent-rules
+
+# port installs .desktop files, hicolor icons and gsettings schemas
+# update-desktop-database is provided by desktop-file-utils
+
+post-activate {
+ system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+ system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
+ system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
+}
+
+livecheck.type gnome-with-unstable
Property changes on: users/devans/dports/gnome/nemiver/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: users/devans/dports/gnome/nemiver/Portfile.orig
===================================================================
--- users/devans/dports/gnome/nemiver/Portfile.orig (rev 0)
+++ users/devans/dports/gnome/nemiver/Portfile.orig 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,52 @@
+# -*- 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 nemiver
+version 0.9.5
+license GPL-2
+set branch [join [lrange [split ${version} .] 0 1] .]
+description Standalone graphical debugger for GNOME.
+long_description Nemiver is a project to write a standalone graphical debugger that integrates \
+ in the GNOME desktop. It features a backend which uses the well known GNU \
+ Debugger gdb to debug C/C++ programs. \
+ Nemiver is built with a plugin system that can offer several different \
+ perspectives. Currently the only perspective provided is a debugging \
+ perspective, but it could be expanded with perspectives added for \
+ valgrind, or for profiling tools such as oprofile.
+
+maintainers gmail.com:juanrgar openmaintainer
+categories gnome devel
+platforms darwin
+homepage http://www.gnome.org/
+master_sites gnome:sources/${name}/${branch}/
+
+use_xz yes
+
+checksums sha256 33590e3964092cabb629a6ba8415786b054702063a944eca5fe4156048baf8d9 \
+ rmd160 5ccc191da5ece02691222d57e7b79798b423e9c0
+
+depends_build port:pkgconfig \
+ port:gconf \
+ port:libgtop \
+ port:glibmm \
+ port:gtkmm3 \
+ port:gtksourceviewmm3 \
+ port:vte \
+ port:gdb \
+ port:boost \
+ port:itstool
+
+depends_lib port:itstool \
+ port:libxml2 \
+ port:libxslt \
+ port:yelp-xsl
+
+patchfiles nemiver-tr1-osx-patch.diff
+
+configure.args --with-default-gdb=${prefix}/bin/ggdb \
+ --disable-schemas-install \
+ --disable-silent-rules
+
+livecheck.type gnome
Added: users/devans/dports/gnome/nemiver/files/nemiver-tr1-osx-patch.diff
===================================================================
--- users/devans/dports/gnome/nemiver/files/nemiver-tr1-osx-patch.diff (rev 0)
+++ users/devans/dports/gnome/nemiver/files/nemiver-tr1-osx-patch.diff 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,709 @@
+diff --git configure.ac configure.ac
+index 04f5a26..3787159 100644
+--- configure.ac
++++ configure.ac
+@@ -270,6 +270,16 @@ if test x$GLIBMM_USES_DEPRECATED_GLIB_FUNCS = xyes; then
+ AC_MSG_NOTICE(glibmm uses deprecated glib functions!)
+ fi
+
++dnl Check for tr1 headers
++AC_CHECK_HEADERS([tr1/unordered_map boost/tr1/unordered_map.hpp])
++AC_CHECK_HEADERS([tr1/memory boost/tr1/memory.hpp])
++AC_CHECK_HEADERS([tr1/tuple boost/tr1/tuple.hpp])
++
++dnl Check for pty.h and its alternatives
++dnl https://www.gnu.org/software/gnulib/manual/html_node/pty_002eh.html
++AC_CHECK_HEADERS([pty.h util.h libutil.h])
++
++
+ #######################################################
+ #boost build system sucks no end.
+ #it is damn hard to detect the version of boost
+diff --git src/common/Makefile.am src/common/Makefile.am
+index 074c5bd..2d298ac 100644
+--- src/common/Makefile.am
++++ src/common/Makefile.am
+@@ -76,8 +76,7 @@ $(h)/nmv-proc-mgr.cc
+ publicheaders_DATA=$(headers)
+ publicheadersdir=$(NEMIVER_INCLUDE_DIR)/common
+ libnemivercommon_la_LDFLAGS=@NEMIVERCOMMON_LIBS@ -lutil \
+- -avoid-version -rpath $(libdir)/nemiver \
+- -Wl,--as-needed
++ -avoid-version -rpath $(libdir)/nemiver
+
+ #don't install libnemivercommon.pc yet, as no other program
+ #but nemiver uses the libnemivercommon library yet.
+diff --git src/common/nmv-log-stream.cc src/common/nmv-log-stream.cc
+index 0914a46..6822de1 100644
+--- src/common/nmv-log-stream.cc
++++ src/common/nmv-log-stream.cc
+@@ -43,8 +43,10 @@
+ #include "nmv-date-utils.h"
+ #include "nmv-safe-ptr-utils.h"
+
+-#if __GNUC__ >= 4 && __GNUC_MINOR__ >= 2
++#if defined(HAVE_TR1_UNORDERED_MAP)
+ #include <tr1/unordered_map>
++#elif defined(HAVE_BOOST_TR1_UNORDERED_MAP_HPP)
++#include <boost/tr1/unordered_map.hpp>
+ #else
+ #include <ext/hash_map>
+
+@@ -64,7 +66,7 @@ namespace common {
+
+ using namespace std;
+
+-#if __GNUC__ >= 4 && __GNUC_MINOR__ >= 2
++#if defined(HAVE_TR1_UNORDERED_MAP) || defined(HAVE_BOOST_TR1_UNORDERED_MAP_HPP)
+ typedef std::tr1::unordered_map<std::string, bool> DomainMap;
+ #else
+ typedef __gnu_cxx::hash_map<std::string, bool> DomainMap;
+diff --git src/common/nmv-proc-utils.cc src/common/nmv-proc-utils.cc
+index cfa8d2a..0d99a55 100644
+--- src/common/nmv-proc-utils.cc
++++ src/common/nmv-proc-utils.cc
+@@ -28,13 +28,13 @@
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <signal.h>
+-#if defined(_GNU_SOURCE)
++#if defined(HAVE_PTY_H)
+ # include <pty.h>
+-#elif defined(__FreeBSD__)
++#elif defined(HAVE_LIBUTIL_H)
+ # include <sys/types.h>
+ # include <sys/ioctl.h>
+ # include <libutil.h>
+-#elif defined(__OpenBSD__)
++#elif defined(HAVE_UTIL_H)
+ #include <util.h>
+ #endif
+ #include <termios.h>
+@@ -45,7 +45,7 @@
+ #include "nmv-exception.h"
+ #include "nmv-log-stream-utils.h"
+
+-#if (defined(__FreeBSD__) || defined(__OpenBSD__)) && !defined(__MAX_BAUD)
++#if !defined(__MAX_BAUD)
+ #define __MAX_BAUD B38400
+ #endif
+
+diff --git src/confmgr/Makefile.am src/confmgr/Makefile.am
+index 90d1637..0b389a0 100644
+--- src/confmgr/Makefile.am
++++ src/confmgr/Makefile.am
+@@ -15,7 +15,7 @@ AM_CPPFLAGS=@NEMIVERCOMMON_CFLAGS@ -DENABLE_NLS=1 -DDATADIR=\"${datadir}\" \
+ if BUILD_GSETTINGS
+ libgsettingsmgrmod_la_SOURCES=$(headers) $(h)/nmv-gsettings-mgr.cc\
+ $(h)/nmv-gsettings-keys-defs.cc
+- libgsettingsmgrmod_la_LDFLAGS=-module -avoid-version -Wl,--as-needed
++ libgsettingsmgrmod_la_LDFLAGS=-module -avoid-version
+ libgsettingsmgrmod_la_LIBADD=@NEMIVERCOMMON_LIBS@ @NEMIVERGSETTINGS_LIBS@ \
+ $(abs_top_builddir)/src/common/libnemivercommon.la
+
+@@ -27,7 +27,7 @@ if BUILD_GSETTINGS
+ else
+ libgconfmgrmod_la_SOURCES=$(headers) $(h)/nmv-gconf-mgr.cc\
+ $(h)/nmv-gconf-keys-defs.cc
+- libgconfmgrmod_la_LDFLAGS=-module -avoid-version -Wl,--as-needed
++ libgconfmgrmod_la_LDFLAGS=-module -avoid-version
+ libgconfmgrmod_la_LIBADD=@NEMIVERCOMMON_LIBS@ @GCONF_LIBS@ \
+ $(abs_top_builddir)/src/common/libnemivercommon.la
+
+diff --git src/dbdimpl/sqlite/Makefile.am src/dbdimpl/sqlite/Makefile.am
+index e458e14..79bc9b6 100644
+--- src/dbdimpl/sqlite/Makefile.am
++++ src/dbdimpl/sqlite/Makefile.am
+@@ -11,7 +11,7 @@ $(h)/nmv-sqlite-cnx-drv.h
+
+ libnemiverdbdsqlite_la_SOURCES=$(sources)
+
+-libnemiverdbdsqlite_la_LDFLAGS= -module -avoid-version -Wl,--as-needed
++libnemiverdbdsqlite_la_LDFLAGS= -module -avoid-version
+ libnemiverdbdsqlite_la_LIBADD= \
+ @SQLITE3_LIBS@ @NEMIVERCOMMON_LIBS@ \
+ $(abs_top_builddir)/src/common/libnemivercommon.la
+diff --git src/dbgengine/Makefile.am src/dbgengine/Makefile.am
+index a4bafe9..d20f068 100644
+--- src/dbgengine/Makefile.am
++++ src/dbgengine/Makefile.am
+@@ -94,7 +94,7 @@ libgdbengine_la_CFLAGS=-fPIC -DPIC
+ publicheaders_DATA=$(dynmodheaders)
+ publicheadersdir=$(NEMIVER_INCLUDE_DIR)/dynmods
+
+-libgdbmod_la_LDFLAGS=-module -avoid-version -Wl,--as-needed
++libgdbmod_la_LDFLAGS=-module -avoid-version
+ libgdbmod_la_LIBADD=libgdbmiparser.la \
+ libgdbengine.la libdebuggerutils.la @NEMIVERCOMMON_LIBS@ \
+ $(abs_top_builddir)/src/langs/libnemivercparser.la \
+diff --git src/dbgengine/nmv-dbg-common.h src/dbgengine/nmv-dbg-common.h
+index 2645e84..ad3cc00 100644
+--- src/dbgengine/nmv-dbg-common.h
++++ src/dbgengine/nmv-dbg-common.h
+@@ -27,7 +27,11 @@
+ #ifndef __NMV_DBG_COMMON_H_H__
+ #define __NMV_DBG_COMMON_H_H__
+ #include "nmv-i-debugger.h"
++#if defined(HAVE_TR1_MEMORY)
+ #include <tr1/memory>
++#elif defined(HAVE_BOOST_TR1_MEMORY_HPP)
++#include <boost/tr1/memory.hpp>
++#endif
+
+ NEMIVER_BEGIN_NAMESPACE (nemiver)
+
+diff --git src/dbgengine/nmv-var-list-walker.cc src/dbgengine/nmv-var-list-walker.cc
+index bd63559..ea53dc2 100644
+--- src/dbgengine/nmv-var-list-walker.cc
++++ src/dbgengine/nmv-var-list-walker.cc
+@@ -31,7 +31,7 @@ NEMIVER_BEGIN_NAMESPACE (nemiver)
+
+ struct SafePtrCmp {
+ bool operator() (const IVarWalkerSafePtr l,
+- const IVarWalkerSafePtr r)
++ const IVarWalkerSafePtr r) const
+ {
+ return (l.get () < r.get ());
+ }
+diff --git src/dbgengine/nmv-var-walker.cc src/dbgengine/nmv-var-walker.cc
+index 2059b88..964b6ea 100644
+--- src/dbgengine/nmv-var-walker.cc
++++ src/dbgengine/nmv-var-walker.cc
+@@ -52,7 +52,7 @@ get_sequence ()
+
+ struct SafePtrCmp {
+ bool operator() (const IDebugger::VariableSafePtr l,
+- const IDebugger::VariableSafePtr r)
++ const IDebugger::VariableSafePtr r) const
+ {
+ return (l.get () < r.get ());
+ }
+diff --git src/langs/nmv-cpp-ast.h src/langs/nmv-cpp-ast.h
+index 98314d3..321f735 100644
+--- src/langs/nmv-cpp-ast.h
++++ src/langs/nmv-cpp-ast.h
+@@ -25,11 +25,12 @@
+ #ifndef __NMV_CPP_AST_H__
+ #define __NMV_CPP_AST_H__
+
++#include "config.h"
+ #include <string>
+ #include <list>
+-#if __GNUC__ >= 4
++#if defined(HAVE_TR1_MEMORY)
+ #include <tr1/memory>
+-#else
++#elif defined(HAVE_BOOST_TR1_MEMORY_HPP)
+ #include <boost/tr1/memory.hpp>
+ #endif
+ #include "common/nmv-namespace.h"
+@@ -174,6 +175,204 @@ bool to_string (const TypeIDPtr, string &);
+ bool to_string (const UnqualifiedIDExprPtr, string &);
+ UnqualifiedIDPtr create_unqualified_id (const string &);
+
++/// the base class of all expressions
++class NEMIVER_API ExprBase {
++ ExprBase (const ExprBase&);
++ ExprBase& operator= (const ExprBase&);
++ ExprBase ();
++
++public:
++ enum Kind {
++ UNDEFINED=0,
++ PRIMARY_EXPRESSION,
++ CONDITIONAL_EXPRESSION,
++ ASSIGNMENT_EXPRESION,
++ THROW_EXPRESSION,
++ UNARY_EXPRESSION,
++ CAST_EXPRESSION,
++ PM_EXPRESSION,
++ MULT_EXPR,
++ ADD_EXPR,
++ SHIFT_EXPR,
++ RELATIONAL_EXPR,
++ EQUALITY_EXPR,
++ AND_EXPR,
++ XOR_EXPR,
++ INCL_OR_EXPR,
++ LOGICAL_AND_EXPR,
++ LOGICAL_OR_EXPR,
++ COND_EXPR,
++ ASSIGNMENT_EXPR,
++ ASSIGNMENT_LIST
++ };
++
++ enum Operator {
++ OP_UNDEFINED,
++ MULT,
++ DIV,
++ MOD,
++ PLUS,
++ MINUS,
++ LT,
++ GT,
++ LT_OR_EQ,
++ GT_OR_EQ,
++ LEFT_SHIFT,
++ RIGHT_SHIFT,
++ ASSIGN,
++ MULT_EQ,
++ DIV_EQ,
++ MOD_EQ,
++ PLUS_EQ,
++ MINUS_EQ,
++ RIGHT_SHIFT_EQ,
++ LEFT_SHIFT_EQ,
++ AND_EQ,
++ XOR_EQ,
++ OR_EQ,
++ EQUALS,
++ NOT_EQUALS,
++ BIT_AND,
++ LOG_AND,
++ LOG_OR
++ };
++
++private:
++ Kind m_kind;
++
++public:
++ ExprBase (Kind a_kind) :
++ m_kind (a_kind)
++ {
++ }
++ virtual ~ExprBase () {}
++ Kind get_kind () {return m_kind;}
++ virtual bool to_string (string &) const=0;
++ static const string& operator_to_string (Operator);
++};//end class ExprBase
++typedef shared_ptr<ExprBase> ExprBasePtr;
++
++class NEMIVER_API PrimaryExpr : public ExprBase {
++ PrimaryExpr (const PrimaryExpr&);
++ PrimaryExpr& operator= (const PrimaryExpr&);
++
++public:
++ enum Kind {
++ UNDEFINED,
++ LITERAL,
++ THIS,
++ PARENTHESIZED,
++ ID_EXPR,
++ };
++
++private:
++ Kind m_kind;
++ Token m_token;
++ IDExprPtr m_id_expr;
++ ExprBasePtr m_parenthesized;
++
++public:
++ PrimaryExpr () :
++ ExprBase (PRIMARY_EXPRESSION), m_kind (UNDEFINED)
++ {}
++ PrimaryExpr (Kind k) :
++ ExprBase (PRIMARY_EXPRESSION),
++ m_kind (k)
++ {}
++ ~PrimaryExpr () {}
++ Kind get_kind () const {return m_kind;}
++ void set_kind (Kind kind) {m_kind=kind;}
++ void set_token (Kind kind, const Token &token) {m_kind=kind, m_token=token;}
++ const Token& get_token () const {return m_token;}
++ void set_id_expr (IDExprPtr id_expr) {m_kind=ID_EXPR, m_id_expr=id_expr;}
++ const IDExprPtr get_id_expr () const {return m_id_expr;}
++ void set_parenthesized (ExprBasePtr expr)
++ {
++ m_kind=PARENTHESIZED, m_parenthesized=expr;
++ }
++ const ExprBasePtr get_parenthesized () const {return m_parenthesized;}
++};//end class PrimaryExpr
++typedef shared_ptr<PrimaryExpr> PrimaryExprPtr;
++
++class NEMIVER_API IDExpr : public PrimaryExpr {
++ IDExpr (const IDExpr&);
++ IDExpr& operator= (const IDExpr&);
++ IDExpr ();
++
++public:
++ enum Kind {
++ UNDEFINED,
++ QUALIFIED,
++ UNQUALIFIED
++ };
++
++private:
++ Kind m_kind;
++
++public:
++ IDExpr (Kind kind) :
++ PrimaryExpr (ID_EXPR),
++ m_kind (kind)
++ {
++ }
++ ~IDExpr ();
++ Kind get_kind () const {return m_kind;}
++};//end class ExprBase
++
++class NEMIVER_API UnqualifiedIDExpr : public IDExpr {
++ UnqualifiedIDExpr (const UnqualifiedIDExpr&);
++ UnqualifiedIDExpr& operator= (const UnqualifiedIDExpr&);
++
++public:
++ enum Kind {
++ UNDEFINED,
++ IDENTIFIER,
++ OP_FUNC_ID,
++ CONV_FUNC_ID, //TODO:not supported yet
++ DESTRUCTOR_ID,
++ TEMPLATE_ID
++ };
++
++private:
++ Kind m_kind;
++
++public:
++ UnqualifiedIDExpr () :
++ IDExpr (UNQUALIFIED),
++ m_kind (UNDEFINED)
++ {
++ }
++
++ UnqualifiedIDExpr (Kind kind) :
++ IDExpr (UNQUALIFIED),
++ m_kind (kind)
++
++ {
++ }
++ Kind get_kind () const {return m_kind;}
++ void set_kind (Kind kind) {m_kind=kind;}
++ virtual ~UnqualifiedIDExpr () {}
++ virtual bool to_string (string &) const=0;
++};//end class UnqualifiedIDExpr
++
++class NEMIVER_API UnqualifiedID : public UnqualifiedIDExpr {
++ string m_name;
++
++public:
++ UnqualifiedID ():
++ UnqualifiedIDExpr (UnqualifiedIDExpr::IDENTIFIER)
++ {}
++ UnqualifiedID (const string &a_s):
++ UnqualifiedIDExpr (UnqualifiedIDExpr::IDENTIFIER),
++ m_name (a_s)
++ {}
++ ~UnqualifiedID ()
++ {}
++ const string& get_name () const {return m_name;}
++ void set_name (const string &a_n) {m_name=a_n;}
++ bool to_string (string &a_s) const;
++};
++
+ /// \brief Qualified Name.
+ ///
+ /// can contain the result of the parsing of
+@@ -432,128 +631,9 @@ public:
+ };//end SimpleDeclaration
+ typedef shared_ptr<SimpleDeclaration> SimpleDeclarationPtr;
+
+-/// the base class of all expressions
+-class NEMIVER_API ExprBase {
+- ExprBase (const ExprBase&);
+- ExprBase& operator= (const ExprBase&);
+- ExprBase ();
+-
+-public:
+- enum Kind {
+- UNDEFINED=0,
+- PRIMARY_EXPRESSION,
+- CONDITIONAL_EXPRESSION,
+- ASSIGNMENT_EXPRESION,
+- THROW_EXPRESSION,
+- UNARY_EXPRESSION,
+- CAST_EXPRESSION,
+- PM_EXPRESSION,
+- MULT_EXPR,
+- ADD_EXPR,
+- SHIFT_EXPR,
+- RELATIONAL_EXPR,
+- EQUALITY_EXPR,
+- AND_EXPR,
+- XOR_EXPR,
+- INCL_OR_EXPR,
+- LOGICAL_AND_EXPR,
+- LOGICAL_OR_EXPR,
+- COND_EXPR,
+- ASSIGNMENT_EXPR,
+- ASSIGNMENT_LIST
+- };
+-
+- enum Operator {
+- OP_UNDEFINED,
+- MULT,
+- DIV,
+- MOD,
+- PLUS,
+- MINUS,
+- LT,
+- GT,
+- LT_OR_EQ,
+- GT_OR_EQ,
+- LEFT_SHIFT,
+- RIGHT_SHIFT,
+- ASSIGN,
+- MULT_EQ,
+- DIV_EQ,
+- MOD_EQ,
+- PLUS_EQ,
+- MINUS_EQ,
+- RIGHT_SHIFT_EQ,
+- LEFT_SHIFT_EQ,
+- AND_EQ,
+- XOR_EQ,
+- OR_EQ,
+- EQUALS,
+- NOT_EQUALS,
+- BIT_AND,
+- LOG_AND,
+- LOG_OR
+- };
+-
+-private:
+- Kind m_kind;
+-
+-public:
+- ExprBase (Kind a_kind) :
+- m_kind (a_kind)
+- {
+- }
+- virtual ~ExprBase () {}
+- Kind get_kind () {return m_kind;}
+- virtual bool to_string (string &) const=0;
+- static const string& operator_to_string (Operator);
+-};//end class ExprBase
+-typedef shared_ptr<ExprBase> ExprBasePtr;
+-
+ class Expr;
+ typedef shared_ptr<Expr> ExprPtr;
+
+-class NEMIVER_API PrimaryExpr : public ExprBase {
+- PrimaryExpr (const PrimaryExpr&);
+- PrimaryExpr& operator= (const PrimaryExpr&);
+-
+-public:
+- enum Kind {
+- UNDEFINED,
+- LITERAL,
+- THIS,
+- PARENTHESIZED,
+- ID_EXPR,
+- };
+-
+-private:
+- Kind m_kind;
+- Token m_token;
+- IDExprPtr m_id_expr;
+- ExprBasePtr m_parenthesized;
+-
+-public:
+- PrimaryExpr () :
+- ExprBase (PRIMARY_EXPRESSION), m_kind (UNDEFINED)
+- {}
+- PrimaryExpr (Kind k) :
+- ExprBase (PRIMARY_EXPRESSION),
+- m_kind (k)
+- {}
+- ~PrimaryExpr () {}
+- Kind get_kind () const {return m_kind;}
+- void set_kind (Kind kind) {m_kind=kind;}
+- void set_token (Kind kind, const Token &token) {m_kind=kind, m_token=token;}
+- const Token& get_token () const {return m_token;}
+- void set_id_expr (IDExprPtr id_expr) {m_kind=ID_EXPR, m_id_expr=id_expr;}
+- const IDExprPtr get_id_expr () const {return m_id_expr;}
+- void set_parenthesized (ExprBasePtr expr)
+- {
+- m_kind=PARENTHESIZED, m_parenthesized=expr;
+- }
+- const ExprBasePtr get_parenthesized () const {return m_parenthesized;}
+-};//end class PrimaryExpr
+-typedef shared_ptr<PrimaryExpr> PrimaryExprPtr;
+-
+ class NEMIVER_API LiteralPrimaryExpr : public PrimaryExpr {
+ LiteralPrimaryExpr (const LiteralPrimaryExpr&);
+ LiteralPrimaryExpr& operator= (const LiteralPrimaryExpr&);
+@@ -687,85 +767,6 @@ public:
+ }
+ };//end class TemplateID
+
+-class NEMIVER_API IDExpr : public PrimaryExpr {
+- IDExpr (const IDExpr&);
+- IDExpr& operator= (const IDExpr&);
+- IDExpr ();
+-
+-public:
+- enum Kind {
+- UNDEFINED,
+- QUALIFIED,
+- UNQUALIFIED
+- };
+-
+-private:
+- Kind m_kind;
+-
+-public:
+- IDExpr (Kind kind) :
+- PrimaryExpr (ID_EXPR),
+- m_kind (kind)
+- {
+- }
+- ~IDExpr ();
+- Kind get_kind () const {return m_kind;}
+-};//end class ExprBase
+-
+-class NEMIVER_API UnqualifiedIDExpr : public IDExpr {
+- UnqualifiedIDExpr (const UnqualifiedIDExpr&);
+- UnqualifiedIDExpr& operator= (const UnqualifiedIDExpr&);
+-
+-public:
+- enum Kind {
+- UNDEFINED,
+- IDENTIFIER,
+- OP_FUNC_ID,
+- CONV_FUNC_ID, //TODO:not supported yet
+- DESTRUCTOR_ID,
+- TEMPLATE_ID
+- };
+-
+-private:
+- Kind m_kind;
+-
+-public:
+- UnqualifiedIDExpr () :
+- IDExpr (UNQUALIFIED),
+- m_kind (UNDEFINED)
+- {
+- }
+-
+- UnqualifiedIDExpr (Kind kind) :
+- IDExpr (UNQUALIFIED),
+- m_kind (kind)
+-
+- {
+- }
+- Kind get_kind () const {return m_kind;}
+- void set_kind (Kind kind) {m_kind=kind;}
+- virtual ~UnqualifiedIDExpr () {}
+- virtual bool to_string (string &) const=0;
+-};//end class UnqualifiedIDExpr
+-
+-class NEMIVER_API UnqualifiedID : public UnqualifiedIDExpr {
+- string m_name;
+-
+-public:
+- UnqualifiedID ():
+- UnqualifiedIDExpr (UnqualifiedIDExpr::IDENTIFIER)
+- {}
+- UnqualifiedID (const string &a_s):
+- UnqualifiedIDExpr (UnqualifiedIDExpr::IDENTIFIER),
+- m_name (a_s)
+- {}
+- ~UnqualifiedID ()
+- {}
+- const string& get_name () const {return m_name;}
+- void set_name (const string &a_n) {m_name=a_n;}
+- bool to_string (string &a_s) const;
+-};
+-
+ class UnqualifiedOpFuncID : public UnqualifiedIDExpr {
+ UnqualifiedOpFuncID (const UnqualifiedOpFuncID&);
+ UnqualifiedOpFuncID& operator= (const UnqualifiedOpFuncID&);
+diff --git src/persp/dbgperspective/Makefile.am src/persp/dbgperspective/Makefile.am
+index d6913d4..e9667d0 100644
+--- src/persp/dbgperspective/Makefile.am
++++ src/persp/dbgperspective/Makefile.am
+@@ -95,7 +95,7 @@ endif
+
+ libdbgperspectiveplugin_la_SOURCES=$(sources) $(memoryview_sources) \
+ $(dynamiclayout_sources)
+-libdbgperspectiveplugin_la_LDFLAGS= -module -avoid-version -Wl,--as-needed
++libdbgperspectiveplugin_la_LDFLAGS= -module -avoid-version
+ libdbgperspectiveplugin_la_LIBADD= \
+ @NEMIVERDBGPERSP_LIBS@ \
+ $(abs_top_builddir)/src/common/libnemivercommon.la \
+diff --git src/persp/dbgperspective/nmv-find-text-dialog.h src/persp/dbgperspective/nmv-find-text-dialog.h
+index a16c1c7..63fd1ea 100644
+--- src/persp/dbgperspective/nmv-find-text-dialog.h
++++ src/persp/dbgperspective/nmv-find-text-dialog.h
+@@ -31,11 +31,9 @@ NEMIVER_BEGIN_NAMESPACE (nemiver)
+
+ class SourceEditor;
+ class FindTextDialog;
+-class ObjectRef;
+-class ObjectUnref;
+-template <class A, class B, class C> class SafePtr;
++using nemiver::common::SafePtr;
+
+-typedef SafePtr<FindTextDialog, ObjectRef, ObjectUnref> FindTextDialogSafePtr;
++typedef SafePtr<FindTextDialog, common::ObjectRef, common::ObjectUnref> FindTextDialogSafePtr;
+
+ class FindTextDialog : public Dialog {
+ class Priv;
+diff --git src/uicommon/nmv-terminal.cc src/uicommon/nmv-terminal.cc
+index 717c094..1807a10 100644
+--- src/uicommon/nmv-terminal.cc
++++ src/uicommon/nmv-terminal.cc
+@@ -24,21 +24,23 @@
+ */
+ #include "config.h"
+ #include "nmv-terminal.h"
+-#if !(defined(__FreeBSD__) || defined(__OpenBSD__))
++#if defined(HAVE_PTY_H)
+ # include <pty.h>
+-#else
++#elif defined (HAVE_LIBUTIL_H)
+ # include <sys/types.h>
+ # include <sys/ioctl.h>
+ # include <termios.h>
+-#if defined(__FreeBSD__)
+ # include <libutil.h>
+-#else
++#elif defined(HAVE_UTIL_H)
+ # include <util.h>
+ #endif
+-#endif
+ #include <unistd.h>
+ #include <iostream>
++#if defined(HAVE_TR1_TUPLE)
+ #include <tr1/tuple>
++#elif defined(HAVE_BOOST_TR1_TUPLE_HPP)
++#include <boost/tr1/tuple.hpp>
++#endif
+ #include <gtkmm/bin.h>
+ #include <gtkmm/main.h>
+ #include <gtkmm/window.h>
+diff --git src/workbench/Makefile.am src/workbench/Makefile.am
+index ecb6ddc..50bcd63 100644
+--- src/workbench/Makefile.am
++++ src/workbench/Makefile.am
+@@ -15,7 +15,7 @@ $(h)/nmv-pref-mgr.cc
+ publicheaders_DATA=$(headers)
+ publicheadersdir=$(NEMIVER_INCLUDE_DIR)/dynmods
+
+-libworkbenchmod_la_LDFLAGS=-module -avoid-version -Wl,--as-needed
++libworkbenchmod_la_LDFLAGS=-module -avoid-version
+ libworkbenchmod_la_LIBADD=@NEMIVERWORKBENCH_LIBS@ \
+ $(abs_top_builddir)/src/common/libnemivercommon.la \
+ $(abs_top_builddir)/src/uicommon/libnemiveruicommon.la
+diff --git tests/threads.cc tests/threads.cc
+index ed035eb..ec0ca20 100644
+--- tests/threads.cc
++++ tests/threads.cc
+@@ -28,7 +28,7 @@ thread_func (void *arg)
+ {
+ assert (arg != 0);
+ thread_info *ti = static_cast<thread_info*> (arg);
+- __attribute__((unused)) int tid = ti->tid;
++ __attribute__((unused)) pthread_t tid = ti->tid;
+ return NULL;
+ }
+
Added: users/devans/dports/graphics/cairo-devel/Portfile
===================================================================
--- users/devans/dports/graphics/cairo-devel/Portfile (rev 0)
+++ users/devans/dports/graphics/cairo-devel/Portfile 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,134 @@
+# -*- 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
+PortGroup compiler_blacklist_versions 1.0
+PortGroup muniversal 1.0
+PortGroup xcodeversion 1.0
+
+# Please keep the cairo and cairo-devel ports as similar as possible.
+
+name cairo-devel
+conflicts cairo
+set git_name cairo
+set git_commit 56a195a76554abe1d5567c733ba679058fe01303
+version 1.13.1
+revision 20131101
+categories graphics
+maintainers ryandesign
+license {LGPL-2.1 MPL-1.1}
+homepage http://cairographics.org/
+master_sites http://cgit.freedesktop.org/cairo/snapshot/
+platforms darwin macosx
+use_parallel_build yes
+dist_subdir ${git_name}
+distname ${git_name}-${git_commit}
+
+description a vector graphics library with cross-device output support
+
+long_description Cairo is ${description}. It is designed to produce \
+ identical output on all output media while taking \
+ advantage of display hardware acceleration when \
+ available (e.g. through the X Render Extension).
+
+checksums rmd160 3c42d8c1917983deffe9035c9528eb96a480d6bd \
+ sha256 49769ff9bf2afc7fe7fa929af35a664a6dcf409a253ebed407f3474d6c767296
+
+depends_build port:pkgconfig
+
+depends_lib path:lib/pkgconfig/pixman-1.pc:libpixman \
+ path:lib/pkgconfig/glib-2.0.pc:glib2 \
+ port:fontconfig \
+ port:freetype \
+ port:libpng \
+ port:zlib \
+ port:expat
+
+minimum_xcodeversions {8 2.4.1}
+
+# Prevent cairo from using librsvg, libspectre, poppler.
+patchfiles-append patch-configure.ac.diff
+
+# https://trac.macports.org/ticket/34137
+compiler.blacklist-append {clang < 318.0.61}
+
+# https://trac.macports.org/ticket/27011
+if {${build_arch} == "x86_64" || ([variant_isset universal] && [lsearch ${universal_archs} x86_64] != -1)} {
+ compiler.blacklist-append gcc-4.0
+}
+
+pre-configure {
+ set pixman_minimum_version 0.30.0
+ set pixman_installed_version [exec ${prefix}/bin/pkg-config pixman-1 --modversion]
+ if {[vercmp ${pixman_installed_version} ${pixman_minimum_version}] < 0} {
+ ui_error "${name} ${version} requires libpixman ${pixman_minimum_version} or later but you have libpixman ${pixman_installed_version}."
+ return -code error "incompatible libpixman version"
+ }
+}
+
+configure.cmd ./autogen.sh
+
+configure.args --disable-gl \
+ --disable-quartz \
+ --disable-quartz-font \
+ --disable-quartz-image \
+ --disable-silent-rules \
+ --disable-symbol-lookup \
+ --disable-xlib \
+ --disable-xcb \
+ --without-x \
+ --enable-ft \
+ --enable-pdf \
+ --enable-png \
+ --enable-ps \
+ --enable-script \
+ --enable-svg \
+ --enable-tee \
+ --enable-xml
+
+# Prevent cairo from using ghostscript.
+configure.args-append ac_cv_prog_GS=""
+
+# Prevent cairo from using lzo2 because its GPL license makes cairo's effective license GPL too.
+configure.args-append ac_cv_lib_lzo2_lzo2a_decompress=no
+
+variant opengl requires x11 description {Add OpenGL graphics interface} {
+ depends_lib-append port:mesa
+ configure.args-delete --disable-gl
+ configure.args-append --enable-gl --enable-glx
+}
+
+platform macosx {
+variant quartz {
+ configure.args-delete --disable-quartz \
+ --disable-quartz-font \
+ --disable-quartz-image
+ configure.args-append --enable-quartz \
+ --enable-quartz-font \
+ --enable-quartz-image
+}
+}
+
+variant x11 {
+ depends_lib-append port:xrender \
+ port:xorg-libXext \
+ port:xorg-xcb-util
+ configure.args-delete --disable-xlib \
+ --without-x \
+ --disable-xcb
+ configure.args-append --enable-xlib \
+ --enable-xlib-xrender \
+ --enable-xcb \
+ --enable-xcb-shm \
+ --enable-xlib-xcb \
+ --with-x \
+ --x-include=${prefix}/include \
+ --x-lib=${prefix}/lib
+}
+
+default_variants +x11
+
+test.run yes
+test.target check
+
+livecheck.type none
Property changes on: users/devans/dports/graphics/cairo-devel/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: users/devans/dports/graphics/cairo-devel/files/patch-configure.ac.diff
===================================================================
--- users/devans/dports/graphics/cairo-devel/files/patch-configure.ac.diff (rev 0)
+++ users/devans/dports/graphics/cairo-devel/files/patch-configure.ac.diff 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,29 @@
+--- configure.ac.orig 2013-10-10 13:41:41.000000000 -0700
++++ configure.ac 2013-10-10 13:43:24.000000000 -0700
+@@ -558,7 +558,7 @@
+
+ dnl ===========================================================================
+
+-SPECTRE_VERSION_REQUIRED=0.2.0
++SPECTRE_VERSION_REQUIRED=99999
+ test_ps=no
+ any2ppm_ps=no
+ if test "x$use_ps" = "xyes"; then
+@@ -596,7 +596,7 @@
+ dnl ===========================================================================
+
+ # poppler-0.17.4 fixes text-pattern and text-transform
+-POPPLER_VERSION_REQUIRED=0.17.4
++POPPLER_VERSION_REQUIRED=99999
+ test_pdf=no
+ any2ppm_pdf=no
+ if test "x$use_pdf" = "xyes"; then
+@@ -627,7 +627,7 @@
+ fi
+ ])
+
+-LIBRSVG_VERSION_REQUIRED=2.15.0
++LIBRSVG_VERSION_REQUIRED=99999
+ test_svg=no
+ any2ppm_svg=no
+ if test "x$use_svg" = "xyes"; then
Added: users/devans/dports/graphics/inkscape-devel/Portfile
===================================================================
--- users/devans/dports/graphics/inkscape-devel/Portfile (rev 0)
+++ users/devans/dports/graphics/inkscape-devel/Portfile 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,148 @@
+# -*- 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 inkscape-devel
+conflicts inkscape
+set bzr_rev 12966
+version 0.48.99.${bzr_rev}
+epoch 1
+license GPL-2 LGPL-2.1
+maintainers devans
+categories graphics gnome
+platforms darwin
+description Unstable development version of Inkscape from \
+ recent BZR trunk leading up to release of version 0.49.
+
+long_description \
+ Inkscape is an open source SVG editor with \
+ capabilities similar to Illustrator, CorelDraw, \
+ Visio, etc. Supported SVG features include basic \
+ shapes, paths, text, alpha blending, transforms, \
+ gradients, node editing, svg-to-png export, \
+ grouping, and more.
+homepage http://www.inkscape.org/
+master_sites file:///Users/devans/macports/distfiles/${name}
+
+checksums rmd160 727fefd41df46591637acfb591fcd240954e9940 \
+ sha256 6245563b8530c1aecf46076e7b3af2477025a158d4bbae5218847f34acd88ba2
+
+worksrcdir inkscape
+
+depends_build port:pkgconfig \
+ port:autoconf \
+ port:automake \
+ port:libtool \
+ port:intltool \
+ path:bin/perl:perl5
+
+depends_lib port:desktop-file-utils \
+ port:popt \
+ path:lib/libgc.dylib:boehmgc \
+ port:gsl \
+ port:gtkmm \
+ port:dbus-glib \
+ port:lcms \
+ port:poppler \
+ port:boost \
+ port:ImageMagick \
+ port:libcdr \
+ port:libexif \
+ port:libvisio \
+ port:libwpg \
+ port:gtkspell2
+
+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 \
+ port:gtkmm
+ depends_lib-append port:gtkspell3 \
+ port:gtk3 \
+ port:gtkmm3 \
+ port:gdl3
+
+ 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"
+}
+
+configure.cmd ./autogen.sh && ./configure
+
+configure.args --without-gnome-vfs \
+ --enable-lcms \
+ --enable-poppler-cairo \
+ --enable-dbusapi \
+ --disable-silent-rules \
+ --disable-strict-build
+
+configure.cppflags-append \
+ -I${worksrcpath}/src/extension/script
+
+if {[string match "*clang*" ${configure.compiler}]} {
+ configure.cxxflags-append -std=c++11
+}
+
+if {![variant_isset python26] && ![variant_isset python27]} {
+ default_variants +python27
+}
+
+#
+# the following dummy variants are used
+# to identify this port's binary dependencies
+# based on which variant of gtkmm is used for the build
+#
+
+variant x11 conflicts quartz {}
+variant quartz conflicts x11 {}
+
+if {![variant_isset quartz]} {
+ default_variants +x11
+}
+
+if {[variant_isset gtk3]} {
+ post-activate {
+ system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
+ system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+ }
+} else {
+ post-activate {
+ system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
+ system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+ }
+}
+
+livecheck.type none
Property changes on: users/devans/dports/graphics/inkscape-devel/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: users/devans/dports/lang/libantlr3c/Portfile
===================================================================
--- users/devans/dports/lang/libantlr3c/Portfile (rev 0)
+++ users/devans/dports/lang/libantlr3c/Portfile 2014-01-25 20:17:08 UTC (rev 116460)
@@ -0,0 +1,26 @@
+# -*- 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 libantlr3c
+version 3.4
+license BSD
+categories lang devel
+platforms darwin
+maintainers devans
+description C Language Runtime for ANTLR, ANother Tool for Language Recognition
+long_description \
+ ${description}
+
+homepage http://www.antlr3.org/
+master_sites ${homepage}download/C/
+
+checksums sha256 ca914a97f1a2d2f2c8e1fca12d3df65310ff0286d35c48b7ae5f11dcc8b2eb52 \
+ rmd160 cbfc13e54f02d87cd82e0c4ca2136fa3fb43dff4
+
+universal_variant no
+
+livecheck.type regex
+livecheck.url ${master_sites}
+livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Property changes on: users/devans/dports/lang/libantlr3c/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140125/776ed4dc/attachment-0001.html>
More information about the macports-changes
mailing list