diff options
author | Marko Lindqvist <cazfi74@gmail.com> | 2013-08-23 10:24:00 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-26 16:29:18 +0100 |
commit | b07d12dacf61d54f3ab37c23eb014e129acaab9a (patch) | |
tree | 27427e2cf29ebadb6ac165ac8367b6c2805bd848 /meta/recipes-core/gettext/gettext_0.18.3.1.bb | |
parent | c34bb765fa79e82ea31d0e1b09263c4394f7c37b (diff) | |
download | poky-b07d12dacf61d54f3ab37c23eb014e129acaab9a.tar.gz |
gettext: update to upstream version 0.18.3.1
(From OE-Core rev: 18170af0d466815491f445ac7ff23906f7474d1a)
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/gettext/gettext_0.18.3.1.bb')
-rw-r--r-- | meta/recipes-core/gettext/gettext_0.18.3.1.bb | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/meta/recipes-core/gettext/gettext_0.18.3.1.bb b/meta/recipes-core/gettext/gettext_0.18.3.1.bb new file mode 100644 index 0000000000..1f07ce1580 --- /dev/null +++ b/meta/recipes-core/gettext/gettext_0.18.3.1.bb | |||
@@ -0,0 +1,106 @@ | |||
1 | SUMMARY = "Utilities and libraries for producing multi-lingual messages." | ||
2 | DESCRIPTION = "Gettext offers to programmers, translators, and even users, a well integrated set of tools and documentation. Specifically, the GNU `gettext' utilities are a set of tools that provides a framework to help other GNU packages produce multi-lingual messages. These tools include a set of conventions about how programs should be written to support message catalogs, a directory and file naming organization for the message catalogs themselves, a runtime library supporting the retrieval of translated messages, and a few stand-alone programs to massage in various ways the sets of translatable strings, or already translated strings." | ||
3 | HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html" | ||
4 | SECTION = "libs" | ||
5 | LICENSE = "GPLv3+ & LGPL-2.1+" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
7 | |||
8 | DEPENDS = "gettext-native virtual/libiconv expat" | ||
9 | DEPENDS_class-native = "gettext-minimal-native" | ||
10 | PROVIDES = "virtual/libintl virtual/gettext" | ||
11 | PROVIDES_class-native = "virtual/gettext-native" | ||
12 | RCONFLICTS_${PN} = "proxy-libintl" | ||
13 | SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ | ||
14 | file://parallel.patch \ | ||
15 | " | ||
16 | |||
17 | PACKAGECONFIG[msgcat-curses] = "--with-libncurses-prefix=${STAGING_LIBDIR}/..,--disable-curses,ncurses," | ||
18 | |||
19 | LDFLAGS_prepend_libc-uclibc = " -lrt -lpthread " | ||
20 | |||
21 | SRC_URI[md5sum] = "3fc808f7d25487fc72b5759df7419e02" | ||
22 | SRC_URI[sha256sum] = "0d8f9a33531b77776b3dc473e7940019ca19bfca5b4c06db6e96065eeb07245d" | ||
23 | |||
24 | inherit autotools | ||
25 | |||
26 | EXTRA_OECONF += "--without-lispdir \ | ||
27 | --disable-csharp \ | ||
28 | --disable-libasprintf \ | ||
29 | --disable-java \ | ||
30 | --disable-native-java \ | ||
31 | --disable-openmp \ | ||
32 | --disable-acl \ | ||
33 | --with-included-glib \ | ||
34 | --without-emacs \ | ||
35 | --without-cvs \ | ||
36 | --without-git \ | ||
37 | --with-included-libxml \ | ||
38 | --with-included-libcroco \ | ||
39 | --with-included-libunistring \ | ||
40 | " | ||
41 | |||
42 | acpaths = '-I ${S}/gettext-runtime/m4 \ | ||
43 | -I ${S}/gettext-tools/m4' | ||
44 | |||
45 | |||
46 | # these lack the .x behind the .so, but shouldn't be in the -dev package | ||
47 | # Otherwise you get the following results: | ||
48 | # 7.4M glibc/images/ep93xx/Angstrom-console-image-glibc-ipk-2008.1-test-20080104-ep93xx.rootfs.tar.gz | ||
49 | # 25M uclibc/images/ep93xx/Angstrom-console-image-uclibc-ipk-2008.1-test-20080104-ep93xx.rootfs.tar.gz | ||
50 | # because gettext depends on gettext-dev, which pulls in more -dev packages: | ||
51 | # 15228 KiB /ep93xx/libstdc++-dev_4.2.2-r2_ep93xx.ipk | ||
52 | # 1300 KiB /ep93xx/uclibc-dev_0.9.29-r8_ep93xx.ipk | ||
53 | # 140 KiB /armv4t/gettext-dev_0.14.1-r6_armv4t.ipk | ||
54 | # 4 KiB /ep93xx/libgcc-s-dev_4.2.2-r2_ep93xx.ipk | ||
55 | |||
56 | PACKAGES =+ "libgettextlib libgettextsrc" | ||
57 | FILES_libgettextlib = "${libdir}/libgettextlib-*.so*" | ||
58 | FILES_libgettextsrc = "${libdir}/libgettextsrc-*.so*" | ||
59 | |||
60 | PACKAGES =+ "gettext-runtime gettext-runtime-dev gettext-runtime-doc" | ||
61 | |||
62 | FILES_${PN} += "${libdir}/${BPN}/*" | ||
63 | |||
64 | FILES_gettext-runtime = "${bindir}/gettext \ | ||
65 | ${bindir}/ngettext \ | ||
66 | ${bindir}/envsubst \ | ||
67 | ${bindir}/gettext.sh \ | ||
68 | ${libdir}/libasprintf.so* \ | ||
69 | ${libdir}/GNU.Gettext.dll \ | ||
70 | " | ||
71 | FILES_gettext-runtime_append_libc-uclibc = " ${libdir}/libintl.so.* \ | ||
72 | ${libdir}/charset.alias \ | ||
73 | " | ||
74 | FILES_gettext-runtime-dev += "${libdir}/libasprintf.a \ | ||
75 | ${includedir}/autosprintf.h \ | ||
76 | " | ||
77 | FILES_gettext-runtime-dev_append_libc-uclibc = " ${libdir}/libintl.so \ | ||
78 | ${includedir}/libintl.h \ | ||
79 | " | ||
80 | FILES_gettext-runtime-doc = "${mandir}/man1/gettext.* \ | ||
81 | ${mandir}/man1/ngettext.* \ | ||
82 | ${mandir}/man1/envsubst.* \ | ||
83 | ${mandir}/man1/.* \ | ||
84 | ${mandir}/man3/* \ | ||
85 | ${docdir}/gettext/gettext.* \ | ||
86 | ${docdir}/gettext/ngettext.* \ | ||
87 | ${docdir}/gettext/envsubst.* \ | ||
88 | ${docdir}/gettext/*.3.html \ | ||
89 | ${datadir}/gettext/ABOUT-NLS \ | ||
90 | ${docdir}/gettext/csharpdoc/* \ | ||
91 | ${docdir}/libasprintf/autosprintf.html \ | ||
92 | ${infodir}/autosprintf.info \ | ||
93 | " | ||
94 | |||
95 | do_install_append() { | ||
96 | rm -f ${D}${libdir}/preloadable_libintl.so | ||
97 | } | ||
98 | |||
99 | do_install_append_class-native () { | ||
100 | rm ${D}${datadir}/aclocal/* | ||
101 | rm ${D}${datadir}/gettext/config.rpath | ||
102 | rm ${D}${datadir}/gettext/po/Makefile.in.in | ||
103 | rm ${D}${datadir}/gettext/po/remove-potcdate.sin | ||
104 | } | ||
105 | |||
106 | BBCLASSEXTEND = "native nativesdk" | ||