Gentoo Archives: gentoo-commits

From: Davide Pesavento <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qt:master commit in: dev-util/qtchooser/, dev-qt/qtcomponents/, x11-libs/qt3d/, sets/, ...
Date: Tue, 05 Mar 2013 08:11:32
Message-Id: 1362470744.208deff5021dcaa18b347e9ba917ade9466bcaba.pesa@gentoo
1 commit: 208deff5021dcaa18b347e9ba917ade9466bcaba
2 Author: Davide Pesavento <davidepesa <AT> gmail <DOT> com>
3 AuthorDate: Tue Mar 5 08:05:44 2013 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 5 08:05:44 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=208deff5
7
8 Fix fallout of qt category move.
9
10 ---
11 .../qt-components}/metadata.xml | 0
12 .../qt-components-9999.ebuild} | 0
13 {x11-libs => dev-qt}/qt3d/metadata.xml | 0
14 {x11-libs => dev-qt}/qt3d/qt3d-5.9999.ebuild | 0
15 {dev-util => dev-qt}/qtchooser/Manifest | 0
16 {dev-util => dev-qt}/qtchooser/metadata.xml | 0
17 {dev-util => dev-qt}/qtchooser/qtchooser-9.ebuild | 0
18 dev-qt/qtcomponents/metadata.xml | 5 --
19 dev-qt/qtlocation/qtlocation-5.9999.ebuild | 4 +-
20 eclass/qt4-build.eclass | 51 ++-----------------
21 eclass/qt5-build.eclass | 18 ++++----
22 profiles/categories | 1 -
23 profiles/updates/1Q-2013 | 6 ++-
24 profiles/use.desc | 6 --
25 sets/qt-4.8-live | 10 ++--
26 sets/qt4 | 4 +-
27 sets/qt5-addons | 2 +-
28 www-client/qupzilla/qupzilla-9999.ebuild | 2 +-
29 18 files changed, 32 insertions(+), 77 deletions(-)
30
31 diff --git a/dev-util/qtchooser/metadata.xml b/dev-qt/qt-components/metadata.xml
32 similarity index 100%
33 copy from dev-util/qtchooser/metadata.xml
34 copy to dev-qt/qt-components/metadata.xml
35
36 diff --git a/dev-qt/qtcomponents/qtcomponents-9999.ebuild b/dev-qt/qt-components/qt-components-9999.ebuild
37 similarity index 100%
38 rename from dev-qt/qtcomponents/qtcomponents-9999.ebuild
39 rename to dev-qt/qt-components/qt-components-9999.ebuild
40
41 diff --git a/x11-libs/qt3d/metadata.xml b/dev-qt/qt3d/metadata.xml
42 similarity index 100%
43 rename from x11-libs/qt3d/metadata.xml
44 rename to dev-qt/qt3d/metadata.xml
45
46 diff --git a/x11-libs/qt3d/qt3d-5.9999.ebuild b/dev-qt/qt3d/qt3d-5.9999.ebuild
47 similarity index 100%
48 rename from x11-libs/qt3d/qt3d-5.9999.ebuild
49 rename to dev-qt/qt3d/qt3d-5.9999.ebuild
50
51 diff --git a/dev-util/qtchooser/Manifest b/dev-qt/qtchooser/Manifest
52 similarity index 100%
53 rename from dev-util/qtchooser/Manifest
54 rename to dev-qt/qtchooser/Manifest
55
56 diff --git a/dev-util/qtchooser/metadata.xml b/dev-qt/qtchooser/metadata.xml
57 similarity index 100%
58 rename from dev-util/qtchooser/metadata.xml
59 rename to dev-qt/qtchooser/metadata.xml
60
61 diff --git a/dev-util/qtchooser/qtchooser-9.ebuild b/dev-qt/qtchooser/qtchooser-9.ebuild
62 similarity index 100%
63 rename from dev-util/qtchooser/qtchooser-9.ebuild
64 rename to dev-qt/qtchooser/qtchooser-9.ebuild
65
66 diff --git a/dev-qt/qtcomponents/metadata.xml b/dev-qt/qtcomponents/metadata.xml
67 deleted file mode 100644
68 index ab02f99..0000000
69 --- a/dev-qt/qtcomponents/metadata.xml
70 +++ /dev/null
71 @@ -1,5 +0,0 @@
72 -<?xml version="1.0" encoding="UTF-8"?>
73 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
74 -<pkgmetadata>
75 - <herd>qt</herd>
76 -</pkgmetadata>
77
78 diff --git a/dev-qt/qtlocation/qtlocation-5.9999.ebuild b/dev-qt/qtlocation/qtlocation-5.9999.ebuild
79 index e7de3a5..de87104 100644
80 --- a/dev-qt/qtlocation/qtlocation-5.9999.ebuild
81 +++ b/dev-qt/qtlocation/qtlocation-5.9999.ebuild
82 @@ -15,13 +15,13 @@ else
83 fi
84
85 # FIXME: src/3rdparty/poly2tri doesn't respect CXX and CXXFLAGS
86 -# TODO: plugins (qt-jsondb, geoclue, gypsy), qml
87 +# TODO: plugins (qtjsondb, geoclue, gypsy), qml
88 IUSE=""
89
90 DEPEND="
91 + ~dev-qt/qt3d-${PV}[debug=]
92 ~dev-qt/qtcore-${PV}[debug=]
93 ~dev-qt/qtgui-${PV}[debug=]
94 ~dev-qt/qtnetwork-${PV}[debug=]
95 - ~x11-libs/qt3d-${PV}[debug=]
96 "
97 RDEPEND="${DEPEND}"
98
99 diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass
100 index 64a76db..e14a664 100644
101 --- a/eclass/qt4-build.eclass
102 +++ b/eclass/qt4-build.eclass
103 @@ -1,6 +1,6 @@
104 # Copyright 1999-2013 Gentoo Foundation
105 # Distributed under the terms of the GNU General Public License v2
106 -# $Header: $
107 +# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.144 2013/03/03 00:22:56 pesa Exp $
108
109 # @ECLASS: qt4-build.eclass
110 # @MAINTAINER:
111 @@ -41,53 +41,14 @@ case ${QT4_BUILD_TYPE} in
112 esac
113
114 IUSE="aqua debug pch"
115 -[[ ${CATEGORY}/${PN} != dev-qt/qtxmlpatterns ]] && IUSE+=" +exceptions"
116 [[ ${CATEGORY}/${PN} != dev-qt/qtwebkit ]] && IUSE+=" c++0x"
117 +[[ ${CATEGORY}/${PN} != dev-qt/qtxmlpatterns ]] && IUSE+=" +exceptions"
118
119 DEPEND="virtual/pkgconfig"
120 if [[ ${QT4_BUILD_TYPE} == live ]]; then
121 DEPEND+=" dev-lang/perl"
122 fi
123
124 -RDEPEND="
125 - !<dev-qt/qtbearer-${PV}:4
126 - !>dev-qt/qtbearer-${PV}-r9999:4
127 - !<dev-qt/qtcore-${PV}:4
128 - !>dev-qt/qtcore-${PV}-r9999:4
129 - !<dev-qt/qtdbus-${PV}:4
130 - !>dev-qt/qtdbus-${PV}-r9999:4
131 - !<dev-qt/qtdeclarative-${PV}:4
132 - !>dev-qt/qtdeclarative-${PV}-r9999:4
133 - !<dev-qt/qtdemo-${PV}:4
134 - !>dev-qt/qtdemo-${PV}-r9999:4
135 - !<dev-qt/qtgui-${PV}:4
136 - !>dev-qt/qtgui-${PV}-r9999:4
137 - !<dev-qt/qthelp-${PV}:4
138 - !>dev-qt/qthelp-${PV}-r9999:4
139 - !<dev-qt/qtmultimedia-${PV}:4
140 - !>dev-qt/qtmultimedia-${PV}-r9999:4
141 - !<dev-qt/qtopengl-${PV}:4
142 - !>dev-qt/qtopengl-${PV}-r9999:4
143 - !<dev-qt/qtopenvg-${PV}:4
144 - !>dev-qt/qtopenvg-${PV}-r9999:4
145 - !<dev-qt/qtphonon-${PV}:4
146 - !>dev-qt/qtphonon-${PV}-r9999:4
147 - !<dev-qt/qt3support-${PV}:4
148 - !>dev-qt/qt3support-${PV}-r9999:4
149 - !<dev-qt/qtscript-${PV}:4
150 - !>dev-qt/qtscript-${PV}-r9999:4
151 - !<dev-qt/qtsql-${PV}:4
152 - !>dev-qt/qtsql-${PV}-r9999:4
153 - !<dev-qt/qtsvg-${PV}:4
154 - !>dev-qt/qtsvg-${PV}-r9999:4
155 - !<dev-qt/qttest-${PV}:4
156 - !>dev-qt/qttest-${PV}-r9999:4
157 - !<dev-qt/qtwebkit-${PV}:4
158 - !>dev-qt/qtwebkit-${PV}-r9999:4
159 - !<dev-qt/qtxmlpatterns-${PV}:4
160 - !>dev-qt/qtxmlpatterns-${PV}-r9999:4
161 -"
162 -
163 S=${WORKDIR}/${MY_P}
164
165 # @FUNCTION: qt4-build_pkg_setup
166 @@ -142,7 +103,7 @@ qt4-build_src_unpack() {
167 ewarn "Using a GCC version lower than 4.1 is not supported."
168 fi
169
170 - if [[ ${PN} == qtwebkit ]]; then
171 + if [[ ${CATEGORY}/${PN} == dev-qt/qtwebkit ]]; then
172 eshopts_push -s extglob
173 if is-flagq '-g?(gdb)?([1-9])'; then
174 echo
175 @@ -212,7 +173,7 @@ qt4-build_src_prepare() {
176 -i mkspecs/$(qt_mkspecs_dir)/qmake.conf || die
177 fi
178
179 - if [[ ${PN} != qtcore ]]; then
180 + if [[ ${CATEGORY}/${PN} != dev-qt/qtcore ]]; then
181 skip_qmake_build
182 skip_project_generation
183 symlink_binaries_to_buildtree
184 @@ -470,7 +431,7 @@ qt4-build_src_compile() {
185 # Runs tests only in target directories.
186 qt4-build_src_test() {
187 # QtMultimedia does not have any test suite (bug #332299)
188 - [[ ${PN} == qtmultimedia ]] && return
189 + [[ ${CATEGORY}/${PN} == dev-qt/qtmultimedia ]] && return
190
191 for dir in ${QT4_TARGET_DIRECTORIES}; do
192 emake -j1 check -C ${dir}
193 @@ -662,7 +623,7 @@ install_qconfigs() {
194 # @DESCRIPTION:
195 # Generates gentoo-specific qconfig.{h,pri}.
196 generate_qconfigs() {
197 - if [[ -n ${QCONFIG_ADD} || -n ${QCONFIG_REMOVE} || -n ${QCONFIG_DEFINE} || ${PN} == qtcore ]]; then
198 + if [[ -n ${QCONFIG_ADD} || -n ${QCONFIG_REMOVE} || -n ${QCONFIG_DEFINE} || ${CATEGORY}/${PN} == dev-qt/qtcore ]]; then
199 local x qconfig_add qconfig_remove qconfig_new
200 for x in "${ROOT}${QTDATADIR}"/mkspecs/gentoo/*-qconfig.pri; do
201 [[ -f ${x} ]] || continue
202
203 diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
204 index 97da197..3c87f5c 100644
205 --- a/eclass/qt5-build.eclass
206 +++ b/eclass/qt5-build.eclass
207 @@ -58,8 +58,8 @@ IUSE="+c++11 debug test"
208
209 DEPEND=">=dev-lang/perl-5.14
210 virtual/pkgconfig"
211 -if [[ ${PN} != "qt-test" ]]; then
212 - DEPEND+=" test? ( ~dev-qt/qt-test-${PV}[debug=] )"
213 +if [[ ${PN} != "qttest" ]]; then
214 + DEPEND+=" test? ( ~dev-qt/qttest-${PV}[debug=] )"
215 fi
216
217 EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_configure src_compile src_install src_test pkg_postinst pkg_postrm
218 @@ -131,7 +131,7 @@ qt5-build_src_unpack() {
219 ewarn "Using a GCC version lower than 4.4 is not supported."
220 fi
221
222 - if [[ ${PN} == "qt-webkit" ]]; then
223 + if [[ ${PN} == "qtwebkit" ]]; then
224 eshopts_push -s extglob
225 if is-flagq '-g?(gdb)?([1-9])'; then
226 echo
227 @@ -197,7 +197,7 @@ qt5-build_src_prepare() {
228 || die "sed failed (config.tests)"
229 fi
230
231 - if [[ ${PN} != "qt-core" ]]; then
232 + if [[ ${PN} != "qtcore" ]]; then
233 qt5_symlink_tools_to_buildtree
234 fi
235
236 @@ -263,7 +263,7 @@ qt5-build_src_test() {
237 qt5-build_src_install() {
238 qt5_foreach_target_subdir emake INSTALL_ROOT="${D}" install
239
240 - if [[ ${PN} == "qt-core" ]]; then
241 + if [[ ${PN} == "qtcore" ]]; then
242 pushd "${QT5_BUILD_DIR}" > /dev/null || die
243 einfo "Running emake INSTALL_ROOT=${D} install_{mkspecs,qmake,syncqt}"
244 emake INSTALL_ROOT="${D}" install_{mkspecs,qmake,syncqt}
245 @@ -297,7 +297,7 @@ qt5-build_pkg_postinst() {
246 # @DESCRIPTION:
247 # Regenerate configuration when the package is completely removed.
248 qt5-build_pkg_postrm() {
249 - if [[ -z ${REPLACED_BY_VERSION} && ${PN} != "qt-core" ]]; then
250 + if [[ -z ${REPLACED_BY_VERSION} && ${PN} != "qtcore" ]]; then
251 qt5_regenerate_global_qconfigs
252 fi
253 }
254 @@ -345,7 +345,7 @@ qt5_prepare_env() {
255 # @FUNCTION: qt5_symlink_tools_to_buildtree
256 # @INTERNAL
257 # @DESCRIPTION:
258 -# Symlinks qt-core tools to buildtree, so they can be used when building other modules.
259 +# Symlinks qtcore tools to buildtree, so they can be used when building other modules.
260 qt5_symlink_tools_to_buildtree() {
261 mkdir -p "${QT5_BUILD_DIR}"/bin || die
262
263 @@ -427,11 +427,11 @@ qt5_base_configure() {
264 # requires GNU ld >= 2.18
265 -reduce-relocations
266
267 - # disable all SQL drivers by default, override in qt-sql
268 + # disable all SQL drivers by default, override in qtsql
269 -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc
270 -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds
271
272 - # disable all platform plugins by default, override in qt-gui
273 + # disable all platform plugins by default, override in qtgui
274 -no-xcb -no-xrender -no-eglfs -no-directfb -no-linuxfb -no-kms
275
276 # disable gtkstyle because it adds qt4 include paths to the compiler
277
278 diff --git a/profiles/categories b/profiles/categories
279 deleted file mode 100644
280 index ec4f664..0000000
281 --- a/profiles/categories
282 +++ /dev/null
283 @@ -1 +0,0 @@
284 -razorqt-base
285
286 diff --git a/profiles/updates/1Q-2013 b/profiles/updates/1Q-2013
287 index fc02645..aa0f7fe 100644
288 --- a/profiles/updates/1Q-2013
289 +++ b/profiles/updates/1Q-2013
290 @@ -1,6 +1,10 @@
291 -move x11-libs/qt-components dev-qt/qtcomponents
292 +move dev-util/qtchooser dev-qt/qtchooser
293 +move x11-libs/qt-components dev-qt/qt-components
294 move x11-libs/qt-concurrent dev-qt/qtconcurrent
295 move x11-libs/qt-jsbackend dev-qt/qtjsbackend
296 move x11-libs/qt-location dev-qt/qtlocation
297 +move x11-libs/qt-network dev-qt/qtnetwork
298 move x11-libs/qt-printsupport dev-qt/qtprintsupport
299 move x11-libs/qt-widgets dev-qt/qtwidgets
300 +move x11-libs/qt-xml dev-qt/qtxml
301 +move x11-libs/qt3d dev-qt/qt3d
302
303 diff --git a/profiles/use.desc b/profiles/use.desc
304 deleted file mode 100644
305 index 69e06b2..0000000
306 --- a/profiles/use.desc
307 +++ /dev/null
308 @@ -1,6 +0,0 @@
309 -# qt/profiles/use.desc
310 -# Please keep alphabetically sorted
311 -
312 -custom-cxxflags - Allows building with user set CXXFLAGS
313 -kde-qt - Use KDE's QT repository with extra patches
314 -raster - Use raster backend engine for Qt
315
316 diff --git a/sets/qt-4.8-live b/sets/qt-4.8-live
317 index 8a443ed..055274c 100644
318 --- a/sets/qt-4.8-live
319 +++ b/sets/qt-4.8-live
320 @@ -1,16 +1,18 @@
321 -# set for all packages from Nokia's 4.8 branch
322 -# qt-phonon is commented out, as you may want media-libs/phonon instead
323 +# set for all packages from qt/4.8 branch
324 +# qtphonon is commented out, as you may want media-libs/phonon instead
325
326 -~dev-qt/qthelp-4.8.9999
327 +~dev-qt/qt3support-4.8.9999
328 ~dev-qt/qtbearer-4.8.9999
329 ~dev-qt/qtcore-4.8.9999
330 ~dev-qt/qtdbus-4.8.9999
331 ~dev-qt/qtdeclarative-4.8.9999
332 +#~dev-qt/qtdemo-4.8.9999
333 ~dev-qt/qtgui-4.8.9999
334 +~dev-qt/qthelp-4.8.9999
335 ~dev-qt/qtmultimedia-4.8.9999
336 ~dev-qt/qtopengl-4.8.9999
337 +#~dev-qt/qtopenvg-4.8.9999
338 #~dev-qt/qtphonon-4.8.9999
339 -~dev-qt/qt3support-4.8.9999
340 ~dev-qt/qtscript-4.8.9999
341 ~dev-qt/qtsql-4.8.9999
342 ~dev-qt/qtsvg-4.8.9999
343
344 diff --git a/sets/qt4 b/sets/qt4
345 index 2c70de8..92a8ed2 100644
346 --- a/sets/qt4
347 +++ b/sets/qt4
348 @@ -1,18 +1,18 @@
349 # set for all Qt4 modules
350 # copy this file to /etc/portage/sets/qt-custom for customization
351
352 -dev-qt/qthelp:4
353 +dev-qt/qt3support:4
354 dev-qt/qtbearer:4
355 dev-qt/qtcore:4
356 dev-qt/qtdbus:4
357 dev-qt/qtdeclarative:4
358 dev-qt/qtdemo:4
359 dev-qt/qtgui:4
360 +dev-qt/qthelp:4
361 dev-qt/qtmultimedia:4
362 dev-qt/qtopengl:4
363 dev-qt/qtopenvg:4
364 dev-qt/qtphonon:4
365 -dev-qt/qt3support:4
366 dev-qt/qtscript:4
367 dev-qt/qtsql:4
368 dev-qt/qtsvg:4
369
370 diff --git a/sets/qt5-addons b/sets/qt5-addons
371 index a28571a..793c891 100644
372 --- a/sets/qt5-addons
373 +++ b/sets/qt5-addons
374 @@ -1,7 +1,7 @@
375 # set for Qt5 Add-on modules
376 # http://qt-project.org/wiki/Qt-Add-ons-Modules
377
378 -#x11-libs/qt3d:5
379 +#dev-qt/qt3d:5
380 dev-qt/qtconcurrent:5
381 dev-qt/qtdbus:5
382 #dev-qt/qtgraphicaleffects:5
383
384 diff --git a/www-client/qupzilla/qupzilla-9999.ebuild b/www-client/qupzilla/qupzilla-9999.ebuild
385 index f25f192..5932836 100644
386 --- a/www-client/qupzilla/qupzilla-9999.ebuild
387 +++ b/www-client/qupzilla/qupzilla-9999.ebuild
388 @@ -54,7 +54,7 @@ src_configure() {
389 export NONBLOCK_JS_DIALOGS=$(use nonblockdialogs && echo true || echo false)
390 has_version '>=dev-qt/qtwebkit-4.8.0:4' && export USE_QTWEBKIT_2_2=true
391
392 - # needs qt-webkit with webgl enabled (which we currently don't)
393 + # needs qtwebkit with webgl enabled (which we currently don't)
394 # export USE_WEBGL=$(use webgl && echo true || echo false)
395
396 eqmake4