summaryrefslogtreecommitdiffstats
path: root/meta/packages/gettext
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
commitb2f192faabe412adce79534e22efe9fb69ee40e2 (patch)
tree7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/gettext
parent2cf0eadf9f730027833af802d7e6c90b44248f80 (diff)
downloadpoky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gettext')
-rw-r--r--meta/packages/gettext/gettext-0.14.1/fixchicken.patch26
-rw-r--r--meta/packages/gettext/gettext-0.14.1/gettext-vpath.patch11
-rw-r--r--meta/packages/gettext/gettext-native_0.14.1.bb53
-rw-r--r--meta/packages/gettext/gettext_0.14.1.bb33
4 files changed, 123 insertions, 0 deletions
diff --git a/meta/packages/gettext/gettext-0.14.1/fixchicken.patch b/meta/packages/gettext/gettext-0.14.1/fixchicken.patch
new file mode 100644
index 0000000000..4174f6d747
--- /dev/null
+++ b/meta/packages/gettext/gettext-0.14.1/fixchicken.patch
@@ -0,0 +1,26 @@
1Index: gettext-tools/m4/csharpcomp.m4
2===================================================================
3RCS file: /cvs/gettext/gettext/gettext-tools/m4/csharpcomp.m4,v
4retrieving revision 1.4
5retrieving revision 1.6
6diff -u -r1.4 -r1.6
7--- a/gettext-tools/m4/csharpcomp.m4 30 Jan 2004 11:01:18 -0000 1.4
8+++ a/gettext-tools/m4/csharpcomp.m4 26 May 2004 12:15:23 -0000 1.6
9@@ -1,4 +1,4 @@
10-# csharpcomp.m4 serial 2 (gettext-0.14.1)
11+# csharpcomp.m4 serial 4 (gettext-0.15)
12 dnl Copyright (C) 2003-2004 Free Software Foundation, Inc.
13 dnl This file is free software, distributed under the terms of the GNU
14 dnl General Public License. As a special exception to the GNU General
15@@ -43,7 +43,8 @@
16 ;;
17 sscli)
18 if test -n "$HAVE_CSC_IN_PATH" \
19- && csc -help >/dev/null 2>/dev/null; then
20+ && csc -help >/dev/null 2>/dev/null \
21+ && { if csc -help 2>/dev/null | grep -i chicken > /dev/null; then false; else true; fi; }; then
22 HAVE_CSC=1
23 ac_result="csc"
24 break
25
26
diff --git a/meta/packages/gettext/gettext-0.14.1/gettext-vpath.patch b/meta/packages/gettext/gettext-0.14.1/gettext-vpath.patch
new file mode 100644
index 0000000000..8251ac0e73
--- /dev/null
+++ b/meta/packages/gettext/gettext-0.14.1/gettext-vpath.patch
@@ -0,0 +1,11 @@
1--- gettext-0.14.1/gettext-runtime/intl/Makefile.in~ 2004-04-09 13:23:40.000000000 +0100
2+++ gettext-0.14.1/gettext-runtime/intl/Makefile.in 2004-04-09 13:22:05.000000000 +0100
3@@ -24,7 +24,7 @@
4 srcdir = $(top_srcdir)/../gettext-runtime/intl
5 top_srcdir = /var/tmp/oe-tmp.pb/base/gettext-0.14.1-r0/gettext-0.14.1/gettext-tools
6 top_builddir = ..
7-VPATH = $(srcdir)
8+#VPATH = $(srcdir)
9
10 prefix = /usr
11 exec_prefix = /usr
diff --git a/meta/packages/gettext/gettext-native_0.14.1.bb b/meta/packages/gettext/gettext-native_0.14.1.bb
new file mode 100644
index 0000000000..07c9361a19
--- /dev/null
+++ b/meta/packages/gettext/gettext-native_0.14.1.bb
@@ -0,0 +1,53 @@
1include gettext_${PV}.bb
2S = "${WORKDIR}/gettext-${PV}"
3FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gettext-${PV}"
4inherit native
5PROVIDES = ""
6
7M4 = "\
8lib-ld.m4 \
9lib-link.m4 \
10lib-prefix.m4 \
11codeset.m4 \
12gettext.m4 \
13glibc21.m4 \
14iconv.m4 \
15intdiv0.m4 \
16intmax.m4 \
17inttypes.m4 \
18inttypes_h.m4 \
19inttypes-pri.m4 \
20isc-posix.m4 \
21lcmessage.m4 \
22longdouble.m4 \
23longlong.m4 \
24nls.m4 \
25po.m4 \
26printf-posix.m4 \
27progtest.m4 \
28signed.m4 \
29size_max.m4 \
30stdint_h.m4 \
31uintmax_t.m4 \
32ulonglong.m4 \
33wchar_t.m4 \
34wint_t.m4 \
35xsize.m4 \
36"
37
38do_stage_append() {
39 for i in ${M4}; do
40 src="gettext-runtime/m4/$i"
41 if [ ! -f $src ]; then
42 src="gettext-tools/m4/$i"
43 fi
44 if [ ! -f $src ]; then
45 src="autoconf-lib-link/m4/$i"
46 fi
47 if [ ! -f $src ]; then
48 echo "can't find $i" >&2
49 exit 1
50 fi
51 install -m 0644 $src ${STAGING_DATADIR}/aclocal/$i
52 done
53}
diff --git a/meta/packages/gettext/gettext_0.14.1.bb b/meta/packages/gettext/gettext_0.14.1.bb
new file mode 100644
index 0000000000..9e2222aa0e
--- /dev/null
+++ b/meta/packages/gettext/gettext_0.14.1.bb
@@ -0,0 +1,33 @@
1DESCRIPTION = "The GNU internationalization library."
2HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html"
3SECTION = "libs"
4LICENSE = "GPL"
5PR = "r3"
6PROVIDES = "virtual/libintl"
7
8SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
9 file://gettext-vpath.patch;patch=1;pnum=1 \
10 file://fixchicken.patch;patch=1;pnum=1"
11
12PARALLEL_MAKE = ""
13
14inherit autotools
15
16EXTRA_OECONF += "--without-lisp"
17acpaths = '-I ${S}/autoconf-lib-link/m4/ \
18 -I ${S}/gettext-runtime/m4 \
19 -I ${S}/gettext-tools/m4'
20
21do_configure_prepend() {
22 rm -f ${S}/config/m4/libtool.m4
23 install -m 0644 ${STAGING_DATADIR}/aclocal/libtool.m4 ${S}/config/m4/
24}
25
26do_stage () {
27 autotools_stage_includes
28 oe_libinstall -so -C gettext-tools/lib libgettextlib ${STAGING_LIBDIR}/
29 oe_libinstall -so -C gettext-tools/src libgettextpo ${STAGING_LIBDIR}/
30 oe_libinstall -so -C gettext-tools/src libgettextsrc ${STAGING_LIBDIR}/
31 oe_libinstall -so -C gettext-tools/intl libintl ${STAGING_LIBDIR}/
32 oe_libinstall -so -C gettext-runtime/lib libasprintf ${STAGING_LIBDIR}/
33}