[85979] trunk/dports/gnome/gtksourceview2

snc at macports.org snc at macports.org
Mon Oct 17 18:26:10 PDT 2011


Revision: 85979
          http://trac.macports.org/changeset/85979
Author:   snc at macports.org
Date:     2011-10-17 18:26:09 -0700 (Mon, 17 Oct 2011)
Log Message:
-----------
gtksourceview2:
 * fix build with gtk2 +quartz, 27923
 * remove archcheck
 * maintainer timeout

Modified Paths:
--------------
    trunk/dports/gnome/gtksourceview2/Portfile

Added Paths:
-----------
    trunk/dports/gnome/gtksourceview2/files/
    trunk/dports/gnome/gtksourceview2/files/patch-gtksourceview_gtksourceview-i18n.c.diff

Modified: trunk/dports/gnome/gtksourceview2/Portfile
===================================================================
--- trunk/dports/gnome/gtksourceview2/Portfile	2011-10-18 01:23:30 UTC (rev 85978)
+++ trunk/dports/gnome/gtksourceview2/Portfile	2011-10-18 01:26:09 UTC (rev 85979)
@@ -2,12 +2,11 @@
 # $Id$
 
 PortSystem      1.0
-PortGroup       archcheck 1.0
 
 name		    gtksourceview2
 set my_name     gtksourceview
 version		    2.10.5
-revision	    1
+revision	    2
 license         LGPL-2.1+
 # respository indicates they were in process of shift
 # from LGPL-2+ to LGPL-2.1+
@@ -44,11 +43,7 @@
     port:gtk2 \
     port:libxml2
 
-archcheck.files \
-    lib/libglib-2.0.dylib \
-    lib/libgdk_pixbuf-2.0.dylib \
-    lib/libintl.dylib \
-    lib/libxml2.dylib
+patchfiles      patch-gtksourceview_gtksourceview-i18n.c.diff
 
 test.run        yes
 test.target     check
@@ -60,6 +55,8 @@
         NEWS README ${destroot}${docdir}
 }
 
+variant quartz {}
+
 livecheck.type  regex
 livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/
 livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}

Added: trunk/dports/gnome/gtksourceview2/files/patch-gtksourceview_gtksourceview-i18n.c.diff
===================================================================
--- trunk/dports/gnome/gtksourceview2/files/patch-gtksourceview_gtksourceview-i18n.c.diff	                        (rev 0)
+++ trunk/dports/gnome/gtksourceview2/files/patch-gtksourceview_gtksourceview-i18n.c.diff	2011-10-18 01:26:09 UTC (rev 85979)
@@ -0,0 +1,35 @@
+--- gtksourceview/gtksourceview-i18n.c.orig	2011-01-20 14:27:26.000000000 +0100
++++ gtksourceview/gtksourceview-i18n.c	2011-01-20 14:45:48.000000000 +0100
+@@ -24,7 +24,11 @@
+ #endif
+ 
+ #ifdef OS_OSX
+-#include <ige-mac-bundle.h>
++#ifndef __x86_64__
++	#include <ige-mac-bundle.h>
++#else
++	#include <gtkosxapplication.h>
++#endif
+ #endif
+ 
+ #include <string.h>
+@@ -45,12 +49,19 @@
+ 
+ 	g_free (win32_dir);
+ #elif defined (OS_OSX)
++#ifndef __x86_64__
+ 	IgeMacBundle *bundle = ige_mac_bundle_get_default ();
+ 
+ 	if (ige_mac_bundle_get_is_app_bundle (bundle))
+ 	{
+ 		locale_dir = g_strdup (ige_mac_bundle_get_localedir (bundle));
+ 	}
++#else
++	if(quartz_application_get_bundle_id() != NULL) 
++	{
++		locale_dir = g_strdup (quartz_application_get_resource_path());
++	}
++#endif
+ 	else
+ 	{
+ 		locale_dir = g_build_filename (DATADIR, "locale", NULL);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111017/327c48fd/attachment.html>


More information about the macports-changes mailing list