summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/intltool/intltool-0.50.2
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2015-07-08 21:01:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-12 22:55:45 +0100
commit5d0f8a6db951844e4fd997baa89a459e40159760 (patch)
tree66a130b3ee65a13de998df59a450713c78631981 /meta/recipes-devtools/intltool/intltool-0.50.2
parent450dd5a98eaa82b565222af7189d373cb3c8c258 (diff)
downloadpoky-5d0f8a6db951844e4fd997baa89a459e40159760.tar.gz
intltool: Upgrade 0.50.2 -> 0.51.0
* Remove uclibc.patch as the whole localedir guessing code has been removed upstream. * Add patch to fix deprecation warnings (and the resulting broken install paths) when using Perl 5.22 (RB) (From OE-Core rev: bebbcb10f467b40cc9a2fb64c824f2ef4142f7fe) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/intltool/intltool-0.50.2')
-rw-r--r--meta/recipes-devtools/intltool/intltool-0.50.2/intltool-nowarn.patch42
-rw-r--r--meta/recipes-devtools/intltool/intltool-0.50.2/noperlcheck.patch40
-rw-r--r--meta/recipes-devtools/intltool/intltool-0.50.2/remove-xml-check.patch33
-rw-r--r--meta/recipes-devtools/intltool/intltool-0.50.2/uclibc.patch19
-rw-r--r--meta/recipes-devtools/intltool/intltool-0.50.2/use-nativeperl.patch20
5 files changed, 0 insertions, 154 deletions
diff --git a/meta/recipes-devtools/intltool/intltool-0.50.2/intltool-nowarn.patch b/meta/recipes-devtools/intltool/intltool-0.50.2/intltool-nowarn.patch
deleted file mode 100644
index 06c938b7e3..0000000000
--- a/meta/recipes-devtools/intltool/intltool-0.50.2/intltool-nowarn.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1Upstream-Status: Inappropriate [embedded specific]
2
3Index: intltool-0.40.0/intltool-extract.in
4===================================================================
5--- intltool-0.50.0.orig/intltool-extract.in 2011-10-08 22:24:57.000000000 +0300
6+++ intltool-0.50.0/intltool-extract.in 2011-12-07 16:04:07.000000000 +0200
7@@ -1,4 +1,4 @@
8-#!@INTLTOOL_PERL@ -w
9+#!@INTLTOOL_PERL@
10 # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*-
11
12 #
13Index: intltool-0.50.0/intltool-merge.in
14===================================================================
15--- intltool-0.50.0.orig/intltool-merge.in 2011-10-08 17:52:01.000000000 +0300
16+++ intltool-0.50.0/intltool-merge.in 2011-12-07 16:05:55.000000000 +0200
17@@ -1,4 +1,4 @@
18-#!@INTLTOOL_PERL@ -w
19+#!@INTLTOOL_PERL@
20 # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*-
21
22 #
23Index: intltool-0.50.0/intltool-prepare.in
24===================================================================
25--- intltool-0.50.0.orig/intltool-prepare.in 2011-10-08 09:16:58.000000000 +0300
26+++ intltool-0.50.0/intltool-prepare.in 2011-12-07 16:06:13.000000000 +0200
27@@ -1,4 +1,4 @@
28-#!@INTLTOOL_PERL@ -w
29+#!@INTLTOOL_PERL@
30 # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*-
31
32 # Intltool .desktop, .directory Prepare Tool
33Index: intltool-0.50.0/intltool-update.in
34===================================================================
35--- intltool-0.50.0.orig/intltool-update.in 2011-10-08 22:24:57.000000000 +0300
36+++ intltool-0.50.0/intltool-update.in 2011-12-07 16:06:39.000000000 +0200
37@@ -1,4 +1,4 @@
38-#!@INTLTOOL_PERL@ -w
39+#!@INTLTOOL_PERL@
40 # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*-
41
42 #
diff --git a/meta/recipes-devtools/intltool/intltool-0.50.2/noperlcheck.patch b/meta/recipes-devtools/intltool/intltool-0.50.2/noperlcheck.patch
deleted file mode 100644
index 853ee1a438..0000000000
--- a/meta/recipes-devtools/intltool/intltool-0.50.2/noperlcheck.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1In the target case, we can't check if perl exists or try running it. If we
2don't patch the code, the native perl location would be used, not the target
3which is also incorrect. We therefore disable this code and rely on the
4correct value of PERL being passed in.
5
6RP 31/8/2011
7
8Upstream-Status: Inappropriate [OE specific]
9
10diff --git a/configure.ac b/configure.ac
11index 5338a76..e709a2b 100644
12--- a/configure.ac
13+++ b/configure.ac
14@@ -11,24 +11,10 @@ AC_SUBST(pkgdatadir) dnl automake does not need this, but libtoolize does
15 aclocaldir='${datadir}'/aclocal
16 AC_SUBST(aclocaldir)
17
18-AC_PATH_PROG(PERL, perl)
19 if test -z "$PERL"; then
20- AC_MSG_ERROR([perl not found])
21-fi
22-AC_MSG_CHECKING([for perl >= 5.8.1])
23-$PERL -e "use 5.8.1;" > /dev/null 2>&1
24-if test $? -ne 0; then
25- AC_MSG_ERROR([perl 5.8.1 is required for intltool])
26-else
27- PERL_VERSION="`$PERL -e \"printf '%vd', $^V\"`"
28- AC_MSG_RESULT([$PERL_VERSION])
29-fi
30-AC_MSG_CHECKING([for XML::Parser])
31-if `$PERL -e "require XML::Parser" 2>/dev/null`; then
32- AC_MSG_RESULT([ok])
33-else
34- AC_MSG_ERROR([XML::Parser perl module is required for intltool])
35+ AC_MSG_ERROR([PERL variable not set])
36 fi
37+AC_SUBST(PERL)
38 AC_PATH_PROG(BZR, bzr)
39
40
diff --git a/meta/recipes-devtools/intltool/intltool-0.50.2/remove-xml-check.patch b/meta/recipes-devtools/intltool/intltool-0.50.2/remove-xml-check.patch
deleted file mode 100644
index fc69e37b45..0000000000
--- a/meta/recipes-devtools/intltool/intltool-0.50.2/remove-xml-check.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
2
3Upstream-Status: Inappropriate [OE specific]
4
5Index: intltool-0.40.6/intltool.m4
6===================================================================
7--- intltool-0.40.6.orig/intltool.m4 2009-02-14 14:12:28.000000000 -0800
8+++ intltool-0.40.6/intltool.m4 2011-11-23 15:39:34.689561872 -0800
9@@ -122,14 +122,16 @@
10 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
11 AC_MSG_RESULT([$IT_PERL_VERSION])
12 fi
13-if test "x$2" != "xno-xml"; then
14- AC_MSG_CHECKING([for XML::Parser])
15- if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
16- AC_MSG_RESULT([ok])
17- else
18- AC_MSG_ERROR([XML::Parser perl module is required for intltool])
19- fi
20-fi
21+
22+# Disable this check since we know XML::Parser is installed
23+#if test "x$2" != "xno-xml"; then
24+# AC_MSG_CHECKING([for XML::Parser])
25+# if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
26+# AC_MSG_RESULT([ok])
27+# else
28+# AC_MSG_ERROR([XML::Parser perl module is required for intltool])
29+# fi
30+#fi
31
32 # Substitute ALL_LINGUAS so we can use it in po/Makefile
33 AC_SUBST(ALL_LINGUAS)
diff --git a/meta/recipes-devtools/intltool/intltool-0.50.2/uclibc.patch b/meta/recipes-devtools/intltool/intltool-0.50.2/uclibc.patch
deleted file mode 100644
index 145c181f17..0000000000
--- a/meta/recipes-devtools/intltool/intltool-0.50.2/uclibc.patch
+++ /dev/null
@@ -1,19 +0,0 @@
1on uclibc systems localedir should point to /usr/'share' as usual.
2
3Upstream-Status: Pending
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5
6Index: intltool-0.50.2/intltool.m4
7===================================================================
8--- intltool-0.50.2.orig/intltool.m4 2014-03-15 22:09:01.016627665 -0700
9+++ intltool-0.50.2/intltool.m4 2014-03-15 22:12:09.732631206 -0700
10@@ -173,6 +173,9 @@
11 AC_CHECK_FUNC(bind_textdomain_codeset,
12 [DATADIRNAME=share], [DATADIRNAME=lib])
13 ;;
14+ *-*-*uclibc*)
15+ [DATADIRNAME=share]
16+ ;;
17 *)
18 [DATADIRNAME=lib]
19 ;;
diff --git a/meta/recipes-devtools/intltool/intltool-0.50.2/use-nativeperl.patch b/meta/recipes-devtools/intltool/intltool-0.50.2/use-nativeperl.patch
deleted file mode 100644
index 5f5fed3853..0000000000
--- a/meta/recipes-devtools/intltool/intltool-0.50.2/use-nativeperl.patch
+++ /dev/null
@@ -1,20 +0,0 @@
1OE has perl binary as 'nativeperl' in native sysroot so we look for it
2in order to avoid intltool searching and finding perl from /usr/bin
3on build system which may not have all the modules that it needs.
4
5Signed-off-by: Khem Raj <raj.khem@gmail.com>
6
7Upstream-Status: Inappropriate [OE specific]
8Index: intltool-0.40.6/intltool.m4
9===================================================================
10--- intltool-0.40.6.orig/intltool.m4 2009-02-14 14:12:28.000000000 -0800
11+++ intltool-0.40.6/intltool.m4 2011-08-09 08:07:16.427347846 -0700
12@@ -110,7 +110,7 @@
13 AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
14 fi
15
16-AC_PATH_PROG(INTLTOOL_PERL, perl)
17+AC_PATH_PROG(INTLTOOL_PERL, nativeperl)
18 if test -z "$INTLTOOL_PERL"; then
19 AC_MSG_ERROR([perl not found])
20 fi