Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/webkit-gtk/files: webkit-gtk-1.2.5-darwin-quartz.patch webkit-gtk-1.2.5-darwin8.patch
Date: Thu, 25 Nov 2010 07:25:47
Message-Id: 20101125072539.6795320051@flycatcher.gentoo.org
1 grobian 10/11/25 07:25:39
2
3 Added: webkit-gtk-1.2.5-darwin-quartz.patch
4 webkit-gtk-1.2.5-darwin8.patch
5 Log:
6 Re-introduce USE=aqua, add necessary patches
7
8 (Portage version: 2.2.01.17168-prefix/cvs/Darwin powerpc)
9
10 Revision Changes Path
11 1.1 net-libs/webkit-gtk/files/webkit-gtk-1.2.5-darwin-quartz.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/files/webkit-gtk-1.2.5-darwin-quartz.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/files/webkit-gtk-1.2.5-darwin-quartz.patch?rev=1.1&content-type=text/plain
15
16 Index: webkit-gtk-1.2.5-darwin-quartz.patch
17 ===================================================================
18 http://trac.macports.org/browser/trunk/dports/www/webkit-gtk/files/patch-quartz-WebCore-plugins-gtk-gtkxtbin.c.diff?format=txt
19 http://trac.macports.org/browser/trunk/dports/www/webkit-gtk/files/patch-quartz-WebCore-plugins-gtk-PluginViewGtk.cpp.diff?format=txt
20
21 --- WebCore/plugins/gtk/gtk2xtbin.c.orig 2010-09-10 06:20:33.000000000 -0700
22 +++ WebCore/plugins/gtk/gtk2xtbin.c 2010-10-06 09:45:37.000000000 -0700
23 @@ -41,7 +41,7 @@
24 * The GtkXtBin widget allows for Xt toolkit code to be used
25 * inside a GTK application.
26 */
27 -
28 +#if 0
29 #include "GtkVersioning.h"
30 #include "xembed.h"
31 #include "gtk2xtbin.h"
32 @@ -951,3 +951,4 @@
33
34 return;
35 }
36 +#endif
37 --- WebCore/plugins/gtk/PluginViewGtk.cpp.orig 2010-09-10 06:20:33.000000000 -0700
38 +++ WebCore/plugins/gtk/PluginViewGtk.cpp 2010-10-06 09:45:37.000000000 -0700
39 @@ -60,10 +60,13 @@
40 #include "runtime_root.h"
41 #include <runtime/JSLock.h>
42 #include <runtime/JSValue.h>
43 +#include "NotImplemented.h"
44
45 #include <gdkconfig.h>
46 #include <gtk/gtk.h>
47
48 +#undef XP_UNIX
49 +
50 #if defined(XP_UNIX)
51 #include "gtk2xtbin.h"
52 #define Bool int // this got undefined somewhere
53 @@ -441,9 +444,9 @@
54 event->setDefaultHandled();
55 }
56
57 -#if defined(XP_UNIX)
58 void PluginView::handleFocusInEvent()
59 {
60 +#if defined(XP_UNIX)
61 XEvent npEvent;
62 initXEvent(&npEvent);
63
64 @@ -453,10 +456,12 @@
65 event.detail = NotifyDetailNone;
66
67 dispatchNPEvent(npEvent);
68 +#endif
69 }
70
71 void PluginView::handleFocusOutEvent()
72 {
73 +#if defined(XP_UNIX)
74 XEvent npEvent;
75 initXEvent(&npEvent);
76
77 @@ -466,8 +471,8 @@
78 event.detail = NotifyDetailNone;
79
80 dispatchNPEvent(npEvent);
81 -}
82 #endif
83 +}
84
85 void PluginView::setParent(ScrollView* parent)
86 {
87 @@ -797,8 +802,8 @@
88 }
89
90 if (m_isWindowed) {
91 -#if defined(XP_UNIX)
92 GtkWidget* pageClient = m_parentFrame->view()->hostWindow()->platformPageClient();
93 +#if defined(XP_UNIX)
94
95 if (m_needsXEmbed) {
96 // If our parent is not anchored the startup process will
97
98
99
100 1.1 net-libs/webkit-gtk/files/webkit-gtk-1.2.5-darwin8.patch
101
102 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/files/webkit-gtk-1.2.5-darwin8.patch?rev=1.1&view=markup
103 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/webkit-gtk/files/webkit-gtk-1.2.5-darwin8.patch?rev=1.1&content-type=text/plain
104
105 Index: webkit-gtk-1.2.5-darwin8.patch
106 ===================================================================
107 https://bugs.webkit.org/show_bug.cgi?id=39847
108
109 additionally, also on Darwin8 glib stuff includes system headers that
110 use isascii, so we can't have it die on that.
111
112 --- JavaScriptCore/wtf/FastMalloc.cpp
113 +++ JavaScriptCore/wtf/FastMalloc.cpp
114 @@ -1381,14 +1381,12 @@
115 // Bytes allocated from system
116 uint64_t system_bytes_;
117
118 -#if USE_BACKGROUND_THREAD_TO_SCAVENGE_MEMORY
119 // Number of pages kept in free lists that are still committed.
120 Length free_committed_pages_;
121
122 // Minimum number of free committed pages since last scavenge. (Can be 0 if
123 // we've committed new pages since the last scavenge.)
124 Length min_free_committed_pages_since_last_scavenge_;
125 -#endif
126
127 bool GrowHeap(Length n);
128
129 --- WebCore/config.h
130 +++ WebCore/config.h
131 @@ -125,7 +125,7 @@
132 // this breaks compilation of <QFontDatabase>, at least, so turn it off for now
133 // Also generates errors on wx on Windows, presumably because these functions
134 // are used from wx headers.
135 -#if !PLATFORM(QT) && !PLATFORM(WX) && !PLATFORM(CHROMIUM)
136 +#if !PLATFORM(QT) && !PLATFORM(WX) && !PLATFORM(CHROMIUM) && !defined(BUILDING_ON_TIGER)
137 #include <wtf/DisallowCType.h>
138 #endif