1 |
pesa 13/07/30 18:10:30 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: qthelp-4.8.5-r2.ebuild |
5 |
Removed: qthelp-4.8.5-r1.ebuild |
6 |
Log: |
7 |
Properly fix bug 477316, also fixing bug 478034 that was caused by the ugly hacks in -r1. |
8 |
|
9 |
(Portage version: 2.2.0_alpha190/cvs/Linux x86_64, signed Manifest commit with key 17A85C72) |
10 |
|
11 |
Revision Changes Path |
12 |
1.10 dev-qt/qthelp/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qthelp/ChangeLog?rev=1.10&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qthelp/ChangeLog?rev=1.10&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qthelp/ChangeLog?r1=1.9&r2=1.10 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-qt/qthelp/ChangeLog,v |
21 |
retrieving revision 1.9 |
22 |
retrieving revision 1.10 |
23 |
diff -u -r1.9 -r1.10 |
24 |
--- ChangeLog 19 Jul 2013 06:19:38 -0000 1.9 |
25 |
+++ ChangeLog 30 Jul 2013 18:10:30 -0000 1.10 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for dev-qt/qthelp |
28 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-qt/qthelp/ChangeLog,v 1.9 2013/07/19 06:19:38 patrick Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-qt/qthelp/ChangeLog,v 1.10 2013/07/30 18:10:30 pesa Exp $ |
31 |
+ |
32 |
+*qthelp-4.8.5-r2 (30 Jul 2013) |
33 |
+ |
34 |
+ 30 Jul 2013; Davide Pesavento <pesa@g.o> |
35 |
+ +files/qthelp-4.8.5-fix-compat.patch, +qthelp-4.8.5-r2.ebuild, |
36 |
+ -qthelp-4.8.5-r1.ebuild: |
37 |
+ Properly fix bug 477316, also fixing bug 478034 that was caused by the ugly |
38 |
+ hacks in -r1. |
39 |
|
40 |
*qthelp-4.8.5-r1 (19 Jul 2013) |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.1 dev-qt/qthelp/qthelp-4.8.5-r2.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qthelp/qthelp-4.8.5-r2.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-qt/qthelp/qthelp-4.8.5-r2.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: qthelp-4.8.5-r2.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2013 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qthelp/qthelp-4.8.5-r2.ebuild,v 1.1 2013/07/30 18:10:30 pesa Exp $ |
55 |
|
56 |
EAPI=5 |
57 |
|
58 |
inherit eutils qt4-build |
59 |
|
60 |
DESCRIPTION="The Help module for the Qt toolkit" |
61 |
SRC_URI+=" |
62 |
compat? ( |
63 |
ftp://ftp.qt.nokia.com/qt/source/qt-assistant-qassistantclient-library-compat-src-4.6.3.tar.gz |
64 |
http://dev.gentoo.org/~pesa/distfiles/qt-assistant-compat-headers-4.7.tar.gz |
65 |
)" |
66 |
|
67 |
SLOT="4" |
68 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then |
69 |
KEYWORDS="" |
70 |
else |
71 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-linux" |
72 |
fi |
73 |
|
74 |
IUSE="compat doc" |
75 |
|
76 |
DEPEND=" |
77 |
~dev-qt/qtcore-${PV}[aqua=,debug=] |
78 |
~dev-qt/qtgui-${PV}[aqua=,debug=] |
79 |
~dev-qt/qtsql-${PV}[aqua=,debug=,sqlite] |
80 |
compat? ( |
81 |
~dev-qt/qtdbus-${PV}[aqua=,debug=] |
82 |
sys-libs/zlib |
83 |
) |
84 |
" |
85 |
RDEPEND="${DEPEND}" |
86 |
|
87 |
pkg_setup() { |
88 |
QT4_TARGET_DIRECTORIES=" |
89 |
tools/assistant/lib/fulltextsearch |
90 |
tools/assistant/lib |
91 |
tools/assistant/tools/qhelpgenerator |
92 |
tools/assistant/tools/qcollectiongenerator |
93 |
tools/assistant/tools/qhelpconverter |
94 |
tools/qdoc3" |
95 |
QT4_EXTRACT_DIRECTORIES=" |
96 |
demos |
97 |
doc |
98 |
examples |
99 |
include |
100 |
src |
101 |
tools" |
102 |
|
103 |
use compat && QT4_TARGET_DIRECTORIES+=" |
104 |
tools/assistant/compat |
105 |
tools/assistant/compat/lib" |
106 |
|
107 |
qt4-build_pkg_setup |
108 |
} |
109 |
|
110 |
src_unpack() { |
111 |
qt4-build_src_unpack |
112 |
|
113 |
# compat version |
114 |
# http://blog.qt.digia.com/blog/2010/06/22/qt-assistant-compat-version-available-as-extra-source-package/ |
115 |
if use compat; then |
116 |
unpack qt-assistant-qassistantclient-library-compat-src-4.6.3.tar.gz \ |
117 |
qt-assistant-compat-headers-4.7.tar.gz |
118 |
mv "${WORKDIR}"/qt-assistant-qassistantclient-library-compat-version-4.6.3 \ |
119 |
"${S}"/tools/assistant/compat || die |
120 |
mv "${WORKDIR}"/QtAssistant "${S}"/include/ || die |
121 |
fi |
122 |
} |
123 |
|
124 |
src_prepare() { |
125 |
qt4-build_src_prepare |
126 |
|
127 |
use compat && epatch "${FILESDIR}"/${PN}-4.8.5-fix-compat.patch |
128 |
|
129 |
# bug 348034 |
130 |
sed -i -e '/^sub-qdoc3\.depends/d' doc/doc.pri || die |
131 |
} |
132 |
|
133 |
src_configure() { |
134 |
myconf+=" |
135 |
-system-libpng -system-libjpeg -system-zlib |
136 |
-no-sql-mysql -no-sql-psql -no-sql-ibase -no-sql-sqlite2 -no-sql-odbc |
137 |
-sm -xshape -xsync -xcursor -xfixes -xrandr -xrender -mitshm -xinput -xkb |
138 |
-no-multimedia -no-opengl -no-phonon -no-svg -no-webkit -no-xmlpatterns |
139 |
-no-nas-sound -no-cups -no-nis -fontconfig" |
140 |
|
141 |
qt4-build_src_configure |
142 |
} |
143 |
|
144 |
src_compile() { |
145 |
# help libQtHelp find freshly built libQtCLucene (bug #289811) |
146 |
export LD_LIBRARY_PATH="${S}/lib:${QTLIBDIR}" |
147 |
export DYLD_LIBRARY_PATH="${S}/lib:${S}/lib/QtHelp.framework" |
148 |
|
149 |
qt4-build_src_compile |
150 |
|
151 |
# ugly hack to build docs |
152 |
"${S}"/bin/qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip" || die |
153 |
|
154 |
if use doc; then |
155 |
emake docs |
156 |
elif [[ ${QT4_BUILD_TYPE} == release ]]; then |
157 |
# live ebuild cannot build qch_docs, it will build them through emake docs |
158 |
emake qch_docs |
159 |
fi |
160 |
} |
161 |
|
162 |
src_install() { |
163 |
qt4-build_src_install |
164 |
|
165 |
emake INSTALL_ROOT="${D}" install_qchdocs |
166 |
|
167 |
# do not compress .qch files |
168 |
docompress -x "${QTDOCDIR}"/qch |
169 |
|
170 |
if use doc; then |
171 |
emake INSTALL_ROOT="${D}" install_htmldocs |
172 |
fi |
173 |
|
174 |
if use compat; then |
175 |
insinto "${QTDATADIR#${EPREFIX}}"/mkspecs/features |
176 |
doins tools/assistant/compat/features/assistant.prf |
177 |
fi |
178 |
} |