[29721] trunk/dports/gnome/gail

source_changes at macosforge.org source_changes at macosforge.org
Sun Oct 7 08:32:00 PDT 2007


Revision: 29721
          http://trac.macosforge.org/projects/macports/changeset/29721
Author:   yves at macports.org
Date:     2007-10-07 08:32:00 -0700 (Sun, 07 Oct 2007)

Log Message:
-----------
Add quartz variant

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

Added Paths:
-----------
    trunk/dports/gnome/gail/files/
    trunk/dports/gnome/gail/files/gtk-quartz.patch

Modified: trunk/dports/gnome/gail/Portfile
===================================================================
--- trunk/dports/gnome/gail/Portfile	2007-10-07 07:33:55 UTC (rev 29720)
+++ trunk/dports/gnome/gail/Portfile	2007-10-07 15:32:00 UTC (rev 29721)
@@ -31,6 +31,10 @@
 
 configure.cppflags-append "-L${prefix}/lib"
 
+variant quartz description "patch for gtk-quartz" {
+    patchfiles-append  gtk-quartz.patch
+}
+
 livecheck.check regex
 livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
 livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}

Added: trunk/dports/gnome/gail/files/gtk-quartz.patch
===================================================================
--- trunk/dports/gnome/gail/files/gtk-quartz.patch	                        (rev 0)
+++ trunk/dports/gnome/gail/files/gtk-quartz.patch	2007-10-07 15:32:00 UTC (rev 29721)
@@ -0,0 +1,49 @@
+--- gail/gailtreeview.c.orig	2007-10-05 23:23:28.000000000 -0400
++++ gail/gailtreeview.c	2007-10-05 23:23:51.000000000 -0400
+@@ -19,7 +19,6 @@
+ 
+ #include <string.h>
+ #include <gtk/gtk.h>
+-#include <gdk/gdkx.h>
+ #include <gtk/gtktreeviewcolumn.h>
+ #include "gailtreeview.h"
+ #include "gailrenderercell.h"
+@@ -2228,7 +2227,7 @@
+       gtk_widget_grab_focus (widget);
+       toplevel = gtk_widget_get_toplevel (widget);
+       if (GTK_WIDGET_TOPLEVEL (toplevel))
+-        gtk_window_present_with_time (GTK_WINDOW (toplevel), gdk_x11_get_server_time (widget->window));
++        gtk_window_present (GTK_WINDOW (toplevel));
+ 
+       return TRUE;
+     }
+--- gail/gailwidget.c.orig	2007-10-05 23:43:43.000000000 -0400
++++ gail/gailwidget.c	2007-10-05 23:43:58.000000000 -0400
+@@ -19,7 +19,6 @@
+ 
+ #include <string.h>
+ #include <gtk/gtk.h>
+-#include <gdk/gdkx.h>
+ #include "gailwidget.h"
+ #include "gailnotebookpage.h"
+ #include "gail-private-macros.h"
+@@ -772,7 +771,7 @@
+       gtk_widget_grab_focus (widget);
+       toplevel = gtk_widget_get_toplevel (widget);
+       if (GTK_WIDGET_TOPLEVEL (toplevel))
+-        gtk_window_present_with_time (GTK_WINDOW (toplevel), gdk_x11_get_server_time (widget->window));
++        gtk_window_present (GTK_WINDOW (toplevel));
+       return TRUE;
+     }
+   else
+--- gail/gailwindow.c.orig	2007-10-05 23:48:16.000000000 -0400
++++ gail/gailwindow.c	2007-10-05 23:49:10.000000000 -0400
+@@ -1051,7 +1051,7 @@
+   return get_window_zorder (widget->window);
+ }
+ 
+-#elif defined (GDK_WINDOWING_WIN32)
++#elif defined (GDK_WINDOWING_WIN32) || defined (GDK_WINDOWING_QUARTZ)
+ 
+ static gint
+ gail_window_get_mdi_zorder (AtkComponent *component)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071007/6f279fed/attachment.html


More information about the macports-changes mailing list