[packages/gtk-webkit3] - updated to 2.4.8 - added redefined patch (gtk-webkit2 vs X11 build fix)

qboosh qboosh at pld-linux.org
Sat Jan 24 09:08:07 CET 2015


commit 73fc2649c263650fadf3bb83bd60dc823cdecd38
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jan 24 09:09:56 2015 +0100

    - updated to 2.4.8
    - added redefined patch (gtk-webkit2 vs X11 build fix)

 gtk-webkit3.spec          |  9 +++++---
 webkitgtk-redefined.patch | 59 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+), 3 deletions(-)
---
diff --git a/gtk-webkit3.spec b/gtk-webkit3.spec
index ed0b46c..61ca8ff 100644
--- a/gtk-webkit3.spec
+++ b/gtk-webkit3.spec
@@ -9,13 +9,15 @@
 Summary:	Port of WebKit embeddable web component to GTK+ 3
 Summary(pl.UTF-8):	Port osadzalnego komponentu WWW WebKit do GTK+ 3
 Name:		gtk-webkit3
-Version:	2.4.4
-Release:	2
+# note: for 2.6.x series see gtk-webkit4
+Version:	2.4.8
+Release:	1
 License:	BSD-like
 Group:		X11/Libraries
 Source0:	http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
-# Source0-md5:	79edd28d32172abc17a8861622cc274f
+# Source0-md5:	bcdcef8e1ba28dbd5bb05f86c79f76b8
 Patch0:		atomic-ops.patch
+Patch1:		webkitgtk-redefined.patch
 URL:		http://webkitgtk.org/
 BuildRequires:	/usr/bin/ld.gold
 BuildRequires:	EGL-devel
@@ -137,6 +139,7 @@ Dokumentacja API WebKita.
 %ifarch i386 i486
 %patch0 -p1
 %endif
+%patch1 -p1
 
 %build
 %{__libtoolize}
diff --git a/webkitgtk-redefined.patch b/webkitgtk-redefined.patch
new file mode 100644
index 0000000..8d8c1ba
--- /dev/null
+++ b/webkitgtk-redefined.patch
@@ -0,0 +1,59 @@
+@@ -, +, @@ 
+        REGRESSION(r177885): [GTK][WK1] Cannot compile 2.4.8 when WK2 is disabled
+        https://bugs.webkit.org/show_bug.cgi?id=140241
+        Reviewed by NOBODY (OOPS!).
+        We have to compile the PluginPackageNone.cpp and PluginViewNone.cpp
+        just when WebKit2 is enabled and we are not building for X11.
+        * GNUmakefile.list.am:
+---
+ Source/WebCore/ChangeLog           | 12 ++++++++++++
+ Source/WebCore/GNUmakefile.list.am |  8 ++++++++
+ 2 files changed, 20 insertions(+)
+--- a/Source/WebCore/ChangeLog	
++++ a/Source/WebCore/ChangeLog	
+@@ -1,3 +1,15 @@ 
++2015-01-16  Tomas Popela  <tpopela at redhat.com>
++
++        REGRESSION(r177885): [GTK][WK1] Cannot compile 2.4.8 when WK2 is disabled
++        https://bugs.webkit.org/show_bug.cgi?id=140241
++
++        Reviewed by NOBODY (OOPS!).
++
++        We have to compile the PluginPackageNone.cpp and PluginViewNone.cpp
++        just when WebKit2 is enabled and we are not building for X11.
++
++        * GNUmakefile.list.am:
++
+ 2014-11-10  Csaba Osztrogonác  <ossy at webkit.org>
+ 
+         Crash in WebCore::Node::getFlag
+--- a/Source/WebCore/GNUmakefile.list.am	
++++ a/Source/WebCore/GNUmakefile.list.am	
+@@ -6254,9 +6254,13 @@ endif # END USE_GLX
+ endif # END TARGET_X11
+ 
+ if TARGET_WAYLAND
++if !TARGET_X11
++if ENABLE_WEBKIT2
+ webcore_sources += \
+ 	Source/WebCore/plugins/PluginPackageNone.cpp \
+ 	Source/WebCore/plugins/PluginViewNone.cpp
++endif # END ENABLE_WEBKIT2
++endif # END !TARGET_X11
+ endif # END TARGET_WAYLAND
+ 
+ if TARGET_X11_OR_WAYLAND
+@@ -6305,9 +6309,13 @@ webcoregtk_sources += \
+ endif # END TARGET_WIN32
+ 
+ if TARGET_QUARTZ
++if !TARGET_X11
++if ENABLE_WEBKIT2
+ webcore_sources += \
+ 	Source/WebCore/plugins/PluginPackageNone.cpp \
+ 	Source/WebCore/plugins/PluginViewNone.cpp
++endif # END ENABLE_WEBKIT2
++endif # END !TARGET_X11
+ platformgtk_sources += \
+ 	Source/WebCore/platform/cairo/WidgetBackingStoreCairo.h \
+ 	Source/WebCore/platform/cairo/WidgetBackingStoreCairo.cpp
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gtk-webkit3.git/commitdiff/73fc2649c263650fadf3bb83bd60dc823cdecd38



More information about the pld-cvs-commit mailing list