[143857] users/devans/GNOME-3/unstable-c++11/dports/x11/gtkmm3

devans at macports.org devans at macports.org
Wed Dec 23 03:00:04 PST 2015


Revision: 143857
          https://trac.macports.org/changeset/143857
Author:   devans at macports.org
Date:     2015-12-23 03:00:03 -0800 (Wed, 23 Dec 2015)
Log Message:
-----------
GNOME-3/unstable-c++11: gtkmm3, update to version 3.19.5, patch to build with gtk3 3.19.5 until the next gtk3 unstable release comes out.

Modified Paths:
--------------
    users/devans/GNOME-3/unstable-c++11/dports/x11/gtkmm3/Portfile

Added Paths:
-----------
    users/devans/GNOME-3/unstable-c++11/dports/x11/gtkmm3/files/
    users/devans/GNOME-3/unstable-c++11/dports/x11/gtkmm3/files/patch-gtk-src-border.hg.diff

Modified: users/devans/GNOME-3/unstable-c++11/dports/x11/gtkmm3/Portfile
===================================================================
--- users/devans/GNOME-3/unstable-c++11/dports/x11/gtkmm3/Portfile	2015-12-23 10:12:58 UTC (rev 143856)
+++ users/devans/GNOME-3/unstable-c++11/dports/x11/gtkmm3/Portfile	2015-12-23 11:00:03 UTC (rev 143857)
@@ -10,7 +10,7 @@
 
 name                gtkmm3
 set gname           gtkmm
-version             3.19.3
+version             3.19.5
 set branch          [join [lrange [split ${version} .] 0 1] .]
 description         C++ interface to GTK+ version 3.
 long_description    gtkmm3 is the official C++ interface \
@@ -27,12 +27,15 @@
 dist_subdir         ${gname}
 distname            ${gname}-${version}
 
-checksums           rmd160  d16524ef680d8ac7d07e8564cc791d35998f5d94 \
-                    sha256  7713fdd1b26b636823c656a4fe3215c271c8f5c6f1cb00c4b75c3fd9d02e6865
+checksums           rmd160  cb2d51460bf1fe037dd815764ac83d22b73fa342 \
+                    sha256  d103cd11c97213df4d4eb4ceab8fe371cfb49822325e31959f66749ccf6a9e5e
 
 depends_build       port:pkgconfig \
                     port:mm-common \
-                    port:gtk-doc
+                    port:gtk-doc \
+                    port:autoconf \
+                    port:automake \
+                    port:libtool
 
 depends_lib         port:gtk3 \
                     port:glibmm \
@@ -40,10 +43,11 @@
                     port:pangomm \
                     port:atkmm
 
-# Update glibtool to know about -stdlib=... in CXXFLAGS
-use_autoreconf      yes
-autoreconf.args     -fvi
+# temporary patch to fix build until next gtk3 unstable release
+patchfiles          patch-gtk-src-border.hg.diff
 
+configure.cmd       ./autogen.sh
+
 #
 # dummy variants to ensure that this port gets rebuilt if
 # the corresponding variants for gtk3 change

Added: users/devans/GNOME-3/unstable-c++11/dports/x11/gtkmm3/files/patch-gtk-src-border.hg.diff
===================================================================
--- users/devans/GNOME-3/unstable-c++11/dports/x11/gtkmm3/files/patch-gtk-src-border.hg.diff	                        (rev 0)
+++ users/devans/GNOME-3/unstable-c++11/dports/x11/gtkmm3/files/patch-gtk-src-border.hg.diff	2015-12-23 11:00:03 UTC (rev 143857)
@@ -0,0 +1,37 @@
+From 5e6b1912b0ed627dccb16b2cf00547cfeeb7654f Mon Sep 17 00:00:00 2001
+From: Murray Cumming <murrayc at murrayc.com>
+Date: Thu, 17 Dec 2015 20:01:12 +0100
+Subject: Gtk::Border: Fix the build now that GtkBorder is a just a typedef.
+
+Bug #759603 (Matthias Clasen)
+---
+ gtk/src/border.hg | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/gtk/src/border.hg b/gtk/src/border.hg
+index 1940cb6..ad5064a 100644
+--- gtk/src/border.hg
++++ gtk/src/border.hg
+@@ -19,6 +19,11 @@
+ _DEFS(gtkmm,gtk)
+ 
+ #include <glibmm/value.h>
++#include <gdk/gdk.h>
++
++#ifndef DOXYGEN_SHOULD_SKIP_THIS
++extern "C" { typedef GdkBorder GtkBorder; }
++#endif /* DOXYGEN_SHOULD_SKIP_THIS */
+ 
+ namespace Gtk
+ {
+@@ -28,6 +33,7 @@ namespace Gtk
+ class Border
+ {
+   _CLASS_BOXEDTYPE(Border, GtkBorder, gtk_border_new, gtk_border_copy, gtk_border_free)
++  _CUSTOM_STRUCT_PROTOTYPE
+ public:
+ 
+   /** Get the width of the left border.
+-- 
+cgit v0.11.2
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151223/e1a3fc3f/attachment.html>


More information about the macports-changes mailing list