Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/intltool/, dev-util/intltool/files/
Date: Tue, 27 Jun 2017 22:56:34
Message-Id: 1498604098.1105187fc65d8bf643e682fcef39620dcfd9326a.dilfridge@gentoo
1 commit: 1105187fc65d8bf643e682fcef39620dcfd9326a
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 27 22:54:58 2017 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 27 22:54:58 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1105187f
7
8 dev-util/intltool: Revision bump for bug 614698
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 .../intltool/files/intltool-0.51.0-perl-5.26.patch | 12 +++++++++
13 dev-util/intltool/intltool-0.51.0-r2.ebuild | 30 ++++++++++++++++++++++
14 2 files changed, 42 insertions(+)
15
16 diff --git a/dev-util/intltool/files/intltool-0.51.0-perl-5.26.patch b/dev-util/intltool/files/intltool-0.51.0-perl-5.26.patch
17 new file mode 100644
18 index 00000000000..4af2ed8647e
19 --- /dev/null
20 +++ b/dev-util/intltool/files/intltool-0.51.0-perl-5.26.patch
21 @@ -0,0 +1,12 @@
22 +diff -ruN intltool-0.51.0.orig/intltool-update.in intltool-0.51.0/intltool-update.in
23 +--- intltool-0.51.0.orig/intltool-update.in 2017-06-28 00:47:20.889269294 +0200
24 ++++ intltool-0.51.0/intltool-update.in 2017-06-28 00:48:14.592271529 +0200
25 +@@ -1068,7 +1068,7 @@
26 + my $untouched = $1;
27 + my $sub = "";
28 + # Ignore recursive definitions of variables
29 +- $sub = $varhash{$2} if defined $varhash{$2} and $varhash{$2} !~ /\${?$2}?/;
30 ++ $sub = $varhash{$2} if defined $varhash{$2} and $varhash{$2} !~ /\$\{?$2}?/;
31 +
32 + return SubstituteVariable ("$untouched$sub$rest");
33 + }
34
35 diff --git a/dev-util/intltool/intltool-0.51.0-r2.ebuild b/dev-util/intltool/intltool-0.51.0-r2.ebuild
36 new file mode 100644
37 index 00000000000..d93d95a74f0
38 --- /dev/null
39 +++ b/dev-util/intltool/intltool-0.51.0-r2.ebuild
40 @@ -0,0 +1,30 @@
41 +# Copyright 1999-2017 Gentoo Foundation
42 +# Distributed under the terms of the GNU General Public License v2
43 +
44 +EAPI=6
45 +
46 +DESCRIPTION="Internationalization Tool Collection"
47 +HOMEPAGE="https://launchpad.net/intltool/"
48 +SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
49 +
50 +LICENSE="GPL-2"
51 +SLOT="0"
52 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
53 +IUSE=""
54 +
55 +DEPEND="
56 + dev-lang/perl
57 + dev-perl/XML-Parser
58 +"
59 +RDEPEND="${DEPEND}
60 + sys-devel/gettext
61 +"
62 +DOCS=( AUTHORS ChangeLog NEWS README TODO doc/I18N-HOWTO )
63 +
64 +PATCHES=(
65 + # Fix handling absolute paths in single file key output, bug #470040
66 + # https://bugs.launchpad.net/intltool/+bug/1168941
67 + "${FILESDIR}"/${PN}-0.50.2-absolute-paths.patch
68 + "${FILESDIR}"/${PN}-0.51.0-perl-5.22.patch
69 + "${FILESDIR}"/${PN}-0.51.0-perl-5.26.patch
70 +)