summaryrefslogtreecommitdiff
path: root/recipes/intltool
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/intltool
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/intltool')
-rw-r--r--recipes/intltool/files/intltool-0.35.5-polkit.patch32
-rw-r--r--recipes/intltool/files/intltool-nowarn.patch40
-rw-r--r--recipes/intltool/intltool-native_0.30.bb4
-rw-r--r--recipes/intltool/intltool-native_0.31.bb4
-rw-r--r--recipes/intltool/intltool-native_0.34.bb4
-rw-r--r--recipes/intltool/intltool-native_0.35.0.bb7
-rw-r--r--recipes/intltool/intltool-native_0.35.5.bb9
-rw-r--r--recipes/intltool/intltool-native_0.37.1.bb7
-rw-r--r--recipes/intltool/intltool-native_0.40.3.bb20
-rw-r--r--recipes/intltool/intltool.inc14
-rw-r--r--recipes/intltool/intltool_0.30.bb1
-rw-r--r--recipes/intltool/intltool_0.31.bb1
-rw-r--r--recipes/intltool/intltool_0.34.bb1
-rw-r--r--recipes/intltool/intltool_0.35.0.bb8
-rw-r--r--recipes/intltool/intltool_0.35.2.bb8
-rw-r--r--recipes/intltool/intltool_0.35.5.bb12
-rw-r--r--recipes/intltool/intltool_0.37.1.bb1
-rw-r--r--recipes/intltool/intltool_0.40.3.bb13
18 files changed, 186 insertions, 0 deletions
diff --git a/recipes/intltool/files/intltool-0.35.5-polkit.patch b/recipes/intltool/files/intltool-0.35.5-polkit.patch
new file mode 100644
index 0000000000..2d89fbe04c
--- /dev/null
+++ b/recipes/intltool/files/intltool-0.35.5-polkit.patch
@@ -0,0 +1,32 @@
+diff -up intltool-0.35.5/intltool.m4.polkit intltool-0.35.5/intltool.m4
+--- intltool-0.35.5/intltool.m4.polkit 2007-07-31 17:23:52.000000000 -0400
++++ intltool-0.35.5/intltool.m4 2007-07-31 17:24:20.000000000 -0400
+@@ -65,6 +65,7 @@ INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.
+ INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+ INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
++ INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
+
+ AC_SUBST(INTLTOOL_DESKTOP_RULE)
+ AC_SUBST(INTLTOOL_DIRECTORY_RULE)
+@@ -84,6 +85,7 @@ AC_SUBST(INTLTOOL_CAVES_RULE)
+ AC_SUBST(INTLTOOL_SCHEMAS_RULE)
+ AC_SUBST(INTLTOOL_THEME_RULE)
+ AC_SUBST(INTLTOOL_SERVICE_RULE)
++AC_SUBST(INTLTOOL_POLICY_RULE)
+
+ # Use the tools built into the package, not the ones that are installed.
+ AC_SUBST(INTLTOOL_EXTRACT, '$(top_builddir)/intltool-extract')
+diff -up intltool-0.35.5/intltool-update.in.in.polkit intltool-0.35.5/intltool-update.in.in
+--- intltool-0.35.5/intltool-update.in.in.polkit 2007-07-31 17:10:52.000000000 -0400
++++ intltool-0.35.5/intltool-update.in.in 2007-07-31 17:21:45.000000000 -0400
+@@ -71,7 +71,8 @@ my $xml_support =
+ "sheet(?:\\.in)+|". # ?
+ "schemas(?:\\.in)+|". # GConf specific
+ "pong(?:\\.in)+|". # DEPRECATED: PONG is not used [by GNOME] any longer.
+-"kbd(?:\\.in)+"; # GOK specific.
++"kbd(?:\\.in)+|". # GOK specific.
++"policy(?:\\.in)+"; # PolicyKit files
+
+ my $ini_support =
+ "icon(?:\\.in)+|". # http://www.freedesktop.org/Standards/icon-theme-spec
diff --git a/recipes/intltool/files/intltool-nowarn.patch b/recipes/intltool/files/intltool-nowarn.patch
new file mode 100644
index 0000000000..546db5f119
--- /dev/null
+++ b/recipes/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/recipes/intltool/intltool-native_0.30.bb b/recipes/intltool/intltool-native_0.30.bb
new file mode 100644
index 0000000000..05f7efdda4
--- /dev/null
+++ b/recipes/intltool/intltool-native_0.30.bb
@@ -0,0 +1,4 @@
+require intltool_${PV}.bb
+
+inherit native
+DEPENDS = "libxml-parser-perl-native"
diff --git a/recipes/intltool/intltool-native_0.31.bb b/recipes/intltool/intltool-native_0.31.bb
new file mode 100644
index 0000000000..05f7efdda4
--- /dev/null
+++ b/recipes/intltool/intltool-native_0.31.bb
@@ -0,0 +1,4 @@
+require intltool_${PV}.bb
+
+inherit native
+DEPENDS = "libxml-parser-perl-native"
diff --git a/recipes/intltool/intltool-native_0.34.bb b/recipes/intltool/intltool-native_0.34.bb
new file mode 100644
index 0000000000..05f7efdda4
--- /dev/null
+++ b/recipes/intltool/intltool-native_0.34.bb
@@ -0,0 +1,4 @@
+require intltool_${PV}.bb
+
+inherit native
+DEPENDS = "libxml-parser-perl-native"
diff --git a/recipes/intltool/intltool-native_0.35.0.bb b/recipes/intltool/intltool-native_0.35.0.bb
new file mode 100644
index 0000000000..bac5378113
--- /dev/null
+++ b/recipes/intltool/intltool-native_0.35.0.bb
@@ -0,0 +1,7 @@
+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"
diff --git a/recipes/intltool/intltool-native_0.35.5.bb b/recipes/intltool/intltool-native_0.35.5.bb
new file mode 100644
index 0000000000..ba9b90c07a
--- /dev/null
+++ b/recipes/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/recipes/intltool/intltool-native_0.37.1.bb b/recipes/intltool/intltool-native_0.37.1.bb
new file mode 100644
index 0000000000..bac5378113
--- /dev/null
+++ b/recipes/intltool/intltool-native_0.37.1.bb
@@ -0,0 +1,7 @@
+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"
diff --git a/recipes/intltool/intltool-native_0.40.3.bb b/recipes/intltool/intltool-native_0.40.3.bb
new file mode 100644
index 0000000000..b9550cc982
--- /dev/null
+++ b/recipes/intltool/intltool-native_0.40.3.bb
@@ -0,0 +1,20 @@
+require intltool_${PV}.bb
+
+PR = "r2"
+
+inherit native
+DEPENDS = "libxml-parser-perl-native"
+
+EXTRA_OEMAKE = "'PERL_TARGET=/usr/bin/env perl'"
+
+do_configure_prepend() {
+ cd ${S}
+ for i in intltool*.in ; do
+ sed -i -e s:-w::g $i
+ done
+}
+
+do_configure_append() {
+ sed -i -e s:head\ -1:head\ -n1:g intltool.m4
+}
+
diff --git a/recipes/intltool/intltool.inc b/recipes/intltool/intltool.inc
new file mode 100644
index 0000000000..410a89cfa3
--- /dev/null
+++ b/recipes/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/recipes/intltool/intltool_0.30.bb b/recipes/intltool/intltool_0.30.bb
new file mode 100644
index 0000000000..e48262574b
--- /dev/null
+++ b/recipes/intltool/intltool_0.30.bb
@@ -0,0 +1 @@
+require intltool.inc
diff --git a/recipes/intltool/intltool_0.31.bb b/recipes/intltool/intltool_0.31.bb
new file mode 100644
index 0000000000..e48262574b
--- /dev/null
+++ b/recipes/intltool/intltool_0.31.bb
@@ -0,0 +1 @@
+require intltool.inc
diff --git a/recipes/intltool/intltool_0.34.bb b/recipes/intltool/intltool_0.34.bb
new file mode 100644
index 0000000000..e48262574b
--- /dev/null
+++ b/recipes/intltool/intltool_0.34.bb
@@ -0,0 +1 @@
+require intltool.inc
diff --git a/recipes/intltool/intltool_0.35.0.bb b/recipes/intltool/intltool_0.35.0.bb
new file mode 100644
index 0000000000..6dea51a5fc
--- /dev/null
+++ b/recipes/intltool/intltool_0.35.0.bb
@@ -0,0 +1,8 @@
+require intltool.inc
+
+DEPENDS = "libxml-parser-perl-native"
+#RDEPENDS = "libxml-parser-perl"
+
+PR = "r1"
+
+RRECOMMENDS = "perl-modules"
diff --git a/recipes/intltool/intltool_0.35.2.bb b/recipes/intltool/intltool_0.35.2.bb
new file mode 100644
index 0000000000..5e2f94eb43
--- /dev/null
+++ b/recipes/intltool/intltool_0.35.2.bb
@@ -0,0 +1,8 @@
+require intltool.inc
+
+DEPENDS = "libxml-parser-perl-native"
+RDEPENDS = "perl-module-text-wrap perl-module-re"
+
+PR = "r1"
+
+RRECOMMENDS = "perl-modules"
diff --git a/recipes/intltool/intltool_0.35.5.bb b/recipes/intltool/intltool_0.35.5.bb
new file mode 100644
index 0000000000..092689b24b
--- /dev/null
+++ b/recipes/intltool/intltool_0.35.5.bb
@@ -0,0 +1,12 @@
+require intltool.inc
+
+DEPENDS = "libxml-parser-perl-native"
+RDEPENDS = "perl-module-text-wrap perl-module-re"
+
+PR = "r2"
+
+RRECOMMENDS = "perl-modules"
+
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI += "file://intltool-0.35.5-polkit.patch;patch=1"
diff --git a/recipes/intltool/intltool_0.37.1.bb b/recipes/intltool/intltool_0.37.1.bb
new file mode 100644
index 0000000000..e48262574b
--- /dev/null
+++ b/recipes/intltool/intltool_0.37.1.bb
@@ -0,0 +1 @@
+require intltool.inc
diff --git a/recipes/intltool/intltool_0.40.3.bb b/recipes/intltool/intltool_0.40.3.bb
new file mode 100644
index 0000000000..b4000dc7c0
--- /dev/null
+++ b/recipes/intltool/intltool_0.40.3.bb
@@ -0,0 +1,13 @@
+require intltool.inc
+
+PR = "r2"
+
+EXTRA_OEMAKE = "'PERL_TARGET=/usr/bin/perl'"
+
+do_configure_prepend() {
+ sed -i -e s:\\\$\(PERL\):\$\(PERL_TARGET\):g Makefile.am
+}
+
+do_configure_append() {
+ sed -i -e s:head\ -1:head\ -n1:g intltool.m4
+}