1 |
pesa 12/01/03 22:17:42 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: qt-creator-2.4.0-r1.ebuild |
5 |
Removed: qt-creator-2.4.0.ebuild |
6 |
Log: |
7 |
Revbump with major changes: remove USE=qml and always depend on qt-declarative |
8 |
and qt-script (they're required by some core plugins); remove pointless and/or |
9 |
obsolete USE flags; add madde and valgrind USE flags; move VCS packages to |
10 |
PDEPEND; stop adding a custom rpath, the build system already takes care of |
11 |
setting it; install a better icon; other misc cleanups. Also added myself as |
12 |
maintainer. |
13 |
|
14 |
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
15 |
|
16 |
Revision Changes Path |
17 |
1.14 dev-util/qt-creator/metadata.xml |
18 |
|
19 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/qt-creator/metadata.xml?rev=1.14&view=markup |
20 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/qt-creator/metadata.xml?rev=1.14&content-type=text/plain |
21 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/qt-creator/metadata.xml?r1=1.13&r2=1.14 |
22 |
|
23 |
Index: metadata.xml |
24 |
=================================================================== |
25 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/qt-creator/metadata.xml,v |
26 |
retrieving revision 1.13 |
27 |
retrieving revision 1.14 |
28 |
diff -u -r1.13 -r1.14 |
29 |
--- metadata.xml 2 Jan 2012 17:50:12 -0000 1.13 |
30 |
+++ metadata.xml 3 Jan 2012 22:17:42 -0000 1.14 |
31 |
@@ -6,21 +6,24 @@ |
32 |
<email>hwoarang@g.o</email> |
33 |
<name>Markos Chandras</name> |
34 |
</maintainer> |
35 |
+<maintainer> |
36 |
+ <email>pesa@g.o</email> |
37 |
+ <name>Davide Pesavento</name> |
38 |
+</maintainer> |
39 |
<use> |
40 |
- <flag name="bazaar">Add support for bazaar version control system</flag> |
41 |
- <flag name="bineditor">enable bineditor plugin</flag> |
42 |
- <flag name="bookmarks">enable bookmarks plugin</flag> |
43 |
- <flag name="botan-bundled">Use the bundled copy of dev-libs/botan</flag> |
44 |
- <flag name="cmake">enable cmake project manager plugin</flag> |
45 |
- <flag name="designer">enable designer plugin</flag> |
46 |
- <flag name="fakevim">enable vim-like key bindings plugin</flag> |
47 |
- <flag name="git">enable git plugin</flag> |
48 |
- <flag name="mercurial">enable mercurial plugin</flag> |
49 |
- <flag name="perforce">enable perforce software configuration manager plugin</flag> |
50 |
- <flag name="qml">Simple way of building UIs based on Qt Declarative module</flag> |
51 |
- <flag name="qtscript">enable qt script editor plugin</flag> |
52 |
- <flag name="subversion">enable subversion plugin</flag> |
53 |
+ <flag name="bazaar">Add support for <pkg>dev-vcs/bzr</pkg> version control system</flag> |
54 |
+ <flag name="bineditor">Enable bineditor plugin</flag> |
55 |
+ <flag name="bookmarks">Enable bookmarks plugin</flag> |
56 |
+ <flag name="botan-bundled">Use the bundled copy of <pkg>dev-libs/botan</pkg></flag> |
57 |
+ <flag name="cmake">Enable cmake project manager plugin</flag> |
58 |
+ <flag name="designer">Enable Qt Designer integration</flag> |
59 |
+ <flag name="fakevim">Enable support for vim-like key bindings</flag> |
60 |
+ <flag name="git">Add support for <pkg>dev-vcs/git</pkg> version control system</flag> |
61 |
+ <flag name="madde">Enable integration with MADDE (Maemo Application Development and Debugging Environment)</flag> |
62 |
+ <flag name="mercurial">Add support for <pkg>dev-vcs/mercurial</pkg> version control system</flag> |
63 |
+ <flag name="perforce">Enable perforce software configuration manager plugin</flag> |
64 |
+ <flag name="qml">Build QML support and many other QML-related tools (recommended)</flag> |
65 |
+ <flag name="qtscript">Enable QtScript editor plugin</flag> |
66 |
+ <flag name="valgrind">Add support for memory debugging using <pkg>dev-util/valgrind</pkg></flag> |
67 |
</use> |
68 |
-<longdescription lang="en"> |
69 |
-</longdescription> |
70 |
</pkgmetadata> |
71 |
|
72 |
|
73 |
|
74 |
1.105 dev-util/qt-creator/ChangeLog |
75 |
|
76 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/qt-creator/ChangeLog?rev=1.105&view=markup |
77 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/qt-creator/ChangeLog?rev=1.105&content-type=text/plain |
78 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/qt-creator/ChangeLog?r1=1.104&r2=1.105 |
79 |
|
80 |
Index: ChangeLog |
81 |
=================================================================== |
82 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/qt-creator/ChangeLog,v |
83 |
retrieving revision 1.104 |
84 |
retrieving revision 1.105 |
85 |
diff -u -r1.104 -r1.105 |
86 |
--- ChangeLog 2 Jan 2012 17:50:12 -0000 1.104 |
87 |
+++ ChangeLog 3 Jan 2012 22:17:42 -0000 1.105 |
88 |
@@ -1,6 +1,17 @@ |
89 |
# ChangeLog for dev-util/qt-creator |
90 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
91 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/qt-creator/ChangeLog,v 1.104 2012/01/02 17:50:12 pesa Exp $ |
92 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/qt-creator/ChangeLog,v 1.105 2012/01/03 22:17:42 pesa Exp $ |
93 |
+ |
94 |
+*qt-creator-2.4.0-r1 (03 Jan 2012) |
95 |
+ |
96 |
+ 03 Jan 2012; Davide Pesavento <pesa@g.o> +qt-creator-2.4.0-r1.ebuild, |
97 |
+ -qt-creator-2.4.0.ebuild, metadata.xml: |
98 |
+ Revbump with major changes: remove USE=qml and always depend on qt-declarative |
99 |
+ and qt-script (they're required by some core plugins); remove pointless and/or |
100 |
+ obsolete USE flags; add madde and valgrind USE flags; move VCS packages to |
101 |
+ PDEPEND; stop adding a custom rpath, the build system already takes care of |
102 |
+ setting it; install a better icon; other misc cleanups. Also added myself as |
103 |
+ maintainer. |
104 |
|
105 |
02 Jan 2012; Davide Pesavento <pesa@g.o> -files/docs_gen.patch, |
106 |
-files/qt-creator-1.3.1-qt47.patch, metadata.xml: |
107 |
|
108 |
|
109 |
|
110 |
1.1 dev-util/qt-creator/qt-creator-2.4.0-r1.ebuild |
111 |
|
112 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/qt-creator/qt-creator-2.4.0-r1.ebuild?rev=1.1&view=markup |
113 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/qt-creator/qt-creator-2.4.0-r1.ebuild?rev=1.1&content-type=text/plain |
114 |
|
115 |
Index: qt-creator-2.4.0-r1.ebuild |
116 |
=================================================================== |
117 |
# Copyright 1999-2012 Gentoo Foundation |
118 |
# Distributed under the terms of the GNU General Public License v2 |
119 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/qt-creator/qt-creator-2.4.0-r1.ebuild,v 1.1 2012/01/03 22:17:42 pesa Exp $ |
120 |
|
121 |
EAPI="4" |
122 |
LANGS="cs de es fr hu it ja pl ru sl uk zh_CN" |
123 |
|
124 |
inherit multilib eutils flag-o-matic qt4-r2 |
125 |
|
126 |
MY_P=${PN}-${PV/_/-}-src |
127 |
|
128 |
DESCRIPTION="Lightweight IDE for C++ development centering around Qt" |
129 |
HOMEPAGE="http://qt.nokia.com/products/developer-tools" |
130 |
SRC_URI="http://get.qt.nokia.com/qtcreator/${MY_P}.tar.gz" |
131 |
|
132 |
LICENSE="LGPL-2.1" |
133 |
SLOT="0" |
134 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
135 |
|
136 |
QTC_PLUGINS=(bazaar cmake:cmakeprojectmanager cvs fakevim |
137 |
git madde mercurial perforce subversion valgrind) |
138 |
IUSE="+botan-bundled debug doc examples ${QTC_PLUGINS[@]%:*}" |
139 |
|
140 |
QTVER="4.7.4:4" |
141 |
CDEPEND=" |
142 |
>=x11-libs/qt-core-${QTVER}[private-headers(+)] |
143 |
>=x11-libs/qt-declarative-${QTVER}[private-headers(+)] |
144 |
>=x11-libs/qt-gui-${QTVER}[private-headers(+)] |
145 |
>=x11-libs/qt-script-${QTVER}[private-headers(+)] |
146 |
>=x11-libs/qt-sql-${QTVER} |
147 |
>=x11-libs/qt-svg-${QTVER} |
148 |
debug? ( >=x11-libs/qt-test-${QTVER} ) |
149 |
doc? ( >=x11-libs/qt-assistant-${QTVER}[doc] ) |
150 |
!botan-bundled? ( =dev-libs/botan-1.8* ) |
151 |
" |
152 |
DEPEND="${CDEPEND} |
153 |
!botan-bundled? ( dev-util/pkgconfig ) |
154 |
" |
155 |
RDEPEND="${CDEPEND} |
156 |
sys-devel/gdb[python] |
157 |
examples? ( >=x11-libs/qt-demo-${QTVER} ) |
158 |
" |
159 |
PDEPEND=" |
160 |
bazaar? ( dev-vcs/bzr ) |
161 |
cmake? ( dev-util/cmake ) |
162 |
cvs? ( dev-vcs/cvs ) |
163 |
git? ( dev-vcs/git ) |
164 |
mercurial? ( dev-vcs/mercurial ) |
165 |
subversion? ( dev-vcs/subversion ) |
166 |
valgrind? ( dev-util/valgrind ) |
167 |
" |
168 |
|
169 |
S=${WORKDIR}/${MY_P} |
170 |
|
171 |
src_prepare() { |
172 |
qt4-r2_src_prepare |
173 |
|
174 |
# disable unwanted plugins |
175 |
for plugin in "${QTC_PLUGINS[@]#[+-]}"; do |
176 |
if ! use ${plugin%:*}; then |
177 |
einfo "Disabling ${plugin%:*} plugin" |
178 |
sed -i -e "/^[[:space:]]\+plugin_${plugin#*:}/d" src/plugins/plugins.pro \ |
179 |
|| die "failed to disable ${plugin} plugin" |
180 |
fi |
181 |
done |
182 |
|
183 |
if use perforce; then |
184 |
ewarn |
185 |
ewarn "You have enabled the perforce plugin." |
186 |
ewarn "In order to use it, you need to manually download the perforce client from" |
187 |
ewarn " http://www.perforce.com/perforce/downloads/index.html" |
188 |
ewarn |
189 |
fi |
190 |
|
191 |
# fix translations |
192 |
sed -i -e "/^LANGUAGES/s:=.*:= ${LANGS}:" \ |
193 |
share/qtcreator/translations/translations.pro || die |
194 |
|
195 |
if ! use botan-bundled; then |
196 |
# identify system botan and pkg-config file |
197 |
local botan_version=$(best_version dev-libs/botan | cut -d '-' -f3 | \ |
198 |
cut -d '.' -f1,2) |
199 |
local lib_botan=$(pkg-config --libs botan-${botan_version}) |
200 |
einfo "Major version of system's botan library to be used: ${botan_version}" |
201 |
|
202 |
# drop bundled libBotan. Bug #383033 |
203 |
rm -rf "${S}"/src/libs/3rdparty/botan || die |
204 |
# remove references to bundled botan |
205 |
sed -i -e "s:botan::" "${S}"/src/libs/3rdparty/3rdparty.pro || die |
206 |
for x in testrunner parsertests modeldemo; do |
207 |
sed -i -e "/botan.pri/d" "${S}"/tests/valgrind/memcheck/${x}.pro || die |
208 |
done |
209 |
sed -i -e "/botan.pri/d" "${S}"/src/libs/utils/utils_dependencies.pri || die |
210 |
sed -i -e "/botan.pri/d" "${S}"/tests/manual/preprocessor/preprocessor.pro || die |
211 |
# link to system botan |
212 |
sed -i -e "/LIBS/s:$: ${lib_botan}:" "${S}"/qtcreator.pri || die |
213 |
sed -i -e "s:-lBotan:${lib_botan}:" "${S}"/tests/manual/appwizards/appwizards.pro || die |
214 |
# append botan refs to compiler flags |
215 |
append-flags $(pkg-config --cflags --libs botan-${botan_version}) |
216 |
fi |
217 |
} |
218 |
|
219 |
src_configure() { |
220 |
eqmake4 qtcreator.pro \ |
221 |
IDE_LIBRARY_BASENAME="$(get_libdir)" \ |
222 |
IDE_PACKAGE_MODE=true |
223 |
} |
224 |
|
225 |
src_compile() { |
226 |
emake |
227 |
use doc && emake docs |
228 |
} |
229 |
|
230 |
src_install() { |
231 |
emake INSTALL_ROOT="${D%/}${EPREFIX}/usr" install |
232 |
|
233 |
if use doc; then |
234 |
emake INSTALL_ROOT="${D%/}${EPREFIX}/usr" install_docs |
235 |
fi |
236 |
|
237 |
# Install icon & desktop file |
238 |
doicon src/plugins/coreplugin/images/logo/128/qtcreator.png || die |
239 |
make_desktop_entry qtcreator 'Qt Creator' qtcreator 'Qt;Development;IDE' || die |
240 |
|
241 |
# Remove unneeded translations |
242 |
local lang |
243 |
for lang in ${LANGS}; do |
244 |
if ! has ${lang} ${LINGUAS}; then |
245 |
rm "${D}"/usr/share/qtcreator/translations/qtcreator_${lang}.qm \ |
246 |
|| eqawarn "failed to remove ${lang} translation" |
247 |
fi |
248 |
done |
249 |
} |