1 |
jokey 08/09/28 19:12:21 |
2 |
|
3 |
Modified: ChangeLog quassel-9999.ebuild |
4 |
Added: quassel-0.3.0.1-r1.ebuild |
5 |
Removed: quassel-0.2.0_rc1-r1.ebuild quassel-0.3.0.1.ebuild |
6 |
quassel-0.3.0-r1.ebuild |
7 |
Log: |
8 |
Import some init script fixes and ebuild improvements from Daniel Pielmeier. Drop old as well |
9 |
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 i686) |
10 |
|
11 |
Revision Changes Path |
12 |
1.30 net-irc/quassel/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?rev=1.30&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?rev=1.30&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?r1=1.29&r2=1.30 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v |
21 |
retrieving revision 1.29 |
22 |
retrieving revision 1.30 |
23 |
diff -u -r1.29 -r1.30 |
24 |
--- ChangeLog 3 Sep 2008 20:43:21 -0000 1.29 |
25 |
+++ ChangeLog 28 Sep 2008 19:12:20 -0000 1.30 |
26 |
@@ -1,6 +1,15 @@ |
27 |
# ChangeLog for net-irc/quassel |
28 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.29 2008/09/03 20:43:21 jokey Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.30 2008/09/28 19:12:20 jokey Exp $ |
31 |
+ |
32 |
+*quassel-0.3.0.1-r1 (28 Sep 2008) |
33 |
+ |
34 |
+ 28 Sep 2008; Markus Ullmann <jokey@g.o> files/quasselcore.conf, |
35 |
+ files/quasselcore.init, -quassel-0.2.0_rc1-r1.ebuild, |
36 |
+ -quassel-0.3.0-r1.ebuild, -quassel-0.3.0.1.ebuild, |
37 |
+ +quassel-0.3.0.1-r1.ebuild, quassel-9999.ebuild: |
38 |
+ Import some init script fixes and ebuild improvements from Daniel |
39 |
+ Pielmeier. Drop old as well |
40 |
|
41 |
*quassel-0.3.0.1 (03 Sep 2008) |
42 |
|
43 |
|
44 |
|
45 |
|
46 |
1.9 net-irc/quassel/quassel-9999.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-9999.ebuild?rev=1.9&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-9999.ebuild?rev=1.9&content-type=text/plain |
50 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-9999.ebuild?r1=1.8&r2=1.9 |
51 |
|
52 |
Index: quassel-9999.ebuild |
53 |
=================================================================== |
54 |
RCS file: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-9999.ebuild,v |
55 |
retrieving revision 1.8 |
56 |
retrieving revision 1.9 |
57 |
diff -u -r1.8 -r1.9 |
58 |
--- quassel-9999.ebuild 1 Sep 2008 18:51:57 -0000 1.8 |
59 |
+++ quassel-9999.ebuild 28 Sep 2008 19:12:20 -0000 1.9 |
60 |
@@ -1,24 +1,13 @@ |
61 |
# Copyright 1999-2008 Gentoo Foundation |
62 |
# Distributed under the terms of the GNU General Public License v2 |
63 |
-# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-9999.ebuild,v 1.8 2008/09/01 18:51:57 jokey Exp $ |
64 |
+# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-9999.ebuild,v 1.9 2008/09/28 19:12:20 jokey Exp $ |
65 |
|
66 |
EAPI=1 |
67 |
|
68 |
-inherit cmake-utils eutils |
69 |
+inherit cmake-utils eutils git |
70 |
|
71 |
-if [[ ${PV} == *9999 ]]; then |
72 |
- EGIT_REPO_URI="git://git.quassel-irc.org/quassel.git" |
73 |
- |
74 |
- case ${PV} in |
75 |
- 0.2.9999) EGIT_BRANCH="0.2" ;; |
76 |
- *) EGIT_BRANCH="master" |
77 |
- esac |
78 |
- inherit git |
79 |
-else |
80 |
- MY_P="${P/_/-}" |
81 |
- SRC_URI="http://quassel-irc.org/system/files/${MY_P}.tar.bz2" |
82 |
- S=${WORKDIR}/${MY_P} |
83 |
-fi |
84 |
+EGIT_REPO_URI="git://git.quassel-irc.org/quassel.git" |
85 |
+EGIT_BRANCH="master" |
86 |
|
87 |
DESCRIPTION="Core/client IRC client." |
88 |
HOMEPAGE="http://quassel-irc.org/" |
89 |
@@ -28,6 +17,11 @@ |
90 |
SLOT="0" |
91 |
IUSE="+dbus debug +server +ssl +X" |
92 |
|
93 |
+LANGS="nb_NO da de fr" |
94 |
+for l in ${LANGS}; do |
95 |
+ IUSE="${IUSE} linguas_${l}" |
96 |
+done |
97 |
+ |
98 |
RDEPEND="x11-libs/qt-core:4 |
99 |
server? ( |
100 |
x11-libs/qt-sql:4 |
101 |
@@ -37,12 +31,12 @@ |
102 |
dbus? ( x11-libs/qt-dbus ) |
103 |
ssl? ( dev-libs/openssl )" |
104 |
DEPEND="${RDEPEND} |
105 |
- >=dev-util/cmake-2.4.7" |
106 |
+ >=dev-util/cmake-2.6" |
107 |
|
108 |
-DOCS="ChangeLog README README.Qtopia" |
109 |
+DOCS="AUTHORS ChangeLog README" |
110 |
|
111 |
pkg_setup() { |
112 |
- if ! use server && ! use X; then |
113 |
+ if ! use server && ! use X ; then |
114 |
eerror "You have to build one or both of quassel client or server." |
115 |
die "Both server and X USE flags unset." |
116 |
fi |
117 |
@@ -59,11 +53,21 @@ |
118 |
} |
119 |
|
120 |
src_compile() { |
121 |
+ local MY_LANGUAGES="" |
122 |
+ for ling in ${LINGUAS}; do |
123 |
+ if has $ling ${LANGS}; then |
124 |
+ MY_LANGUAGES="${ling} ${MY_LANGUAGES}" |
125 |
+ fi |
126 |
+ done |
127 |
+ |
128 |
local mycmakeargs=" |
129 |
$(cmake-utils_use_want server CORE) |
130 |
$(cmake-utils_use_want X QTCLIENT) |
131 |
$(cmake-utils_use_with dbus DBUS) |
132 |
$(cmake-utils_use_with ssl OPENSSL) |
133 |
+ -DLINGUAS="${MY_LANGUAGES}" |
134 |
+ -DOXYGEN_ICONS=Builtin |
135 |
+ -DQUASSEL_ICONS=Builtin |
136 |
-DWANT_MONO=OFF" |
137 |
|
138 |
cmake-utils_src_compile |
139 |
@@ -72,22 +76,35 @@ |
140 |
src_install() { |
141 |
cmake-utils_src_install |
142 |
|
143 |
- # Only install the icons if the X client was installed |
144 |
- if use X; then |
145 |
- insinto /usr/share/icons/hicolor |
146 |
- # avoid the connected/ directory, get only the ${size}x${size} |
147 |
- doins -r "${S}"/src/icons/quassel/*x* || die "installing icons failed" |
148 |
- fi |
149 |
- |
150 |
- if use server; then |
151 |
+ if use server ; then |
152 |
newinitd "${FILESDIR}"/quasselcore.init quasselcore || die "newinitd failed" |
153 |
newconfd "${FILESDIR}"/quasselcore.conf quasselcore || die "newconfd failed" |
154 |
+ |
155 |
+ insinto /usr/share/doc/${PF} |
156 |
+ doins "${S}"/scripts/manageusers.py || die "installing manageusers.py failed" |
157 |
fi |
158 |
} |
159 |
|
160 |
pkg_postinst() { |
161 |
- if use server; then |
162 |
+ if use server ; then |
163 |
+ ewarn |
164 |
ewarn "In order to use the quassel init script you must set the" |
165 |
ewarn "QUASSEL_USER variable in /etc/conf.d/quasselcore to your username." |
166 |
+ ewarn "Note: This is the user who runs the quasselcore and is independent" |
167 |
+ ewarn "from the users you set up in the quasselclient." |
168 |
+ elog |
169 |
+ elog "Adding more than one user or changing username/password is not" |
170 |
+ elog "possible via the quasselclient yet. If you need to do these things" |
171 |
+ elog "you have to use the manageusers.py script, which has been installed in" |
172 |
+ elog "/usr/share/doc/${PF}". |
173 |
+ elog "Please make sure that the quasselcore is stopped before adding more users." |
174 |
+ fi |
175 |
+ |
176 |
+ if use server && use ssl ; then |
177 |
+ elog |
178 |
+ elog "To enable SSL support for client/core connections the quasselcore needs" |
179 |
+ elog "a PEM certificate which needs to be stored in ~/.quassel/quasselCert.pem." |
180 |
+ elog "To create the certificate use the following command:" |
181 |
+ elog "openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout ~/.quassel/quasselCert.pem -out ~/.quassel/quasselCert.pem" |
182 |
fi |
183 |
} |
184 |
|
185 |
|
186 |
|
187 |
1.1 net-irc/quassel/quassel-0.3.0.1-r1.ebuild |
188 |
|
189 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-0.3.0.1-r1.ebuild?rev=1.1&view=markup |
190 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-0.3.0.1-r1.ebuild?rev=1.1&content-type=text/plain |
191 |
|
192 |
Index: quassel-0.3.0.1-r1.ebuild |
193 |
=================================================================== |
194 |
# Copyright 1999-2008 Gentoo Foundation |
195 |
# Distributed under the terms of the GNU General Public License v2 |
196 |
# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-0.3.0.1-r1.ebuild,v 1.1 2008/09/28 19:12:21 jokey Exp $ |
197 |
|
198 |
EAPI=1 |
199 |
|
200 |
inherit cmake-utils eutils |
201 |
|
202 |
MY_P="${P/_/-}" |
203 |
|
204 |
DESCRIPTION="Core/client IRC client." |
205 |
HOMEPAGE="http://quassel-irc.org/" |
206 |
SRC_URI="http://quassel-irc.org/pub/${MY_P}.tar.bz2" |
207 |
|
208 |
LICENSE="GPL-3" |
209 |
KEYWORDS="~amd64 ~sparc ~x86" |
210 |
SLOT="0" |
211 |
IUSE="+dbus debug +server +ssl +X" |
212 |
|
213 |
LANGS="nb_NO da de fr" |
214 |
for l in ${LANGS}; do |
215 |
IUSE="${IUSE} linguas_${l}" |
216 |
done |
217 |
|
218 |
RDEPEND="x11-libs/qt-core:4 |
219 |
server? ( |
220 |
x11-libs/qt-sql:4 |
221 |
x11-libs/qt-script:4 |
222 |
) |
223 |
X? ( x11-libs/qt-gui:4 ) |
224 |
dbus? ( x11-libs/qt-dbus ) |
225 |
ssl? ( dev-libs/openssl )" |
226 |
DEPEND="${RDEPEND} |
227 |
>=dev-util/cmake-2.4.7" |
228 |
|
229 |
DOCS="AUTHORS ChangeLog README README.Qtopia" |
230 |
|
231 |
S=${WORKDIR}/${MY_P} |
232 |
|
233 |
pkg_setup() { |
234 |
if ! use server && ! use X ; then |
235 |
eerror "You have to build one or both of quassel client or server." |
236 |
die "Both server and X USE flags unset." |
237 |
fi |
238 |
|
239 |
if use server && ! built_with_use x11-libs/qt-sql sqlite ; then |
240 |
eerror "Please rebuild x11-libs/qt-sql:4 with sqlite USE flag enabled." |
241 |
die "Missing sqlite support in x11-libs/qt-sql:4" |
242 |
fi |
243 |
|
244 |
if use ssl && ! built_with_use x11-libs/qt-core ssl ; then |
245 |
eerror "Please rebuild x11-libs/qt-core:4 with ssl USE flag enabled." |
246 |
die "Missing ssl support in x11-libs/qt-core:4" |
247 |
fi |
248 |
} |
249 |
|
250 |
src_compile() { |
251 |
local MY_LANGUAGES="" |
252 |
for ling in ${LINGUAS}; do |
253 |
if has $ling ${LANGS}; then |
254 |
MY_LANGUAGES="${ling} ${MY_LANGUAGES}" |
255 |
fi |
256 |
done |
257 |
|
258 |
local mycmakeargs=" |
259 |
$(cmake-utils_use_want server CORE) |
260 |
$(cmake-utils_use_want X QTCLIENT) |
261 |
$(cmake-utils_use_with dbus DBUS) |
262 |
$(cmake-utils_use_with ssl OPENSSL) |
263 |
-DLINGUAS="${MY_LANGUAGES}" |
264 |
-DWANT_MONO=OFF" |
265 |
|
266 |
cmake-utils_src_compile |
267 |
} |
268 |
|
269 |
src_install() { |
270 |
cmake-utils_src_install |
271 |
|
272 |
# Only install the icons if the X client was installed |
273 |
if use X ; then |
274 |
insinto /usr/share/icons/hicolor |
275 |
# avoid the connected/ directory, get only the ${size}x${size} |
276 |
doins -r "${S}"/src/icons/quassel/*x* || die "installing quassel icons failed" |
277 |
fi |
278 |
|
279 |
if use server ; then |
280 |
newinitd "${FILESDIR}"/quasselcore.init quasselcore || die "newinitd failed" |
281 |
newconfd "${FILESDIR}"/quasselcore.conf quasselcore || die "newconfd failed" |
282 |
|
283 |
insinto /usr/share/doc/${PF} |
284 |
doins "${S}"/scripts/manageusers.py || die "installing manageusers.py failed" |
285 |
fi |
286 |
} |
287 |
|
288 |
pkg_postinst() { |
289 |
if use server ; then |
290 |
ewarn |
291 |
ewarn "In order to use the quassel init script you must set the" |
292 |
ewarn "QUASSEL_USER variable in /etc/conf.d/quasselcore to your username." |
293 |
ewarn "Note: This is the user who runs the quasselcore and is independent" |
294 |
ewarn "from the users you set up in the quasselclient." |
295 |
elog |
296 |
elog "Adding more than one user or changing username/password is not" |
297 |
elog "possible via the quasselclient yet. If you need to do these things" |
298 |
elog "you have to use the manageusers.py script, which has been installed in" |
299 |
elog "/usr/share/doc/${PF}". |
300 |
elog "Please make sure that the quasselcore is stopped before adding more users." |
301 |
fi |
302 |
|
303 |
if use server && use ssl ; then |
304 |
elog |
305 |
elog "To enable SSL support for client/core connections the quasselcore needs" |
306 |
elog "a PEM certificate which needs to be stored in ~/.quassel/quasselCert.pem." |
307 |
elog "To create the certificate use the following command:" |
308 |
elog "openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout ~/.quassel/quasselCert.pem -out ~/.quassel/quasselCert.pem" |
309 |
fi |
310 |
} |