webkitgtk3: Prepare adding webkitgtk4
PATCH 1/2 webkitgtk3: Prepare adding webkitgtk4
Split the recipe into an include file and a minimal recipe. Rename the patch directory to "files".
Move do_install:append() and the gtk+3 dependency into the recipe file.
---
...spection.cmake-prefix-variables-obta.patch | 0
...44e17d258106617b0e6d783d073b188a2548.patch | 0
.../check-GST_GL_HAVE_PLATFORM_GLX.patch | 0
.../no-musttail-arm.patch | 0
.../reproducibility.patch | 0
.../{webkitgtk3_2.42.2.bb => webkitgtk.inc} | 11 +-
.../webkitgtk/webkitgtk3_2.42.2.bb | 184 +-----------------
7 files changed, 9 insertions(+), 186 deletions(-)
rename meta-oe/recipes-support/webkitgtk/{webkitgtk3 => files}/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch (100%)
rename meta-oe/recipes-support/webkitgtk/{webkitgtk3 => files}/0d3344e17d258106617b0e6d783d073b188a2548.patch (100%)
rename meta-oe/recipes-support/webkitgtk/{webkitgtk3 => files}/check-GST_GL_HAVE_PLATFORM_GLX.patch (100%)
rename meta-oe/recipes-support/webkitgtk/{webkitgtk3 => files}/no-musttail-arm.patch (100%)
rename meta-oe/recipes-support/webkitgtk/{webkitgtk3 => files}/reproducibility.patch (100%)
copy meta-oe/recipes-support/webkitgtk/{webkitgtk3_2.42.2.bb => webkitgtk.inc} (97%)meta-oe/recipes-support/webkitgtk/files/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch renamed from meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch +0 -0
meta-oe/recipes-support/webkitgtk/files/0d3344e17d258106617b0e6d783d073b188a2548.patch renamed from meta-oe/recipes-support/webkitgtk/webkitgtk3/0d3344e17d258106617b0e6d783d073b188a2548.patch +0 -0
meta-oe/recipes-support/webkitgtk/files/check-GST_GL_HAVE_PLATFORM_GLX.patch renamed from meta-oe/recipes-support/webkitgtk/webkitgtk3/check-GST_GL_HAVE_PLATFORM_GLX.patch +0 -0
meta-oe/recipes-support/webkitgtk/files/no-musttail-arm.patch renamed from meta-oe/recipes-support/webkitgtk/webkitgtk3/no-musttail-arm.patch +0 -0
meta-oe/recipes-support/webkitgtk/files/reproducibility.patch renamed from meta-oe/recipes-support/webkitgtk/webkitgtk3/reproducibility.patch +0 -0
meta-oe/recipes-support/webkitgtk/webkitgtk.inc renamed from meta-oe/recipes-support/webkitgtk/webkitgtk3_2.42.2.bb +4 -7
@@ -35,7 +35,6 @@ DEPENDS += " \ jpeg \ atk \ libwebp \ - gtk+3 \ libxslt \ libtasn1 \ libnotify \
@@ -53,6 +52,7 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd wayland x11', enchant \ libsecret \ ${PACKAGECONFIG_SOUP} \ + minibrowser webdriver \ " PACKAGECONFIG[wayland] = "-DENABLE_WAYLAND_TARGET=ON,-DENABLE_WAYLAND_TARGET=OFF,wayland libwpe wpebackend-fdo wayland-native"
@@ -80,12 +80,13 @@ PACKAGECONFIG[media-recorder] = "-DENABLE_MEDIA_RECORDER=ON,-DENABLE_MEDIA_RECOR PACKAGECONFIG[gamepad] = "-DENABLE_GAMEPAD=ON,-DENABLE_GAMEPAD=OFF,libmanette" PACKAGECONFIG[webrtc] = "-DENABLE_WEB_RTC=ON,-DENABLE_WEB_RTC=OFF" PACKAGECONFIG[bubblewrap] = "-DENABLE_BUBBLEWRAP_SANDBOX=ON -DBWRAP_EXECUTABLE=${bindir}/bwrap -DDBUS_PROXY_EXECUTABLE=${bindir}/xdg-dbus-proxy,-DENABLE_BUBBLEWRAP_SANDBOX=OFF,,bubblewrap xdg-dbus-proxy" +PACKAGECONFIG[minibrowser] = "-DENABLE_MINIBROWSER=ON,-DENABLE_MINIBROWSER=OFF" +PACKAGECONFIG[webdriver] = "-DENABLE_WEBDRIVER=ON,-DENABLE_WEBDRIVER=OFF" EXTRA_OECMAKE = " \ -DPORT=GTK \ ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DENABLE_INTROSPECTION=ON', '-DENABLE_INTROSPECTION=OFF', d)} \ ${@bb.utils.contains('GIDOCGEN_ENABLED', 'True', '-DENABLE_DOCUMENTATION=ON', '-DENABLE_DOCUMENTATION=OFF', d)} \ - -DENABLE_MINIBROWSER=ON \ " # Unless DEBUG_BUILD is enabled, pass -g1 to massively reduce the size of the # debug symbols (4.3GB to 700M at time of writing)
@@ -141,7 +142,7 @@ EXTRA_OECMAKE:append:x86-x32 = " -DENABLE_JIT=OFF " SECURITY_CFLAGS:remove:aarch64 = "-fpie" SECURITY_CFLAGS:append:aarch64 = " -fPIE" -FILES:${PN} += "${libdir}/webkit2gtk-4.*/injected-bundle/libwebkit2gtkinjectedbundle.so" +FILES:${PN} += "${libdir}/webkitgtk-*/injected-bundle/*.so" RRECOMMENDS:${PN} += "ca-certificates shared-mime-info"
@@ -166,10 +167,6 @@ COMPATIBLE_HOST:x86 = "${@bb.utils.contains_any('TUNE_FEATURES', 'core2 corei7', GI_DATA_ENABLED:libc-musl:armv7a = "False" GI_DATA_ENABLED:libc-musl:armv7ve = "False" -do_install:append() { - mv ${D}${bindir}/WebKitWebDriver ${D}${bindir}/WebKitWebDriver3 -} - PACKAGE_PREPROCESS_FUNCS += "src_package_preprocess" src_package_preprocess () { # Trim build paths from comments in generated sources to ensure reproducibility
meta-oe/recipes-support/webkitgtk/webkitgtk3_2.42.2.bb +5 -179
188 lines not on this page · raw message
Signature · 1 line
2.42.0
PATCH 2/2 webkitgtk4: Add recipe
--- .../recipes-support/webkitgtk/webkitgtk4_2.42.2.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta-oe/recipes-support/webkitgtk/webkitgtk4_2.42.2.bb
meta-oe/recipes-support/webkitgtk/webkitgtk4_2.42.2.bb new file +11 -0
@@ -0,0 +1,11 @@ +require webkitgtk.inc + +DEPENDS += "gtk4" + +EXTRA_OECMAKE += "-DUSE_GTK4=ON" + +do_install:append() { + if [ -f ${D}${bindir}/WebKitWebDriver ]; then + mv ${D}${bindir}/WebKitWebDriver ${D}${bindir}/WebKitWebDriver4 + fi +}
Signature · 1 line
2.42.0
Re: [oe] [meta-oe][PATCH 2/2] webkitgtk4: Add recipe
oe-core already carries the gtk4 version of webkitgtk. webkitgtk3 in meta-oe is a temporary recipe until all consumers migrate to gtk4.
Alex
Quoted 36 lines · Zoltan Boszormenyi
Signed-off-by Zoltán Böszörményi <[email protected]>--- .../recipes-support/webkitgtk/webkitgtk4_2.42.2.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta-oe/recipes-support/webkitgtk/webkitgtk4_2.42.2.bbmeta-oe/recipes-support/webkitgtk/webkitgtk4_2.42.2.bb new file +11
-1@@ -0,0 +1,11 @@ +require webkitgtk.inc + +DEPENDS += "gtk4" + +EXTRA_OECMAKE += "-DUSE_GTK4=ON" + +do_install:append() { + if [ -f ${D}${bindir}/WebKitWebDriver ]; then + mv ${D}${bindir}/WebKitWebDriver ${D}${bindir}/WebKitWebDriver4 + fi +} --2.42.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#106977): https://lists.openembedded.org/g/openembedded-devel/message/106977
Mute This Topic: https://lists.openembedded.org/mt/102727581/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-oe][PATCH 2/2] webkitgtk4: Add recipe
Sorry for the noise.
2023. 11. 21. 14:08 keltezéssel, Alexander Kanavin írta:
Quoted 41 lines
oe-core already carries the gtk4 version of webkitgtk. webkitgtk3 in meta-oe is a temporary recipe until all consumers migrate to gtk4.
Alex
Quoted 35 lines · Zoltan Boszormenyi
Signed-off-by Zoltán Böszörményi <[email protected]>--- .../recipes-support/webkitgtk/webkitgtk4_2.42.2.bb | 11 +++++++++++ 1 file changed, 11 insertions(+)create mode 100644 meta-oe/recipes-support/webkitgtk/webkitgtk4_2.42.2.bb
meta-oe/recipes-support/webkitgtk/webkitgtk4_2.42.2.bb new file +11
-1@@ -0,0 +1,11 @@ +require webkitgtk.inc + +DEPENDS += "gtk4" + +EXTRA_OECMAKE += "-DUSE_GTK4=ON" + +do_install:append() { + if [ -f ${D}${bindir}/WebKitWebDriver ]; then + mv ${D}${bindir}/WebKitWebDriver ${D}${bindir}/WebKitWebDriver4 + fi +} --2.42.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#106977): https://lists.openembedded.org/g/openembedded-devel/message/106977
Mute This Topic: https://lists.openembedded.org/mt/102727581/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-