diff options
-rw-r--r-- | meta-gnome/recipes-gnome/gjs/gjs/0001-Support-cross-builds-a-bit-better.patch | 10 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/gjs/gjs/0002-meson.build-Do-not-add-dir-installed-tests-when-inst.patch | 19 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/gjs/gjs_1.82.1.bb (renamed from meta-gnome/recipes-gnome/gjs/gjs_1.80.2.bb) | 4 |
3 files changed, 19 insertions, 14 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 12b4b08c7e..c66d42da62 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 8a78a7996b01aba21377ceb7547da673fd30a391 Mon Sep 17 00:00:00 2001 | 1 | From 8e7a25b0171eb60c802168593355354dff7806f5 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 |
@@ -17,10 +17,10 @@ Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | |||
17 | 1 file changed, 3 insertions(+), 1 deletion(-) | 17 | 1 file changed, 3 insertions(+), 1 deletion(-) |
18 | 18 | ||
19 | diff --git a/meson.build b/meson.build | 19 | diff --git a/meson.build b/meson.build |
20 | index c9b26d6..3058e8c 100644 | 20 | index f3081fc..ac958d3 100644 |
21 | --- a/meson.build | 21 | --- a/meson.build |
22 | +++ b/meson.build | 22 | +++ b/meson.build |
23 | @@ -262,6 +262,7 @@ release builds of SpiderMonkey. Try configuring SpiderMonkey with | 23 | @@ -252,6 +252,7 @@ release builds of SpiderMonkey. Try configuring SpiderMonkey with |
24 | --disable-debug.''') | 24 | --disable-debug.''') |
25 | endif | 25 | endif |
26 | 26 | ||
@@ -28,7 +28,7 @@ index c9b26d6..3058e8c 100644 | |||
28 | # Check if a minimal SpiderMonkey program compiles, links, and runs. If not, | 28 | # 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 | 29 | # it's most likely the case that SpiderMonkey was configured incorrectly, for |
30 | # example by building mozglue as a shared library. | 30 | # example by building mozglue as a shared library. |
31 | @@ -292,6 +293,7 @@ elif minimal_program.returncode() != 0 | 31 | @@ -282,6 +283,7 @@ elif minimal_program.returncode() != 0 |
32 | failed to execute. Most likely you should build it with a different | 32 | failed to execute. Most likely you should build it with a different |
33 | configuration.''' + recommended_configuration) | 33 | configuration.''' + recommended_configuration) |
34 | endif | 34 | endif |
@@ -36,7 +36,7 @@ index c9b26d6..3058e8c 100644 | |||
36 | 36 | ||
37 | have_printf_alternative_int = cc.compiles(''' | 37 | have_printf_alternative_int = cc.compiles(''' |
38 | #include <stdio.h> | 38 | #include <stdio.h> |
39 | @@ -690,7 +692,7 @@ subdir('installed-tests') | 39 | @@ -656,7 +658,7 @@ subdir('installed-tests') |
40 | 40 | ||
41 | # Note: The test program in test/ needs to be ported | 41 | # Note: The test program in test/ needs to be ported |
42 | # to Windows before we can build it on Windows. | 42 | # 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 e932f06d27..bca27c33d4 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,12 +1,17 @@ | |||
1 | From 29221ae42e424c6100b8c313d2b61801430c872d Mon Sep 17 00:00:00 2001 | 1 | From 6a70d3ac658988dda49d51ed8b46584b716a9c7c Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller=20installed=5Ftests=20is=20false?= | 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> |
3 | <schnitzeltony@gmail.com> | ||
4 | Date: Wed, 27 Oct 2021 20:04:02 +0200 | 3 | Date: Wed, 27 Oct 2021 20:04:02 +0200 |
5 | Subject: [PATCH] meson.build: Do not add dir installed-tests when | 4 | Subject: [PATCH] meson.build: Do not add dir installed-tests when |
6 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
7 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
8 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
9 | 8 | ||
9 | From: =?UTF-8?q?Andreas=20M=C3=BCller=20installed=5Ftests=20is=20false?= | ||
10 | <schnitzeltony@gmail.com> | ||
11 | MIME-Version: 1.0 | ||
12 | Content-Type: text/plain; charset=UTF-8 | ||
13 | Content-Transfer-Encoding: 8bit | ||
14 | |||
10 | MIME-Version: 1.0 | 15 | MIME-Version: 1.0 |
11 | Content-Type: text/plain; charset=UTF-8 | 16 | Content-Type: text/plain; charset=UTF-8 |
12 | Content-Transfer-Encoding: 8bit | 17 | Content-Transfer-Encoding: 8bit |
@@ -19,12 +24,12 @@ Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | |||
19 | 1 file changed, 3 insertions(+), 1 deletion(-) | 24 | 1 file changed, 3 insertions(+), 1 deletion(-) |
20 | 25 | ||
21 | diff --git a/meson.build b/meson.build | 26 | diff --git a/meson.build b/meson.build |
22 | index 3058e8c..06cf8da 100644 | 27 | index ac958d3..e773508 100644 |
23 | --- a/meson.build | 28 | --- a/meson.build |
24 | +++ b/meson.build | 29 | +++ b/meson.build |
25 | @@ -688,7 +688,9 @@ endif | 30 | @@ -654,7 +654,9 @@ gi_tests = subproject('gobject-introspection-tests', |
26 | 31 | default_options: ['werror=false', 'cairo=true', | |
27 | ### Tests and test setups ###################################################### | 32 | 'install_dir=@0@'.format(installed_tests_execdir)]) |
28 | 33 | ||
29 | -subdir('installed-tests') | 34 | -subdir('installed-tests') |
30 | +if get_option('installed_tests') | 35 | +if get_option('installed_tests') |
diff --git a/meta-gnome/recipes-gnome/gjs/gjs_1.80.2.bb b/meta-gnome/recipes-gnome/gjs/gjs_1.82.1.bb index 1d781d078c..c4bccbe7b0 100644 --- a/meta-gnome/recipes-gnome/gjs/gjs_1.80.2.bb +++ b/meta-gnome/recipes-gnome/gjs/gjs_1.82.1.bb | |||
@@ -3,11 +3,11 @@ LICENSE = "MIT & LGPL-2.0-or-later" | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=8dcea832f6acf45d856abfeb2d51ec48" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=8dcea832f6acf45d856abfeb2d51ec48" |
4 | 4 | ||
5 | 5 | ||
6 | DEPENDS = "mozjs-115 cairo" | 6 | DEPENDS = "mozjs-128 cairo" |
7 | 7 | ||
8 | inherit gnomebase gsettings gobject-introspection gettext features_check upstream-version-is-even pkgconfig | 8 | inherit gnomebase gsettings gobject-introspection gettext features_check upstream-version-is-even pkgconfig |
9 | 9 | ||
10 | SRC_URI[archive.sha256sum] = "135e39c5ac591096233e557cfe577d64093f5054411d47cb2e214bad7d4199bd" | 10 | SRC_URI[archive.sha256sum] = "fb39aa5636576de0e5a1171f56a1a5825e2bd1a69972fb120ba78bd109b5693c" |
11 | SRC_URI += " \ | 11 | SRC_URI += " \ |
12 | file://0001-Support-cross-builds-a-bit-better.patch \ | 12 | file://0001-Support-cross-builds-a-bit-better.patch \ |
13 | file://0002-meson.build-Do-not-add-dir-installed-tests-when-inst.patch \ | 13 | file://0002-meson.build-Do-not-add-dir-installed-tests-when-inst.patch \ |