unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Steve George <steve@futurile.net>
To: 66717@debbugs.gnu.org
Cc: Steve George <steve@futurile.net>, efraim@flashner.co.il
Subject: [bug#66717] [PATCH 64/64] gnu: Add rust-librespot-playback-0.4
Date: Mon, 23 Oct 2023 23:21:49 +0100	[thread overview]
Message-ID: <27c778e6cf403e722a74d0857b5a64d4ea0afe0a.1698099451.git.steve@futurile.net> (raw)
In-Reply-To: <cover.1698094241.git.steve@futurile.net>

* gnu/packages/crates-io.scm (rust-librespot-playback-0.4): New variable.

-- >8 --
Q: how do I resolve the conflicting Jack versions?

When I try and build from source I get messages that:

* cpal v0.13.5 requires jack-0.8 which requires jack-sys-0.2.3
* librespot-playback v0.4.2 requires jack-10 which requires jack-sys-0.4

I can't find a way to adjust the dependencies:

* librespot 0.4.2 and 0.4.1 both require jack-0.8
* cpal 0.13.x doesn't have a version that relies on jack-0.8
---
 gnu/packages/crates-io.scm | 50 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 19fd141a4f..1e49315cce 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38202,6 +38202,56 @@ (define-public rust-librespot-metadata-0.4
 Spotify.  This package contains the metadata logic.")
     (license license:expat)))
 
