Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/mail-notification/
Date: Sun, 27 Nov 2016 15:04:57
Message-Id: 1480259081.0eec77dd905439081358c918d51970ebbdf9fab9.pacho@gentoo
1 commit: 0eec77dd905439081358c918d51970ebbdf9fab9
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 27 15:00:04 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 27 15:04:41 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eec77dd
7
8 mail-client/mail-notification: Drop old
9
10 Package-Manager: portage-2.3.2
11
12 mail-client/mail-notification/Manifest | 1 -
13 .../mail-notification-5.4-r8.ebuild | 112 ---------------------
14 2 files changed, 113 deletions(-)
15
16 diff --git a/mail-client/mail-notification/Manifest b/mail-client/mail-notification/Manifest
17 index cd19b8f..bb8c8a4 100644
18 --- a/mail-client/mail-notification/Manifest
19 +++ b/mail-client/mail-notification/Manifest
20 @@ -1,2 +1 @@
21 DIST mail-notification-9ae8768.tar.gz 573948 SHA256 632c0b696f3f3878b497d65d944b1778ea379abcb4536fb6285c0035ae984db3 SHA512 57ddeb63816dd1db1b732dd13fedeb366e1d82f070feb3f9cf854a85a0e66ab2a60a92126fa57cdc338df699e304007dd84593ea1d6185b08c21a018e441629b WHIRLPOOL 3e11a7094bcb62c5384a13671e5bd96c27d230de20c130463520c6ac1b105b86e875dc9feb1b23dafd5579d9576483347a7bad5c18108efe3cccebdb68caaf87
22 -DIST mail-notification-eab5c13.tar.gz 569791 SHA256 12f79cfaa6f5bbfa68e2a5e8dca651cfe19ed017741c21bec5b3b91bccecffe6 SHA512 fe4b5c7b04fe24950fcff0796dbe27c0172e9e8c1b1229f18064ae3720d12a669803e08796ac61d64912847eaaccc451363d69cecd55995274c5a0b2705a78f1 WHIRLPOOL 480179b855b7b86cb80b750c14c034e2f52b280a4b1b6e6aeed3c64b722808c7bd0086e75a9a0423d71424ffa37b3752da2b170c3b7af13697b77cafaceabb25
23
24 diff --git a/mail-client/mail-notification/mail-notification-5.4-r8.ebuild b/mail-client/mail-notification/mail-notification-5.4-r8.ebuild
25 deleted file mode 100644
26 index 43bd96b..00000000
27 --- a/mail-client/mail-notification/mail-notification-5.4-r8.ebuild
28 +++ /dev/null
29 @@ -1,112 +0,0 @@
30 -# Copyright 1999-2014 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -# $Id$
33 -
34 -EAPI=5
35 -GCONF_DEBUG="no"
36 -
37 -inherit gnome2 eutils multilib flag-o-matic toolchain-funcs
38 -
39 -DESCRIPTION="Status icon informing about new mail"
40 -HOMEPAGE="http://www.nongnu.org/mailnotify/ https://github.com/epienbroek/mail-notification"
41 -
42 -GIT_REVISION="eab5c13" # Same as Fedora
43 -SRC_URI="https://github.com/epienbroek/${PN}/tarball/${GIT_REVISION} -> ${PN}-${GIT_REVISION}.tar.gz"
44 -S="${WORKDIR}/epienbroek-${PN}-${GIT_REVISION}"
45 -
46 -KEYWORDS="amd64 ~ppc ~sparc x86 ~x86-linux"
47 -SLOT="0"
48 -LICENSE="GPL-3"
49 -IUSE="+gnome-keyring sasl +sound ssl sylpheed"
50 -
51 -LANGS="bg ca cs de es fr ja nl pl pt pt_BR ru sr sr@Latn sv"
52 -for lang in ${LANGS}; do
53 - IUSE+=" linguas_${lang}"
54 -done
55 -
56 -# gmime is actually optional, but it's used by so much of the package
57 -# it's pointless making it optional. gnome-keyring is required for
58 -# several specific access methods, and thus linked to those USE flags
59 -# instead of adding a keyring USE flag.
60 -RDEPEND="
61 - x11-libs/gtk+:3
62 - >=dev-libs/glib-2.14:2
63 - >=gnome-base/gconf-2.6
64 - >=gnome-base/libgnomeui-2.14
65 - dev-libs/dbus-glib
66 - dev-libs/gmime:2.6
67 - >=x11-libs/libnotify-0.4.1
68 - gnome-keyring? ( gnome-base/libgnome-keyring )
69 - ssl? ( >=dev-libs/openssl-0.9.6 )
70 - sasl? ( >=dev-libs/cyrus-sasl-2 )
71 - sound? ( media-libs/gstreamer:0.10 )
72 - sylpheed? ( mail-client/sylpheed )
73 -"
74 -DEPEND="${RDEPEND}
75 - app-text/scrollkeeper
76 - dev-util/gob
77 - sys-devel/gettext
78 - virtual/pkgconfig
79 - >=dev-util/intltool-0.35.0
80 -"
81 -# this now uses JB (the Jean-Yves Lefort's Build System) as a build system
82 -# instead of autotools, this is a little helper function that basically does
83 -# the same thing as use_enable
84 -use_var() {
85 - echo "${2:-$1}=$(usex $1)"
86 -}
87 -
88 -src_prepare() {
89 - sed -i -e '/jb_rule_set_install_message/d' \
90 - -e '/jb_rule_add_install_command/d' \
91 - jbsrc/jb.c || die
92 -
93 - # Ensure we never append -Werror
94 - sed -i -e 's/ -Werror//' jb jbsrc/jb.c || die
95 -
96 - # We are not Ubuntu, and this could be the cause of #215281
97 - epatch "${FILESDIR}/${P}-remove-ubuntu-special-case.patch"
98 -
99 - # Apply Fedora patches
100 - # Fix gcc warning
101 - epatch "${FILESDIR}/${PN}-jb-gcc-format.patch"
102 - # Support aarch64
103 - epatch "${FILESDIR}/${PN}-aarch64.patch"
104 - # Fix build with latest libc
105 - epatch "${FILESDIR}/${PN}-dont-link-against-bsd-compat.patch"
106 -}
107 -
108 -src_configure() {
109 - set -- \
110 - ./jb configure destdir="${D}" prefix="${EPREFIX}/usr" libdir="${EPREFIX}/usr/$(get_libdir)" \
111 - sysconfdir="${EPREFIX}/etc" localstatedir="${EPREFIX}/var" cc="$(tc-getCC)" \
112 - cflags="${CFLAGS}" cppflags="${CXXFLAGS}" ldflags="${LDFLAGS}" \
113 - scrollkeeper-dir="${EPREFIX}/var/lib/scrollkeeper" \
114 - $(use_var gnome-keyring gmail) \
115 - $(use_var gnome-keyring imap) \
116 - $(use_var gnome-keyring pop3) \
117 - $(use_var sasl) \
118 - $(use_var ssl) \
119 - $(use_var sylpheed)
120 - echo "$@"
121 - "$@" || die
122 -}
123 -
124 -src_compile() {
125 - ./jb build || die
126 -}
127 -
128 -src_install() {
129 - GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" ./jb install || die
130 - dodoc NEWS README AUTHORS TODO TRANSLATING
131 - rm -rf "${ED}/var/lib/scrollkeeper"
132 -
133 - einfo "Cleaning up locales..."
134 - for lang in ${LANGS}; do
135 - use "linguas_${lang}" && {
136 - einfo "- keeping ${lang}"
137 - continue
138 - }
139 - rm -Rf "${D}"/usr/share/locale/"${lang}" || die
140 - done
141 -}