1 |
hwoarang 10/08/20 09:26:59 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: libqxt-0.6.0-r2.ebuild |
5 |
Log: |
6 |
Revbump to fix issues reported on bug #331585. Thanks to Davide Pesavento <davidepesa@×××××.com> for his work, patches,review and testing |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.3 x11-libs/libqxt/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libqxt/metadata.xml?rev=1.3&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libqxt/metadata.xml?rev=1.3&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libqxt/metadata.xml?r1=1.2&r2=1.3 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/libqxt/metadata.xml,v |
19 |
retrieving revision 1.2 |
20 |
retrieving revision 1.3 |
21 |
diff -u -r1.2 -r1.3 |
22 |
--- metadata.xml 5 Jan 2009 03:09:41 -0000 1.2 |
23 |
+++ metadata.xml 20 Aug 2010 09:26:59 -0000 1.3 |
24 |
@@ -1,19 +1,11 @@ |
25 |
<?xml version="1.0" encoding="UTF-8"?> |
26 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
27 |
<pkgmetadata> |
28 |
- <herd>qt</herd> |
29 |
- <maintainer> |
30 |
- <email>qt@g.o</email> |
31 |
- </maintainer> |
32 |
- <use> |
33 |
- <flag name="crypt"> |
34 |
- Enable support for blowfish encryption using <pkg>dev-libs/openssl</pkg> |
35 |
- </flag> |
36 |
- <flag name="sql"> |
37 |
- Enable support for SQL databases using <pkg>x11-libs/qt-sql</pkg> |
38 |
- </flag> |
39 |
- <flag name="web"> |
40 |
- Enable web support using <pkg>dev-libs/fcgi</pkg> |
41 |
- </flag> |
42 |
- </use> |
43 |
+<herd>qt</herd> |
44 |
+<use> |
45 |
+ <flag name="berkdb">Build the QxtBerkeley module</flag> |
46 |
+ <flag name="sql">Build the QxtSql module</flag> |
47 |
+ <flag name="web">Enable fast cgi bindings</flag> |
48 |
+ <flag name="zeroconf">Build the QxtZeroconf module</flag> |
49 |
+</use> |
50 |
</pkgmetadata> |
51 |
|
52 |
|
53 |
|
54 |
1.15 x11-libs/libqxt/ChangeLog |
55 |
|
56 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libqxt/ChangeLog?rev=1.15&view=markup |
57 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libqxt/ChangeLog?rev=1.15&content-type=text/plain |
58 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libqxt/ChangeLog?r1=1.14&r2=1.15 |
59 |
|
60 |
Index: ChangeLog |
61 |
=================================================================== |
62 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/libqxt/ChangeLog,v |
63 |
retrieving revision 1.14 |
64 |
retrieving revision 1.15 |
65 |
diff -u -r1.14 -r1.15 |
66 |
--- ChangeLog 7 Jul 2010 23:41:49 -0000 1.14 |
67 |
+++ ChangeLog 20 Aug 2010 09:26:59 -0000 1.15 |
68 |
@@ -1,6 +1,17 @@ |
69 |
# ChangeLog for x11-libs/libqxt |
70 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
71 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libqxt/ChangeLog,v 1.14 2010/07/07 23:41:49 hwoarang Exp $ |
72 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libqxt/ChangeLog,v 1.15 2010/08/20 09:26:59 hwoarang Exp $ |
73 |
+ |
74 |
+*libqxt-0.6.0-r2 (20 Aug 2010) |
75 |
+ |
76 |
+ 20 Aug 2010; Markos Chandras <hwoarang@g.o> |
77 |
+ +files/libqxt-use-system-qdoc3.patch, +libqxt-0.6.0-r2.ebuild, |
78 |
+ metadata.xml: |
79 |
+ Revbump to fix issues reported on bug #331585. New use flags, Adjusted |
80 |
+ qt-assistant dependency, switched to qt4-r2 and EAPI=3, use systems' |
81 |
+ qdoc3, fix arguments when crypt use flag was enabled. Many thanks to |
82 |
+ Davide Pesavento <davidepesa@×××××.com> for his work, patches,review and |
83 |
+ testing |
84 |
|
85 |
*libqxt-0.6.0-r1 (07 Jul 2010) |
86 |
|
87 |
|
88 |
|
89 |
|
90 |
1.1 x11-libs/libqxt/libqxt-0.6.0-r2.ebuild |
91 |
|
92 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libqxt/libqxt-0.6.0-r2.ebuild?rev=1.1&view=markup |
93 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libqxt/libqxt-0.6.0-r2.ebuild?rev=1.1&content-type=text/plain |
94 |
|
95 |
Index: libqxt-0.6.0-r2.ebuild |
96 |
=================================================================== |
97 |
# Copyright 1999-2010 Gentoo Foundation |
98 |
# Distributed under the terms of the GNU General Public License v2 |
99 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/libqxt/libqxt-0.6.0-r2.ebuild,v 1.1 2010/08/20 09:26:59 hwoarang Exp $ |
100 |
|
101 |
EAPI="3" |
102 |
|
103 |
inherit multilib qt4-r2 |
104 |
|
105 |
DESCRIPTION="The Qt eXTension library provides cross-platform utility classes for the Qt toolkit" |
106 |
HOMEPAGE="http://libqxt.org/" |
107 |
SRC_URI="http://bitbucket.org/${PN}/${PN}/get/v${PV}.tar.bz2 -> ${P}.tar.bz2" |
108 |
|
109 |
LICENSE="|| ( CPL-1.0 LGPL-2.1 )" |
110 |
SLOT="0" |
111 |
KEYWORDS="~amd64 ~x86" |
112 |
IUSE="berkdb crypt debug doc sql web xscreensaver zeroconf" |
113 |
|
114 |
COMMON_DEPEND=" |
115 |
x11-libs/libXrandr |
116 |
x11-libs/qt-core:4 |
117 |
x11-libs/qt-gui:4 |
118 |
berkdb? ( >=sys-libs/db-4.6 ) |
119 |
crypt? ( |
120 |
>=dev-libs/openssl-0.9.8 |
121 |
x11-libs/qt-core:4[ssl] |
122 |
) |
123 |
sql? ( x11-libs/qt-sql:4 ) |
124 |
web? ( >=dev-libs/fcgi-2.4 ) |
125 |
zeroconf? ( net-dns/avahi[mdnsresponder-compat] ) |
126 |
" |
127 |
DEPEND="${COMMON_DEPEND} |
128 |
doc? ( x11-libs/qt-assistant ) |
129 |
" |
130 |
RDEPEND="${COMMON_DEPEND} |
131 |
xscreensaver? ( x11-libs/libXScrnSaver ) |
132 |
" |
133 |
|
134 |
S=${WORKDIR}/${PN} |
135 |
|
136 |
DOCS="AUTHORS CHANGES README" |
137 |
PATCHES=( |
138 |
"${FILESDIR}/${PN}-use-system-qdoc3.patch" |
139 |
) |
140 |
|
141 |
src_prepare() { |
142 |
qt4-r2_src_prepare |
143 |
|
144 |
# eqmake4 disables qmake cache, so we have to use config.pri |
145 |
# to store configuration variables instead of .qmake.cache |
146 |
sed -i -e '/^QMAKE_CACHE=/s:\.qmake\.cache:config.pri:' configure || die |
147 |
sed -i -e '1i include(config.pri)' ${PN}.pro || die |
148 |
sed -i -e '1i include(../config.pri)' src/qxtbase.pri || die |
149 |
|
150 |
# remove insecure runpath |
151 |
sed -i -e '/-Wl,-rpath/d' src/qxtlibs.pri || die |
152 |
} |
153 |
|
154 |
src_configure() { |
155 |
# custom configure script |
156 |
local myconf="./configure |
157 |
-prefix '${EPREFIX}/usr' |
158 |
-libdir '${EPREFIX}/usr/$(get_libdir)' |
159 |
-docdir '${EPREFIX}/usr/share/doc/${PF}' |
160 |
-qmake-bin '${EPREFIX}/usr/bin/qmake' |
161 |
$(use debug && echo -debug || echo -release) |
162 |
$(use berkdb || echo -no-db -nomake berkeley) |
163 |
$(use crypt || echo -no-openssl) |
164 |
$(use doc || echo -nomake docs) |
165 |
$(use sql || echo -nomake sql) |
166 |
$(use web || echo -nomake web) |
167 |
$(use zeroconf || echo -no-zeroconf -nomake zeroconf) |
168 |
-verbose" |
169 |
echo ${myconf} |
170 |
eval ${myconf} || die "./configure failed" |
171 |
|
172 |
eqmake4 -recursive |
173 |
} |
174 |
|
175 |
src_compile() { |
176 |
qt4-r2_src_compile |
177 |
|
178 |
if use doc; then |
179 |
einfo "Building documentation" |
180 |
emake docs || die |
181 |
fi |
182 |
} |
183 |
|
184 |
pkg_postinst() { |
185 |
if use doc; then |
186 |
elog |
187 |
elog "In case you want to browse ${PN} documentation using" |
188 |
elog "Qt Assistant, perform the following steps:" |
189 |
elog " 1. Open the Assistant" |
190 |
elog " 2. Edit->Preferences->Documentation->Add" |
191 |
elog " 3. Add this path: ${EPREFIX}/usr/share/doc/${PF}/qxt.qch" |
192 |
elog |
193 |
fi |
194 |
} |