Gentoo Archives: gentoo-commits

From: "Wolfram Schlich (wschlich)" <wschlich@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/mcabber: ChangeLog mcabber-0.9.9-r1.ebuild
Date: Thu, 30 Jul 2009 11:47:44
Message-Id: E1MWU6n-00080U-Cc@stork.gentoo.org
1 wschlich 09/07/30 11:47:41
2
3 Modified: ChangeLog
4 Added: mcabber-0.9.9-r1.ebuild
5 Log:
6 fix bugs #276512 and #277888
7 (Portage version: 2.2_rc33/cvs/Linux i686)
8
9 Revision Changes Path
10 1.42 net-im/mcabber/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/mcabber/ChangeLog?rev=1.42&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/mcabber/ChangeLog?rev=1.42&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/mcabber/ChangeLog?r1=1.41&r2=1.42
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-im/mcabber/ChangeLog,v
19 retrieving revision 1.41
20 retrieving revision 1.42
21 diff -u -r1.41 -r1.42
22 --- ChangeLog 17 Dec 2008 21:06:41 -0000 1.41
23 +++ ChangeLog 30 Jul 2009 11:47:41 -0000 1.42
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-im/mcabber
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-im/mcabber/ChangeLog,v 1.41 2008/12/17 21:06:41 maekke Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-im/mcabber/ChangeLog,v 1.42 2009/07/30 11:47:41 wschlich Exp $
30 +
31 +*mcabber-0.9.9-r1 (30 Jul 2009)
32 +
33 + 30 Jul 2009; Wolfram Schlich <wschlich@g.o>
34 + +mcabber-0.9.9-r1.ebuild:
35 + fix bugs #276512 and #277888
36
37 17 Dec 2008; Markus Meier <maekke@g.o> mcabber-0.9.9.ebuild:
38 amd64/x86 stable, bug #251139
39
40
41
42 1.1 net-im/mcabber/mcabber-0.9.9-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/mcabber/mcabber-0.9.9-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/mcabber/mcabber-0.9.9-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: mcabber-0.9.9-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-im/mcabber/mcabber-0.9.9-r1.ebuild,v 1.1 2009/07/30 11:47:41 wschlich Exp $
52
53 inherit flag-o-matic
54
55 DESCRIPTION="A small Jabber console client with various features, like MUC, SSL, PGP"
56 HOMEPAGE="http://mcabber.com/"
57 SRC_URI="http://mcabber.com/files/${P}.tar.bz2"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86"
62
63 IUSE="crypt otr spell ssl"
64
65 LANGS="de en fr nl pl uk ru"
66 # localized help versions are installed only, when LINGUAS var is set
67 for i in ${LANGS}; do
68 IUSE="${IUSE} linguas_${i}"
69 done;
70
71 RDEPEND="ssl? ( >=dev-libs/openssl-0.9.7-r1 )
72 crypt? ( >=app-crypt/gpgme-1.0.0 )
73 otr? ( >=net-libs/libotr-3.1.0 )
74 spell? ( app-text/aspell )
75 >=dev-libs/glib-2.0.0
76 sys-libs/ncurses"
77
78 DEPEND="${RDEPEND}
79 dev-util/pkgconfig"
80
81 src_compile() {
82 use crypt && x86 && append-flags -D_FILE_OFFSET_BITS=64 # bug #277888
83 econf \
84 $(use_enable crypt gpgme) \
85 $(use_enable otr) \
86 $(use_enable spell aspell) \
87 $(use_with ssl) \
88 || die "econf failed"
89
90 emake || die "emake failed"
91 }
92
93 src_install() {
94 make install DESTDIR="${D}" || die "make install failed"
95 # clean unneeded language documentation
96 for i in ${LANGS}; do
97 ! use linguas_${i} && rm -rf "${D}"/usr/share/${PN}/help/${i}
98 done
99
100 dodoc AUTHORS ChangeLog NEWS README TODO mcabberrc.example
101 dodoc doc/README_PGP.txt
102
103 # contrib themes
104 insinto /usr/share/${PN}/themes
105 doins "${S}"/contrib/themes/*
106
107 # contrib generic scripts
108 exeinto /usr/share/${PN}/scripts
109 doexe "${S}"/contrib/*.{pl,py,rb}
110
111 # contrib event scripts
112 exeinto /usr/share/${PN}/scripts/events
113 doexe "${S}"/contrib/events/*
114 }
115
116 pkg_postinst() {
117 elog
118 elog "MCabber requires you to create a subdirectory .mcabber in your home"
119 elog "directory and to place a configuration file there."
120 elog "An example mcabberrc was installed as part of the documentation."
121 elog "To create a new mcabberrc based on the example mcabberrc, execute the"
122 elog "following commands:"
123 elog
124 elog " mkdir -p ~/.mcabber"
125 elog " bzcat ${ROOT}usr/share/doc/${PF}/mcabberrc.example.bz2 >~/.mcabber/mcabberrc"
126 elog
127 elog "Then edit ~/.mcabber/mcabberrc with your favorite editor."
128 elog
129 elog "As of MCabber version 0.8.2, there is also a wizard script"
130 elog "with which you can create all necessary configuration options."
131 elog "To use it, simply execute the following command (please note that you need"
132 elog "to have dev-lang/ruby installed for it to work!):"
133 elog
134 elog " ${ROOT}usr/share/${PN}/scripts/mcwizz.rb"
135 elog
136 elog
137 elog "See the CONFIGURATION FILE and FILES sections of the mcabber"
138 elog "manual page (section 1) for more information."
139 elog
140 elog "From version 0.9.0 on, MCabber supports PGP encryption of messages."
141 elog "See README_PGP.txt for details."
142 elog
143 elog "Check out ${ROOT}usr/share/${PN} for contributed themes and event scripts."
144 elog
145 }