GNU bug report logs - #61818
Various Ogg Vorbis crates

Previous Next

Package: guix-patches;

Reported by: Steve George <steve <at> futurile.net>

Date: Sun, 26 Feb 2023 16:59:02 UTC

Severity: normal

Done: Steve George <steve <at> futurile.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61818 in the body.
You can then email your comments to 61818 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#61818; Package guix-patches. (Sun, 26 Feb 2023 16:59:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Steve George <steve <at> futurile.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 26 Feb 2023 16:59:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: guix-patches <at> gnu.org
Subject: Various Ogg Vorbis crates
Date: Sun, 26 Feb 2023 16:58:22 +0000
Hi,

First set of crates to complete the dependency tree for 
rust-librespot-audio-core

- rust-vorbisfile-sys
- rust-vorbis-sys
- rust-ogg-sys
- rust-vorbis

- rust-librespot-tremor
- rust-owning-ref
- rust-parking-lot-core (0.2)
- rust-parking-lot (0.4)

- rust-rental-impl
- rust-rental
- rust-alto

- rust-ogg
- rust-lewton




Information forwarded to guix-patches <at> gnu.org:
bug#61818; Package guix-patches. (Sun, 26 Feb 2023 17:10:01 GMT) Full text and rfc822 format available.

Message #8 received at 61818 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 61818 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>, Steve George <steve <at> futurile.net>
Subject: [PATCH 02/14] gnu: Add rust-vorbis-sys.
Date: Sun, 26 Feb 2023 17:09:16 +0000
* gnu/packages/crates-io.scm (rust-vorbis-sys): New variable.
---

 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a0fe36312f..93302c13fb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65865,6 +65865,34 @@ (define-public rust-volatile-register-0.2
 hardware registers.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-vorbis-sys-0.1
+    (package
+      (name "rust-vorbis-sys")
+      (version "0.1.1")
+      (source (origin
+                (method url-fetch)
+                (uri (crate-uri "vorbis-sys" version))
+                (file-name (string-append name "-" version ".tar.gz"))
+                (sha256
+                  (base32 "1zgv7lwa4b2z091g25h83zil8bawk4frc1f0ril5xa31agpxd7mx"))))
+      (build-system cargo-build-system)
+      (arguments
+        `(#:skip-build? #f
+          #:cargo-inputs
+          (("rust-libc" ,rust-libc-0.2)
+           ("rust-ogg-sys" ,rust-ogg-sys-0.0.9)
+           ("rust-cc" ,rust-cc-1)
+           ("rust-gcc" ,rust-gcc-0.3) ;errors if gcc crate isn't specified
+           ("rust-pkg-config" ,rust-pkg-config-0.3))))
+      (home-page "https://github.com/tomaka/vorbis-sys")
+      (synopsis "Rust FFI for the libvorbis library")
+      (description
+        "This package provides a Foreign Function Interface (FFI) for libvorbis.
+Ogg Vorbis is a fully open, non-proprietary, patent and royalty free,
+compressed audio format.  It's used for audio and music at fixed and variable
+bitrates.")
+      (license license:expat)))
+
 (define-public rust-vswhom-0.1
   (package
     (name "rust-vswhom")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61818; Package guix-patches. (Sun, 26 Feb 2023 17:10:02 GMT) Full text and rfc822 format available.

Message #11 received at 61818 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 61818 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>, Steve George <steve <at> futurile.net>
Subject: [PATCH 03/14] gnu: Add rust-vorbisfile-sys.
Date: Sun, 26 Feb 2023 17:09:17 +0000
* gnu/packages/crates-io.scm (rust-vorbisfile-sys): New variable.
---

 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 93302c13fb..1f85876193 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65865,6 +65865,34 @@ (define-public rust-volatile-register-0.2
 hardware registers.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-vorbisfile-sys-0.0.8
+  (package
+    (name "rust-vorbisfile-sys")
+    (version "0.0.8")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "vorbisfile-sys" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "1la2j2zbzdjd93byz21ij58c540bfn1r9pi0bssrjimcw7bhchsg"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build? #f
+        #:cargo-inputs
+        (("rust-libc" ,rust-libc-0.2)
+         ("rust-ogg-sys" ,rust-ogg-sys-0.0.9)
+         ("rust-vorbis-sys" ,rust-vorbis-sys-0.1)
+         ("rust-gcc" ,rust-gcc-0.3)
+         ("rust-pkg-config" ,rust-pkg-config-0.3))))
+    (home-page "https://gitlab.com/taricorp/vorbisfile-rs")
+    (synopsis "Bindings for Ogg Vorbis' Libvorbisfile library")
+    (description "The Vorbisfile library provides a convenient high-level
+API for decoding and basic manipulation of all Vorbis 1 audio streams.
+Libvorbisfile is implemented as a layer on top of Xiph.Org's reference Libogg
+and Libvorbis libraries.")
+    (license license:isc)))
+
 (define-public rust-vorbis-sys-0.1
     (package
       (name "rust-vorbis-sys")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61818; Package guix-patches. (Sun, 26 Feb 2023 17:10:03 GMT) Full text and rfc822 format available.

Message #14 received at 61818 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 61818 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>, Steve George <steve <at> futurile.net>
Subject: [PATCH 01/14] gnu: Add rust-ogg-sys.
Date: Sun, 26 Feb 2023 17:09:15 +0000
* gnu/packages/crates-io.scm (rust-ogg-sys): New variable.
---

 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 310cec113f..a0fe36312f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37620,6 +37620,33 @@ (define-public rust-odds-0.2
         ("rust-memchr" ,rust-memchr-2)
         ("rust-quickcheck" ,rust-quickcheck-0.4))))))
 
+(define-public rust-ogg-sys-0.0.9
+  (package
+    (name "rust-ogg-sys")
+    (version "0.0.9")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "ogg-sys" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+            (sha256
+              (base32 "1cpx6n5ndh2d59g43l6rj3myzi5jsc0n6rldpx0impqp5qbqqnx9"))))
+      (build-system cargo-build-system)
+      (arguments
+        `(#:skip-build? #f
+          #:cargo-inputs
+          (("rust-libc" ,rust-libc-0.2))
+          #:cargo-development-inputs
+          (("rust-gcc" ,rust-gcc-0.3)
+           ("rust-pkg-config" ,rust-pkg-config-0.3))))
+      (home-page "https://github.com/tomaka/ogg-sys")
+      (synopsis "Rust FFI for libogg, the media container.")
+      (description
+        "A Rust Foreign Function Interface (FFI) for libogg.  Ogg is a fully
+open, non-proprietary, patent and royalty free container format used for
+efficient streaming and manipulation of high-quality digital multimedia")
+    (license license:expat)))
+
 (define-public rust-oid-registry-0.2
   (package
     (name "rust-oid-registry")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61818; Package guix-patches. (Sun, 26 Feb 2023 17:11:02 GMT) Full text and rfc822 format available.

Message #17 received at 61818 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 61818 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>, Steve George <steve <at> futurile.net>
Subject: [PATCH 08/14] gnu: Add rust-parking-lot-0.4.
Date: Sun, 26 Feb 2023 17:09:22 +0000
* gnu/packages/crates-io.scm (rust-parking-lot-0.4): New variable.
---

 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 53eaa14a7f..e4aed24782 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39176,6 +39176,27 @@ (define-public rust-parking-lot-0.7
         ("rust-rand" ,rust-rand-0.4)
         ("rust-rustc-version" ,rust-rustc-version-0.2))))))
 
