diff options
| -rw-r--r-- | meta-gnome/recipes-gnome/gnome-terminal/gnome-terminal/0001-meson-add-option-to-set-dbus_interfacedir.patch | 63 | ||||
| -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 @@ | |||
| 1 | From 61668e1eb86a316d4ad9a6b9cacf8c8cc74a0c33 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Markus Volk <f_l_k@t-online.de> | ||
| 3 | Date: Sun, 7 Jan 2024 10:40:31 +0100 | ||
| 4 | Subject: [PATCH] meson: add an option to set dbus_interface_dir | ||
| 5 | |||
| 6 | Add an option that allows to set the dbus_interface_dir path manually. | ||
| 7 | This will help to cross-compile gnome-terminal on host systems that | ||
| 8 | don't have gnome-shell installed. | ||
| 9 | |||
| 10 | Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/8046] | ||
| 11 | |||
| 12 | Signed-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 | |||
| 18 | diff --git a/meson_options.txt b/meson_options.txt | ||
| 19 | index 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', | ||
| 36 | diff --git a/src/meson.build b/src/meson.build | ||
| 37 | index 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 | -- | ||
| 62 | 2.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 = " \ | |||
| 22 | SRC_URI = " \ | 22 | SRC_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 | " |
| 27 | SRCREV = "5ac3b8e4bd6fa02651b3c23cedb0a7e1cd769655" | 26 | SRCREV = "965cb9307713c618253918633416fcad86bcc5d2" |
| 28 | S = "${WORKDIR}/git" | 27 | S = "${WORKDIR}/git" |
| 29 | 28 | ||
| 30 | PACKAGECONFIG ?= "" | 29 | PACKAGECONFIG ?= "" |
| 31 | PACKAGECONFIG[nautilus] = "-Dnautilus_extension=true,-Dnautilus_extension=false,nautilus,nautilus" | 30 | PACKAGECONFIG[nautilus] = "-Dnautilus_extension=true,-Dnautilus_extension=false,nautilus,nautilus" |
| 32 | PACKAGECONFIG[search_provider] = "-Dsearch_provider=true -Ddbus_interface_dir=${STAGING_DATADIR}/dbus-1/interfaces,-Dsearch_provider=false,gnome-shell" | 31 | PACKAGECONFIG[search_provider] = "-Dsearch_provider=true,-Dsearch_provider=false,gnome-shell" |
| 33 | 32 | ||
| 34 | PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" | 33 | PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" |
| 35 | 34 | ||
