summaryrefslogtreecommitdiffstats
path: root/meta-gnome
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2024-12-11 09:06:59 +0100
committerKhem Raj <raj.khem@gmail.com>2024-12-11 09:56:52 -0800
commit6df55bab20ede037e888208b291610025ae74ac2 (patch)
tree9efcdd20b4a48d458a67d3f5df2c70891ba1ce2d /meta-gnome
parentd78d1190195f3068ab3522872306530d3f6e4b5b (diff)
downloadmeta-openembedded-6df55bab20ede037e888208b291610025ae74ac2.tar.gz
gnome-shell: update 47.1 -> 47.2
- Remove patch to set gjs path. It would require rework. Set the path from a cross-file instead 47.2 ==== * Fix graphical artifacts in partially-rounded buttons [Sebastian; #7996] * Fix caret tracking in magnifier [Bilal; !3522] * Improve accessibility of keyboard backlight quick settings toggle [Lukáš, Florian; !3538, !3545] * Fix resetting non-caps shift key in on-screen keyboard [Jonas; !3286] * Misc. bug fixes and cleanups [Florian, Bilal, Automeris, Daniel, Jonas; !3520, !3518, !3521, !3529, !3535, !3532, !3540, !3549, !3548, !3539] Contributors: Jonas Dreßler, Bilal Elmoussaoui, Sebastian Keller, Florian Müllner, Automeris naranja, Daniel Rusek, Lukáš Tyrychtr Translators: Aefgh Threenine [th], Fabio Tomat [fur], Nathan Follens [nl], Марко Костић [sr] Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome')
-rw-r--r--meta-gnome/recipes-gnome/gnome-shell/gnome-shell-extensions_47.2.bb (renamed from meta-gnome/recipes-gnome/gnome-shell/gnome-shell-extensions_47.1.bb)2
-rw-r--r--meta-gnome/recipes-gnome/gnome-shell/gnome-shell/0001-Introduce-options-gjs_path-to-optionally-set-path-to.patch124
-rw-r--r--meta-gnome/recipes-gnome/gnome-shell/gnome-shell_47.2.bb (renamed from meta-gnome/recipes-gnome/gnome-shell/gnome-shell_47.1.bb)15
3 files changed, 11 insertions, 130 deletions
diff --git a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell-extensions_47.1.bb b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell-extensions_47.2.bb
index a47548fbbb..6567704c47 100644
--- a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell-extensions_47.1.bb
+++ b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell-extensions_47.2.bb
@@ -6,7 +6,7 @@ inherit gnomebase gettext gsettings features_check
6 6
7REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam gobject-introspection-data" 7REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam gobject-introspection-data"
8 8
9SRC_URI[archive.sha256sum] = "e9438cc5d39f9875dfd04ea0abb51e5962eaad5c20274123243b1612098b3a85" 9SRC_URI[archive.sha256sum] = "dd774a0291584917abde88bbc4eccf9244178e3c269ce0618d0495177c12652d"
10 10
11EXTRA_OEMESON += " \ 11EXTRA_OEMESON += " \
12 -Dextension_set=all \ 12 -Dextension_set=all \
diff --git a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell/0001-Introduce-options-gjs_path-to-optionally-set-path-to.patch b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell/0001-Introduce-options-gjs_path-to-optionally-set-path-to.patch
deleted file mode 100644
index 8ef0da16fe..0000000000
--- a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell/0001-Introduce-options-gjs_path-to-optionally-set-path-to.patch
+++ /dev/null
@@ -1,124 +0,0 @@
1From e9835f650d70bf22ad0e5d8c2179aa01b2d18955 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Thu, 28 Oct 2021 18:57:24 +0200
4Subject: [PATCH] Introduce options 'gjs_path' to optionally set path to gjs
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
10MIME-Version: 1.0
11Content-Type: text/plain; charset=UTF-8
12Content-Transfer-Encoding: 8bit
13
14From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
15MIME-Version: 1.0
16Content-Type: text/plain; charset=UTF-8
17Content-Transfer-Encoding: 8bit
18
19From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
20MIME-Version: 1.0
21Content-Type: text/plain; charset=UTF-8
22Content-Transfer-Encoding: 8bit
23
24Upstream-Status: Pending
25
26Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
27---
28 js/dbusServices/meson.build | 2 +-
29 meson.build | 6 +++++-
30 meson_options.txt | 6 ++++++
31 subprojects/extensions-app/js/meson.build | 2 +-
32 subprojects/extensions-app/meson.build | 7 ++++++-
33 subprojects/extensions-app/meson_options.txt | 6 ++++++
34 6 files changed, 25 insertions(+), 4 deletions(-)
35
36diff --git a/js/dbusServices/meson.build b/js/dbusServices/meson.build
37index 48b7f89..700b590 100644
38--- a/js/dbusServices/meson.build
39+++ b/js/dbusServices/meson.build
40@@ -22,7 +22,7 @@ foreach service, dir : dbus_services
41
42 serviceconf = configuration_data()
43 serviceconf.set('service', service)
44- serviceconf.set('gjs', gjs.full_path())
45+ serviceconf.set('gjs', gjs)
46 serviceconf.set('pkgdatadir', pkgdatadir)
47
48 configure_file(
49diff --git a/meson.build b/meson.build
50index a6d83b1..2c612a8 100644
51--- a/meson.build
52+++ b/meson.build
53@@ -134,7 +134,11 @@ endif
54
55 mutter_typelibdir = mutter_dep.get_variable('typelibdir')
56 python = find_program('python3')
57-gjs = find_program('gjs')
58+if get_option('gjs_path') == ''
59+ gjs = find_program('gjs')
60+else
61+ gjs = get_option('gjs_path')
62+endif
63
64 cc = meson.get_compiler('c')
65
66diff --git a/meson_options.txt b/meson_options.txt
67index 6e83d92..1bf0ecb 100644
68--- a/meson_options.txt
69+++ b/meson_options.txt
70@@ -45,3 +45,9 @@ option('systemd',
71 value: true,
72 description: 'Enable systemd integration'
73 )
74+
75+option('gjs_path',
76+ type: 'string',
77+ value: '',
78+ description: 'Instead of searching gjs executable, configure path'
79+)
80diff --git a/subprojects/extensions-app/js/meson.build b/subprojects/extensions-app/js/meson.build
81index c9a67f8..91ae887 100644
82--- a/subprojects/extensions-app/js/meson.build
83+++ b/subprojects/extensions-app/js/meson.build
84@@ -9,7 +9,7 @@ endif
85 launcherconf.set('prefix', prefix)
86 launcherconf.set('libdir', libdir)
87 launcherconf.set('pkgdatadir', pkgdatadir)
88-launcherconf.set('gjs', gjs.full_path())
89+launcherconf.set('gjs', gjs)
90
91 configure_file(
92 input: prgname + '.in',
93diff --git a/subprojects/extensions-app/meson.build b/subprojects/extensions-app/meson.build
94index 45f391b..d581408 100644
95--- a/subprojects/extensions-app/meson.build
96+++ b/subprojects/extensions-app/meson.build
97@@ -47,7 +47,12 @@ metainfodir = join_paths(datadir, 'metainfo')
98 schemadir = join_paths(datadir, 'glib-2.0', 'schemas')
99 servicedir = join_paths(datadir, 'dbus-1', 'services')
100
101-gjs = find_program('gjs')
102+if get_option('gjs_path') == ''
103+ gjs = find_program('gjs')
104+else
105+ gjs = get_option('gjs_path')
106+endif
107+
108 appstream_util = find_program('appstream-util', required: false)
109 appstreamcli = find_program('appstreamcli', required: false)
110 desktop_file_validate = find_program('desktop-file-validate', required: false)
111diff --git a/subprojects/extensions-app/meson_options.txt b/subprojects/extensions-app/meson_options.txt
112index ca2eb41..2787785 100644
113--- a/subprojects/extensions-app/meson_options.txt
114+++ b/subprojects/extensions-app/meson_options.txt
115@@ -10,3 +10,9 @@ option('profile',
116 ],
117 value: 'default'
118 )
119+
120+option('gjs_path',
121+ type: 'string',
122+ value: '',
123+ description: 'Instead of searching gjs executable, configure path'
124+)
diff --git a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_47.1.bb b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_47.2.bb
index 042b3935a8..417f0a1816 100644
--- a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_47.1.bb
+++ b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_47.2.bb
@@ -33,21 +33,26 @@ GIR_MESON_OPTION = ""
33# gobject-introspection is mandatory and cannot be configured 33# gobject-introspection is mandatory and cannot be configured
34REQUIRED_DISTRO_FEATURES += "gobject-introspection-data" 34REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
35 35
36SRC_URI[archive.sha256sum] = "b467575f8c159d20557258517f0dd68dfd0147d11b48d97ab8e1f709bc522a63" 36SRC_URI[archive.sha256sum] = "4184d01a1ab82cb421d1ca2e2bcce0292ceb46c4c749e61b0bde4b75004d2e00"
37SRC_URI += "file://0001-Introduce-options-gjs_path-to-optionally-set-path-to.patch"
38 37
39PACKAGECONFIG ??= "bluetooth nm ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" 38PACKAGECONFIG ??= "bluetooth nm ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
40PACKAGECONFIG[bluetooth] = ",,gnome-bluetooth" 39PACKAGECONFIG[bluetooth] = ",,gnome-bluetooth"
41PACKAGECONFIG[nm] = "-Dnetworkmanager=true, -Dnetworkmanager=false,networkmanager libsecret,networkmanager" 40PACKAGECONFIG[nm] = "-Dnetworkmanager=true, -Dnetworkmanager=false,networkmanager libsecret,networkmanager"
42PACKAGECONFIG[systemd] = "-Dsystemd=true, -Dsystemd=false, systemd" 41PACKAGECONFIG[systemd] = "-Dsystemd=true, -Dsystemd=false, systemd"
43 42
44EXTRA_OEMESON = " \ 43EXTRA_OEMESON += " \
45 -Dgjs_path=${bindir}/gjs \
46 -Dextensions-app:gjs_path=${bindir}/gjs \
47 -Dtests=false \ 44 -Dtests=false \
48 -Dman=false \ 45 -Dman=false \
46 --cross-file=${WORKDIR}/meson-${PN}.cross \
49" 47"
50 48
49do_write_config:append() {
50 cat >${WORKDIR}/meson-${PN}.cross <<EOF
51[binaries]
52gjs = '${bindir}/gjs'
53EOF
54}
55
51do_install:append() { 56do_install:append() {
52 # fix shebangs 57 # fix shebangs
53 for tool in `find ${D}${bindir} -name '*-tool'`; do 58 for tool in `find ${D}${bindir} -name '*-tool'`; do