Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/dnotify/files/, sys-apps/dnotify/
Date: Sat, 26 May 2018 18:17:01
Message-Id: 1527358602.a99653cf4a2ed0e9cbcc3b038798509152f084ee.bman@gentoo
1 commit: a99653cf4a2ed0e9cbcc3b038798509152f084ee
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 26 16:24:53 2018 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sat May 26 18:16:42 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a99653cf
7
8 sys-apps/dnotify: bump EAPI and drop eutils
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 sys-apps/dnotify/dnotify-0.18.0.ebuild | 17 ++++++++---------
13 sys-apps/dnotify/files/dnotify-0.18.0-glibc-212.patch | 4 ++--
14 sys-apps/dnotify/files/dnotify-0.18.0-nls.patch | 4 ++--
15 3 files changed, 12 insertions(+), 13 deletions(-)
16
17 diff --git a/sys-apps/dnotify/dnotify-0.18.0.ebuild b/sys-apps/dnotify/dnotify-0.18.0.ebuild
18 index 440759ad96a..5a207d27f37 100644
19 --- a/sys-apps/dnotify/dnotify-0.18.0.ebuild
20 +++ b/sys-apps/dnotify/dnotify-0.18.0.ebuild
21 @@ -1,11 +1,10 @@
22 -# Copyright 1999-2010 Gentoo Foundation
23 +# Copyright 1999-2018 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=2
27 -inherit eutils
28 +EAPI=6
29
30 DESCRIPTION="Execute a command when the contents of a directory change"
31 -HOMEPAGE="http://directory.fsf.org/project/dnotify/"
32 +HOMEPAGE="https://directory.fsf.org/project/dnotify/"
33 SRC_URI="mirror://gentoo/${P}.tar.gz"
34
35 LICENSE="GPL-2"
36 @@ -16,10 +15,10 @@ IUSE="nls"
37 RDEPEND=""
38 DEPEND="nls? ( sys-devel/gettext )"
39
40 -src_prepare() {
41 - epatch "${FILESDIR}"/${P}-nls.patch \
42 - "${FILESDIR}"/${P}-glibc-212.patch
43 -}
44 +PATCHES=(
45 + "${FILESDIR}/${P}-nls.patch"
46 + "${FILESDIR}/${P}-glibc-212.patch"
47 +)
48
49 src_configure() {
50 econf \
51 @@ -28,5 +27,5 @@ src_configure() {
52
53 src_install() {
54 emake DESTDIR="${D}" install || die
55 - dodoc AUTHORS TODO NEWS README
56 + default
57 }
58
59 diff --git a/sys-apps/dnotify/files/dnotify-0.18.0-glibc-212.patch b/sys-apps/dnotify/files/dnotify-0.18.0-glibc-212.patch
60 index 6cc6e6f4009..19cd2003942 100644
61 --- a/sys-apps/dnotify/files/dnotify-0.18.0-glibc-212.patch
62 +++ b/sys-apps/dnotify/files/dnotify-0.18.0-glibc-212.patch
63 @@ -1,7 +1,7 @@
64 http://bugs.gentoo.org/336649
65
66 ---- src/main.c
67 -+++ src/main.c
68 +--- a/src/main.c
69 ++++ b/src/main.c
70 @@ -19,6 +19,7 @@
71
72 #include <config.h>
73
74 diff --git a/sys-apps/dnotify/files/dnotify-0.18.0-nls.patch b/sys-apps/dnotify/files/dnotify-0.18.0-nls.patch
75 index 7721ac1ee41..55400b70498 100644
76 --- a/sys-apps/dnotify/files/dnotify-0.18.0-nls.patch
77 +++ b/sys-apps/dnotify/files/dnotify-0.18.0-nls.patch
78 @@ -1,5 +1,5 @@
79 ---- src/gettext.h.orig 2006-01-27 18:23:31.000000000 +0100
80 -+++ src/gettext.h 2006-01-27 18:25:07.000000000 +0100
81 +--- a/src/gettext.h 2006-01-27 18:23:31.000000000 +0100
82 ++++ b/src/gettext.h 2006-01-27 18:25:07.000000000 +0100
83 @@ -24,6 +24,7 @@
84
85 /* Get declarations of GNU message catalog functions. */