[153468] users/devans/GNOME-3/stable/dports/gnome/gtk3

devans at macports.org devans at macports.org
Sun Oct 2 01:07:06 CEST 2016


Revision: 153468
          https://trac.macports.org/changeset/153468
Author:   devans at macports.org
Date:     2016-10-01 16:07:06 -0700 (Sat, 01 Oct 2016)
Log Message:
-----------
GNOME-3/stable: gtk, update to version 3.22.1, drop upstream patch now included in distribution.

Modified Paths:
--------------
    users/devans/GNOME-3/stable/dports/gnome/gtk3/Portfile

Removed Paths:
-------------
    users/devans/GNOME-3/stable/dports/gnome/gtk3/files/bz765649-get-style-earlier.patch

Modified: users/devans/GNOME-3/stable/dports/gnome/gtk3/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gtk3/Portfile	2016-10-01 22:33:29 UTC (rev 153467)
+++ users/devans/GNOME-3/stable/dports/gnome/gtk3/Portfile	2016-10-01 23:07:06 UTC (rev 153468)
@@ -10,7 +10,7 @@
 name                gtk3
 set real_name       gtk+
 epoch               1
-version             3.22.0
+version             3.22.1
 set branch          [join [lrange [split ${version} .] 0 1] .]
 categories          gnome x11
 license             LGPL-2.1+
@@ -30,8 +30,8 @@
 
 master_sites        gnome:sources/gtk+/${branch}/
 
-checksums           rmd160  ee7ee12424a7670a69f68402af1791e56c97903d \
-                    sha256  88d0bb584be7ecec965b82ba88a9cf0aafd6f03eff7447653295ab2341c74134
+checksums           rmd160  d8a27e02c5fbf96374838b5295f5bb98e0280ebc \
+                    sha256  127c8c5cfc32681f9ab3cb542eb0d5c16c1c02faba68bf8fcac9a3cf278ef471
 
 minimum_xcodeversions {9 3.1}
 
@@ -48,14 +48,13 @@
                     port:hicolor-icon-theme
 
 patchfiles          nawk.patch \
-                    bz765649-get-style-earlier.patch \
                     O_CLOEXEC-10.6-and-earlier.patch
 
 # gtk3 +quartz uses instancetype which is not available
 # before approximately Xcode 4.6 (#49391)
+# if building +x11 blacklist comilers that do not support C11
+# (redefinition of typedef ‘GdkX11Monitor’ at gdkscreen-x11.h:33)
 
-# blacklist compilers that do not support C11 (redefinition of typedef ‘GdkX11Monitor’ at gdkscreen-x11.h:33)
-
 if {[variant_isset quartz]} {
     compiler.blacklist  *gcc* {clang < 425}
 } else {

Deleted: users/devans/GNOME-3/stable/dports/gnome/gtk3/files/bz765649-get-style-earlier.patch
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gtk3/files/bz765649-get-style-earlier.patch	2016-10-01 22:33:29 UTC (rev 153467)
+++ users/devans/GNOME-3/stable/dports/gnome/gtk3/files/bz765649-get-style-earlier.patch	2016-10-01 23:07:06 UTC (rev 153468)
@@ -1,42 +0,0 @@
-From fa23641992e0fc1e7ec64c56975d7b13d7d0de1b Mon Sep 17 00:00:00 2001
-From: Daniel Drake <drake at endlessm.com>
-Date: Mon, 26 Sep 2016 13:18:59 -0600
-Subject: _gtk_icon_helper_draw: get style earlier
-
-After checking for rendered_surface, the call to gtk_css_node_get_style
-can invalidate the style and result in rendered_surface being set to
-NULL. This was result in some icon views appearing blank on
-Endless OS on armv7hl, and this error:
-
-Gtk-CRITICAL **: gtk_css_style_render_icon_surface: assertion 'surface != NULL' failed
-
-Call gtk_css_node_get_style earlier to ensure we always pass a valid
-surface to gtk_css_style_render_icon_surface.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=765649
-https://phabricator.endlessm.com/T13524
----
- gtk/gtkiconhelper.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/gtk/gtkiconhelper.c b/gtk/gtkiconhelper.c
-index b8737e7..7ef33ae 100644
---- gtk/gtkiconhelper.c
-+++ gtk/gtkiconhelper.c
-@@ -892,11 +892,12 @@ _gtk_icon_helper_draw (GtkIconHelper *self,
-                        gdouble x,
-                        gdouble y)
- {
-+  GtkCssStyle *style = gtk_css_node_get_style (gtk_css_gadget_get_node (GTK_CSS_GADGET (self)));
-   gtk_icon_helper_ensure_surface (self);
- 
-   if (self->priv->rendered_surface != NULL)
-     {
--      gtk_css_style_render_icon_surface (gtk_css_node_get_style (gtk_css_gadget_get_node (GTK_CSS_GADGET (self))),
-+      gtk_css_style_render_icon_surface (style,
-                                          cr,
-                                          self->priv->rendered_surface,
-                                          x, y);
--- 
-cgit v0.12
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161001/b8fed536/attachment-0002.html>


More information about the macports-changes mailing list