Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/qt-assistant: metadata.xml ChangeLog qt-assistant-4.6.2-r1.ebuild
Date: Sat, 01 May 2010 18:21:44
Message-Id: 20100501182141.6C6472C132@corvid.gentoo.org
1 hwoarang 10/05/01 18:21:41
2
3 Modified: metadata.xml ChangeLog
4 Added: qt-assistant-4.6.2-r1.ebuild
5 Log:
6 Add trace use flag to build qttracereplay utility. Fixes bug #317802
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.6 x11-libs/qt-assistant/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-assistant/metadata.xml?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-assistant/metadata.xml?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-assistant/metadata.xml?r1=1.5&r2=1.6
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt-assistant/metadata.xml,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- metadata.xml 18 Feb 2010 00:06:53 -0000 1.5
23 +++ metadata.xml 1 May 2010 18:21:41 -0000 1.6
24 @@ -5,5 +5,9 @@
25 <use>
26 <flag name='exceptions'>Add support for exceptions - like catching them
27 inside the event loop (recommended by Nokia)</flag>
28 + <flag name='trace'>
29 + Build the qttracereplay utility which is required to play drawings
30 + recorded with the trace graphicssystem engine
31 + </flag>
32 </use>
33 </pkgmetadata>
34
35
36
37 1.76 x11-libs/qt-assistant/ChangeLog
38
39 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-assistant/ChangeLog?rev=1.76&view=markup
40 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-assistant/ChangeLog?rev=1.76&content-type=text/plain
41 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-assistant/ChangeLog?r1=1.75&r2=1.76
42
43 Index: ChangeLog
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt-assistant/ChangeLog,v
46 retrieving revision 1.75
47 retrieving revision 1.76
48 diff -u -r1.75 -r1.76
49 --- ChangeLog 18 Apr 2010 13:07:14 -0000 1.75
50 +++ ChangeLog 1 May 2010 18:21:41 -0000 1.76
51 @@ -1,6 +1,12 @@
52 # ChangeLog for x11-libs/qt-assistant
53 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
54 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-assistant/ChangeLog,v 1.75 2010/04/18 13:07:14 nixnut Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-assistant/ChangeLog,v 1.76 2010/05/01 18:21:41 hwoarang Exp $
56 +
57 +*qt-assistant-4.6.2-r1 (01 May 2010)
58 +
59 + 01 May 2010; Markos Chandras <hwoarang@g.o>
60 + +qt-assistant-4.6.2-r1.ebuild, metadata.xml:
61 + Add trace use flag to build qttracereplay utility. Fixes bug #317802
62
63 18 Apr 2010; <nixnut@g.o> qt-assistant-4.6.2.ebuild:
64 ppc stable #297299
65
66
67
68 1.1 x11-libs/qt-assistant/qt-assistant-4.6.2-r1.ebuild
69
70 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-assistant/qt-assistant-4.6.2-r1.ebuild?rev=1.1&view=markup
71 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-assistant/qt-assistant-4.6.2-r1.ebuild?rev=1.1&content-type=text/plain
72
73 Index: qt-assistant-4.6.2-r1.ebuild
74 ===================================================================
75 # Copyright 1999-2010 Gentoo Foundation
76 # Distributed under the terms of the GNU General Public License v2
77 # $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-assistant/qt-assistant-4.6.2-r1.ebuild,v 1.1 2010/05/01 18:21:41 hwoarang Exp $
78
79 EAPI="2"
80 inherit qt4-build
81
82 DESCRIPTION="The assistant help module for the Qt toolkit"
83 SLOT="4"
84 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
85 IUSE="trace"
86
87 DEPEND="~x11-libs/qt-gui-${PV}[aqua=,trace?]
88 ~x11-libs/qt-sql-${PV}[aqua=,sqlite]
89 ~x11-libs/qt-webkit-${PV}[aqua=]"
90 RDEPEND="${DEPEND}"
91
92 PATCHES=( "${FILESDIR}/${PN}-4.6.1-tools.patch" )
93
94 # Pixeltool isn't really assistant related, but it relies on
95 # the assistant libraries. doc/qch/
96 QT4_TARGET_DIRECTORIES="
97 tools/assistant
98 tools/pixeltool
99 tools/qdoc3"
100 QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
101 tools/
102 demos/
103 examples/
104 src/
105 include/
106 doc/"
107
108 pkg_setup() {
109 use trace && QT4_TARGET_DIRECTORIES="tools/qttracereplay"
110 QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
111 ${QT4_EXTRACT_DIRECTORIES}"
112 qt4-build_pkg_setup
113 }
114
115 src_configure() {
116 myconf="${myconf} -no-xkb -no-fontconfig -no-xrender -no-xrandr
117 -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl
118 -no-nas-sound -no-dbus -iconv -no-cups -no-nis -no-gif -no-libpng
119 -no-libmng -no-libjpeg -no-openssl -system-zlib -no-phonon
120 -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility
121 -no-fontconfig -no-glib -no-multimedia -no-qt3support -no-svg"
122 qt4-build_src_configure
123 }
124
125 src_compile() {
126 # help libQtHelp find freshly built libQtCLucene (bug #289811)
127 export LD_LIBRARY_PATH="${S}/lib"
128 export DYLD_LIBRARY_PATH="${S}/lib:${S}/lib/QtHelp.framework"
129 qt4-build_src_compile
130 # ugly hack to build docs
131 cd "${S}"
132 qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip" projects.pro || die "qmake projects faied"
133 emake qch_docs || die "emake docs failed"
134 }
135
136 src_install() {
137 qt4-build_src_install
138 # install documentation
139 # note that emake install_qchdocs fails for undefined reason so we use a
140 # workaround
141 cd "${S}"
142 insinto ${QTDOCDIR#${EPREFIX}}
143 doins -r "${S}"/doc/qch || die "doins qch documentation failed"
144 dobin "${S}"/bin/qdoc3 || die "Installing qdoc3 failed"
145 #emake INSTALL_ROOT="${D}" install_qchdocs || die "emake install_qchdocs failed"
146 # install correct assistant icon, bug 241208
147 dodir /usr/share/pixmaps/ || die "dodir failed"
148 insinto /usr/share/pixmaps/ || die "insinto failed"
149 doins tools/assistant/tools/assistant/images/assistant.png \
150 || die "doins failed"
151 # Note: absolute image path required here!
152 make_desktop_entry /usr/bin/assistant Assistant \
153 /usr/share/pixmaps/assistant.png 'Qt;Development;GUIDesigner' \
154 || die "make_desktop_entry failed"
155 }