Gentoo Archives: gentoo-commits

From: "Markus Ullmann (jokey)" <jokey@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-irc/quassel: metadata.xml ChangeLog quassel-9999.ebuild quassel-0.3.1-r4.ebuild quassel-0.3.1-r3.ebuild quassel-0.3.1-r1.ebuild quassel-0.3.1.ebuild
Date: Wed, 21 Jan 2009 08:39:43
Message-Id: E1LPYcd-0004dy-EN@stork.gentoo.org
1 jokey 09/01/21 08:39:39
2
3 Modified: metadata.xml ChangeLog quassel-9999.ebuild
4 Added: quassel-0.3.1-r4.ebuild
5 Removed: quassel-0.3.1-r3.ebuild quassel-0.3.1-r1.ebuild
6 quassel-0.3.1.ebuild
7 Log:
8 Fix monolithic flag to be enabled only when actually using it and drop old
9 (Portage version: 2.2_rc23/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.10 net-irc/quassel/metadata.xml
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/metadata.xml?rev=1.10&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/metadata.xml?rev=1.10&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/metadata.xml?r1=1.9&r2=1.10
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-irc/quassel/metadata.xml,v
21 retrieving revision 1.9
22 retrieving revision 1.10
23 diff -u -r1.9 -r1.10
24 --- metadata.xml 18 Jan 2009 19:44:40 -0000 1.9
25 +++ metadata.xml 21 Jan 2009 08:39:39 -0000 1.10
26 @@ -11,9 +11,10 @@
27 </maintainer>
28 <use>
29 <flag name="monolithic">
30 - Build monolitic client. Only useful if one don't want to use
31 - quassels client/server model. The server and X flags are probably
32 - not needed but it is possible to enable them tooy.
33 + Build Standalone client with integrated core, no external
34 + quasselcore needed. Only useful if one don't want to use quassels
35 + client/server model. The server and X flags are not needed in this
36 + case but it is possible to enable them too.
37 </flag>
38 <flag name="phonon">
39 Build client with phonon backend support. This enables sound
40
41
42
43 1.42 net-irc/quassel/ChangeLog
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?rev=1.42&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?rev=1.42&content-type=text/plain
47 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?r1=1.41&r2=1.42
48
49 Index: ChangeLog
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v
52 retrieving revision 1.41
53 retrieving revision 1.42
54 diff -u -r1.41 -r1.42
55 --- ChangeLog 18 Jan 2009 19:44:40 -0000 1.41
56 +++ ChangeLog 21 Jan 2009 08:39:39 -0000 1.42
57 @@ -1,6 +1,13 @@
58 # ChangeLog for net-irc/quassel
59 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
60 -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.41 2009/01/18 19:44:40 jokey Exp $
61 +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.42 2009/01/21 08:39:39 jokey Exp $
62 +
63 +*quassel-0.3.1-r4 (21 Jan 2009)
64 +
65 + 21 Jan 2009; <jokey@g.o> metadata.xml, -quassel-0.3.1.ebuild,
66 + -quassel-0.3.1-r1.ebuild, -quassel-0.3.1-r3.ebuild,
67 + +quassel-0.3.1-r4.ebuild, quassel-9999.ebuild:
68 + Fix monolithic flag to be enabled only when actually using it and drop old
69
70 *quassel-0.3.1-r3 (18 Jan 2009)
71
72
73
74
75 1.17 net-irc/quassel/quassel-9999.ebuild
76
77 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-9999.ebuild?rev=1.17&view=markup
78 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-9999.ebuild?rev=1.17&content-type=text/plain
79 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-9999.ebuild?r1=1.16&r2=1.17
80
81 Index: quassel-9999.ebuild
82 ===================================================================
83 RCS file: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-9999.ebuild,v
84 retrieving revision 1.16
85 retrieving revision 1.17
86 diff -u -r1.16 -r1.17
87 --- quassel-9999.ebuild 19 Jan 2009 00:27:05 -0000 1.16
88 +++ quassel-9999.ebuild 21 Jan 2009 08:39:39 -0000 1.17
89 @@ -1,6 +1,6 @@
90 # Copyright 1999-2009 Gentoo Foundation
91 # Distributed under the terms of the GNU General Public License v2
92 -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-9999.ebuild,v 1.16 2009/01/19 00:27:05 mr_bones_ Exp $
93 +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-9999.ebuild,v 1.17 2009/01/21 08:39:39 jokey Exp $
94
95 EAPI="2"
96
97 @@ -9,7 +9,7 @@
98 EGIT_REPO_URI="git://git.quassel-irc.org/quassel.git"
99 EGIT_BRANCH="master"
100
101 -DESCRIPTION="Core/client IRC client."
102 +DESCRIPTION="Qt4/KDE4 IRC client suppporting a remote daemon for 24/7 connectivity."
103 HOMEPAGE="http://quassel-irc.org/"
104
105 LICENSE="GPL-3"
106 @@ -94,7 +94,6 @@
107 ${mycmakeargs} \
108 -DLINGUAS="${LINGUAS}" \
109 "${S}" || die "Cmake failed"
110 -
111 }
112
113 src_install() {
114
115
116
117 1.1 net-irc/quassel/quassel-0.3.1-r4.ebuild
118
119 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-0.3.1-r4.ebuild?rev=1.1&view=markup
120 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-0.3.1-r4.ebuild?rev=1.1&content-type=text/plain
121
122 Index: quassel-0.3.1-r4.ebuild
123 ===================================================================
124 # Copyright 1999-2009 Gentoo Foundation
125 # Distributed under the terms of the GNU General Public License v2
126 # $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-0.3.1-r4.ebuild,v 1.1 2009/01/21 08:39:39 jokey Exp $
127
128 EAPI="2"
129
130 inherit cmake-utils eutils
131
132 DESCRIPTION="Qt4/KDE4 IRC client suppporting a remote daemon for 24/7 connectivity."
133 HOMEPAGE="http://quassel-irc.org/"
134 SRC_URI="http://quassel-irc.org/pub/${P}.tar.bz2"
135
136 LICENSE="GPL-3"
137 KEYWORDS="~amd64 ~x86"
138 SLOT="0"
139 IUSE="dbus debug monolithic +server +ssl +X"
140
141 LANGS="nb_NO da de fr ru"
142 for l in ${LANGS}; do
143 IUSE="${IUSE} linguas_${l}"
144 done
145
146 RDEPEND="
147 x11-libs/qt-core:4
148 dbus? ( x11-libs/qt-dbus:4 )
149 monolithic? (
150 x11-libs/qt-sql:4[sqlite]
151 x11-libs/qt-script:4
152 x11-libs/qt-gui:4
153 x11-libs/qt-webkit:4
154 )
155 !monolithic? (
156 server? (
157 x11-libs/qt-sql:4[sqlite]
158 x11-libs/qt-script:4
159 )
160 X? (
161 x11-libs/qt-gui:4
162 x11-libs/qt-webkit:4
163 )
164 )
165 ssl? (
166 dev-libs/openssl
167 x11-libs/qt-core:4[ssl]
168 )
169 "
170 DEPEND="${RDEPEND}
171 >=dev-util/cmake-2.6"
172
173 DOCS="AUTHORS ChangeLog README"
174
175 pkg_setup() {
176 if ! use monolithic && ! use server && ! use X ; then
177 eerror "You have to build at least one of the monolithic client (USE=monolithic),"
178 eerror "the quasselclient (USE=X) or the quasselcore (USE=server)."
179 die "monolithic, server and X flag unset."
180 fi
181 }
182
183 src_configure() {
184 # Comment this out and invoke _common_configure_code and cmake manually until cmake-utils.eclass
185 # supports space separated strings as arguments for cmake options or quassel changes the
186 # separator. Until now multiple languages are not passed to -DLINGUAS and only the first
187 # language is considered.
188 local mycmakeargs="$(cmake-utils_use_want server CORE)
189 $(cmake-utils_use_want X QTCLIENT)
190 $(cmake-utils_use_want monolithic MONO)
191 $(cmake-utils_use_with X WEBKIT)
192 $(cmake-utils_use_with dbus DBUS)
193 $(cmake-utils_use_with ssl OPENSSL)
194 -DOXYGEN_ICONS=Builtin
195 -DQUASSEL_ICONS=Builtin"
196
197 _common_configure_code
198
199 mkdir -p "${WORKDIR}"/${PN}_build
200 pushd "${WORKDIR}"/${PN}_build > /dev/null
201
202 cmake -C "${TMPDIR}/gentoo_common_config.cmake" \
203 ${mycmakeargs} \
204 -DLINGUAS="${LINGUAS}" \
205 "${S}" || die "Cmake failed"
206 }
207
208 src_install() {
209 cmake-utils_src_install
210
211 if use server ; then
212 newinitd "${FILESDIR}"/quasselcore.init quasselcore || die "newinitd failed"
213 newconfd "${FILESDIR}"/quasselcore.conf quasselcore || die "newconfd failed"
214
215 insinto /usr/share/doc/${PF}
216 doins "${S}"/scripts/manageusers.py || die "installing manageusers.py failed"
217 fi
218 }
219
220 pkg_postinst() {
221 if use server ; then
222 ewarn
223 ewarn "In order to use the quassel init script you must set the"
224 ewarn "QUASSEL_USER variable in /etc/conf.d/quasselcore to your username."
225 ewarn "Note: This is the user who runs the quasselcore and is independent"
226 ewarn "from the users you set up in the quasselclient."
227 elog
228 elog "Adding more than one user or changing username/password is not"
229 elog "possible via the quasselclient yet. If you need to do these things"
230 elog "you have to use the manageusers.py script, which has been installed in"
231 elog "/usr/share/doc/${PF}".
232 elog "Please make sure that the quasselcore is stopped before adding more users."
233 fi
234
235 if ( use server || use monolithic ) && use ssl ; then
236 elog
237 elog "To enable SSL support for client/core connections the quasselcore needs"
238 elog "a PEM certificate which needs to be stored in ~/.quassel/quasselCert.pem."
239 elog "To create the certificate use the following command:"
240 elog "openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout ~/.quassel/quasselCert.pem -out ~/.quassel/quasselCert.pem"
241 fi
242 }