1 |
wired 10/10/09 20:26:39 |
2 |
|
3 |
Modified: qt-assistant-4.7.0.ebuild ChangeLog metadata.xml |
4 |
Log: |
5 |
added optional compatibility package support |
6 |
|
7 |
(Portage version: 2.2_rc89/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.5 x11-libs/qt-assistant/qt-assistant-4.7.0.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-assistant/qt-assistant-4.7.0.ebuild?rev=1.5&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-assistant/qt-assistant-4.7.0.ebuild?rev=1.5&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-assistant/qt-assistant-4.7.0.ebuild?r1=1.4&r2=1.5 |
15 |
|
16 |
Index: qt-assistant-4.7.0.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt-assistant/qt-assistant-4.7.0.ebuild,v |
19 |
retrieving revision 1.4 |
20 |
retrieving revision 1.5 |
21 |
diff -u -r1.4 -r1.5 |
22 |
--- qt-assistant-4.7.0.ebuild 9 Oct 2010 16:50:05 -0000 1.4 |
23 |
+++ qt-assistant-4.7.0.ebuild 9 Oct 2010 20:26:38 -0000 1.5 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2010 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-assistant/qt-assistant-4.7.0.ebuild,v 1.4 2010/10/09 16:50:05 armin76 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-assistant/qt-assistant-4.7.0.ebuild,v 1.5 2010/10/09 20:26:38 wired Exp $ |
29 |
|
30 |
EAPI="3" |
31 |
inherit qt4-build |
32 |
@@ -8,7 +8,8 @@ |
33 |
DESCRIPTION="The assistant help module for the Qt toolkit" |
34 |
SLOT="4" |
35 |
KEYWORDS="~amd64 ~arm ~ia64 ~x86" |
36 |
-IUSE="doc +glib trace" |
37 |
+IUSE="compat doc +glib trace" |
38 |
+SRC_URI+=" compat? ( ftp://ftp.qt.nokia.com/qt/source/${PN}-qassistantclient-library-compat-src-4.6.3.tar.gz )" |
39 |
|
40 |
DEPEND="~x11-libs/qt-gui-${PV}[aqua=,glib=,trace?] |
41 |
~x11-libs/qt-sql-${PV}[aqua=,sqlite] |
42 |
@@ -38,6 +39,27 @@ |
43 |
qt4-build_pkg_setup |
44 |
} |
45 |
|
46 |
+src_unpack() { |
47 |
+ qt4-build_src_unpack |
48 |
+ # compat version |
49 |
+ # http://labs.qt.nokia.com/2010/06/22/qt-assistant-compat-version-available-as-extra-source-package/ |
50 |
+ if use compat; then |
51 |
+ unpack "${PN}"-qassistantclient-library-compat-src-4.6.3.tar.gz |
52 |
+ mv "${WORKDIR}"/"${PN}"-qassistantclient-library-compat-version-4.6.3 \ |
53 |
+ "${S}"/tools/assistant/compat || |
54 |
+ die "moving compat to the right place failed" |
55 |
+ tar xzf "${FILESDIR}"/"${PN}"-4.7-include.tar.gz -C "${S}"/include/ || |
56 |
+ die "unpacking the include files failed" |
57 |
+ fi |
58 |
+} |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ qt4-build_src_prepare |
62 |
+ if use compat; then |
63 |
+ epatch "${FILESDIR}"/"${PN}"-4.7-fix-compat.patch |
64 |
+ fi |
65 |
+} |
66 |
+ |
67 |
src_configure() { |
68 |
myconf="${myconf} -no-xkb -no-fontconfig -no-xrender -no-xrandr |
69 |
-no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl |
70 |
@@ -85,4 +107,9 @@ |
71 |
make_desktop_entry "${EPREFIX}"/usr/bin/assistant Assistant \ |
72 |
"${EPREFIX}"/usr/share/pixmaps/assistant.png 'Qt;Development;GUIDesigner' || |
73 |
die "make_desktop_entry failed" |
74 |
+ |
75 |
+ if use compat; then |
76 |
+ insinto /usr/share/qt4/mkspecs/features || die "insinto failed" |
77 |
+ doins tools/assistant/compat/features/assistant.prf || die "doins failed" |
78 |
+ fi |
79 |
} |
80 |
|
81 |
|
82 |
|
83 |
1.90 x11-libs/qt-assistant/ChangeLog |
84 |
|
85 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-assistant/ChangeLog?rev=1.90&view=markup |
86 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-assistant/ChangeLog?rev=1.90&content-type=text/plain |
87 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-assistant/ChangeLog?r1=1.89&r2=1.90 |
88 |
|
89 |
Index: ChangeLog |
90 |
=================================================================== |
91 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt-assistant/ChangeLog,v |
92 |
retrieving revision 1.89 |
93 |
retrieving revision 1.90 |
94 |
diff -u -r1.89 -r1.90 |
95 |
--- ChangeLog 9 Oct 2010 16:50:20 -0000 1.89 |
96 |
+++ ChangeLog 9 Oct 2010 20:26:38 -0000 1.90 |
97 |
@@ -1,6 +1,11 @@ |
98 |
# ChangeLog for x11-libs/qt-assistant |
99 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
100 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-assistant/ChangeLog,v 1.89 2010/10/09 16:50:20 armin76 Exp $ |
101 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-assistant/ChangeLog,v 1.90 2010/10/09 20:26:38 wired Exp $ |
102 |
+ |
103 |
+ 09 Oct 2010; Alex Alexander <wired@g.o> qt-assistant-4.7.0.ebuild, |
104 |
+ +files/qt-assistant-4.7-fix-compat.patch, |
105 |
+ +files/qt-assistant-4.7-include.tar.gz, metadata.xml: |
106 |
+ added optional compatibility package support |
107 |
|
108 |
09 Oct 2010; Raúl Porcel <armin76@g.o> qt-assistant-4.7.0.ebuild: |
109 |
Add ~ia64 wrt #338289 |
110 |
|
111 |
|
112 |
|
113 |
1.8 x11-libs/qt-assistant/metadata.xml |
114 |
|
115 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-assistant/metadata.xml?rev=1.8&view=markup |
116 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-assistant/metadata.xml?rev=1.8&content-type=text/plain |
117 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/qt-assistant/metadata.xml?r1=1.7&r2=1.8 |
118 |
|
119 |
Index: metadata.xml |
120 |
=================================================================== |
121 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt-assistant/metadata.xml,v |
122 |
retrieving revision 1.7 |
123 |
retrieving revision 1.8 |
124 |
diff -u -r1.7 -r1.8 |
125 |
--- metadata.xml 21 Sep 2010 14:37:38 -0000 1.7 |
126 |
+++ metadata.xml 9 Oct 2010 20:26:38 -0000 1.8 |
127 |
@@ -3,6 +3,9 @@ |
128 |
<pkgmetadata> |
129 |
<herd>qt</herd> |
130 |
<use> |
131 |
+ <flag name='compat'>Build the extra compatibility package required by |
132 |
+ a few packages. More information at |
133 |
+ http://labs.qt.nokia.com/2010/06/22/qt-assistant-compat-version-available-as-extra-source-package/</flag> |
134 |
<flag name='exceptions'>Add support for exceptions - like catching them |
135 |
inside the event loop (recommended by Nokia)</flag> |
136 |
<flag name='trace'>Build the qttracereplay utility which is required to |