Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-irc/quassel: ChangeLog quassel-9999.ebuild quassel-0.4.0-r2.ebuild
Date: Sat, 28 Feb 2009 23:20:37
Message-Id: E1LdYTx-0007XW-Hy@stork.gentoo.org
1 patrick 09/02/28 23:20:33
2
3 Modified: ChangeLog quassel-9999.ebuild
4 Added: quassel-0.4.0-r2.ebuild
5 Log:
6 Fixing 0.4 and 9999 ebuild deps with dev-db/sqlite[threadsafe] to fix #260485
7 (Portage version: 2.2_rc23/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.46 net-irc/quassel/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?rev=1.46&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?rev=1.46&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?r1=1.45&r2=1.46
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v
19 retrieving revision 1.45
20 retrieving revision 1.46
21 diff -u -r1.45 -r1.46
22 --- ChangeLog 20 Feb 2009 20:02:08 -0000 1.45
23 +++ ChangeLog 28 Feb 2009 23:20:33 -0000 1.46
24 @@ -1,6 +1,13 @@
25 # ChangeLog for net-irc/quassel
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.45 2009/02/20 20:02:08 scarabeus Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.46 2009/02/28 23:20:33 patrick Exp $
29 +
30 +*quassel-0.4.0-r2 (28 Feb 2009)
31 +
32 + 28 Feb 2009; Patrick Lauer <patrick@g.o> +quassel-0.4.0-r2.ebuild,
33 + quassel-9999.ebuild:
34 + Fixing 0.4 and 9999 ebuild deps with dev-db/sqlite[threadsafe] to fix
35 + #260485
36
37 *quassel-0.4.0-r1 (20 Feb 2009)
38
39
40
41
42 1.20 net-irc/quassel/quassel-9999.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-9999.ebuild?rev=1.20&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-9999.ebuild?rev=1.20&content-type=text/plain
46 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-9999.ebuild?r1=1.19&r2=1.20
47
48 Index: quassel-9999.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-9999.ebuild,v
51 retrieving revision 1.19
52 retrieving revision 1.20
53 diff -u -r1.19 -r1.20
54 --- quassel-9999.ebuild 20 Feb 2009 20:02:08 -0000 1.19
55 +++ quassel-9999.ebuild 28 Feb 2009 23:20:33 -0000 1.20
56 @@ -1,6 +1,6 @@
57 # Copyright 1999-2009 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-9999.ebuild,v 1.19 2009/02/20 20:02:08 scarabeus Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-9999.ebuild,v 1.20 2009/02/28 23:20:33 patrick Exp $
61
62 EAPI="2"
63
64 @@ -26,6 +26,7 @@
65 x11-libs/qt-core:4
66 dbus? ( x11-libs/qt-dbus:4 )
67 monolithic? (
68 + dev-db/sqlite[threadsafe]
69 x11-libs/qt-sql:4[sqlite]
70 x11-libs/qt-script:4
71 x11-libs/qt-gui:4
72 @@ -35,6 +36,7 @@
73 )
74 !monolithic? (
75 server? (
76 + dev-db/sqlite[threadsafe]
77 x11-libs/qt-sql:4[sqlite]
78 x11-libs/qt-script:4
79 )
80
81
82
83 1.1 net-irc/quassel/quassel-0.4.0-r2.ebuild
84
85 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-0.4.0-r2.ebuild?rev=1.1&view=markup
86 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-0.4.0-r2.ebuild?rev=1.1&content-type=text/plain
87
88 Index: quassel-0.4.0-r2.ebuild
89 ===================================================================
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-0.4.0-r2.ebuild,v 1.1 2009/02/28 23:20:33 patrick Exp $
93
94 EAPI="2"
95
96 inherit cmake-utils eutils
97
98 DESCRIPTION="Qt4/KDE4 IRC client suppporting a remote daemon for 24/7 connectivity."
99 HOMEPAGE="http://quassel-irc.org/"
100 SRC_URI="http://quassel-irc.org/pub/${P}.tar.bz2"
101
102 LICENSE="GPL-3"
103 KEYWORDS="~amd64 ~x86"
104 SLOT="0"
105 IUSE="dbus debug kde monolithic +oxygen phonon +server +ssl webkit +X"
106
107 LANGS="cs da de fr hu nb_NO ru sl tr"
108 for l in ${LANGS}; do
109 IUSE="${IUSE} linguas_${l}"
110 done
111
112 RDEPEND="
113 x11-libs/qt-core:4
114 dbus? ( x11-libs/qt-dbus:4 )
115 monolithic? (
116 dev-db/sqlite[threadsafe]
117 x11-libs/qt-sql:4[sqlite]
118 x11-libs/qt-script:4
119 x11-libs/qt-gui:4
120 kde? ( >=kde-base/kdelibs-4.1 )
121 phonon? ( || ( media-sound/phonon x11-libs/qt-phonon ) )
122 webkit? ( x11-libs/qt-webkit:4 )
123 )
124 !monolithic? (
125 server? (
126 dev-db/sqlite[threadsafe]
127 x11-libs/qt-sql:4[sqlite]
128 x11-libs/qt-script:4
129 )
130 X? (
131 x11-libs/qt-gui:4
132 kde? ( >=kde-base/kdelibs-4.1 )
133 phonon? ( || ( media-sound/phonon x11-libs/qt-phonon ) )
134 webkit? ( x11-libs/qt-webkit:4 )
135 )
136 )
137 ssl? (
138 dev-libs/openssl
139 x11-libs/qt-core:4[ssl]
140 )
141 "
142 DEPEND="${RDEPEND}
143 >=dev-util/cmake-2.6"
144
145 DOCS="AUTHORS ChangeLog README"
146
147 pkg_setup() {
148 if ! use monolithic && ! use server && ! use X ; then
149 eerror "You have to build at least one of the monolithic client (USE=monolithic),"
150 eerror "the quasselclient (USE=X) or the quasselcore (USE=server)."
151 die "monolithic, server and X flag unset."
152 fi
153 }
154
155 src_configure() {
156 local MY_LANGUAGES=""
157 for i in ${LINGUAS}; do
158 MY_LANGUAGES="${i},${MY_LANGUAGES}"
159 done
160
161 local mycmakeargs="
162 $(cmake-utils_use_want X QTCLIENT)
163 $(cmake-utils_use_want server CORE)
164 $(cmake-utils_use_want monolithic MONO)
165 $(cmake-utils_use_with webkit WEBKIT)
166 $(cmake-utils_use_with phonon PHONON)
167 $(cmake-utils_use_with kde KDE)
168 $(cmake-utils_use_with dbus DBUS)
169 $(cmake-utils_use_with ssl OPENSSL)
170 $(cmake-utils_use_with oxygen OXYGEN)
171 -DEMBED_DATA=OFF
172 -DLINGUAS=${MY_LANGUAGES}
173 "
174
175 cmake-utils_src_configure
176 }
177
178 src_install() {
179 cmake-utils_src_install
180
181 if use server ; then
182 newinitd "${FILESDIR}"/quasselcore-2.init quasselcore || die "newinitd failed"
183 newconfd "${FILESDIR}"/quasselcore-2.conf quasselcore || die "newconfd failed"
184
185 insinto /usr/share/doc/${PF}
186 doins "${S}"/scripts/manageusers.py || die "installing manageusers.py failed"
187 fi
188 }
189
190 pkg_postinst() {
191 if use server ; then
192 ewarn
193 ewarn "In order to use the quassel init script you must set the"
194 ewarn "QUASSEL_USER variable in /etc/conf.d/quasselcore to your username."
195 ewarn "Note: This is the user who runs the quasselcore and is independent"
196 ewarn "from the users you set up in the quasselclient."
197 elog
198 elog "Adding more than one user or changing username/password is not"
199 elog "possible via the quasselclient yet. If you need to do these things"
200 elog "you have to use the manageusers.py script, which has been installed in"
201 elog "/usr/share/doc/${PF}".
202 elog "http://bugs.quassel-irc.org/wiki/quassel-irc/Manage_core_users provides"
203 elog "some information on using the script."
204 elog "To be sure nothing bad will happen you need to stop the quasselcore"
205 elog "before adding more users."
206 fi
207
208 if ( use server || use monolithic ) && use ssl ; then
209 elog
210 elog "Information on how to enable SSL support for client/core connections"
211 elog "is available at http://bugs.quassel-irc.org/wiki/quassel-irc."
212 fi
213 }