diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-05-22 21:20:11 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-05-22 21:20:11 +0200 |
commit | a70a47b1ca31729e69c54c6d10c3b644a46ed007 (patch) | |
tree | 6ea2aa74882468adfa6ed7c0d32357e75a060ba1 /packages/development | |
parent | 2a76e753fc63ac983b6b6bce1b33d0a4d1dab348 (diff) | |
download | embtoolkit-a70a47b1ca31729e69c54c6d10c3b644a46ed007.tar.gz embtoolkit-a70a47b1ca31729e69c54c6d10c3b644a46ed007.tar.bz2 embtoolkit-a70a47b1ca31729e69c54c6d10c3b644a46ed007.tar.xz |
Packages/development: New gettext-intl v0.18.3.2 a virtual package from gettext
Packages requiring gettext often only need libintl from gettext.
Instead of installing the whole meta package, give ability to only install
libintl.
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'packages/development')
-rw-r--r-- | packages/development/development.kconfig | 3 | ||||
-rw-r--r-- | packages/development/development.mk | 3 | ||||
-rw-r--r-- | packages/development/gettext-intl/gettext-intl.kconfig | 74 | ||||
-rw-r--r-- | packages/development/gettext-intl/gettext-intl.mk | 44 |
4 files changed, 124 insertions, 0 deletions
diff --git a/packages/development/development.kconfig b/packages/development/development.kconfig index 6753e37..81c30e9 100644 --- a/packages/development/development.kconfig +++ b/packages/development/development.kconfig @@ -32,6 +32,9 @@ source packages/development/fftw/fftw.kconfig # gtest source packages/development/gtest/gtest.kconfig +# gettext-intl +source packages/development/gettext-intl/gettext-intl.kconfig + # icu source packages/development/icu/icu.kconfig diff --git a/packages/development/development.mk b/packages/development/development.mk index 0279b82..49f9c47 100644 --- a/packages/development/development.mk +++ b/packages/development/development.mk @@ -34,6 +34,9 @@ $(call embtk_include_pkg,fftw) # gtest $(call embtk_include_pkg,gtest) +# gettext-intl +$(call embtk_include_pkg,gettext-intl) + # icu $(call embtk_include_pkg,icu) $(call embtk_include_hostpkg,icu_host) diff --git a/packages/development/gettext-intl/gettext-intl.kconfig b/packages/development/gettext-intl/gettext-intl.kconfig new file mode 100644 index 0000000..ad5d0db --- /dev/null +++ b/packages/development/gettext-intl/gettext-intl.kconfig @@ -0,0 +1,74 @@ +################################################################################ +# Embtoolkit +# Copyright(C) 2009-2014 Abdoulaye Walsimou GAYE. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +################################################################################ +# +# \file gettext-intl.kconfig +# \brief gettext-intl.kconfig of Embtoolkit +# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org> +# \date May 2014 +################################################################################ + +config EMBTK_HAVE_GETTEXT-INTL + bool "Have gettext-intl" + select KEMBTK_EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR if EMBTK_CLIB_EGLIBC + select KEMBTK_EGLIBC_OPTION_POSIX_WIDE_CHAR_DEVICE_IO if EMBTK_CLIB_EGLIBC + select KEMBTK_EGLIBC_OPTION_EGLIBC_LOCALE_CODE if EMBTK_CLIB_EGLIBC + select KEMBTK_UCLIBC_UCLIBC_HAS_WCHAR if EMBTK_CLIB_UCLIBC + select KEMBTK_UCLIBC_UCLIBC_HAS_LOCALE if EMBTK_CLIB_UCLIBC + select KEMBTK_UCLIBC_UCLIBC_SUSV4_LEGACY if EMBTK_CLIB_UCLIBC + help + This package is the libintl part from gettext meta package. + + GNU `gettext' is an important step for the GNU Translation + Project, as it is an asset on which we may build many other + steps. This package 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. A special GNU Emacs mode also helps + interested parties in preparing these sets, or bringing them up + to date. + Online Manual is available at: + www.gnu.org/software/gettext/manual/gettext.html + The Frequently Asked Questions and their answers are at: + www.gnu.org/software/gettext/FAQ.html + +choice + prompt "gettext-intl version you wish" + depends on EMBTK_HAVE_GETTEXT-INTL + help + Here you can choose which version of gettext-intl you want to use. + + config EMBTK_GETTEXT-INTL_VERSION_0_18_3_2 + bool "gettext-intl-0.18.3.2" +endchoice + +config EMBTK_GETTEXT-INTL_VERSION_STRING + string + default "0.18.3.2" if EMBTK_GETTEXT-INTL_VERSION_0_18_3_2 + +config EMBTK_GETTEXT-INTL_NEED_PATCH + bool +config EMBTK_GETTEXT-INTL_NEED_AUTORECONF + bool diff --git a/packages/development/gettext-intl/gettext-intl.mk b/packages/development/gettext-intl/gettext-intl.mk new file mode 100644 index 0000000..de47ffe --- /dev/null +++ b/packages/development/gettext-intl/gettext-intl.mk @@ -0,0 +1,44 @@ +################################################################################ +# Embtoolkit +# Copyright(C) 2009-2014 Abdoulaye Walsimou GAYE. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +################################################################################ +# +# \file gettext-intl.mk +# \brief gettext-intl.mk of Embtoolkit +# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org> +# \date May 2014 +################################################################################ + +GETTEXT-INTL_NAME := gettext-intl +GETTEXT-INTL_VERSION := $(call embtk_get_pkgversion,gettext-intl) +GETTEXT-INTL_SITE := http://ftp.gnu.org/pub/gnu/gettext +GETTEXT-INTL_PACKAGE := gettext-$(GETTEXT-INTL_VERSION).tar.gz +GETTEXT-INTL_SRC_DIR := $(embtk_pkgb)/gettext-$(GETTEXT-INTL_VERSION) +GETTEXT-INTL_BUILD_DIR := $(embtk_pkgb)/gettext-intl-$(GETTEXT-INTL_VERSION) + +GETTEXT-INTL_INCLUDES := libintl.h +GETTEXT-INTL_LIBS := libint.* + +GETTEXT-INTL_CONFIGURE_OPTS := --disable-relocatable +GETTEXT-INTL_CONFIGURE_OPTS += --disable-csharp +GETTEXT-INTL_CONFIGURE_OPTS += --disable-openmp +GETTEXT-INTL_CONFIGURE_OPTS += --disable-native-java +GETTEXT-INTL_CONFIGURE_OPTS += --without-emacs +GETTEXT-INTL_CONFIGURE_OPTS += --disable-libasprintf + +GETTEXT-INTL_MAKE_DIRS := intl +GETTEXT-INTL_CONFIGURE_DIR := gettext-runtime |