kumquat-buildroot/package/udisks/Config.in
Fabrice Fontaine a6b4217312 package/libblockdev: needs locale
locale_t is unconditionally used since version 1.5 and
4ed6f0b3a4
resulting in the following build failure since the addition of the
package in commit 0c52826291:

module.c:33:37: error: unknown type name 'locale_t'
   33 | static char *strerror_l(int errnum, locale_t locale UNUSED)
      |                                     ^~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/ede9eb1f13d56c77005cc448416fb2efa9d16ff0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-02-25 10:43:26 +01:00

62 lines
2.0 KiB
Plaintext

config BR2_PACKAGE_UDISKS
bool "udisks"
depends on BR2_ENABLE_LOCALE # libblockdev, parted
depends on BR2_PACKAGE_HAS_UDEV
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # polkit -> C++17
depends on BR2_TOOLCHAIN_HAS_THREADS # polkit
depends on BR2_USE_WCHAR # dbus-glib -> glib2
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libblockdev -> cryptsetup -> json-c
depends on !BR2_STATIC_LIBS # polkit -> duktape
depends on !BR2_OPTIMIZE_FAST # polkit -> duktape
select BR2_PACKAGE_DBUS
select BR2_PACKAGE_DBUS_GLIB
select BR2_PACKAGE_LIBATASMART
select BR2_PACKAGE_LIBBLOCKDEV
select BR2_PACKAGE_LIBBLOCKDEV_CRYPTO
select BR2_PACKAGE_LIBBLOCKDEV_FS
select BR2_PACKAGE_LIBBLOCKDEV_LOOP
select BR2_PACKAGE_LIBBLOCKDEV_MDRAID
select BR2_PACKAGE_LIBBLOCKDEV_PART
select BR2_PACKAGE_LIBBLOCKDEV_SWAP
select BR2_PACKAGE_LIBGUDEV
select BR2_PACKAGE_PARTED
select BR2_PACKAGE_POLKIT
select BR2_PACKAGE_SG3_UTILS
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT
help
The udisks project provides
o A storage daemon that implements well-defined D-Bus
interfaces that can be used to query and manipulate
storage devices.
o a command-line tool, udisksctl(1), that can be used to
query and use the daemon
http://www.freedesktop.org/wiki/Software/udisks
comment "udisks needs udev /dev management"
depends on BR2_USE_MMU
depends on !BR2_PACKAGE_HAS_UDEV
comment "udisks needs a toolchain with dynamic library, locale, wchar, threads, gcc >= 7"
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_STATIC_LIBS || !BR2_ENABLE_LOCALE || \
!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_7
comment "udisks can't be built with Optimize for fast"
depends on BR2_OPTIMIZE_FAST
if BR2_PACKAGE_UDISKS
config BR2_PACKAGE_UDISKS_FHS_MEDIA
bool "Mount devices in /media instead of /run/media"
help
Support mounting in /media for compatibility with the
Filesystem Hierarchy Standard (FHS)
endif