summaryrefslogtreecommitdiffstats
path: root/meta-gnome
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2022-04-11 00:35:31 +0200
committerKhem Raj <raj.khem@gmail.com>2022-04-11 07:46:51 -0700
commitb74602b407379f48bfd19e5d42e3f6618bd021e1 (patch)
treeb688e4145d22d0bef0d2873136aaa7a181c16623 /meta-gnome
parent10726b25575d5d7b8200ba9eaa221dfddf240438 (diff)
downloadmeta-openembedded-b74602b407379f48bfd19e5d42e3f6618bd021e1.tar.gz
gnome-shell: upgrade 41.2 -> 42.0
* Backported patch can go * Adding gtk-icon-cache unveiled a misconception: DEPENDS overwrote those added by inherit Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> 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/0001-Introduce-options-gjs_path-to-optionally-set-path-to.patch20
-rw-r--r--meta-gnome/recipes-gnome/gnome-shell/gnome-shell/0001-build-Drop-incorrect-positional-arg.patch81
-rw-r--r--meta-gnome/recipes-gnome/gnome-shell/gnome-shell_42.0.bb (renamed from meta-gnome/recipes-gnome/gnome-shell/gnome-shell_41.2.bb)12
3 files changed, 16 insertions, 97 deletions
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
index 15e3c8c647..4a36625184 100644
--- 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
@@ -19,25 +19,25 @@ Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
19 6 files changed, 25 insertions(+), 4 deletions(-) 19 6 files changed, 25 insertions(+), 4 deletions(-)
20 20
21diff --git a/js/dbusServices/meson.build b/js/dbusServices/meson.build 21diff --git a/js/dbusServices/meson.build b/js/dbusServices/meson.build
22index 68e8bd12d..16efaebe5 100644 22index eb941ed..16efaeb 100644
23--- a/js/dbusServices/meson.build 23--- a/js/dbusServices/meson.build
24+++ b/js/dbusServices/meson.build 24+++ b/js/dbusServices/meson.build
25@@ -27,7 +27,7 @@ foreach service, dir : dbus_services 25@@ -27,7 +27,7 @@ foreach service, dir : dbus_services
26 26
27 serviceconf = configuration_data() 27 serviceconf = configuration_data()
28 serviceconf.set('service', service) 28 serviceconf.set('service', service)
29- serviceconf.set('gjs', gjs.path()) 29- serviceconf.set('gjs', gjs.full_path())
30+ serviceconf.set('gjs', gjs) 30+ serviceconf.set('gjs', gjs)
31 serviceconf.set('pkgdatadir', pkgdatadir) 31 serviceconf.set('pkgdatadir', pkgdatadir)
32 32
33 configure_file( 33 configure_file(
34diff --git a/meson.build b/meson.build 34diff --git a/meson.build b/meson.build
35index d4583ecf2..3448c6312 100644 35index 8d7478f..7c9cc6a 100644
36--- a/meson.build 36--- a/meson.build
37+++ b/meson.build 37+++ b/meson.build
38@@ -138,7 +138,11 @@ endif 38@@ -138,7 +138,11 @@ endif
39 39
40 mutter_typelibdir = mutter_dep.get_pkgconfig_variable('typelibdir') 40 mutter_typelibdir = mutter_dep.get_variable('typelibdir')
41 python = find_program('python3') 41 python = find_program('python3')
42-gjs = find_program('gjs') 42-gjs = find_program('gjs')
43+if get_option('gjs_path') == '' 43+if get_option('gjs_path') == ''
@@ -49,7 +49,7 @@ index d4583ecf2..3448c6312 100644
49 cc = meson.get_compiler('c') 49 cc = meson.get_compiler('c')
50 50
51diff --git a/meson_options.txt b/meson_options.txt 51diff --git a/meson_options.txt b/meson_options.txt
52index f0f2ecf6c..a45f2e453 100644 52index f0f2ecf..a45f2e4 100644
53--- a/meson_options.txt 53--- a/meson_options.txt
54+++ b/meson_options.txt 54+++ b/meson_options.txt
55@@ -45,3 +45,9 @@ option('soup2', 55@@ -45,3 +45,9 @@ option('soup2',
@@ -63,20 +63,20 @@ index f0f2ecf6c..a45f2e453 100644
63+ description: 'Instead of searching gjs executable, configure path' 63+ description: 'Instead of searching gjs executable, configure path'
64+) 64+)
65diff --git a/subprojects/extensions-app/js/meson.build b/subprojects/extensions-app/js/meson.build 65diff --git a/subprojects/extensions-app/js/meson.build b/subprojects/extensions-app/js/meson.build
66index f311db6e0..8f7bba4e4 100644 66index ce2a776..8f7bba4 100644
67--- a/subprojects/extensions-app/js/meson.build 67--- a/subprojects/extensions-app/js/meson.build
68+++ b/subprojects/extensions-app/js/meson.build 68+++ b/subprojects/extensions-app/js/meson.build
69@@ -9,7 +9,7 @@ endif 69@@ -9,7 +9,7 @@ endif
70 launcherconf.set('prefix', prefix) 70 launcherconf.set('prefix', prefix)
71 launcherconf.set('libdir', libdir) 71 launcherconf.set('libdir', libdir)
72 launcherconf.set('pkgdatadir', pkgdatadir) 72 launcherconf.set('pkgdatadir', pkgdatadir)
73-launcherconf.set('gjs', gjs.path()) 73-launcherconf.set('gjs', gjs.full_path())
74+launcherconf.set('gjs', gjs) 74+launcherconf.set('gjs', gjs)
75 75
76 configure_file( 76 configure_file(
77 input: prgname + '.in', 77 input: prgname + '.in',
78diff --git a/subprojects/extensions-app/meson.build b/subprojects/extensions-app/meson.build 78diff --git a/subprojects/extensions-app/meson.build b/subprojects/extensions-app/meson.build
79index f9ccfc24d..bdf118975 100644 79index c260d7a..c5b7554 100644
80--- a/subprojects/extensions-app/meson.build 80--- a/subprojects/extensions-app/meson.build
81+++ b/subprojects/extensions-app/meson.build 81+++ b/subprojects/extensions-app/meson.build
82@@ -44,7 +44,12 @@ localedir = join_paths(datadir, 'locale') 82@@ -44,7 +44,12 @@ localedir = join_paths(datadir, 'locale')
@@ -94,7 +94,7 @@ index f9ccfc24d..bdf118975 100644
94 desktop_file_validate = find_program('desktop-file-validate', required: false) 94 desktop_file_validate = find_program('desktop-file-validate', required: false)
95 95
96diff --git a/subprojects/extensions-app/meson_options.txt b/subprojects/extensions-app/meson_options.txt 96diff --git a/subprojects/extensions-app/meson_options.txt b/subprojects/extensions-app/meson_options.txt
97index ca2eb4115..2787785bf 100644 97index ca2eb41..2787785 100644
98--- a/subprojects/extensions-app/meson_options.txt 98--- a/subprojects/extensions-app/meson_options.txt
99+++ b/subprojects/extensions-app/meson_options.txt 99+++ b/subprojects/extensions-app/meson_options.txt
100@@ -10,3 +10,9 @@ option('profile', 100@@ -10,3 +10,9 @@ option('profile',
@@ -108,5 +108,5 @@ index ca2eb4115..2787785bf 100644
108+ description: 'Instead of searching gjs executable, configure path' 108+ description: 'Instead of searching gjs executable, configure path'
109+) 109+)
110-- 110--
1112.31.1 1112.34.1
112 112
diff --git a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell/0001-build-Drop-incorrect-positional-arg.patch b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell/0001-build-Drop-incorrect-positional-arg.patch
deleted file mode 100644
index edc32dee6c..0000000000
--- a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell/0001-build-Drop-incorrect-positional-arg.patch
+++ /dev/null
@@ -1,81 +0,0 @@
1From 6f797c21703ce9e996da17c49879e2a16dfbc256 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
3Date: Thu, 23 Dec 2021 17:18:16 +0100
4Subject: [PATCH] build: Drop incorrect positional arg
5
6Unlike other targets that take a name, i18n.merge_file() does not.
7
8Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2078>
9Upstream-Status: Backport
10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
11---
12 data/meson.build | 2 +-
13 src/calendar-server/meson.build | 2 +-
14 subprojects/extensions-app/data/meson.build | 2 +-
15 subprojects/extensions-app/data/metainfo/meson.build | 2 +-
16 subprojects/extensions-tool/src/templates/meson.build | 2 +-
17 5 files changed, 5 insertions(+), 5 deletions(-)
18
19diff --git a/data/meson.build b/data/meson.build
20index f924fdf..76ae45c 100644
21--- a/data/meson.build
22+++ b/data/meson.build
23@@ -16,7 +16,7 @@ desktopconf.set('bindir', bindir)
24 desktopconf.set('systemd_hidden', have_systemd ? 'true' : 'false')
25
26 foreach desktop_file : desktop_files
27- i18n.merge_file('desktop',
28+ i18n.merge_file(
29 input: configure_file(
30 input: desktop_file + '.in.in',
31 output: desktop_file + '.in',
32diff --git a/src/calendar-server/meson.build b/src/calendar-server/meson.build
33index 7363282..8b4ef41 100644
34--- a/src/calendar-server/meson.build
35+++ b/src/calendar-server/meson.build
36@@ -27,7 +27,7 @@ configure_file(
37 install_dir: servicedir
38 )
39
40-i18n.merge_file('evolution-calendar.desktop',
41+i18n.merge_file(
42 input: 'evolution-calendar.desktop.in',
43 output: 'evolution-calendar.desktop',
44 po_dir: po_dir,
45diff --git a/subprojects/extensions-app/data/meson.build b/subprojects/extensions-app/data/meson.build
46index d7e7d40..4b601e8 100644
47--- a/subprojects/extensions-app/data/meson.build
48+++ b/subprojects/extensions-app/data/meson.build
49@@ -14,7 +14,7 @@ desktopconf.set('bindir', bindir)
50 desktopconf.set('app_id', app_id)
51 desktopconf.set('prgname', prgname)
52
53-i18n.merge_file('desktop',
54+i18n.merge_file(
55 input: configure_file(
56 input: base_id + '.desktop.in.in',
57 output: desktop_file + '.in',
58diff --git a/subprojects/extensions-app/data/metainfo/meson.build b/subprojects/extensions-app/data/metainfo/meson.build
59index c4962c0..a19bfa8 100644
60--- a/subprojects/extensions-app/data/metainfo/meson.build
61+++ b/subprojects/extensions-app/data/metainfo/meson.build
62@@ -1,5 +1,5 @@
63 metainfo = app_id + '.metainfo.xml'
64-i18n.merge_file(metainfo,
65+i18n.merge_file(
66 input: base_id + '.metainfo.xml.in',
67 output: metainfo,
68 po_dir: po_dir,
69diff --git a/subprojects/extensions-tool/src/templates/meson.build b/subprojects/extensions-tool/src/templates/meson.build
70index 670e2bf..d693bfa 100644
71--- a/subprojects/extensions-tool/src/templates/meson.build
72+++ b/subprojects/extensions-tool/src/templates/meson.build
73@@ -4,7 +4,7 @@ template_metas = [
74 ]
75 template_deps = []
76 foreach template : template_metas
77- template_deps += i18n.merge_file(template,
78+ template_deps += i18n.merge_file(
79 input: template + '.in',
80 output: template,
81 po_dir: po_dir,
diff --git a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_41.2.bb b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_42.0.bb
index 8d0dba4840..f54d966c73 100644
--- a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_41.2.bb
+++ b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_42.0.bb
@@ -4,10 +4,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
4 4
5GNOMEBASEBUILDCLASS = "meson" 5GNOMEBASEBUILDCLASS = "meson"
6 6
7inherit gnomebase gsettings gettext gobject-introspection features_check bash-completion
8
9REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam"
10
11DEPENDS = " \ 7DEPENDS = " \
12 libxml2-native \ 8 libxml2-native \
13 sassc-native \ 9 sassc-native \
@@ -24,15 +20,19 @@ DEPENDS = " \
24 gsettings-desktop-schemas \ 20 gsettings-desktop-schemas \
25" 21"
26 22
23inherit gnomebase gsettings gettext gobject-introspection gtk-icon-cache features_check bash-completion
24
25REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam"
26
27GTKIC_VERSION = "4"
27GTKDOC_MESON_OPTION = "gtk_doc" 28GTKDOC_MESON_OPTION = "gtk_doc"
28GIR_MESON_OPTION = "" 29GIR_MESON_OPTION = ""
29 30
30# gobject-introspection is mandatory and cannot be configured 31# gobject-introspection is mandatory and cannot be configured
31REQUIRED_DISTRO_FEATURES += "gobject-introspection-data" 32REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
32 33
33SRC_URI[archive.sha256sum] = "384651eb051393dbabe006d1ad057bf29d5cd73ebb87bc779ff5e1c31e80a827" 34SRC_URI[archive.sha256sum] = "33d404fb3c93b9de42984f0110a2969d6a4a7247c27fe7f5e24c67ecfec75094"
34SRC_URI += "file://0001-Introduce-options-gjs_path-to-optionally-set-path-to.patch" 35SRC_URI += "file://0001-Introduce-options-gjs_path-to-optionally-set-path-to.patch"
35SRC_URI += " file://0001-build-Drop-incorrect-positional-arg.patch"
36 36
37PACKAGECONFIG ??= "bluetooth nm ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" 37PACKAGECONFIG ??= "bluetooth nm ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
38PACKAGECONFIG[bluetooth] = ",,gnome-bluetooth" 38PACKAGECONFIG[bluetooth] = ",,gnome-bluetooth"