summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/gettext
Commit message (Collapse)AuthorAgeFilesLines
* gettext: Fix ptest failureKhem Raj2020-09-242-0/+24
| | | | | | | | | | | | msgmerge-29 is a script without execute permissions but executed as ./msgmerge-29 which results in this test failing. It is only one test which fails on gettext/qemux86-64 (From OE-Core rev: 96f001218d7b2b550160bee568ab451d59e3a577) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: no need to depend on bison-nativeRoss Burton2020-09-231-5/+2
| | | | | | | | | | This was needed because of a backported patch, this patch was dropped in oe-core c9f8b48 but the removal of the dependency was missed. (From OE-Core rev: b20e7523359d5967fd72ac87f10f3091e15161b8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: update 0.20.2 -> 0.21Alexander Kanavin2020-08-2524-72/+46
| | | | | | | | | | Drop add-with-bisonlocaledir.patch as upstream (gnulib, not bison) now determines the directory from datadir. (From OE-Core rev: 8a89c77e5b5a7915b9cce4979ee8caa593847e51) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: update 0.20.1 -> 0.20.2Alexander Kanavin2020-06-0425-370/+319
| | | | | | | (From OE-Core rev: 2419443c02496c2f58f2d6ce093a3c2aa71eedb4) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: fix ptest package reproducibiltyAlexander Kanavin2020-03-072-0/+30
| | | | | | | (From OE-Core rev: 15fe7de55b90293a588703700b3de72cf95ecd79) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: Drop overloadable attibute for getcwd declarationKhem Raj2020-01-272-24/+0
| | | | | | | (From OE-Core rev: d922ccdb79a386c2ea6004520d76277bc8867fcb) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: Fix overloadable error with clangKhem Raj2020-01-212-0/+23
| | | | | | | | | | Clang detects that getcwd is being re-declared and signatures don't match, simple solution is to let clang use overloadable attribute (From OE-Core rev: d32626c3c5b034b72495c2949b3e94ca55f04a9b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: fix typo in Upstream-StatusRoss Burton2020-01-131-1/+1
| | | | | | | (From OE-Core rev: b6d4150f9c74f25a4022a3fa0bd489a8e85deb77) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: additional ptest fixingAlexander Kanavin2020-01-102-0/+31
| | | | | | | | | | In previous testing some tests were skipped due to missing autotools; when autotools are present on target, additional failures are exposed. (From OE-Core rev: 9863bb29f481023081b30a55d3304afe1d7b6e8b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: Backport patch to fix po files without translationsKhem Raj2020-01-022-0/+88
| | | | | | | (From OE-Core rev: cf5f46e6435a577170d4c0267dc41b62ef1caab0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: fix failing ptestsAlexander Kanavin2020-01-021-2/+21
| | | | | | | | | | | | | Results: pass 400 fail 0 skip 32 (From OE-Core rev: b3147117a32e2bfe851ffa00951dfb28af4ab7e6) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: update to 0.20.1Alexander Kanavin2020-01-0210-534/+775
| | | | | | | | License-Update: URLs changed from http to https (From OE-Core rev: c9f8b48ddae0c951fe4df99fda062526160c0a9f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext-minimal-native: update to 0.20.1Alexander Kanavin2020-01-0217-95/+3236
| | | | | | | | | | | Rather than update a tarball, I took m4 files directly from an install of 0.20.1. The patch is dropped as guile has long been removed from oe-core. (From OE-Core rev: be1fe0120f99e88580cde8fe9004d8135458cac4) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext/flex/m4/bzip2/gzip/parted/slang/attr: Add make to -ptest packagesRichard Purdie2019-05-161-0/+1
| | | | | | | | | This solves ptest runtime errors where make was missing causing the ptests to fail. (From OE-Core rev: 2ade2c53388c92d36b8b30dae30670fd96ca4821) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: add ptest supportChangqing Li2019-04-293-1/+120
| | | | | | | | | skip test lang-c since it need gcc/libtool on target (From OE-Core rev: 892e6258f737b0903fef29daef99f31f616e217f) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: Add --cache-file to EXTRA_OECONFRobert Yang2019-01-241-0/+1
| | | | | | | | | | | | | This can save configure time since it runs configure multiple times: $ time bitbake gettext-native -cconfigure 2m22s -> 2m2s Saved 20s (From OE-Core rev: d1d96f3a0247c9adef8c388f18d655fcb17c5ad5) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: fix CVE-2018-18751Kai Kang2018-11-162-2/+147
| | | | | | | | | | | | | | | | Backport patch to fix CVE-2018-18751 for gettext. Because po-gram-gen.y has been modified by fix-CVE-2018-18751.patch, it requires yacc which provided by bison-native to re-create po-gram-gen.c. Please remove bison-native from DEPENDS* when next upgrade. Ref: https://security-tracker.debian.org/tracker/CVE-2018-18751 (From OE-Core rev: 4b3a085d6c63fd8459bb084aaa277dd2e8949594) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: beat library detection into shapeRoss Burton2018-01-302-3/+327
| | | | | | | | | | | | | | | | | | | | | | | For reasons I can't explain gettext uses several hundred lines of convoluted m4 to find the paths to a library. If we don't tell it where to find a library it will hunt around and potentially have host contamination as /usr/lib on the host is explicitly searched. If we tell it the prefix to a library then we get bad RPATHs in the binaries (such as /usr/lib/../lib), and the search assumes that it knows best about what the library directories are under that prefix (even when it's wrong). So, replace the lookup where possible with pkg-config calls (libxml2, glib, libcroco). libunistring doens't have a pkgconfig file so just don't use the system libunistring: the library is tiny anyway. (From OE-Core rev: 1ff35fbbdd50660b86f8e254685ae0c8338b6e11) (From OE-Core rev: e6c0f8eddf8ff4a6132934a69e0f3450d4843ece) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: rationalise optional dependenciesRoss Burton2018-01-111-7/+11
| | | | | | | | | | | | | | | | | gettext has optional dependencies on libxml2, glib, libcroco and libunistring. If they're not available then gettext will use internal copies, but it can also use system libraries. For gettext-native and nativesdk-gettext continue to use the internal copies to reduce the dependencies, but for target use the system shared libraries. Also gettext 0.19.7 onwards swapped expat for libxm2, so remove the build dependency on expat. (From OE-Core rev: a82aa376a9229428ec25629e97a1efa56f0afae7) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: relocate msgfmt utility for all recipesAlexander Kanavin2017-06-281-0/+4
| | | | | | | | | | Now that epiphany needs a working msgfmt as well, let's do this trick where it should be. (From OE-Core rev: 7c0032b81f56fea5bec33aa0e74d6e28873f72a8) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Drop remnants of uclibc supportRichard Purdie2017-06-221-8/+0
| | | | | | | | | | | | | | uclibc support was removed a while ago and musl works much better. Start to remove the various overrides and patches related to uclibc which are no longer needed. uclibc support in a layer would still be possible. I have strong reasons to believe nobody is still using uclibc since patches are missing and I doubt the metadata even parses anymore. (From OE-Core rev: 653704e9cf325cb494eb23facca19e9f05132ffd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: split recipe's descriptionLeonardo Sandoval2017-03-171-1/+4
| | | | | | | | | | Split long recipe description into multiple lines. (From OE-Core rev: 13cf0df0252941b9575da613488cbc141e043a8a) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Move out stale GPLv2 versions to a seperate layeruninative-1.5Richard Purdie2017-03-078-1431/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are recipes where the upstream has moved to GPLv3 and these old versions are the last ones under the GPLv2 license. There are several reasons for making this move. There is a different quality of service with these recipes in that they don't get security fixes and upstream no longer care about them, in fact they're actively hostile against people using old versions. The recipes tend to need a different kind of maintenance to work with changes in the wider ecosystem and there needs to be isolation between changes made in the v3 versions and those in the v2 versions. There are probably better ways to handle a "non-GPLv3" system but right now having these in OE-Core makes them look like a first class citizen when I believe they have potential for a variety of undesireable issues. Moving them into a separate layer makes their different needs clearer, it also makes it clear how many of these there are. Some are probably not needed (e.g. mc), I also wonder whether some are useful (e.g. gmp) since most things that use them are GPLv3 only already. Someone could now more clearly see how to streamline the list of recipes here. I'm proposing we mmove to this separate layer for 2.3 with its future maintinership and testing to be determined in 2.4 and beyond. (From OE-Core rev: 19b7e950346fb1dde6505c45236eba6cd9b33b4b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: fix formatting issuesRobert Yang2017-02-232-0/+88
| | | | | | | | | | | | | | | | | | | Fixed when compile with "-Wformat -Wformat-security -Werror=format-security": | gettext-tools/gnulib-lib/libcroco/cr-statement.c: In function 'cr_statement_dump_charset': | gettext-tools/gnulib-lib/libcroco/cr-statement.c:2661:17: error: format not a string literal and no format arguments [-Werror=format-security] | fprintf (a_fp, str) ; And: gettext-tools/gnulib-lib/libxml/timsort.h:326:80: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] fprintf(stderr, "Error allocating temporary storage for tim sort: need %lu bytes", sizeof(SORT_TYPE) * new_size); [YOCTO #9544] (From OE-Core rev: 41eb2da1b05515e3803a331686fa6ca763ae2e69) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext_0.16.1: whitespace changes to align with v0.19.8.1André Draszik2016-08-231-4/+3
| | | | | | | | | | | This further aligns this recipe with the GPLv3 version to make it easier to spot differences between the two recipes. (From OE-Core rev: e25a533e8ca2fc1fa897df252830825cb9a5f028) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext_0.16.1: align configure options with v0.19.8.1 recipeAndré Draszik2016-08-231-0/+3
| | | | | | | | | | | It doesn't look like we need any of those features, so let's disable them explicitly. (From OE-Core rev: 0a095473eec333f918ef831dea1c2f269a64fc62) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext_0.16.1: fix lispdir configure optionAndré Draszik2016-08-231-1/+5
| | | | | | | | | | The option is called --with(out)-lispdir, not --with(out)-lisp (From OE-Core rev: 422c92d2806f776252c15ec9fe204b204503c4d2) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext_0.16.1: use musl gettext implementationAndré Draszik2016-08-231-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gettext uses internal symbols to detect whether the implementation is compatible with GNU gettext. However, these symbols don't are not part of the public API, they are specific to glibc. While musl implements the GNU gettext *API* version 1 and 2 http://www.openwall.com/lists/musl/2015/04/16/3 it doesn't implement glibc internals. This means that gettext fails to detect musl's working implementation. More recent versions of gettext have changed the way GNU gettext compatibility is done https://lists.gnu.org/archive/html/bug-gettext/2016-04/msg00000.html http://git.savannah.gnu.org/cgit/gettext.git/commit/gettext-runtime/m4/gettext.m4?id=b67399b40bc5bf3165b09e6a095ec941d4b30a97 and while we could backport the corresponding patch to gettext.m4, we avoid doing that so as to avoid any potential GPL-v3 issues. So instead we force ./configure to assume that the gettext implementation of the c-library (musl) is compatible. As a side-effect, this also reduces image sizes as the internal gettext implementation isn't built anymore, and it's otherwise packaged into the main gettext package which blows up the image as the main gettext package contains a lot of things. Similarly, libintl.h isn't generated anymore, as the one from musl is OK. (From OE-Core rev: 948f0bd162f0b1b0375db884e99a2338f47e8527) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext-minimal-native: 0.19.4 -> 0.19.8.1Robert Yang2016-07-268-17/+34
| | | | | | | | | | | | | | | | | | How to upgrade gettext-minimal-native: - Build gettext-native - Copy gettext-runtime/po/Makefile.in.in, build-aux/config.rpath and gettext-runtime/po/remove-potcdate.sin from gettext-native. - Update COPYING when needed (usually update the year), do not copy the whole COPYING file from gettext-native. - Go to gettext-native's ${S}/gettext-runtime/m4: > Remove lt*.m4 and libtool.m4 > copy lib-ld.m4 lib-link.m4 lib-prefix.m4 from ${S}/gettext-runtime/gnulib-m4/ > tar czvf /path/to/aclocal.tgz *.m4 (From OE-Core rev: 2b82c24a6b0148d1cc548605eab9be85f356ab6d) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: 0.19.6 -> 0.19.8.1Robert Yang2016-07-263-2/+7
| | | | | | | (From OE-Core rev: 450f4597d491789b0680940218e0e0bee7104ada) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext_0.16.1: remove useless files to avoid sysroot conflictsChen Qi2016-07-201-0/+7
| | | | | | | | | | | | | Do as the 0.19.6 version do, remove these files to avoid sysroot conflicts with gettext-native-minimal. [YOCTO #9890] (From OE-Core rev: 65eb9b78e9e57a12db4f0053e35ad555a4c33029) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: fix for low-version recipeChen Qi2016-07-081-1/+1
| | | | | | | | | | | | | | | Make gettext-native in 0.16.1 recipe provides virtual/gettext-native like what gettext-native in 0.19.6 recipe does. Otherwise we would fail to start to do a world build if gettext and gettext-native are set to the low version. Error message is like below. ERROR: Multiple versions of gettext-native are due to be built (From OE-Core rev: a0bdbd8f38d8d2ca0687f4353b715087f946247a) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: update patch metadataRoss Burton2016-07-082-2/+2
| | | | | | | | | Enforce the correct tag names across all of oe-core for consistency. (From OE-Core rev: 606a43dc38a00cc243f933722db657aea4129f8e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: Use SYSROOT_DIRS_BLACKLIST to exclude dirs from the sysrootPeter Kjellerstedt2016-05-131-6/+1
| | | | | | (From OE-Core rev: 6eeb65b5794f5c43d9d8124d23f3f59417a129a6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: Delete libintl.la file from installKhem Raj2016-02-281-4/+5
| | | | | | | | | | | | | | | | | | | | | | | gettext installs a libtool .la file for non-glibc systems since it builds libintl for them unlike glibc where it finds that using libc's gettext implementation is just fine. Same is not true for musl even though musl provides itw own gettext implementation much on then lines of glibc. ideally gettetxt should be fixed to behave on musl, but at this time its not clear if APIs are same and complete. Deleting .la file helps compiling packages like util-linux when using fstack-protections since it does not alter the order of libc on linker cmdline Moved src_uri checksums just below the SRC_URI as matter of formatting (From OE-Core rev: 83d31c874c58c9e98f1f99cbad1a583e65ed72e6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bison/gettext: add --with-bisonlocaledir to assign BISON_LOCALEDIRHongxu Jia2016-02-282-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This issue was triggered by buildpaths QA Warning. ... |gettext-0.19.6: File work/core2-64-poky-linux/gettext/0.19.6-r0/ packages-split/gettext/usr/bin/msgcmp in package contained reference to tmpdir ... Previously, variable BISON_LOCALEDIR was assigned only by the output of 'bison --print-localedir' which provided by native bison that has buildpaths in it. For target compile, we add option --with-bisonlocaledir to set BISON_LOCALEDIR with "/usr/share/locale" to fix the QA issue. The variable BISON_LOCALEDIR is used for internationalization of the bison parser’s runtime output. Here is the introduction: http://www.gnu.org/software/bison/manual/html_node/Internationalization.html [YOCTO #7058] (From OE-Core rev: aafb300a1f144b9ebda61a02fedd124fe0e1a83a) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: Upgrade 0.19.4 -> 0.19.6Fan Xin2015-12-222-2/+2
| | | | | | | | (From OE-Core rev: d22e6d2a2d73112f21820289621d560c54f93d76) Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: Delete libintl.h and charset.aliasKhem Raj2015-12-122-0/+9
| | | | | | | | | | | libintl.h is already provided by musl and charset.alias is regenerated by packages themselves (From OE-Core rev: 25f91036e14392638e549d3d0b2914e93e6f4596) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext_0.16.1: add -lrt and -lpthread to LDFLAGS for uclibc buildsAndre McCurdy2015-08-101-0/+2
| | | | | | | | | | | | | | | | Fix linker errors due to posix_spawnp etc being in librt for uclibc. | sh4-rdk-linux-uclibc-libtool: link: sh4-rdk-linux-uclibc-gcc -ml -m4 --sysroot=/build-foo/tmp/sysroots/foo -O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/test-names test-names.o libuniname.a ../gnulib-lib/.libs/libgettextlib.so /build-foo/tmp/work/sh4-rdk-linux-uclibc/gettext/0.16.1-r6/build/gettext-tools/intl/.libs/libintl.so -lc /build-foo/tmp/sysroots/foo/usr/lib/libiconv.so | ../gnulib-lib/.libs/libgettextlib.so: undefined reference to `posix_spawnp' | ../gnulib-lib/.libs/libgettextlib.so: undefined reference to `posix_spawn_file_actions_adddup2' | ../gnulib-lib/.libs/libgettextlib.so: undefined reference to `posix_spawn_file_actions_addopen' | ../gnulib-lib/.libs/libgettextlib.so: undefined reference to `posix_spawn_file_actions_addclose' | collect2: error: ld returned 1 exit status (From OE-Core rev: d46333dc49f8f7d1b03cace9c5397f3826906e7c) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext_0.16.1: remove obsolete uclibc specific patchAndre McCurdy2015-08-102-23/+0
| | | | | | | | | | | | | | gettext-error_print_progname.patch was originally created for gettext v0.14.6 and does not apply cleanly to gettext v0.16.1. Since the original issue addressed by the patch isn't documented and because gettext v0.16.1 seems to be build OK for uclibc without the patch, assume the patch is obsolete and no longer required. (From OE-Core rev: d95d92a1f867caaa428685b72839a555c0ef83b4) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext-minimal-native: use MKIDR_P in Makefile.in.inWenzong Fan2015-07-161-14/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Makefile.in.in provided by gettext-minimal-native will be copied to many packages that need gettext to produce multi-lingual messages. Replace mkdir_p with MKDIR_P to fix below errors from those packages' install logs: /bin/sh: 6: @mkdir_p@: not found /usr/bin/install: cannot create regular file 'xxx' As automake manual: From Automake 1.8 to 1.9.6 AM_PROG_MKDIR_P used to define the output variable mkdir_p to one of mkdir -p, install-sh -d, or mkinstalldirs. Nowadays Autoconf provides a similar functionality with AC_PROG_MKDIR_P, it will set output variable MKDIR_P. Automake manual advises to switch ASAP to the more modern Autoconf-provided interface instead; both the macro and the variable have been removed from Automake 1.12.1 and later releases. Signe-off-by: Wenzong Fan <wenzong.fan@windriver.com> (From OE-Core rev: f374ed441627ac833aab62c1189a16ea26a4933b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext-minimal-native: Disable the unnecessary check in iconv.m4Roy Li2015-05-242-0/+39
| | | | | | | | | | | | | | | | Disable the test "Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided" since we don't support HP-UX and if the euc-jp is not installed on the host, the dependence will be built without iconv support and will cause guile-native building fail. The patch is similar as 0470bd7a9658d3[libunistring: remove the test to convert euc-jp in configure] (From OE-Core rev: c4a386556afaaab3fcbb7e96274ff36e5bdb4b62) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: upgrade to 0.19.4Robert Yang2015-01-2311-139/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * gettext: - Update parallel.patch, we only need a part of it. * gettext-minimal-native: - Update related files from gettext-native. - Remove Makevars.template, we didn't use it. - Remove iconv-m4-remove-the-test-to-convert-euc-jp.patch (can be reverse applied). - Update the COPYING (1995 - 2014). * About upgrade gettext-minimal-native (for future's upgrade): - Build gettext-native - Copy gettext-runtime/po/Makefile.in.in, build-aux/config.rpath and gettext-runtime/po/remove-potcdate.sin from gettext-native. - Update COPYING when needed (usually update the year), do not copy the whole COPYING file from gettext-native. - Go to gettext-native's ${S}/gettext-runtime/m4: > Remove lt*.m4 and libtool.m4 > copy lib-ld.m4 lib-link.m4 lib-prefix.m4 from ${S}/gettext-runtime/m4/ > tar czvf /path/to/aclocal.tgz *.m4 (From OE-Core rev: cd91b748e83bd5c040538aecf76823549662b3c7) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add texinfo.bbclass; recipes that use texinfo utils at build-time inherit it.Max Eliaser2014-05-022-2/+2
| | | | | | | | | | | | | The class itself currently does nothing. The idea is to mark all recipes that make use of the texinfo utilities. In the future, this class could be used to suppress the generation/formatting of documentation for performance, explicitly track dependencies on these utilities, and eliminate Yocto's current dependency on the host system's texinfo utilities. (From OE-Core rev: e6fb2f9afe2ba6b676c46d1eb297ca9cc532d405) Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext-0.16.1: kill target m4 macros from sysrootChristopher Larson2014-03-191-0/+11
| | | | | | | | | | | | | | | | | | | | Ever since the change to how aclocal files are copied (based on dependencies), target m4 macros seem to more reliably be used in preference to native (which they should), but in a non-gplv3 build, gettext is 0.16 while gettext-native is 0.18, causing a 0.16 po.m4 to be used with our 0.18 po/Makefile.in.in files, causing at least some failed builds, including e2fsprogs. Anyone inheriting gettext will have both gettext-native and gettext available, and we don't want to use older macros from the target gettext in a non-gplv3 build, so kill them and let dependent recipes rely on gettext-native. [YOCTO #5964] (From OE-Core rev: f43139adceaf8039d5347dea0a116dc5923b24c1) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: upgrade from 0.18.3.1 to 0.18.3.2Chen Qi2014-03-1710-2/+2
| | | | | | | | | Upgrade gettext from 0.18.3.1 to 0.18.3.2. (From OE-Core rev: b681d264ab2f721c537bfa87cc2ddbbbf3f8c1a2) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: set reasonable SUMMARY and DESCRIPTIONPaul Eggleton2014-01-022-3/+4
| | | | | | | | | Ensure both versions have the same values. (From OE-Core rev: 164daf1398573bb503dbe301b4df5aabbc7cafc2) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/*: remove unnecessary patchesChong Lu2013-12-102-72/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following patches are found, but not used by any recipe, so we should remove them. meta/recipes-connectivity/avahi/files/fix_for_automake_1.11.2.patch meta/recipes-connectivity/dhcp/dhcp/fix-client-path.patch meta/recipes-connectivity/libnss-mdns/files/alignment-fix.patch meta/recipes-core/dbus/dbus-1.6.10/test-run-path.patch meta/recipes-core/gettext/gettext-0.16.1/fixchicken.patch meta/recipes-core/gettext/gettext-0.16.1/getline.m4.patch meta/recipes-core/systemd/systemd/use-rootlibdir.patch meta/recipes-core/util-linux/util-linux/remove-lscpu.patch meta/recipes-core/util-linux/util-linux/remove_sigsetmark.patch meta/recipes-core/util-linux/util-linux/uclibc-compile.patch meta/recipes-devtools/autoconf/autoconf/autoconf-x.patch meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build.patch meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build2.patch meta/recipes-devtools/cdrtools/cdrtools-native/no_usr_src.patch meta/recipes-devtools/elfutils/elfutils-0.155/elfutils-robustify.patch meta/recipes-devtools/gdb/gdb/libiberty-cross.patch meta/recipes-devtools/perl/perl-5.14.3/asm-pageh-fix.patch meta/recipes-devtools/python/python-native/sys_platform_is_now_always_linux2.patch meta/recipes-devtools/python/python-pygobject/generate-constants.patch meta/recipes-devtools/qemu/files/3f08ffb4a4741d147634761dc053ed386243a0de.patch meta/recipes-devtools/qemu/files/enable-i386-linux-user.patch meta/recipes-devtools/qemu/files/init-info.patch meta/recipes-devtools/rpm/rpm/rpm_fix_for_automake-1.12.patch meta/recipes-devtools/tcf-agent/tcf-agent/fix_tcf-agent.init.patch meta/recipes-extended/iputils/files/arping-break-libsysfs-dependency.patch meta/recipes-extended/libarchive/libarchive/0003-Patch-from-upstream-rev-2516.patch meta/recipes-extended/procps/procps-3.2.8/pagesz-not-constant.patch meta/recipes-gnome/gtk+/gtk+-2.24.22/no-demos.patch meta/recipes-gnome/libglade/libglade-2.6.4/no-deprecation.patch meta/recipes-graphics/mesa/mesa/0005-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch meta/recipes-graphics/xorg-lib/libxxf86dga/libxxf86dga-1.1.3_fix_for_x32.patch meta/recipes-kernel/kmod/kmod/fix-undefined-O_CLOEXEC.patch meta/recipes-kernel/linux-libc-headers/linux-libc-headers/connector-msg-size-fix.patch meta/recipes-kernel/linux/linux-yocto/tools-perf-no-scripting.patch meta/recipes-support/gnutls/gnutls/gnutls-texinfo-euro.patch meta/recipes-support/nspr/nspr/fix-build-on-aarch64.patch [YOCTO #5180] (From OE-Core rev: e5d81f757de4bd1bfd37a96300edd50b77b0d21c) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext-minimal-native/iconv.m4: remove the test to convert euc-jpJackie Huang2013-11-222-1/+46
| | | | | | | | | | | | Remove the test "Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided" since we don't support HP-UX and it causes guile-native compile failure if the euc-jp is not installed on the host. (From OE-Core rev: ac902d0fdf44beda2d0954cc477a4e2b177a2f2a) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Remove PR = r0 from all recipesRichard Purdie2013-10-301-1/+0
| | | | | | | | | | | | | Remove all PR = "r0" from all .bb files in oe-core. This was done with the command sed -e '/^PR.*=.*r0\"/d' recipes*/*/*.bb -i We've switching to the PR server, PR bumps are no longer needed and this saves people either accidentally bumping them or forgetting to remove the lines (r0 is the default anyway). (From OE-Core rev: 58ae94f1b06d0e6234413dbf9869bde85f154c85) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>