diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile index d5550666f786..c2f3ce7cfc6d 100644 --- a/x11-toolkits/gtk20/Makefile +++ b/x11-toolkits/gtk20/Makefile @@ -7,8 +7,8 @@ # PORTNAME= gtk -PORTVERSION= 2.12.10 -PORTREVISION?= 2 +PORTVERSION= 2.12.11 +PORTREVISION?= 0 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/,} \ ftp://ftp.gtk.org/pub/gtk/%SUBDIR%/ \ diff --git a/x11-toolkits/gtk20/distinfo b/x11-toolkits/gtk20/distinfo index 4dcdd1e16f85..69efc41c7e01 100644 --- a/x11-toolkits/gtk20/distinfo +++ b/x11-toolkits/gtk20/distinfo @@ -1,3 +1,3 @@ -MD5 (gnome2/gtk+-2.12.10.tar.bz2) = 5fcbdd2254eedb6b9ae828afc01d9eaa -SHA256 (gnome2/gtk+-2.12.10.tar.bz2) = 6e4ca68a2e099418610eddd699012558cb704c441094228161966683ec8c2f18 -SIZE (gnome2/gtk+-2.12.10.tar.bz2) = 16230724 +MD5 (gnome2/gtk+-2.12.11.tar.bz2) = f7aab88e856a813386f797aade5867ad +SHA256 (gnome2/gtk+-2.12.11.tar.bz2) = c447b7f42c75ed5bea3e5488a0af82c0f5ed04536ddbf04c9f2f4f42815ba4a9 +SIZE (gnome2/gtk+-2.12.11.tar.bz2) = 16232428 diff --git a/x11-toolkits/gtk20/files/patch-gdk_x11_gdkwindow-x11.c b/x11-toolkits/gtk20/files/patch-gdk_x11_gdkwindow-x11.c deleted file mode 100644 index d9ce8c811ed2..000000000000 --- a/x11-toolkits/gtk20/files/patch-gdk_x11_gdkwindow-x11.c +++ /dev/null @@ -1,31 +0,0 @@ -Index: gdk/x11/gdkwindow-x11.c -=================================================================== ---- gdk/x11/gdkwindow-x11.c (revision 20280) -+++ gdk/x11/gdkwindow-x11.c (working copy) -@@ -3412,6 +3412,7 @@ - Window xwindow; - Window xparent; - Window root; -+ Window child; - Window *children; - guchar *data; - Window *vroots; -@@ -3470,13 +3471,15 @@ - if ((type_return == XA_CARDINAL) && (format_return == 32) && - (nitems_return == 4) && (data)) - { -- guint32 *ldata = (guint32 *) data; -+ gulong *ldata = (gulong *) data; - got_frame_extents = TRUE; - - /* try to get the real client window geometry */ - if (XGetGeometry (GDK_DISPLAY_XDISPLAY (display), xwindow, -- &root, &wx, &wy, &ww, &wh, &wb, &wd)) -- { -+ &root, &wx, &wy, &ww, &wh, &wb, &wd) && -+ XTranslateCoordinates (GDK_DISPLAY_XDISPLAY (display), -+ xwindow, root, 0, 0, &wx, &wy, &child)) -+ { - rect->x = wx; - rect->y = wy; - rect->width = ww; diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile index d5550666f786..c2f3ce7cfc6d 100644 --- a/x11-toolkits/gtk30/Makefile +++ b/x11-toolkits/gtk30/Makefile @@ -7,8 +7,8 @@ # PORTNAME= gtk -PORTVERSION= 2.12.10 -PORTREVISION?= 2 +PORTVERSION= 2.12.11 +PORTREVISION?= 0 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/,} \ ftp://ftp.gtk.org/pub/gtk/%SUBDIR%/ \ diff --git a/x11-toolkits/gtk30/distinfo b/x11-toolkits/gtk30/distinfo index 4dcdd1e16f85..69efc41c7e01 100644 --- a/x11-toolkits/gtk30/distinfo +++ b/x11-toolkits/gtk30/distinfo @@ -1,3 +1,3 @@ -MD5 (gnome2/gtk+-2.12.10.tar.bz2) = 5fcbdd2254eedb6b9ae828afc01d9eaa -SHA256 (gnome2/gtk+-2.12.10.tar.bz2) = 6e4ca68a2e099418610eddd699012558cb704c441094228161966683ec8c2f18 -SIZE (gnome2/gtk+-2.12.10.tar.bz2) = 16230724 +MD5 (gnome2/gtk+-2.12.11.tar.bz2) = f7aab88e856a813386f797aade5867ad +SHA256 (gnome2/gtk+-2.12.11.tar.bz2) = c447b7f42c75ed5bea3e5488a0af82c0f5ed04536ddbf04c9f2f4f42815ba4a9 +SIZE (gnome2/gtk+-2.12.11.tar.bz2) = 16232428 diff --git a/x11-toolkits/gtk30/files/patch-gdk_x11_gdkwindow-x11.c b/x11-toolkits/gtk30/files/patch-gdk_x11_gdkwindow-x11.c deleted file mode 100644 index d9ce8c811ed2..000000000000 --- a/x11-toolkits/gtk30/files/patch-gdk_x11_gdkwindow-x11.c +++ /dev/null @@ -1,31 +0,0 @@ -Index: gdk/x11/gdkwindow-x11.c -=================================================================== ---- gdk/x11/gdkwindow-x11.c (revision 20280) -+++ gdk/x11/gdkwindow-x11.c (working copy) -@@ -3412,6 +3412,7 @@ - Window xwindow; - Window xparent; - Window root; -+ Window child; - Window *children; - guchar *data; - Window *vroots; -@@ -3470,13 +3471,15 @@ - if ((type_return == XA_CARDINAL) && (format_return == 32) && - (nitems_return == 4) && (data)) - { -- guint32 *ldata = (guint32 *) data; -+ gulong *ldata = (gulong *) data; - got_frame_extents = TRUE; - - /* try to get the real client window geometry */ - if (XGetGeometry (GDK_DISPLAY_XDISPLAY (display), xwindow, -- &root, &wx, &wy, &ww, &wh, &wb, &wd)) -- { -+ &root, &wx, &wy, &ww, &wh, &wb, &wd) && -+ XTranslateCoordinates (GDK_DISPLAY_XDISPLAY (display), -+ xwindow, root, 0, 0, &wx, &wy, &child)) -+ { - rect->x = wx; - rect->y = wy; - rect->width = ww;