summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/gettext/gettext_0.18.1.1.bb
diff options
context:
space:
mode:
authorMarko Lindqvist <cazfi74@gmail.com>2012-12-28 01:19:05 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-10 23:43:07 +0000
commit024405ca01d09b80e9a7147df973c02d3a0f0da9 (patch)
tree4af0cdff9ce0abee75e3782a2510f8e7c16b2b80 /meta/recipes-core/gettext/gettext_0.18.1.1.bb
parent7a5ed19c4104d14bf42cf9c6c2173d070fbc0b72 (diff)
downloadpoky-024405ca01d09b80e9a7147df973c02d3a0f0da9.tar.gz
gettext: update to upstream version 0.18.2
remove_gets.patch dropped as upstream now contains fix for the problem. (From OE-Core rev: 9e936c390006602c27df4c42ea2d9055881db098) 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.1.1.bb')
-rw-r--r--meta/recipes-core/gettext/gettext_0.18.1.1.bb110
1 files changed, 0 insertions, 110 deletions
diff --git a/meta/recipes-core/gettext/gettext_0.18.1.1.bb b/meta/recipes-core/gettext/gettext_0.18.1.1.bb
deleted file mode 100644
index 4639481a54..0000000000
--- a/meta/recipes-core/gettext/gettext_0.18.1.1.bb
+++ /dev/null
@@ -1,110 +0,0 @@
1SUMMARY = "Utilities and libraries for producing multi-lingual messages."
2DESCRIPTION = "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."
3HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html"
4SECTION = "libs"
5LICENSE = "GPLv3+ & LGPL-2.1+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
7
8PR = "r19"
9DEPENDS = "gettext-native virtual/libiconv ncurses expat"
10DEPENDS_class-native = "gettext-minimal-native"
11PROVIDES = "virtual/libintl virtual/gettext"
12PROVIDES_class-native = "virtual/gettext-native"
13RCONFLICTS_${PN} = "proxy-libintl"
14SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
15 file://parallel.patch \
16 file://remove_gets.patch \
17 "
18
19SRC_URI_append_libc-uclibc = " file://wchar-uclibc.patch \
20 file://gnulib-uclibc-sched_param-def.patch \
21 "
22LDFLAGS_prepend_libc-uclibc = " -lrt -lpthread "
23
24SRC_URI[md5sum] = "3dd55b952826d2b32f51308f2f91aa89"
25SRC_URI[sha256sum] = "93ac71a7afa5b70c1b1032516663658c51e653087f42a3fc8044752c026443e9"
26
27inherit autotools
28
29EXTRA_OECONF += "--without-lispdir \
30 --disable-csharp \
31 --disable-libasprintf \
32 --disable-java \
33 --disable-native-java \
34 --disable-openmp \
35 --disable-acl \
36 --with-included-glib \
37 --with-libncurses-prefix=${STAGING_LIBDIR}/.. \
38 --without-emacs \
39 --without-cvs \
40 --without-git \
41 --with-included-libxml \
42 --with-included-libcroco \
43 --with-included-libunistring \
44 "
45
46acpaths = '-I ${S}/gettext-runtime/m4 \
47 -I ${S}/gettext-tools/m4'
48
49
50# these lack the .x behind the .so, but shouldn't be in the -dev package
51# Otherwise you get the following results:
52# 7.4M glibc/images/ep93xx/Angstrom-console-image-glibc-ipk-2008.1-test-20080104-ep93xx.rootfs.tar.gz
53# 25M uclibc/images/ep93xx/Angstrom-console-image-uclibc-ipk-2008.1-test-20080104-ep93xx.rootfs.tar.gz
54# because gettext depends on gettext-dev, which pulls in more -dev packages:
55# 15228 KiB /ep93xx/libstdc++-dev_4.2.2-r2_ep93xx.ipk
56# 1300 KiB /ep93xx/uclibc-dev_0.9.29-r8_ep93xx.ipk
57# 140 KiB /armv4t/gettext-dev_0.14.1-r6_armv4t.ipk
58# 4 KiB /ep93xx/libgcc-s-dev_4.2.2-r2_ep93xx.ipk
59
60PACKAGES =+ "libgettextlib libgettextsrc"
61FILES_libgettextlib = "${libdir}/libgettextlib-*.so*"
62FILES_libgettextsrc = "${libdir}/libgettextsrc-*.so*"
63
64PACKAGES =+ "gettext-runtime gettext-runtime-dev gettext-runtime-doc"
65
66FILES_${PN} += "${libdir}/${BPN}/*"
67
68FILES_gettext-runtime = "${bindir}/gettext \
69 ${bindir}/ngettext \
70 ${bindir}/envsubst \
71 ${bindir}/gettext.sh \
72 ${libdir}/libasprintf.so* \
73 ${libdir}/GNU.Gettext.dll \
74 "
75FILES_gettext-runtime_append_libc-uclibc = " ${libdir}/libintl.so.* \
76 ${libdir}/charset.alias \
77 "
78FILES_gettext-runtime-dev += "${libdir}/libasprintf.a \
79 ${includedir}/autosprintf.h \
80 "
81FILES_gettext-runtime-dev_append_libc-uclibc = " ${libdir}/libintl.so \
82 ${includedir}/libintl.h \
83 "
84FILES_gettext-runtime-doc = "${mandir}/man1/gettext.* \
85 ${mandir}/man1/ngettext.* \
86 ${mandir}/man1/envsubst.* \
87 ${mandir}/man1/.* \
88 ${mandir}/man3/* \
89 ${docdir}/gettext/gettext.* \
90 ${docdir}/gettext/ngettext.* \
91 ${docdir}/gettext/envsubst.* \
92 ${docdir}/gettext/*.3.html \
93 ${datadir}/gettext/ABOUT-NLS \
94 ${docdir}/gettext/csharpdoc/* \
95 ${docdir}/libasprintf/autosprintf.html \
96 ${infodir}/autosprintf.info \
97 "
98
99do_install_append() {
100 rm -f ${D}${libdir}/preloadable_libintl.so
101}
102
103do_install_append_class-native () {
104 rm ${D}${datadir}/aclocal/*
105 rm ${D}${datadir}/gettext/config.rpath
106 rm ${D}${datadir}/gettext/po/Makefile.in.in
107 rm ${D}${datadir}/gettext/po/remove-potcdate.sin
108}
109
110BBCLASSEXTEND = "native nativesdk"