diff options
| author | Markus Volk <f_l_k@t-online.de> | 2023-09-18 23:51:43 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-09-20 15:34:02 -0700 |
| commit | 4f7bcf81a9b0de2c11fc896bd7cb23801f568bf9 (patch) | |
| tree | d0c4b392e2926516e585e3f11e892b19e9b73410 | |
| parent | ccc64151f7861b052cd5c02cb6721c37182b7179 (diff) | |
| download | meta-openembedded-4f7bcf81a9b0de2c11fc896bd7cb23801f568bf9.tar.gz | |
xdg-desktop-portal: upgrade 1.16.0 -> 1.18.0
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal/0001-meson.build-add-a-hack-for-crosscompile.patch | 28 | ||||
| -rw-r--r-- | meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal/0001-xdg-desktop-portal-pc-in-add-pc_sysrootdir-dir.patch | 27 | ||||
| -rw-r--r-- | meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.18.0.bb (renamed from meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.16.0.bb) | 14 |
3 files changed, 36 insertions, 33 deletions
diff --git a/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal/0001-meson.build-add-a-hack-for-crosscompile.patch b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal/0001-meson.build-add-a-hack-for-crosscompile.patch new file mode 100644 index 0000000000..3410a88310 --- /dev/null +++ b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal/0001-meson.build-add-a-hack-for-crosscompile.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | From 7abb3840ac2870fcfc174fbbd81c4209c838e1a9 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Markus Volk <f_l_k@t-online.de> | ||
| 3 | Date: Mon, 18 Sep 2023 22:22:17 +0200 | ||
| 4 | Subject: [PATCH] meson.build: add a hack for cross-compiling | ||
| 5 | |||
| 6 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | ||
| 7 | |||
| 8 | Upstream-Status: Inappropriate [cross-compile specific] | ||
| 9 | --- | ||
| 10 | meson.build | 2 +- | ||
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 12 | |||
| 13 | diff --git a/meson.build b/meson.build | ||
| 14 | index 760613a..d339d26 100644 | ||
| 15 | --- a/meson.build | ||
| 16 | +++ b/meson.build | ||
| 17 | @@ -168,7 +168,7 @@ pkgconfig.generate( | ||
| 18 | 'prefix': get_option('prefix'), | ||
| 19 | 'datarootdir': dataroot_dir, | ||
| 20 | 'datadir': '${prefix}/@0@'.format(get_option('datadir')), | ||
| 21 | - 'interfaces_dir': '${datadir}/dbus-1/interfaces/', | ||
| 22 | + 'interfaces_dir': '${pc_sysrootdir}${datadir}/dbus-1/interfaces/', | ||
| 23 | }, | ||
| 24 | ) | ||
| 25 | |||
| 26 | -- | ||
| 27 | 2.41.0 | ||
| 28 | |||
diff --git a/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal/0001-xdg-desktop-portal-pc-in-add-pc_sysrootdir-dir.patch b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal/0001-xdg-desktop-portal-pc-in-add-pc_sysrootdir-dir.patch deleted file mode 100644 index 1997d0ffe7..0000000000 --- a/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal/0001-xdg-desktop-portal-pc-in-add-pc_sysrootdir-dir.patch +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | From 7727dbfef4dd7ced3958ae9ada59a8899976b12d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Markus Volk <f_l_k@t-online.de> | ||
| 3 | Date: Mon, 12 Dec 2022 18:40:31 +0100 | ||
| 4 | Subject: [PATCH] xdg-desktop-portal.pc.in: add pc_sysrootdir dir | ||
| 5 | |||
| 6 | --- | ||
| 7 | Upstream-Status: Pending | ||
| 8 | |||
| 9 | xdg-desktop-portal.pc.in | 2 +- | ||
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 11 | |||
| 12 | diff --git a/xdg-desktop-portal.pc.in b/xdg-desktop-portal.pc.in | ||
| 13 | index 585c0c8..15b5817 100644 | ||
| 14 | --- a/xdg-desktop-portal.pc.in | ||
| 15 | +++ b/xdg-desktop-portal.pc.in | ||
| 16 | @@ -2,7 +2,7 @@ prefix=@prefix@ | ||
| 17 | datarootdir=@datarootdir@ | ||
| 18 | datadir=@datadir@ | ||
| 19 | |||
| 20 | -interfaces_dir=${datadir}/dbus-1/interfaces/ | ||
| 21 | +interfaces_dir=${pc_sysrootdir}${datadir}/dbus-1/interfaces | ||
| 22 | |||
| 23 | Name: xdg-desktop-portal | ||
| 24 | Description: Desktop integration portal | ||
| 25 | -- | ||
| 26 | 2.34.1 | ||
| 27 | |||
diff --git a/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.16.0.bb b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.18.0.bb index 0b3a93ab32..b9173a9f3b 100644 --- a/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.16.0.bb +++ b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.18.0.bb | |||
| @@ -8,14 +8,12 @@ REQUIRED_DISTRO_FEATURES = "polkit" | |||
| 8 | DEPENDS = " \ | 8 | DEPENDS = " \ |
| 9 | json-glib \ | 9 | json-glib \ |
| 10 | glib-2.0 \ | 10 | glib-2.0 \ |
| 11 | flatpak \ | ||
| 11 | libportal \ | 12 | libportal \ |
| 12 | geoclue \ | 13 | geoclue \ |
| 13 | pipewire \ | 14 | pipewire \ |
| 14 | dbus-native \ | ||
| 15 | fuse3 \ | 15 | fuse3 \ |
| 16 | xmlto-native \ | 16 | xmlto-native \ |
| 17 | flatpak \ | ||
| 18 | python3-dbus-native \ | ||
| 19 | " | 17 | " |
| 20 | 18 | ||
| 21 | PORTAL_BACKENDS ?= " \ | 19 | PORTAL_BACKENDS ?= " \ |
| @@ -29,15 +27,19 @@ inherit meson pkgconfig python3native features_check | |||
| 29 | 27 | ||
| 30 | SRC_URI = " \ | 28 | SRC_URI = " \ |
| 31 | git://github.com/flatpak/xdg-desktop-portal.git;protocol=https;branch=main \ | 29 | git://github.com/flatpak/xdg-desktop-portal.git;protocol=https;branch=main \ |
| 32 | file://0001-xdg-desktop-portal-pc-in-add-pc_sysrootdir-dir.patch \ | 30 | file://0001-meson.build-add-a-hack-for-crosscompile.patch \ |
| 33 | " | 31 | " |
| 34 | 32 | ||
| 35 | S = "${WORKDIR}/git" | 33 | S = "${WORKDIR}/git" |
| 36 | SRCREV = "88af6c8ca4106fcf70925355350a669848e9fd5a" | 34 | SRCREV = "a4b27063222b16652e73b422e5448d75335199ef" |
| 37 | 35 | ||
| 38 | FILES:${PN} += "${libdir}/systemd ${datadir}/dbus-1" | 36 | FILES:${PN} += "${libdir}/systemd ${datadir}/dbus-1" |
| 39 | 37 | ||
| 40 | EXTRA_OEMESON += "--cross-file=${WORKDIR}/meson-${PN}.cross" | 38 | EXTRA_OEMESON += " \ |
| 39 | --cross-file=${WORKDIR}/meson-${PN}.cross \ | ||
| 40 | -Dflatpak-interfaces-dir=${STAGING_DATADIR}/dbus-1/interfaces \ | ||
| 41 | -Ddbus-service-dir=${datadir}/dbus-1/services \ | ||
| 42 | " | ||
| 41 | 43 | ||
| 42 | do_write_config:append() { | 44 | do_write_config:append() { |
| 43 | cat >${WORKDIR}/meson-${PN}.cross <<EOF | 45 | cat >${WORKDIR}/meson-${PN}.cross <<EOF |
