summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal/0001-meson-add-option-to-set-dbus_interfacedir.patch63
-rw-r--r--meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.54.0.bb (renamed from meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.50.1.bb)5
2 files changed, 2 insertions, 66 deletions
diff --git a/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal/0001-meson-add-option-to-set-dbus_interfacedir.patch b/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal/0001-meson-add-option-to-set-dbus_interfacedir.patch
deleted file mode 100644
index 9f8475bdd2..0000000000
--- a/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal/0001-meson-add-option-to-set-dbus_interfacedir.patch
+++ /dev/null
@@ -1,63 +0,0 @@
1From 61668e1eb86a316d4ad9a6b9cacf8c8cc74a0c33 Mon Sep 17 00:00:00 2001
2From: Markus Volk <f_l_k@t-online.de>
3Date: Sun, 7 Jan 2024 10:40:31 +0100
4Subject: [PATCH] meson: add an option to set dbus_interface_dir
5
6Add an option that allows to set the dbus_interface_dir path manually.
7This will help to cross-compile gnome-terminal on host systems that
8don't have gnome-shell installed.
9
10Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/8046]
11
12Signed-off-by: Markus Volk <f_l_k@t-online.de>
13---
14 meson_options.txt | 7 +++++++
15 src/meson.build | 7 ++++++-
16 2 files changed, 13 insertions(+), 1 deletion(-)
17
18diff --git a/meson_options.txt b/meson_options.txt
19index b555ab66..8fece058 100644
20--- a/meson_options.txt
21+++ b/meson_options.txt
22@@ -13,6 +13,13 @@
23 # You should have received a copy of the GNU General Public License
24 # along with this programme. If not, see <https://www.gnu.org/licenses/>.
25
26+option(
27+ 'dbus_interface_dir',
28+ type: 'string',
29+ value: '',
30+ description: 'directory for D-Bus session interface files [$datadir/dbus-1/interfaces]',
31+)
32+
33 option(
34 'dbg',
35 type: 'boolean',
36diff --git a/src/meson.build b/src/meson.build
37index 27ecd893..420ad45c 100644
38--- a/src/meson.build
39+++ b/src/meson.build
40@@ -185,6 +185,11 @@ server_sources = app_sources + client_util_sources + debug_sources + dbus_source
41
42 if get_option('search_provider')
43
44+ dbus_interface_dir = get_option('dbus_interface_dir')
45+ if dbus_interface_dir == ''
46+ dbus_interface_dir = gt_prefix / gt_dbusinterfacedir
47+ endif
48+
49 server_sources += files(
50 'terminal-search-provider.cc',
51 'terminal-search-provider.hh',
52@@ -192,7 +197,7 @@ if get_option('search_provider')
53
54 server_sources += gnome.gdbus_codegen(
55 'terminal-search-provider-gdbus-generated',
56- gt_prefix / gt_dbusinterfacedir / 'org.gnome.ShellSearchProvider2.xml',
57+ dbus_interface_dir / 'org.gnome.ShellSearchProvider2.xml',
58 autocleanup: 'none',
59 install_header: false,
60 interface_prefix: 'org.gnome.Shell',
61--
622.43.0
63
diff --git a/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.50.1.bb b/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.54.0.bb
index 3bbfe9ece0..cfbde967fd 100644
--- a/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.50.1.bb
+++ b/meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal_3.54.0.bb
@@ -22,14 +22,13 @@ DEPENDS = " \
22SRC_URI = " \ 22SRC_URI = " \
23 git://gitlab.gnome.org/GNOME/gnome-terminal.git;protocol=https;nobranch=1 \ 23 git://gitlab.gnome.org/GNOME/gnome-terminal.git;protocol=https;nobranch=1 \
24 file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch \ 24 file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch \
25 file://0001-meson-add-option-to-set-dbus_interfacedir.patch \
26" 25"
27SRCREV = "5ac3b8e4bd6fa02651b3c23cedb0a7e1cd769655" 26SRCREV = "965cb9307713c618253918633416fcad86bcc5d2"
28S = "${WORKDIR}/git" 27S = "${WORKDIR}/git"
29 28
30PACKAGECONFIG ?= "" 29PACKAGECONFIG ?= ""
31PACKAGECONFIG[nautilus] = "-Dnautilus_extension=true,-Dnautilus_extension=false,nautilus,nautilus" 30PACKAGECONFIG[nautilus] = "-Dnautilus_extension=true,-Dnautilus_extension=false,nautilus,nautilus"
32PACKAGECONFIG[search_provider] = "-Dsearch_provider=true -Ddbus_interface_dir=${STAGING_DATADIR}/dbus-1/interfaces,-Dsearch_provider=false,gnome-shell" 31PACKAGECONFIG[search_provider] = "-Dsearch_provider=true,-Dsearch_provider=false,gnome-shell"
33 32
34PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" 33PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
35 34