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-r7.ebuild ChangeLog mail-notification-5.4-r5.ebuild
Date: Wed, 31 Jul 2013 20:29:40
Message-Id: 20130731202936.ABCDF2171D@flycatcher.gentoo.org
1 pacho 13/07/31 20:29:36
2
3 Modified: ChangeLog
4 Added: mail-notification-5.4-r7.ebuild
5 Removed: mail-notification-5.4-r5.ebuild
6 Log:
7 Revision bump: uses updated snapshot, also applies fedora patches, drops -Werror completely (#450468 by flameeyes and #479108 by Juergen Rose), rekeyword again on sparc as it was dropped until evo-3 was keyworded (that is already the case, bug #437372). Drop old
8
9 (Portage version: 2.1.13.2/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
10
11 Revision Changes Path
12 1.115 mail-client/mail-notification/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/mail-notification/ChangeLog?rev=1.115&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/mail-notification/ChangeLog?rev=1.115&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/mail-notification/ChangeLog?r1=1.114&r2=1.115
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/mail-client/mail-notification/ChangeLog,v
21 retrieving revision 1.114
22 retrieving revision 1.115
23 diff -u -r1.114 -r1.115
24 --- ChangeLog 6 Oct 2012 15:12:51 -0000 1.114
25 +++ ChangeLog 31 Jul 2013 20:29:36 -0000 1.115
26 @@ -1,6 +1,17 @@
27 # ChangeLog for mail-client/mail-notification
28 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/mail-client/mail-notification/ChangeLog,v 1.114 2012/10/06 15:12:51 blueness Exp $
30 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/mail-client/mail-notification/ChangeLog,v 1.115 2013/07/31 20:29:36 pacho Exp $
32 +
33 +*mail-notification-5.4-r7 (31 Jul 2013)
34 +
35 + 31 Jul 2013; Pacho Ramos <pacho@g.o>
36 + +files/mail-notification-aarch64.patch,
37 + +files/mail-notification-jb-gcc-format.patch,
38 + +mail-notification-5.4-r7.ebuild, -mail-notification-5.4-r5.ebuild:
39 + Revision bump: uses updated snapshot, also applies fedora patches, drops
40 + -Werror completely (#450468 by flameeyes and #479108 by Juergen Rose),
41 + rekeyword again on sparc as it was dropped until evo-3 was keyworded (that is
42 + already the case, bug #437372). Drop old
43
44 06 Oct 2012; Anthony G. Basile <blueness@g.o>
45 mail-notification-5.4-r6.ebuild:
46
47
48
49 1.1 mail-client/mail-notification/mail-notification-5.4-r7.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/mail-notification/mail-notification-5.4-r7.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/mail-notification/mail-notification-5.4-r7.ebuild?rev=1.1&content-type=text/plain
53
54 Index: mail-notification-5.4-r7.ebuild
55 ===================================================================
56 # Copyright 1999-2013 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Header: /var/cvsroot/gentoo-x86/mail-client/mail-notification/mail-notification-5.4-r7.ebuild,v 1.1 2013/07/31 20:29:36 pacho Exp $
59
60 EAPI=5
61 GCONF_DEBUG="no"
62
63 inherit gnome2 multilib flag-o-matic toolchain-funcs eutils
64
65 DESCRIPTION="Status icon informing about new mail"
66 HOMEPAGE="http://www.nongnu.org/mailnotify/ https://github.com/epienbroek/mail-notification"
67
68 GIT_REVISION="eab5c13" # Same as Fedora
69 SRC_URI="https://github.com/epienbroek/${PN}/tarball/${GIT_REVISION} -> ${PN}-${GIT_REVISION}.tar.gz"
70 S="${WORKDIR}/epienbroek-${PN}-${GIT_REVISION}"
71
72 KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-linux"
73 SLOT="0"
74 LICENSE="GPL-3"
75 IUSE="evo +gnome-keyring sasl +sound ssl sylpheed"
76
77 LANGS="bg ca cs de es fr ja nl pl pt pt_BR ru sr sr@Latn sv"
78 for lang in ${LANGS}; do
79 IUSE+=" linguas_${lang}"
80 done
81
82 # gmime is actually optional, but it's used by so much of the package
83 # it's pointless making it optional. gnome-keyring is required for
84 # several specific access methods, and thus linked to those USE flags
85 # instead of adding a keyring USE flag.
86 RDEPEND="
87 x11-libs/gtk+:3
88 >=dev-libs/glib-2.14:2
89 >=gnome-base/gconf-2.6
90 >=gnome-base/libgnomeui-2.14
91 dev-libs/dbus-glib
92 dev-libs/gmime:2.6
93 >=x11-libs/libnotify-0.4.1
94 gnome-keyring? ( gnome-base/libgnome-keyring )
95 ssl? ( >=dev-libs/openssl-0.9.6 )
96 sasl? ( >=dev-libs/cyrus-sasl-2 )
97 sound? ( media-libs/gstreamer:0.10 )
98 evo? ( >=mail-client/evolution-3 )
99 sylpheed? ( mail-client/sylpheed )
100 "
101 DEPEND="${RDEPEND}
102 app-text/scrollkeeper
103 dev-util/gob
104 sys-devel/gettext
105 virtual/pkgconfig
106 >=dev-util/intltool-0.35.0
107 "
108 # this now uses JB (the Jean-Yves Lefort's Build System) as a build system
109 # instead of autotools, this is a little helper function that basically does
110 # the same thing as use_enable
111 use_var() {
112 echo "${2:-$1}=$(usex $1)"
113 }
114
115 src_prepare() {
116 sed -i -e '/jb_rule_set_install_message/d' \
117 -e '/jb_rule_add_install_command/d' \
118 jbsrc/jb.c || die
119
120 # Ensure we never append -Werror
121 sed -i -e 's/ -Werror//' jb jbsrc/jb.c || die
122
123 # We are not Ubuntu, and this could be the cause of #215281
124 epatch "${FILESDIR}/${P}-remove-ubuntu-special-case.patch"
125
126 # Apply Fedora patches
127 # Fix gcc warning
128 epatch "${FILESDIR}/${PN}-jb-gcc-format.patch"
129 # Support aarch64
130 epatch "${FILESDIR}/${PN}-aarch64.patch"
131 }
132
133 src_configure() {
134 set -- \
135 ./jb configure destdir="${D}" prefix="${EPREFIX}/usr" libdir="${EPREFIX}/usr/$(get_libdir)" \
136 sysconfdir="${EPREFIX}/etc" localstatedir="${EPREFIX}/var" cc="$(tc-getCC)" \
137 cflags="${CFLAGS}" cppflags="${CXXFLAGS}" ldflags="${LDFLAGS}" \
138 scrollkeeper-dir="${EPREFIX}/var/lib/scrollkeeper" \
139 $(use_var evo evolution) \
140 $(use_var gnome-keyring gmail) \
141 $(use_var gnome-keyring imap) \
142 $(use_var gnome-keyring pop3) \
143 $(use_var sasl) \
144 $(use_var ssl) \
145 $(use_var sylpheed)
146 echo "$@"
147 "$@" || die
148 }
149
150 src_compile() {
151 ./jb build || die
152 }
153
154 src_install() {
155 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" ./jb install || die
156 dodoc NEWS README AUTHORS TODO TRANSLATING
157 rm -rf "${ED}/var/lib/scrollkeeper"
158
159 einfo "Cleaning up locales..."
160 for lang in ${LANGS}; do
161 use "linguas_${lang}" && {
162 einfo "- keeping ${lang}"
163 continue
164 }
165 rm -Rf "${D}"/usr/share/locale/"${lang}" || die
166 done
167 }