2005-04-26 08:26:14 +02:00
|
|
|
config BR2_PACKAGE_DIRECTFB
|
|
|
|
bool "directfb"
|
2012-11-23 22:01:38 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2013-04-29 15:16:00 +02:00
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
2015-09-02 00:01:03 +02:00
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
|
2015-11-18 23:07:30 +01:00
|
|
|
depends on !BR2_TOOLCHAIN_USES_MUSL # sigval_t issue
|
cairo, harfbuzz: rework atomic dependencies
This commit handles the reverse dependency tree of cairo in terms of
atomic dependencies. There are two main changes:
- cairo in fact no longer needs atomic operations. It can perfectly
build without any __sync built-in, as was tested using an ARC
toolchain without atomics, and a SPARC toolchain. Optionally, Cairo
can use the __atomic builtins provided by gcc >= 4.7, so support
for this is added as well. Thanks to this change, the
BR2_ARCH_HAS_ATOMICS dependency is removed from cairo and all its
reverse dependencies.
- harfbuzz does require the __sync built-in for 4 bytes integers, so
we add a dependency on BR2_TOOLCHAIN_HAS_SYNC_4 to harfbuzz and all
its reverse dependency, the main one being the pango package. Due
to this, the vast majority of gtk-related packages are moved to a
dependency on BR2_ARCH_HAS_ATOMICS (which used to be due to cairo)
to a dependency on BR2_TOOLCHAIN_HAS_SYNC_4 (due to pango ->
harfbuzz).
In detail:
- cairo
Remove BR2_ARCH_HAS_ATOMICS dependency, link against -latomic when
gcc >= 4.8 in order to use the __atomic functions.
- harfbuzz
Add dependency on BR2_TOOLCHAIN_HAS_SYNC_4
- cairomm, gst-plugins-good, gst1-plugins-good, libgdiplus,
libsvg-cairo, weston
Remove BR2_ARCH_HAS_ATOMICS dependency (since cairo no longer needs
atomics)
- enlightenment, cwiid, gst-plugins-bad, gst-plugins-base,
gst1-plugins-bad, gst1-plugins-base, gtkmm3,
libevas-generic-loaders, libfm, libgail, libgtk2, libgtk3, librsvg,
openbox, opencv, opencv3, pango, pangomm, pcmanfm, pinentry,
rrdtool, webkit, webkitgtk24, xscreensaver
Switch from a BR2_ARCH_HAS_ATOMICS dependency to a
BR2_TOOLCHAIN_HAS_SYNC_4 (they depend on pango, harfbuzz, gtk, or
some other related package)
- directfb
Remove BR2_ARCH_ATOMICS dependency of the BR2_PACKAGE_DIRECTFB_SVG
(since cairo can build without atomics), but add a
BR2_TOOLCHAIN_HAS_SYNC_4 dependency on BR2_PACKAGE_DIRECTFB itself
since it does use __sync built-ins. This replaces the !BR2_sparc
dependency.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-02-02 16:31:28 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
2005-04-26 08:26:14 +02:00
|
|
|
select BR2_PACKAGE_FREETYPE
|
2008-10-07 22:29:27 +02:00
|
|
|
select BR2_PACKAGE_ZLIB
|
2005-04-26 08:26:14 +02:00
|
|
|
help
|
2016-01-28 16:37:56 +01:00
|
|
|
DirectFB (Direct Frame Buffer) is a set of graphics APIs implemented
|
|
|
|
on top of the Linux Frame Buffer (fbdev) abstraction layer. It is an
|
|
|
|
alternative to X11 with a smaller memory footprint that still has an
|
|
|
|
integrated windowing system. As of 4 October 2015, DirectFB's website
|
|
|
|
http://www.directfb.org/ is down. See alternative site listed below.
|
|
|
|
|
|
|
|
http://elinux.org/DirectFB
|
2005-04-26 08:26:14 +02:00
|
|
|
|
2010-01-20 01:05:30 +01:00
|
|
|
if BR2_PACKAGE_DIRECTFB
|
|
|
|
|
2007-08-12 20:21:27 +02:00
|
|
|
config BR2_PACKAGE_DIRECTFB_MULTI
|
|
|
|
bool "directfb multi application"
|
|
|
|
select BR2_PACKAGE_LINUX_FUSION
|
2014-09-23 11:45:47 +02:00
|
|
|
depends on BR2_USE_MMU # madvise()
|
2010-07-16 21:49:01 +02:00
|
|
|
depends on BR2_LINUX_KERNEL
|
2007-08-12 20:21:27 +02:00
|
|
|
help
|
|
|
|
Enable use of multiple concurrent DirectFB applications
|
2009-08-06 12:28:15 +02:00
|
|
|
|
2013-12-15 13:20:39 +01:00
|
|
|
comment "directfb multi application needs a Linux kernel to be built"
|
|
|
|
depends on !BR2_LINUX_KERNEL
|
|
|
|
|
2015-06-15 22:02:45 +02:00
|
|
|
config BR2_PACKAGE_DIRECTFB_DEBUG_SUPPORT
|
|
|
|
bool "directfb debugging support"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Compile DirectFB with debugging support. It provides
|
|
|
|
functions to print debug information, for DirectFB as well as
|
|
|
|
external DirectFB drivers.
|
|
|
|
|
|
|
|
When disabled, DirectFB does not print any debug information.
|
|
|
|
The drivers will be installed to and loaded from
|
|
|
|
/usr/lib/directfb-<version>-pure instead of
|
|
|
|
/usr/lib/directfb-<version>.
|
|
|
|
|
2009-08-06 12:28:15 +02:00
|
|
|
config BR2_PACKAGE_DIRECTFB_DEBUG
|
|
|
|
bool "directfb debugging"
|
2015-06-15 22:02:45 +02:00
|
|
|
depends on BR2_PACKAGE_DIRECTFB_DEBUG_SUPPORT
|
2009-08-06 12:28:15 +02:00
|
|
|
help
|
|
|
|
Compile DirectFB with lots of debug output
|
|
|
|
|
|
|
|
config BR2_PACKAGE_DIRECTFB_TRACE
|
|
|
|
bool "directfb call trace support"
|
|
|
|
help
|
|
|
|
Enable call tracing for DirectFB applications
|
2008-10-07 22:29:27 +02:00
|
|
|
|
2015-09-02 00:01:08 +02:00
|
|
|
config BR2_PACKAGE_DIRECTFB_DIVINE
|
|
|
|
bool "divine"
|
|
|
|
help
|
|
|
|
Enable the DiVine feature (virtual input)
|
|
|
|
|
|
|
|
config BR2_PACKAGE_DIRECTFB_SAWMAN
|
|
|
|
bool "sawman"
|
|
|
|
help
|
|
|
|
Enable the SawMan feature (window manager)
|
|
|
|
|
2008-10-07 22:29:27 +02:00
|
|
|
config BR2_PACKAGE_DIRECTFB_ATI128
|
2008-10-09 20:36:18 +02:00
|
|
|
bool "compile ati128 graphics driver"
|
2009-01-11 21:35:34 +01:00
|
|
|
depends on BR2_i386 || BR2_x86_64
|
2008-10-07 22:29:27 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_DIRECTFB_MATROX
|
2008-10-09 20:36:18 +02:00
|
|
|
bool "compile matrox graphics driver"
|
2009-01-11 21:35:34 +01:00
|
|
|
depends on BR2_i386 || BR2_x86_64
|
2008-10-07 22:29:27 +02:00
|
|
|
|
2009-09-03 21:11:04 +02:00
|
|
|
config BR2_PACKAGE_DIRECTFB_PXA3XX
|
|
|
|
bool "compile pxa3xx graphics driver"
|
|
|
|
depends on BR2_arm
|
2013-03-10 09:32:44 +01:00
|
|
|
help
|
|
|
|
The Marvell PXA3xx Processor Family is a system-on-chip based
|
|
|
|
on XScale® microarchitecture. This option enables the graphic
|
|
|
|
driver support for the PXA3xx processor family.
|
|
|
|
|
|
|
|
http://www.marvell.com/application-processors/pxa-family/
|
2009-09-03 21:11:04 +02:00
|
|
|
|
2011-02-08 08:46:28 +01:00
|
|
|
config BR2_PACKAGE_DIRECTFB_EP9X
|
|
|
|
bool "compile ep9x graphics driver"
|
|
|
|
depends on BR2_arm
|
2013-03-10 09:32:44 +01:00
|
|
|
help
|
|
|
|
Enable the graphic driver support for the EP93xx ARMv9 based
|
|
|
|
processors from Cirrus Logic.
|
|
|
|
|
|
|
|
http://cirrus.com/en/products/arm9.html
|
2011-02-08 08:46:28 +01:00
|
|
|
|
2009-09-24 03:13:52 +02:00
|
|
|
config BR2_PACKAGE_DIRECTFB_I830
|
|
|
|
bool "compile i830 graphics driver"
|
|
|
|
depends on BR2_i386 || BR2_x86_64
|
|
|
|
|
2009-03-11 16:01:56 +01:00
|
|
|
config BR2_PACKAGE_DIRECTFB_LINUXINPUT
|
|
|
|
bool "compile /dev/input/eventX input driver"
|
|
|
|
default y
|
|
|
|
|
2008-10-07 22:29:27 +02:00
|
|
|
config BR2_PACKAGE_DIRECTFB_KEYBOARD
|
2008-10-09 20:36:18 +02:00
|
|
|
bool "compile keyboard input driver"
|
|
|
|
default y
|
2008-10-07 22:29:27 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_DIRECTFB_PS2MOUSE
|
2008-10-09 20:36:18 +02:00
|
|
|
bool "compile PS2 mouse input driver"
|
|
|
|
default y
|
2008-10-07 22:29:27 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_DIRECTFB_SERIALMOUSE
|
2008-10-09 20:36:18 +02:00
|
|
|
bool "compile serial mouse input driver"
|
|
|
|
default y
|
2008-10-07 22:29:27 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_DIRECTFB_TSLIB
|
2008-10-09 20:36:18 +02:00
|
|
|
bool "enable touchscreen support"
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS # tslib
|
2008-10-09 20:36:18 +02:00
|
|
|
default y
|
2008-10-07 22:29:27 +02:00
|
|
|
select BR2_PACKAGE_TSLIB
|
|
|
|
|
2013-10-18 08:44:43 +02:00
|
|
|
comment "touchscreen support needs a toolchain w/ dynamic library"
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on BR2_STATIC_LIBS
|
2013-10-18 08:44:43 +02:00
|
|
|
|
2008-10-07 22:29:27 +02:00
|
|
|
config BR2_PACKAGE_DIRECTFB_GIF
|
2008-10-09 20:36:18 +02:00
|
|
|
bool "enable GIF support"
|
|
|
|
default y
|
2008-10-07 22:29:27 +02:00
|
|
|
|
2015-09-02 00:01:09 +02:00
|
|
|
config BR2_PACKAGE_DIRECTFB_TIFF
|
|
|
|
bool "enable TIFF support"
|
|
|
|
select BR2_PACKAGE_TIFF
|
|
|
|
|
2013-05-21 01:29:40 +02:00
|
|
|
config BR2_PACKAGE_DIRECTFB_IMLIB2
|
|
|
|
bool "enable IMLIB2 support"
|
|
|
|
select BR2_PACKAGE_IMLIB2
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2014-04-29 21:00:16 +02:00
|
|
|
|
|
|
|
comment "imlib2 support needs a toolchain w/ dynamic library"
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on BR2_STATIC_LIBS
|
2013-05-21 01:29:40 +02:00
|
|
|
|
2008-10-07 22:29:27 +02:00
|
|
|
config BR2_PACKAGE_DIRECTFB_JPEG
|
2008-10-09 20:36:18 +02:00
|
|
|
bool "enable JPEG support"
|
|
|
|
default y
|
2008-10-07 22:29:27 +02:00
|
|
|
select BR2_PACKAGE_JPEG
|
2009-06-23 13:47:14 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_DIRECTFB_PNG
|
|
|
|
bool "enable PNG support"
|
|
|
|
default y
|
|
|
|
select BR2_PACKAGE_LIBPNG
|
|
|
|
|
2014-09-12 17:50:10 +02:00
|
|
|
config BR2_PACKAGE_DIRECTFB_SVG
|
|
|
|
bool "enable SVG support"
|
|
|
|
default y
|
|
|
|
select BR2_PACKAGE_LIBSVG_CAIRO
|
|
|
|
|
2013-03-10 09:32:45 +01:00
|
|
|
config BR2_PACKAGE_DIRECTFB_DITHER_RGB16
|
2009-06-23 13:47:14 +02:00
|
|
|
bool "enable advanced dithering of RGB16 surfaces"
|
|
|
|
help
|
|
|
|
Enable dithering when loading images to RGB16 surfaces.
|
|
|
|
This increases the data section by 64 KBytes.
|
2010-01-20 01:05:30 +01:00
|
|
|
|
2013-03-10 09:32:45 +01:00
|
|
|
config BR2_PACKAGE_DIRECTFB_TESTS
|
2010-04-30 02:58:47 +02:00
|
|
|
bool "build directfb tests"
|
|
|
|
|
2010-01-20 01:05:30 +01:00
|
|
|
endif # BR2_PACKAGE_DIRECTFB
|
2012-11-23 22:01:38 +01:00
|
|
|
|
2016-06-08 23:40:54 +02:00
|
|
|
comment "directfb needs a glibc or uClibc toolchain w/ C++, threads, gcc >= 4.5"
|
cairo, harfbuzz: rework atomic dependencies
This commit handles the reverse dependency tree of cairo in terms of
atomic dependencies. There are two main changes:
- cairo in fact no longer needs atomic operations. It can perfectly
build without any __sync built-in, as was tested using an ARC
toolchain without atomics, and a SPARC toolchain. Optionally, Cairo
can use the __atomic builtins provided by gcc >= 4.7, so support
for this is added as well. Thanks to this change, the
BR2_ARCH_HAS_ATOMICS dependency is removed from cairo and all its
reverse dependencies.
- harfbuzz does require the __sync built-in for 4 bytes integers, so
we add a dependency on BR2_TOOLCHAIN_HAS_SYNC_4 to harfbuzz and all
its reverse dependency, the main one being the pango package. Due
to this, the vast majority of gtk-related packages are moved to a
dependency on BR2_ARCH_HAS_ATOMICS (which used to be due to cairo)
to a dependency on BR2_TOOLCHAIN_HAS_SYNC_4 (due to pango ->
harfbuzz).
In detail:
- cairo
Remove BR2_ARCH_HAS_ATOMICS dependency, link against -latomic when
gcc >= 4.8 in order to use the __atomic functions.
- harfbuzz
Add dependency on BR2_TOOLCHAIN_HAS_SYNC_4
- cairomm, gst-plugins-good, gst1-plugins-good, libgdiplus,
libsvg-cairo, weston
Remove BR2_ARCH_HAS_ATOMICS dependency (since cairo no longer needs
atomics)
- enlightenment, cwiid, gst-plugins-bad, gst-plugins-base,
gst1-plugins-bad, gst1-plugins-base, gtkmm3,
libevas-generic-loaders, libfm, libgail, libgtk2, libgtk3, librsvg,
openbox, opencv, opencv3, pango, pangomm, pcmanfm, pinentry,
rrdtool, webkit, webkitgtk24, xscreensaver
Switch from a BR2_ARCH_HAS_ATOMICS dependency to a
BR2_TOOLCHAIN_HAS_SYNC_4 (they depend on pango, harfbuzz, gtk, or
some other related package)
- directfb
Remove BR2_ARCH_ATOMICS dependency of the BR2_PACKAGE_DIRECTFB_SVG
(since cairo can build without atomics), but add a
BR2_TOOLCHAIN_HAS_SYNC_4 dependency on BR2_PACKAGE_DIRECTFB itself
since it does use __sync built-ins. This replaces the !BR2_sparc
dependency.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-02-02 16:31:28 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
2015-11-18 23:07:30 +01:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
|
|
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 || BR2_TOOLCHAIN_USES_MUSL
|