2014-02-19 23:08:50 +01:00
|
|
|
config BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS
|
|
|
|
bool
|
|
|
|
# ARM needs BLX, so v5t+
|
2014-10-21 22:27:02 +02:00
|
|
|
default y if (BR2_arm || BR2_armeb) && !BR2_ARM_CPU_ARMV4
|
2014-02-19 23:08:50 +01:00
|
|
|
default y if BR2_i386 || BR2_mips || BR2_mipsel || \
|
2014-08-27 13:54:22 +02:00
|
|
|
BR2_sparc || BR2_x86_64
|
2014-03-06 10:42:26 +01:00
|
|
|
depends on BR2_USE_MMU # libgail -> pango -> libglib2
|
2015-07-29 14:40:26 +02:00
|
|
|
depends on BR2_DEPRECATED_SINCE_2015_08
|
2014-02-23 15:32:12 +01:00
|
|
|
|
|
|
|
# disabled on powerpc due to bug https://bugs.webkit.org/show_bug.cgi?id=113638
|
2014-02-19 23:08:50 +01:00
|
|
|
|
2008-03-06 19:28:48 +01:00
|
|
|
config BR2_PACKAGE_WEBKIT
|
|
|
|
bool "webkit"
|
2015-07-29 14:40:26 +02:00
|
|
|
depends on BR2_DEPRECATED_SINCE_2015_08
|
2009-01-27 16:10:08 +01:00
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
2013-07-15 21:47:50 +02:00
|
|
|
depends on BR2_USE_WCHAR # enchant -> libglib2
|
2014-04-08 23:50:16 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # enchant -> libglib2; icu
|
2010-05-25 22:42:14 +02:00
|
|
|
depends on BR2_PACKAGE_LIBGTK2
|
2014-02-19 23:08:50 +01:00
|
|
|
depends on BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS
|
2014-02-20 14:32:45 +01:00
|
|
|
depends on !BR2_BINFMT_FLAT # icu
|
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 # harfbuzz
|
2014-08-15 22:49:46 +02:00
|
|
|
select BR2_PACKAGE_CAIRO
|
2013-09-05 13:37:02 +02:00
|
|
|
select BR2_PACKAGE_CAIRO_PNG
|
|
|
|
select BR2_PACKAGE_ENCHANT
|
|
|
|
select BR2_PACKAGE_HARFBUZZ
|
2008-03-06 19:28:48 +01:00
|
|
|
select BR2_PACKAGE_ICU
|
2013-09-05 13:37:02 +02:00
|
|
|
select BR2_PACKAGE_JPEG
|
2010-11-19 10:17:09 +01:00
|
|
|
select BR2_PACKAGE_LIBCURL
|
2013-09-05 13:37:02 +02:00
|
|
|
select BR2_PACKAGE_LIBGAIL
|
|
|
|
select BR2_PACKAGE_LIBSECRET
|
|
|
|
select BR2_PACKAGE_LIBSOUP
|
2008-08-04 21:07:05 +02:00
|
|
|
select BR2_PACKAGE_LIBXML2
|
|
|
|
select BR2_PACKAGE_LIBXSLT
|
2008-03-06 19:28:48 +01:00
|
|
|
select BR2_PACKAGE_SQLITE
|
2013-09-05 13:37:02 +02:00
|
|
|
select BR2_PACKAGE_WEBP
|
2010-07-22 17:03:28 +02:00
|
|
|
select BR2_PACKAGE_XLIB_LIBXT if BR2_PACKAGE_XORG7
|
2014-05-19 22:51:35 +02:00
|
|
|
select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_HAS_LIBGL
|
|
|
|
select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_HAS_LIBGL
|
2008-03-06 19:28:48 +01:00
|
|
|
help
|
2009-06-29 12:54:06 +02:00
|
|
|
WebKit is an open source, standards compliant web browser engine.
|
2008-03-06 19:28:48 +01:00
|
|
|
|
2010-02-23 20:21:15 +01:00
|
|
|
Note that WebKit does not build with a toolchain using the
|
|
|
|
old linuxthreads library.
|
|
|
|
|
2009-06-29 12:54:06 +02:00
|
|
|
http://webkit.org/
|
2008-03-06 19:28:48 +01:00
|
|
|
|
2013-10-13 16:55:32 +02:00
|
|
|
comment "webkit needs libgtk2 and a toolchain w/ C++, wchar, threads"
|
2015-07-29 14:40:26 +02:00
|
|
|
depends on BR2_DEPRECATED_SINCE_2015_08
|
2014-02-19 23:08:50 +01:00
|
|
|
depends on BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS
|
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
|
2013-08-15 15:39:06 +02:00
|
|
|
depends on !BR2_PACKAGE_LIBGTK2 || !BR2_INSTALL_LIBSTDCPP || \
|
2013-07-15 21:47:50 +02:00
|
|
|
!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
2014-08-04 15:20:39 +02:00
|
|
|
depends on BR2_USE_MMU
|