Github messages for voidlinux
 help / color / mirror / Atom feed
From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: helvum-0.3.4
Date: Mon, 14 Feb 2022 04:17:32 +0100	[thread overview]
Message-ID: <20220214031732.-lFoTFpEq1x_H__iLMQUNJ33oAvFchRhqjRcdJtmP-o@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35591@inbox.vuxu.org>

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

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages helvum
https://github.com/void-linux/void-packages/pull/35591

New package: helvum-0.3.4
<!-- Uncomment relevant sections and delete options which are not applicable -->

closes #35582
closes #34560

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

<!--
#### 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/35591.patch is attached

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

From 32818023534a29e0f57b66622a37c20f9cc291b4 Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@kb6.ee>
Date: Sun, 13 Feb 2022 13:43:49 -0500
Subject: [PATCH] New package: helvum-0.3.4

---
 srcpkgs/helvum/patches/i686-pipewire.patch | 24 ++++++++++++++
 srcpkgs/helvum/template                    | 37 ++++++++++++++++++++++
 2 files changed, 61 insertions(+)
 create mode 100644 srcpkgs/helvum/patches/i686-pipewire.patch
 create mode 100644 srcpkgs/helvum/template

diff --git a/srcpkgs/helvum/patches/i686-pipewire.patch b/srcpkgs/helvum/patches/i686-pipewire.patch
new file mode 100644
index 000000000000..7b87547ea8fe
--- /dev/null
+++ b/srcpkgs/helvum/patches/i686-pipewire.patch
@@ -0,0 +1,24 @@
+From e8703de1c76f50553cedb7a1601e5b808a227604 Mon Sep 17 00:00:00 2001
+From: "Gabor Kecskemeti (sh)" <gabor@simple-help.com>
+Date: Thu, 11 Nov 2021 11:41:09 +0000
+Subject: A possible fix for issue #27
+
+---
+ pipewire/src/loop_.rs | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pipewire/src/loop_.rs b/pipewire/src/loop_.rs
+index 3e0d9bd..353025f 100644
+--- a/pipewire/src/loop_.rs
++++ b/pipewire/src/loop_.rs
+@@ -411,7 +411,7 @@ where
+         fn duration_to_timespec(duration: Duration) -> spa_sys::timespec {
+             spa_sys::timespec {
+                 tv_sec: duration.as_secs().try_into().expect("Duration too long"),
+-                tv_nsec: duration.subsec_nanos().into(),
++                tv_nsec: duration.subsec_nanos().try_into().unwrap(),
+             }
+         }
+ 
+-- 
+
diff --git a/srcpkgs/helvum/template b/srcpkgs/helvum/template
new file mode 100644
index 000000000000..c5d0354dbc0f
--- /dev/null
+++ b/srcpkgs/helvum/template
@@ -0,0 +1,37 @@
+# Template file for 'helvum'
+pkgname=helvum
+version=0.3.4
+revision=1
+build_style=meson
+build_helper=rust
+hostmakedepends="cargo pkg-config gtk4-update-icon-cache desktop-file-utils clang libclang"
+makedepends="rust-std gtk4-devel pipewire-devel glib-devel appstream-glib-devel"
+depends="gtk4 pipewire"
+short_desc="GTK patchbay for pipewire"
+maintainer="classabbyamp <dev@kb6.ee>"
+license="GPL-3.0-only"
+homepage="https://gitlab.freedesktop.org/pipewire/helvum"
+distfiles="https://gitlab.freedesktop.org/pipewire/helvum/-/archive/${version}/helvum-${version}.tar.gz
+ https://gitlab.freedesktop.org/pipewire/pipewire-rs/-/archive/v0.4.1/pipewire-rs-v0.4.1.tar.gz"
+checksum="e19054f3bcd1ba234c451134fe7f4c6afee35f108c122642c1d502fc16785c02
+ 7df384c2a98154ae2cea8e14693db92e269437ea60fbcdfb6adb589226d12629"
+
+# this should not be necessary once the next version of the pipewire crate has been released
+post_extract() {
+	echo "[patch.crates-io]" >> Cargo.toml
+	for crate in pipewire pipewire-sys libspa libspa-sys; do
+		mv ../pipewire-rs-v0.4.1/$crate $crate
+		echo "$crate = { path = './$crate' }" >> Cargo.toml
+	done
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i build/build.ninja -e "s|src/release|src/${CARGO_BUILD_TARGET}/release|"
+	fi
+}
+
+do_clean() {
+	# clean up pipewire-rs
+	rm -rf ${XBPS_BUILDDIR}/pipewire-rs-*
+}

  parent reply	other threads:[~2022-02-14  3:17 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-13 18:44 [PR PATCH] " classabbyamp
2022-02-13 19:11 ` [PR PATCH] [Updated] " classabbyamp
2022-02-13 20:06 ` classabbyamp
2022-02-13 20:19 ` classabbyamp
2022-02-13 20:35 ` dkwo
2022-02-13 20:38 ` dkwo
2022-02-13 21:15 ` [PR PATCH] [Updated] " classabbyamp
2022-02-13 21:18 ` classabbyamp
2022-02-14  0:31 ` [PR PATCH] [Updated] " classabbyamp
2022-02-14  3:17 ` classabbyamp [this message]
2022-02-14  3:18 ` classabbyamp
2022-02-14  9:41 ` dkwo
2022-02-14 16:05 ` classabbyamp
2022-02-15 12:25 ` dkwo
2022-02-19 22:24 ` 0x5c
2022-02-19 22:31 ` classabbyamp
2022-02-20  0:27 ` 0x5c
2022-02-20  1:15 ` [PR PATCH] [Updated] " classabbyamp
2022-02-20  2:00 ` classabbyamp
2022-02-20  8:04 ` 0x5c
2022-02-20 21:32 ` classabbyamp
2022-02-24  5:07 ` [PR PATCH] [Updated] " classabbyamp
2022-02-24  5:47 ` classabbyamp
2022-02-24 20:30 ` classabbyamp
2022-02-27 22:34 ` [PR REVIEW] " paper42
2022-02-27 22:34 ` paper42
2022-02-27 22:57 ` [PR PATCH] [Updated] " classabbyamp
2022-02-27 22:58 ` [PR REVIEW] " classabbyamp
2022-02-27 22:58 ` [PR PATCH] [Updated] " classabbyamp
2022-03-05 23:01 ` classabbyamp
2022-03-06  3:14 ` classabbyamp
2022-03-13 22:54 ` [PR REVIEW] " paper42
2022-03-13 23:20 ` [PR PATCH] [Updated] " classabbyamp
2022-03-13 23:21 ` [PR REVIEW] " classabbyamp
2022-03-13 23:22 ` [PR PATCH] [Updated] " classabbyamp
2022-03-14  7:08 ` [PR PATCH] [Merged]: " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220214031732.-lFoTFpEq1x_H__iLMQUNJ33oAvFchRhqjRcdJtmP-o@z \
    --to=classabbyamp@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).