Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-client/mail-notification: mail-notification-5.4-r3.ebuild ChangeLog mail-notification-5.4-r2.ebuild
Date: Wed, 21 Apr 2010 20:39:08
Message-Id: 20100421203905.150192C04B@corvid.gentoo.org
1 pacho 10/04/21 20:39:04
2
3 Modified: ChangeLog
4 Added: mail-notification-5.4-r3.ebuild
5 Removed: mail-notification-5.4-r2.ebuild
6 Log:
7 Use old e-d-s patch and add 'die' statements when needed.
8 (Portage version: 2.1.8.3/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.91 mail-client/mail-notification/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/mail-notification/ChangeLog?rev=1.91&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/mail-notification/ChangeLog?rev=1.91&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/mail-notification/ChangeLog?r1=1.90&r2=1.91
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/mail-client/mail-notification/ChangeLog,v
20 retrieving revision 1.90
21 retrieving revision 1.91
22 diff -u -r1.90 -r1.91
23 --- ChangeLog 19 Mar 2010 11:13:54 -0000 1.90
24 +++ ChangeLog 21 Apr 2010 20:39:04 -0000 1.91
25 @@ -1,6 +1,15 @@
26 # ChangeLog for mail-client/mail-notification
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/mail-client/mail-notification/ChangeLog,v 1.90 2010/03/19 11:13:54 pacho Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/mail-client/mail-notification/ChangeLog,v 1.91 2010/04/21 20:39:04 pacho Exp $
30 +
31 +*mail-notification-5.4-r3 (21 Apr 2010)
32 +
33 + 21 Apr 2010; Pacho Ramos <pacho@g.o>
34 + -mail-notification-5.4-r2.ebuild, +mail-notification-5.4-r3.ebuild,
35 + -files/mail-notification-5.4-e-d-s.patch:
36 + Use old e-d-s patch, this will need review when e-d-s-2.30 hits stable,
37 + but current fedora patch makes build fail against 2.28. Also add 'die'
38 + statements when needed.
39
40 *mail-notification-5.4-r2 (19 Mar 2010)
41
42
43
44
45 1.1 mail-client/mail-notification/mail-notification-5.4-r3.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/mail-notification/mail-notification-5.4-r3.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/mail-notification/mail-notification-5.4-r3.ebuild?rev=1.1&content-type=text/plain
49
50 Index: mail-notification-5.4-r3.ebuild
51 ===================================================================
52 # Copyright 1999-2010 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/mail-client/mail-notification/mail-notification-5.4-r3.ebuild,v 1.1 2010/04/21 20:39:04 pacho Exp $
55
56 EAPI=1
57
58 inherit gnome2 multilib flag-o-matic toolchain-funcs
59
60 DESCRIPTION="A GNOME trayicon which checks for email, with support for many online and offline mailbox formats."
61 HOMEPAGE="http://www.nongnu.org/mailnotify/"
62 SRC_URI="http://savannah.nongnu.org/download/mailnotify/${P}.tar.bz2"
63
64 KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
65 SLOT="0"
66 LICENSE="GPL-3"
67
68 IUSE="evo gmail imap ipv6 maildir mbox mh mozilla pop sasl ssl sylpheed"
69
70 # gmime is actually optional, but it's used by so much of the package
71 # it's pointless making it optional. gnome-keyring is required for
72 # several specific access methods, and thus linked to those USE flags
73 # instead of adding a keyring USE flag.
74 RDEPEND=">=x11-libs/gtk+-2.12
75 >=dev-libs/glib-2.14
76 >=gnome-base/gconf-2.4.0
77 >=gnome-base/gnome-panel-2.6
78 >=gnome-base/gconf-2.6
79 >=gnome-base/libgnomeui-2.14
80 >=gnome-base/libglade-2.0
81 dev-libs/dbus-glib
82 dev-libs/gmime:2.4
83 >=x11-libs/libnotify-0.4.1
84 pop? ( gnome-base/gnome-keyring )
85 imap? ( gnome-base/gnome-keyring )
86 gmail? ( gnome-base/gnome-keyring )
87 ssl? ( >=dev-libs/openssl-0.9.6 )
88 sasl? ( >=dev-libs/cyrus-sasl-2 )
89 evo? ( >=mail-client/evolution-2.24 )
90 sylpheed? ( mail-client/sylpheed )"
91
92 DEPEND="${RDEPEND}
93 app-text/scrollkeeper
94 dev-util/pkgconfig
95 >=dev-util/intltool-0.35.0"
96
97 # this now uses JB (the Jean-Yves Lefort's Build System) as a build system
98 # instead of autotools, this is a little helper function that basically does
99 # the same thing as use_enable
100 use_var() {
101 echo -n "${2:-$1}="
102 use "${1}" && echo "yes" || echo "no"
103 }
104
105 src_unpack() {
106 unpack ${A}
107 cd "${S}"
108
109 epatch "${FILESDIR}/${P}-dont-update-cache.patch"
110
111 # We are not Ubuntu, and I suspect that this is the cause of #215281
112 epatch "${FILESDIR}/${P}-remove-ubuntu-special-case.patch"
113
114 # Make it work ok with eds-2.24
115 epatch "${FILESDIR}/${P}-e-d-s-2.24.patch"
116
117 # Fix gtkhtml depend to solve building against evo-2.28, see bug #293374
118 epatch "${FILESDIR}/${P}-evolution-gtkhtml.patch"
119
120 # Add patch for new cyrus-sasl's ABI, see:
121 # https://bugzilla.redhat.com/501456
122 epatch "${FILESDIR}/${P}-sasl_encode64.patch"
123
124 # Fedora patch to build against dev-libs/gmime:2.4
125 epatch "${FILESDIR}/${P}-gmime.patch"
126 }
127
128 src_compile() {
129 ./jb configure destdir="${D}" prefix="/usr" libdir=/usr/$(get_libdir) \
130 sysconfdir="/etc" localstatedir="/var" cc="$(tc-getCC)" \
131 cflags="${CFLAGS}" cppflags="${CXXFLAGS}" ldflags="${LDFLAGS}" \
132 scrollkeeper-dir="/var/lib/scrollkeeper" \
133 $(use_var evo evolution) \
134 $(use_var gmail) \
135 $(use_var imap) \
136 $(use_var ipv6) \
137 $(use_var maildir) \
138 $(use_var mbox) \
139 $(use_var mh) \
140 $(use_var mozilla) \
141 $(use_var pop pop3) \
142 $(use_var sasl) \
143 $(use_var ssl) \
144 $(use_var sylpheed) || die
145
146 ./jb build || die
147 }
148
149 src_install() {
150 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" ./jb install || die
151
152 dodoc NEWS README AUTHORS TODO TRANSLATING
153
154 rm -rf "${D}/var/lib/scrollkeeper"
155 }