Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-client/mail-notification: ChangeLog mail-notification-5.4-r1.ebuild
Date: Mon, 30 Mar 2009 18:13:32
Message-Id: E1LoLyZ-000135-2M@stork.gentoo.org
1 graaff 09/03/30 18:12:47
2
3 Modified: ChangeLog
4 Added: mail-notification-5.4-r1.ebuild
5 Log:
6 Fix #262182
7 (Portage version: 2.1.6.7/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.81 mail-client/mail-notification/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/mail-notification/ChangeLog?rev=1.81&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/mail-notification/ChangeLog?rev=1.81&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/mail-notification/ChangeLog?r1=1.80&r2=1.81
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/mail-client/mail-notification/ChangeLog,v
19 retrieving revision 1.80
20 retrieving revision 1.81
21 diff -u -r1.80 -r1.81
22 --- ChangeLog 13 Dec 2008 10:28:12 -0000 1.80
23 +++ ChangeLog 30 Mar 2009 18:12:46 -0000 1.81
24 @@ -1,6 +1,16 @@
25 # ChangeLog for mail-client/mail-notification
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/mail-client/mail-notification/ChangeLog,v 1.80 2008/12/13 10:28:12 graaff Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/mail-client/mail-notification/ChangeLog,v 1.81 2009/03/30 18:12:46 graaff Exp $
30 +
31 +*mail-notification-5.4-r1 (30 Mar 2009)
32 +
33 + 30 Mar 2009; Hans de Graaff <graaff@g.o>
34 + +files/mail-notification-5.4-e-d-s-2.24.patch,
35 + +mail-notification-5.4-r1.ebuild:
36 + Version bump to fix #262182, thanks to Pacho Ramos for providing the original
37 + patch. Instead of updating the patch to deal with all possible
38 + evolution-data-server versions I've fixed things for the currently stable
39 + 2.24 series and mail-notification now depends on that.
40
41 23 Oct 2008; Hans de Graaff <graaff@g.o>
42 -files/mail-notification-4.1-evo-2.12-api-change.patch,
43
44
45
46 1.1 mail-client/mail-notification/mail-notification-5.4-r1.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/mail-notification/mail-notification-5.4-r1.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/mail-notification/mail-notification-5.4-r1.ebuild?rev=1.1&content-type=text/plain
50
51 Index: mail-notification-5.4-r1.ebuild
52 ===================================================================
53 # Copyright 1999-2009 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/mail-client/mail-notification/mail-notification-5.4-r1.ebuild,v 1.1 2009/03/30 18:12:47 graaff Exp $
56
57 inherit gnome2 multilib flag-o-matic toolchain-funcs
58
59 DESCRIPTION="A GNOME trayicon which checks for email, with support for many online and offline mailbox formats."
60 HOMEPAGE="http://www.nongnu.org/mailnotify/"
61 SRC_URI="http://savannah.nongnu.org/download/mailnotify/${P}.tar.bz2"
62
63 KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
64 SLOT="0"
65 LICENSE="GPL-3"
66
67 IUSE="evo gmail imap ipv6 maildir mbox mh mozilla pop sasl ssl sylpheed"
68
69 # gmime is actually optional, but it's used by so much of the package
70 # it's pointless making it optional. gnome-keyring is required for
71 # several specific access methods, and thus linked to those USE flags
72 # instead of adding a keyring USE flag.
73 RDEPEND=">=x11-libs/gtk+-2.12
74 >=dev-libs/glib-2.14
75 >=gnome-base/gconf-2.4.0
76 >=gnome-base/gnome-panel-2.6
77 >=gnome-base/eel-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.2.7
83 =dev-libs/gmime-2.2*
84 >=x11-libs/libnotify-0.4.1
85 pop? ( gnome-base/gnome-keyring )
86 imap? ( gnome-base/gnome-keyring )
87 gmail? ( gnome-base/gnome-keyring )
88 ssl? ( >=dev-libs/openssl-0.9.6 )
89 sasl? ( >=dev-libs/cyrus-sasl-2 )
90 evo? ( >=mail-client/evolution-2.24 )
91 sylpheed? ( virtual/sylpheed )"
92
93 DEPEND="${RDEPEND}
94 app-text/scrollkeeper
95 dev-util/pkgconfig
96 >=dev-util/intltool-0.35.0"
97
98 # this now uses JB (the Jean-Yves Lefort's Build System) as a build system
99 # instead of autotools, this is a little helper function that basically does
100 # the same thing as use_enable
101 use_var() {
102 echo -n "${2:-$1}="
103 use "${1}" && echo "yes" || echo "no"
104 }
105
106 src_unpack() {
107 unpack ${A}
108 cd "${S}"
109
110 epatch "${FILESDIR}/${P}-dont-update-cache.patch"
111
112 # We are not Ubuntu, and I suspect that this is the cause of #215281
113 epatch "${FILESDIR}/${P}-remove-ubuntu-special-case.patch"
114
115 # Make sure we don't crash with newer versions of
116 # evolution-data-server.
117 epatch "${FILESDIR}/${P}-e-d-s-2.24.patch"
118 }
119
120 src_compile() {
121 ./jb configure destdir="${D}" prefix="/usr" libdir=/usr/$(get_libdir) \
122 sysconfdir="/etc" localstatedir="/var" cc="$(tc-getCC)" \
123 cflags="${CFLAGS}" cppflags="${CXXFLAGS}" ldflags="${LDFLAGS}" \
124 scrollkeeper-dir="/var/lib/scrollkeeper" \
125 $(use_var evo evolution) \
126 $(use_var gmail) \
127 $(use_var imap) \
128 $(use_var ipv6) \
129 $(use_var maildir) \
130 $(use_var mbox) \
131 $(use_var mh) \
132 $(use_var mozilla) \
133 $(use_var pop pop3) \
134 $(use_var sasl) \
135 $(use_var ssl) \
136 $(use_var sylpheed)
137
138 ./jb build
139 }
140
141 src_install() {
142 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" ./jb install
143
144 dodoc NEWS README AUTHORS TODO TRANSLATING
145
146 rm -rf "${D}/var/lib/scrollkeeper"
147 }