1 |
wired 12/01/29 16:59:14 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: qt-assistant-4.8.0.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.10 x11-libs/qt-assistant/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-assistant/metadata.xml?rev=1.10&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-assistant/metadata.xml?rev=1.10&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-assistant/metadata.xml?r1=1.9&r2=1.10 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt-assistant/metadata.xml,v |
20 |
retrieving revision 1.9 |
21 |
retrieving revision 1.10 |
22 |
diff -u -r1.9 -r1.10 |
23 |
--- metadata.xml 9 Nov 2010 09:12:02 -0000 1.9 |
24 |
+++ metadata.xml 29 Jan 2012 16:59:14 -0000 1.10 |
25 |
@@ -13,5 +13,8 @@ |
26 |
<flag name='trace'>Build the qttracereplay utility which is required to |
27 |
play drawings recorded with the trace graphicssystem engine</flag> |
28 |
<flag name='glib'>Enable <pkg>dev-libs/glib</pkg> eventloop support</flag> |
29 |
+ <flag name='webkit'>Build the WebView QML element</flag> |
30 |
+ <flag name='c++0x'>Build Qt using the C++11 standard</flag> |
31 |
+ <flag name='qpa'>Build a window system agnostic implementation of Qt</flag> |
32 |
</use> |
33 |
</pkgmetadata> |
34 |
|
35 |
|
36 |
|
37 |
1.117 x11-libs/qt-assistant/ChangeLog |
38 |
|
39 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-assistant/ChangeLog?rev=1.117&view=markup |
40 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-assistant/ChangeLog?rev=1.117&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-assistant/ChangeLog?r1=1.116&r2=1.117 |
42 |
|
43 |
Index: ChangeLog |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt-assistant/ChangeLog,v |
46 |
retrieving revision 1.116 |
47 |
retrieving revision 1.117 |
48 |
diff -u -r1.116 -r1.117 |
49 |
--- ChangeLog 27 Dec 2011 21:39:02 -0000 1.116 |
50 |
+++ ChangeLog 29 Jan 2012 16:59:14 -0000 1.117 |
51 |
@@ -1,6 +1,12 @@ |
52 |
# ChangeLog for x11-libs/qt-assistant |
53 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-assistant/ChangeLog,v 1.116 2011/12/27 21:39:02 maekke Exp $ |
55 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
56 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-assistant/ChangeLog,v 1.117 2012/01/29 16:59:14 wired Exp $ |
57 |
+ |
58 |
+*qt-assistant-4.8.0 (29 Jan 2012) |
59 |
+ |
60 |
+ 29 Jan 2012; Alex Alexander <wired@g.o> +qt-assistant-4.8.0.ebuild, |
61 |
+ +files/qt-assistant-4.8.0-install-fix.patch, metadata.xml: |
62 |
+ version bump |
63 |
|
64 |
27 Dec 2011; Markus Meier <maekke@g.o> qt-assistant-4.7.4.ebuild: |
65 |
x86 stable, bug #390963 |
66 |
|
67 |
|
68 |
|
69 |
1.1 x11-libs/qt-assistant/qt-assistant-4.8.0.ebuild |
70 |
|
71 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-assistant/qt-assistant-4.8.0.ebuild?rev=1.1&view=markup |
72 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-assistant/qt-assistant-4.8.0.ebuild?rev=1.1&content-type=text/plain |
73 |
|
74 |
Index: qt-assistant-4.8.0.ebuild |
75 |
=================================================================== |
76 |
# Copyright 1999-2012 Gentoo Foundation |
77 |
# Distributed under the terms of the GNU General Public License v2 |
78 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-assistant/qt-assistant-4.8.0.ebuild,v 1.1 2012/01/29 16:59:14 wired Exp $ |
79 |
|
80 |
EAPI="3" |
81 |
if [[ ${PV} == 4*9999 ]]; then |
82 |
ECLASS="-edge" |
83 |
fi |
84 |
inherit qt4-build${ECLASS} |
85 |
|
86 |
DESCRIPTION="The assistant help module for the Qt toolkit" |
87 |
SLOT="4" |
88 |
if [[ ${PV} != 4*9999 ]]; then |
89 |
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~ppc-macos" |
90 |
else |
91 |
KEYWORDS="" |
92 |
fi |
93 |
IUSE="compat doc +glib qt3support trace webkit" |
94 |
SRC_URI+=" compat? ( ftp://ftp.qt.nokia.com/qt/source/${PN}-qassistantclient-library-compat-src-4.6.3.tar.gz )" |
95 |
|
96 |
DEPEND="~x11-libs/qt-gui-${PV}[aqua=,c++0x=,qpa=,debug=,glib=,qt3support=,trace?] |
97 |
~x11-libs/qt-sql-${PV}[aqua=,c++0x=,qpa=,debug=,qt3support=,sqlite] |
98 |
webkit? ( ~x11-libs/qt-webkit-${PV}[aqua=,c++0x=,qpa=,debug=] )" |
99 |
RDEPEND="${DEPEND}" |
100 |
|
101 |
PATCHES=( |
102 |
# bug 395067 |
103 |
"${FILESDIR}/${P}-install-fix.patch" |
104 |
) |
105 |
|
106 |
pkg_setup() { |
107 |
# Pixeltool isn't really assistant related, but it relies on |
108 |
# the assistant libraries. doc/qch/ |
109 |
QT4_TARGET_DIRECTORIES=" |
110 |
tools/assistant |
111 |
tools/pixeltool |
112 |
tools/qdoc3" |
113 |
if [[ ${PV} != 4*9999 ]]; then |
114 |
QT4_EXTRACT_DIRECTORIES=" |
115 |
tools/ |
116 |
demos/ |
117 |
examples/ |
118 |
src/ |
119 |
include/ |
120 |
doc/" |
121 |
fi |
122 |
|
123 |
use trace && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
124 |
tools/qttracereplay" |
125 |
QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
126 |
${QT4_EXTRACT_DIRECTORIES}" |
127 |
|
128 |
qt4-build${ECLASS}_pkg_setup |
129 |
} |
130 |
|
131 |
src_unpack() { |
132 |
qt4-build${ECLASS}_src_unpack |
133 |
# compat version |
134 |
# http://labs.qt.nokia.com/2010/06/22/qt-assistant-compat-version-available-as-extra-source-package/ |
135 |
if use compat; then |
136 |
unpack "${PN}"-qassistantclient-library-compat-src-4.6.3.tar.gz |
137 |
mv "${WORKDIR}"/"${PN}"-qassistantclient-library-compat-version-4.6.3 \ |
138 |
"${S}"/tools/assistant/compat || |
139 |
die "moving compat to the right place failed" |
140 |
tar xzf "${FILESDIR}"/"${PN}"-4.7-include.tar.gz -C "${S}"/include/ || |
141 |
die "unpacking the include files failed" |
142 |
fi |
143 |
} |
144 |
|
145 |
src_prepare() { |
146 |
qt4-build${ECLASS}_src_prepare |
147 |
if use compat; then |
148 |
epatch "${FILESDIR}"/"${PN}"-4.7-fix-compat.patch |
149 |
fi |
150 |
sed -e "s/\(sub-qdoc3\.depends =\).*/\1/" \ |
151 |
-i doc/doc.pri || die "patching qdoc3 depends failed" |
152 |
# bug 401173 |
153 |
! use webkit && epatch "${FILESDIR}"/disable-webkit.patch |
154 |
} |
155 |
|
156 |
src_configure() { |
157 |
myconf="${myconf} -no-xkb -no-fontconfig -no-xrandr |
158 |
-no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl |
159 |
-no-nas-sound -no-dbus -iconv -no-cups -no-nis -no-gif -no-libpng |
160 |
-no-libmng -no-libjpeg -no-openssl -system-zlib -no-phonon |
161 |
-no-xmlpatterns -no-freetype -no-libtiff -no-accessibility |
162 |
-no-fontconfig -no-multimedia |
163 |
-no-svg $(qt_use qt3support) $(qt_use webkit)" |
164 |
! use glib && myconf="${myconf} -no-glib" |
165 |
|
166 |
qt4-build${ECLASS}_src_configure |
167 |
} |
168 |
|
169 |
src_compile() { |
170 |
# help libQtHelp find freshly built libQtCLucene (bug #289811) |
171 |
export LD_LIBRARY_PATH="${S}/lib:${QTLIBDIR}" |
172 |
export DYLD_LIBRARY_PATH="${S}/lib:${S}/lib/QtHelp.framework" |
173 |
|
174 |
qt4-build${ECLASS}_src_compile |
175 |
|
176 |
# ugly hack to build docs |
177 |
cd "${S}" |
178 |
qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip" projects.pro || die |
179 |
# live ebuild cannot build qch_docs. It will build them through emake docs |
180 |
if [[ ${PV} != 4*9999 ]]; then |
181 |
emake qch_docs || die "emake qch_docs failed " |
182 |
fi |
183 |
if use doc; then |
184 |
emake docs || die "emake docs failed" |
185 |
fi |
186 |
qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip" projects.pro || die |
187 |
} |
188 |
|
189 |
src_install() { |
190 |
qt4-build${ECLASS}_src_install |
191 |
cd "${S}" |
192 |
#see src_compile note |
193 |
if [[ ${PV} != 4*9999 ]]; then |
194 |
emake INSTALL_ROOT="${D}" install_qchdocs \ |
195 |
|| die "failed to install qch docs" |
196 |
fi |
197 |
if use doc; then |
198 |
emake INSTALL_ROOT="${D}" install_htmldocs \ |
199 |
|| die "failed to install htmldocs" |
200 |
# Now it is time for the live ebuild to install the qch docs |
201 |
if [[ ${PV} == 4*9999 ]]; then |
202 |
emake INSTALL_ROOT="${D}" install_qchdocs \ |
203 |
|| die "failed to install qch docs" |
204 |
fi |
205 |
fi |
206 |
dobin "${S}"/bin/qdoc3 || die "Failed to install qdoc3" |
207 |
# install correct assistant icon, bug 241208 |
208 |
dodir /usr/share/pixmaps/ || die "dodir failed" |
209 |
insinto /usr/share/pixmaps/ |
210 |
doins tools/assistant/tools/assistant/images/assistant.png || |
211 |
die "doins failed" |
212 |
# Note: absolute image path required here! |
213 |
make_desktop_entry assistant Assistant \ |
214 |
"${EPREFIX}"/usr/share/pixmaps/assistant.png 'Qt;Development;GUIDesigner' \ |
215 |
|| die "make_desktop_entry failed" |
216 |
|
217 |
if use compat; then |
218 |
insinto /usr/share/qt4/mkspecs/features || die "insinto failed" |
219 |
doins tools/assistant/compat/features/assistant.prf || die "doins failed" |
220 |
fi |
221 |
} |