1 |
commit: 02166c221b4f60cafef3e1b3499de924ad583a25 |
2 |
Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 24 22:54:00 2018 +0000 |
4 |
Commit: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 24 22:54:48 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=02166c22 |
7 |
|
8 |
dev-qt/qtwebengine: update libxml catalogs patches |
9 |
|
10 |
The Chromium part has been upstreamed, and is no longer needed in |
11 |
5.11.2 nor in 5.12. |
12 |
|
13 |
Package-Manager: Portage-2.3.48, Repoman-2.3.10 |
14 |
|
15 |
...webengine-5.11.1-libxml2-disable-catalogs.patch | 35 ---------------------- |
16 |
...webengine-5.11.2-libxml2-disable-catalogs.patch | 12 ++++++++ |
17 |
...webengine-5.12.0-libxml2-disable-catalogs.patch | 35 ---------------------- |
18 |
dev-qt/qtwebengine/qtwebengine-5.11.9999.ebuild | 2 +- |
19 |
dev-qt/qtwebengine/qtwebengine-5.12.9999.ebuild | 2 +- |
20 |
dev-qt/qtwebengine/qtwebengine-5.9999.ebuild | 2 +- |
21 |
6 files changed, 15 insertions(+), 73 deletions(-) |
22 |
|
23 |
diff --git a/dev-qt/qtwebengine/files/qtwebengine-5.11.1-libxml2-disable-catalogs.patch b/dev-qt/qtwebengine/files/qtwebengine-5.11.1-libxml2-disable-catalogs.patch |
24 |
deleted file mode 100644 |
25 |
index 7e0efcf3..00000000 |
26 |
--- a/dev-qt/qtwebengine/files/qtwebengine-5.11.1-libxml2-disable-catalogs.patch |
27 |
+++ /dev/null |
28 |
@@ -1,35 +0,0 @@ |
29 |
---- a/config.tests/xml2/xml2.cpp |
30 |
-+++ b/config.tests/xml2/xml2.cpp |
31 |
-@@ -27,9 +27,6 @@ |
32 |
- ****************************************************************************/ |
33 |
- |
34 |
- #include <libxml/xmlversion.h> |
35 |
--#if defined(LIBXML_CATALOG_ENABLED) |
36 |
--#error "libxml catalog enabled" |
37 |
--#endif |
38 |
- #if !defined(LIBXML_ICU_ENABLED) |
39 |
- #error "libxml icu not enabled" |
40 |
- #endif |
41 |
---- a/src/3rdparty/chromium/third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp |
42 |
-+++ b/src/3rdparty/chromium/third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp |
43 |
-@@ -28,6 +28,10 @@ |
44 |
- |
45 |
- #include <libxml/parser.h> |
46 |
- #include <libxml/parserInternals.h> |
47 |
-+#include <libxml/xmlversion.h> |
48 |
-+#if defined(LIBXML_CATALOG_ENABLED) |
49 |
-+#include <libxml/catalog.h> |
50 |
-+#endif |
51 |
- #include <libxslt/xslt.h> |
52 |
- #include <memory> |
53 |
- #include "core/css/StyleEngine.h" |
54 |
-@@ -646,6 +650,9 @@ |
55 |
- if (did_init) |
56 |
- return; |
57 |
- |
58 |
-+#if defined(LIBXML_CATALOG_ENABLED) |
59 |
-+ xmlCatalogSetDefaults(XML_CATA_ALLOW_NONE); |
60 |
-+#endif |
61 |
- xmlInitParser(); |
62 |
- xmlRegisterInputCallbacks(MatchFunc, OpenFunc, ReadFunc, CloseFunc); |
63 |
- xmlRegisterOutputCallbacks(MatchFunc, OpenFunc, WriteFunc, CloseFunc); |
64 |
|
65 |
diff --git a/dev-qt/qtwebengine/files/qtwebengine-5.11.2-libxml2-disable-catalogs.patch b/dev-qt/qtwebengine/files/qtwebengine-5.11.2-libxml2-disable-catalogs.patch |
66 |
new file mode 100644 |
67 |
index 00000000..5fd14b0d |
68 |
--- /dev/null |
69 |
+++ b/dev-qt/qtwebengine/files/qtwebengine-5.11.2-libxml2-disable-catalogs.patch |
70 |
@@ -0,0 +1,12 @@ |
71 |
+--- a/config.tests/xml2/xml2.cpp |
72 |
++++ b/config.tests/xml2/xml2.cpp |
73 |
+@@ -27,9 +27,6 @@ |
74 |
+ ****************************************************************************/ |
75 |
+ |
76 |
+ #include <libxml/xmlversion.h> |
77 |
+-#if defined(LIBXML_CATALOG_ENABLED) |
78 |
+-#error "libxml catalog enabled" |
79 |
+-#endif |
80 |
+ #if !defined(LIBXML_ICU_ENABLED) |
81 |
+ #error "libxml icu not enabled" |
82 |
+ #endif |
83 |
|
84 |
diff --git a/dev-qt/qtwebengine/files/qtwebengine-5.12.0-libxml2-disable-catalogs.patch b/dev-qt/qtwebengine/files/qtwebengine-5.12.0-libxml2-disable-catalogs.patch |
85 |
deleted file mode 100644 |
86 |
index 6093b145..00000000 |
87 |
--- a/dev-qt/qtwebengine/files/qtwebengine-5.12.0-libxml2-disable-catalogs.patch |
88 |
+++ /dev/null |
89 |
@@ -1,35 +0,0 @@ |
90 |
---- a/config.tests/xml2/xml2.cpp |
91 |
-+++ b/config.tests/xml2/xml2.cpp |
92 |
-@@ -27,9 +27,6 @@ |
93 |
- ****************************************************************************/ |
94 |
- |
95 |
- #include <libxml/xmlversion.h> |
96 |
--#if defined(LIBXML_CATALOG_ENABLED) |
97 |
--#error "libxml catalog enabled" |
98 |
--#endif |
99 |
- #if !defined(LIBXML_ICU_ENABLED) |
100 |
- #error "libxml icu not enabled" |
101 |
- #endif |
102 |
---- a/src/3rdparty/chromium/third_party/blink/renderer/core/xml/parser/xml_document_parser.cc |
103 |
-+++ b/src/3rdparty/chromium/third_party/blink/renderer/core/xml/parser/xml_document_parser.cc |
104 |
-@@ -28,6 +28,10 @@ |
105 |
- |
106 |
- #include <libxml/parser.h> |
107 |
- #include <libxml/parserInternals.h> |
108 |
-+#include <libxml/xmlversion.h> |
109 |
-+#if defined(LIBXML_CATALOG_ENABLED) |
110 |
-+#include <libxml/catalog.h> |
111 |
-+#endif |
112 |
- #include <libxslt/xslt.h> |
113 |
- |
114 |
- #include <memory> |
115 |
-@@ -646,6 +650,9 @@ static void InitializeLibXMLIfNecessary() { |
116 |
- if (did_init) |
117 |
- return; |
118 |
- |
119 |
-+#if defined(LIBXML_CATALOG_ENABLED) |
120 |
-+ xmlCatalogSetDefaults(XML_CATA_ALLOW_NONE); |
121 |
-+#endif |
122 |
- xmlInitParser(); |
123 |
- xmlRegisterInputCallbacks(MatchFunc, OpenFunc, ReadFunc, CloseFunc); |
124 |
- xmlRegisterOutputCallbacks(MatchFunc, OpenFunc, WriteFunc, CloseFunc); |
125 |
|
126 |
diff --git a/dev-qt/qtwebengine/qtwebengine-5.11.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-5.11.9999.ebuild |
127 |
index 32fb11c5..c3b6285f 100644 |
128 |
--- a/dev-qt/qtwebengine/qtwebengine-5.11.9999.ebuild |
129 |
+++ b/dev-qt/qtwebengine/qtwebengine-5.11.9999.ebuild |
130 |
@@ -79,7 +79,7 @@ DEPEND="${RDEPEND} |
131 |
" |
132 |
|
133 |
PATCHES+=( |
134 |
- "${FILESDIR}/${PN}-5.11.1-libxml2-disable-catalogs.patch" # bug 653078 |
135 |
+ "${FILESDIR}/${PN}-5.11.2-libxml2-disable-catalogs.patch" # bug 653078 |
136 |
"${FILESDIR}/${PN}-5.11.1-nouveau-disable-gpu.patch" # bug 609752 |
137 |
) |
138 |
|
139 |
|
140 |
diff --git a/dev-qt/qtwebengine/qtwebengine-5.12.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-5.12.9999.ebuild |
141 |
index 91c3f9fb..7c793ad2 100644 |
142 |
--- a/dev-qt/qtwebengine/qtwebengine-5.12.9999.ebuild |
143 |
+++ b/dev-qt/qtwebengine/qtwebengine-5.12.9999.ebuild |
144 |
@@ -78,7 +78,7 @@ DEPEND="${RDEPEND} |
145 |
pax_kernel? ( sys-apps/elfix ) |
146 |
" |
147 |
|
148 |
-PATCHES+=( "${FILESDIR}/${PN}-5.12.0-libxml2-disable-catalogs.patch" ) # bug 653078 |
149 |
+PATCHES+=( "${FILESDIR}/${PN}-5.11.2-libxml2-disable-catalogs.patch" ) # bug 653078 |
150 |
|
151 |
src_prepare() { |
152 |
use pax_kernel && PATCHES+=( "${FILESDIR}/${PN}-5.9.3-paxmark-mksnapshot.patch" ) |
153 |
|
154 |
diff --git a/dev-qt/qtwebengine/qtwebengine-5.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-5.9999.ebuild |
155 |
index 91c3f9fb..7c793ad2 100644 |
156 |
--- a/dev-qt/qtwebengine/qtwebengine-5.9999.ebuild |
157 |
+++ b/dev-qt/qtwebengine/qtwebengine-5.9999.ebuild |
158 |
@@ -78,7 +78,7 @@ DEPEND="${RDEPEND} |
159 |
pax_kernel? ( sys-apps/elfix ) |
160 |
" |
161 |
|
162 |
-PATCHES+=( "${FILESDIR}/${PN}-5.12.0-libxml2-disable-catalogs.patch" ) # bug 653078 |
163 |
+PATCHES+=( "${FILESDIR}/${PN}-5.11.2-libxml2-disable-catalogs.patch" ) # bug 653078 |
164 |
|
165 |
src_prepare() { |
166 |
use pax_kernel && PATCHES+=( "${FILESDIR}/${PN}-5.9.3-paxmark-mksnapshot.patch" ) |