gjs: upgrade 1.82.1 -> 1.84.1

0001-Support-cross-builds-a-bit-better.patch
0002-meson.build-Do-not-add-dir-installed-tests-when-inst.patch
refreshed for 1.84.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wang Mingyu 2025-03-21 11:39:00 +08:00 committed by Khem Raj
parent 04243f6ee4
commit 46dadaa274
No known key found for this signature in database
GPG Key ID: BB053355919D3314
3 changed files with 11 additions and 12 deletions

View File

@ -1,4 +1,4 @@
From 8e7a25b0171eb60c802168593355354dff7806f5 Mon Sep 17 00:00:00 2001
From b6996f3683f0a1428657636c372ef7af8d0b43ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Wed, 27 Oct 2021 20:18:47 +0200
Subject: [PATCH] Support cross builds a bit better
@ -17,7 +17,7 @@ Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index f3081fc..ac958d3 100644
index a969ce2..1885afc 100644
--- a/meson.build
+++ b/meson.build
@@ -252,6 +252,7 @@ release builds of SpiderMonkey. Try configuring SpiderMonkey with
@ -34,9 +34,9 @@ index f3081fc..ac958d3 100644
endif
+endif # not meson.is_cross_build()
have_printf_alternative_int = cc.compiles('''
#include <stdio.h>
@@ -656,7 +658,7 @@ subdir('installed-tests')
### Check for external programs ################################################
@@ -651,7 +653,7 @@ subdir('installed-tests')
# Note: The test program in test/ needs to be ported
# to Windows before we can build it on Windows.

View File

@ -1,13 +1,12 @@
From 6a70d3ac658988dda49d51ed8b46584b716a9c7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
From d0424474da5d6b6a3360d081886c289852242378 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller=20installed=5Ftests=20is=20false?=
<schnitzeltony@gmail.com>
Date: Wed, 27 Oct 2021 20:04:02 +0200
Subject: [PATCH] meson.build: Do not add dir installed-tests when
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From: =?UTF-8?q?Andreas=20M=C3=BCller=20installed=5Ftests=20is=20false?=
<schnitzeltony@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@ -24,10 +23,10 @@ Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index ac958d3..e773508 100644
index 1885afc..6333c06 100644
--- a/meson.build
+++ b/meson.build
@@ -654,7 +654,9 @@ gi_tests = subproject('gobject-introspection-tests',
@@ -649,7 +649,9 @@ gi_tests = subproject('gobject-introspection-tests',
default_options: ['werror=false', 'cairo=true',
'install_dir=@0@'.format(installed_tests_execdir)])

View File

@ -7,7 +7,7 @@ DEPENDS = "mozjs-128 cairo"
inherit gnomebase gobject-introspection gettext features_check upstream-version-is-even pkgconfig multilib_script
SRC_URI[archive.sha256sum] = "fb39aa5636576de0e5a1171f56a1a5825e2bd1a69972fb120ba78bd109b5693c"
SRC_URI[archive.sha256sum] = "44796b91318dbbe221a13909f00fd872ef92f38c68603e0e3574e46bc6bac32c"
SRC_URI += " \
file://0001-Support-cross-builds-a-bit-better.patch \
file://0002-meson.build-Do-not-add-dir-installed-tests-when-inst.patch \