[gtk-osx] Use --disable-visibility to build Gtk2.



commit d08dc3bc35416eb48deef9ecd6479c364c989179
Author: John Ralls <jralls ceridwen us>
Date:   Tue Jan 21 11:51:29 2020 -0800

    Use --disable-visibility to build Gtk2.
    
    Prevents setting aliases, which cause MacOS > 10.11 to fail to build.
    
    Closes: https://gitlab.gnome.org/GNOME/gtk-osx/issues/20

 modulesets-stable/gtk-osx.modules   | 2 +-
 modulesets-unstable/gtk-osx.modules | 5 +++--
 modulesets/gtk-osx.modules          | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/modulesets-stable/gtk-osx.modules b/modulesets-stable/gtk-osx.modules
index 03855ec..99bcaaa 100644
--- a/modulesets-stable/gtk-osx.modules
+++ b/modulesets-stable/gtk-osx.modules
@@ -176,7 +176,7 @@
   </meson>
 
   <autotools id="gtk+" autogen-sh="autoreconf"
-             autogenargs="--with-gdktarget=quartz --enable-quartz-relocation --disable-introspection">
+             autogenargs="--with-gdktarget=quartz --enable-quartz-relocation --disable-introspection 
--disable-visibility">
     <branch module="gtk+/2.24/gtk+-2.24.32.tar.xz" version="2.24.32"
             hash="sha256:b6c8a93ddda5eabe3bfee1eb39636c9a03d2a56c7b62828b359bf197943c582e">
       <!--patch 
file="https://gitlab.gnome.org/GNOME/gtk-osx/raw/master/patches/0004-Bug-571582-GtkSelection-implementation-for-quartz.patch";
 strip="1"/-->
diff --git a/modulesets-unstable/gtk-osx.modules b/modulesets-unstable/gtk-osx.modules
index 202401b..104758e 100644
--- a/modulesets-unstable/gtk-osx.modules
+++ b/modulesets-unstable/gtk-osx.modules
@@ -107,6 +107,7 @@
       <dep package="cairo"/>
       <dep package="glib"/>
       <dep package="fribidi"/>
+      <dep package="harfbuzz"/>
     </dependencies>
     <after>
       <dep package="gobject-introspection"/>
@@ -164,8 +165,8 @@
   </meson>
  
   <autotools id="gtk+"
-            autogenargs="--with-gdktarget=quartz --enable-introspection=no --enable-quartz-relocation">
-    <branch revision="gtk-2-24" checkoutdir="gtk+-2.0"/>
+            autogenargs="--with-gdktarget=quartz --enable-introspection=no --enable-quartz-relocation 
--disable-visibility">
+    <branch module="gtk" revision="gtk-2-24" checkoutdir="gtk+-2.0"/>
     <dependencies>
       <dep package="glib"/>
       <dep package="pango"/>
diff --git a/modulesets/gtk-osx.modules b/modulesets/gtk-osx.modules
index a31980f..408e181 100644
--- a/modulesets/gtk-osx.modules
+++ b/modulesets/gtk-osx.modules
@@ -149,7 +149,7 @@
     </dependencies>
   </autotools>
 
-  <autotools id="gtk+" autogenargs="--with-gdktarget=quartz --enable-introspection=no 
--enable-quartz-relocation">
+  <autotools id="gtk+" autogenargs="--with-gdktarget=quartz --enable-introspection=no 
--enable-quartz-relocation --disable-visibility">
     <branch module="gtk" revision="gtk-2-24"/>
     <dependencies>
       <dep package="glib"/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]