diff options
| -rw-r--r-- | meta-oe/recipes-extended/flatpak/flatpak/0001-flatpak-pc-add-pc_sysrootdir.patch | 2 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/flatpak/flatpak/0001-meson.build-require-for-native-wayland-scanner.patch | 28 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/flatpak/flatpak_1.15.6.bb (renamed from meta-oe/recipes-extended/flatpak/flatpak_1.15.4.bb) | 14 |
3 files changed, 40 insertions, 4 deletions
diff --git a/meta-oe/recipes-extended/flatpak/flatpak/0001-flatpak-pc-add-pc_sysrootdir.patch b/meta-oe/recipes-extended/flatpak/flatpak/0001-flatpak-pc-add-pc_sysrootdir.patch index c1f2cca5c6..08d5625fa7 100644 --- a/meta-oe/recipes-extended/flatpak/flatpak/0001-flatpak-pc-add-pc_sysrootdir.patch +++ b/meta-oe/recipes-extended/flatpak/flatpak/0001-flatpak-pc-add-pc_sysrootdir.patch | |||
| @@ -5,7 +5,7 @@ Subject: [PATCH] flatpak.pc: add pc_sysrootdir | |||
| 5 | 5 | ||
| 6 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | 6 | Signed-off-by: Markus Volk <f_l_k@t-online.de> |
| 7 | --- | 7 | --- |
| 8 | Upstream-Status: Pending | 8 | Upstream-Status: Inappropriate [oe-specific] |
| 9 | 9 | ||
| 10 | meson.build | 2 +- | 10 | meson.build | 2 +- |
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) | 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
diff --git a/meta-oe/recipes-extended/flatpak/flatpak/0001-meson.build-require-for-native-wayland-scanner.patch b/meta-oe/recipes-extended/flatpak/flatpak/0001-meson.build-require-for-native-wayland-scanner.patch new file mode 100644 index 0000000000..b076a3fffd --- /dev/null +++ b/meta-oe/recipes-extended/flatpak/flatpak/0001-meson.build-require-for-native-wayland-scanner.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | From ced2e933cf647874da4baff002e0987b9bfe5fac Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Markus Volk <f_l_k@t-online.de> | ||
| 3 | Date: Sat, 18 Nov 2023 15:07:49 +0100 | ||
| 4 | Subject: [PATCH] meson.build: require for native wayland-scanner | ||
| 5 | |||
| 6 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | ||
| 7 | |||
| 8 | Upstream-Status: Submitted [https://github.com/flatpak/flatpak/pull/5596] | ||
| 9 | --- | ||
| 10 | meson.build | 4 ++-- | ||
| 11 | 1 file changed, 1 insertions(+), 1 deletions(-) | ||
| 12 | |||
| 13 | diff --git a/meson.build b/meson.build | ||
| 14 | index f4e5b3a3..5d2f9eba 100644 | ||
| 15 | --- a/meson.build | ||
| 16 | +++ b/meson.build | ||
| 17 | @@ -207,7 +207,7 @@ gtkdoc_dep = dependency('gtk-doc', required : get_option('gtkdoc')) | ||
| 18 | build_gtk_doc = gtkdoc_dep.found() | ||
| 19 | |||
| 20 | wayland_client = dependency('wayland-client', required : get_option('wayland_security_context')) | ||
| 21 | -wayland_scanner = dependency('wayland-scanner', version : '>= 1.15', required : get_option('wayland_security_context')) | ||
| 22 | +wayland_scanner = dependency('wayland-scanner', version : '>= 1.15', required : get_option('wayland_security_context'), native : true) | ||
| 23 | wayland_protocols = dependency('wayland-protocols', version : '>= 1.32', required : get_option('wayland_security_context')) | ||
| 24 | build_wayland_security_context = wayland_client.found() and wayland_scanner.found() and wayland_protocols.found() | ||
| 25 | |||
| 26 | -- | ||
| 27 | 2.42.0 | ||
| 28 | |||
diff --git a/meta-oe/recipes-extended/flatpak/flatpak_1.15.4.bb b/meta-oe/recipes-extended/flatpak/flatpak_1.15.6.bb index ca0f0e82c0..9f2835a5dc 100644 --- a/meta-oe/recipes-extended/flatpak/flatpak_1.15.4.bb +++ b/meta-oe/recipes-extended/flatpak/flatpak_1.15.6.bb | |||
| @@ -6,9 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | |||
| 6 | SRC_URI = " \ | 6 | SRC_URI = " \ |
| 7 | gitsm://github.com/flatpak/flatpak;protocol=https;branch=main \ | 7 | gitsm://github.com/flatpak/flatpak;protocol=https;branch=main \ |
| 8 | file://0001-flatpak-pc-add-pc_sysrootdir.patch \ | 8 | file://0001-flatpak-pc-add-pc_sysrootdir.patch \ |
| 9 | file://0001-meson.build-require-for-native-wayland-scanner.patch \ | ||
| 9 | " | 10 | " |
| 10 | 11 | ||
| 11 | SRCREV = "e936e3100d406c50ba49f3ad6a0ecae455345ec0" | 12 | SRCREV = "27b11b93c2a80a91c9461bc6c7f5e9a201406041" |
| 12 | 13 | ||
| 13 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
| 14 | 15 | ||
| @@ -19,7 +20,6 @@ REQUIRED_DISTRO_FEATURES = "polkit" | |||
| 19 | DEPENDS = " \ | 20 | DEPENDS = " \ |
| 20 | appstream \ | 21 | appstream \ |
| 21 | bison-native \ | 22 | bison-native \ |
| 22 | curl \ | ||
| 23 | dconf \ | 23 | dconf \ |
| 24 | fuse3 \ | 24 | fuse3 \ |
| 25 | gdk-pixbuf \ | 25 | gdk-pixbuf \ |
| @@ -47,18 +47,26 @@ RDEPENDS:${PN} = " \ | |||
| 47 | 47 | ||
| 48 | EXTRA_OEMESON += "-Dsystem_dbus_proxy=${bindir}/xdg-dbus-proxy -Dsystem_bubblewrap=${bindir}/bwrap" | 48 | EXTRA_OEMESON += "-Dsystem_dbus_proxy=${bindir}/xdg-dbus-proxy -Dsystem_bubblewrap=${bindir}/bwrap" |
| 49 | 49 | ||
| 50 | GIR_MESON_OPTION = "" | 50 | GIR_MESON_OPTION = "gir" |
| 51 | GIR_MESON_ENABLE_FLAG = 'enabled' | ||
| 52 | GIR_MESON_DISABLE_FLAG = 'disabled' | ||
| 51 | GTKDOC_MESON_OPTION = 'gtkdoc' | 53 | GTKDOC_MESON_OPTION = 'gtkdoc' |
| 52 | GTKDOC_MESON_ENABLE_FLAG = 'enabled' | 54 | GTKDOC_MESON_ENABLE_FLAG = 'enabled' |
| 53 | GTKDOC_MESON_DISABLE_FLAG = 'disabled' | 55 | GTKDOC_MESON_DISABLE_FLAG = 'disabled' |
| 54 | 56 | ||
| 57 | PACKAGECONFIG[curl] = "-Dhttp_backend=curl,,curl" | ||
| 58 | PACKAGECONFIG[soup] = "-Dhttp_backend=soup,,libsoup-2.4" | ||
| 55 | PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,xauth socat-native" | 59 | PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,xauth socat-native" |
| 56 | PACKAGECONFIG[xauth] = "-Dxauth=enabled,-Dxauth=disabled,xauth" | 60 | PACKAGECONFIG[xauth] = "-Dxauth=enabled,-Dxauth=disabled,xauth" |
| 57 | PACKAGECONFIG[seccomp] = "-Dseccomp=enabled,-Dseccomp=disabled,libseccomp" | 61 | PACKAGECONFIG[seccomp] = "-Dseccomp=enabled,-Dseccomp=disabled,libseccomp" |
| 62 | PACKAGECONFIG[selinux] = "-Dselinux_module=enabled,-Dselinux_module=disabled,libselinux" | ||
| 63 | PACKAGECONFIG[wayland-security-context] = "-Dwayland_security_context=enabled,-Dwayland_security_context=disabled,wayland wayland-native wayland-protocols" | ||
| 58 | 64 | ||
| 59 | PACKAGECONFIG ?= " \ | 65 | PACKAGECONFIG ?= " \ |
| 66 | curl \ | ||
| 60 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xauth', '', d)} \ | 67 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xauth', '', d)} \ |
| 61 | ${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 'seccomp', '', d)} \ | 68 | ${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 'seccomp', '', d)} \ |
| 69 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland-security-context', '', d)} \ | ||
| 62 | " | 70 | " |
| 63 | 71 | ||
| 64 | FILES:${PN} += "${libdir} ${datadir}" | 72 | FILES:${PN} += "${libdir} ${datadir}" |
