Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/mail-notification/files/, profiles/, mail-client/mail-notification/
Date: Tue, 28 Apr 2020 17:40:58
Message-Id: 1588095604.62baa97969a52b3f25dff221604523d56855fac2.mattst88@gentoo
1 commit: 62baa97969a52b3f25dff221604523d56855fac2
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 28 17:39:22 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 28 17:40:04 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62baa979
7
8 mail-client/mail-notification: Remove
9
10 Closes: https://bugs.gentoo.org/713030
11 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
12
13 mail-client/mail-notification/Manifest | 1 -
14 ...tification-5.4-remove-ubuntu-special-case.patch | 33 -------
15 ...notification-dont-link-against-bsd-compat.patch | 10 --
16 .../files/mail-notification-jb-gcc-format.patch | 15 ---
17 .../mail-notification-5.4-r10.ebuild | 110 ---------------------
18 mail-client/mail-notification/metadata.xml | 17 ----
19 profiles/package.mask | 6 --
20 7 files changed, 192 deletions(-)
21
22 diff --git a/mail-client/mail-notification/Manifest b/mail-client/mail-notification/Manifest
23 deleted file mode 100644
24 index 653bebe6182..00000000000
25 --- a/mail-client/mail-notification/Manifest
26 +++ /dev/null
27 @@ -1 +0,0 @@
28 -DIST mail-notification-9ae8768.tar.gz 573948 BLAKE2B 03ca4d8007aa0ec2d0caa01934c1e127b629c3c41e28e88fb24bc3fae21052a0c315e4784162afd7e0aac524b1f6510f897895bd37d7684ca6f2a81e1247ffeb SHA512 57ddeb63816dd1db1b732dd13fedeb366e1d82f070feb3f9cf854a85a0e66ab2a60a92126fa57cdc338df699e304007dd84593ea1d6185b08c21a018e441629b
29
30 diff --git a/mail-client/mail-notification/files/mail-notification-5.4-remove-ubuntu-special-case.patch b/mail-client/mail-notification/files/mail-notification-5.4-remove-ubuntu-special-case.patch
31 deleted file mode 100644
32 index b3501c86362..00000000000
33 --- a/mail-client/mail-notification/files/mail-notification-5.4-remove-ubuntu-special-case.patch
34 +++ /dev/null
35 @@ -1,33 +0,0 @@
36 ---- a/jbsrc/lib/src/core/jb-feature.c.~1~ 2008-04-27 16:47:27.000000000 +0200
37 -+++ b/jbsrc/lib/src/core/jb-feature.c 2008-07-22 11:40:50.856886210 +0200
38 -@@ -164,8 +164,6 @@
39 - static void
40 - gconf_configure (void)
41 - {
42 -- JBVariable *variable;
43 --
44 - jb_require_program("gconftool-2");
45 -
46 - if (! strcmp(jb_variable_get_string("gconf-config-source"), "autodetect"))
47 -@@ -178,21 +176,6 @@
48 - jb_variable_set_string("gconf-config-source", config_source);
49 - g_free(config_source);
50 - }
51 --
52 -- /* fix the default schemas dir on Ubuntu */
53 -- variable = jb_variable_get_variable_or_error("gconf-schemas-dir");
54 -- if (! variable->user_set)
55 -- {
56 -- static const char *ubuntu_dir = "$datadir/gconf/schemas";
57 -- char *expanded;
58 --
59 -- expanded = jb_variable_expand(ubuntu_dir, NULL);
60 --
61 -- if (g_file_test(expanded, G_FILE_TEST_IS_DIR))
62 -- jb_variable_set_string("gconf-schemas-dir", ubuntu_dir);
63 --
64 -- g_free(expanded);
65 -- }
66 - }
67 -
68 - static void
69
70 diff --git a/mail-client/mail-notification/files/mail-notification-dont-link-against-bsd-compat.patch b/mail-client/mail-notification/files/mail-notification-dont-link-against-bsd-compat.patch
71 deleted file mode 100644
72 index 4f203c0179c..00000000000
73 --- a/mail-client/mail-notification/files/mail-notification-dont-link-against-bsd-compat.patch
74 +++ /dev/null
75 @@ -1,10 +0,0 @@
76 ---- a/jbsrc/jb.c.orig 2014-01-19 20:06:48.525462981 +0100
77 -+++ b/jbsrc/jb.c 2014-01-19 20:07:36.087934897 +0100
78 -@@ -425,7 +425,6 @@
79 - */
80 - jb_compile_options_add_cflags(object->compile_options, "-std=c99");
81 - jb_compile_options_add_cppflags(object->compile_options, "-D_BSD_SOURCE -D_POSIX_C_SOURCE=199309L");
82 -- jb_compile_options_add_libs(object->compile_options, "-lbsd-compat");
83 - }
84 -
85 - jb_compile_options_add_string_defines(object->compile_options,
86
87 diff --git a/mail-client/mail-notification/files/mail-notification-jb-gcc-format.patch b/mail-client/mail-notification/files/mail-notification-jb-gcc-format.patch
88 deleted file mode 100644
89 index c99b01eda48..00000000000
90 --- a/mail-client/mail-notification/files/mail-notification-jb-gcc-format.patch
91 +++ /dev/null
92 @@ -1,15 +0,0 @@
93 -Index: epienbroek-mail-notification-eab5c13/jbsrc/lib/src/core/jb-util.c
94 -===================================================================
95 ---- epienbroek-mail-notification-eab5c13.orig/jbsrc/lib/src/core/jb-util.c
96 -+++ epienbroek-mail-notification-eab5c13/jbsrc/lib/src/core/jb-util.c
97 -@@ -208,6 +208,10 @@ jb_message_result_string_format (const c
98 - g_free(message);
99 - }
100 -
101 -+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
102 -+static void print_warning_or_error (const char *prefix, const char *format, va_list args) __attribute__ ((format(printf, 1, 0)));
103 -+#endif
104 -+
105 - static void
106 - print_warning_or_error (const char *prefix, const char *format, va_list args)
107 - {
108
109 diff --git a/mail-client/mail-notification/mail-notification-5.4-r10.ebuild b/mail-client/mail-notification/mail-notification-5.4-r10.ebuild
110 deleted file mode 100644
111 index 4c0b026eefa..00000000000
112 --- a/mail-client/mail-notification/mail-notification-5.4-r10.ebuild
113 +++ /dev/null
114 @@ -1,110 +0,0 @@
115 -# Copyright 1999-2018 Gentoo Foundation
116 -# Distributed under the terms of the GNU General Public License v2
117 -
118 -EAPI=6
119 -inherit gnome2 multilib flag-o-matic toolchain-funcs
120 -
121 -DESCRIPTION="Status icon informing about new mail"
122 -HOMEPAGE="http://www.nongnu.org/mailnotify/ https://github.com/epienbroek/mail-notification"
123 -
124 -GIT_REVISION="9ae8768" # Same as Fedora
125 -SRC_URI="https://github.com/epienbroek/${PN}/tarball/${GIT_REVISION} -> ${PN}-${GIT_REVISION}.tar.gz"
126 -S="${WORKDIR}/epienbroek-${PN}-${GIT_REVISION}"
127 -
128 -KEYWORDS="amd64 ~ppc ~sparc x86 ~x86-linux"
129 -SLOT="0"
130 -LICENSE="GPL-3"
131 -IUSE="+gnome-keyring libressl sasl ssl sylpheed"
132 -
133 -LANGS="bg ca cs de es fr ja nl pl pt pt_BR ru sr sr@Latn sv"
134 -
135 -# gmime is actually optional, but it's used by so much of the package
136 -# it's pointless making it optional. gnome-keyring is required for
137 -# several specific access methods, and thus linked to those USE flags
138 -# instead of adding a keyring USE flag.
139 -RDEPEND="
140 - x11-libs/gtk+:3
141 - >=dev-libs/glib-2.14:2
142 - >=gnome-base/gconf-2.6
143 - >=gnome-base/libgnomeui-2.14
144 - dev-libs/dbus-glib
145 - dev-libs/gmime:2.6
146 - >=x11-libs/libnotify-0.4.1
147 - gnome-keyring? ( gnome-base/libgnome-keyring )
148 - ssl? (
149 - !libressl? ( dev-libs/openssl:0= )
150 - libressl? ( dev-libs/libressl:0= )
151 - )
152 - sasl? ( >=dev-libs/cyrus-sasl-2 )
153 - sylpheed? ( mail-client/sylpheed )
154 -"
155 -DEPEND="${RDEPEND}
156 - app-text/rarian
157 - dev-util/gob
158 - sys-devel/gettext
159 - virtual/pkgconfig
160 - >=dev-util/intltool-0.35.0
161 -"
162 -# this now uses JB (the Jean-Yves Lefort's Build System) as a build system
163 -# instead of autotools, this is a little helper function that basically does
164 -# the same thing as use_enable
165 -use_var() {
166 - echo "${2:-$1}=$(usex $1)"
167 -}
168 -
169 -src_prepare() {
170 - sed -i -e '/jb_rule_set_install_message/d' \
171 - -e '/jb_rule_add_install_command/d' \
172 - jbsrc/jb.c || die
173 -
174 - # Ensure we never append -Werror
175 - sed -i -e 's/ -Werror//' jb jbsrc/jb.c || die
176 -
177 - # We are not Ubuntu, and this could be the cause of #215281
178 - eapply "${FILESDIR}/${P}-remove-ubuntu-special-case.patch"
179 -
180 - # Apply Fedora patches
181 - # Fix gcc warning
182 - eapply "${FILESDIR}/${PN}-jb-gcc-format.patch"
183 - # Fix build with latest libc
184 - eapply "${FILESDIR}/${PN}-dont-link-against-bsd-compat.patch"
185 -
186 - gnome2_src_prepare
187 -}
188 -
189 -src_configure() {
190 - set -- \
191 - ./jb configure destdir="${D}" prefix="${EPREFIX}/usr" libdir="${EPREFIX}/usr/$(get_libdir)" \
192 - sysconfdir="${EPREFIX}/etc" localstatedir="${EPREFIX}/var" cc="$(tc-getCC)" \
193 - cflags="${CFLAGS}" cppflags="${CXXFLAGS}" ldflags="${LDFLAGS}" \
194 - scrollkeeper-dir="${EPREFIX}/var/lib/scrollkeeper" \
195 - $(use_var gnome-keyring gmail) \
196 - $(use_var gnome-keyring imap) \
197 - $(use_var gnome-keyring pop3) \
198 - $(use_var sasl) \
199 - $(use_var ssl) \
200 - $(use_var sylpheed)
201 - echo "$@"
202 - "$@" || die
203 -}
204 -
205 -src_compile() {
206 - ./jb build || die
207 -}
208 -
209 -src_install() {
210 - GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" ./jb install || die
211 - einstalldocs
212 - rm -rf "${ED}/var/lib/scrollkeeper"
213 -
214 - if [[ -n ${LINGUAS+set} ]]; then
215 - einfo "Cleaning up locales..."
216 - for lang in ${LANGS}; do
217 - if has ${lang} ${LINGUAS}; then
218 - einfo "- keeping ${lang}"
219 - else
220 - rm -Rf "${D}"/usr/share/locale/"${lang}" || die
221 - fi
222 - done
223 - fi
224 -}
225
226 diff --git a/mail-client/mail-notification/metadata.xml b/mail-client/mail-notification/metadata.xml
227 deleted file mode 100644
228 index 7065e3c706b..00000000000
229 --- a/mail-client/mail-notification/metadata.xml
230 +++ /dev/null
231 @@ -1,17 +0,0 @@
232 -<?xml version="1.0" encoding="UTF-8"?>
233 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
234 -<pkgmetadata>
235 - <!-- maintainer-needed -->
236 - <longdescription>
237 -A GNOME trayicon which checks for email. Supports mbox, MH,
238 -Maildir, IMAP, Sylpheed, POP3, Gmail and Evolution. Authenticates via
239 -apop, ssl, sasl.
240 -</longdescription>
241 - <use>
242 - <flag name="sylpheed">Enable support for MH mailboxes used by
243 - <pkg>mail-client/sylpheed</pkg></flag>
244 - </use>
245 - <upstream>
246 - <remote-id type="github">epienbroek/mail-notification</remote-id>
247 - </upstream>
248 -</pkgmetadata>
249
250 diff --git a/profiles/package.mask b/profiles/package.mask
251 index 7d2dac67c64..1f172b84b2e 100644
252 --- a/profiles/package.mask
253 +++ b/profiles/package.mask
254 @@ -750,12 +750,6 @@ dev-util/buildbot-www
255 net-fs/ncpfs
256 net-misc/ipx-utils
257
258 -# Matt Turner <mattst88@g.o> (2020-03-28)
259 -# Last release 2008. Last upstream commit 2013. Blocks removal of
260 -# gnome-base/libgnome-keyring
261 -# Bug #713030
262 -mail-client/mail-notification
263 -
264 # Georgy Yakovlev <gyakovlev@g.o> (2020-03-27)
265 # Vulnerable old version of icedtea-web #711392
266 # new version is not packaged yet