[86870] trunk/dports/devel/gtk-osx-application

royliu at macports.org royliu at macports.org
Sat Nov 5 22:20:46 PDT 2011


Revision: 86870
          http://trac.macports.org/changeset/86870
Author:   royliu at macports.org
Date:     2011-11-05 22:20:41 -0700 (Sat, 05 Nov 2011)
Log Message:
-----------
gtk-osx-application: fix a small upstream bug and whitespace

Modified Paths:
--------------
    trunk/dports/devel/gtk-osx-application/Portfile

Added Paths:
-----------
    trunk/dports/devel/gtk-osx-application/files/patch-gtkosxapplication.h.diff

Modified: trunk/dports/devel/gtk-osx-application/Portfile
===================================================================
--- trunk/dports/devel/gtk-osx-application/Portfile	2011-11-06 03:59:38 UTC (rev 86869)
+++ trunk/dports/devel/gtk-osx-application/Portfile	2011-11-06 05:20:41 UTC (rev 86870)
@@ -5,6 +5,7 @@
 
 name            gtk-osx-application
 version         1.0.1
+revision        1
 set branch      [join [lrange [split ${version} .] 0 1] .]
 categories      devel
 maintainers     elelay openmaintainer
@@ -50,7 +51,7 @@
 variant python25 conflicts python26 description {Use Python 2.5} {
     depends_lib-append port:py25-gtk
     set python_prefix 	        ${frameworks_dir}/Python.framework/Versions/2.5
-        
+
     configure.python 	        ${python_prefix}/bin/python2.5
     configure.env-append 	    PYGTK_CODEGEN=${python_prefix}/bin/pygtk-codegen-2.0
     configure.env-append 	    PYGOBJECT_CODEGEN=${python_prefix}/bin/pygobject-codegen-2.0
@@ -61,7 +62,7 @@
 variant python26 conflicts python25 description {Use Python 2.6} {
     depends_lib-append port:py26-gtk
     set python_prefix 	        ${frameworks_dir}/Python.framework/Versions/2.6
-        
+
     configure.python 	        ${python_prefix}/bin/python2.6
     configure.env-append 	    PYGTK_CODEGEN=${python_prefix}/bin/pygtk-codegen-2.0
     configure.env-append 	    PYGOBJECT_CODEGEN=${python_prefix}/bin/pygobject-codegen-2.0
@@ -80,7 +81,7 @@
     configure.pre_args          --prefix=${python_prefix}
 }
 
-if {![variant_isset python25] && ![variant_isset python26] && ![variant_isset python27]} { 
+if {![variant_isset python25] && ![variant_isset python26] && ![variant_isset python27]} {
     default_variants +python27
 }
 
@@ -88,5 +89,6 @@
 configure.ccache	no
 configure.cmd-append    --libdir=${prefix}/lib --includedir=${prefix}/include
 
-patchfiles-append       patch-bindings-python-gtk_osxapplication-Makefile-in.diff\
-                        patch-bindings-python-gtkmacintegration-Makefile-in.diff
+patchfiles-append       patch-bindings-python-gtk_osxapplication-Makefile-in.diff \
+                        patch-bindings-python-gtkmacintegration-Makefile-in.diff \
+                        patch-gtkosxapplication.h.diff

Added: trunk/dports/devel/gtk-osx-application/files/patch-gtkosxapplication.h.diff
===================================================================
--- trunk/dports/devel/gtk-osx-application/files/patch-gtkosxapplication.h.diff	                        (rev 0)
+++ trunk/dports/devel/gtk-osx-application/files/patch-gtkosxapplication.h.diff	2011-11-06 05:20:41 UTC (rev 86870)
@@ -0,0 +1,9 @@
+--- src/gtkosxapplication.h.orig	2011-11-06 01:15:07.000000000 -0400
++++ src/gtkosxapplication.h	2011-11-06 01:15:07.000000000 -0400
+@@ -143,5 +143,6 @@
+ gchar *quartz_application_get_bundle_id(void);
+ gchar *quartz_application_get_bundle_info(const gchar *key);
+ 
++G_END_DECLS
+ 
+ #endif /* __GTK_OSX_APPLICATION_H__ */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111105/21129795/attachment.html>


More information about the macports-changes mailing list