<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8e1c477c2e51d2570d515a8dbf868e02ca08285d">https://github.com/macports/macports-ports/commit/8e1c477c2e51d2570d515a8dbf868e02ca08285d</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 8e1c477c2e51d2570d515a8dbf868e02ca08285d
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Fri Jul 7 00:10:31 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> gtk3: update to version 3.22.16
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * icon browser demo: revert addition of copy-to-clipboard button
</span><span style='display:block; white-space:pre;color:#404040;'> * breaks quartz build due to unconditional use of X11 API
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> https://git.gnome.org/browse/gtk+/commit/?h=gtk-3-22&id=51b1445cd1b1df7abb8f11a0cd9bcef9a3e41825
</span>---
gnome/gtk3/Portfile | 13 ++++--
gnome/gtk3/files/nawk.patch | 2 +-
...r-demo-revert-add-copy-to-clipboard-button.diff | 53 ++++++++++++++++++++++
3 files changed, 63 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gtk3/Portfile b/gnome/gtk3/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9c95f7e..f74c31c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gtk3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gtk3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,8 +9,7 @@ PortGroup compiler_blacklist_versions 1.0
</span> name gtk3
set real_name gtk+
epoch 1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 3.22.11
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.22.16
</span> set branch [join [lrange [split ${version} .] 0 1] .]
categories gnome x11
license LGPL-2.1+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,8 +29,8 @@ use_xz yes
</span>
master_sites gnome:sources/gtk+/${branch}/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 fb154c5ccf281c12f9567f9211d36ca6dcfd03eb \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 db440670cb6f3c098b076df3735fbc4e69359bd605385e87c90ee48344a804ca
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 24576eb19c9b25c273fe06a172a63560058d6448 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 3e0c3ad01f3c8c5c9b1cc1ae00852bd55164c8e5a9c1f90ba5e07f14f175fe2c
</span>
minimum_xcodeversions {9 3.1}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -233,6 +232,12 @@ variant quartz conflicts x11 {
</span> # Can probably be removed the next time around.
patchfiles-append patch-gdk-launch-support-newer-glib.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # icon browser demo: revert addition of copy-to-clipboard button
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://git.gnome.org/browse/gtk+/commit/?h=gtk-3-22&id=51b1445cd1b1df7abb8f11a0cd9bcef9a3e41825
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # breaks quartz build due to unconditional use of X11 API
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # introduced in 3.22.16
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-browser-demo-revert-add-copy-to-clipboard-button.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args-append --enable-quartz-backend
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gtk3/files/nawk.patch b/gnome/gtk3/files/nawk.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index a0e3679..53b6580 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gtk3/files/nawk.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gtk3/files/nawk.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,6 @@
</span> --- configure.orig 2015-11-16 12:32:00.000000000 -0600
+++ configure 2015-11-18 00:20:49.000000000 -0600
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -3633,7 +3633,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -3638,7 +3638,7 @@
</span> { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
$as_echo "$MKDIR_P" >&6; }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gtk3/files/patch-browser-demo-revert-add-copy-to-clipboard-button.diff b/gnome/gtk3/files/patch-browser-demo-revert-add-copy-to-clipboard-button.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..8ce37aa
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gtk3/files/patch-browser-demo-revert-add-copy-to-clipboard-button.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,53 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff -ur demos/icon-browser.orig/iconbrowserwin.c demos/icon-browser/iconbrowserwin.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- demos/icon-browser.orig/iconbrowserwin.c 2017-07-07 06:54:22.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ demos/icon-browser/iconbrowserwin.c 2017-07-07 06:57:44.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -281,16 +281,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return gtk_search_bar_handle_event (GTK_SEARCH_BAR (win->searchbar), event);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-copy_to_clipboard (GtkButton *button,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- IconBrowserWindow *win)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- GtkClipboard *clipboard;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- clipboard = gtk_clipboard_get_default (gdk_display_get_default ());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- gtk_clipboard_set_text (clipboard, gtk_window_get_title (GTK_WINDOW (win->details)), -1);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static gboolean
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ icon_visible_func (GtkTreeModel *model,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GtkTreeIter *iter,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -463,7 +453,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gtk_widget_class_bind_template_callback (GTK_WIDGET_CLASS (class), selected_context_changed);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gtk_widget_class_bind_template_callback (GTK_WIDGET_CLASS (class), symbolic_toggled);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gtk_widget_class_bind_template_callback (GTK_WIDGET_CLASS (class), key_press_event_cb);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- gtk_widget_class_bind_template_callback (GTK_WIDGET_CLASS (class), copy_to_clipboard);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ IconBrowserWindow *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff -ur demos/icon-browser.orig/window.ui demos/icon-browser/window.ui
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- demos/icon-browser.orig/window.ui 2017-07-07 06:54:22.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ demos/icon-browser/window.ui 2017-07-07 06:57:44.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -320,21 +320,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <property name="width">5</property>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ </packing>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ </child>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- <child>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- <object class="GtkButton">
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- <property name="visible">True</property>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- <property name="label" translatable="yes">Copy to Clipboard</property>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- <property name="halign">center</property>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- <property name="valign">center</property>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- <property name="margin">20</property>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- <signal name="clicked" handler="copy_to_clipboard"/>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- </object>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- <packing>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- <property name="left-attach">0</property>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- <property name="top-attach">4</property>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- <property name="width">5</property>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- </packing>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- </child>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ </object>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ </child>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ </object>
</span></pre><pre style='margin:0'>
</pre>