From 65305236fc807f0bf6623e580009852cd0156ae7 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 2 Aug 2007 15:01:41 +0000 Subject: Upgrade intltool to 0.35.5 git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2336 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/intltool/files/intltool-nowarn.patch | 40 ++++++++++++++++++++++ meta/packages/intltool/intltool-native_0.35.2.bb | 4 --- meta/packages/intltool/intltool-native_0.35.5.bb | 9 +++++ meta/packages/intltool/intltool.inc | 14 ++++++++ meta/packages/intltool/intltool_0.35.2.bb | 13 ------- meta/packages/intltool/intltool_0.35.5.bb | 10 ++++++ 6 files changed, 73 insertions(+), 17 deletions(-) create mode 100644 meta/packages/intltool/files/intltool-nowarn.patch delete mode 100644 meta/packages/intltool/intltool-native_0.35.2.bb create mode 100644 meta/packages/intltool/intltool-native_0.35.5.bb create mode 100644 meta/packages/intltool/intltool.inc delete mode 100644 meta/packages/intltool/intltool_0.35.2.bb create mode 100644 meta/packages/intltool/intltool_0.35.5.bb diff --git a/meta/packages/intltool/files/intltool-nowarn.patch b/meta/packages/intltool/files/intltool-nowarn.patch new file mode 100644 index 000000000..546db5f11 --- /dev/null +++ b/meta/packages/intltool/files/intltool-nowarn.patch @@ -0,0 +1,40 @@ +--- intltool-0.35.0/intltool-extract.in.in.orig 2006-06-16 15:49:14.000000000 -0600 ++++ intltool-0.35.0/intltool-extract.in.in 2006-06-16 15:49:18.000000000 -0600 +@@ -1,4 +1,4 @@ +-#!@INTLTOOL_PERL@ -w ++#!@INTLTOOL_PERL@ + # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- + + # +--- intltool-0.35.0/intltool-merge.in.in.orig 2006-06-16 15:49:18.000000000 -0600 ++++ intltool-0.35.0/intltool-merge.in.in 2006-06-16 15:49:23.000000000 -0600 +@@ -1,4 +1,4 @@ +-#!@INTLTOOL_PERL@ -w ++#!@INTLTOOL_PERL@ + # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- + + # +--- intltool-0.35.0/intltool-prepare.in.orig 2006-06-16 15:49:23.000000000 -0600 ++++ intltool-0.35.0/intltool-prepare.in 2006-06-16 15:49:26.000000000 -0600 +@@ -1,4 +1,4 @@ +-#!@INTLTOOL_PERL@ -w ++#!@INTLTOOL_PERL@ + # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- + + # Intltool .desktop, .directory Prepare Tool +--- intltool-0.35.0/intltool-unicodify.in.orig 2006-06-16 15:49:26.000000000 -0600 ++++ intltool-0.35.0/intltool-unicodify.in 2006-06-16 15:49:30.000000000 -0600 +@@ -1,4 +1,4 @@ +-#!@INTLTOOL_PERL@ -w ++#!@INTLTOOL_PERL@ + + # + # The i18n Unicode Encoding Utility +--- intltool-0.35.0/intltool-update.in.in.orig 2006-06-16 15:49:30.000000000 -0600 ++++ intltool-0.35.0/intltool-update.in.in 2006-06-16 15:49:35.000000000 -0600 +@@ -1,4 +1,4 @@ +-#!@INTLTOOL_PERL@ -w ++#!@INTLTOOL_PERL@ + # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- + + # diff --git a/meta/packages/intltool/intltool-native_0.35.2.bb b/meta/packages/intltool/intltool-native_0.35.2.bb deleted file mode 100644 index 7cf3c4e11..000000000 --- a/meta/packages/intltool/intltool-native_0.35.2.bb +++ /dev/null @@ -1,4 +0,0 @@ -SECTION = "devel" -require intltool_${PV}.bb -inherit native -DEPENDS = "libxml-parser-perl-native" diff --git a/meta/packages/intltool/intltool-native_0.35.5.bb b/meta/packages/intltool/intltool-native_0.35.5.bb new file mode 100644 index 000000000..ba9b90c07 --- /dev/null +++ b/meta/packages/intltool/intltool-native_0.35.5.bb @@ -0,0 +1,9 @@ +require intltool_${PV}.bb + +inherit native +DEPENDS = "libxml-parser-perl-native" + +export PERL = "/usr/bin/env perl" +SRC_URI_append = " file://intltool-nowarn.patch;patch=1" + +DEFAULT_PREFERENCE = "-1" diff --git a/meta/packages/intltool/intltool.inc b/meta/packages/intltool/intltool.inc new file mode 100644 index 000000000..410a89cfa --- /dev/null +++ b/meta/packages/intltool/intltool.inc @@ -0,0 +1,14 @@ +DESCRIPTION = "Utility scripts for internationalizing XML" +PRIORITY = "optional" +SECTION = "devel" +LICENSE = "GPL" + +URLV="${@'.'.join(bb.data.getVar('PV',d,1).split('.')[0:2])}" +SRC_URI = "${GNOME_MIRROR}/intltool/${URLV}/intltool-${PV}.tar.bz2" +S = "${WORKDIR}/intltool-${PV}" + +inherit autotools pkgconfig + +do_stage() { + install -m 0644 intltool.m4 ${STAGING_DATADIR}/aclocal/ +} diff --git a/meta/packages/intltool/intltool_0.35.2.bb b/meta/packages/intltool/intltool_0.35.2.bb deleted file mode 100644 index 487f69361..000000000 --- a/meta/packages/intltool/intltool_0.35.2.bb +++ /dev/null @@ -1,13 +0,0 @@ -SECTION = "devel" -DESCRIPTION = "Utility scripts for internationalizing XML" -DEPENDS = "libxml-parser-perl" -LICENSE = "GPL" - -SRC_URI = "${GNOME_MIRROR}/intltool/0.35/intltool-${PV}.tar.bz2" -S = "${WORKDIR}/intltool-${PV}" - -inherit autotools pkgconfig - -do_stage() { - install -m 0644 intltool.m4 ${STAGING_DATADIR}/aclocal/ -} diff --git a/meta/packages/intltool/intltool_0.35.5.bb b/meta/packages/intltool/intltool_0.35.5.bb new file mode 100644 index 000000000..e13e376f1 --- /dev/null +++ b/meta/packages/intltool/intltool_0.35.5.bb @@ -0,0 +1,10 @@ +require intltool.inc + +DEPENDS = "libxml-parser-perl-native" +#RDEPENDS = "libxml-parser-perl" + +PR = "r0" + +RRECOMMENDS = "perl-modules" + +DEFAULT_PREFERENCE = "-1" -- cgit v1.2.3