+(define-public rust-parking-lot-0.4
+  (package
+    (inherit rust-parking-lot-0.9)
+    (name "rust-parking-lot")
+    (version "0.4.8")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "parking-lot" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "0ph0kv3dfcxpjbi83wkzammqb7lm95j8in7w7hz17hgkjxdqz78l"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build? #f
+        #:cargo-inputs
+        (("rust-parking-lot-core" ,rust-parking-lot-core-0.2)
+         ("rust-owning-ref" ,rust-owning-ref-0.3))
+        #:cargo-development-inputs
+        (("rust-rand" ,rust-rand-0.3))))))
+
 (define-public rust-parking-lot-core-0.9
   (package
     (name "rust-parking-lot-core")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61818; Package guix-patches. (Sun, 26 Feb 2023 17:11:02 GMT) Full text and rfc822 format available.

Message #20 received at 61818 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 61818 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>, Steve George <steve <at> futurile.net>
Subject: [PATCH 10/14] gnu: Add rust-rental.
Date: Sun, 26 Feb 2023 17:09:24 +0000
* gnu/packages/crates-io.scm (rust-rental): New variable.
---

 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c1bdbf22a6..8770d87f58 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46699,6 +46699,31 @@ (define-public rust-remove-dir-all-0.5.2
        #:cargo-development-inputs
        (("rust-doc-comment" ,rust-doc-comment-0.3))))))
 
