diff options
author | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
commit | b2f192faabe412adce79534e22efe9fb69ee40e2 (patch) | |
tree | 7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/gettext | |
parent | 2cf0eadf9f730027833af802d7e6c90b44248f80 (diff) | |
download | poky-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.patch | 26 | ||||
-rw-r--r-- | meta/packages/gettext/gettext-0.14.1/gettext-vpath.patch | 11 | ||||
-rw-r--r-- | meta/packages/gettext/gettext-native_0.14.1.bb | 53 | ||||
-rw-r--r-- | meta/packages/gettext/gettext_0.14.1.bb | 33 |
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 @@ | |||
1 | Index: gettext-tools/m4/csharpcomp.m4 | ||
2 | =================================================================== | ||
3 | RCS file: /cvs/gettext/gettext/gettext-tools/m4/csharpcomp.m4,v | ||
4 | retrieving revision 1.4 | ||
5 | retrieving revision 1.6 | ||
6 | diff -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 @@ | |||
1 | include gettext_${PV}.bb | ||
2 | S = "${WORKDIR}/gettext-${PV}" | ||
3 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gettext-${PV}" | ||
4 | inherit native | ||
5 | PROVIDES = "" | ||
6 | |||
7 | M4 = "\ | ||
8 | lib-ld.m4 \ | ||
9 | lib-link.m4 \ | ||
10 | lib-prefix.m4 \ | ||
11 | codeset.m4 \ | ||
12 | gettext.m4 \ | ||
13 | glibc21.m4 \ | ||
14 | iconv.m4 \ | ||
15 | intdiv0.m4 \ | ||
16 | intmax.m4 \ | ||
17 | inttypes.m4 \ | ||
18 | inttypes_h.m4 \ | ||
19 | inttypes-pri.m4 \ | ||
20 | isc-posix.m4 \ | ||
21 | lcmessage.m4 \ | ||
22 | longdouble.m4 \ | ||
23 | longlong.m4 \ | ||
24 | nls.m4 \ | ||
25 | po.m4 \ | ||
26 | printf-posix.m4 \ | ||
27 | progtest.m4 \ | ||
28 | signed.m4 \ | ||
29 | size_max.m4 \ | ||
30 | stdint_h.m4 \ | ||
31 | uintmax_t.m4 \ | ||
32 | ulonglong.m4 \ | ||
33 | wchar_t.m4 \ | ||
34 | wint_t.m4 \ | ||
35 | xsize.m4 \ | ||
36 | " | ||
37 | |||
38 | do_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 @@ | |||
1 | DESCRIPTION = "The GNU internationalization library." | ||
2 | HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html" | ||
3 | SECTION = "libs" | ||
4 | LICENSE = "GPL" | ||
5 | PR = "r3" | ||
6 | PROVIDES = "virtual/libintl" | ||
7 | |||
8 | SRC_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 | |||
12 | PARALLEL_MAKE = "" | ||
13 | |||
14 | inherit autotools | ||
15 | |||
16 | EXTRA_OECONF += "--without-lisp" | ||
17 | acpaths = '-I ${S}/autoconf-lib-link/m4/ \ | ||
18 | -I ${S}/gettext-runtime/m4 \ | ||
19 | -I ${S}/gettext-tools/m4' | ||
20 | |||
21 | do_configure_prepend() { | ||
22 | rm -f ${S}/config/m4/libtool.m4 | ||
23 | install -m 0644 ${STAGING_DATADIR}/aclocal/libtool.m4 ${S}/config/m4/ | ||
24 | } | ||
25 | |||
26 | do_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 | } | ||