diff options
-rw-r--r-- | meta-gnome/recipes-gnome/gjs/gjs/0001-Support-cross-builds-a-bit-better.patch | 11 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/gjs/gjs/0002-meson.build-Do-not-add-dir-installed-tests-when-inst.patch | 16 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/gjs/gjs_1.78.0.bb (renamed from meta-gnome/recipes-gnome/gjs/gjs_1.76.1.bb) | 4 |
3 files changed, 19 insertions, 12 deletions
diff --git a/meta-gnome/recipes-gnome/gjs/gjs/0001-Support-cross-builds-a-bit-better.patch b/meta-gnome/recipes-gnome/gjs/gjs/0001-Support-cross-builds-a-bit-better.patch index c46f85b7dc..8ebc8bad87 100644 --- a/meta-gnome/recipes-gnome/gjs/gjs/0001-Support-cross-builds-a-bit-better.patch +++ b/meta-gnome/recipes-gnome/gjs/gjs/0001-Support-cross-builds-a-bit-better.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From fa47185d9c8150a0dcb0ea12b92fcf139edbef35 Mon Sep 17 00:00:00 2001 | 1 | From 95cacf345eaec898a47486fc0d33382f303275aa Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> |
3 | Date: Wed, 27 Oct 2021 20:18:47 +0200 | 3 | Date: Wed, 27 Oct 2021 20:18:47 +0200 |
4 | Subject: [PATCH] Support cross builds a bit better | 4 | Subject: [PATCH] Support cross builds a bit better |
@@ -12,15 +12,16 @@ Content-Transfer-Encoding: 8bit | |||
12 | Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/690] | 12 | Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/690] |
13 | 13 | ||
14 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | 14 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> |
15 | |||
15 | --- | 16 | --- |
16 | meson.build | 4 +++- | 17 | meson.build | 4 +++- |
17 | 1 file changed, 3 insertions(+), 1 deletion(-) | 18 | 1 file changed, 3 insertions(+), 1 deletion(-) |
18 | 19 | ||
19 | diff --git a/meson.build b/meson.build | 20 | diff --git a/meson.build b/meson.build |
20 | index 136e812..f5b91e0 100644 | 21 | index 961660f..86239a4 100644 |
21 | --- a/meson.build | 22 | --- a/meson.build |
22 | +++ b/meson.build | 23 | +++ b/meson.build |
23 | @@ -252,6 +252,7 @@ release builds of SpiderMonkey. Try configuring SpiderMonkey with | 24 | @@ -255,6 +255,7 @@ release builds of SpiderMonkey. Try configuring SpiderMonkey with |
24 | --disable-debug.''') | 25 | --disable-debug.''') |
25 | endif | 26 | endif |
26 | 27 | ||
@@ -28,7 +29,7 @@ index 136e812..f5b91e0 100644 | |||
28 | # Check if a minimal SpiderMonkey program compiles, links, and runs. If not, | 29 | # Check if a minimal SpiderMonkey program compiles, links, and runs. If not, |
29 | # it's most likely the case that SpiderMonkey was configured incorrectly, for | 30 | # it's most likely the case that SpiderMonkey was configured incorrectly, for |
30 | # example by building mozglue as a shared library. | 31 | # example by building mozglue as a shared library. |
31 | @@ -282,6 +283,7 @@ elif minimal_program.returncode() != 0 | 32 | @@ -285,6 +286,7 @@ elif minimal_program.returncode() != 0 |
32 | failed to execute. Most likely you should build it with a different | 33 | failed to execute. Most likely you should build it with a different |
33 | configuration.''' + recommended_configuration) | 34 | configuration.''' + recommended_configuration) |
34 | endif | 35 | endif |
@@ -36,7 +37,7 @@ index 136e812..f5b91e0 100644 | |||
36 | 37 | ||
37 | have_printf_alternative_int = cc.compiles(''' | 38 | have_printf_alternative_int = cc.compiles(''' |
38 | #include <stdio.h> | 39 | #include <stdio.h> |
39 | @@ -682,7 +684,7 @@ subdir('installed-tests') | 40 | @@ -683,7 +685,7 @@ subdir('installed-tests') |
40 | 41 | ||
41 | # Note: The test program in test/ needs to be ported | 42 | # Note: The test program in test/ needs to be ported |
42 | # to Windows before we can build it on Windows. | 43 | # to Windows before we can build it on Windows. |
diff --git a/meta-gnome/recipes-gnome/gjs/gjs/0002-meson.build-Do-not-add-dir-installed-tests-when-inst.patch b/meta-gnome/recipes-gnome/gjs/gjs/0002-meson.build-Do-not-add-dir-installed-tests-when-inst.patch index e281717ea1..f05e52c389 100644 --- a/meta-gnome/recipes-gnome/gjs/gjs/0002-meson.build-Do-not-add-dir-installed-tests-when-inst.patch +++ b/meta-gnome/recipes-gnome/gjs/gjs/0002-meson.build-Do-not-add-dir-installed-tests-when-inst.patch | |||
@@ -1,7 +1,12 @@ | |||
1 | From 2b8aa1ea4a4d1836164c934b1ab2556a32cb5af7 Mon Sep 17 00:00:00 2001 | 1 | From e6889d60891383ce6aa66aa3db30255af58bcf3c Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> |
3 | Date: Wed, 27 Oct 2021 20:04:02 +0200 | 3 | Date: Wed, 27 Oct 2021 20:04:02 +0200 |
4 | Subject: [PATCH] meson.build: Do not add dir installed-tests when | 4 | Subject: [PATCH] meson.build: Do not add dir installed-tests when |
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | ||
5 | installed_tests is false | 10 | installed_tests is false |
6 | MIME-Version: 1.0 | 11 | MIME-Version: 1.0 |
7 | Content-Type: text/plain; charset=UTF-8 | 12 | Content-Type: text/plain; charset=UTF-8 |
@@ -10,17 +15,18 @@ Content-Transfer-Encoding: 8bit | |||
10 | Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/690] | 15 | Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/690] |
11 | 16 | ||
12 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | 17 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> |
18 | |||
13 | --- | 19 | --- |
14 | meson.build | 4 +++- | 20 | meson.build | 4 +++- |
15 | 1 file changed, 3 insertions(+), 1 deletion(-) | 21 | 1 file changed, 3 insertions(+), 1 deletion(-) |
16 | 22 | ||
17 | diff --git a/meson.build b/meson.build | 23 | diff --git a/meson.build b/meson.build |
18 | index f5b91e0..3110530 100644 | 24 | index 86239a4..11c04e2 100644 |
19 | --- a/meson.build | 25 | --- a/meson.build |
20 | +++ b/meson.build | 26 | +++ b/meson.build |
21 | @@ -680,7 +680,9 @@ if not get_option('skip_gtk_tests') | 27 | @@ -681,7 +681,9 @@ endif |
22 | have_gtk4 = dependency('gtk4', required: false).found() | 28 | |
23 | endif | 29 | ### Tests and test setups ###################################################### |
24 | 30 | ||
25 | -subdir('installed-tests') | 31 | -subdir('installed-tests') |
26 | +if get_option('installed_tests') | 32 | +if get_option('installed_tests') |
diff --git a/meta-gnome/recipes-gnome/gjs/gjs_1.76.1.bb b/meta-gnome/recipes-gnome/gjs/gjs_1.78.0.bb index 93711bc3bb..0af9f5600c 100644 --- a/meta-gnome/recipes-gnome/gjs/gjs_1.76.1.bb +++ b/meta-gnome/recipes-gnome/gjs/gjs_1.78.0.bb | |||
@@ -4,11 +4,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8dcea832f6acf45d856abfeb2d51ec48" | |||
4 | 4 | ||
5 | GNOMEBASEBUILDCLASS = "meson" | 5 | GNOMEBASEBUILDCLASS = "meson" |
6 | 6 | ||
7 | DEPENDS = "mozjs-102 cairo" | 7 | DEPENDS = "mozjs-115 cairo" |
8 | 8 | ||
9 | inherit gnomebase gsettings gobject-introspection vala gettext features_check upstream-version-is-even pkgconfig | 9 | inherit gnomebase gsettings gobject-introspection vala gettext features_check upstream-version-is-even pkgconfig |
10 | 10 | ||
11 | SRC_URI[archive.sha256sum] = "7b867c18a9b30333ebbcff9ad3f20299f0372ffad439d49b87d40a1d1798b78d" | 11 | SRC_URI[archive.sha256sum] = "fbaa20e0917668830800f92951688f9fc08f01296affd5cdb4b35f750be27dc9" |
12 | SRC_URI += " \ | 12 | SRC_URI += " \ |
13 | file://0001-Support-cross-builds-a-bit-better.patch \ | 13 | file://0001-Support-cross-builds-a-bit-better.patch \ |
14 | file://0002-meson.build-Do-not-add-dir-installed-tests-when-inst.patch \ | 14 | file://0002-meson.build-Do-not-add-dir-installed-tests-when-inst.patch \ |