1 |
commit: 8bac2c8ca9edbea37aea508c176eea6e3e211042 |
2 |
Author: Priit Laes <plaes <AT> plaes <DOT> org> |
3 |
AuthorDate: Sat Nov 26 08:32:08 2011 +0000 |
4 |
Commit: Priit Laes <plaes <AT> plaes <DOT> org> |
5 |
CommitDate: Sat Nov 26 08:32:08 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=8bac2c8c |
7 |
|
8 |
net-libs/webkit-gtk: 1.7.1 → 1.7.2 |
9 |
|
10 |
--- |
11 |
.../files/webkit-gtk-1.7.2-fix-webgl-build.patch | 44 ++++++++++++++++++++ |
12 |
....1-r200.ebuild => webkit-gtk-1.7.2-r200.ebuild} | 4 +- |
13 |
....1-r300.ebuild => webkit-gtk-1.7.2-r300.ebuild} | 4 +- |
14 |
3 files changed, 48 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/net-libs/webkit-gtk/files/webkit-gtk-1.7.2-fix-webgl-build.patch b/net-libs/webkit-gtk/files/webkit-gtk-1.7.2-fix-webgl-build.patch |
17 |
new file mode 100644 |
18 |
index 0000000..529b068 |
19 |
--- /dev/null |
20 |
+++ b/net-libs/webkit-gtk/files/webkit-gtk-1.7.2-fix-webgl-build.patch |
21 |
@@ -0,0 +1,44 @@ |
22 |
+commit f3a5204d163a46adc16fcee03e5478aa5031763a |
23 |
+Author: mrobinson@××××××.org <mrobinson@××××××.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> |
24 |
+Date: Wed Nov 23 12:48:12 2011 +0000 |
25 |
+ |
26 |
+ Build fix for GTK+. |
27 |
+ |
28 |
+ * platform/graphics/gtk/DrawingBufferGtk.cpp: |
29 |
+ (WebCore::DrawingBuffer::DrawingBuffer): Update signature and ASSERT |
30 |
+ for the GTK+ port. |
31 |
+ |
32 |
+ git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101067 268f45cc-cd09-0410-ab3c-d52691b4dbfc |
33 |
+ |
34 |
+diff --git a/Source/WebCore/platform/graphics/gtk/DrawingBufferGtk.cpp b/Source/WebCore/platform/graphics/gtk/DrawingBufferGtk.cpp |
35 |
+index 64a5310..f9a248b 100644 |
36 |
+--- a/Source/WebCore/platform/graphics/gtk/DrawingBufferGtk.cpp |
37 |
++++ b/Source/WebCore/platform/graphics/gtk/DrawingBufferGtk.cpp |
38 |
+@@ -36,17 +36,25 @@ namespace WebCore { |
39 |
+ DrawingBuffer::DrawingBuffer(GraphicsContext3D* context, |
40 |
+ const IntSize& size, |
41 |
+ bool multisampleExtensionSupported, |
42 |
+- bool packedDepthStencilExtensionSupported) |
43 |
+- : m_context(context) |
44 |
++ bool packedDepthStencilExtensionSupported, |
45 |
++ bool separateBackingTexture) |
46 |
++ : m_separateBackingTexture(separateBackingTexture) |
47 |
++ , m_scissorEnabled(false) |
48 |
++ , m_context(context) |
49 |
+ , m_size(-1, -1) |
50 |
+ , m_multisampleExtensionSupported(multisampleExtensionSupported) |
51 |
+ , m_packedDepthStencilExtensionSupported(packedDepthStencilExtensionSupported) |
52 |
+ , m_fbo(context->createFramebuffer()) |
53 |
+ , m_colorBuffer(0) |
54 |
+ , m_depthStencilBuffer(0) |
55 |
++ , m_depthBuffer(0) |
56 |
++ , m_stencilBuffer(0) |
57 |
+ , m_multisampleFBO(0) |
58 |
+ , m_multisampleColorBuffer(0) |
59 |
+ { |
60 |
++ // Support for a separate backing texture has only been enabled for |
61 |
++ // the chromium port. |
62 |
++ ASSERT(!m_separateBackingTexture); |
63 |
+ ASSERT(m_fbo); |
64 |
+ if (!m_fbo) { |
65 |
+ clear(); |
66 |
|
67 |
diff --git a/net-libs/webkit-gtk/webkit-gtk-1.7.1-r200.ebuild b/net-libs/webkit-gtk/webkit-gtk-1.7.2-r200.ebuild |
68 |
similarity index 97% |
69 |
rename from net-libs/webkit-gtk/webkit-gtk-1.7.1-r200.ebuild |
70 |
rename to net-libs/webkit-gtk/webkit-gtk-1.7.2-r200.ebuild |
71 |
index 1e7d478..4d7744b 100644 |
72 |
--- a/net-libs/webkit-gtk/webkit-gtk-1.7.1-r200.ebuild |
73 |
+++ b/net-libs/webkit-gtk/webkit-gtk-1.7.2-r200.ebuild |
74 |
@@ -10,8 +10,7 @@ inherit autotools eutils flag-o-matic eutils python virtualx |
75 |
MY_P="webkit-${PV}" |
76 |
DESCRIPTION="Open source web browser engine" |
77 |
HOMEPAGE="http://www.webkitgtk.org/" |
78 |
-# Upstream is still shipping silly gzip files |
79 |
-SRC_URI="http://www.webkitgtk.org/${MY_P}.tar.gz" |
80 |
+SRC_URI="http://www.webkitgtk.org/${MY_P}.tar.xz" |
81 |
#SRC_URI="mirror://gentoo/${P}.tar.xz" |
82 |
|
83 |
LICENSE="LGPL-2 LGPL-2.1 BSD" |
84 |
@@ -92,6 +91,7 @@ src_prepare() { |
85 |
|
86 |
# Required for webgl; https://bugs.webkit.org/show_bug.cgi?id=69085 |
87 |
mkdir -p DerivedSources/ANGLE |
88 |
+ epatch "${FILESDIR}/${PN}-1.7.2-fix-webgl-build.patch" |
89 |
|
90 |
# Prevent maintainer mode from being triggered during make |
91 |
AT_M4DIR=Source/autotools eautoreconf |
92 |
|
93 |
diff --git a/net-libs/webkit-gtk/webkit-gtk-1.7.1-r300.ebuild b/net-libs/webkit-gtk/webkit-gtk-1.7.2-r300.ebuild |
94 |
similarity index 97% |
95 |
rename from net-libs/webkit-gtk/webkit-gtk-1.7.1-r300.ebuild |
96 |
rename to net-libs/webkit-gtk/webkit-gtk-1.7.2-r300.ebuild |
97 |
index 9888ea5..faa8a47 100644 |
98 |
--- a/net-libs/webkit-gtk/webkit-gtk-1.7.1-r300.ebuild |
99 |
+++ b/net-libs/webkit-gtk/webkit-gtk-1.7.2-r300.ebuild |
100 |
@@ -10,8 +10,7 @@ inherit autotools eutils flag-o-matic eutils python virtualx |
101 |
MY_P="webkit-${PV}" |
102 |
DESCRIPTION="Open source web browser engine" |
103 |
HOMEPAGE="http://www.webkitgtk.org/" |
104 |
-# Upstream is still shipping silly gzip files |
105 |
-SRC_URI="http://www.webkitgtk.org/${MY_P}.tar.gz" |
106 |
+SRC_URI="http://www.webkitgtk.org/${MY_P}.tar.xz" |
107 |
#SRC_URI="mirror://gentoo/${P}.tar.xz" |
108 |
|
109 |
LICENSE="LGPL-2 LGPL-2.1 BSD" |
110 |
@@ -95,6 +94,7 @@ src_prepare() { |
111 |
|
112 |
# Required for webgl; https://bugs.webkit.org/show_bug.cgi?id=69085 |
113 |
mkdir -p DerivedSources/ANGLE |
114 |
+ epatch "${FILESDIR}/${PN}-1.7.2-fix-webgl-build.patch" |
115 |
|
116 |
# Install docs on "make install" when USE=doc |
117 |
epatch "${FILESDIR}/${PN}-1.7.1-install-docs.patch" |