+(define-public rust-rental-0.5
+  (package
+    (name "rust-rental")
+    (version "0.5.6")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "rental" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "0bhzz2pfbg0yaw8p1l31bggq4jn077wslf6ifhj22vf3r8mgx2fc"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:tests? #f
+        #:skip-build? #f
+        #:cargo-inputs
+        (("rust-rental-impl" ,rust-rental-impl-0.5)
+         ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))
+    (home-page "https://github.com/jpernst/rental")
+    (synopsis "Macro to generate safe self-referential structs")
+    (description "A macro to generate safe self-referential structs, plus
+premade types for common use-cases.  This crate is frozen and should be
+avoided if possible.")
+        (license (list license:expat license:asl2.0))))
+
 (define-public rust-rental-impl-0.5
   (package
     (name "rust-rental-impl")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61818; Package guix-patches. (Sun, 26 Feb 2023 17:11:03 GMT) Full text and rfc822 format available.

Message #23 received at 61818 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 61818 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>, Steve George <steve <at> futurile.net>
Subject: [PATCH 07/14] gnu: Add rust-parking-lot-core-0.2.
Date: Sun, 26 Feb 2023 17:09:21 +0000
* gnu/packages/crates-io.scm (rust-parking-lot-core-0.2): New variable.
---

 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0edafd5c01..53eaa14a7f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39350,6 +39350,30 @@ (define-public rust-parking-lot-core-0.4
         ("rust-winapi" ,rust-winapi-0.3)
         ("rust-rustc-version" ,rust-rustc-version-0.2))))))
 
