1 |
jokey 08/10/05 13:26:44 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: quassel-0.3.0.2.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.31 net-irc/quassel/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?rev=1.31&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?rev=1.31&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?r1=1.30&r2=1.31 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v |
19 |
retrieving revision 1.30 |
20 |
retrieving revision 1.31 |
21 |
diff -u -r1.30 -r1.31 |
22 |
--- ChangeLog 28 Sep 2008 19:12:20 -0000 1.30 |
23 |
+++ ChangeLog 5 Oct 2008 13:26:43 -0000 1.31 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for net-irc/quassel |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.30 2008/09/28 19:12:20 jokey Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.31 2008/10/05 13:26:43 jokey Exp $ |
29 |
+ |
30 |
+*quassel-0.3.0.2 (05 Oct 2008) |
31 |
+ |
32 |
+ 05 Oct 2008; Markus Ullmann <jokey@g.o> +quassel-0.3.0.2.ebuild: |
33 |
+ Version bump |
34 |
|
35 |
*quassel-0.3.0.1-r1 (28 Sep 2008) |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
1.1 net-irc/quassel/quassel-0.3.0.2.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-0.3.0.2.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-0.3.0.2.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: quassel-0.3.0.2.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-0.3.0.2.ebuild,v 1.1 2008/10/05 13:26:43 jokey Exp $ |
50 |
|
51 |
EAPI=1 |
52 |
|
53 |
inherit cmake-utils eutils |
54 |
|
55 |
MY_P="${P/_/-}" |
56 |
|
57 |
DESCRIPTION="Core/client IRC client." |
58 |
HOMEPAGE="http://quassel-irc.org/" |
59 |
SRC_URI="http://quassel-irc.org/pub/${MY_P}.tar.bz2" |
60 |
|
61 |
LICENSE="GPL-3" |
62 |
KEYWORDS="~amd64 ~sparc ~x86" |
63 |
SLOT="0" |
64 |
IUSE="+dbus debug +server +ssl +X" |
65 |
|
66 |
LANGS="nb_NO da de fr" |
67 |
for l in ${LANGS}; do |
68 |
IUSE="${IUSE} linguas_${l}" |
69 |
done |
70 |
|
71 |
RDEPEND="x11-libs/qt-core:4 |
72 |
server? ( |
73 |
x11-libs/qt-sql:4 |
74 |
x11-libs/qt-script:4 |
75 |
) |
76 |
X? ( x11-libs/qt-gui:4 ) |
77 |
dbus? ( x11-libs/qt-dbus ) |
78 |
ssl? ( dev-libs/openssl )" |
79 |
DEPEND="${RDEPEND} |
80 |
>=dev-util/cmake-2.4.7" |
81 |
|
82 |
DOCS="AUTHORS ChangeLog README README.Qtopia" |
83 |
|
84 |
S=${WORKDIR}/${MY_P} |
85 |
|
86 |
pkg_setup() { |
87 |
if ! use server && ! use X ; then |
88 |
eerror "You have to build one or both of quassel client or server." |
89 |
die "Both server and X USE flags unset." |
90 |
fi |
91 |
|
92 |
if use server && ! built_with_use x11-libs/qt-sql sqlite ; then |
93 |
eerror "Please rebuild x11-libs/qt-sql:4 with sqlite USE flag enabled." |
94 |
die "Missing sqlite support in x11-libs/qt-sql:4" |
95 |
fi |
96 |
|
97 |
if use ssl && ! built_with_use x11-libs/qt-core ssl ; then |
98 |
eerror "Please rebuild x11-libs/qt-core:4 with ssl USE flag enabled." |
99 |
die "Missing ssl support in x11-libs/qt-core:4" |
100 |
fi |
101 |
} |
102 |
|
103 |
src_compile() { |
104 |
local MY_LANGUAGES="" |
105 |
for ling in ${LINGUAS}; do |
106 |
if has $ling ${LANGS}; then |
107 |
MY_LANGUAGES="${ling} ${MY_LANGUAGES}" |
108 |
fi |
109 |
done |
110 |
|
111 |
local mycmakeargs=" |
112 |
$(cmake-utils_use_want server CORE) |
113 |
$(cmake-utils_use_want X QTCLIENT) |
114 |
$(cmake-utils_use_with dbus DBUS) |
115 |
$(cmake-utils_use_with ssl OPENSSL) |
116 |
-DLINGUAS="${MY_LANGUAGES}" |
117 |
-DWANT_MONO=OFF" |
118 |
|
119 |
cmake-utils_src_compile |
120 |
} |
121 |
|
122 |
src_install() { |
123 |
cmake-utils_src_install |
124 |
|
125 |
# Only install the icons if the X client was installed |
126 |
if use X ; then |
127 |
insinto /usr/share/icons/hicolor |
128 |
# avoid the connected/ directory, get only the ${size}x${size} |
129 |
doins -r "${S}"/src/icons/quassel/*x* || die "installing quassel icons failed" |
130 |
fi |
131 |
|
132 |
if use server ; then |
133 |
newinitd "${FILESDIR}"/quasselcore.init quasselcore || die "newinitd failed" |
134 |
newconfd "${FILESDIR}"/quasselcore.conf quasselcore || die "newconfd failed" |
135 |
|
136 |
insinto /usr/share/doc/${PF} |
137 |
doins "${S}"/scripts/manageusers.py || die "installing manageusers.py failed" |
138 |
fi |
139 |
} |
140 |
|
141 |
pkg_postinst() { |
142 |
if use server ; then |
143 |
ewarn |
144 |
ewarn "In order to use the quassel init script you must set the" |
145 |
ewarn "QUASSEL_USER variable in /etc/conf.d/quasselcore to your username." |
146 |
ewarn "Note: This is the user who runs the quasselcore and is independent" |
147 |
ewarn "from the users you set up in the quasselclient." |
148 |
elog |
149 |
elog "Adding more than one user or changing username/password is not" |
150 |
elog "possible via the quasselclient yet. If you need to do these things" |
151 |
elog "you have to use the manageusers.py script, which has been installed in" |
152 |
elog "/usr/share/doc/${PF}". |
153 |
elog "Please make sure that the quasselcore is stopped before adding more users." |
154 |
fi |
155 |
|
156 |
if use server && use ssl ; then |
157 |
elog |
158 |
elog "To enable SSL support for client/core connections the quasselcore needs" |
159 |
elog "a PEM certificate which needs to be stored in ~/.quassel/quasselCert.pem." |
160 |
elog "To create the certificate use the following command:" |
161 |
elog "openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout ~/.quassel/quasselCert.pem -out ~/.quassel/quasselCert.pem" |
162 |
fi |
163 |
} |