diff options
| author | Markus Volk <f_l_k@t-online.de> | 2022-03-03 15:09:00 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-03-03 23:07:50 -0800 |
| commit | d69c574e1eb6a59238db6e8944e2cfb73c1ed6a3 (patch) | |
| tree | a11d73c59a335ab25fa759571885aba36687efb2 /meta-gnome/recipes-gnome/gjs | |
| parent | 960409f5a3f2e6985f15cdd51715ddca9cfafae5 (diff) | |
| download | meta-openembedded-d69c574e1eb6a59238db6e8944e2cfb73c1ed6a3.tar.gz | |
gjs: update; customize dependencies
Disable gtk_tests to be able to drop gtk4 dependency
Update mozjs dependency to mozjs-91 since polkit also builds with it.
These changes should reduce the compilation of additional packages and thus save
space and time during build.
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/recipes-gnome/gjs')
| -rw-r--r-- | meta-gnome/recipes-gnome/gjs/gjs/0001-Support-cross-builds-a-bit-better.patch | 17 | ||||
| -rw-r--r-- | meta-gnome/recipes-gnome/gjs/gjs/0002-meson.build-Do-not-add-dir-installed-tests-when-inst.patch | 9 | ||||
| -rw-r--r-- | meta-gnome/recipes-gnome/gjs/gjs_1.71.1.bb (renamed from meta-gnome/recipes-gnome/gjs/gjs_1.70.1.bb) | 5 |
3 files changed, 13 insertions, 18 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 55af681af0..0c45e60957 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 550e98013b0e003c1a6771d8e811375913adf16b Mon Sep 17 00:00:00 2001 | 1 | From fa47185d9c8150a0dcb0ea12b92fcf139edbef35 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 dfcc2c3..192b1b5 100644 | 20 | index 136e812..f5b91e0 100644 |
| 21 | --- a/meson.build | 21 | --- a/meson.build |
| 22 | +++ b/meson.build | 22 | +++ b/meson.build |
| 23 | @@ -234,6 +234,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,15 +28,15 @@ index dfcc2c3..192b1b5 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 | @@ -254,6 +255,7 @@ could not be compiled, linked, or run. Most likely you should build it with a | 31 | @@ -282,6 +283,7 @@ elif minimal_program.returncode() != 0 |
| 32 | different configuration. Check the recommended configuration: | 32 | failed to execute. Most likely you should build it with a different |
| 33 | https://github.com/spidermonkey-embedders/spidermonkey-embedding-examples/blob/esr78/docs/Building%20SpiderMonkey.md''') | 33 | configuration.''' + recommended_configuration) |
| 34 | endif | 34 | endif |
| 35 | +endif # not meson.is_cross_build() | 35 | +endif # not meson.is_cross_build() |
| 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 | @@ -662,7 +664,7 @@ endif | 39 | @@ -682,7 +684,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. |
| @@ -45,6 +45,3 @@ index dfcc2c3..192b1b5 100644 | |||
| 45 | subdir('test') | 45 | subdir('test') |
| 46 | endif | 46 | endif |
| 47 | 47 | ||
| 48 | -- | ||
| 49 | 2.31.1 | ||
| 50 | |||
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 8777d14f53..6e7b5504e8 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,4 +1,4 @@ | |||
| 1 | From 6a29818204e647d5fad68ed7ca8cac53d301cae6 Mon Sep 17 00:00:00 2001 | 1 | From 2b8aa1ea4a4d1836164c934b1ab2556a32cb5af7 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 |
| @@ -15,10 +15,10 @@ Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | |||
| 15 | 1 file changed, 3 insertions(+), 1 deletion(-) | 15 | 1 file changed, 3 insertions(+), 1 deletion(-) |
| 16 | 16 | ||
| 17 | diff --git a/meson.build b/meson.build | 17 | diff --git a/meson.build b/meson.build |
| 18 | index 6878e2e..edbbf79 100644 | 18 | index f5b91e0..3110530 100644 |
| 19 | --- a/meson.build | 19 | --- a/meson.build |
| 20 | +++ b/meson.build | 20 | +++ b/meson.build |
| 21 | @@ -635,7 +635,9 @@ if not get_option('skip_gtk_tests') | 21 | @@ -680,7 +680,9 @@ if not get_option('skip_gtk_tests') |
| 22 | have_gtk4 = dependency('gtk4', required: false).found() | 22 | have_gtk4 = dependency('gtk4', required: false).found() |
| 23 | endif | 23 | endif |
| 24 | 24 | ||
| @@ -29,6 +29,3 @@ index 6878e2e..edbbf79 100644 | |||
| 29 | 29 | ||
| 30 | # Note: The test program in test/ needs to be ported | 30 | # Note: The test program in test/ needs to be ported |
| 31 | # to Windows before we can build it on Windows. | 31 | # to Windows before we can build it on Windows. |
| 32 | -- | ||
| 33 | 2.31.1 | ||
| 34 | |||
diff --git a/meta-gnome/recipes-gnome/gjs/gjs_1.70.1.bb b/meta-gnome/recipes-gnome/gjs/gjs_1.71.1.bb index 90ea140448..9c3d441d1b 100644 --- a/meta-gnome/recipes-gnome/gjs/gjs_1.70.1.bb +++ b/meta-gnome/recipes-gnome/gjs/gjs_1.71.1.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-78 gtk4" | 7 | DEPENDS = "mozjs-91" |
| 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] = "bbdc0eec7cf25fbc534769f6a1fb2c7a18e17b871efdb0ca58e9abf08b28003f" | 11 | SRC_URI[archive.sha256sum] = "f15ad0d45a7d31a1ac4e07479038c0536713cca3c5492ca2f2731c04a3a5f1e9" |
| 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 \ |
| @@ -21,6 +21,7 @@ GIR_MESON_OPTION = "" | |||
| 21 | EXTRA_OEMESON = " \ | 21 | EXTRA_OEMESON = " \ |
| 22 | -Dinstalled_tests=false \ | 22 | -Dinstalled_tests=false \ |
| 23 | -Dskip_dbus_tests=true \ | 23 | -Dskip_dbus_tests=true \ |
| 24 | -Dskip_gtk_tests=true \ | ||
| 24 | " | 25 | " |
| 25 | 26 | ||
| 26 | LDFLAGS:append:mipsarch = " -latomic" | 27 | LDFLAGS:append:mipsarch = " -latomic" |
