1 |
commit: 38dcb8ee141a67cc6b0f3c05f54df892e16987b3 |
2 |
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 23 19:52:06 2015 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 23 19:52:06 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=38dcb8ee |
7 |
|
8 |
[dev-qt/qtwebkit23] Moved to gx86. |
9 |
|
10 |
dev-qt/qtwebkit23/Manifest | 1 - |
11 |
.../qtwebkit23/files/use-correct-icu-typedef.patch | 40 ------- |
12 |
dev-qt/qtwebkit23/metadata.xml | 12 --- |
13 |
dev-qt/qtwebkit23/qtwebkit23-2.3.4.ebuild | 120 --------------------- |
14 |
4 files changed, 173 deletions(-) |
15 |
|
16 |
diff --git a/dev-qt/qtwebkit23/Manifest b/dev-qt/qtwebkit23/Manifest |
17 |
deleted file mode 100644 |
18 |
index ae72ee8..0000000 |
19 |
--- a/dev-qt/qtwebkit23/Manifest |
20 |
+++ /dev/null |
21 |
@@ -1 +0,0 @@ |
22 |
-DIST qtwebkit23-2.3.4.tar.xz 33793176 SHA256 b02e1e7d4e7e00f3d2e27702e7b023c54a64966ea2dc25f3eb5922eacdb9d7e1 SHA512 4fc99301afefaf900d951b4f4e56a5a5a94eaa92376bc0b73c0ced0c9046d8d911ad33c6ebf1e013573568140259ed733ee69bc87d81405f49b2e74e5fe556b5 WHIRLPOOL af7376d2ffdbc6caf824cbc0aad37253ca5ee744cf5849f1378e0a64e25441229b0e95e711bba1e030e08d0b313cdbfb97f2f7b13f96c4a7763cd5e5cf4b0d68 |
23 |
|
24 |
diff --git a/dev-qt/qtwebkit23/files/use-correct-icu-typedef.patch b/dev-qt/qtwebkit23/files/use-correct-icu-typedef.patch |
25 |
deleted file mode 100644 |
26 |
index 3e48162..0000000 |
27 |
--- a/dev-qt/qtwebkit23/files/use-correct-icu-typedef.patch |
28 |
+++ /dev/null |
29 |
@@ -1,40 +0,0 @@ |
30 |
-From 916f00008b602ae1b260106e7fb1274d2282f61f Mon Sep 17 00:00:00 2001 |
31 |
-From: =?UTF-8?q?Jan=20Kundr=C3=A1t?= <jkt@××××××.net> |
32 |
-Date: Tue, 3 Sep 2013 16:59:35 +0200 |
33 |
-Subject: [PATCH] ICU has defined UChar32 to be an int32_t since 2002 |
34 |
- |
35 |
-This fixes the build failure of qtwebkit23 on my Gentoo machine. |
36 |
---- |
37 |
- Source/WTF/wtf/unicode/qt4/UnicodeQt4.h | 2 +- |
38 |
- Source/WTF/wtf/unicode/wchar/UnicodeWchar.h | 2 +- |
39 |
- 2 files changed, 2 insertions(+), 2 deletions(-) |
40 |
- |
41 |
-diff --git a/Source/WTF/wtf/unicode/qt4/UnicodeQt4.h b/Source/WTF/wtf/unicode/qt4/UnicodeQt4.h |
42 |
-index a2d1ad4..392d2db 100644 |
43 |
---- a/Source/WTF/wtf/unicode/qt4/UnicodeQt4.h |
44 |
-+++ b/Source/WTF/wtf/unicode/qt4/UnicodeQt4.h |
45 |
-@@ -69,7 +69,7 @@ typedef uint16_t UChar; |
46 |
- #endif |
47 |
- |
48 |
- #if !USE(ICU_UNICODE) |
49 |
--typedef uint32_t UChar32; |
50 |
-+typedef int32_t UChar32; |
51 |
- #endif |
52 |
- |
53 |
- namespace WTF { |
54 |
-diff --git a/Source/WTF/wtf/unicode/wchar/UnicodeWchar.h b/Source/WTF/wtf/unicode/wchar/UnicodeWchar.h |
55 |
-index 10c2026..db8944e 100644 |
56 |
---- a/Source/WTF/wtf/unicode/wchar/UnicodeWchar.h |
57 |
-+++ b/Source/WTF/wtf/unicode/wchar/UnicodeWchar.h |
58 |
-@@ -31,7 +31,7 @@ |
59 |
- #include <wtf/unicode/UnicodeMacrosFromICU.h> |
60 |
- |
61 |
- typedef wchar_t UChar; |
62 |
--typedef uint32_t UChar32; |
63 |
-+typedef int32_t UChar32; |
64 |
- |
65 |
- namespace WTF { |
66 |
- namespace Unicode { |
67 |
--- |
68 |
-1.7.1 |
69 |
- |
70 |
|
71 |
diff --git a/dev-qt/qtwebkit23/metadata.xml b/dev-qt/qtwebkit23/metadata.xml |
72 |
deleted file mode 100644 |
73 |
index 37dc834..0000000 |
74 |
--- a/dev-qt/qtwebkit23/metadata.xml |
75 |
+++ /dev/null |
76 |
@@ -1,12 +0,0 @@ |
77 |
-<?xml version="1.0" encoding="UTF-8"?> |
78 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
79 |
-<pkgmetadata> |
80 |
- <herd>qt</herd> |
81 |
- <use> |
82 |
- <flag name="gstreamer">Enable HTML5 audio/video support via <pkg>media-libs/gstreamer:1.0</pkg></flag> |
83 |
- </use> |
84 |
- <upstream> |
85 |
- <bugs-to>https://bugreports.qt.io/</bugs-to> |
86 |
- <doc>http://doc.qt.io/</doc> |
87 |
- </upstream> |
88 |
-</pkgmetadata> |
89 |
|
90 |
diff --git a/dev-qt/qtwebkit23/qtwebkit23-2.3.4.ebuild b/dev-qt/qtwebkit23/qtwebkit23-2.3.4.ebuild |
91 |
deleted file mode 100644 |
92 |
index bd9d57b..0000000 |
93 |
--- a/dev-qt/qtwebkit23/qtwebkit23-2.3.4.ebuild |
94 |
+++ /dev/null |
95 |
@@ -1,120 +0,0 @@ |
96 |
-# Copyright 1999-2015 Gentoo Foundation |
97 |
-# Distributed under the terms of the GNU General Public License v2 |
98 |
-# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtwebkit/qtwebkit-4.8.6-r1.ebuild,v 1.1 2014/11/15 02:38:53 pesa Exp $ |
99 |
- |
100 |
-EAPI=5 |
101 |
-PYTHON_COMPAT=( python2_7 ) |
102 |
-inherit eutils multilib python-any-r1 qmake-utils toolchain-funcs multilib-minimal |
103 |
- |
104 |
-DESCRIPTION="The WebKit module for the Qt toolkit" |
105 |
-HOMEPAGE="https://www.qt.io/" |
106 |
-SRC_URI="http://dev.gentoo.org/~kensington/distfiles/${P}.tar.xz" |
107 |
- |
108 |
-LICENSE="|| ( LGPL-2.1 GPL-3 )" |
109 |
-SLOT="4" |
110 |
-KEYWORDS="~amd64" |
111 |
-IUSE="debug +gstreamer" |
112 |
- |
113 |
-RDEPEND=" |
114 |
- >=dev-db/sqlite-3.8.3:3[${MULTILIB_USEDEP}] |
115 |
- dev-libs/libxml2:2[${MULTILIB_USEDEP}] |
116 |
- dev-libs/libxslt[${MULTILIB_USEDEP}] |
117 |
- >=dev-qt/qtcore-4.8.6-r1:4[ssl,${MULTILIB_USEDEP}] |
118 |
- >=dev-qt/qtdeclarative-4.8.6-r1:4[${MULTILIB_USEDEP}] |
119 |
- >=dev-qt/qtgui-4.8.6-r1:4[${MULTILIB_USEDEP}] |
120 |
- >=dev-qt/qtopengl-4.8.6-r1:4[${MULTILIB_USEDEP}] |
121 |
- >=dev-qt/qtscript-4.8.6-r1:4[${MULTILIB_USEDEP}] |
122 |
- >=dev-qt/qtsql-4.8.6-r1:4[sqlite,${MULTILIB_USEDEP}] |
123 |
- >=media-libs/fontconfig-2.10.2-r1[${MULTILIB_USEDEP}] |
124 |
- media-libs/libpng:0=[${MULTILIB_USEDEP}] |
125 |
- >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] |
126 |
- virtual/jpeg:0[${MULTILIB_USEDEP}] |
127 |
- virtual/libudev:=[${MULTILIB_USEDEP}] |
128 |
- >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] |
129 |
- x11-libs/libX11[${MULTILIB_USEDEP}] |
130 |
- x11-libs/libXrender[${MULTILIB_USEDEP}] |
131 |
- gstreamer? ( |
132 |
- dev-libs/glib:2[${MULTILIB_USEDEP}] |
133 |
- media-libs/gstreamer:1.0[${MULTILIB_USEDEP}] |
134 |
- media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] |
135 |
- ) |
136 |
-" |
137 |
-DEPEND="${RDEPEND} |
138 |
- ${PYTHON_DEPS} |
139 |
- dev-lang/perl |
140 |
- dev-lang/ruby |
141 |
- dev-util/gperf |
142 |
- sys-devel/bison |
143 |
- sys-devel/flex |
144 |
- virtual/perl-Digest-MD5 |
145 |
- virtual/perl-File-Spec |
146 |
- virtual/perl-Getopt-Long |
147 |
-" |
148 |
- |
149 |
-PATCHES=( |
150 |
- "${FILESDIR}/use-correct-icu-typedef.patch" |
151 |
-) |
152 |
- |
153 |
-src_prepare() { |
154 |
- # examples cause a sandbox violation (bug 458222) |
155 |
- sed -i -e '/SUBDIRS += examples/d' Source/QtWebKit.pro || die |
156 |
- |
157 |
- # respect CXXFLAGS |
158 |
- sed -i -e '/QMAKE_CXXFLAGS_RELEASE.*=/d' \ |
159 |
- Source/WTF/WTF.pro \ |
160 |
- Source/JavaScriptCore/Target.pri || die |
161 |
- |
162 |
- # apply patches |
163 |
- [[ ${PATCHES[@]} ]] && epatch "${PATCHES[@]}" |
164 |
- epatch_user |
165 |
-} |
166 |
- |
167 |
-multilib_src_compile() { |
168 |
- local -x \ |
169 |
- QTDIR=${EPREFIX}/usr/$(get_libdir)/qt4 \ |
170 |
- WEBKITOUTPUTDIR=${BUILD_DIR} |
171 |
- |
172 |
- local myconf=( |
173 |
- "${S}"/Tools/Scripts/build-webkit |
174 |
- --qt |
175 |
- # tell the build system where to find the qmake binary for the current ABI |
176 |
- --qmake="$(qt4_get_bindir)"/qmake |
177 |
- --qmakearg="CONFIG+=nostrip DEFINES+=HAVE_QTTESTLIB=0" |
178 |
- --makeargs="${MAKEOPTS}" |
179 |
- --$(usex debug debug release) |
180 |
- --$(usex gstreamer video no-video) |
181 |
- # disable WebKit2 since it requires Qt5 |
182 |
- --no-webkit2 |
183 |
- # prevent automagic dependency on qt-mobility (bug 547350) |
184 |
- --no-geolocation |
185 |
- --no-device-orientation |
186 |
- --no-orientation-events |
187 |
- # copied from eqmake4 |
188 |
- QMAKE_AR="'$(tc-getAR) cqs'" |
189 |
- QMAKE_CC="'$(tc-getCC)'" |
190 |
- QMAKE_CXX="'$(tc-getCXX)'" |
191 |
- QMAKE_LINK="'$(tc-getCXX)'" |
192 |
- QMAKE_LINK_C="'$(tc-getCC)'" |
193 |
- QMAKE_OBJCOPY="'$(tc-getOBJCOPY)'" |
194 |
- QMAKE_RANLIB= |
195 |
- QMAKE_STRIP= |
196 |
- QMAKE_CFLAGS="'${CFLAGS}'" |
197 |
- QMAKE_CFLAGS_RELEASE= |
198 |
- QMAKE_CFLAGS_DEBUG= |
199 |
- QMAKE_CXXFLAGS="'${CXXFLAGS}'" |
200 |
- QMAKE_CXXFLAGS_RELEASE= |
201 |
- QMAKE_CXXFLAGS_DEBUG= |
202 |
- QMAKE_LFLAGS="'${LDFLAGS}'" |
203 |
- QMAKE_LFLAGS_RELEASE= |
204 |
- QMAKE_LFLAGS_DEBUG= |
205 |
- ) |
206 |
- echo "${myconf[@]}" |
207 |
- "${myconf[@]}" || die |
208 |
-} |
209 |
- |
210 |
-multilib_src_install() { |
211 |
- emake INSTALL_ROOT="${D}" install -C $(usex debug Debug Release) |
212 |
- |
213 |
- # move pkgconfig file to the correct location |
214 |
- mv "${ED}"/usr/$(get_libdir){/qt4/pkgconfig,} || die |
215 |
-} |