+(define-public rust-librespot-playback-0.4
+  (package
+    (name "rust-librespot-playback")
+    (version "0.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "librespot-playback" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1dygnzldvkv1qpagr9nl62hmqh0xfcf4lsva37j0xxy7pjws142i"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(;; conflict in the versions of Jack required by rust-cpal-0.13 and
+       ;; rust-librespot-playback 0.4 means we have to skip building
+       #:skip-build? #t
+       #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
+                       ("rust-futures-executor" ,rust-futures-executor-0.3)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-lewton" ,rust-lewton-0.10)
+                       ("rust-librespot-audio" ,rust-librespot-audio-0.4)
+                       ("rust-librespot-core" ,rust-librespot-core-0.4)
+                       ("rust-librespot-metadata" ,rust-librespot-metadata-0.4)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-ogg" ,rust-ogg-0.8)
+                       ("rust-parking-lot" ,rust-parking-lot-0.12)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-rand-distr" ,rust-rand-distr-0.4)
+                       ("rust-shell-words" ,rust-shell-words-1)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-zerocopy" ,rust-zerocopy-0.6)
+                       ("rust-alsa" ,rust-alsa-0.6)
+                       ("rust-cpal" ,rust-cpal-0.13)
+                       ("rust-glib" ,rust-glib-0.15)
+                       ("rust-gstreamer" ,rust-gstreamer-0.18)
+                       ("rust-gstreamer-app" ,rust-gstreamer-app-0.18)
+                       ("rust-gstreamer-audio" ,rust-gstreamer-audio-0.18)
+                       ("rust-jack" ,rust-jack-0.10)
+                       ("rust-libpulse-binding" ,rust-libpulse-binding-2)
+                       ("rust-libpulse-simple-binding" ,rust-libpulse-simple-binding-2)
+                       ("rust-portaudio-rs" ,rust-portaudio-rs-0.3)
+                       ("rust-rodio" ,rust-rodio-0.15)
+                       ("rust-sdl2" ,rust-sdl2-0.35))))
+    (home-page "https://github.com/librespot-org/librespot")
+    (synopsis "Audio playback for Librespot")
+    (description "Audio playback for Librespot, an open source client
+library for Spotify.")
+    (license license:expat)))
+
 (define-public rust-librespot-protocol-0.4
   (package
     (name "rust-librespot-protocol")
-- 
2.41.0





  parent reply	other threads:[~2023-10-23 22:28 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-23 21:32 [bug#66717] [PATCH 00/64] Series to add rust-librespot-playback-0.4 Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 01/64] gnu: Add rust-ogg Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 02/64] gnu: rust-owning-ref: Update to 0.3.3 Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 03/64] gnu: rust-parking-lot-core: Update to 0.2.14 Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 04/64] gnu: rust-parking-lot: Update to 0.4.8 Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 05/64] gnu: Add rust-rental and rust-rental-impl Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 06/64] gnu: Add rust-al-sys Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 07/64] gnu: Add rust-alto Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 08/64] gnu: Add rust-lewton Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 09/64] gnu: Add rust-alsa-sys Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 10/64] gnu: Add rust-alsa Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 11/64] gnu: rust-alsa: Update to 0.6.0 Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 12/64] gnu: Add rust-coreaudio-rs-0.10 and rust-coreaudio-sys-0.2 Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 13/64] gnu: Add rust-ndk-0.6 & rust-ndk-sys-0.3 Steve George
2023-10-23 22:20 ` [bug#66717] [PATCH 14/64] gnu: Add rust-ndk-glue-0.6 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 15/64] gnu: Add rust-fetch-unroll-0.3 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 16/64] gnu: Add rust-oboe-0.4 and rust-oboe-sys-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 17/64] gnu: Add rust-stdweb-0.1 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 18/64] gnu: Add rust-bindgen-0.56 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 19/64] gnu: Add rust-asyio-sys Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 20/64] gnu: Add rust-jack-0.8 and rust-jack-sys-0.2 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 21/64] gnu: Add rust-hound-3 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 22/64] gnu: Update rust-cache-padded-1 to 1.3.0 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 23/64] gnu: Add rust-ringbuf-0.2 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 24/64] gnu: Add rust-cpal-0.13 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 25/64] gnu: Add rust-option-operations-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 26/64] gnu: Add rust-muldiv-1 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 27/64] gnu: Add rust-pretty-hex Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 28/64] gnu: Add rust-gstreamer-sys-0.18 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 29/64] gnu: Add rust-gstreamer-0.18 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 30/64] gnu: Add rust-gstreamer-base-sys-0.18 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 31/64] gnu: Add rust-gstreamer-base-0.18 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 32/64] gnu: Add rust-gstreamer-app-sys-0.18 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 33/64] gnu: Add rust-gstreamer-app-0.18 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 34/64] gnu: Add rust-array-init-2 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 35/64] gnu: Add rust-gstreamer-audio-sys-0.18 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 36/64] gnu: Add rust-gstreamer-audio-0.18 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 37/64] gnu: Add rust-jack-sys-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 38/64] gnu: Add rust-jack-0.10 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 39/64] gnu: rust-libpulse-sys-1: Update to v1.21.0 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 40/64] gnu: Add rust-libpulse-simple-sys-1 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 41/64] gnu: rust-libpulse-binding-2: Update to 2.28.1 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 42/64] gnu Add rust-libpulse-simple-binding-2 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 43/64] gnu: Add rust-portaudio-sys-0.1 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 44/64] gnu: Add rust-portaudio-rs-0.3 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 45/64] gnu: Add rust-ogg-0.5 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 46/64] gnu: Add rust-mp4parse-0.8 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 47/64] gnu: Add rust-claxon-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 48/64] gnu: Add rust-slice-deque-0.3 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 49/64] gnu: Add rust-minimp3-sys-0.3 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 50/64] gnu: Add rust-minimp3-0.5 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 51/64] gnu: Add rust-symphonia-core-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 52/64] gnu: Add rust-symphonia-metadata-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 53/64] gnu: Add rust-symphonia-utils-xiph-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 54/64] gnu: Add rust-symphonia-bundle-flac-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 55/64] gnu: rust-symphonia-bundle-mp3-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 56/64] gnu: Add rust-symphonia-codec-aac-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 57/64] gnu: Add rust-symphonia-code-pcm-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 58/64] gnu: Add rust-symphonia-codec-vorbis-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 59/64] gnu: Add rust-symphonia-format-iosmp4-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 60/64] gnu: Add rust-symphonia-format-ogg-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 61/64] gnu: Add rust-symphonia-format-wav-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 62/64] gnu: rust-symphonia-0.4 Steve George
2023-10-23 22:21 ` [bug#66717] [PATCH 63/64] gnu: Add rust-rodio-0.15 Steve George
2023-10-23 22:21 ` Steve George [this message]
2023-10-24 11:55 ` bug#66717: [PATCH 00/64] Series to add rust-librespot-playback-0.4 Efraim Flashner

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=27c778e6cf403e722a74d0857b5a64d4ea0afe0a.1698099451.git.steve@futurile.net \
    --to=steve@futurile.net \
    --cc=66717@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).