Gentoo Archives: gentoo-commits

From: Thomas Beierlein <tomjbe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/xwxapt/files/, media-radio/xwxapt/
Date: Mon, 02 Oct 2017 15:14:00
Message-Id: 1506957121.7766ab31f653214dc842ee61058fd137eee45eba.tomjbe@gentoo
1 commit: 7766ab31f653214dc842ee61058fd137eee45eba
2 Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 2 15:11:30 2017 +0000
4 Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 2 15:12:01 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7766ab31
7
8 media-radio/xwxapt: Add missing po-files (Bug #631268)
9
10 Fix po-files missing from POTFILES.in. Now FEATURES=test works as
11 expected. Thnx Toralf.
12
13 Package-Manager: Portage-2.3.10, Repoman-2.3.3
14
15 media-radio/xwxapt/files/xwxapt-2.9_missing_po_files.patch | 11 +++++++++++
16 media-radio/xwxapt/xwxapt-2.9.ebuild | 3 ++-
17 2 files changed, 13 insertions(+), 1 deletion(-)
18
19 diff --git a/media-radio/xwxapt/files/xwxapt-2.9_missing_po_files.patch b/media-radio/xwxapt/files/xwxapt-2.9_missing_po_files.patch
20 new file mode 100644
21 index 00000000000..01b80e7baac
22 --- /dev/null
23 +++ b/media-radio/xwxapt/files/xwxapt-2.9_missing_po_files.patch
24 @@ -0,0 +1,11 @@
25 +# add missing po-files bug #631268
26 +--- po/POTFILES.in.orig 2013-12-02 08:01:31.000000000 +0100
27 ++++ po/POTFILES.in 2017-10-02 16:58:22.048524697 +0200
28 +@@ -7,4 +7,7 @@
29 + src/sound.c
30 + src/support.c
31 + src/utils.c
32 ++src/aptsignal.c
33 ++src/callback_func.c
34 ++src/rtlsdr.c
35 + xwxapt.glade
36
37 diff --git a/media-radio/xwxapt/xwxapt-2.9.ebuild b/media-radio/xwxapt/xwxapt-2.9.ebuild
38 index 40f26ed1177..08bb575a0db 100644
39 --- a/media-radio/xwxapt/xwxapt-2.9.ebuild
40 +++ b/media-radio/xwxapt/xwxapt-2.9.ebuild
41 @@ -3,7 +3,7 @@
42
43 EAPI=5
44
45 -inherit autotools
46 +inherit autotools eutils
47
48 DESCRIPTION="GTK+ linux weather satellite APT image decoder software"
49 HOMEPAGE="http://www.qsl.net/5b4az/pages/apt.html"
50 @@ -24,6 +24,7 @@ DEPEND="${RDEPEND}
51 virtual/pkgconfig"
52
53 src_prepare() {
54 + epatch "${FILESDIR}"/xwxapt-2.9_missing_po_files.patch
55 # create missing mkinstalldir and prepare package
56 glib-gettextize --force --copy || die "gettextize failed"
57 eautoreconf