aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/gettext
AgeCommit message (Collapse)Author
2016-07-25gettext-minimal-native: 0.19.4 -> 0.19.8.1Robert Yang
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 Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-07-25gettext: 0.19.6 -> 0.19.8.1Robert Yang
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-07-20gettext_0.16.1: remove useless files to avoid sysroot conflictsChen Qi
Do as the 0.19.6 version do, remove these files to avoid sysroot conflicts with gettext-native-minimal. [YOCTO #9890] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-08gettext: fix for low-version recipeChen Qi
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 Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-08meta: update patch metadataRoss Burton
Enforce the correct tag names across all of oe-core for consistency. Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-05-13gettext: Use SYSROOT_DIRS_BLACKLIST to exclude dirs from the sysrootPeter Kjellerstedt
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-28gettext: Delete libintl.la file from installKhem Raj
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 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-02-28bison/gettext: add --with-bisonlocaledir to assign BISON_LOCALEDIRHongxu Jia
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] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-12-22gettext: Upgrade 0.19.4 -> 0.19.6Fan Xin
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-12-12gettext: Delete libintl.h and charset.aliasKhem Raj
libintl.h is already provided by musl and charset.alias is regenerated by packages themselves Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-09gettext_0.16.1: add -lrt and -lpthread to LDFLAGS for uclibc buildsAndre McCurdy
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 Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-09gettext_0.16.1: remove obsolete uclibc specific patchAndre McCurdy
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. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-16gettext-minimal-native: use MKIDR_P in Makefile.in.inWenzong Fan
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> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-05-23gettext-minimal-native: Disable the unnecessary check in iconv.m4Roy Li
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] Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-01-23gettext: upgrade to 0.19.4Robert Yang
* 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 Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2014-05-01Add texinfo.bbclass; recipes that use texinfo utils at build-time inherit it.Max Eliaser
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. Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-19gettext-0.16.1: kill target m4 macros from sysrootChristopher Larson
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] 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>
2014-03-17gettext: upgrade from 0.18.3.1 to 0.18.3.2Chen Qi
Upgrade gettext from 0.18.3.1 to 0.18.3.2. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02gettext: set reasonable SUMMARY and DESCRIPTIONPaul Eggleton
Ensure both versions have the same values. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-12-10meta/*: remove unnecessary patchesChong Lu
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] Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-11-22gettext-minimal-native/iconv.m4: remove the test to convert euc-jpJackie Huang
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. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-30recipes: Remove PR = r0 from all recipesRichard Purdie
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). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-26gettext: update to upstream version 0.18.3.1Marko Lindqvist
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-20gettext: update to upstream version 0.18.3Marko Lindqvist
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-04-29gettext: Make ncurses dependency conditional on PACKAGECONFIG[msgcat-curses]Phil Blundell
According to the documentation, the only reason for needing ncurses is to support colour output from msgcat. Make this optional so that ncurses doesn't need to be built if colour output is not required. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-04-29gettext-minimal-native: add SUMMARY and DESCRIPTIONPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-27gettext: Fix build with uclibc remove upstreamed patchesKhem Raj
uclibc specific patches are not needed now as they are available in 0.18.2 gettext now Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-09gettext-minimal: update files from gettext 0.18.2Marko Lindqvist
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-09gettext: update to upstream version 0.18.2Marko Lindqvist
remove_gets.patch dropped as upstream now contains fix for the problem. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-14gettext: move remove-potcdate.sin from gettext-native to gettext-minimal-nativeMartin Jansa
* now autotools.bbclass are copying not only Makefile.in.in but also remove-potcdate.sin which is used by Makefile.in.in, so we need to provide this file already in gettext-minimal-native otherwise build can fail, when autotools.bbclass is used before gettext-native (full) is built. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-11-02recipes-core: replace virtclass-native(sdk) with class-native(sdk)Robert Yang
The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18gettext: Add config.rpath and Makefile.in.in to gettext-minimal-nativeRichard Purdie
We need gettext-minimal-native to be able to install config.rpath and Makefile.in.in so that we don't get version mismatch errors when subsequently using the reconfigured software. This patch moves the two files to be provided by minimal-native so that we can better 'gettextize' software without needing the full gettext-native when using --disable-nls. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18gettext: Remove spurious-looking dependencies on libxml2-nativePhil Blundell
These were added in aae5021101224344a2b1a3af5becf74291fbbfe5, ostensibly to resolve some sort of "host contamination" issue. However, that commit contains no information about what contamination was being observed or how the dependencies help. gettext-native is being configured --with-included-libxml so it shouldn't be using libxml2 from either the host or the sysroot, in which case the dependency would seem to be useless. Using the included copy of libxml2 is in any case preferable to adding a dependency on libxml2-native because the latter brings quite a large stack of other dependencies with it. Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-12gettext: Make gettext 0.16.1 extend native and nativesdk.Martin Ertsaas
gettext 0.16.1 is a GPLv2 version of gettext. Making that extend native and nativesdk makes sure we use the same version of gettext for compiling internally as well as in our toolchain. Signed-off-by: Martin Ertsaas <mertsas@cisco.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02gettext: bump PR to avoid RPATH QA failurePaul Eggleton
Erroneous paths being added to gettext by libtool were fixed, but the fix in libtool did not trigger a recompile of gettext, so if you are already in the situation where you are receiving the QA error, you are stuck. Bump PR to force a recompile. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-15gettext-0.18: explicitly disable acl.Xin Ouyang
gettext-0.18 gets a new option for acl, but we do not place acl into DEPENDS. So, explicitly disable acl for deterministic builds. Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-17gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16Khem Raj
These recipes use gnulib which needs this change to use gets when its defined and not otherwise. Until that change goes into gnulib and then all these package upgrade gnulib in their sourcebase we patch them Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21gettext 0.16.1: Update FILES for post PACKAGE reoderSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-06-19gettext: clean up FILE after PACKAGE reorderSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-06-18recipes: replace CONFLICTS with RCONFLICTS_${PN}Martin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08gettext/shared-mime-info: Add missing patch upstream status fieldRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08gettext: install libgettextlib.a before removing itJoe Slater
In a multiple job build, Makefile can simultaneously be installing and removing libgettextlib.a. We serialize the operations. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-01gettext,m4: Add -lrt to LDFLAGS for uclibcKhem Raj
uclibc has recently got posix_spawn implementation and the implementation resided in librt so we link -lrt to get the configure tests using uclibc provided definitions and not the gnu-lib wrappers Let libintl.a live in -staticdev package Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-04-02gettext: Fix sysroot conflict over owner of macrosRichard Purdie
gettext-minimal-native andgettext-native are trampling over each other's files. This can be reproduced with: bitbake gettext-minimal-native bitbake gettext-native bitbake gettext-native -c clean bitbake shadow-native which will fail since the aclocal gettext macros will have disappeared. This patch fixes the problem by giving ownership of them to gettext-minimal-native and ensuring there is a correct dependency on this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-21gettext/awk/sed/grep: Backport WARNING fixes to GPLv2 versionsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-14PR bump for all recipes that DEPEND on ncursesScott Garman
The packaging changes to ncurses could break package feeds, so bump the PR on everythong that DEPENDS on ncurses. Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-13gettext: Set the LICENSE field to GPLv3+Saul Wold
This change is needed because currently the INCOMPATIBLE_LICENSE checking code does not map between SPDX and older style naming (GPL-3+ vs GPLv3+). Yocto bug number 2093 filed to track this. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-03-13Revert "gettext: do not set libncurses prefix explicitly"Richard Purdie
This reverts commit 37b9d140b5d55af4f77baab0c0b0343d8b5e8b6c since it caused QA issues for several people. The ncurses location needs to be explicitly specificed. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-13gettext: do not set libncurses prefix explicitlyScott Garman
The --with-libncurses-prefix configure option was added before this recipe had ncurses in DEPENDS, so it should be safe to remove it. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
2012-02-28gettext: Get gettext use its own libunistringWenzong Fan
According to its documentation, gettext 0.18.1.1 needs either libunistring or it will use its own internal version. Just add a configure option '--with-included-libunistring' to force the latter to avoid races. [YOCTO#1934] Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>