ecryptfs-utils: select gettext, needed for command line utilities
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 16 Aug 2014 13:47:21 +0000 (15:47 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 18 Aug 2014 08:36:01 +0000 (10:36 +0200)
The ecryptfs-utils package requires the 'gettext' program, which is
provided by the gettext package, to get translated strings. This is
needed regardless of whether the toolchain uses glibc or uClibc.

This issue was reported by 'ausjke' on IRC.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ecryptfs-utils/Config.in

index 076e1d4d7a41a7e056ec9011c305fdc706636c60..7999ea57f89c2730b7b0d3b90b1d07e05454acd9 100644 (file)
@@ -2,6 +2,10 @@ config BR2_PACKAGE_ECRYPTFS_UTILS
        bool "ecryptfs-utils"
        select BR2_PACKAGE_KEYUTILS
        select BR2_PACKAGE_LIBNSS
+       # runtime dependency only, some scripts are using the
+       # 'gettext' program to get translations
+       select BR2_PACKAGE_GETTEXT
+       depends on BR2_USE_WCHAR # gettext
        depends on BR2_USE_MMU # keyutils
        depends on !BR2_avr32 && !BR2_microblaze # keyutils
        depends on BR2_LARGEFILE # libnss
@@ -23,8 +27,8 @@ config BR2_PACKAGE_ECRYPTFS_UTILS
 
          http://ecryptfs.org
 
-comment "ecryptfs-utils needs a toolchain w/ largefile, threads"
+comment "ecryptfs-utils needs a toolchain w/ largefile, threads, wchar"
        depends on !BR2_avr32 && !BR2_microblaze
        depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
        depends on BR2_USE_MMU
-       depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR