unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#72699] [PATCH 1/5] gnu: Add rust-pipewire-sys-0.7.
       [not found] <cover.1723990412.git.sergio.pastorperez@outlook.es>
@ 2024-08-18 16:33 ` Sergio Pastor Pérez
  2024-08-18 16:33 ` [bug#72699] [PATCH 2/5] gnu: Add rust-pipewire-0.7 Sergio Pastor Pérez
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Sergio Pastor Pérez @ 2024-08-18 16:33 UTC (permalink / raw)
  To: 72699; +Cc: Sergio Pastor Pérez, Efraim Flashner

* gnu/packages/crates-io.scm (rust-pipewire-sys-0.7): New variable.

Change-Id: Ica34a134fdf168725e6eed0ebbe5740df65c4cea
---
 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 22c6136852..b884134e15 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53580,6 +53580,32 @@ (define-public rust-piper-0.1
        #:cargo-development-inputs
        (("rust-futures" ,rust-futures-0.3))))))
 
+(define-public rust-pipewire-sys-0.7
+  (package
+    (name "rust-pipewire-sys")
+    (version "0.7.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pipewire-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0r4z0farzflycgfp6x7z65h57np4l1qnpj4r8z5lcwkkgd70h349"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.66)
+                       ("rust-libspa-sys" ,rust-libspa-sys-0.7)
+                       ("rust-system-deps" ,rust-system-deps-6))))
+    (native-inputs
+     (list pkg-config clang))
+    (inputs
+     (list pipewire))
+    (home-page "https://pipewire.org")
+    (synopsis "Rust FFI bindings for PipeWire")
+    (description
+     "This package provides Rust FFI bindings for @code{PipeWire}.")
+    (license license:expat)))
+
 (define-public rust-pkg-config-0.3
   (package
     (name "rust-pkg-config")
-- 
2.45.2





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

* [bug#72699] [PATCH 2/5] gnu: Add rust-pipewire-0.7.
       [not found] <cover.1723990412.git.sergio.pastorperez@outlook.es>
  2024-08-18 16:33 ` [bug#72699] [PATCH 1/5] gnu: Add rust-pipewire-sys-0.7 Sergio Pastor Pérez
@ 2024-08-18 16:33 ` Sergio Pastor Pérez
  2024-08-18 16:33 ` [bug#72699] [PATCH 3/5] gnu: Add rust-libspa-sys-0.7 Sergio Pastor Pérez
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Sergio Pastor Pérez @ 2024-08-18 16:33 UTC (permalink / raw)
  To: 72699; +Cc: Sergio Pastor Pérez, Efraim Flashner

* gnu/packages/crates-io.scm (rust-pipewire-0.7): New variable.

Change-Id: I1cf5c0e428557d601247761f415111e8fafff594
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b884134e15..16ec2fc45d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53606,6 +53606,37 @@ (define-public rust-pipewire-sys-0.7
      "This package provides Rust FFI bindings for @code{PipeWire}.")
     (license license:expat)))
 
+(define-public rust-pipewire-0.7
+  (package
+    (name "rust-pipewire")
+    (version "0.7.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pipewire" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1sg9cbvhp0s07a337zwli0xm40f8wkvm06d72nsr1s35vp40kl52"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-bitflags" ,rust-bitflags-2)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-libspa" ,rust-libspa-0.7)
+                       ("rust-libspa-sys" ,rust-libspa-sys-0.7)
+                       ("rust-nix" ,rust-nix-0.26)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-pipewire-sys" ,rust-pipewire-sys-0.7)
+                       ("rust-thiserror" ,rust-thiserror-1))))
+    (native-inputs
+     (list pkg-config))
+    (inputs
+     (list pipewire clang))
+    (home-page "https://pipewire.org")
+    (synopsis "Rust bindings for PipeWire")
+    (description "This package provides Rust bindings for @code{PipeWire}.")
+    (license license:expat)))
+
 (define-public rust-pkg-config-0.3
   (package
     (name "rust-pkg-config")
-- 
2.45.2





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

* [bug#72699] [PATCH 3/5] gnu: Add rust-libspa-sys-0.7.
       [not found] <cover.1723990412.git.sergio.pastorperez@outlook.es>
  2024-08-18 16:33 ` [bug#72699] [PATCH 1/5] gnu: Add rust-pipewire-sys-0.7 Sergio Pastor Pérez
  2024-08-18 16:33 ` [bug#72699] [PATCH 2/5] gnu: Add rust-pipewire-0.7 Sergio Pastor Pérez
@ 2024-08-18 16:33 ` Sergio Pastor Pérez
  2024-08-18 16:33 ` [bug#72699] [PATCH 4/5] gnu: Add rust-libspa-0.7 Sergio Pastor Pérez
  2024-08-18 16:33 ` [bug#72699] [PATCH 5/5] gnu: Add helvum Sergio Pastor Pérez
  4 siblings, 0 replies; 6+ messages in thread
From: Sergio Pastor Pérez @ 2024-08-18 16:33 UTC (permalink / raw)
  To: 72699; +Cc: Sergio Pastor Pérez, Efraim Flashner

* gnu/packages/crates-io.scm (rust-libspa-sys-0.7): New variable.

Change-Id: I6686c85521c914c8d0d2d80b7f0967eac2ca2f95
---
 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 16ec2fc45d..176b15e79d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38780,6 +38780,31 @@ (define-public rust-libsensors-sys-0.2
     (description "This package provides Rust bindings to libsensors.")
     (license license:miros)))
 
+(define-public rust-libspa-sys-0.7
+  (package
+    (name "rust-libspa-sys")
+    (version "0.7.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libspa-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0ifkg4k7azfqbz4i1lk31d77nhlc2w36s133yf78a3z7yfihrrxk"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.66)
+                       ("rust-cc" ,rust-cc-1)
+                       ("rust-system-deps" ,rust-system-deps-6))))
+    (native-inputs
+     (list pkg-config clang))
+    (inputs
+     (list pipewire))
+    (home-page "https://pipewire.org")
+    (synopsis "Rust FFI bindings for libspa")
+    (description "This package provides Rust FFI bindings for libspa.")
+    (license license:expat)))
+
 (define-public rust-libsqlite3-sys-0.28
   (package
     (name "rust-libsqlite3-sys")
-- 
2.45.2





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

* [bug#72699] [PATCH 4/5] gnu: Add rust-libspa-0.7.
       [not found] <cover.1723990412.git.sergio.pastorperez@outlook.es>
                   ` (2 preceding siblings ...)
  2024-08-18 16:33 ` [bug#72699] [PATCH 3/5] gnu: Add rust-libspa-sys-0.7 Sergio Pastor Pérez
@ 2024-08-18 16:33 ` Sergio Pastor Pérez
  2024-08-18 16:33 ` [bug#72699] [PATCH 5/5] gnu: Add helvum Sergio Pastor Pérez
  4 siblings, 0 replies; 6+ messages in thread
From: Sergio Pastor Pérez @ 2024-08-18 16:33 UTC (permalink / raw)
  To: 72699; +Cc: Sergio Pastor Pérez, Efraim Flashner

This package needs `rust-pipewire-0.7', which depends on
`rust-libspa-0.7'.

The next patches will add `rust-pipewire-0.7'.

* gnu/packages/crates-io.scm (rust-libspa-0.7): New variable.

Change-Id: I5967c47b9820714b0103c996c4094af8cf530862
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 176b15e79d..3973ea472a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38805,6 +38805,39 @@ (define-public rust-libspa-sys-0.7
     (description "This package provides Rust FFI bindings for libspa.")
     (license license:expat)))
 
+(define-public rust-libspa-0.7
+  (package
+    (name "rust-libspa")
+    (version "0.7.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libspa" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1i58ayw50brjh1a7gzfs9ijwl42lqmq2k4b7c2w1ijnx41q62d04"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ; NOTE: 1 fail, `async_seq_panic' test should panic.
+       #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+                       ("rust-cc" ,rust-cc-1)
+                       ("rust-convert-case" ,rust-convert-case-0.6)
+                       ("rust-cookie-factory" ,rust-cookie-factory-0.3)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-libspa-sys" ,rust-libspa-sys-0.7)
+                       ("rust-nix" ,rust-nix-0.26)
+                       ("rust-nom" ,rust-nom-7)
+                       ("rust-system-deps" ,rust-system-deps-6)
+                       ("rust-pipewire" ,rust-pipewire-0.7))))
+    (native-inputs
+     (list pkg-config clang))
+    (inputs
+     (list pipewire))
+    (home-page "https://pipewire.org")
+    (synopsis "Rust bindings for libspa")
+    (description "This package provides Rust bindings for libspa.")
+    (license license:expat)))
+
 (define-public rust-libsqlite3-sys-0.28
   (package
     (name "rust-libsqlite3-sys")
-- 
2.45.2





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

* [bug#72699] [PATCH 5/5] gnu: Add helvum.
       [not found] <cover.1723990412.git.sergio.pastorperez@outlook.es>
                   ` (3 preceding siblings ...)
  2024-08-18 16:33 ` [bug#72699] [PATCH 4/5] gnu: Add rust-libspa-0.7 Sergio Pastor Pérez
@ 2024-08-18 16:33 ` Sergio Pastor Pérez
  2024-08-20  5:25   ` bug#72699: " Zheng Junjie
  4 siblings, 1 reply; 6+ messages in thread
From: Sergio Pastor Pérez @ 2024-08-18 16:33 UTC (permalink / raw)
  To: 72699; +Cc: Sergio Pastor Pérez, Efraim Flashner

* gnu/packages/rust-apps.scm (helvum): New variable.

Change-Id: Ib2bd52530b3a42e776357f8af9ae5321ade5e0d5
---
 gnu/packages/rust-apps.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 7de25356c7..3fc8d9834e 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -66,6 +66,7 @@ (define-module (gnu packages rust-apps)
   #:use-module (gnu packages crates-crypto)
   #:use-module (gnu packages crates-io)
   #:use-module (gnu packages crates-graphics)
+  #:use-module (gnu packages crates-gtk)
   #:use-module (gnu packages crates-tls)
   #:use-module (gnu packages crates-vcs)
   #:use-module (gnu packages crates-web)
@@ -77,6 +78,7 @@ (define-module (gnu packages rust-apps)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages haskell-xyz)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages ibus)
   #:use-module (gnu packages icu4c)
@@ -855,6 +857,34 @@ (define-public gitui
     (description "This package provides a fast Terminal UI for git.")
     (license license:expat)))
 
+(define-public helvum
+  (package
+    (name "helvum")
+    (version "0.5.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.freedesktop.org/pipewire/helvum")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1q8gkx7djrfdl8fykppsqkxiadsq47v0xhj612nxlrvjz8n77ygn"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-glib" ,rust-glib-0.18)
+                       ("rust-libadwaita" ,rust-libadwaita-0.5)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-pipewire" ,rust-pipewire-0.7))))
+    (native-inputs (list pkg-config clang))
+    (inputs (list glib gtk libadwaita pipewire))
+    (home-page "https://gitlab.freedesktop.org/pipewire/helvum")
+    (synopsis "GTK patchbay for pipewire")
+    (description "This package provides a GTK patchbay for pipewire.")
+    (license license:gpl3)))
+
 (define-public hexyl
   (package
     (name "hexyl")
-- 
2.45.2





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

* bug#72699: [PATCH 5/5] gnu: Add helvum.
  2024-08-18 16:33 ` [bug#72699] [PATCH 5/5] gnu: Add helvum Sergio Pastor Pérez
@ 2024-08-20  5:25   ` Zheng Junjie
  0 siblings, 0 replies; 6+ messages in thread
From: Zheng Junjie @ 2024-08-20  5:25 UTC (permalink / raw)
  To: Sergio Pastor Pérez; +Cc: Efraim Flashner, 72699-done

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

Sergio Pastor Pérez <sergio.pastorperez@outlook.es> writes:

> * gnu/packages/rust-apps.scm (helvum): New variable.
>
> Change-Id: Ib2bd52530b3a42e776357f8af9ae5321ade5e0d5
> ---
>  gnu/packages/rust-apps.scm | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
>
> diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
> index 7de25356c7..3fc8d9834e 100644
> --- a/gnu/packages/rust-apps.scm
> +++ b/gnu/packages/rust-apps.scm
> @@ -66,6 +66,7 @@ (define-module (gnu packages rust-apps)
>    #:use-module (gnu packages crates-crypto)
>    #:use-module (gnu packages crates-io)
>    #:use-module (gnu packages crates-graphics)
> +  #:use-module (gnu packages crates-gtk)
>    #:use-module (gnu packages crates-tls)
>    #:use-module (gnu packages crates-vcs)
>    #:use-module (gnu packages crates-web)
> @@ -77,6 +78,7 @@ (define-module (gnu packages rust-apps)
>    #:use-module (gnu packages freedesktop)
>    #:use-module (gnu packages haskell-xyz)
>    #:use-module (gnu packages glib)
> +  #:use-module (gnu packages gnome)
>    #:use-module (gnu packages gtk)
>    #:use-module (gnu packages ibus)
>    #:use-module (gnu packages icu4c)
> @@ -855,6 +857,34 @@ (define-public gitui
>      (description "This package provides a fast Terminal UI for git.")
>      (license license:expat)))
>  
> +(define-public helvum
> +  (package
> +    (name "helvum")
> +    (version "0.5.1")
> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "https://gitlab.freedesktop.org/pipewire/helvum")
> +             (commit version)))
> +       (file-name (git-file-name name version))
> +       (sha256
> +        (base32 "1q8gkx7djrfdl8fykppsqkxiadsq47v0xhj612nxlrvjz8n77ygn"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +     `(#:cargo-inputs (("rust-glib" ,rust-glib-0.18)
> +                       ("rust-libadwaita" ,rust-libadwaita-0.5)
> +                       ("rust-libc" ,rust-libc-0.2)
> +                       ("rust-log" ,rust-log-0.4)
> +                       ("rust-once-cell" ,rust-once-cell-1)
> +                       ("rust-pipewire" ,rust-pipewire-0.7))))
> +    (native-inputs (list pkg-config clang))
> +    (inputs (list glib gtk libadwaita pipewire))
> +    (home-page "https://gitlab.freedesktop.org/pipewire/helvum")
> +    (synopsis "GTK patchbay for pipewire")
> +    (description "This package provides a GTK patchbay for pipewire.")
> +    (license license:gpl3)))
> +
>  (define-public hexyl
>    (package
>      (name "hexyl")

push, add some phase to install icons and desktop file, and glib-or-gtk wrap.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

end of thread, other threads:[~2024-08-20  5:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <cover.1723990412.git.sergio.pastorperez@outlook.es>
2024-08-18 16:33 ` [bug#72699] [PATCH 1/5] gnu: Add rust-pipewire-sys-0.7 Sergio Pastor Pérez
2024-08-18 16:33 ` [bug#72699] [PATCH 2/5] gnu: Add rust-pipewire-0.7 Sergio Pastor Pérez
2024-08-18 16:33 ` [bug#72699] [PATCH 3/5] gnu: Add rust-libspa-sys-0.7 Sergio Pastor Pérez
2024-08-18 16:33 ` [bug#72699] [PATCH 4/5] gnu: Add rust-libspa-0.7 Sergio Pastor Pérez
2024-08-18 16:33 ` [bug#72699] [PATCH 5/5] gnu: Add helvum Sergio Pastor Pérez
2024-08-20  5:25   ` bug#72699: " Zheng Junjie

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).