Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] gjs: update to 1.70.1.
@ 2022-02-21 16:30 paper42
  2022-02-26 19:25 ` [PR PATCH] [Merged]: " paper42
  0 siblings, 1 reply; 2+ messages in thread
From: paper42 @ 2022-02-21 16:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1212 bytes --]

There is a new pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages gjs-1.70
https://github.com/void-linux/void-packages/pull/35735

gjs: update to 1.70.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/35735.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gjs-1.70-35735.patch --]
[-- Type: text/x-diff, Size: 4209 bytes --]

From 6c5c0cd49f1dda439b70309dbbd4e08b3ae9245b Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Mon, 21 Feb 2022 17:22:13 +0100
Subject: [PATCH] gjs: update to 1.70.1.

---
 srcpkgs/gjs/patches/libatomic.patch | 62 -----------------------------
 srcpkgs/gjs/template                | 20 +++++++---
 2 files changed, 15 insertions(+), 67 deletions(-)
 delete mode 100644 srcpkgs/gjs/patches/libatomic.patch

diff --git a/srcpkgs/gjs/patches/libatomic.patch b/srcpkgs/gjs/patches/libatomic.patch
deleted file mode 100644
index 4c439d6f809a..000000000000
--- a/srcpkgs/gjs/patches/libatomic.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From d68601062729e7cc35dca2ffce84c6d93703a7bf Mon Sep 17 00:00:00 2001
-From: Simon McVittie <smcv@debian.org>
-Date: Fri, 8 Oct 2021 11:42:49 +0100
-Subject: [PATCH] build: Link with libatomic if necessary
-
-The implementation of atomic operations in gcc uses atomic opcodes if
-supported, but falls back to a library implementation if necessary.
-Link that library on architectures where 64-bit atomic operations need it,
-such as Debian armel (ARMv5 EABI softfloat), mipsel and powerpc.
-
-Resolves: https://gitlab.gnome.org/GNOME/gjs/-/issues/442
-Signed-off-by: Simon McVittie <smcv@debian.org>
----
- meson.build | 18 +++++++++++++++++-
- 1 file changed, 17 insertions(+), 1 deletion(-)
-
-diff --git a/meson.build b/meson.build
-index e28c4bf9..ed857d7f 100644
---- a/meson.build
-+++ b/meson.build
-@@ -109,6 +109,8 @@ endif
- 
- ### Check for required libraries ###############################################
- 
-+null_dep = dependency('', required : false)
-+
- # Note: Notify GNOME release team when adding or updating dependencies
- glib_required_version = '>= 2.66.0'
- glib = dependency('glib-2.0', version: glib_required_version,
-@@ -180,6 +182,20 @@ features.''')
-     endif
- endif
- 
-+if cxx.links('''
-+#include <atomic>
-+
-+int main(void)
-+{
-+  std::atomic_int64_t value = ATOMIC_VAR_INIT(0);
-+  return value.load();
-+}
-+''', name: '64-bit atomics built-in')
-+    libatomic = null_dep
-+else
-+    libatomic = cc.find_library('atomic', required: false)
-+endif
-+
- build_profiler = sysprof_capture.found() and not get_option('profiler').disabled()
- profiler_deps = [sysprof_capture]
- if build_profiler and not cxx.has_function('timer_settime')
-@@ -458,7 +474,7 @@ module_resource_srcs = gnome.compile_resources('js-resources',
-     c_name: 'js_resources')
- 
- libgjs_dependencies = [glib, gobject, gthread, gio, gi, ffi, spidermonkey,
--    readline]
-+    readline, libatomic]
- pkg_dependencies = [glib, gobject, gthread, gio, gi, ffi, spidermonkey]
- libraries_private = []
- 
--- 
-GitLab
-
diff --git a/srcpkgs/gjs/template b/srcpkgs/gjs/template
index 4609094a2159..b028c09437bb 100644
--- a/srcpkgs/gjs/template
+++ b/srcpkgs/gjs/template
@@ -1,25 +1,35 @@
 # Template file for 'gjs'
 pkgname=gjs
-version=1.70.0
+version=1.70.1
 revision=1
 build_style=meson
 build_helper="gir qemu"
-configure_args="-Dskip_dbus_tests=true -Dskip_gtk_tests=true
- -Dprofiler=disabled -Dinstalled_tests=false" # Disable tests because they need dbus, X and GTK.
+configure_args="-Dprofiler=disabled -Dinstalled_tests=false"
 hostmakedepends="glib-devel pkg-config"
 makedepends="dbus-glib-devel mozjs78-devel readline-devel sysprof-devel"
+checkdepends="xvfb-run"
 short_desc="Mozilla-based javascript bindings for the GNOME platform"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="MIT, LGPL-2.0-or-later"
-homepage="https://wiki.gnome.org/action/show/Projects/Gjs"
+homepage="https://gitlab.gnome.org/GNOME/gjs"
 changelog="https://gitlab.gnome.org/GNOME/gjs/blob/gnome-41/NEWS"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
-checksum=4b0629341a318a02374e113ab97f9a9f3325423269fc1e0b043a5ffb01861c5f
+checksum=bbdc0eec7cf25fbc534769f6a1fb2c7a18e17b871efdb0ca58e9abf08b28003f
 
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
 fi
 
+if [ "$XBPS_CHECK_PKGS" ]; then
+	hostmakedepends+=" dbus"
+else
+	configure_args+=" -Dskip_dbus_tests=true -Dskip_gtk_tests=true"
+fi
+
+do_check() {
+	xvfb-run ninja -C build test
+}
+
 post_install() {
 	vlicense COPYING
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: gjs: update to 1.70.1.
  2022-02-21 16:30 [PR PATCH] gjs: update to 1.70.1 paper42
@ 2022-02-26 19:25 ` paper42
  0 siblings, 0 replies; 2+ messages in thread
From: paper42 @ 2022-02-26 19:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1060 bytes --]

There's a merged pull request on the void-packages repository

gjs: update to 1.70.1.
https://github.com/void-linux/void-packages/pull/35735

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-26 19:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-21 16:30 [PR PATCH] gjs: update to 1.70.1 paper42
2022-02-26 19:25 ` [PR PATCH] [Merged]: " paper42

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).