[146462] users/devans/GNOME-3/stable/dports/www

devans at macports.org devans at macports.org
Tue Mar 8 13:16:04 PST 2016


Revision: 146462
          https://trac.macports.org/changeset/146462
Author:   devans at macports.org
Date:     2016-03-08 13:16:04 -0800 (Tue, 08 Mar 2016)
Log Message:
-----------
webkit2-gtk: patch to enable gobject introspection, set DYLD_LIBRARY_PATH during build to help introspection tool find the right libraries, increment revision.

Modified Paths:
--------------
    users/devans/GNOME-3/stable/dports/www/webkit2-gtk/Portfile

Added Paths:
-----------
    users/devans/GNOME-3/stable/dports/www/webkit2-gtk/
    users/devans/GNOME-3/stable/dports/www/webkit2-gtk/files/enable-introspection.patch


Property changes on: users/devans/GNOME-3/stable/dports/www/webkit2-gtk
___________________________________________________________________
Added: svn:mergeinfo
   + /branches/mld-qt-481/dports/www/webkit2-gtk:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856

Modified: users/devans/GNOME-3/stable/dports/www/webkit2-gtk/Portfile
===================================================================
--- trunk/dports/www/webkit2-gtk/Portfile	2016-03-08 04:47:49 UTC (rev 146460)
+++ users/devans/GNOME-3/stable/dports/www/webkit2-gtk/Portfile	2016-03-08 21:16:04 UTC (rev 146462)
@@ -14,6 +14,7 @@
 name                webkit2-gtk
 conflicts           webkit2-gtk-devel
 version             2.11.91
+revision            1
 description         Apple's WebKit2 HTML rendering library for GTK+3 (with optional support for GTK+2 plugins)
 long_description    ${description}
 maintainers         jeremyhu devans
@@ -85,7 +86,9 @@
     -DENABLE_VIDEO=ON
 
 # https://bugs.webkit.org/show_bug.cgi?id=152650
-configure.args-append -DENABLE_INTROSPECTION=OFF
+# configure.args-append -DENABLE_INTROSPECTION=OFF
+patchfiles-append \
+    enable-introspection.patch
 
 # <rdar://problem/24031030>
 configure.optflags  -Os
@@ -136,6 +139,9 @@
 configure.cflags-append     -ftemplate-depth=256
 configure.cxxflags-append   -ftemplate-depth=256
 
+build.env-append \
+    DYLD_LIBRARY_PATH=${build.dir}/lib
+
 variant quartz conflicts x11 gtk2 {
     require_active_variants port:gtk3 quartz
 

Added: users/devans/GNOME-3/stable/dports/www/webkit2-gtk/files/enable-introspection.patch
===================================================================
--- users/devans/GNOME-3/stable/dports/www/webkit2-gtk/files/enable-introspection.patch	                        (rev 0)
+++ users/devans/GNOME-3/stable/dports/www/webkit2-gtk/files/enable-introspection.patch	2016-03-08 21:16:04 UTC (rev 146462)
@@ -0,0 +1,10 @@
+--- Source/cmake/OptionsGTK.cmake.orig	2016-03-08 10:43:59.000000000 -0800
++++ Source/cmake/OptionsGTK.cmake	2016-03-08 10:44:29.000000000 -0800
+@@ -427,7 +427,6 @@
+ # Override the cached variables, gtk-doc and gobject-introspection do not really work when cross-building or when building on Mac.
+ if (CMAKE_CROSSCOMPILING OR APPLE)
+     set(ENABLE_GTKDOC OFF)
+-    set(ENABLE_INTROSPECTION OFF)
+ endif ()
+ 
+ set(DERIVED_SOURCES_GOBJECT_DOM_BINDINGS_DIR ${DERIVED_SOURCES_DIR}/webkitdom)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160308/3a36169b/attachment.html>


More information about the macports-changes mailing list