2016-04-29 15:46:08 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# webkitgtk
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
package/webkitgtk: security bump to version 2.24.4
This is a minor release which includes fixes for CVE-2019-8644,
CVE-2019-8649, CVE-2019-8658, CVE-2019-8669, CVE-2019-8676,
CVE-2019-8678, CVE-2019-8680, CVE-2019-8683, CVE-2019-8684, and
CVE-2019-8688.
This release also contains many build fixes, a few media playback
improvements, and a Web compatibility fix. For a complete list,
the full release notes at:
https://webkitgtk.org/2019/08/28/webkitgtk2.24.4-released.html
The detailed security advisory can be found at:
https://webkitgtk.org/security/WSA-2019-0004.html
Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-08-30 14:04:32 +02:00
|
|
|
WEBKITGTK_VERSION = 2.24.4
|
2019-04-03 21:39:43 +02:00
|
|
|
WEBKITGTK_SITE = https://www.webkitgtk.org/releases
|
2016-04-29 15:46:08 +02:00
|
|
|
WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz
|
|
|
|
WEBKITGTK_INSTALL_STAGING = YES
|
2017-03-30 15:43:39 +02:00
|
|
|
WEBKITGTK_LICENSE = LGPL-2.1+, BSD-2-Clause
|
2016-04-29 15:46:08 +02:00
|
|
|
WEBKITGTK_LICENSE_FILES = \
|
|
|
|
Source/WebCore/LICENSE-APPLE \
|
|
|
|
Source/WebCore/LICENSE-LGPL-2.1
|
2018-12-25 09:00:09 +01:00
|
|
|
WEBKITGTK_DEPENDENCIES = host-ruby host-python host-gperf \
|
2017-07-05 21:46:53 +02:00
|
|
|
enchant harfbuzz icu jpeg libgcrypt libgtk3 libsecret libsoup \
|
package/webkitgtk: security bump to version 2.24.2
This is a new major release which brings in many improvements and new
features. For a complete list, please refer to the release notes:
https://webkitgtk.org/2019/03/13/webkitgtk2.24.0-released.html
https://webkitgtk.org/2019/04/09/webkitgtk2.24.1-released.html
https://webkitgtk.org/2019/05/17/webkitgtk2.24.2-released.html
Updating to version 2.24.2 also includes fixes for CVE-2019-6201,
CVE-2019-6251, CVE-2019-7285, CVE-2019-7292, CVE-2019-8503,
CVE-2019-8506, CVE-2019-8515, CVE-2019-8518, CVE-2019-8523,
CVE-2019-8524, CVE-2019-8535, CVE-2019-8536, CVE-2019-8544,
CVE-2019-8551, CVE-2019-8558, CVE-2019-8559, CVE-2019-8563,
CVE-2019-11070, CVE-2019-6237, CVE-2019-8571, CVE-2019-8583,
CVE-2019-8584, CVE-2019-8586, CVE-2019-8587, CVE-2019-8594,
CVE-2019-8595, CVE-2019-8596, CVE-2019-8597, CVE-2019-8601,
CVE-2019-8607, CVE-2019-8608, CVE-2019-8609, CVE-2019-8610,
CVE-2019-8615, CVE-2019-8611, CVE-2019-8619, CVE-2019-8622, and
CVE-2019-8623.
The detailed security advisories can be found at:
https://webkitgtk.org/security/WSA-2019-0002.html
https://webkitgtk.org/security/WSA-2019-0003.html
The BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS_JIT configuration symbol is not
needed anymore, because the logic to decide whether the JavaScriptCore
JIT spport can be enabled has been improved upstream.
One of the new features in 2.24.x is the support for JPEG2000 images,
which is implemented using the OpenJPEG library. Therefore now
BR2_PACKAGE_OPENJPEG is selected.
This adds one small patch which did not make it to the 2.24.2 release
which solves a build issue when the building the GStreamer GL elements
is disabled.
Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-05-22 10:27:34 +02:00
|
|
|
libtasn1 libxml2 libxslt openjpeg sqlite webp woff2
|
2016-04-29 15:46:08 +02:00
|
|
|
WEBKITGTK_CONF_OPTS = \
|
|
|
|
-DENABLE_API_TESTS=OFF \
|
|
|
|
-DENABLE_GEOLOCATION=OFF \
|
|
|
|
-DENABLE_GTKDOC=OFF \
|
|
|
|
-DENABLE_INTROSPECTION=OFF \
|
|
|
|
-DENABLE_MINIBROWSER=ON \
|
|
|
|
-DENABLE_SPELLCHECK=ON \
|
|
|
|
-DPORT=GTK \
|
|
|
|
-DUSE_LIBNOTIFY=OFF \
|
2018-11-18 23:49:43 +01:00
|
|
|
-DUSE_LIBHYPHEN=OFF \
|
package/webkitgtk: security bump to version 2.24.2
This is a new major release which brings in many improvements and new
features. For a complete list, please refer to the release notes:
https://webkitgtk.org/2019/03/13/webkitgtk2.24.0-released.html
https://webkitgtk.org/2019/04/09/webkitgtk2.24.1-released.html
https://webkitgtk.org/2019/05/17/webkitgtk2.24.2-released.html
Updating to version 2.24.2 also includes fixes for CVE-2019-6201,
CVE-2019-6251, CVE-2019-7285, CVE-2019-7292, CVE-2019-8503,
CVE-2019-8506, CVE-2019-8515, CVE-2019-8518, CVE-2019-8523,
CVE-2019-8524, CVE-2019-8535, CVE-2019-8536, CVE-2019-8544,
CVE-2019-8551, CVE-2019-8558, CVE-2019-8559, CVE-2019-8563,
CVE-2019-11070, CVE-2019-6237, CVE-2019-8571, CVE-2019-8583,
CVE-2019-8584, CVE-2019-8586, CVE-2019-8587, CVE-2019-8594,
CVE-2019-8595, CVE-2019-8596, CVE-2019-8597, CVE-2019-8601,
CVE-2019-8607, CVE-2019-8608, CVE-2019-8609, CVE-2019-8610,
CVE-2019-8615, CVE-2019-8611, CVE-2019-8619, CVE-2019-8622, and
CVE-2019-8623.
The detailed security advisories can be found at:
https://webkitgtk.org/security/WSA-2019-0002.html
https://webkitgtk.org/security/WSA-2019-0003.html
The BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS_JIT configuration symbol is not
needed anymore, because the logic to decide whether the JavaScriptCore
JIT spport can be enabled has been improved upstream.
One of the new features in 2.24.x is the support for JPEG2000 images,
which is implemented using the OpenJPEG library. Therefore now
BR2_PACKAGE_OPENJPEG is selected.
This adds one small patch which did not make it to the 2.24.2 release
which solves a build issue when the building the GStreamer GL elements
is disabled.
Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-05-22 10:27:34 +02:00
|
|
|
-DUSE_OPENJPEG=ON \
|
2018-11-18 23:49:43 +01:00
|
|
|
-DUSE_WOFF2=ON
|
2016-04-29 15:46:08 +02:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_WEBKITGTK_MULTIMEDIA),y)
|
|
|
|
WEBKITGTK_CONF_OPTS += \
|
|
|
|
-DENABLE_VIDEO=ON \
|
|
|
|
-DENABLE_WEB_AUDIO=ON
|
|
|
|
WEBKITGTK_DEPENDENCIES += gstreamer1 gst1-libav gst1-plugins-base gst1-plugins-good
|
|
|
|
else
|
|
|
|
WEBKITGTK_CONF_OPTS += \
|
|
|
|
-DENABLE_VIDEO=OFF \
|
2018-12-25 09:00:08 +01:00
|
|
|
-DENABLE_WEB_AUDIO=OFF
|
2016-04-29 15:46:08 +02:00
|
|
|
endif
|
|
|
|
|
2017-09-13 18:51:21 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_WEBKITGTK_WEBDRIVER),y)
|
|
|
|
WEBKITGTK_CONF_OPTS += -DENABLE_WEBDRIVER=ON
|
|
|
|
else
|
|
|
|
WEBKITGTK_CONF_OPTS += -DENABLE_WEBDRIVER=OFF
|
|
|
|
endif
|
|
|
|
|
2016-04-29 15:46:08 +02:00
|
|
|
# Only one target platform can be built, assume X11 > Wayland
|
|
|
|
|
|
|
|
# GTK3-X11 target gives OpenGL from newer libgtk3 versions
|
|
|
|
# Consider this better than EGL + maybe GLESv2 since both can't be built
|
|
|
|
# 2D CANVAS acceleration requires OpenGL proper with cairo-gl
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y)
|
|
|
|
WEBKITGTK_CONF_OPTS += \
|
|
|
|
-DENABLE_ACCELERATED_2D_CANVAS=ON \
|
|
|
|
-DENABLE_GLES2=OFF \
|
|
|
|
-DENABLE_OPENGL=ON \
|
|
|
|
-DENABLE_X11_TARGET=ON
|
|
|
|
WEBKITGTK_DEPENDENCIES += libgl \
|
|
|
|
xlib_libXcomposite xlib_libXdamage xlib_libXrender xlib_libXt
|
|
|
|
# It can use libgtk2 for npapi plugins
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGTK2),y)
|
|
|
|
WEBKITGTK_CONF_OPTS += -DENABLE_PLUGIN_PROCESS_GTK2=ON
|
|
|
|
WEBKITGTK_DEPENDENCIES += libgtk2
|
|
|
|
else
|
|
|
|
WEBKITGTK_CONF_OPTS += -DENABLE_PLUGIN_PROCESS_GTK2=OFF
|
|
|
|
endif
|
|
|
|
else # !X11
|
|
|
|
# GTK3-BROADWAY/WAYLAND needs at least EGL
|
|
|
|
WEBKITGTK_DEPENDENCIES += libegl
|
|
|
|
# GLESv2 support is optional though
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y)
|
|
|
|
WEBKITGTK_CONF_OPTS += \
|
|
|
|
-DENABLE_GLES2=ON \
|
|
|
|
-DENABLE_OPENGL=ON
|
|
|
|
WEBKITGTK_DEPENDENCIES += libgles
|
|
|
|
else
|
|
|
|
# Disable general OpenGL (shading) if there's no GLESv2
|
|
|
|
WEBKITGTK_CONF_OPTS += \
|
|
|
|
-DENABLE_GLES2=OFF \
|
|
|
|
-DENABLE_OPENGL=OFF
|
|
|
|
endif
|
|
|
|
# We must explicitly state the wayland target
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND),y)
|
|
|
|
WEBKITGTK_CONF_OPTS += -DENABLE_WAYLAND_TARGET=ON
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2018-10-25 02:27:38 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_WEBKITGTK_USE_GSTREAMER_GL),y)
|
|
|
|
WEBKITGTK_CONF_OPTS += -DUSE_GSTREAMER_GL=ON
|
|
|
|
WEBKITGTK_DEPENDENCIES += gst1-plugins-bad
|
|
|
|
else
|
|
|
|
WEBKITGTK_CONF_OPTS += -DUSE_GSTREAMER_GL=OFF
|
|
|
|
endif
|
|
|
|
|
2016-04-29 15:46:08 +02:00
|
|
|
$(eval $(cmake-package))
|