+(define-public rust-parking-lot-core-0.2
+  (package
+    (inherit rust-parking-lot-core-0.6)
+    (name "rust-parking-lot-core")
+    (version "0.2.14")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "parking-lot-core" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "1yip8m6npxb87ilnn0q774psp1zd0vgv66fcjkkvr9rlyz6aicad"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build? #f
+        #:cargo-inputs
+        (("rust-libc" ,rust-libc-0.2)
+         ("rust-rand" ,rust-rand-0.4)
+         ("rust-smallvec" ,rust-smallvec-0.6)
+         ("rust-winapi" ,rust-winapi-0.3)
+         ("rust-backtrace" ,rust-backtrace-0.3)
+         ("rust-petgraph" ,rust-petgraph-0.4)
+         ("rust-thread-id" ,rust-thread-id-3))))))
+
 (define-public rust-parquet-5
   (package
     (name "rust-parquet")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61818; Package guix-patches. (Sun, 26 Feb 2023 17:11:03 GMT) Full text and rfc822 format available.

Message #26 received at 61818 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 61818 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>, Steve George <steve <at> futurile.net>
Subject: [PATCH 05/14] gnu: Add rust-librespot-tremor.
Date: Sun, 26 Feb 2023 17:09:19 +0000
* gnu/packages/crates-io.scm (rust-librespot-tremor): New variable.

---
Had to set the package to skip build. It errors saying rust-ogg-sys
can't be built, but it does. Unsure how to debug or fix.

 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 257f35e147..626dfafa8e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30681,6 +30681,32 @@ (define-public rust-libradicl-0.4
 single-cell and single-nucleus sequencing data.")
     (license license:bsd-3)))
 
+(define-public rust-librespot-tremor-0.2
+  (package
+    (name "rust-librespot-tremor")
+    (version "0.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "librespot-tremor" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "1zmld16zawvn7ayrf318lwdr2d7awn4bk9s0d6kpim0mz6zjbxcp"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build? #t ; errors building ogg-sys - though ogg-sys builds
+        #:cargo-inputs
+        (("rust-libc" ,rust-libc-0.2)
+        ("rust-ogg-sys" ,rust-ogg-sys-0.0.9))
+        #:cargo-development-inputs
+        (("rust-cc" ,rust-cc-1)
+        ("rust-pkg-config" ,rust-pkg-config-0.3))))
+    (home-page "https://github.com/librespot-org/librespot-tremor")
+    (synopsis "Rust bindings for Tremor, a fixed point Vorbis decoder")
+    (description "Rust bindings for Tremor, a fixed point decoder for the
+Vorbis audio format.  Used by platforms that can't do floating point maths.")
+    (license license:expat)))
+
 (define-public rust-libsqlite3-sys-0.23
   (package
     (name "rust-libsqlite3-sys")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61818; Package guix-patches. (Sun, 26 Feb 2023 17:11:04 GMT) Full text and rfc822 format available.

Message #29 received at 61818 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 61818 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>, Steve George <steve <at> futurile.net>
Subject: [PATCH 11/14] gnu: Add rust-al-sys.
Date: Sun, 26 Feb 2023 17:09:25 +0000
* gnu/packages/crates-io.scm (rust-al-sys): New variable.
---

 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8770d87f58..0d55a799f6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2543,6 +2543,30 @@ (define-public rust-aliasable-0.1
 types.")
     (license license:expat)))
 
+(define-public rust-al-sys-0.6
+  (package
+    (name "rust-al-sys")
+    (version "0.6.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "al-sys" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "08whlcfrhn4gqi4nbglkdqv5ysdpnvnlsqg51q34q9hh9l7rp3gz"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build? #f
+        #:cargo-inputs
+        (("rust-libloading" ,rust-libloading-0.5)
+         ("rust-rental" ,rust-rental-0.5))
+        #:cargo-development-inputs
+        (("rust-cmake" ,rust-cmake-0.1))))
+        (home-page "https://github.com/jpernst/alto")
+        (synopsis "Raw bindings for OpenAL 1.1")
+        (description "Rust bindings for OpenAL, this crate contains FFI elements.")
+        (license (list license:expat license:asl2.0))))
+
 (define-public rust-alloc-no-stdlib-2
   (package
     (name "rust-alloc-no-stdlib")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61818; Package guix-patches. (Sun, 26 Feb 2023 17:11:04 GMT) Full text and rfc822 format available.

Message #32 received at 61818 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 61818 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>, Steve George <steve <at> futurile.net>
Subject: [PATCH 04/14] gnu: Add rust-vorbis.
Date: Sun, 26 Feb 2023 17:09:18 +0000
* gnu/packages/crates-io.scm (rust-vorbis): New variable.
---

 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1f85876193..257f35e147 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65865,6 +65865,30 @@ (define-public rust-volatile-register-0.2
 hardware registers.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-vorbis-0.0
+  (package
+    (name "rust-vorbis")
+    (version "0.0.14")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "vorbis" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "0xn7diq8qz2zmsmwzg3rcsxmpmm2gj7wgnl2gdan0lq7ax21k2jy"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build? #f
+        #:cargo-inputs
+        (("rust-libc" ,rust-libc-0.2)
+         ("rust-ogg-sys" ,rust-ogg-sys-0.0.9)
+         ("rust-vorbisfile-sys" ,rust-vorbisfile-sys-0.0.8)
+         ("rust-vorbis-sys" ,rust-vorbis-sys-0.1))))
+    (home-page "https://github.com/tomaka/vorbis-rs")
+    (synopsis "High-level bindings for the official Libvorbis library")
+    (description "A simple vorbis decoder in Rust using Libvorbis.")
+    (license license:asl2.0)))
+
 (define-public rust-vorbisfile-sys-0.0.8
   (package
     (name "rust-vorbisfile-sys")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61818; Package guix-patches. (Sun, 26 Feb 2023 17:11:04 GMT) Full text and rfc822 format available.

Message #35 received at 61818 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 61818 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>, Steve George <steve <at> futurile.net>
Subject: [PATCH 06/14] gnu: Add rust-owning-ref-0.3.
Date: Sun, 26 Feb 2023 17:09:20 +0000
* gnu/packages/crates-io.scm (rust-owning-ref-0.3): New variable.
---

 gnu/packages/crates-io.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 626dfafa8e..0edafd5c01 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38588,6 +38588,24 @@ (define-public rust-owning-ref-0.4
 normally prevent moving a type that has been borrowed from.")
     (license license:expat)))
 
+(define-public rust-owning-ref-0.3
+  (package
+    (inherit rust-owning-ref-0.4)
+    (name "rust-owning-ref")
+    (version "0.3.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "owning-ref" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "0dqgf5hwbmvkf2ffbik5xmhvaqvqi6iklhwk9x47n0wycd0lzy6d"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build? #f
+        #:cargo-inputs
+        (("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))))
+
 (define-public rust-packed-simd-0.3
   (package
     (name "rust-packed-simd")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61818; Package guix-patches. (Sun, 26 Feb 2023 17:11:05 GMT) Full text and rfc822 format available.

Message #38 received at 61818 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 61818 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>, Steve George <steve <at> futurile.net>
Subject: [PATCH 12/14] gnu: Add rust-alto.
Date: Sun, 26 Feb 2023 17:09:26 +0000
* gnu/packages/crates-io.scm (rust-alto): New variable.
---

 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0d55a799f6..a632c6d4f3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2611,6 +2611,30 @@ (define-public rust-alloc-stdlib-0.2
 be used with the stdlib.")
     (license license:bsd-3)))
 
+(define-public rust-alto-3
+  (package
+    (name "rust-alto")
+    (version "3.0.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "alto" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "1rgsdmh346s3rwhzqacjc6nz7jap4dd72c1gfmkaq9sgzh9fhnyp"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:tests? #f  ; tests assume Windows
+        #:skip-build? #f
+        #:cargo-inputs
+        (("rust-al-sys" ,rust-al-sys-0.6)
+         ("rust-lazy-static" ,rust-lazy-static-0.2)
+         ("rust-parking-lot" ,rust-parking-lot-0.4))))
+    (home-page "https://github.com/jpernst/alto")
+    (synopsis "Idiomatic Rust bindings for OpenAL 1.1 and extensions (including EFX)")
+    (description "Rust bindings for OpenAL 1.1 and extensions (including EFX).")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-always-assert-0.1
   (package
     (name "rust-always-assert")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61818; Package guix-patches. (Sun, 26 Feb 2023 17:11:05 GMT) Full text and rfc822 format available.

Message #41 received at 61818 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 61818 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>, Steve George <steve <at> futurile.net>
Subject: [PATCH 09/14] gnu: Add rust-rental-impl.
Date: Sun, 26 Feb 2023 17:09:23 +0000
* gnu/packages/crates-io.scm (rust-rental-impl): New variable.
---

 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e4aed24782..c1bdbf22a6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46699,6 +46699,30 @@ (define-public rust-remove-dir-all-0.5.2
        #:cargo-development-inputs
        (("rust-doc-comment" ,rust-doc-comment-0.3))))))
 
+(define-public rust-rental-impl-0.5
+  (package
+    (name "rust-rental-impl")
+    (version "0.5.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "rental-impl" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "1pj0qgmvwwsfwyjqyjxzikkwbwc3vj7hm3hdykr47dy5inbnhpj7"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build? #f
+        #:cargo-inputs
+        (("rust-proc-macro2" ,rust-proc-macro2-1)
+         ("rust-quote" ,rust-quote-1)
+         ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/jpernst/rental")
+    (synopsis "Implementation details of the rust-rental crate")
+    (description "Implementation details for the rust-rental crate.
+Should not be used directly.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-reopen-0.3
   (package
     (name "rust-reopen")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61818; Package guix-patches. (Sun, 26 Feb 2023 17:11:06 GMT) Full text and rfc822 format available.

Message #44 received at 61818 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 61818 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>, Steve George <steve <at> futurile.net>
Subject: [PATCH 13/14] gnu: Add rust-ogg.
Date: Sun, 26 Feb 2023 17:09:27 +0000
* gnu/packages/crates-io.scm (rust-ogg): New variable.
---

 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a632c6d4f3..92dffb8497 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37694,6 +37694,33 @@ (define-public rust-odds-0.2
         ("rust-memchr" ,rust-memchr-2)
         ("rust-quickcheck" ,rust-quickcheck-0.4))))))
 
+(define-public rust-ogg-0.8
+  (package
+    (name "rust-ogg")
+    (version "0.8.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "ogg" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "0vjxmqcv9252aj8byy70iy2krqfjknfcxg11lcyikj11pzlb8lb9"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build? #f
+        #:cargo-inputs
+        (("rust-byteorder" ,rust-byteorder-1)
+         ("rust-bytes" ,rust-bytes-0.4)
+         ("rust-futures" ,rust-futures-0.1)
+         ("rust-tokio-io" ,rust-tokio-io-0.1))
+        #:cargo-development-inputs
+        (("rust-rand" ,rust-rand-0.3))))
+    (home-page "https://github.com/RustAudio/ogg")
+    (synopsis "Ogg container decoder and encoder written in pure Rust")
+    (description "An Ogg decoder and encoder.  Implements the xiph.org Ogg
+spec in pure Rust.")
+    (license license:expat)))
+
 (define-public rust-ogg-sys-0.0.9
   (package
     (name "rust-ogg-sys")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61818; Package guix-patches. (Sun, 26 Feb 2023 17:11:06 GMT) Full text and rfc822 format available.

Message #47 received at 61818 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 61818 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>, Steve George <steve <at> futurile.net>
Subject: [PATCH 14/14] gnu: Add rust-lewton.
Date: Sun, 26 Feb 2023 17:09:28 +0000
* gnu/packages/crates-io.scm (rust-lewton): New variable.

---

 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 92dffb8497..23cb4825a2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29720,6 +29720,35 @@ (define-public rust-lettre-0.9
 sending emails from Rust applications.")
     (license license:expat)))
 
+(define-public rust-lewton-0.10
+  (package
+    (name "rust-lewton")
+    (version "0.10.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "lewton" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "0c60fn004awg5c3cvx82d6na2pirf0qdz9w3b93mbcdakbglhyvp"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build? #f
+        #:cargo-inputs
+        (("rust-byteorder" ,rust-byteorder-1)
+         ("rust-tinyvec" ,rust-tinyvec-1)
+         ("rust-futures" ,rust-futures-0.1)
+         ("rust-ogg" ,rust-ogg-0.8)
+         ("rust-tokio-io" ,rust-tokio-io-0.1))
+        #:cargo-development-inputs
+        (("rust-alto" ,rust-alto-3)
+         ("rust-ogg" ,rust-ogg-0.8))))
+        (home-page "https://github.com/RustAudio/lewton")
+        (synopsis "Pure Rust Vorbis decoder")
+        (description "A pure Rust Vorbis decoder.  Vorbis is a free and open
+source audio format.")
+        (license (list license:expat license:asl2.0))))
+
 (define-public rust-lexical-core-0.8
   (package
     (name "rust-lexical-core")
-- 
2.39.1





Information forwarded to guix-patches <at> gnu.org:
bug#61818; Package guix-patches. (Sat, 03 Jun 2023 09:33:01 GMT) Full text and rfc822 format available.

Message #50 received at 61818 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 61818 <at> debbugs.gnu.org
Subject: Gentle nudge on #61818
Date: Sat, 3 Jun 2023 10:32:02 +0100
Hi,

I don't think you reviewed the crates in #61818 when the rust-branch was 
merged. I checked master and rust-team.

Thanks,

Futurile




Information forwarded to guix-patches <at> gnu.org:
bug#61818; Package guix-patches. (Sun, 04 Jun 2023 07:35:01 GMT) Full text and rfc822 format available.

Message #53 received at 61818 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Steve George <steve <at> futurile.net>
Cc: 61818 <at> debbugs.gnu.org
Subject: Re: [bug#61818] Various Ogg Vorbis crates
Date: Sun, 4 Jun 2023 10:33:55 +0300
[Message part 1 (text/plain, inline)]
On Sun, Feb 26, 2023 at 04:58:22PM +0000, Steve George wrote:
> Hi,
> 
> First set of crates to complete the dependency tree for
> rust-librespot-audio-core
> 
> - rust-vorbisfile-sys
> - rust-vorbis-sys
> - rust-ogg-sys
> - rust-vorbis
> 
> - rust-librespot-tremor
> - rust-owning-ref
> - rust-parking-lot-core (0.2)
> - rust-parking-lot (0.4)
> 
> - rust-rental-impl
> - rust-rental
> - rust-alto
> 
> - rust-ogg
> - rust-lewton

I'm not sure which of these crates are actually necessary. I didn't see
any users of rust-librespot-tremor¹ and I wasn't even really sure where
some of the other crates came into use. Are you trying to package
rust-librespot?

¹ https://crates.io/crates/librespot-tremor/reverse_dependencies

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#61818; Package guix-patches. (Sun, 04 Jun 2023 08:56:02 GMT) Full text and rfc822 format available.

Message #56 received at 61818 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: Efraim Flashner <efraim <at> flashner.co.il>, 61818 <at> debbugs.gnu.org
Subject: Re: [bug#61818] Various Ogg Vorbis crates
Date: Sun, 4 Jun 2023 09:53:54 +0100
Hi,

My overall goal is to package spotifyd. In February, it turned into a 
massive amount of work with over 100 crates. I was starting to find it 
unmanageable so I decided to start contributing the dependencies in 
sections.

This section is in order to package rust-librespot-audio - which along 
with some other 'librespot' packages is a top-level dependency for spotifyd.

This is the tree:

;rust-librespot-audio-0.2
    ;rust-librespot-core-0.2
        ;rust-librespot-protocol-0.2
            ;rust-protobuf-codegen-pure-2.14 ; done
                ;rust-protobuf-codegen-2.14 ; done
                    ;rust-protobuf-2.14 ;done
        ;rust-pbkdf2-0.8
            ;rust-password-hash-0.2
        ;rust-priority-queue-1
        ;rust-shannon-0.2
        rust-hyper-proxy-0.9
            ;rust-tokio-1.23
                ;rust-mio-aio-0.6
                ;rust-mockall-0.11
                    ;rust-downcast-0.11
                    ;rust-fragile-2
                        ;rust-slab-0.4.5
                    ;rust-mockall-derive-0.11
                    ;rust-mockall-double-0.3
                        ;rust-pretty-assertions-0.5
                    ;rust-parking-lot-0.12.1 ; 0.12.1
                        ;rust-lock-api-0.4.6
;        rust-tokio-stream-0.1.1 ;; start here
;    rust-aes-ctr-0.6 ;; patch done
;    rust-lewton-0.10 ;; patch done
;        rust-ogg-0.8 ;; patch done
;        rust-alto-3 ;; patch done
;            rust-al-sys-0.6 ;; patch done
;                rust-rental-0.5
;                    rust-rental-impl-0.5
;            rust-parking-lot-0.4 ;; patch done
;                rust-parking-lot-core-0.2 ;; patch done
;                rust-owning-ref-0.3 ;patch done
;    rust-librespot-tremor-0.2 ;; patch done
;        rust-ogg-sys-0.0.9 ;; patch done
;    rust-vorbis-0.0 ;; patch done
        ;rust-vorbisfile-sys-0.0.8 ;; patch done
            ;rust-vorbis-sys-0.1  ;; patch done
;              ;rust-ogg-sys ;; patch done

I didn't want to send '40' patches, because "as a newbie" it's quite a 
lot to keep on track - the patches, the format of everything, branches 
etc. Sorry if that's not helpful!

Steve


On 04/06/2023 08:33, Efraim Flashner wrote:
> On Sun, Feb 26, 2023 at 04:58:22PM +0000, Steve George wrote:
>> Hi,
>>
>> First set of crates to complete the dependency tree for
>> rust-librespot-audio-core
>>
>> - rust-vorbisfile-sys
>> - rust-vorbis-sys
>> - rust-ogg-sys
>> - rust-vorbis
>>
>> - rust-librespot-tremor
>> - rust-owning-ref
>> - rust-parking-lot-core (0.2)
>> - rust-parking-lot (0.4)
>>
>> - rust-rental-impl
>> - rust-rental
>> - rust-alto
>>
>> - rust-ogg
>> - rust-lewton
> 
> I'm not sure which of these crates are actually necessary. I didn't see
> any users of rust-librespot-tremor¹ and I wasn't even really sure where
> some of the other crates came into use. Are you trying to package
> rust-librespot?
> 
> ¹ https://crates.io/crates/librespot-tremor/reverse_dependencies
> 





Information forwarded to guix-patches <at> gnu.org:
bug#61818; Package guix-patches. (Sun, 04 Jun 2023 09:07:01 GMT) Full text and rfc822 format available.

Message #59 received at 61818 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Steve George <steve <at> futurile.net>
Cc: 61818 <at> debbugs.gnu.org
Subject: Re: [bug#61818] Various Ogg Vorbis crates
Date: Sun, 4 Jun 2023 12:06:12 +0300
[Message part 1 (text/plain, inline)]
On Sun, Jun 04, 2023 at 09:53:54AM +0100, Steve George wrote:
> Hi,
> 
> My overall goal is to package spotifyd. In February, it turned into a
> massive amount of work with over 100 crates. I was starting to find it
> unmanageable so I decided to start contributing the dependencies in
> sections.

As unfortunate as it is to sometimes drop patches, I'd suggest moving to
spotifyd <at> 0.3.5 since it updates the librespot crates to 0.4 and should
result in newer (and hopefully already packaged!) crates being needed.

> This section is in order to package rust-librespot-audio - which along with
> some other 'librespot' packages is a top-level dependency for spotifyd.
> 
> This is the tree:
> 
> ;rust-librespot-audio-0.2
>     ;rust-librespot-core-0.2
>         ;rust-librespot-protocol-0.2
>             ;rust-protobuf-codegen-pure-2.14 ; done
>                 ;rust-protobuf-codegen-2.14 ; done
>                     ;rust-protobuf-2.14 ;done
>         ;rust-pbkdf2-0.8
>             ;rust-password-hash-0.2
>         ;rust-priority-queue-1
>         ;rust-shannon-0.2
>         rust-hyper-proxy-0.9
>             ;rust-tokio-1.23
>                 ;rust-mio-aio-0.6
>                 ;rust-mockall-0.11
>                     ;rust-downcast-0.11
>                     ;rust-fragile-2
>                         ;rust-slab-0.4.5
>                     ;rust-mockall-derive-0.11
>                     ;rust-mockall-double-0.3
>                         ;rust-pretty-assertions-0.5
>                     ;rust-parking-lot-0.12.1 ; 0.12.1
>                         ;rust-lock-api-0.4.6
> ;        rust-tokio-stream-0.1.1 ;; start here
> ;    rust-aes-ctr-0.6 ;; patch done
> ;    rust-lewton-0.10 ;; patch done
> ;        rust-ogg-0.8 ;; patch done
> ;        rust-alto-3 ;; patch done
> ;            rust-al-sys-0.6 ;; patch done
> ;                rust-rental-0.5
> ;                    rust-rental-impl-0.5
> ;            rust-parking-lot-0.4 ;; patch done
> ;                rust-parking-lot-core-0.2 ;; patch done
> ;                rust-owning-ref-0.3 ;patch done
> ;    rust-librespot-tremor-0.2 ;; patch done
> ;        rust-ogg-sys-0.0.9 ;; patch done
> ;    rust-vorbis-0.0 ;; patch done
>         ;rust-vorbisfile-sys-0.0.8 ;; patch done
>             ;rust-vorbis-sys-0.1  ;; patch done
> ;              ;rust-ogg-sys ;; patch done
> 
> I didn't want to send '40' patches, because "as a newbie" it's quite a lot
> to keep on track - the patches, the format of everything, branches etc.
> Sorry if that's not helpful!
> 
> Steve
> 
> 
> On 04/06/2023 08:33, Efraim Flashner wrote:
> > On Sun, Feb 26, 2023 at 04:58:22PM +0000, Steve George wrote:
> > > Hi,
> > > 
> > > First set of crates to complete the dependency tree for
> > > rust-librespot-audio-core
> > > 
> > > - rust-vorbisfile-sys
> > > - rust-vorbis-sys
> > > - rust-ogg-sys
> > > - rust-vorbis
> > > 
> > > - rust-librespot-tremor
> > > - rust-owning-ref
> > > - rust-parking-lot-core (0.2)
> > > - rust-parking-lot (0.4)
> > > 
> > > - rust-rental-impl
> > > - rust-rental
> > > - rust-alto
> > > 
> > > - rust-ogg
> > > - rust-lewton
> > 
> > I'm not sure which of these crates are actually necessary. I didn't see
> > any users of rust-librespot-tremor¹ and I wasn't even really sure where
> > some of the other crates came into use. Are you trying to package
> > rust-librespot?
> > 
> > ¹ https://crates.io/crates/librespot-tremor/reverse_dependencies
> > 
> 

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Message sent on to Steve George <steve <at> futurile.net>:
bug#61818. (Wed, 21 Feb 2024 15:52:02 GMT) Full text and rfc822 format available.

Message #62 received at 61818-submitter <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 61818-submitter <at> debbugs.gnu.org
Subject: Checking if this goes to the submitter
Date: Wed, 21 Feb 2024 15:48:18 +0000
Hi,

This email should come to me, as the original submitter if submitter <at> debbugs.gnu.org works.






Reply sent to Steve George <steve <at> futurile.net>:
You have taken responsibility. (Wed, 21 Feb 2024 16:41:03 GMT) Full text and rfc822 format available.

Notification sent to Steve George <steve <at> futurile.net>:
bug acknowledged by developer. (Wed, 21 Feb 2024 16:41:03 GMT) Full text and rfc822 format available.

Message #67 received at 61818-done <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 61818-done <at> debbugs.gnu.org
Subject: Close bug#61818
Date: Wed, 21 Feb 2024 16:36:42 +0000
These were done in a different series.






bug archived. Request was from Steve George <steve <at> futurile.net> to control <at> debbugs.gnu.org. (Wed, 21 Feb 2024 16:56:01 GMT) Full text and rfc822 format available.

This bug report was last modified 64 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.