From d623231b6015cceafee22f82d1a89ae7f1bb2085 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 16 Apr 2019 03:49:08 -0500 Subject: Update intltool to newer version --- .../intltool/intltool-0.50.2/intltool-nowarn.patch | 42 ----------------- .../intltool/intltool-0.50.2/noperlcheck.patch | 40 ---------------- .../intltool-0.50.2/remove-xml-check.patch | 33 ------------- .../intltool/intltool-0.50.2/uclibc.patch | 19 -------- .../intltool/intltool-0.50.2/use-nativeperl.patch | 20 -------- meta/recipes-devtools/intltool/intltool.inc | 3 ++ .../intltool/intltool/intltool-nowarn.patch | 42 +++++++++++++++++ .../intltool/intltool/noperlcheck.patch | 40 ++++++++++++++++ .../intltool/intltool/perl-522-deprecations.patch | 55 ++++++++++++++++++++++ .../intltool/intltool/remove-xml-check.patch | 33 +++++++++++++ .../intltool/intltool/use-nativeperl.patch | 20 ++++++++ meta/recipes-devtools/intltool/intltool_0.50.2.bb | 19 -------- meta/recipes-devtools/intltool/intltool_0.51.0.bb | 19 ++++++++ 13 files changed, 212 insertions(+), 173 deletions(-) delete mode 100644 meta/recipes-devtools/intltool/intltool-0.50.2/intltool-nowarn.patch delete mode 100644 meta/recipes-devtools/intltool/intltool-0.50.2/noperlcheck.patch delete mode 100644 meta/recipes-devtools/intltool/intltool-0.50.2/remove-xml-check.patch delete mode 100644 meta/recipes-devtools/intltool/intltool-0.50.2/uclibc.patch delete mode 100644 meta/recipes-devtools/intltool/intltool-0.50.2/use-nativeperl.patch create mode 100644 meta/recipes-devtools/intltool/intltool/intltool-nowarn.patch create mode 100644 meta/recipes-devtools/intltool/intltool/noperlcheck.patch create mode 100644 meta/recipes-devtools/intltool/intltool/perl-522-deprecations.patch create mode 100644 meta/recipes-devtools/intltool/intltool/remove-xml-check.patch create mode 100644 meta/recipes-devtools/intltool/intltool/use-nativeperl.patch delete mode 100644 meta/recipes-devtools/intltool/intltool_0.50.2.bb create mode 100644 meta/recipes-devtools/intltool/intltool_0.51.0.bb (limited to 'meta/recipes-devtools/intltool') 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 06c938b..0000000 --- a/meta/recipes-devtools/intltool/intltool-0.50.2/intltool-nowarn.patch +++ /dev/null @@ -1,42 +0,0 @@ -Upstream-Status: Inappropriate [embedded specific] - -Index: intltool-0.40.0/intltool-extract.in -=================================================================== ---- intltool-0.50.0.orig/intltool-extract.in 2011-10-08 22:24:57.000000000 +0300 -+++ intltool-0.50.0/intltool-extract.in 2011-12-07 16:04:07.000000000 +0200 -@@ -1,4 +1,4 @@ --#!@INTLTOOL_PERL@ -w -+#!@INTLTOOL_PERL@ - # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- - - # -Index: intltool-0.50.0/intltool-merge.in -=================================================================== ---- intltool-0.50.0.orig/intltool-merge.in 2011-10-08 17:52:01.000000000 +0300 -+++ intltool-0.50.0/intltool-merge.in 2011-12-07 16:05:55.000000000 +0200 -@@ -1,4 +1,4 @@ --#!@INTLTOOL_PERL@ -w -+#!@INTLTOOL_PERL@ - # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- - - # -Index: intltool-0.50.0/intltool-prepare.in -=================================================================== ---- intltool-0.50.0.orig/intltool-prepare.in 2011-10-08 09:16:58.000000000 +0300 -+++ intltool-0.50.0/intltool-prepare.in 2011-12-07 16:06:13.000000000 +0200 -@@ -1,4 +1,4 @@ --#!@INTLTOOL_PERL@ -w -+#!@INTLTOOL_PERL@ - # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- - - # Intltool .desktop, .directory Prepare Tool -Index: intltool-0.50.0/intltool-update.in -=================================================================== ---- intltool-0.50.0.orig/intltool-update.in 2011-10-08 22:24:57.000000000 +0300 -+++ intltool-0.50.0/intltool-update.in 2011-12-07 16:06:39.000000000 +0200 -@@ -1,4 +1,4 @@ --#!@INTLTOOL_PERL@ -w -+#!@INTLTOOL_PERL@ - # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- - - # 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 853ee1a..0000000 --- a/meta/recipes-devtools/intltool/intltool-0.50.2/noperlcheck.patch +++ /dev/null @@ -1,40 +0,0 @@ -In the target case, we can't check if perl exists or try running it. If we -don't patch the code, the native perl location would be used, not the target -which is also incorrect. We therefore disable this code and rely on the -correct value of PERL being passed in. - -RP 31/8/2011 - -Upstream-Status: Inappropriate [OE specific] - -diff --git a/configure.ac b/configure.ac -index 5338a76..e709a2b 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -11,24 +11,10 @@ AC_SUBST(pkgdatadir) dnl automake does not need this, but libtoolize does - aclocaldir='${datadir}'/aclocal - AC_SUBST(aclocaldir) - --AC_PATH_PROG(PERL, perl) - if test -z "$PERL"; then -- AC_MSG_ERROR([perl not found]) --fi --AC_MSG_CHECKING([for perl >= 5.8.1]) --$PERL -e "use 5.8.1;" > /dev/null 2>&1 --if test $? -ne 0; then -- AC_MSG_ERROR([perl 5.8.1 is required for intltool]) --else -- PERL_VERSION="`$PERL -e \"printf '%vd', $^V\"`" -- AC_MSG_RESULT([$PERL_VERSION]) --fi --AC_MSG_CHECKING([for XML::Parser]) --if `$PERL -e "require XML::Parser" 2>/dev/null`; then -- AC_MSG_RESULT([ok]) --else -- AC_MSG_ERROR([XML::Parser perl module is required for intltool]) -+ AC_MSG_ERROR([PERL variable not set]) - fi -+AC_SUBST(PERL) - AC_PATH_PROG(BZR, bzr) - - 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 fc69e37..0000000 --- a/meta/recipes-devtools/intltool/intltool-0.50.2/remove-xml-check.patch +++ /dev/null @@ -1,33 +0,0 @@ -Signed-off-by: Florin Sarbu - -Upstream-Status: Inappropriate [OE specific] - -Index: intltool-0.40.6/intltool.m4 -=================================================================== ---- intltool-0.40.6.orig/intltool.m4 2009-02-14 14:12:28.000000000 -0800 -+++ intltool-0.40.6/intltool.m4 2011-11-23 15:39:34.689561872 -0800 -@@ -122,14 +122,16 @@ - IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`" - AC_MSG_RESULT([$IT_PERL_VERSION]) - fi --if test "x$2" != "xno-xml"; then -- AC_MSG_CHECKING([for XML::Parser]) -- if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then -- AC_MSG_RESULT([ok]) -- else -- AC_MSG_ERROR([XML::Parser perl module is required for intltool]) -- fi --fi -+ -+# Disable this check since we know XML::Parser is installed -+#if test "x$2" != "xno-xml"; then -+# AC_MSG_CHECKING([for XML::Parser]) -+# if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then -+# AC_MSG_RESULT([ok]) -+# else -+# AC_MSG_ERROR([XML::Parser perl module is required for intltool]) -+# fi -+#fi - - # Substitute ALL_LINGUAS so we can use it in po/Makefile - 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 145c181..0000000 --- a/meta/recipes-devtools/intltool/intltool-0.50.2/uclibc.patch +++ /dev/null @@ -1,19 +0,0 @@ -on uclibc systems localedir should point to /usr/'share' as usual. - -Upstream-Status: Pending -Signed-off-by: Khem Raj - -Index: intltool-0.50.2/intltool.m4 -=================================================================== ---- intltool-0.50.2.orig/intltool.m4 2014-03-15 22:09:01.016627665 -0700 -+++ intltool-0.50.2/intltool.m4 2014-03-15 22:12:09.732631206 -0700 -@@ -173,6 +173,9 @@ - AC_CHECK_FUNC(bind_textdomain_codeset, - [DATADIRNAME=share], [DATADIRNAME=lib]) - ;; -+ *-*-*uclibc*) -+ [DATADIRNAME=share] -+ ;; - *) - [DATADIRNAME=lib] - ;; 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 5f5fed3..0000000 --- a/meta/recipes-devtools/intltool/intltool-0.50.2/use-nativeperl.patch +++ /dev/null @@ -1,20 +0,0 @@ -OE has perl binary as 'nativeperl' in native sysroot so we look for it -in order to avoid intltool searching and finding perl from /usr/bin -on build system which may not have all the modules that it needs. - -Signed-off-by: Khem Raj - -Upstream-Status: Inappropriate [OE specific] -Index: intltool-0.40.6/intltool.m4 -=================================================================== ---- intltool-0.40.6.orig/intltool.m4 2009-02-14 14:12:28.000000000 -0800 -+++ intltool-0.40.6/intltool.m4 2011-08-09 08:07:16.427347846 -0700 -@@ -110,7 +110,7 @@ - AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) - fi - --AC_PATH_PROG(INTLTOOL_PERL, perl) -+AC_PATH_PROG(INTLTOOL_PERL, nativeperl) - if test -z "$INTLTOOL_PERL"; then - AC_MSG_ERROR([perl not found]) - fi diff --git a/meta/recipes-devtools/intltool/intltool.inc b/meta/recipes-devtools/intltool/intltool.inc index be77704..eb7ae00 100644 --- a/meta/recipes-devtools/intltool/intltool.inc +++ b/meta/recipes-devtools/intltool/intltool.inc @@ -4,6 +4,9 @@ LICENSE = "GPLv2" URLV="${@'.'.join(d.getVar('PV',1).split('.')[0:2])}" SRC_URI = "http://launchpad.net/${BPN}/trunk/${PV}/+download/${BP}.tar.gz" + +UPSTREAM_CHECK_URI = "https://launchpad.net/intltool/trunk/" + S = "${WORKDIR}/intltool-${PV}" DEPENDS = "libxml-parser-perl-native" diff --git a/meta/recipes-devtools/intltool/intltool/intltool-nowarn.patch b/meta/recipes-devtools/intltool/intltool/intltool-nowarn.patch new file mode 100644 index 0000000..06c938b --- /dev/null +++ b/meta/recipes-devtools/intltool/intltool/intltool-nowarn.patch @@ -0,0 +1,42 @@ +Upstream-Status: Inappropriate [embedded specific] + +Index: intltool-0.40.0/intltool-extract.in +=================================================================== +--- intltool-0.50.0.orig/intltool-extract.in 2011-10-08 22:24:57.000000000 +0300 ++++ intltool-0.50.0/intltool-extract.in 2011-12-07 16:04:07.000000000 +0200 +@@ -1,4 +1,4 @@ +-#!@INTLTOOL_PERL@ -w ++#!@INTLTOOL_PERL@ + # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- + + # +Index: intltool-0.50.0/intltool-merge.in +=================================================================== +--- intltool-0.50.0.orig/intltool-merge.in 2011-10-08 17:52:01.000000000 +0300 ++++ intltool-0.50.0/intltool-merge.in 2011-12-07 16:05:55.000000000 +0200 +@@ -1,4 +1,4 @@ +-#!@INTLTOOL_PERL@ -w ++#!@INTLTOOL_PERL@ + # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- + + # +Index: intltool-0.50.0/intltool-prepare.in +=================================================================== +--- intltool-0.50.0.orig/intltool-prepare.in 2011-10-08 09:16:58.000000000 +0300 ++++ intltool-0.50.0/intltool-prepare.in 2011-12-07 16:06:13.000000000 +0200 +@@ -1,4 +1,4 @@ +-#!@INTLTOOL_PERL@ -w ++#!@INTLTOOL_PERL@ + # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- + + # Intltool .desktop, .directory Prepare Tool +Index: intltool-0.50.0/intltool-update.in +=================================================================== +--- intltool-0.50.0.orig/intltool-update.in 2011-10-08 22:24:57.000000000 +0300 ++++ intltool-0.50.0/intltool-update.in 2011-12-07 16:06:39.000000000 +0200 +@@ -1,4 +1,4 @@ +-#!@INTLTOOL_PERL@ -w ++#!@INTLTOOL_PERL@ + # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- + + # diff --git a/meta/recipes-devtools/intltool/intltool/noperlcheck.patch b/meta/recipes-devtools/intltool/intltool/noperlcheck.patch new file mode 100644 index 0000000..853ee1a --- /dev/null +++ b/meta/recipes-devtools/intltool/intltool/noperlcheck.patch @@ -0,0 +1,40 @@ +In the target case, we can't check if perl exists or try running it. If we +don't patch the code, the native perl location would be used, not the target +which is also incorrect. We therefore disable this code and rely on the +correct value of PERL being passed in. + +RP 31/8/2011 + +Upstream-Status: Inappropriate [OE specific] + +diff --git a/configure.ac b/configure.ac +index 5338a76..e709a2b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -11,24 +11,10 @@ AC_SUBST(pkgdatadir) dnl automake does not need this, but libtoolize does + aclocaldir='${datadir}'/aclocal + AC_SUBST(aclocaldir) + +-AC_PATH_PROG(PERL, perl) + if test -z "$PERL"; then +- AC_MSG_ERROR([perl not found]) +-fi +-AC_MSG_CHECKING([for perl >= 5.8.1]) +-$PERL -e "use 5.8.1;" > /dev/null 2>&1 +-if test $? -ne 0; then +- AC_MSG_ERROR([perl 5.8.1 is required for intltool]) +-else +- PERL_VERSION="`$PERL -e \"printf '%vd', $^V\"`" +- AC_MSG_RESULT([$PERL_VERSION]) +-fi +-AC_MSG_CHECKING([for XML::Parser]) +-if `$PERL -e "require XML::Parser" 2>/dev/null`; then +- AC_MSG_RESULT([ok]) +-else +- AC_MSG_ERROR([XML::Parser perl module is required for intltool]) ++ AC_MSG_ERROR([PERL variable not set]) + fi ++AC_SUBST(PERL) + AC_PATH_PROG(BZR, bzr) + + diff --git a/meta/recipes-devtools/intltool/intltool/perl-522-deprecations.patch b/meta/recipes-devtools/intltool/intltool/perl-522-deprecations.patch new file mode 100644 index 0000000..eb52172 --- /dev/null +++ b/meta/recipes-devtools/intltool/intltool/perl-522-deprecations.patch @@ -0,0 +1,55 @@ +Perl 5.22 has deprecated some regex features, which causes warnings when +intltool-update runs: + +Unescaped left brace in regex is deprecated, passed through in regex; marked by +<-- HERE in m/^(.*)\${ <-- HERE ?([A-Z_]+)}?(.*)$/ at +/data/poky-master/tmp/sysroots/x86_64-linux/usr/bin/intltool-update line 1065. + +Take a patch from Debian to solve this. + +Upstream-Status: Submitted (https://bugs.launchpad.net/intltool/+bug/1465010) +Signed-off-by: Ross Burton + +--- intltool-0.51.0-ORIG/intltool-update.in 2015-05-27 00:20:43.038379963 +0200 ++++ intltool-0.51.0/intltool-update.in 2015-05-27 00:23:53.309078052 +0200 +@@ -1062,7 +1062,7 @@ + } + } + +- if ($str =~ /^(.*)\${?([A-Z_]+)}?(.*)$/) ++ if ($str =~ /^(.*)\$\{?([A-Z_]+)\}?(.*)$/) + { + my $rest = $3; + my $untouched = $1; +@@ -1190,10 +1190,10 @@ + $name =~ s/\(+$//g; + $version =~ s/\(+$//g; + +- $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/); +- $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/); +- $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/); +- $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/); ++ $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\$\{?AC_PACKAGE_NAME\}?/); ++ $varhash{"PACKAGE"} = $name if (not $name =~ /\$\{?PACKAGE\}?/); ++ $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\$\{?AC_PACKAGE_VERSION\}?/); ++ $varhash{"VERSION"} = $version if (not $name =~ /\$\{?VERSION\}?/); + } + + if ($conf_source =~ /^AC_INIT\(([^,\)]+),([^,\)]+)[,]?([^,\)]+)?/m) +@@ -1219,11 +1219,11 @@ + $version =~ s/\(+$//g; + $bugurl =~ s/\(+$//g if (defined $bugurl); + +- $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/); +- $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/); +- $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/); +- $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/); +- $varhash{"PACKAGE_BUGREPORT"} = $bugurl if (defined $bugurl and not $bugurl =~ /\${?\w+}?/); ++ $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\$\{?AC_PACKAGE_NAME\}?/); ++ $varhash{"PACKAGE"} = $name if (not $name =~ /\$\{?PACKAGE\}?/); ++ $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\$\{?AC_PACKAGE_VERSION\}?/); ++ $varhash{"VERSION"} = $version if (not $name =~ /\$\{?VERSION\}?/); ++ $varhash{"PACKAGE_BUGREPORT"} = $bugurl if (defined $bugurl and not $bugurl =~ /\$\{?\w+\}?/); + } + + # \s makes this not work, why? \ No newline at end of file diff --git a/meta/recipes-devtools/intltool/intltool/remove-xml-check.patch b/meta/recipes-devtools/intltool/intltool/remove-xml-check.patch new file mode 100644 index 0000000..fc69e37 --- /dev/null +++ b/meta/recipes-devtools/intltool/intltool/remove-xml-check.patch @@ -0,0 +1,33 @@ +Signed-off-by: Florin Sarbu + +Upstream-Status: Inappropriate [OE specific] + +Index: intltool-0.40.6/intltool.m4 +=================================================================== +--- intltool-0.40.6.orig/intltool.m4 2009-02-14 14:12:28.000000000 -0800 ++++ intltool-0.40.6/intltool.m4 2011-11-23 15:39:34.689561872 -0800 +@@ -122,14 +122,16 @@ + IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`" + AC_MSG_RESULT([$IT_PERL_VERSION]) + fi +-if test "x$2" != "xno-xml"; then +- AC_MSG_CHECKING([for XML::Parser]) +- if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then +- AC_MSG_RESULT([ok]) +- else +- AC_MSG_ERROR([XML::Parser perl module is required for intltool]) +- fi +-fi ++ ++# Disable this check since we know XML::Parser is installed ++#if test "x$2" != "xno-xml"; then ++# AC_MSG_CHECKING([for XML::Parser]) ++# if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then ++# AC_MSG_RESULT([ok]) ++# else ++# AC_MSG_ERROR([XML::Parser perl module is required for intltool]) ++# fi ++#fi + + # Substitute ALL_LINGUAS so we can use it in po/Makefile + AC_SUBST(ALL_LINGUAS) diff --git a/meta/recipes-devtools/intltool/intltool/use-nativeperl.patch b/meta/recipes-devtools/intltool/intltool/use-nativeperl.patch new file mode 100644 index 0000000..5f5fed3 --- /dev/null +++ b/meta/recipes-devtools/intltool/intltool/use-nativeperl.patch @@ -0,0 +1,20 @@ +OE has perl binary as 'nativeperl' in native sysroot so we look for it +in order to avoid intltool searching and finding perl from /usr/bin +on build system which may not have all the modules that it needs. + +Signed-off-by: Khem Raj + +Upstream-Status: Inappropriate [OE specific] +Index: intltool-0.40.6/intltool.m4 +=================================================================== +--- intltool-0.40.6.orig/intltool.m4 2009-02-14 14:12:28.000000000 -0800 ++++ intltool-0.40.6/intltool.m4 2011-08-09 08:07:16.427347846 -0700 +@@ -110,7 +110,7 @@ + AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) + fi + +-AC_PATH_PROG(INTLTOOL_PERL, perl) ++AC_PATH_PROG(INTLTOOL_PERL, nativeperl) + if test -z "$INTLTOOL_PERL"; then + AC_MSG_ERROR([perl not found]) + fi diff --git a/meta/recipes-devtools/intltool/intltool_0.50.2.bb b/meta/recipes-devtools/intltool/intltool_0.50.2.bb deleted file mode 100644 index 483239d..0000000 --- a/meta/recipes-devtools/intltool/intltool_0.50.2.bb +++ /dev/null @@ -1,19 +0,0 @@ -require intltool.inc -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" - -SRC_URI += "file://intltool-nowarn.patch \ - file://uclibc.patch \ - ${NATIVEPATCHES} \ - " - -# -# All of the intltool scripts have the correct paths to perl already -# embedded into them and can find perl fine, so we add the remove xml-check -# in the intltool.m4 via the remove-xml-check.patch -NATIVEPATCHES = "file://noperlcheck.patch \ - file://remove-xml-check.patch" -NATIVEPATCHES_class-native = "file://use-nativeperl.patch" - -SRC_URI[md5sum] = "23fbd879118253cb99aeac067da5f591" -SRC_URI[sha256sum] = "67f25c5c6fb71d095793a7f895b245e65e829e8bde68c6c8b4c912144ff34406" diff --git a/meta/recipes-devtools/intltool/intltool_0.51.0.bb b/meta/recipes-devtools/intltool/intltool_0.51.0.bb new file mode 100644 index 0000000..d520d43 --- /dev/null +++ b/meta/recipes-devtools/intltool/intltool_0.51.0.bb @@ -0,0 +1,19 @@ +require intltool.inc +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" + +SRC_URI += "file://intltool-nowarn.patch \ + file://perl-522-deprecations.patch \ + ${NATIVEPATCHES} \ + " + +# +# All of the intltool scripts have the correct paths to perl already +# embedded into them and can find perl fine, so we add the remove xml-check +# in the intltool.m4 via the remove-xml-check.patch +NATIVEPATCHES = "file://noperlcheck.patch \ + file://remove-xml-check.patch" +NATIVEPATCHES_class-native = "file://use-nativeperl.patch" + +SRC_URI[md5sum] = "12e517cac2b57a0121cda351570f1e63" +SRC_URI[sha256sum] = "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd" -- cgit v1.1