1 |
commit: b9b896f3f927a57afde1c63a6ff387fc08996666 |
2 |
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 29 16:42:05 2016 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 29 16:42:05 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9b896f3 |
7 |
|
8 |
dev-qt/qt-creator: drop old version that won't be stabilized |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-qt/qt-creator/Manifest | 1 - |
13 |
.../files/3.5.1-tst_fileutils-parentDir.patch | 32 ---- |
14 |
dev-qt/qt-creator/qt-creator-3.5.1.ebuild | 166 --------------------- |
15 |
3 files changed, 199 deletions(-) |
16 |
|
17 |
diff --git a/dev-qt/qt-creator/Manifest b/dev-qt/qt-creator/Manifest |
18 |
index a6f4506..a84b87a 100644 |
19 |
--- a/dev-qt/qt-creator/Manifest |
20 |
+++ b/dev-qt/qt-creator/Manifest |
21 |
@@ -1,5 +1,4 @@ |
22 |
DIST qt-creator-2.8.1-src.tar.gz 24381282 SHA256 d5ae007a297a4288d0e95fd605edbfb8aee80f6788c7a6cfb9cb297f50c364b9 SHA512 954b0caa9a4c6b7debf62562f3c8f1b4edee13488867208e7d41544b244a111024f2c4c144e4b44e98973cf1d7b5885c13c0b6996ade58e204887eb13bb999cb WHIRLPOOL 1aa5018e19315bd2528580ffa388ff17d96666747e4abad28ea4bcd38315e6efc66379cdda90cb32c17dd1631d0ebedff422e53ee0b9b3c40d7a5766ff4dd9b4 |
23 |
DIST qt-creator-opensource-src-3.4.2.tar.gz 23239370 SHA256 f57df9954768badb252154a51cca9b21a4903f8e003ef944d25801cde1754bab SHA512 65a93574bf6dd35ef4769d4e8a40cb183b2904af6cd32616c15e57654ab575280e7a5d0bbe43296a012e79127831b46fa21890d65472e0c781a95461e5a50812 WHIRLPOOL a56fbb9ea76e9cc7886ee447503c4f7ca646ebf19a113ab95b9b3788d8d75871850c358f13bbd3093f544c65c65f916006cb7571a73292376a7629c236cf0e74 |
24 |
-DIST qt-creator-opensource-src-3.5.1.tar.gz 22580581 SHA256 5925ac818a08be919094e0f28fb4c5d8896765e0975d54d353e4c50f13d63e65 SHA512 ccd5e4ee669c749b19c53f4a3c18d59f73747ca18198648be48d8e5c1cc484cc360ebdb5100546cc5811d88a5139b9997d6cec1d5eeeccf7634f1c803a6e3722 WHIRLPOOL 85883e3462eabc03e16abaaef9cc002377b0856119ce3c1aa8aa8d5cf51a90bab667219fdf40abc7ac42f1b338337a9e152944d26c46e85747da9273e4888448 |
25 |
DIST qt-creator-opensource-src-3.6.1.tar.gz 23144233 SHA256 e53611f80332cd1d171a9b91f8467b6182186cbec6b4a9301f32367368f15de2 SHA512 be869de5fdaf7294dca95e540b7b9228015132071aaf5315a3c8b2da3043a03528b3d75e94a7fffc567bd802dba1a48568c4a335926c1d5e1e18beaae48ecc9f WHIRLPOOL c62cb18d5c9be0fac2ea9ef355d820a29183e3b0226c1fb70bef9dc7402dd16886ceacd4029764204bde4595d77098641080ad8fdf4f58e97ebb96e3abf3ae65 |
26 |
DIST qt-creator-opensource-src-4.0.0-rc1.tar.gz 22781346 SHA256 33e478b4c5d024bcab07fa6974b2af6818666812ff88f153405bedb557e0c566 SHA512 b109a5144c276183d2c9ae1d2406bf555536b3799bf3ea442d2fed37495eb2c79a2f3fbfbbd060fdbecd4d4a54804b56b9f81285127621ffb382de89b5bdb451 WHIRLPOOL f04b51d848230b7c791659e899a8e7c517488972447a1426aa36bf95e25803ee94dd2458fa0dabd7f5a68d156a8b0ceb789331dea3200dccd0d16d8cc560e3a0 |
27 |
|
28 |
diff --git a/dev-qt/qt-creator/files/3.5.1-tst_fileutils-parentDir.patch b/dev-qt/qt-creator/files/3.5.1-tst_fileutils-parentDir.patch |
29 |
deleted file mode 100644 |
30 |
index c34965d..0000000 |
31 |
--- a/dev-qt/qt-creator/files/3.5.1-tst_fileutils-parentDir.patch |
32 |
+++ /dev/null |
33 |
@@ -1,32 +0,0 @@ |
34 |
-From d30eeb9c9866161a16fc38fcca7ad3772d30fcc8 Mon Sep 17 00:00:00 2001 |
35 |
-From: Davide Pesavento <pesa@g.o> |
36 |
-Date: Sun, 18 Oct 2015 02:43:59 +0200 |
37 |
-Subject: Tests: add missing column to tst_fileutils::parentDir testcase |
38 |
- |
39 |
-The third column was accidentally removed from one data row in |
40 |
-commit 271794fbc9cbeaa3393808691742893602de6cf5 |
41 |
- |
42 |
-Fixes the following fatal error: |
43 |
-QFETCH: Requested testdata 'expectFailMessage' not available, check your _data function. |
44 |
- |
45 |
-Change-Id: I4a09df2e044b4dcee1ed2ffc589082a3e2601232 |
46 |
---- |
47 |
- tests/auto/utils/fileutils/tst_fileutils.cpp | 2 +- |
48 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
49 |
- |
50 |
-diff --git a/tests/auto/utils/fileutils/tst_fileutils.cpp b/tests/auto/utils/fileutils/tst_fileutils.cpp |
51 |
-index dd02f57..0b1e502 100644 |
52 |
---- a/tests/auto/utils/fileutils/tst_fileutils.cpp |
53 |
-+++ b/tests/auto/utils/fileutils/tst_fileutils.cpp |
54 |
-@@ -62,7 +62,7 @@ void tst_fileutils::parentDir_data() |
55 |
- QTest::newRow("//") << "//" << "" << ""; |
56 |
- QTest::newRow("/tmp/dir") << "/tmp/dir" << "/tmp" << ""; |
57 |
- QTest::newRow("relative/path") << "relative/path" << "relative" << ""; |
58 |
-- QTest::newRow("relativepath") << "relativepath" << "."; |
59 |
-+ QTest::newRow("relativepath") << "relativepath" << "." << ""; |
60 |
- |
61 |
- // Windows stuff: |
62 |
- #ifdef Q_OS_WIN |
63 |
--- |
64 |
-2.6.2 |
65 |
- |
66 |
|
67 |
diff --git a/dev-qt/qt-creator/qt-creator-3.5.1.ebuild b/dev-qt/qt-creator/qt-creator-3.5.1.ebuild |
68 |
deleted file mode 100644 |
69 |
index 27b0b1e..0000000 |
70 |
--- a/dev-qt/qt-creator/qt-creator-3.5.1.ebuild |
71 |
+++ /dev/null |
72 |
@@ -1,166 +0,0 @@ |
73 |
-# Copyright 1999-2016 Gentoo Foundation |
74 |
-# Distributed under the terms of the GNU General Public License v2 |
75 |
-# $Id$ |
76 |
- |
77 |
-EAPI=5 |
78 |
-PLOCALES="cs de fr ja pl ru sl uk zh_CN zh_TW" |
79 |
-inherit eutils l10n multilib qmake-utils virtualx |
80 |
- |
81 |
-DESCRIPTION="Lightweight IDE for C++/QML development centering around Qt" |
82 |
-HOMEPAGE="http://doc.qt.io/qtcreator/" |
83 |
-LICENSE="|| ( LGPL-2.1 LGPL-3 )" |
84 |
-SLOT="0" |
85 |
- |
86 |
-if [[ ${PV} == *9999 ]]; then |
87 |
- inherit git-r3 |
88 |
- EGIT_REPO_URI=( |
89 |
- "git://code.qt.io/${PN}/${PN}.git" |
90 |
- "https://code.qt.io/git/${PN}/${PN}.git" |
91 |
- ) |
92 |
-else |
93 |
- MY_PV=${PV/_/-} |
94 |
- MY_P=${PN}-opensource-src-${MY_PV} |
95 |
- [[ ${MY_PV} == ${PV} ]] && MY_REL=official || MY_REL=development |
96 |
- SRC_URI="http://download.qt.io/${MY_REL}_releases/${PN/-}/${PV%.*}/${MY_PV}/${MY_P}.tar.gz" |
97 |
- KEYWORDS="~amd64 ~arm ~x86" |
98 |
- S=${WORKDIR}/${MY_P} |
99 |
-fi |
100 |
- |
101 |
-QTC_PLUGINS=('android:android|qmakeandroidsupport' autotools:autotoolsprojectmanager baremetal |
102 |
- bazaar clang:clangcodemodel clearcase cmake:cmakeprojectmanager cvs git ios mercurial |
103 |
- perforce python:pythoneditor qbs:qbsprojectmanager qnx subversion valgrind winrt) |
104 |
-IUSE="doc systemd test webkit ${QTC_PLUGINS[@]%:*}" |
105 |
- |
106 |
-# minimum Qt version required |
107 |
-QT_PV="5.4.0:5" |
108 |
- |
109 |
-RDEPEND=" |
110 |
- =dev-libs/botan-1.10*[-bindist,threads] |
111 |
- >=dev-qt/designer-${QT_PV} |
112 |
- >=dev-qt/qtconcurrent-${QT_PV} |
113 |
- >=dev-qt/qtcore-${QT_PV} |
114 |
- >=dev-qt/qtdeclarative-${QT_PV}[widgets] |
115 |
- >=dev-qt/qtgui-${QT_PV} |
116 |
- >=dev-qt/qthelp-${QT_PV} |
117 |
- >=dev-qt/qtnetwork-${QT_PV}[ssl] |
118 |
- >=dev-qt/qtprintsupport-${QT_PV} |
119 |
- >=dev-qt/qtquickcontrols-${QT_PV} |
120 |
- >=dev-qt/qtscript-${QT_PV} |
121 |
- >=dev-qt/qtsql-${QT_PV}[sqlite] |
122 |
- >=dev-qt/qtsvg-${QT_PV} |
123 |
- >=dev-qt/qtwidgets-${QT_PV} |
124 |
- >=dev-qt/qtx11extras-${QT_PV} |
125 |
- >=dev-qt/qtxml-${QT_PV} |
126 |
- >=sys-devel/gdb-7.5[client,python] |
127 |
- clang? ( =sys-devel/clang-3.6*:= ) |
128 |
- qbs? ( >=dev-util/qbs-1.4.2 ) |
129 |
- systemd? ( sys-apps/systemd:= ) |
130 |
- webkit? ( >=dev-qt/qtwebkit-${QT_PV} ) |
131 |
-" |
132 |
-DEPEND="${RDEPEND} |
133 |
- >=dev-qt/linguist-tools-${QT_PV} |
134 |
- virtual/pkgconfig |
135 |
- doc? ( >=dev-qt/qdoc-${QT_PV} ) |
136 |
- test? ( >=dev-qt/qttest-${QT_PV} ) |
137 |
-" |
138 |
-for x in ${PLOCALES}; do |
139 |
- # qt translations must be installed for qt-creator translations to work |
140 |
- RDEPEND+=" linguas_${x}? ( >=dev-qt/qttranslations-${QT_PV} )" |
141 |
-done |
142 |
-unset x |
143 |
- |
144 |
-PDEPEND=" |
145 |
- autotools? ( sys-devel/autoconf ) |
146 |
- bazaar? ( dev-vcs/bzr ) |
147 |
- cmake? ( dev-util/cmake ) |
148 |
- cvs? ( dev-vcs/cvs ) |
149 |
- git? ( dev-vcs/git ) |
150 |
- mercurial? ( dev-vcs/mercurial ) |
151 |
- subversion? ( dev-vcs/subversion ) |
152 |
- valgrind? ( dev-util/valgrind ) |
153 |
-" |
154 |
- |
155 |
-PATCHES=( |
156 |
- "${FILESDIR}/3.5.1-tst_fileutils-parentDir.patch" |
157 |
-) |
158 |
- |
159 |
-src_unpack() { |
160 |
- if [[ $(gcc-major-version) -lt 4 ]] || [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 7 ]]; then |
161 |
- eerror "GCC version 4.7 or later is required to build Qt Creator" |
162 |
- die "GCC >= 4.7 required" |
163 |
- fi |
164 |
- |
165 |
- if [[ ${PV} == *9999 ]]; then |
166 |
- git-r3_src_unpack |
167 |
- else |
168 |
- default |
169 |
- fi |
170 |
-} |
171 |
- |
172 |
-src_prepare() { |
173 |
- # apply patches |
174 |
- [[ ${PATCHES[@]} ]] && epatch "${PATCHES[@]}" |
175 |
- epatch_user |
176 |
- |
177 |
- # disable unwanted plugins |
178 |
- for plugin in "${QTC_PLUGINS[@]#[+-]}"; do |
179 |
- if ! use ${plugin%:*}; then |
180 |
- einfo "Disabling ${plugin%:*} plugin" |
181 |
- sed -i -re "/(^\s+|SUBDIRS\s*\+=\s*)(${plugin#*:})\>/d" \ |
182 |
- src/plugins/plugins.pro || die "failed to disable ${plugin%:*} plugin" |
183 |
- fi |
184 |
- done |
185 |
- |
186 |
- # automagic dep on qtwebkit (bug 538236) |
187 |
- if ! use webkit; then |
188 |
- sed -i -e 's/isEmpty(QT\.webkitwidgets\.name)/true/' \ |
189 |
- src/plugins/help/help.pro || die "failed to disable webkit" |
190 |
- fi |
191 |
- |
192 |
- # disable broken or unreliable tests |
193 |
- sed -i -e '/SUBDIRS/ s/\<dumpers\>//' tests/auto/debugger/debugger.pro || die |
194 |
- sed -i -e '/CONFIG -=/ s/$/ testcase/' tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin?/plugin?.pro || die |
195 |
- sed -i -e '/SUBDIRS/ s/\<memcheck\>//' tests/auto/valgrind/valgrind.pro || die |
196 |
- |
197 |
- # fix translations |
198 |
- sed -i -e "/^LANGUAGES =/ s:=.*:= $(l10n_get_locales):" \ |
199 |
- share/qtcreator/translations/translations.pro || die |
200 |
- |
201 |
- # remove bundled qbs |
202 |
- rm -rf src/shared/qbs || die |
203 |
-} |
204 |
- |
205 |
-src_configure() { |
206 |
- eqmake5 IDE_LIBRARY_BASENAME="$(get_libdir)" \ |
207 |
- IDE_PACKAGE_MODE=1 \ |
208 |
- $(use clang && echo LLVM_INSTALL_DIR="${EPREFIX}/usr") \ |
209 |
- $(use qbs && echo QBS_INSTALL_DIR="${EPREFIX}/usr") \ |
210 |
- CONFIG+=qbs_disable_rpath \ |
211 |
- CONFIG+=qbs_enable_project_file_updates \ |
212 |
- $(use systemd && echo CONFIG+=journald) \ |
213 |
- $(use test && echo BUILD_TESTS=1) \ |
214 |
- USE_SYSTEM_BOTAN=1 |
215 |
-} |
216 |
- |
217 |
-src_test() { |
218 |
- cd tests/auto || die |
219 |
- VIRTUALX_COMMAND=default virtualmake |
220 |
-} |
221 |
- |
222 |
-src_install() { |
223 |
- emake INSTALL_ROOT="${ED}usr" install |
224 |
- |
225 |
- dodoc dist/{changes-*,known-issues} |
226 |
- |
227 |
- # install documentation |
228 |
- if use doc; then |
229 |
- emake docs |
230 |
- # don't use ${PF} or the doc will not be found |
231 |
- insinto /usr/share/doc/qtcreator |
232 |
- doins share/doc/qtcreator/qtcreator{,-dev}.qch |
233 |
- docompress -x /usr/share/doc/qtcreator/qtcreator{,-dev}.qch |
234 |
- fi |
235 |
- |
236 |
- # install desktop file |
237 |
- make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Qt;Development;IDE' |
238 |
-} |