[PATCH rust-team] Add rust-aperture-0.3

  • Open
  • quality assurance status badge
Details
2 participants
  • paul
  • Liliana Marie Prikler
Owner
unassigned
Submitted by
paul
Severity
normal
P
(address . guix-patches@gnu.org)
9a8cc70b-9b25-4ccd-90f6-974181067529@autistici.org
Hi Guix,

this is the second patchest required to build GNOME Authenticator in
Guix. It adds rust-aperture-0.3 and dependencies.

This patchset depends on the first and second ones available at:


Thank you for your work and please let me know if I can help get the
review burden easier somehow!

Cheers

giacomo
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 01/40] gnu: Add rust-search-provider-0.8.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
a161eaf11e17153794249a814b41a809efd5a3d5.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-search-provider-0.8): New variable.

Change-Id: I3caa5a13ef6513d2a536b07dc14e6247e18ecf9b
---
gnu/packages/crates-gtk.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 17afb65321..b88632de88 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -4105,6 +4105,31 @@ (define-public rust-pangocairo-sys-0.15
(("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-search-provider-0.8
+ (package
+ (name "rust-search-provider")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "search-provider" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1a683ndxh99sin4lr919wc8aakzgjiqlic1xglf4qs6gfpvs2prq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.20)
+ ("rust-gdk4" ,rust-gdk4-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-zbus" ,rust-zbus-4))))
+ (home-page "https://gitlab.gnome.org/World/Rust/search-provider")
+ (synopsis "Rust wrapper around the GNOME Shell search provider API")
+ (description
+ "This package provides Rust wrapper around the GNOME Shell search provider API.")
+ (license license:gpl3+)))
+
(define-public rust-soup-sys-0.10
(package
(name "rust-soup-sys")

base-commit: baf5c3f0614bd7fd6e60d216e2c202a7761ef522
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 02/40] gnu: Add rust-rust-argon2-2.0.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
7fc9380a6c8d70d7fb620ba032336021a2360657.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-crypto.scm (rust-rust-argon2-2.0): New variable;
(rust-rust-argon2-0.8): inherit from rust-rust-argon2-2.0.

Change-Id: I9636b29a24d317ddeb2b4284a0bdbe382e764a14
---
gnu/packages/crates-crypto.scm | 38 +++++++++++++++++++++++++++-------
1 file changed, 30 insertions(+), 8 deletions(-)

Toggle diff (70 lines)
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index c8ead45efe..2b7a6be465 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -5138,26 +5138,27 @@ (define-public rust-rsa-0.5
("rust-sha2" ,rust-sha2-0.9)
("rust-sha3" ,rust-sha3-0.9))))))
-(define-public rust-rust-argon2-0.8
+(define-public rust-rust-argon2-2.0
(package
(name "rust-rust-argon2")
- (version "0.8.3")
+ (version "2.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rust-argon2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1yvqkv04fqk3cbvyasibr4bqbxa6mij8jdvibakwlcsbjh6q462b"))))
+ (base32 "0sp42kn06wm1mglrfxnv6js0fxjirgdjhhsakrv0xbmk44c9fw8y"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-base64" ,rust-base64-0.13)
- ("rust-blake2b-simd" ,rust-blake2b-simd-0.5)
- ("rust-constant-time-eq" ,rust-constant-time-eq-0.1)
- ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
- ("rust-serde" ,rust-serde-1))))
+ (("rust-base64" ,rust-base64-0.21)
+ ("rust-blake2b-simd" ,rust-blake2b-simd-1)
+ ("rust-constant-time-eq" ,rust-constant-time-eq-0.3)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-hex" ,rust-hex-0.4))))
(home-page "https://github.com/sru-systems/rust-argon2")
(synopsis "Argon2 password hashing function in Rust")
(description
@@ -5165,6 +5166,27 @@ (define-public rust-rust-argon2-0.8
hashing function.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rust-argon2-0.8
+ (package
+ (inherit rust-rust-argon2-2.0)
+ (name "rust-rust-argon2")
+ (version "0.8.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rust-argon2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1yvqkv04fqk3cbvyasibr4bqbxa6mij8jdvibakwlcsbjh6q462b"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.13)
+ ("rust-blake2b-simd" ,rust-blake2b-simd-0.5)
+ ("rust-constant-time-eq" ,rust-constant-time-eq-0.1)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
+ ("rust-serde" ,rust-serde-1))))))
+
(define-public rust-rust-argon2-0.7
(package
(inherit rust-rust-argon2-0.8)
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 03/40] gnu: Add rust-gstreamer-sys-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
3b8c9f20d24f9ff6caa5edae14bfd7a16b864419.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-sys-0.21): New variable;
(rust-gstreamer-sys-0.18): inherit from rust-gstreamer-sys-0.21.

Change-Id: Id35ab854edc7c7007ad1f92105a8107a2a7b43c6
---
gnu/packages/crates-gtk.scm | 33 ++++++++++++++++++++++++++++-----
1 file changed, 28 insertions(+), 5 deletions(-)

Toggle diff (63 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index b88632de88..e53f2e3c63 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2992,21 +2992,24 @@ (define-public rust-gstreamer-base-sys-0.18
(description "FFI bindings to libgstbase-1.0, part of GStreamer.")
(license license:expat)))
-(define-public rust-gstreamer-sys-0.18
+(define-public rust-gstreamer-sys-0.21
(package
(name "rust-gstreamer-sys")
- (version "0.18.0")
+ (version "0.21.2")
(source (origin
(method url-fetch)
(uri (crate-uri "gstreamer-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1qikgp5m3xj41fbfyfl6ckb5i8dxadfvlvj5bf8girn2sdjpllg3"))))
+ "1i1vrqs9ys5y0ljl4nxh1x25dnwlcyh9hiybh4dysviy5dwdlk2n"))))
(build-system cargo-build-system)
(arguments
- (list #:cargo-inputs `(("rust-glib-sys" ,rust-glib-sys-0.15)
- ("rust-gobject-sys" ,rust-gobject-sys-0.15)
+ (list #:tests? #f ;; tests/constant.c:193:20: error:
+ ;; ?GST_ELEMENT_FACTORY_TYPE_TIMESTAMPER? undeclared (first use in this function);
+ ;; did you mean ?GST_ELEMENT_FACTORY_TYPE_MUXER??
+ #:cargo-inputs `(("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.18)
("rust-libc" ,rust-libc-0.2)
("rust-system-deps" ,rust-system-deps-6))
#:cargo-development-inputs `(("rust-shell-words" ,rust-shell-words-1)
@@ -3019,6 +3022,26 @@ (define-public rust-gstreamer-sys-0.18
"Foreign Function Interface (FFI) bindings to libgstreamer-1.0.")
(license license:expat)))
+(define-public rust-gstreamer-sys-0.18
+ (package
+ (inherit rust-gstreamer-sys-0.21)
+ (name "rust-gstreamer-sys")
+ (version "0.18.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1qikgp5m3xj41fbfyfl6ckb5i8dxadfvlvj5bf8girn2sdjpllg3"))))
+ (arguments
+ (list #:cargo-inputs `(("rust-glib-sys" ,rust-glib-sys-0.15)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.15)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs `(("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-gtk-0.14
(package
(name "rust-gtk")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 06/40] gnu: Add rust-gstreamer-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
c4fde09d4bac764d74c682ff16ae992f739e6f35.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-0.21): New variable;
(rust-gstreamer-0.18): inherit from rust-gstreamer-0.21.

Change-Id: Icb016f32975ff6ff7996cdcc793f55177454ea51
---
gnu/packages/crates-gtk.scm | 54 +++++++++++++++++++++++++++++++------
1 file changed, 46 insertions(+), 8 deletions(-)

Toggle diff (101 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index e53f2e3c63..a2e79276cd 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2770,17 +2770,17 @@ (define-public rust-gsk4-sys-0.7
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
-(define-public rust-gstreamer-0.18
+(define-public rust-gstreamer-0.21
(package
(name "rust-gstreamer")
- (version "0.18.8")
+ (version "0.21.3")
(source (origin
(method url-fetch)
(uri (crate-uri "gstreamer" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0mjlnw9917j3wwij8225bjp54k7408lxqjjnh6r6wksyryx66qyn"))))
+ "0mchpvvll5i4ck8zr7aarrz6p975n0dcyy92wksg8ycf9hzp15fy"))))
(build-system cargo-build-system)
(arguments
(list #:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768
@@ -2789,23 +2789,23 @@ (define-public rust-gstreamer-0.18
("rust-futures-channel" ,rust-futures-channel-0.3)
("rust-futures-core" ,rust-futures-core-0.3)
("rust-futures-util" ,rust-futures-util-0.3)
- ("rust-glib" ,rust-glib-0.15)
- ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
("rust-libc" ,rust-libc-0.2)
("rust-muldiv" ,rust-muldiv-1)
("rust-num-integer" ,rust-num-integer-0.1)
("rust-num-rational" ,rust-num-rational-0.4)
("rust-once-cell" ,rust-once-cell-1)
- ("rust-option-operations" ,rust-option-operations-0.4)
+ ("rust-option-operations" ,rust-option-operations-0.5)
("rust-paste" ,rust-paste-1)
- ("rust-pretty-hex" ,rust-pretty-hex-0.3)
+ ("rust-pretty-hex" ,rust-pretty-hex-0.4)
("rust-serde" ,rust-serde-1)
("rust-serde-bytes" ,rust-serde-bytes-0.11)
("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs
`(("rust-futures-executor" ,rust-futures-executor-0.3)
("rust-gir-format-check" ,rust-gir-format-check-0.1)
- ("rust-ron" ,rust-ron-0.7)
+ ("rust-ron" ,rust-ron-0.8)
("rust-serde-json" ,rust-serde-json-1))))
(native-inputs (list pkg-config))
(inputs (list glib gstreamer))
@@ -2814,6 +2814,44 @@ (define-public rust-gstreamer-0.18
(description "Rust bindings for GStreamer.")
(license (list license:expat license:asl2.0))))
+(define-public rust-gstreamer-0.18
+ (package
+ (inherit rust-gstreamer-0.21)
+ (name "rust-gstreamer")
+ (version "0.18.8")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0mjlnw9917j3wwij8225bjp54k7408lxqjjnh6r6wksyryx66qyn"))))
+ (arguments
+ (list #:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768
+ #:cargo-inputs `(("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-glib" ,rust-glib-0.15)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-muldiv" ,rust-muldiv-1)
+ ("rust-num-integer" ,rust-num-integer-0.1)
+ ("rust-num-rational" ,rust-num-rational-0.4)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-option-operations" ,rust-option-operations-0.4)
+ ("rust-paste" ,rust-paste-1)
+ ("rust-pretty-hex" ,rust-pretty-hex-0.3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-bytes" ,rust-serde-bytes-0.11)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs
+ `(("rust-futures-executor" ,rust-futures-executor-0.3)
+ ("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-ron" ,rust-ron-0.7)
+ ("rust-serde-json" ,rust-serde-json-1))))))
+
(define-public rust-gstreamer-app-0.18
(package
(name "rust-gstreamer-app")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 08/40] gnu: Add rust-atomic-refcell-0.1.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
8af9c8b0176b0f826d558234b742f027fc2d8b26.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-io.scm (rust-atomic-refcell-0.1): New variable.

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

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5b42462be6..1c17d49611 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6258,6 +6258,26 @@ (define-public rust-atomic-polyfill-0.1
they're not available.")
(license (list license:expat license:asl2.0))))
+(define-public rust-atomic-refcell-0.1
+ (package
+ (name "rust-atomic-refcell")
+ (version "0.1.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "atomic_refcell" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0z04ng59y22mwf315wamx78ybhjag0x6k7isc36hdgcv63c7rrj1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/bholley/atomic_refcell")
+ (synopsis "Threadsafe RefCell")
+ (description "This package provides Threadsafe @code{RefCell}.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-atomic-take-1
(package
(name "rust-atomic-take")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 04/40] gnu: Add rust-option-operations-0.5.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
6ee089d5e8d39b78a0636587c6064276e6eb30d1.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-io.scm (rust-option-operations-0.5): New variable;
(rust-option-operations-0.4): inherit from rust-option-operations-0.5.

Change-Id: I2068d7a15ede8564638ea5e73e84b47f11221158
---
gnu/packages/crates-io.scm | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)

Toggle diff (49 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 55a2203451..b84031ed60 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51365,17 +51365,17 @@ (define-public rust-option-ext-0.2
(description "Extends `Option` with additional operations")
(license license:mpl2.0)))
-(define-public rust-option-operations-0.4
+(define-public rust-option-operations-0.5
(package
(name "rust-option-operations")
- (version "0.4.1")
+ (version "0.5.0")
(source (origin
(method url-fetch)
(uri (crate-uri "option-operations" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "18jhy5sc56gwdvqc3asr6az685zc9zkgv8p8n69s94bcj6bibc22"))))
+ "1l13n9487gk6063zzjdwzqbig78n8mh6dxsbiq9nbaxfn5xx49kw"))))
(build-system cargo-build-system)
(arguments
(list #:cargo-inputs `(("rust-paste" ,rust-paste-1))))
@@ -51386,6 +51386,21 @@ (define-public rust-option-operations-0.4
usability when dealing with Rust Options.")
(license (list license:expat license:asl2.0))))
+(define-public rust-option-operations-0.4
+ (package
+ (inherit rust-option-operations-0.5)
+ (name "rust-option-operations")
+ (version "0.4.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "option-operations" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "18jhy5sc56gwdvqc3asr6az685zc9zkgv8p8n69s94bcj6bibc22"))))
+ (arguments
+ (list #:cargo-inputs `(("rust-paste" ,rust-paste-1))))))
+
(define-public rust-option-set-0.2
(package
(name "rust-option-set")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 09/40] gnu: Add rust-gstreamer-base-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
8385a3b8899f42531294c6863a9c99bd56770317.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-base-0.21): New variable;
(rust-gstreamer-base-0.18): inherit from rust-gstreamer-base-0.21.

Change-Id: Ic1e4b926f51df7f1e40638881b1ee86cb6b7a4de
---
gnu/packages/crates-gtk.scm | 37 ++++++++++++++++++++++++++++++-------
1 file changed, 30 insertions(+), 7 deletions(-)

Toggle diff (69 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index bbee190a02..cef3465a14 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2975,25 +2975,26 @@ (define-public rust-gstreamer-audio-sys-0.18
(description "FFI bindings to libgstaudio, part of Gstreamer.")
(license license:expat)))
-(define-public rust-gstreamer-base-0.18
+(define-public rust-gstreamer-base-0.21
(package
(name "rust-gstreamer-base")
- (version "0.18.0")
+ (version "0.21.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "gstreamer-base" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0gw6sr75h01y3j6lpxhc7p1frvkba9a4imyyb2ppqh42cprkakr2"))))
+ (base32 "0zqnld0w2jqkz1m5xna3a3nnrpvrchpcrrzdgwim54540ilhn5fb"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768
- #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ #:cargo-inputs (("rust-atomic-refcell" ,rust-atomic-refcell-0.1)
+ ("rust-bitflags" ,rust-bitflags-1)
("rust-cfg-if" ,rust-cfg-if-1)
- ("rust-glib" ,rust-glib-0.15)
- ("rust-gstreamer" ,rust-gstreamer-0.18)
- ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.21)
("rust-libc" ,rust-libc-0.2))
#:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
(native-inputs (list pkg-config))
@@ -3003,6 +3004,28 @@ (define-public rust-gstreamer-base-0.18
(description "Rust bindings for GStreamer Base library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-gstreamer-base-0.18
+ (package
+ (inherit rust-gstreamer-base-0.21)
+ (name "rust-gstreamer-base")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-base" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0gw6sr75h01y3j6lpxhc7p1frvkba9a4imyyb2ppqh42cprkakr2"))))
+ (arguments
+ `(#:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-glib" ,rust-glib-0.15)
+ ("rust-gstreamer" ,rust-gstreamer-0.18)
+ ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+
(define-public rust-gstreamer-base-sys-0.21
(package
(name "rust-gstreamer-base-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 10/40] gnu: Add rust-gstreamer-video-sys-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
68eecee5a3c3496a7115a135efa4b1a14339d22d.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-video-sys-0.21): New variable.

Change-Id: I0b05d82f7cf6e4393104e2a46ebe2bda2e628ef1
---
gnu/packages/crates-gtk.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index cef3465a14..f7bfa84b03 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3124,6 +3124,38 @@ (define-public rust-gstreamer-sys-0.18
#:cargo-development-inputs `(("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gstreamer-video-sys-0.21
+ (package
+ (name "rust-gstreamer-video-sys")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-video-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1vhn7fiibwc2q5h8cjlg44imh8i0xss6nns83r859c76k26k20h3"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; Some symbols are missing, i.e. ?GST_VIDEO_FORMAT_A420_12BE?,
+ ;; ?GST_VIDEO_FORMAT_A420_12LE?, ?GST_VIDEO_FORMAT_A420_16BE?
+ ;; and more.
+ `(#:tests? #f
+ #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.20)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.20)
+ ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.21)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "FFI bindings to libgstvideo-1.0")
+ (description "This package provides FFI bindings to libgstvideo-1.0.")
+ (license license:expat)))
+
(define-public rust-gtk-0.14
(package
(name "rust-gtk")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 05/40] gnu: Add rust-pretty-hex-0.4.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
5d1c899ebd1b951fc4aa7775775f59c38274e936.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-io.scm (rust-pretty-hex-0.4): New variable;
(rust-pretty-hex-0.3): inherit from rust-pretty-hex-0.4.

Change-Id: Ibe9b2dacdfdc78c653b4a7ebafb8bd67c697f801
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++----
1 file changed, 19 insertions(+), 4 deletions(-)

Toggle diff (51 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b84031ed60..5b42462be6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58036,25 +58036,40 @@ (define-public rust-prettyplease-0.1
#:cargo-development-inputs
(("rust-syn" ,rust-syn-1))))))
-(define-public rust-pretty-hex-0.3
+(define-public rust-pretty-hex-0.4
(package
(name "rust-pretty-hex")
- (version "0.3.0")
+ (version "0.4.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "pretty-hex" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1mf8xvlfri4impj2paj4azx7hxh7l0i38cjyib1hiikwvlqhiyn6"))))
+ (base32 "0m0j8pqmh6gq1mq7yzp12z0ix159fw0di5lhiwv2y1j0m3j3xj5v"))))
(build-system cargo-build-system)
(arguments
- (list #:cargo-development-inputs `(("rust-heapless" ,rust-heapless-0.5))))
+ (list #:cargo-development-inputs `(("rust-heapless" ,rust-heapless-0.8))))
(home-page "https://github.com/wolandr/pretty-hex")
(synopsis "Prettified output of hexadecimal byte slices")
(description "Pretty hex dump of byte slices in the common style.")
(license license:expat)))
+(define-public rust-pretty-hex-0.3
+ (package
+ (inherit rust-pretty-hex-0.4)
+ (name "rust-pretty-hex")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pretty-hex" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mf8xvlfri4impj2paj4azx7hxh7l0i38cjyib1hiikwvlqhiyn6"))))
+ (arguments
+ (list #:cargo-development-inputs `(("rust-heapless" ,rust-heapless-0.5))))))
+
(define-public rust-prettytable-rs-0.8
(package
(name "rust-prettytable-rs")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 11/40] gnu: Add rust-gstreamer-check-sys-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
5199fccd1f2eef6c1f65532e13583daeab806d87.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-check-sys-0.21): New variable.

Change-Id: I71d2c1efd7932acfe31a01558de6b765f855d6a0
---
gnu/packages/crates-gtk.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index f7bfa84b03..069e12a038 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3074,6 +3074,33 @@ (define-public rust-gstreamer-base-sys-0.18
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gstreamer-check-sys-0.21
+ (package
+ (name "rust-gstreamer-check-sys")
+ (version "0.21.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-check-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1yvsz1pf4zr9gya7d8mbq3y4qai72iz1hgdxfiqqn136rrazpa6z"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.20)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.20)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "FFI bindings to libgstcheck-1.0")
+ (description "This package provides FFI bindings to libgstcheck-1.0.")
+ (license license:expat)))
+
(define-public rust-gstreamer-sys-0.21
(package
(name "rust-gstreamer-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 12/40] gnu: Add rust-gstreamer-check-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
d951f9df4a99b7a91baa5914ef25e9f822bc8070.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-check-0.21): New variable.

Change-Id: Ifac9fd04ab3116a47d9acc4156810ca8b4c97d8b
---
gnu/packages/crates-gtk.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 069e12a038..4244324298 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3074,6 +3074,31 @@ (define-public rust-gstreamer-base-sys-0.18
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gstreamer-check-0.21
+ (package
+ (name "rust-gstreamer-check")
+ (version "0.21.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-check" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1sf4jiykz4mc45ydlszggfn2ly9liqgvam1cmiiyxz9l58pascj2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib" ,rust-glib-0.20)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-check-sys" ,rust-gstreamer-check-sys-0.21))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for GStreamer Check library")
+ (description
+ "This package provides Rust bindings for GStreamer Check library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gstreamer-check-sys-0.21
(package
(name "rust-gstreamer-check-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 13/40] gnu: Add rust-gstreamer-video-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
79c5ce07e8fbbb44c3450e89588b8d9e57d71ec8.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-video-0.21): New variable.

Change-Id: I15090141bc50a041e3b17a13fdec87e73c4ec5bc
---
gnu/packages/crates-gtk.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)

Toggle diff (48 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 4244324298..91d084f5d0 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3176,6 +3176,41 @@ (define-public rust-gstreamer-sys-0.18
#:cargo-development-inputs `(("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gstreamer-video-0.21
+ (package
+ (name "rust-gstreamer-video")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-video" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1r8mhzb1bq4dnj08f4szgarxd2fvqbakwv400fp9hyiv3m6jlnz8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-glib" ,rust-glib-0.20)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-base" ,rust-gstreamer-base-0.21)
+ ("rust-gstreamer-video-sys" ,rust-gstreamer-video-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-gstreamer-check" ,rust-gstreamer-check-0.21)
+ ("rust-itertools" ,rust-itertools-0.11)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for GStreamer Video library")
+ (description
+ "This package provides Rust bindings for GStreamer Video library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gstreamer-video-sys-0.21
(package
(name "rust-gstreamer-video-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 07/40] gnu: Add rust-gstreamer-base-sys-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
09be455212c33880b953c816c1fb2ed32959ec08.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-base-sys-0.21): New
variable;
(rust-gstreamer-base-sys-0.18): inherit from rust-gstreamer-base-sys-0.21.

Change-Id: Id614a6e2234fac5ad1ab0ff02ec5879f6e081fec
---
gnu/packages/crates-gtk.scm | 33 +++++++++++++++++++++++++++------
1 file changed, 27 insertions(+), 6 deletions(-)

Toggle diff (63 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index a2e79276cd..bbee190a02 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3003,22 +3003,22 @@ (define-public rust-gstreamer-base-0.18
(description "Rust bindings for GStreamer Base library.")
(license (list license:expat license:asl2.0))))
-(define-public rust-gstreamer-base-sys-0.18
+(define-public rust-gstreamer-base-sys-0.21
(package
(name "rust-gstreamer-base-sys")
- (version "0.18.0")
+ (version "0.21.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "gstreamer-base-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "13h79fcn3b9bkg7h8j0vxc1zryp92shbvvk6gkx723il7hy4k0x0"))))
+ (base32 "0r2bb4rmkpxs1l2jy61rn2srqzsp1f8q0k5j55di3zkqj0gp1jpl"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15)
- ("rust-gobject-sys" ,rust-gobject-sys-0.15)
- ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18)
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
("rust-libc" ,rust-libc-0.2)
("rust-system-deps" ,rust-system-deps-6))
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
@@ -3030,6 +3030,27 @@ (define-public rust-gstreamer-base-sys-0.18
(description "FFI bindings to libgstbase-1.0, part of GStreamer.")
(license license:expat)))
+(define-public rust-gstreamer-base-sys-0.18
+ (package
+ (inherit rust-gstreamer-base-sys-0.21)
+ (name "rust-gstreamer-base-sys")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-base-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13h79fcn3b9bkg7h8j0vxc1zryp92shbvvk6gkx723il7hy4k0x0"))))
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.15)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-gstreamer-sys-0.21
(package
(name "rust-gstreamer-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 14/40] gnu: Add rust-gstreamer-audio-sys-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
ff9adfce54414f527764f16dc9df1624fa6e6b39.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-audio-sys-0.21): New
variable;
(rust-gstreamer-audio-sys-0.18): inherit from rust-gstreamer-audio-sys-0.21.

Change-Id: I3a06ef41bb5e2e8a26442c83ab48a250dd5bfd43
---
gnu/packages/crates-gtk.scm | 40 +++++++++++++++++++++++++++++++------
1 file changed, 34 insertions(+), 6 deletions(-)

Toggle diff (74 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 91d084f5d0..47d7a95208 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2944,26 +2944,29 @@ (define-public rust-gstreamer-audio-0.18
(description "Rust bindings for the GStreamer Audio library.")
(license (list license:expat license:asl2.0))))
-(define-public rust-gstreamer-audio-sys-0.18
+(define-public rust-gstreamer-audio-sys-0.21
(package
(name "rust-gstreamer-audio-sys")
- (version "0.18.3")
+ (version "0.21.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "gstreamer-audio-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0z3xryblh75xp08xyw3m6jfz9azarcvl06dd3psc0n65agxmhhm3"))))
+ (base32 "1lamp4s9cl0hhpbfcwdprn36fll6qq4xihrqbf2pfwqpifp99gbq"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-test-flags
+ ;; Some symbols are missing, i.e. ?GstDsdFormat?
+ ;; and more.
+ `(#:tests? #f
+ #:cargo-test-flags
(list "--release" "--"
"--skip=cross_validate_constants_with_c")
#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15)
("rust-gobject-sys" ,rust-gobject-sys-0.15)
- ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18)
- ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18)
+ ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.21)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
("rust-libc" ,rust-libc-0.2)
("rust-system-deps" ,rust-system-deps-6))
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
@@ -2975,6 +2978,31 @@ (define-public rust-gstreamer-audio-sys-0.18
(description "FFI bindings to libgstaudio, part of Gstreamer.")
(license license:expat)))
+(define-public rust-gstreamer-audio-sys-0.18
+ (package
+ (inherit rust-gstreamer-audio-sys-0.21)
+ (name "rust-gstreamer-audio-sys")
+ (version "0.18.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-audio-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0z3xryblh75xp08xyw3m6jfz9azarcvl06dd3psc0n65agxmhhm3"))))
+ (arguments
+ `(#:cargo-test-flags
+ (list "--release" "--"
+ "--skip=cross_validate_constants_with_c")
+ #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.15)
+ ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-gstreamer-base-0.21
(package
(name "rust-gstreamer-base")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 15/40] gnu: Add rust-gstreamer-audio-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
66f7374ffa7213f188c564f53653a9c17f2218bf.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-audio-0.21): New variable;
(rust-gstreamer-audio-0.18): inherit from rust-gstreamer-audio-0.21.

Change-Id: I8c9ca72cb93c50079a8c3ad20dd452dff8a5930d
---
gnu/packages/crates-gtk.scm | 42 ++++++++++++++++++++++++++++++-------
1 file changed, 34 insertions(+), 8 deletions(-)

Toggle diff (79 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 47d7a95208..fe5282dd48 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2912,31 +2912,31 @@ (define-public rust-gstreamer-app-sys-0.18
(description "FFI bindings to libgstapp-1.0, part of Gstreamer.")
(license license:expat)))
-(define-public rust-gstreamer-audio-0.18
+(define-public rust-gstreamer-audio-0.21
(package
(name "rust-gstreamer-audio")
- (version "0.18.7")
+ (version "0.21.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "gstreamer-audio" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0zl0bj03rz19qlrm50w7i5sagh0i0p5d8gr7ig1k6k5yd7k47sww"))))
+ (base32 "0b91wjhhq0harwl7kyfv5l0kwp6w1vklpnpynakv92f8x6jci5vs"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768
#:cargo-inputs (("rust-array-init" ,rust-array-init-2)
("rust-bitflags" ,rust-bitflags-1)
("rust-cfg-if" ,rust-cfg-if-1)
- ("rust-glib" ,rust-glib-0.15)
- ("rust-gstreamer" ,rust-gstreamer-0.18)
- ("rust-gstreamer-audio-sys" ,rust-gstreamer-audio-sys-0.18)
- ("rust-gstreamer-base" ,rust-gstreamer-base-0.18)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-audio-sys" ,rust-gstreamer-audio-sys-0.21)
+ ("rust-gstreamer-base" ,rust-gstreamer-base-0.21)
("rust-libc" ,rust-libc-0.2)
("rust-once-cell" ,rust-once-cell-1))
#:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)
- ("rust-itertools" ,rust-itertools-0.10))))
+ ("rust-itertools" ,rust-itertools-0.11))))
(native-inputs (list pkg-config))
(inputs (list glib gstreamer gst-plugins-base))
(home-page "https://gstreamer.freedesktop.org")
@@ -2944,6 +2944,32 @@ (define-public rust-gstreamer-audio-0.18
(description "Rust bindings for the GStreamer Audio library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-gstreamer-audio-0.18
+ (package
+ (inherit rust-gstreamer-audio-0.21)
+ (name "rust-gstreamer-audio")
+ (version "0.18.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-audio" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0zl0bj03rz19qlrm50w7i5sagh0i0p5d8gr7ig1k6k5yd7k47sww"))))
+ (arguments
+ `(#:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768
+ #:cargo-inputs (("rust-array-init" ,rust-array-init-2)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-glib" ,rust-glib-0.15)
+ ("rust-gstreamer" ,rust-gstreamer-0.18)
+ ("rust-gstreamer-audio-sys" ,rust-gstreamer-audio-sys-0.18)
+ ("rust-gstreamer-base" ,rust-gstreamer-base-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-itertools" ,rust-itertools-0.10))))))
+
(define-public rust-gstreamer-audio-sys-0.21
(package
(name "rust-gstreamer-audio-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 16/40] gnu: Add rust-gstreamer-pbutils-sys-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
2791a6190c76592493f9e42643beb3b4fec4241d.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-pbutils-sys-0.21): New variable.

Change-Id: Ie0a288fcf3c5a3e13b8ace6e6e3151daf80d5625
---
gnu/packages/crates-gtk.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index fe5282dd48..58965e37da 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3180,6 +3180,35 @@ (define-public rust-gstreamer-check-sys-0.21
(description "This package provides FFI bindings to libgstcheck-1.0.")
(license license:expat)))
+(define-public rust-gstreamer-pbutils-sys-0.21
+ (package
+ (name "rust-gstreamer-pbutils-sys")
+ (version "0.21.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-pbutils-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0scx3w02wkyvmq76ia2jr6zhkf24zivn9vyphrcwmj2b8piydakg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.20)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.20)
+ ("rust-gstreamer-audio-sys" ,rust-gstreamer-audio-sys-0.21)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
+ ("rust-gstreamer-video-sys" ,rust-gstreamer-video-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-7))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "FFI bindings to libgstpbutils-1.0")
+ (description "This package provides FFI bindings to libgstpbutils-1.0.")
+ (license license:expat)))
+
(define-public rust-gstreamer-sys-0.21
(package
(name "rust-gstreamer-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 21/40] gnu: Add rust-xkbcommon-sys-1.4.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
590d1960d5c7d32108126d004f7d1eb8fef4f02d.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-graphics.scm (rust-xkbcommon-sys-1.4): New variable.

Change-Id: Iec7dd132ac1b41a59548823ea00987439e9eda78
---
gnu/packages/crates-graphics.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index f08ef1e5b1..ef79f8aabf 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -5900,6 +5900,31 @@ (define-public rust-xkbcommon-dl-0.4
"Dynamically loaded xkbcommon and xkbcommon-x11 Rust bindings.")
(license license:expat)))
+(define-public rust-xkbcommon-sys-1.4
+ (package
+ (name "rust-xkbcommon-sys")
+ (version "1.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xkbcommon-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "142ww452qq0q47fmc4khzsd0fbwmb71fjl7pci573zf83fvdpxsn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.63)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list clang libxkbcommon))
+ (home-page "https://github.com/meh/rust-xkbcommon-sys")
+ (synopsis "Bindings to libxkbcommon")
+ (description "This package provides Bindings to libxkbcommon.")
+ (license license:wtfpl2)))
+
(define-public rust-xkeysym-0.2
(package
(name "rust-xkeysym")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 22/40] gnu: Add rust-xkb-0.3.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
c00a6046e5e1cc0099ce0f9a51086e9782fcf82f.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-graphics.scm (rust-xkb-0.3): New variable.

Change-Id: Ie8a93fc23aae86160a2f47b2e5631fc1e6fc9e50
---
gnu/packages/crates-graphics.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index ef79f8aabf..197f77a724 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -5925,6 +5925,32 @@ (define-public rust-xkbcommon-sys-1.4
(description "This package provides Bindings to libxkbcommon.")
(license license:wtfpl2)))
+(define-public rust-xkb-0.3
+ (package
+ (name "rust-xkb")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xkb" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03rfx8n3pajc95riksnshh3aqm8dqij2iis5icl88pa6ylk9x0gj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-xcb" ,rust-xcb-1)
+ ("rust-xkbcommon-sys" ,rust-xkbcommon-sys-1.4))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list clang libxkbcommon-1.5 mesa))
+ (home-page "https://github.com/meh/rust-xkb")
+ (synopsis "Rusty wrapper around libxkbcommon")
+ (description "This package provides Rusty wrapper around libxkbcommon.")
+ (license license:wtfpl2)))
+
(define-public rust-xkeysym-0.2
(package
(name "rust-xkeysym")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 24/40] gnu: Add rust-gdk4-x11-sys-0.7.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
9e94cf3aa7458ea689c8f8b1bf1fa702b51479ee.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gdk4-x11-sys-0.7): New variable.

Change-Id: Iadf7eaad3d6fe35a38f0e5957651f559509c3b4e
---
gnu/packages/crates-gtk.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 0ac3aba39e..87cf1f045c 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1280,6 +1280,34 @@ (define-public rust-gdk4-wayland-sys-0.7
(description "This package provides FFI bindings of GDK4 Wayland.")
(license license:expat)))
+(define-public rust-gdk4-x11-sys-0.7
+ (package
+ (name "rust-gdk4-x11-sys")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk4-x11-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "09gill32x6qy4s55xjckqvqrfxw4jfjrlcpmd4iijn076w4igpm3"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; tests/manual.h:3:10: fatal error: gdk/gdkx.h: No such file or directory
+ `(#:tests? #f
+ #:cargo-inputs (("rust-gdk4-sys" ,rust-gdk4-sys-0.7)
+ ("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gtk))
+ (home-page "https://gtk-rs.org/gtk4-rs")
+ (synopsis "FFI bindings of GDK4 X11")
+ (description "This package provides FFI bindings of GDK4 X11.")
+ (license license:expat)))
+
(define-public rust-gio-0.20
(package
(name "rust-gio")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 17/40] gnu: Add rust-gstreamer-pbutils-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
f4b840bd216dea4767756af5abf3d82cf6268fbf.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-pbutils-0.21): New variable.

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

Toggle diff (44 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 58965e37da..6a89f576d9 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3180,6 +3180,37 @@ (define-public rust-gstreamer-check-sys-0.21
(description "This package provides FFI bindings to libgstcheck-1.0.")
(license license:expat)))
+(define-public rust-gstreamer-pbutils-0.21
+ (package
+ (name "rust-gstreamer-pbutils")
+ (version "0.21.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-pbutils" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0idr354x9j77q8qrb99r6m6hrpa0z8j97jncqim5m08vhgbij9sb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib" ,rust-glib-0.20)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-audio" ,rust-gstreamer-audio-0.21)
+ ("rust-gstreamer-pbutils-sys" ,rust-gstreamer-pbutils-sys-0.21)
+ ("rust-gstreamer-video" ,rust-gstreamer-video-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for GStreamer Base Utils library")
+ (description
+ "This package provides Rust bindings for GStreamer Base Utils library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gstreamer-pbutils-sys-0.21
(package
(name "rust-gstreamer-pbutils-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 25/40] gnu: Add rust-gdk4-x11-0.7.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
38198dc173b8ec40cd8d0240f01942a98659fb7d.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gdk4-x11-0.7): New variable.

Change-Id: I866b87af5dca4b007ee10ac69b4bd8f61bcba258
---
gnu/packages/crates-gtk.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 87cf1f045c..b554b9aa4e 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1280,6 +1280,35 @@ (define-public rust-gdk4-wayland-sys-0.7
(description "This package provides FFI bindings of GDK4 Wayland.")
(license license:expat)))
+(define-public rust-gdk4-x11-0.7
+ (package
+ (name "rust-gdk4-x11")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk4-x11" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0l54c1m0gsdm07drvy171a0i97ic2kygmzf3fjg4da0yxbwbpj98"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-gdk4" ,rust-gdk4-0.7)
+ ("rust-gdk4-x11-sys" ,rust-gdk4-x11-sys-0.7)
+ ("rust-gio" ,rust-gio-0.18)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-khronos-egl" ,rust-khronos-egl-5)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-x11" ,rust-x11-2))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gtk))
+ (home-page "https://gtk-rs.org/gtk4-rs")
+ (synopsis "Rust bindings of the GDK4 X11 library")
+ (description
+ "This package provides Rust bindings of the GDK4 X11 library.")
+ (license license:expat)))
+
(define-public rust-gdk4-x11-sys-0.7
(package
(name "rust-gdk4-x11-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 26/40] gnu: Add rust-gstreamer-gl-sys-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
d53f01bd365379c3ce29016eb5a3e2c1d3101082.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-gl-sys-0.21): New variable.

Change-Id: I3b3219a80f02a583b7a4a58ef982c9bf7061e8ef
---
gnu/packages/crates-gtk.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index b554b9aa4e..109d0a1be8 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3314,6 +3314,38 @@ (define-public rust-gstreamer-check-sys-0.21
(description "This package provides FFI bindings to libgstcheck-1.0.")
(license license:expat)))
+(define-public rust-gstreamer-gl-sys-0.21
+ (package
+ (name "rust-gstreamer-gl-sys")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-gl-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1kgi8rrlw2qx1p6q9ybk52wxpjn5wscx84lqfg4ng9lr7hdrg06m"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; error: ?GstGLMixerPadClass? undeclared
+ ;; and others
+ `(#:tests? #f
+ #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+ ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.21)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
+ ("rust-gstreamer-video-sys" ,rust-gstreamer-video-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base mesa))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "FFI bindings to libgstgl-1.0")
+ (description "This package provides FFI bindings to libgstgl-1.0.")
+ (license license:expat)))
+
(define-public rust-gstreamer-pbutils-0.21
(package
(name "rust-gstreamer-pbutils")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 28/40] gnu: Add rust-gstreamer-allocators-sys-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
8d290f10ce4e0cd0d52bc436227bb9d6aeb453de.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-allocators-sys-0.21): New variable.

Change-Id: Id2ef49791358b21fc9dd956f0fbeb41186526cf7
---
gnu/packages/crates-gtk.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 5aa1d02cec..a320e8f4aa 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2986,6 +2986,35 @@ (define-public rust-gstreamer-0.18
("rust-ron" ,rust-ron-0.7)
("rust-serde-json" ,rust-serde-json-1))))))
+(define-public rust-gstreamer-allocators-sys-0.21
+ (package
+ (name "rust-gstreamer-allocators-sys")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-allocators-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1brps4xpzigavifcwr6hs6368nilc4l03ivnv13fxb2svdw885f1"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; error: ?GstShmAllocatorClass? undeclared
+ `(#:tests? #f
+ #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "FFI bindings to libgstallocators-1.0")
+ (description "This package provides FFI bindings to libgstallocators-1.0.")
+ (license license:expat)))
+
(define-public rust-gstreamer-app-0.18
(package
(name "rust-gstreamer-app")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 19/40] gnu: Add rust-gdk4-wayland-sys-0.7.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
f13c57994c3e3f875a67709a235923267895a9f1.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gdk4-wayland-sys-0.7): New variable.

Change-Id: I13e5f5e8aa87ac3b541cd1cceef7ac0419f18cd8
---
gnu/packages/crates-gtk.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 9fa9bd47c1..41b8369232 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1224,6 +1224,31 @@ (define-public rust-gdk4-sys-0.7
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gdk4-wayland-sys-0.7
+ (package
+ (name "rust-gdk4-wayland-sys")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk4-wayland-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "092nbn4gk82kbdvji2qnqy181l4pf5i8961bb8nj3q3a4nz5k0fl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gtk))
+ (home-page "https://gtk-rs.org/gtk4-rs")
+ (synopsis "FFI bindings of GDK4 Wayland")
+ (description "This package provides FFI bindings of GDK4 Wayland.")
+ (license license:expat)))
+
(define-public rust-gio-0.20
(package
(name "rust-gio")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 29/40] gnu: Add rust-gstreamer-gl-egl-sys-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
6d0a157a266ae50f6e1d22a1460dfa67d548f353.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-gl-egl-sys-0.21): New variable.

Change-Id: I17c24c591c48af3460fc268dd1ed0e86583e6117
---
gnu/packages/crates-gtk.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (48 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index a320e8f4aa..0fcd0a5f35 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -31,6 +31,7 @@ (define-module (gnu packages crates-gtk)
#:use-module (gnu packages crates-graphics)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-windows)
+ #:use-module (gnu packages gl)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gstreamer)
@@ -3406,6 +3407,33 @@ (define-public rust-gstreamer-gl-sys-0.21
(description "This package provides FFI bindings to libgstgl-1.0.")
(license license:expat)))
+(define-public rust-gstreamer-gl-egl-sys-0.21
+ (package
+ (name "rust-gstreamer-gl-egl-sys")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-gl-egl-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0m79m0lbk2s89cm4vc6ckwkgs9khmh2ri7x3gfgmz2hwy2v8hg7f"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gstreamer-gl-sys" ,rust-gstreamer-gl-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base mesa))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "FFI bindings to libgstgl-1.0 (EGL support)")
+ (description
+ "This package provides FFI bindings to libgstgl-1.0 (EGL support).")
+ (license license:expat)))
+
(define-public rust-gstreamer-pbutils-0.21
(package
(name "rust-gstreamer-pbutils")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 20/40] gnu: Add rust-khronos-egl-5.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
3e13d19f3ba2bc01baefe81df21519a26efaad15.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-graphics.scm (rust-khronos-egl-5): New variable.

Change-Id: I37f5b4e4a08d51e7dd2b7d6638b5f2c8c9e87c90
---
gnu/packages/crates-graphics.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (50 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 6c8e42cdda..f08ef1e5b1 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -16,6 +16,7 @@
;;; Copyright © 2023, 2024 Jaeme Sifat <jaeme@runbox.com>
;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2024 Giacomo Leidi <goodoldpaul@autistici.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2371,6 +2372,35 @@ (define-public rust-keyframe-1
@end enumerate")
(license license:expat)))
+(define-public rust-khronos-egl-5
+ (package
+ (name "rust-khronos-egl")
+ (version "5.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "khronos-egl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qw31jzaly1kcn2smicmcm6g4y5sh0y5l8fnaca85ssaq0b2nf6i"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; error: doctest failed
+ `(#:tests? #f
+ #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-libloading" ,rust-libloading-0.8)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))
+ #:cargo-development-inputs (("rust-gl" ,rust-gl-0.14)
+ ("rust-wayland-client" ,rust-wayland-client-0.28)
+ ("rust-wayland-egl" ,rust-wayland-egl-0.28)
+ ("rust-wayland-protocols" ,rust-wayland-protocols-0.28))))
+ (native-inputs (list pkg-config wayland))
+ (inputs (list mesa))
+ (home-page "https://github.com/timothee-haudebourg/khronos-egl")
+ (synopsis "Rust bindings for EGL")
+ (description "This package provides Rust bindings for EGL.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-libdav1d-sys-0.6
(package
(name "rust-libdav1d-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 18/40] gnu: Add rust-gst-plugin-version-helper-0.8.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
732f9ad563f6be5a948c3387a83ef26bc5e7256c.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gst-plugin-version-helper-0.8): New variable.

Change-Id: I92764210031d1be60ab1d76efd2dfd54642c178e
---
gnu/packages/crates-gtk.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 6a89f576d9..9fa9bd47c1 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2770,6 +2770,27 @@ (define-public rust-gsk4-sys-0.7
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gst-plugin-version-helper-0.8
+ (package
+ (name "rust-gst-plugin-version-helper")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gst-plugin-version-helper" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0alv0v7jfg7ryybb3qnbdwx3nqzkdl305il1xk92y9b02r7qfpjf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-toml-edit" ,rust-toml-edit-0.22))))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "build.rs helper function for GStreamer plugin metadata")
+ (description
+ "This package provides build.rs helper function for GStreamer plugin metadata.")
+ (license license:expat)))
+
(define-public rust-gstreamer-0.21
(package
(name "rust-gstreamer")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 30/40] gnu: Add rust-gstreamer-gl-egl-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
87b003800b09ff1a715913a7367905c4c62d2231.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-gl-egl-0.21): New variable.

Change-Id: If3134f9e3913afa93a353252f62e09c04b8c577d
---
gnu/packages/crates-gtk.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 0fcd0a5f35..b06545005d 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3407,6 +3407,33 @@ (define-public rust-gstreamer-gl-sys-0.21
(description "This package provides FFI bindings to libgstgl-1.0.")
(license license:expat)))
+(define-public rust-gstreamer-gl-egl-0.21
+ (package
+ (name "rust-gstreamer-gl-egl")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-gl-egl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "10nwlmyw1z4jccyrbqijx6iny2c64164jaz05dgnvi5378ianwx1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib" ,rust-glib-0.18)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-gl" ,rust-gstreamer-gl-0.21)
+ ("rust-gstreamer-gl-egl-sys" ,rust-gstreamer-gl-egl-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base mesa))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for GStreamer GL library (EGL support)")
+ (description
+ "This package provides Rust bindings for GStreamer GL library (EGL support).")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gstreamer-gl-egl-sys-0.21
(package
(name "rust-gstreamer-gl-egl-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 31/40] gnu: Add rust-gstreamer-gl-wayland-sys-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
9aca69cfc7c3a4cf5f83651395e1632c3c2da3d0.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-gl-wayland-sys-0.21): New variable.

Change-Id: Ic8f7a0faf000934fedd6e6ef0e3f8a1b8e8e80ce
---
gnu/packages/crates-gtk.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index b06545005d..22e43b1eb3 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3461,6 +3461,33 @@ (define-public rust-gstreamer-gl-egl-sys-0.21
"This package provides FFI bindings to libgstgl-1.0 (EGL support).")
(license license:expat)))
+(define-public rust-gstreamer-gl-wayland-sys-0.21
+ (package
+ (name "rust-gstreamer-gl-wayland-sys")
+ (version "0.21.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-gl-wayland-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "188j8i47zn93gph6ngmpjqbvm44jy0wzybr5052s6lxadzqqcywi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gstreamer-gl-sys" ,rust-gstreamer-gl-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base mesa))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "FFI bindings to libgstgl-1.0 (Wayland support)")
+ (description
+ "This package provides FFI bindings to libgstgl-1.0 (Wayland support).")
+ (license license:expat)))
+
(define-public rust-gstreamer-pbutils-0.21
(package
(name "rust-gstreamer-pbutils")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 23/40] gnu: Add rust-gdk4-wayland-0.7.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
245c366a9a4ca9404ce608aca8208d264b566875.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gdk4-wayland-0.7): New variable.

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

Toggle diff (44 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 41b8369232..0ac3aba39e 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1224,6 +1224,37 @@ (define-public rust-gdk4-sys-0.7
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gdk4-wayland-0.7
+ (package
+ (name "rust-gdk4-wayland")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk4-wayland" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "04zkspjs1r6l4gj241p9xm2zmp91phm1khakw5jvsm8yy4pi1f8d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-gdk4" ,rust-gdk4-0.7)
+ ("rust-gdk4-wayland-sys" ,rust-gdk4-wayland-sys-0.7)
+ ("rust-gio" ,rust-gio-0.18)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-khronos-egl" ,rust-khronos-egl-5)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-wayland-backend" ,rust-wayland-backend-0.1)
+ ("rust-wayland-client" ,rust-wayland-client-0.30)
+ ("rust-xkb" ,rust-xkb-0.3))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gtk))
+ (home-page "https://gtk-rs.org/gtk4-rs")
+ (synopsis "Rust bindings of the GDK 4 Wayland library")
+ (description
+ "This package provides Rust bindings of the GDK 4 Wayland library.")
+ (license license:expat)))
+
(define-public rust-gdk4-wayland-sys-0.7
(package
(name "rust-gdk4-wayland-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 32/40] gnu: Add rust-gstreamer-gl-wayland-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
357a65d0914e83427c7d8a2b076835ae646cc561.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-gl-wayland-0.21): New variable.

Change-Id: I888fa937a7df7bfa913801e66019459f30b27719
---
gnu/packages/crates-gtk.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 22e43b1eb3..d93f326037 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3461,6 +3461,33 @@ (define-public rust-gstreamer-gl-egl-sys-0.21
"This package provides FFI bindings to libgstgl-1.0 (EGL support).")
(license license:expat)))
+(define-public rust-gstreamer-gl-wayland-0.21
+ (package
+ (name "rust-gstreamer-gl-wayland")
+ (version "0.21.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-gl-wayland" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zz7as2qlf021dvpy1qs4rbahf94p6jb1msmfsgx08nhyai7dhpy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib" ,rust-glib-0.18)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-gl" ,rust-gstreamer-gl-0.21)
+ ("rust-gstreamer-gl-wayland-sys" ,rust-gstreamer-gl-wayland-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base mesa))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for GStreamer GL library (Wayland support)")
+ (description
+ "This package provides Rust bindings for GStreamer GL library (Wayland support).")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gstreamer-gl-wayland-sys-0.21
(package
(name "rust-gstreamer-gl-wayland-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 33/40] gnu: Add rust-gstreamer-gl-x11-sys.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
85312a1abfcd5924c63f2d7183ce8860d039956b.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-gl-x11-sys): New variable.

Change-Id: I6f3b19f658e24b6bb6a4821823405b089776b827
---
gnu/packages/crates-gtk.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index d93f326037..d68471e589 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3515,6 +3515,33 @@ (define-public rust-gstreamer-gl-wayland-sys-0.21
"This package provides FFI bindings to libgstgl-1.0 (Wayland support).")
(license license:expat)))
+(define-public rust-gstreamer-gl-x11-sys-0.21
+ (package
+ (name "rust-gstreamer-gl-x11-sys")
+ (version "0.21.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-gl-x11-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1p5wdrn3h55jx15963z1wnk7whwplpjfymy5yjsmkqdrqw1yz6n4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gstreamer-gl-sys" ,rust-gstreamer-gl-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base mesa))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "FFI bindings to libgstgl-1.0 (X11 support)")
+ (description
+ "This package provides FFI bindings to libgstgl-1.0 (X11 support).")
+ (license license:expat)))
+
(define-public rust-gstreamer-pbutils-0.21
(package
(name "rust-gstreamer-pbutils")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 27/40] gnu: Add rust-gstreamer-gl-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
51a478a0af1008d480ffbd4cff067b140e721456.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-gl-0.21): New variable.

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

Toggle diff (44 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 109d0a1be8..5aa1d02cec 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3314,6 +3314,37 @@ (define-public rust-gstreamer-check-sys-0.21
(description "This package provides FFI bindings to libgstcheck-1.0.")
(license license:expat)))
+(define-public rust-gstreamer-gl-0.21
+ (package
+ (name "rust-gstreamer-gl")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-gl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "140vnlxnkq12c8qqgc5i2y9wdz8c8dga25d99021cg16508vkkry"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib" ,rust-glib-0.18)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-base" ,rust-gstreamer-base-0.21)
+ ("rust-gstreamer-gl-sys" ,rust-gstreamer-gl-sys-0.21)
+ ("rust-gstreamer-video" ,rust-gstreamer-video-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base mesa))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for GStreamer GL library")
+ (description
+ "This package provides Rust bindings for GStreamer GL library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gstreamer-gl-sys-0.21
(package
(name "rust-gstreamer-gl-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:48 +0100
[PATCH rust-team 34/40] gnu: Add rust-gstreamer-gl-x11-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
8a806f3582bdc31c4fd549a65552ac6b891424c8.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-gl-x11-0.21): New variable.

Change-Id: I6f7be9de31ece838efa2cfd3dc2a770720a688bb
---
gnu/packages/crates-gtk.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index d68471e589..f670b0c987 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3515,6 +3515,33 @@ (define-public rust-gstreamer-gl-wayland-sys-0.21
"This package provides FFI bindings to libgstgl-1.0 (Wayland support).")
(license license:expat)))
+(define-public rust-gstreamer-gl-x11-0.21
+ (package
+ (name "rust-gstreamer-gl-x11")
+ (version "0.21.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-gl-x11" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0zgn5aih3bcz3ci3xkdpc2jzxrxiz1hdpkwq121w5ln96ag1n0np"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib" ,rust-glib-0.18)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-gl" ,rust-gstreamer-gl-0.21)
+ ("rust-gstreamer-gl-x11-sys" ,rust-gstreamer-gl-x11-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base mesa))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for GStreamer GL library (X11 support)")
+ (description
+ "This package provides Rust bindings for GStreamer GL library (X11 support).")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gstreamer-gl-x11-sys-0.21
(package
(name "rust-gstreamer-gl-x11-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:49 +0100
[PATCH rust-team 35/40] gnu: Add rust-gstreamer-allocators-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
fd069e3a7d9976012c07151ed1d5bca5bd58bba5.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-allocators-0.21): New variable.

Change-Id: I5740372cfb52f8da90b08c08fe2b7e0600d0d463
---
gnu/packages/crates-gtk.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index f670b0c987..2054f3e903 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2987,6 +2987,33 @@ (define-public rust-gstreamer-0.18
("rust-ron" ,rust-ron-0.7)
("rust-serde-json" ,rust-serde-json-1))))))
+(define-public rust-gstreamer-allocators-0.21
+ (package
+ (name "rust-gstreamer-allocators")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-allocators" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "14s244qk5dznd1pvswps7k61s6ksjd3pv0fzvpgybm1k9c5v57vc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib" ,rust-glib-0.18)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-allocators-sys" ,rust-gstreamer-allocators-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for GStreamer Allocators library")
+ (description
+ "This package provides Rust bindings for GStreamer Allocators library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gstreamer-allocators-sys-0.21
(package
(name "rust-gstreamer-allocators-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:49 +0100
[PATCH rust-team 36/40] gnu: Add rust-gdk4-win32-sys-0.7.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
5129b46ec09d2cb56dca13485f1af2319ced3e8e.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gdk4-win32-sys-0.7): New variable.

Change-Id: I17e4edc0df6537b483c97f00a2fe8c37da93c5c4
---
gnu/packages/crates-gtk.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 2054f3e903..40e7a8655c 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1281,6 +1281,31 @@ (define-public rust-gdk4-wayland-sys-0.7
(description "This package provides FFI bindings of GDK4 Wayland.")
(license license:expat)))
+(define-public rust-gdk4-win32-sys-0.7
+ (package
+ (name "rust-gdk4-win32-sys")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk4-win32-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0v9rkv1i1sbzckigdr5zjy0xzz6qf9iccikvg3qxjfnd8rsihp2b"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-gdk4-sys" ,rust-gdk4-sys-0.7)
+ ("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://gtk-rs.org/gtk4-rs")
+ (synopsis "FFI bindings of GDK4 Win32")
+ (description "This package provides FFI bindings of GDK4 Win32.")
+ (license license:expat)))
+
(define-public rust-gdk4-x11-0.7
(package
(name "rust-gdk4-x11")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:49 +0100
[PATCH rust-team 37/40] gnu: Add rust-gdk4-win32-0.7.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
71890ae0f28c8c2db468fba72ac981ec778c9116.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gdk4-win32-0.7): New variable.

Change-Id: I5c785a9d75af36a4cb4f38b8da640dacb908be8e
---
gnu/packages/crates-gtk.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 40e7a8655c..e74024e775 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1281,6 +1281,34 @@ (define-public rust-gdk4-wayland-sys-0.7
(description "This package provides FFI bindings of GDK4 Wayland.")
(license license:expat)))
+(define-public rust-gdk4-win32-0.7
+ (package
+ (name "rust-gdk4-win32")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk4-win32" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0mv04mipl57v1lj94j2rkrk9qm75jvdlnp7qm6nl2kpn8466arpy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-gdk4" ,rust-gdk4-0.7)
+ ("rust-gdk4-win32-sys" ,rust-gdk4-win32-sys-0.7)
+ ("rust-gio" ,rust-gio-0.18)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-khronos-egl" ,rust-khronos-egl-5)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-windows" ,rust-windows-0.52))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (home-page "https://gtk-rs.org/gtk4-rs")
+ (synopsis "Rust bindings of the GDK4 Win32 library")
+ (description
+ "This package provides Rust bindings of the GDK4 Win32 library.")
+ (license license:expat)))
+
(define-public rust-gdk4-win32-sys-0.7
(package
(name "rust-gdk4-win32-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:49 +0100
[PATCH rust-team 38/40] gnu: Add rust-gst-plugin-gtk4-0.11.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
0478651d299ca1e7fde473d4a1a5f666fd192fa3.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gst-plugin-gtk4-0.11): New variable.

Change-Id: Ifca9d748d758625344bb0846e01c2bae20685009
---
gnu/packages/crates-gtk.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)

Toggle diff (50 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index e74024e775..d819177893 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2937,6 +2937,43 @@ (define-public rust-gsk4-sys-0.7
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gst-plugin-gtk4-0.11
+ (package
+ (name "rust-gst-plugin-gtk4")
+ (version "0.11.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gst-plugin-gtk4" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1hmky9p16hnhrwm5i63ynlwfl1bpc9fp3as5ibrni1qlfq0vhwdj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-async-channel" ,rust-async-channel-2)
+ ("rust-gdk4-wayland" ,rust-gdk4-wayland-0.7)
+ ("rust-gdk4-win32" ,rust-gdk4-win32-0.7)
+ ("rust-gdk4-x11" ,rust-gdk4-x11-0.7)
+ ("rust-gst-plugin-version-helper" ,rust-gst-plugin-version-helper-0.8)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-allocators" ,rust-gstreamer-allocators-0.21)
+ ("rust-gstreamer-base" ,rust-gstreamer-base-0.21)
+ ("rust-gstreamer-gl" ,rust-gstreamer-gl-0.21)
+ ("rust-gstreamer-gl-egl" ,rust-gstreamer-gl-egl-0.21)
+ ("rust-gstreamer-gl-wayland" ,rust-gstreamer-gl-wayland-0.21)
+ ("rust-gstreamer-gl-x11" ,rust-gstreamer-gl-x11-0.21)
+ ("rust-gstreamer-video" ,rust-gstreamer-video-0.21)
+ ("rust-gtk4" ,rust-gtk4-0.7)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))))
+ (native-inputs (list pkg-config))
+ (inputs (list gdk-pixbuf glib graphene gstreamer gst-plugins-base
+ gtk pango))
+ (home-page "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs")
+ (synopsis "GStreamer GTK 4 sink element")
+ (description "This package provides GStreamer GTK 4 sink element.")
+ (license license:mpl2.0)))
+
(define-public rust-gst-plugin-version-helper-0.8
(package
(name "rust-gst-plugin-version-helper")
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:49 +0100
[PATCH rust-team 39/40] gnu: Add pango-1.51.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
281a974edd7ee47868007e510e1f2586b97453d9.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/gtk.scm (pango-1.51): New variable.

Change-Id: I3007e2bf8edc24f2602d625c8e99388ef7e76593
---
gnu/packages/gtk.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)

Toggle diff (26 lines)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index ef1391e8ba..663c6e8791 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -442,6 +442,19 @@ (define-public pango
(home-page "https://pango.gnome.org/")
(license license:lgpl2.0+)))
+(define-public pango-1.51
+ (package
+ (inherit pango)
+ (version "1.51.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/pango/"
+ (version-major+minor version) "/"
+ "pango-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0nj174hk95rbidbiqjwkkgyw3vf83h55y0pkjbhighaz5dzl1fix"))))))
+
(define-public pango-1.42
(package
(inherit pango)
--
2.46.0
G
G
Giacomo Leidi wrote on 6 Nov 21:49 +0100
[PATCH rust-team 40/40] gnu: Add rust-aperture-0.3.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
9670382d0b16923e121a5f145edd561ace510b9f.1730926145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-aperture-0.3): New variable.

Change-Id: I76c917be679fbb9b3e28b19bbf8cc1b6034211d7
---
gnu/packages/crates-gtk.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (43 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index d819177893..9d598b63d2 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -42,6 +42,36 @@ (define-module (gnu packages crates-gtk)
;;;
;;; Please: Try to add new module packages in alphabetic order.
;;;
+
+(define-public rust-aperture-0.3
+ (package
+ (name "rust-aperture")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "aperture" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "02bjzskxp91br91yvf5f32wakp1i9948sxbsy9hdrxs52w38hr61"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:cargo-inputs `(("rust-gst-plugin-gtk4" ,rust-gst-plugin-gtk4-0.11)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-pbutils" ,rust-gstreamer-pbutils-0.21)
+ ("rust-gstreamer-video" ,rust-gstreamer-video-0.21)
+ ("rust-gtk4" ,rust-gtk4-0.7)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (native-inputs (list pkg-config))
+ (inputs (list gdk-pixbuf glib graphene gstreamer gst-plugins-base
+ gst-plugins-bad gtk pango-1.51))
+ (home-page "https://gitlab.gnome.org/GNOME/snapshot")
+ (synopsis "GTK Widget for cameras using gstreamer and pipewire")
+ (description
+ "This package provides GTK Widget for cameras using gstreamer and pipewire.")
+ (license license:gpl3+)))
+
(define-public rust-atk-sys-0.14
(package
(name "rust-atk-sys")
--
2.46.0
L
L
Liliana Marie Prikler wrote on 7 Nov 22:41 +0100
Re: [bug#74233] [PATCH rust-team 39/40] gnu: Add pango-1.51.
e77f910d4b1eb5277bb405f6f673810f6259ca0b.camel@gmail.com
Am Mittwoch, dem 06.11.2024 um 21:49 +0100 schrieb Giacomo Leidi:
Toggle quote (1 lines)
> * gnu/packages/gtk.scm (pango-1.51): New variable.
Pango follow the even-odd scheme of old GNOME. Note that we have pango
1.54 on gnome-team. If possible, try pango 1.52.

Cheers
P
5a5ecd08-b62a-487b-b968-e2e0d5bb924d@autistici.org
Hi Liliana, sure let me try that . Thank you for bringing that up!

On 11/7/24 22:41, Liliana Marie Prikler wrote:
Toggle quote (6 lines)
> Am Mittwoch, dem 06.11.2024 um 21:49 +0100 schrieb Giacomo Leidi:
>> * gnu/packages/gtk.scm (pango-1.51): New variable.
> Pango follow the even-odd scheme of old GNOME. Note that we have pango
> 1.54 on gnome-team. If possible, try pango 1.52.
>
> Cheers
P
3cf138f3-6829-4490-b4dd-3fad5f8b69d2@autistici.org
Hi Liliana, everything looks fine so I'm sending a v2 with pango 1.52.
Thank you for your help!

I am about to send revision 2 the third patchest required to build GNOME
Authenticator in Guix.It adds rust-aperture-0.3 and dependencies. With
respect to revision 1, these changes were introduced:

- pango 1.52 is added instead of pango 1.51

This patchset depends on the first and second ones available at:


Thank you for your work!

Cheers

giacomo
G
G
Giacomo Leidi wrote on 7 Nov 23:21 +0100
[PATCHv2 rust-team 01/40] gnu: Add rust-search-provider-0.8.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
a161eaf11e17153794249a814b41a809efd5a3d5.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-search-provider-0.8): New variable.

Change-Id: I3caa5a13ef6513d2a536b07dc14e6247e18ecf9b
---
gnu/packages/crates-gtk.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 17afb65321..b88632de88 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -4105,6 +4105,31 @@ (define-public rust-pangocairo-sys-0.15
(("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-search-provider-0.8
+ (package
+ (name "rust-search-provider")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "search-provider" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1a683ndxh99sin4lr919wc8aakzgjiqlic1xglf4qs6gfpvs2prq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.20)
+ ("rust-gdk4" ,rust-gdk4-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-zbus" ,rust-zbus-4))))
+ (home-page "https://gitlab.gnome.org/World/Rust/search-provider")
+ (synopsis "Rust wrapper around the GNOME Shell search provider API")
+ (description
+ "This package provides Rust wrapper around the GNOME Shell search provider API.")
+ (license license:gpl3+)))
+
(define-public rust-soup-sys-0.10
(package
(name "rust-soup-sys")

base-commit: baf5c3f0614bd7fd6e60d216e2c202a7761ef522
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:21 +0100
[PATCHv2 rust-team 02/40] gnu: Add rust-rust-argon2-2.0.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
7fc9380a6c8d70d7fb620ba032336021a2360657.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-crypto.scm (rust-rust-argon2-2.0): New variable;
(rust-rust-argon2-0.8): inherit from rust-rust-argon2-2.0.

Change-Id: I9636b29a24d317ddeb2b4284a0bdbe382e764a14
---
gnu/packages/crates-crypto.scm | 38 +++++++++++++++++++++++++++-------
1 file changed, 30 insertions(+), 8 deletions(-)

Toggle diff (70 lines)
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index c8ead45efe..2b7a6be465 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -5138,26 +5138,27 @@ (define-public rust-rsa-0.5
("rust-sha2" ,rust-sha2-0.9)
("rust-sha3" ,rust-sha3-0.9))))))
-(define-public rust-rust-argon2-0.8
+(define-public rust-rust-argon2-2.0
(package
(name "rust-rust-argon2")
- (version "0.8.3")
+ (version "2.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rust-argon2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1yvqkv04fqk3cbvyasibr4bqbxa6mij8jdvibakwlcsbjh6q462b"))))
+ (base32 "0sp42kn06wm1mglrfxnv6js0fxjirgdjhhsakrv0xbmk44c9fw8y"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-base64" ,rust-base64-0.13)
- ("rust-blake2b-simd" ,rust-blake2b-simd-0.5)
- ("rust-constant-time-eq" ,rust-constant-time-eq-0.1)
- ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
- ("rust-serde" ,rust-serde-1))))
+ (("rust-base64" ,rust-base64-0.21)
+ ("rust-blake2b-simd" ,rust-blake2b-simd-1)
+ ("rust-constant-time-eq" ,rust-constant-time-eq-0.3)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-hex" ,rust-hex-0.4))))
(home-page "https://github.com/sru-systems/rust-argon2")
(synopsis "Argon2 password hashing function in Rust")
(description
@@ -5165,6 +5166,27 @@ (define-public rust-rust-argon2-0.8
hashing function.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rust-argon2-0.8
+ (package
+ (inherit rust-rust-argon2-2.0)
+ (name "rust-rust-argon2")
+ (version "0.8.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rust-argon2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1yvqkv04fqk3cbvyasibr4bqbxa6mij8jdvibakwlcsbjh6q462b"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.13)
+ ("rust-blake2b-simd" ,rust-blake2b-simd-0.5)
+ ("rust-constant-time-eq" ,rust-constant-time-eq-0.1)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
+ ("rust-serde" ,rust-serde-1))))))
+
(define-public rust-rust-argon2-0.7
(package
(inherit rust-rust-argon2-0.8)
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:21 +0100
[PATCHv2 rust-team 04/40] gnu: Add rust-option-operations-0.5.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
6ee089d5e8d39b78a0636587c6064276e6eb30d1.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-io.scm (rust-option-operations-0.5): New variable;
(rust-option-operations-0.4): inherit from rust-option-operations-0.5.

Change-Id: I2068d7a15ede8564638ea5e73e84b47f11221158
---
gnu/packages/crates-io.scm | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)

Toggle diff (49 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 55a2203451..b84031ed60 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51365,17 +51365,17 @@ (define-public rust-option-ext-0.2
(description "Extends `Option` with additional operations")
(license license:mpl2.0)))
-(define-public rust-option-operations-0.4
+(define-public rust-option-operations-0.5
(package
(name "rust-option-operations")
- (version "0.4.1")
+ (version "0.5.0")
(source (origin
(method url-fetch)
(uri (crate-uri "option-operations" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "18jhy5sc56gwdvqc3asr6az685zc9zkgv8p8n69s94bcj6bibc22"))))
+ "1l13n9487gk6063zzjdwzqbig78n8mh6dxsbiq9nbaxfn5xx49kw"))))
(build-system cargo-build-system)
(arguments
(list #:cargo-inputs `(("rust-paste" ,rust-paste-1))))
@@ -51386,6 +51386,21 @@ (define-public rust-option-operations-0.4
usability when dealing with Rust Options.")
(license (list license:expat license:asl2.0))))
+(define-public rust-option-operations-0.4
+ (package
+ (inherit rust-option-operations-0.5)
+ (name "rust-option-operations")
+ (version "0.4.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "option-operations" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "18jhy5sc56gwdvqc3asr6az685zc9zkgv8p8n69s94bcj6bibc22"))))
+ (arguments
+ (list #:cargo-inputs `(("rust-paste" ,rust-paste-1))))))
+
(define-public rust-option-set-0.2
(package
(name "rust-option-set")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:21 +0100
[PATCHv2 rust-team 05/40] gnu: Add rust-pretty-hex-0.4.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
5d1c899ebd1b951fc4aa7775775f59c38274e936.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-io.scm (rust-pretty-hex-0.4): New variable;
(rust-pretty-hex-0.3): inherit from rust-pretty-hex-0.4.

Change-Id: Ibe9b2dacdfdc78c653b4a7ebafb8bd67c697f801
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++----
1 file changed, 19 insertions(+), 4 deletions(-)

Toggle diff (51 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b84031ed60..5b42462be6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58036,25 +58036,40 @@ (define-public rust-prettyplease-0.1
#:cargo-development-inputs
(("rust-syn" ,rust-syn-1))))))
-(define-public rust-pretty-hex-0.3
+(define-public rust-pretty-hex-0.4
(package
(name "rust-pretty-hex")
- (version "0.3.0")
+ (version "0.4.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "pretty-hex" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1mf8xvlfri4impj2paj4azx7hxh7l0i38cjyib1hiikwvlqhiyn6"))))
+ (base32 "0m0j8pqmh6gq1mq7yzp12z0ix159fw0di5lhiwv2y1j0m3j3xj5v"))))
(build-system cargo-build-system)
(arguments
- (list #:cargo-development-inputs `(("rust-heapless" ,rust-heapless-0.5))))
+ (list #:cargo-development-inputs `(("rust-heapless" ,rust-heapless-0.8))))
(home-page "https://github.com/wolandr/pretty-hex")
(synopsis "Prettified output of hexadecimal byte slices")
(description "Pretty hex dump of byte slices in the common style.")
(license license:expat)))
+(define-public rust-pretty-hex-0.3
+ (package
+ (inherit rust-pretty-hex-0.4)
+ (name "rust-pretty-hex")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pretty-hex" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mf8xvlfri4impj2paj4azx7hxh7l0i38cjyib1hiikwvlqhiyn6"))))
+ (arguments
+ (list #:cargo-development-inputs `(("rust-heapless" ,rust-heapless-0.5))))))
+
(define-public rust-prettytable-rs-0.8
(package
(name "rust-prettytable-rs")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:21 +0100
[PATCHv2 rust-team 06/40] gnu: Add rust-gstreamer-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
c4fde09d4bac764d74c682ff16ae992f739e6f35.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-0.21): New variable;
(rust-gstreamer-0.18): inherit from rust-gstreamer-0.21.

Change-Id: Icb016f32975ff6ff7996cdcc793f55177454ea51
---
gnu/packages/crates-gtk.scm | 54 +++++++++++++++++++++++++++++++------
1 file changed, 46 insertions(+), 8 deletions(-)

Toggle diff (101 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index e53f2e3c63..a2e79276cd 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2770,17 +2770,17 @@ (define-public rust-gsk4-sys-0.7
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
-(define-public rust-gstreamer-0.18
+(define-public rust-gstreamer-0.21
(package
(name "rust-gstreamer")
- (version "0.18.8")
+ (version "0.21.3")
(source (origin
(method url-fetch)
(uri (crate-uri "gstreamer" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0mjlnw9917j3wwij8225bjp54k7408lxqjjnh6r6wksyryx66qyn"))))
+ "0mchpvvll5i4ck8zr7aarrz6p975n0dcyy92wksg8ycf9hzp15fy"))))
(build-system cargo-build-system)
(arguments
(list #:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768
@@ -2789,23 +2789,23 @@ (define-public rust-gstreamer-0.18
("rust-futures-channel" ,rust-futures-channel-0.3)
("rust-futures-core" ,rust-futures-core-0.3)
("rust-futures-util" ,rust-futures-util-0.3)
- ("rust-glib" ,rust-glib-0.15)
- ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
("rust-libc" ,rust-libc-0.2)
("rust-muldiv" ,rust-muldiv-1)
("rust-num-integer" ,rust-num-integer-0.1)
("rust-num-rational" ,rust-num-rational-0.4)
("rust-once-cell" ,rust-once-cell-1)
- ("rust-option-operations" ,rust-option-operations-0.4)
+ ("rust-option-operations" ,rust-option-operations-0.5)
("rust-paste" ,rust-paste-1)
- ("rust-pretty-hex" ,rust-pretty-hex-0.3)
+ ("rust-pretty-hex" ,rust-pretty-hex-0.4)
("rust-serde" ,rust-serde-1)
("rust-serde-bytes" ,rust-serde-bytes-0.11)
("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs
`(("rust-futures-executor" ,rust-futures-executor-0.3)
("rust-gir-format-check" ,rust-gir-format-check-0.1)
- ("rust-ron" ,rust-ron-0.7)
+ ("rust-ron" ,rust-ron-0.8)
("rust-serde-json" ,rust-serde-json-1))))
(native-inputs (list pkg-config))
(inputs (list glib gstreamer))
@@ -2814,6 +2814,44 @@ (define-public rust-gstreamer-0.18
(description "Rust bindings for GStreamer.")
(license (list license:expat license:asl2.0))))
+(define-public rust-gstreamer-0.18
+ (package
+ (inherit rust-gstreamer-0.21)
+ (name "rust-gstreamer")
+ (version "0.18.8")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0mjlnw9917j3wwij8225bjp54k7408lxqjjnh6r6wksyryx66qyn"))))
+ (arguments
+ (list #:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768
+ #:cargo-inputs `(("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-glib" ,rust-glib-0.15)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-muldiv" ,rust-muldiv-1)
+ ("rust-num-integer" ,rust-num-integer-0.1)
+ ("rust-num-rational" ,rust-num-rational-0.4)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-option-operations" ,rust-option-operations-0.4)
+ ("rust-paste" ,rust-paste-1)
+ ("rust-pretty-hex" ,rust-pretty-hex-0.3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-bytes" ,rust-serde-bytes-0.11)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs
+ `(("rust-futures-executor" ,rust-futures-executor-0.3)
+ ("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-ron" ,rust-ron-0.7)
+ ("rust-serde-json" ,rust-serde-json-1))))))
+
(define-public rust-gstreamer-app-0.18
(package
(name "rust-gstreamer-app")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:21 +0100
[PATCHv2 rust-team 07/40] gnu: Add rust-gstreamer-base-sys-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
09be455212c33880b953c816c1fb2ed32959ec08.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-base-sys-0.21): New
variable;
(rust-gstreamer-base-sys-0.18): inherit from rust-gstreamer-base-sys-0.21.

Change-Id: Id614a6e2234fac5ad1ab0ff02ec5879f6e081fec
---
gnu/packages/crates-gtk.scm | 33 +++++++++++++++++++++++++++------
1 file changed, 27 insertions(+), 6 deletions(-)

Toggle diff (63 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index a2e79276cd..bbee190a02 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3003,22 +3003,22 @@ (define-public rust-gstreamer-base-0.18
(description "Rust bindings for GStreamer Base library.")
(license (list license:expat license:asl2.0))))
-(define-public rust-gstreamer-base-sys-0.18
+(define-public rust-gstreamer-base-sys-0.21
(package
(name "rust-gstreamer-base-sys")
- (version "0.18.0")
+ (version "0.21.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "gstreamer-base-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "13h79fcn3b9bkg7h8j0vxc1zryp92shbvvk6gkx723il7hy4k0x0"))))
+ (base32 "0r2bb4rmkpxs1l2jy61rn2srqzsp1f8q0k5j55di3zkqj0gp1jpl"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15)
- ("rust-gobject-sys" ,rust-gobject-sys-0.15)
- ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18)
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
("rust-libc" ,rust-libc-0.2)
("rust-system-deps" ,rust-system-deps-6))
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
@@ -3030,6 +3030,27 @@ (define-public rust-gstreamer-base-sys-0.18
(description "FFI bindings to libgstbase-1.0, part of GStreamer.")
(license license:expat)))
+(define-public rust-gstreamer-base-sys-0.18
+ (package
+ (inherit rust-gstreamer-base-sys-0.21)
+ (name "rust-gstreamer-base-sys")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-base-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13h79fcn3b9bkg7h8j0vxc1zryp92shbvvk6gkx723il7hy4k0x0"))))
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.15)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-gstreamer-sys-0.21
(package
(name "rust-gstreamer-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:21 +0100
[PATCHv2 rust-team 10/40] gnu: Add rust-gstreamer-video-sys-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
68eecee5a3c3496a7115a135efa4b1a14339d22d.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-video-sys-0.21): New variable.

Change-Id: I0b05d82f7cf6e4393104e2a46ebe2bda2e628ef1
---
gnu/packages/crates-gtk.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index cef3465a14..f7bfa84b03 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3124,6 +3124,38 @@ (define-public rust-gstreamer-sys-0.18
#:cargo-development-inputs `(("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gstreamer-video-sys-0.21
+ (package
+ (name "rust-gstreamer-video-sys")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-video-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1vhn7fiibwc2q5h8cjlg44imh8i0xss6nns83r859c76k26k20h3"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; Some symbols are missing, i.e. ?GST_VIDEO_FORMAT_A420_12BE?,
+ ;; ?GST_VIDEO_FORMAT_A420_12LE?, ?GST_VIDEO_FORMAT_A420_16BE?
+ ;; and more.
+ `(#:tests? #f
+ #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.20)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.20)
+ ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.21)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "FFI bindings to libgstvideo-1.0")
+ (description "This package provides FFI bindings to libgstvideo-1.0.")
+ (license license:expat)))
+
(define-public rust-gtk-0.14
(package
(name "rust-gtk")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:21 +0100
[PATCHv2 rust-team 09/40] gnu: Add rust-gstreamer-base-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
8385a3b8899f42531294c6863a9c99bd56770317.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-base-0.21): New variable;
(rust-gstreamer-base-0.18): inherit from rust-gstreamer-base-0.21.

Change-Id: Ic1e4b926f51df7f1e40638881b1ee86cb6b7a4de
---
gnu/packages/crates-gtk.scm | 37 ++++++++++++++++++++++++++++++-------
1 file changed, 30 insertions(+), 7 deletions(-)

Toggle diff (69 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index bbee190a02..cef3465a14 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2975,25 +2975,26 @@ (define-public rust-gstreamer-audio-sys-0.18
(description "FFI bindings to libgstaudio, part of Gstreamer.")
(license license:expat)))
-(define-public rust-gstreamer-base-0.18
+(define-public rust-gstreamer-base-0.21
(package
(name "rust-gstreamer-base")
- (version "0.18.0")
+ (version "0.21.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "gstreamer-base" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0gw6sr75h01y3j6lpxhc7p1frvkba9a4imyyb2ppqh42cprkakr2"))))
+ (base32 "0zqnld0w2jqkz1m5xna3a3nnrpvrchpcrrzdgwim54540ilhn5fb"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768
- #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ #:cargo-inputs (("rust-atomic-refcell" ,rust-atomic-refcell-0.1)
+ ("rust-bitflags" ,rust-bitflags-1)
("rust-cfg-if" ,rust-cfg-if-1)
- ("rust-glib" ,rust-glib-0.15)
- ("rust-gstreamer" ,rust-gstreamer-0.18)
- ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.21)
("rust-libc" ,rust-libc-0.2))
#:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
(native-inputs (list pkg-config))
@@ -3003,6 +3004,28 @@ (define-public rust-gstreamer-base-0.18
(description "Rust bindings for GStreamer Base library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-gstreamer-base-0.18
+ (package
+ (inherit rust-gstreamer-base-0.21)
+ (name "rust-gstreamer-base")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-base" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0gw6sr75h01y3j6lpxhc7p1frvkba9a4imyyb2ppqh42cprkakr2"))))
+ (arguments
+ `(#:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-glib" ,rust-glib-0.15)
+ ("rust-gstreamer" ,rust-gstreamer-0.18)
+ ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+
(define-public rust-gstreamer-base-sys-0.21
(package
(name "rust-gstreamer-base-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:21 +0100
[PATCHv2 rust-team 12/40] gnu: Add rust-gstreamer-check-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
d951f9df4a99b7a91baa5914ef25e9f822bc8070.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-check-0.21): New variable.

Change-Id: Ifac9fd04ab3116a47d9acc4156810ca8b4c97d8b
---
gnu/packages/crates-gtk.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 069e12a038..4244324298 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3074,6 +3074,31 @@ (define-public rust-gstreamer-base-sys-0.18
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gstreamer-check-0.21
+ (package
+ (name "rust-gstreamer-check")
+ (version "0.21.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-check" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1sf4jiykz4mc45ydlszggfn2ly9liqgvam1cmiiyxz9l58pascj2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib" ,rust-glib-0.20)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-check-sys" ,rust-gstreamer-check-sys-0.21))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for GStreamer Check library")
+ (description
+ "This package provides Rust bindings for GStreamer Check library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gstreamer-check-sys-0.21
(package
(name "rust-gstreamer-check-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:21 +0100
[PATCHv2 rust-team 14/40] gnu: Add rust-gstreamer-audio-sys-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
ff9adfce54414f527764f16dc9df1624fa6e6b39.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-audio-sys-0.21): New
variable;
(rust-gstreamer-audio-sys-0.18): inherit from rust-gstreamer-audio-sys-0.21.

Change-Id: I3a06ef41bb5e2e8a26442c83ab48a250dd5bfd43
---
gnu/packages/crates-gtk.scm | 40 +++++++++++++++++++++++++++++++------
1 file changed, 34 insertions(+), 6 deletions(-)

Toggle diff (74 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 91d084f5d0..47d7a95208 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2944,26 +2944,29 @@ (define-public rust-gstreamer-audio-0.18
(description "Rust bindings for the GStreamer Audio library.")
(license (list license:expat license:asl2.0))))
-(define-public rust-gstreamer-audio-sys-0.18
+(define-public rust-gstreamer-audio-sys-0.21
(package
(name "rust-gstreamer-audio-sys")
- (version "0.18.3")
+ (version "0.21.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "gstreamer-audio-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0z3xryblh75xp08xyw3m6jfz9azarcvl06dd3psc0n65agxmhhm3"))))
+ (base32 "1lamp4s9cl0hhpbfcwdprn36fll6qq4xihrqbf2pfwqpifp99gbq"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-test-flags
+ ;; Some symbols are missing, i.e. ?GstDsdFormat?
+ ;; and more.
+ `(#:tests? #f
+ #:cargo-test-flags
(list "--release" "--"
"--skip=cross_validate_constants_with_c")
#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15)
("rust-gobject-sys" ,rust-gobject-sys-0.15)
- ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18)
- ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18)
+ ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.21)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
("rust-libc" ,rust-libc-0.2)
("rust-system-deps" ,rust-system-deps-6))
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
@@ -2975,6 +2978,31 @@ (define-public rust-gstreamer-audio-sys-0.18
(description "FFI bindings to libgstaudio, part of Gstreamer.")
(license license:expat)))
+(define-public rust-gstreamer-audio-sys-0.18
+ (package
+ (inherit rust-gstreamer-audio-sys-0.21)
+ (name "rust-gstreamer-audio-sys")
+ (version "0.18.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-audio-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0z3xryblh75xp08xyw3m6jfz9azarcvl06dd3psc0n65agxmhhm3"))))
+ (arguments
+ `(#:cargo-test-flags
+ (list "--release" "--"
+ "--skip=cross_validate_constants_with_c")
+ #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.15)
+ ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.18)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-gstreamer-base-0.21
(package
(name "rust-gstreamer-base")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:21 +0100
[PATCHv2 rust-team 13/40] gnu: Add rust-gstreamer-video-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
79c5ce07e8fbbb44c3450e89588b8d9e57d71ec8.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-video-0.21): New variable.

Change-Id: I15090141bc50a041e3b17a13fdec87e73c4ec5bc
---
gnu/packages/crates-gtk.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)

Toggle diff (48 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 4244324298..91d084f5d0 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3176,6 +3176,41 @@ (define-public rust-gstreamer-sys-0.18
#:cargo-development-inputs `(("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gstreamer-video-0.21
+ (package
+ (name "rust-gstreamer-video")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-video" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1r8mhzb1bq4dnj08f4szgarxd2fvqbakwv400fp9hyiv3m6jlnz8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-glib" ,rust-glib-0.20)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-base" ,rust-gstreamer-base-0.21)
+ ("rust-gstreamer-video-sys" ,rust-gstreamer-video-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-gstreamer-check" ,rust-gstreamer-check-0.21)
+ ("rust-itertools" ,rust-itertools-0.11)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for GStreamer Video library")
+ (description
+ "This package provides Rust bindings for GStreamer Video library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gstreamer-video-sys-0.21
(package
(name "rust-gstreamer-video-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 15/40] gnu: Add rust-gstreamer-audio-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
66f7374ffa7213f188c564f53653a9c17f2218bf.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-audio-0.21): New variable;
(rust-gstreamer-audio-0.18): inherit from rust-gstreamer-audio-0.21.

Change-Id: I8c9ca72cb93c50079a8c3ad20dd452dff8a5930d
---
gnu/packages/crates-gtk.scm | 42 ++++++++++++++++++++++++++++++-------
1 file changed, 34 insertions(+), 8 deletions(-)

Toggle diff (79 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 47d7a95208..fe5282dd48 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2912,31 +2912,31 @@ (define-public rust-gstreamer-app-sys-0.18
(description "FFI bindings to libgstapp-1.0, part of Gstreamer.")
(license license:expat)))
-(define-public rust-gstreamer-audio-0.18
+(define-public rust-gstreamer-audio-0.21
(package
(name "rust-gstreamer-audio")
- (version "0.18.7")
+ (version "0.21.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "gstreamer-audio" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0zl0bj03rz19qlrm50w7i5sagh0i0p5d8gr7ig1k6k5yd7k47sww"))))
+ (base32 "0b91wjhhq0harwl7kyfv5l0kwp6w1vklpnpynakv92f8x6jci5vs"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768
#:cargo-inputs (("rust-array-init" ,rust-array-init-2)
("rust-bitflags" ,rust-bitflags-1)
("rust-cfg-if" ,rust-cfg-if-1)
- ("rust-glib" ,rust-glib-0.15)
- ("rust-gstreamer" ,rust-gstreamer-0.18)
- ("rust-gstreamer-audio-sys" ,rust-gstreamer-audio-sys-0.18)
- ("rust-gstreamer-base" ,rust-gstreamer-base-0.18)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-audio-sys" ,rust-gstreamer-audio-sys-0.21)
+ ("rust-gstreamer-base" ,rust-gstreamer-base-0.21)
("rust-libc" ,rust-libc-0.2)
("rust-once-cell" ,rust-once-cell-1))
#:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)
- ("rust-itertools" ,rust-itertools-0.10))))
+ ("rust-itertools" ,rust-itertools-0.11))))
(native-inputs (list pkg-config))
(inputs (list glib gstreamer gst-plugins-base))
(home-page "https://gstreamer.freedesktop.org")
@@ -2944,6 +2944,32 @@ (define-public rust-gstreamer-audio-0.18
(description "Rust bindings for the GStreamer Audio library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-gstreamer-audio-0.18
+ (package
+ (inherit rust-gstreamer-audio-0.21)
+ (name "rust-gstreamer-audio")
+ (version "0.18.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-audio" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0zl0bj03rz19qlrm50w7i5sagh0i0p5d8gr7ig1k6k5yd7k47sww"))))
+ (arguments
+ `(#:tests? #f ; https://github.com/gtk-rs/gtk3-rs/issues/768
+ #:cargo-inputs (("rust-array-init" ,rust-array-init-2)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-glib" ,rust-glib-0.15)
+ ("rust-gstreamer" ,rust-gstreamer-0.18)
+ ("rust-gstreamer-audio-sys" ,rust-gstreamer-audio-sys-0.18)
+ ("rust-gstreamer-base" ,rust-gstreamer-base-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-itertools" ,rust-itertools-0.10))))))
+
(define-public rust-gstreamer-audio-sys-0.21
(package
(name "rust-gstreamer-audio-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 16/40] gnu: Add rust-gstreamer-pbutils-sys-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
2791a6190c76592493f9e42643beb3b4fec4241d.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-pbutils-sys-0.21): New variable.

Change-Id: Ie0a288fcf3c5a3e13b8ace6e6e3151daf80d5625
---
gnu/packages/crates-gtk.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index fe5282dd48..58965e37da 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3180,6 +3180,35 @@ (define-public rust-gstreamer-check-sys-0.21
(description "This package provides FFI bindings to libgstcheck-1.0.")
(license license:expat)))
+(define-public rust-gstreamer-pbutils-sys-0.21
+ (package
+ (name "rust-gstreamer-pbutils-sys")
+ (version "0.21.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-pbutils-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0scx3w02wkyvmq76ia2jr6zhkf24zivn9vyphrcwmj2b8piydakg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.20)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.20)
+ ("rust-gstreamer-audio-sys" ,rust-gstreamer-audio-sys-0.21)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
+ ("rust-gstreamer-video-sys" ,rust-gstreamer-video-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-7))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "FFI bindings to libgstpbutils-1.0")
+ (description "This package provides FFI bindings to libgstpbutils-1.0.")
+ (license license:expat)))
+
(define-public rust-gstreamer-sys-0.21
(package
(name "rust-gstreamer-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 17/40] gnu: Add rust-gstreamer-pbutils-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
f4b840bd216dea4767756af5abf3d82cf6268fbf.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-pbutils-0.21): New variable.

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

Toggle diff (44 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 58965e37da..6a89f576d9 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3180,6 +3180,37 @@ (define-public rust-gstreamer-check-sys-0.21
(description "This package provides FFI bindings to libgstcheck-1.0.")
(license license:expat)))
+(define-public rust-gstreamer-pbutils-0.21
+ (package
+ (name "rust-gstreamer-pbutils")
+ (version "0.21.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-pbutils" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0idr354x9j77q8qrb99r6m6hrpa0z8j97jncqim5m08vhgbij9sb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib" ,rust-glib-0.20)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-audio" ,rust-gstreamer-audio-0.21)
+ ("rust-gstreamer-pbutils-sys" ,rust-gstreamer-pbutils-sys-0.21)
+ ("rust-gstreamer-video" ,rust-gstreamer-video-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for GStreamer Base Utils library")
+ (description
+ "This package provides Rust bindings for GStreamer Base Utils library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gstreamer-pbutils-sys-0.21
(package
(name "rust-gstreamer-pbutils-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 19/40] gnu: Add rust-gdk4-wayland-sys-0.7.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
f13c57994c3e3f875a67709a235923267895a9f1.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gdk4-wayland-sys-0.7): New variable.

Change-Id: I13e5f5e8aa87ac3b541cd1cceef7ac0419f18cd8
---
gnu/packages/crates-gtk.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 9fa9bd47c1..41b8369232 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1224,6 +1224,31 @@ (define-public rust-gdk4-sys-0.7
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gdk4-wayland-sys-0.7
+ (package
+ (name "rust-gdk4-wayland-sys")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk4-wayland-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "092nbn4gk82kbdvji2qnqy181l4pf5i8961bb8nj3q3a4nz5k0fl"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gtk))
+ (home-page "https://gtk-rs.org/gtk4-rs")
+ (synopsis "FFI bindings of GDK4 Wayland")
+ (description "This package provides FFI bindings of GDK4 Wayland.")
+ (license license:expat)))
+
(define-public rust-gio-0.20
(package
(name "rust-gio")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 20/40] gnu: Add rust-khronos-egl-5.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
3e13d19f3ba2bc01baefe81df21519a26efaad15.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-graphics.scm (rust-khronos-egl-5): New variable.

Change-Id: I37f5b4e4a08d51e7dd2b7d6638b5f2c8c9e87c90
---
gnu/packages/crates-graphics.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (50 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 6c8e42cdda..f08ef1e5b1 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -16,6 +16,7 @@
;;; Copyright © 2023, 2024 Jaeme Sifat <jaeme@runbox.com>
;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2024 Giacomo Leidi <goodoldpaul@autistici.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2371,6 +2372,35 @@ (define-public rust-keyframe-1
@end enumerate")
(license license:expat)))
+(define-public rust-khronos-egl-5
+ (package
+ (name "rust-khronos-egl")
+ (version "5.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "khronos-egl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qw31jzaly1kcn2smicmcm6g4y5sh0y5l8fnaca85ssaq0b2nf6i"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; error: doctest failed
+ `(#:tests? #f
+ #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-libloading" ,rust-libloading-0.8)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))
+ #:cargo-development-inputs (("rust-gl" ,rust-gl-0.14)
+ ("rust-wayland-client" ,rust-wayland-client-0.28)
+ ("rust-wayland-egl" ,rust-wayland-egl-0.28)
+ ("rust-wayland-protocols" ,rust-wayland-protocols-0.28))))
+ (native-inputs (list pkg-config wayland))
+ (inputs (list mesa))
+ (home-page "https://github.com/timothee-haudebourg/khronos-egl")
+ (synopsis "Rust bindings for EGL")
+ (description "This package provides Rust bindings for EGL.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-libdav1d-sys-0.6
(package
(name "rust-libdav1d-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 21/40] gnu: Add rust-xkbcommon-sys-1.4.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
590d1960d5c7d32108126d004f7d1eb8fef4f02d.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-graphics.scm (rust-xkbcommon-sys-1.4): New variable.

Change-Id: Iec7dd132ac1b41a59548823ea00987439e9eda78
---
gnu/packages/crates-graphics.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index f08ef1e5b1..ef79f8aabf 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -5900,6 +5900,31 @@ (define-public rust-xkbcommon-dl-0.4
"Dynamically loaded xkbcommon and xkbcommon-x11 Rust bindings.")
(license license:expat)))
+(define-public rust-xkbcommon-sys-1.4
+ (package
+ (name "rust-xkbcommon-sys")
+ (version "1.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xkbcommon-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "142ww452qq0q47fmc4khzsd0fbwmb71fjl7pci573zf83fvdpxsn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.63)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list clang libxkbcommon))
+ (home-page "https://github.com/meh/rust-xkbcommon-sys")
+ (synopsis "Bindings to libxkbcommon")
+ (description "This package provides Bindings to libxkbcommon.")
+ (license license:wtfpl2)))
+
(define-public rust-xkeysym-0.2
(package
(name "rust-xkeysym")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 22/40] gnu: Add rust-xkb-0.3.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
c00a6046e5e1cc0099ce0f9a51086e9782fcf82f.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-graphics.scm (rust-xkb-0.3): New variable.

Change-Id: Ie8a93fc23aae86160a2f47b2e5631fc1e6fc9e50
---
gnu/packages/crates-graphics.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index ef79f8aabf..197f77a724 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -5925,6 +5925,32 @@ (define-public rust-xkbcommon-sys-1.4
(description "This package provides Bindings to libxkbcommon.")
(license license:wtfpl2)))
+(define-public rust-xkb-0.3
+ (package
+ (name "rust-xkb")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xkb" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03rfx8n3pajc95riksnshh3aqm8dqij2iis5icl88pa6ylk9x0gj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-xcb" ,rust-xcb-1)
+ ("rust-xkbcommon-sys" ,rust-xkbcommon-sys-1.4))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list clang libxkbcommon-1.5 mesa))
+ (home-page "https://github.com/meh/rust-xkb")
+ (synopsis "Rusty wrapper around libxkbcommon")
+ (description "This package provides Rusty wrapper around libxkbcommon.")
+ (license license:wtfpl2)))
+
(define-public rust-xkeysym-0.2
(package
(name "rust-xkeysym")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 23/40] gnu: Add rust-gdk4-wayland-0.7.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
245c366a9a4ca9404ce608aca8208d264b566875.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gdk4-wayland-0.7): New variable.

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

Toggle diff (44 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 41b8369232..0ac3aba39e 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1224,6 +1224,37 @@ (define-public rust-gdk4-sys-0.7
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gdk4-wayland-0.7
+ (package
+ (name "rust-gdk4-wayland")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk4-wayland" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "04zkspjs1r6l4gj241p9xm2zmp91phm1khakw5jvsm8yy4pi1f8d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-gdk4" ,rust-gdk4-0.7)
+ ("rust-gdk4-wayland-sys" ,rust-gdk4-wayland-sys-0.7)
+ ("rust-gio" ,rust-gio-0.18)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-khronos-egl" ,rust-khronos-egl-5)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-wayland-backend" ,rust-wayland-backend-0.1)
+ ("rust-wayland-client" ,rust-wayland-client-0.30)
+ ("rust-xkb" ,rust-xkb-0.3))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gtk))
+ (home-page "https://gtk-rs.org/gtk4-rs")
+ (synopsis "Rust bindings of the GDK 4 Wayland library")
+ (description
+ "This package provides Rust bindings of the GDK 4 Wayland library.")
+ (license license:expat)))
+
(define-public rust-gdk4-wayland-sys-0.7
(package
(name "rust-gdk4-wayland-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 26/40] gnu: Add rust-gstreamer-gl-sys-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
d53f01bd365379c3ce29016eb5a3e2c1d3101082.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-gl-sys-0.21): New variable.

Change-Id: I3b3219a80f02a583b7a4a58ef982c9bf7061e8ef
---
gnu/packages/crates-gtk.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (45 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index b554b9aa4e..109d0a1be8 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3314,6 +3314,38 @@ (define-public rust-gstreamer-check-sys-0.21
(description "This package provides FFI bindings to libgstcheck-1.0.")
(license license:expat)))
+(define-public rust-gstreamer-gl-sys-0.21
+ (package
+ (name "rust-gstreamer-gl-sys")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-gl-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1kgi8rrlw2qx1p6q9ybk52wxpjn5wscx84lqfg4ng9lr7hdrg06m"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; error: ?GstGLMixerPadClass? undeclared
+ ;; and others
+ `(#:tests? #f
+ #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+ ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.21)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
+ ("rust-gstreamer-video-sys" ,rust-gstreamer-video-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base mesa))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "FFI bindings to libgstgl-1.0")
+ (description "This package provides FFI bindings to libgstgl-1.0.")
+ (license license:expat)))
+
(define-public rust-gstreamer-pbutils-0.21
(package
(name "rust-gstreamer-pbutils")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 27/40] gnu: Add rust-gstreamer-gl-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
51a478a0af1008d480ffbd4cff067b140e721456.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-gl-0.21): New variable.

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

Toggle diff (44 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 109d0a1be8..5aa1d02cec 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3314,6 +3314,37 @@ (define-public rust-gstreamer-check-sys-0.21
(description "This package provides FFI bindings to libgstcheck-1.0.")
(license license:expat)))
+(define-public rust-gstreamer-gl-0.21
+ (package
+ (name "rust-gstreamer-gl")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-gl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "140vnlxnkq12c8qqgc5i2y9wdz8c8dga25d99021cg16508vkkry"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib" ,rust-glib-0.18)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-base" ,rust-gstreamer-base-0.21)
+ ("rust-gstreamer-gl-sys" ,rust-gstreamer-gl-sys-0.21)
+ ("rust-gstreamer-video" ,rust-gstreamer-video-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base mesa))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for GStreamer GL library")
+ (description
+ "This package provides Rust bindings for GStreamer GL library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gstreamer-gl-sys-0.21
(package
(name "rust-gstreamer-gl-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:21 +0100
[PATCHv2 rust-team 03/40] gnu: Add rust-gstreamer-sys-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
3b8c9f20d24f9ff6caa5edae14bfd7a16b864419.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-sys-0.21): New variable;
(rust-gstreamer-sys-0.18): inherit from rust-gstreamer-sys-0.21.

Change-Id: Id35ab854edc7c7007ad1f92105a8107a2a7b43c6
---
gnu/packages/crates-gtk.scm | 33 ++++++++++++++++++++++++++++-----
1 file changed, 28 insertions(+), 5 deletions(-)

Toggle diff (63 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index b88632de88..e53f2e3c63 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2992,21 +2992,24 @@ (define-public rust-gstreamer-base-sys-0.18
(description "FFI bindings to libgstbase-1.0, part of GStreamer.")
(license license:expat)))
-(define-public rust-gstreamer-sys-0.18
+(define-public rust-gstreamer-sys-0.21
(package
(name "rust-gstreamer-sys")
- (version "0.18.0")
+ (version "0.21.2")
(source (origin
(method url-fetch)
(uri (crate-uri "gstreamer-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1qikgp5m3xj41fbfyfl6ckb5i8dxadfvlvj5bf8girn2sdjpllg3"))))
+ "1i1vrqs9ys5y0ljl4nxh1x25dnwlcyh9hiybh4dysviy5dwdlk2n"))))
(build-system cargo-build-system)
(arguments
- (list #:cargo-inputs `(("rust-glib-sys" ,rust-glib-sys-0.15)
- ("rust-gobject-sys" ,rust-gobject-sys-0.15)
+ (list #:tests? #f ;; tests/constant.c:193:20: error:
+ ;; ?GST_ELEMENT_FACTORY_TYPE_TIMESTAMPER? undeclared (first use in this function);
+ ;; did you mean ?GST_ELEMENT_FACTORY_TYPE_MUXER??
+ #:cargo-inputs `(("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.18)
("rust-libc" ,rust-libc-0.2)
("rust-system-deps" ,rust-system-deps-6))
#:cargo-development-inputs `(("rust-shell-words" ,rust-shell-words-1)
@@ -3019,6 +3022,26 @@ (define-public rust-gstreamer-sys-0.18
"Foreign Function Interface (FFI) bindings to libgstreamer-1.0.")
(license license:expat)))
+(define-public rust-gstreamer-sys-0.18
+ (package
+ (inherit rust-gstreamer-sys-0.21)
+ (name "rust-gstreamer-sys")
+ (version "0.18.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1qikgp5m3xj41fbfyfl6ckb5i8dxadfvlvj5bf8girn2sdjpllg3"))))
+ (arguments
+ (list #:cargo-inputs `(("rust-glib-sys" ,rust-glib-sys-0.15)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.15)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs `(("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-gtk-0.14
(package
(name "rust-gtk")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 28/40] gnu: Add rust-gstreamer-allocators-sys-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
8d290f10ce4e0cd0d52bc436227bb9d6aeb453de.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-allocators-sys-0.21): New variable.

Change-Id: Id2ef49791358b21fc9dd956f0fbeb41186526cf7
---
gnu/packages/crates-gtk.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 5aa1d02cec..a320e8f4aa 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2986,6 +2986,35 @@ (define-public rust-gstreamer-0.18
("rust-ron" ,rust-ron-0.7)
("rust-serde-json" ,rust-serde-json-1))))))
+(define-public rust-gstreamer-allocators-sys-0.21
+ (package
+ (name "rust-gstreamer-allocators-sys")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-allocators-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1brps4xpzigavifcwr6hs6368nilc4l03ivnv13fxb2svdw885f1"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; error: ?GstShmAllocatorClass? undeclared
+ `(#:tests? #f
+ #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "FFI bindings to libgstallocators-1.0")
+ (description "This package provides FFI bindings to libgstallocators-1.0.")
+ (license license:expat)))
+
(define-public rust-gstreamer-app-0.18
(package
(name "rust-gstreamer-app")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 25/40] gnu: Add rust-gdk4-x11-0.7.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
38198dc173b8ec40cd8d0240f01942a98659fb7d.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gdk4-x11-0.7): New variable.

Change-Id: I866b87af5dca4b007ee10ac69b4bd8f61bcba258
---
gnu/packages/crates-gtk.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 87cf1f045c..b554b9aa4e 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1280,6 +1280,35 @@ (define-public rust-gdk4-wayland-sys-0.7
(description "This package provides FFI bindings of GDK4 Wayland.")
(license license:expat)))
+(define-public rust-gdk4-x11-0.7
+ (package
+ (name "rust-gdk4-x11")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk4-x11" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0l54c1m0gsdm07drvy171a0i97ic2kygmzf3fjg4da0yxbwbpj98"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-gdk4" ,rust-gdk4-0.7)
+ ("rust-gdk4-x11-sys" ,rust-gdk4-x11-sys-0.7)
+ ("rust-gio" ,rust-gio-0.18)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-khronos-egl" ,rust-khronos-egl-5)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-x11" ,rust-x11-2))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gtk))
+ (home-page "https://gtk-rs.org/gtk4-rs")
+ (synopsis "Rust bindings of the GDK4 X11 library")
+ (description
+ "This package provides Rust bindings of the GDK4 X11 library.")
+ (license license:expat)))
+
(define-public rust-gdk4-x11-sys-0.7
(package
(name "rust-gdk4-x11-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 18/40] gnu: Add rust-gst-plugin-version-helper-0.8.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
732f9ad563f6be5a948c3387a83ef26bc5e7256c.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gst-plugin-version-helper-0.8): New variable.

Change-Id: I92764210031d1be60ab1d76efd2dfd54642c178e
---
gnu/packages/crates-gtk.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 6a89f576d9..9fa9bd47c1 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2770,6 +2770,27 @@ (define-public rust-gsk4-sys-0.7
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gst-plugin-version-helper-0.8
+ (package
+ (name "rust-gst-plugin-version-helper")
+ (version "0.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gst-plugin-version-helper" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0alv0v7jfg7ryybb3qnbdwx3nqzkdl305il1xk92y9b02r7qfpjf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-toml-edit" ,rust-toml-edit-0.22))))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "build.rs helper function for GStreamer plugin metadata")
+ (description
+ "This package provides build.rs helper function for GStreamer plugin metadata.")
+ (license license:expat)))
+
(define-public rust-gstreamer-0.21
(package
(name "rust-gstreamer")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 29/40] gnu: Add rust-gstreamer-gl-egl-sys-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
6d0a157a266ae50f6e1d22a1460dfa67d548f353.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-gl-egl-sys-0.21): New variable.

Change-Id: I17c24c591c48af3460fc268dd1ed0e86583e6117
---
gnu/packages/crates-gtk.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (48 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index a320e8f4aa..0fcd0a5f35 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -31,6 +31,7 @@ (define-module (gnu packages crates-gtk)
#:use-module (gnu packages crates-graphics)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-windows)
+ #:use-module (gnu packages gl)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gstreamer)
@@ -3406,6 +3407,33 @@ (define-public rust-gstreamer-gl-sys-0.21
(description "This package provides FFI bindings to libgstgl-1.0.")
(license license:expat)))
+(define-public rust-gstreamer-gl-egl-sys-0.21
+ (package
+ (name "rust-gstreamer-gl-egl-sys")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-gl-egl-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0m79m0lbk2s89cm4vc6ckwkgs9khmh2ri7x3gfgmz2hwy2v8hg7f"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gstreamer-gl-sys" ,rust-gstreamer-gl-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base mesa))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "FFI bindings to libgstgl-1.0 (EGL support)")
+ (description
+ "This package provides FFI bindings to libgstgl-1.0 (EGL support).")
+ (license license:expat)))
+
(define-public rust-gstreamer-pbutils-0.21
(package
(name "rust-gstreamer-pbutils")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:21 +0100
[PATCHv2 rust-team 08/40] gnu: Add rust-atomic-refcell-0.1.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
8af9c8b0176b0f826d558234b742f027fc2d8b26.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-io.scm (rust-atomic-refcell-0.1): New variable.

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

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5b42462be6..1c17d49611 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6258,6 +6258,26 @@ (define-public rust-atomic-polyfill-0.1
they're not available.")
(license (list license:expat license:asl2.0))))
+(define-public rust-atomic-refcell-0.1
+ (package
+ (name "rust-atomic-refcell")
+ (version "0.1.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "atomic_refcell" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0z04ng59y22mwf315wamx78ybhjag0x6k7isc36hdgcv63c7rrj1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/bholley/atomic_refcell")
+ (synopsis "Threadsafe RefCell")
+ (description "This package provides Threadsafe @code{RefCell}.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-atomic-take-1
(package
(name "rust-atomic-take")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 30/40] gnu: Add rust-gstreamer-gl-egl-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
87b003800b09ff1a715913a7367905c4c62d2231.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-gl-egl-0.21): New variable.

Change-Id: If3134f9e3913afa93a353252f62e09c04b8c577d
---
gnu/packages/crates-gtk.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 0fcd0a5f35..b06545005d 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3407,6 +3407,33 @@ (define-public rust-gstreamer-gl-sys-0.21
(description "This package provides FFI bindings to libgstgl-1.0.")
(license license:expat)))
+(define-public rust-gstreamer-gl-egl-0.21
+ (package
+ (name "rust-gstreamer-gl-egl")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-gl-egl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "10nwlmyw1z4jccyrbqijx6iny2c64164jaz05dgnvi5378ianwx1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib" ,rust-glib-0.18)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-gl" ,rust-gstreamer-gl-0.21)
+ ("rust-gstreamer-gl-egl-sys" ,rust-gstreamer-gl-egl-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base mesa))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for GStreamer GL library (EGL support)")
+ (description
+ "This package provides Rust bindings for GStreamer GL library (EGL support).")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gstreamer-gl-egl-sys-0.21
(package
(name "rust-gstreamer-gl-egl-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 31/40] gnu: Add rust-gstreamer-gl-wayland-sys-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
9aca69cfc7c3a4cf5f83651395e1632c3c2da3d0.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-gl-wayland-sys-0.21): New variable.

Change-Id: Ic8f7a0faf000934fedd6e6ef0e3f8a1b8e8e80ce
---
gnu/packages/crates-gtk.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index b06545005d..22e43b1eb3 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3461,6 +3461,33 @@ (define-public rust-gstreamer-gl-egl-sys-0.21
"This package provides FFI bindings to libgstgl-1.0 (EGL support).")
(license license:expat)))
+(define-public rust-gstreamer-gl-wayland-sys-0.21
+ (package
+ (name "rust-gstreamer-gl-wayland-sys")
+ (version "0.21.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-gl-wayland-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "188j8i47zn93gph6ngmpjqbvm44jy0wzybr5052s6lxadzqqcywi"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gstreamer-gl-sys" ,rust-gstreamer-gl-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base mesa))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "FFI bindings to libgstgl-1.0 (Wayland support)")
+ (description
+ "This package provides FFI bindings to libgstgl-1.0 (Wayland support).")
+ (license license:expat)))
+
(define-public rust-gstreamer-pbutils-0.21
(package
(name "rust-gstreamer-pbutils")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 32/40] gnu: Add rust-gstreamer-gl-wayland-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
357a65d0914e83427c7d8a2b076835ae646cc561.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-gl-wayland-0.21): New variable.

Change-Id: I888fa937a7df7bfa913801e66019459f30b27719
---
gnu/packages/crates-gtk.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 22e43b1eb3..d93f326037 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3461,6 +3461,33 @@ (define-public rust-gstreamer-gl-egl-sys-0.21
"This package provides FFI bindings to libgstgl-1.0 (EGL support).")
(license license:expat)))
+(define-public rust-gstreamer-gl-wayland-0.21
+ (package
+ (name "rust-gstreamer-gl-wayland")
+ (version "0.21.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-gl-wayland" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zz7as2qlf021dvpy1qs4rbahf94p6jb1msmfsgx08nhyai7dhpy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib" ,rust-glib-0.18)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-gl" ,rust-gstreamer-gl-0.21)
+ ("rust-gstreamer-gl-wayland-sys" ,rust-gstreamer-gl-wayland-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base mesa))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for GStreamer GL library (Wayland support)")
+ (description
+ "This package provides Rust bindings for GStreamer GL library (Wayland support).")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gstreamer-gl-wayland-sys-0.21
(package
(name "rust-gstreamer-gl-wayland-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:21 +0100
[PATCHv2 rust-team 11/40] gnu: Add rust-gstreamer-check-sys-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
5199fccd1f2eef6c1f65532e13583daeab806d87.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-check-sys-0.21): New variable.

Change-Id: I71d2c1efd7932acfe31a01558de6b765f855d6a0
---
gnu/packages/crates-gtk.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index f7bfa84b03..069e12a038 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3074,6 +3074,33 @@ (define-public rust-gstreamer-base-sys-0.18
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gstreamer-check-sys-0.21
+ (package
+ (name "rust-gstreamer-check-sys")
+ (version "0.21.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-check-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1yvsz1pf4zr9gya7d8mbq3y4qai72iz1hgdxfiqqn136rrazpa6z"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.20)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.20)
+ ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "FFI bindings to libgstcheck-1.0")
+ (description "This package provides FFI bindings to libgstcheck-1.0.")
+ (license license:expat)))
+
(define-public rust-gstreamer-sys-0.21
(package
(name "rust-gstreamer-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 33/40] gnu: Add rust-gstreamer-gl-x11-sys.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
85312a1abfcd5924c63f2d7183ce8860d039956b.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-gl-x11-sys): New variable.

Change-Id: I6f3b19f658e24b6bb6a4821823405b089776b827
---
gnu/packages/crates-gtk.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index d93f326037..d68471e589 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3515,6 +3515,33 @@ (define-public rust-gstreamer-gl-wayland-sys-0.21
"This package provides FFI bindings to libgstgl-1.0 (Wayland support).")
(license license:expat)))
+(define-public rust-gstreamer-gl-x11-sys-0.21
+ (package
+ (name "rust-gstreamer-gl-x11-sys")
+ (version "0.21.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-gl-x11-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1p5wdrn3h55jx15963z1wnk7whwplpjfymy5yjsmkqdrqw1yz6n4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gstreamer-gl-sys" ,rust-gstreamer-gl-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base mesa))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "FFI bindings to libgstgl-1.0 (X11 support)")
+ (description
+ "This package provides FFI bindings to libgstgl-1.0 (X11 support).")
+ (license license:expat)))
+
(define-public rust-gstreamer-pbutils-0.21
(package
(name "rust-gstreamer-pbutils")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 34/40] gnu: Add rust-gstreamer-gl-x11-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
8a806f3582bdc31c4fd549a65552ac6b891424c8.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-gl-x11-0.21): New variable.

Change-Id: I6f7be9de31ece838efa2cfd3dc2a770720a688bb
---
gnu/packages/crates-gtk.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index d68471e589..f670b0c987 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3515,6 +3515,33 @@ (define-public rust-gstreamer-gl-wayland-sys-0.21
"This package provides FFI bindings to libgstgl-1.0 (Wayland support).")
(license license:expat)))
+(define-public rust-gstreamer-gl-x11-0.21
+ (package
+ (name "rust-gstreamer-gl-x11")
+ (version "0.21.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-gl-x11" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0zgn5aih3bcz3ci3xkdpc2jzxrxiz1hdpkwq121w5ln96ag1n0np"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib" ,rust-glib-0.18)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-gl" ,rust-gstreamer-gl-0.21)
+ ("rust-gstreamer-gl-x11-sys" ,rust-gstreamer-gl-x11-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base mesa))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for GStreamer GL library (X11 support)")
+ (description
+ "This package provides Rust bindings for GStreamer GL library (X11 support).")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gstreamer-gl-x11-sys-0.21
(package
(name "rust-gstreamer-gl-x11-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 35/40] gnu: Add rust-gstreamer-allocators-0.21.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
fd069e3a7d9976012c07151ed1d5bca5bd58bba5.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gstreamer-allocators-0.21): New variable.

Change-Id: I5740372cfb52f8da90b08c08fe2b7e0600d0d463
---
gnu/packages/crates-gtk.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index f670b0c987..2054f3e903 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2987,6 +2987,33 @@ (define-public rust-gstreamer-0.18
("rust-ron" ,rust-ron-0.7)
("rust-serde-json" ,rust-serde-json-1))))))
+(define-public rust-gstreamer-allocators-0.21
+ (package
+ (name "rust-gstreamer-allocators")
+ (version "0.21.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gstreamer-allocators" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "14s244qk5dznd1pvswps7k61s6ksjd3pv0fzvpgybm1k9c5v57vc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib" ,rust-glib-0.18)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-allocators-sys" ,rust-gstreamer-allocators-sys-0.21)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gstreamer gst-plugins-base))
+ (home-page "https://gstreamer.freedesktop.org")
+ (synopsis "Rust bindings for GStreamer Allocators library")
+ (description
+ "This package provides Rust bindings for GStreamer Allocators library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gstreamer-allocators-sys-0.21
(package
(name "rust-gstreamer-allocators-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 36/40] gnu: Add rust-gdk4-win32-sys-0.7.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
5129b46ec09d2cb56dca13485f1af2319ced3e8e.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gdk4-win32-sys-0.7): New variable.

Change-Id: I17e4edc0df6537b483c97f00a2fe8c37da93c5c4
---
gnu/packages/crates-gtk.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 2054f3e903..40e7a8655c 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1281,6 +1281,31 @@ (define-public rust-gdk4-wayland-sys-0.7
(description "This package provides FFI bindings of GDK4 Wayland.")
(license license:expat)))
+(define-public rust-gdk4-win32-sys-0.7
+ (package
+ (name "rust-gdk4-win32-sys")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk4-win32-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0v9rkv1i1sbzckigdr5zjy0xzz6qf9iccikvg3qxjfnd8rsihp2b"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-gdk4-sys" ,rust-gdk4-sys-0.7)
+ ("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://gtk-rs.org/gtk4-rs")
+ (synopsis "FFI bindings of GDK4 Win32")
+ (description "This package provides FFI bindings of GDK4 Win32.")
+ (license license:expat)))
+
(define-public rust-gdk4-x11-0.7
(package
(name "rust-gdk4-x11")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 37/40] gnu: Add rust-gdk4-win32-0.7.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
71890ae0f28c8c2db468fba72ac981ec778c9116.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gdk4-win32-0.7): New variable.

Change-Id: I5c785a9d75af36a4cb4f38b8da640dacb908be8e
---
gnu/packages/crates-gtk.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 40e7a8655c..e74024e775 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1281,6 +1281,34 @@ (define-public rust-gdk4-wayland-sys-0.7
(description "This package provides FFI bindings of GDK4 Wayland.")
(license license:expat)))
+(define-public rust-gdk4-win32-0.7
+ (package
+ (name "rust-gdk4-win32")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk4-win32" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0mv04mipl57v1lj94j2rkrk9qm75jvdlnp7qm6nl2kpn8466arpy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-gdk4" ,rust-gdk4-0.7)
+ ("rust-gdk4-win32-sys" ,rust-gdk4-win32-sys-0.7)
+ ("rust-gio" ,rust-gio-0.18)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-khronos-egl" ,rust-khronos-egl-5)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-windows" ,rust-windows-0.52))
+ #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (home-page "https://gtk-rs.org/gtk4-rs")
+ (synopsis "Rust bindings of the GDK4 Win32 library")
+ (description
+ "This package provides Rust bindings of the GDK4 Win32 library.")
+ (license license:expat)))
+
(define-public rust-gdk4-win32-sys-0.7
(package
(name "rust-gdk4-win32-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 38/40] gnu: Add rust-gst-plugin-gtk4-0.11.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
0478651d299ca1e7fde473d4a1a5f666fd192fa3.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gst-plugin-gtk4-0.11): New variable.

Change-Id: Ifca9d748d758625344bb0846e01c2bae20685009
---
gnu/packages/crates-gtk.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)

Toggle diff (50 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index e74024e775..d819177893 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2937,6 +2937,43 @@ (define-public rust-gsk4-sys-0.7
#:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gst-plugin-gtk4-0.11
+ (package
+ (name "rust-gst-plugin-gtk4")
+ (version "0.11.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gst-plugin-gtk4" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1hmky9p16hnhrwm5i63ynlwfl1bpc9fp3as5ibrni1qlfq0vhwdj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-async-channel" ,rust-async-channel-2)
+ ("rust-gdk4-wayland" ,rust-gdk4-wayland-0.7)
+ ("rust-gdk4-win32" ,rust-gdk4-win32-0.7)
+ ("rust-gdk4-x11" ,rust-gdk4-x11-0.7)
+ ("rust-gst-plugin-version-helper" ,rust-gst-plugin-version-helper-0.8)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-allocators" ,rust-gstreamer-allocators-0.21)
+ ("rust-gstreamer-base" ,rust-gstreamer-base-0.21)
+ ("rust-gstreamer-gl" ,rust-gstreamer-gl-0.21)
+ ("rust-gstreamer-gl-egl" ,rust-gstreamer-gl-egl-0.21)
+ ("rust-gstreamer-gl-wayland" ,rust-gstreamer-gl-wayland-0.21)
+ ("rust-gstreamer-gl-x11" ,rust-gstreamer-gl-x11-0.21)
+ ("rust-gstreamer-video" ,rust-gstreamer-video-0.21)
+ ("rust-gtk4" ,rust-gtk4-0.7)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-windows-sys" ,rust-windows-sys-0.52))))
+ (native-inputs (list pkg-config))
+ (inputs (list gdk-pixbuf glib graphene gstreamer gst-plugins-base
+ gtk pango))
+ (home-page "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs")
+ (synopsis "GStreamer GTK 4 sink element")
+ (description "This package provides GStreamer GTK 4 sink element.")
+ (license license:mpl2.0)))
+
(define-public rust-gst-plugin-version-helper-0.8
(package
(name "rust-gst-plugin-version-helper")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 39/40] gnu: Add pango-1.52.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
b1d9585e12a63167a23729b07efd5fcfdd4dbc01.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/gtk.scm (pango-1.52): New variable.

Change-Id: I3007e2bf8edc24f2602d625c8e99388ef7e76593
---
gnu/packages/gtk.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)

Toggle diff (26 lines)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index ef1391e8ba..4e3e2fd70b 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -469,6 +469,19 @@ (define-public pango-1.42
(("test-layout\\$\\(EXEEXT\\)") ""))
#t)))))))
+(define-public pango-1.52
+ (package
+ (inherit pango)
+ (version "1.52.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/pango/"
+ (version-major+minor version) "/"
+ "pango-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0sx9g0gv8dppizjvh21rx0n5zkly6kwrkv6yafw18a0807z6l1yh"))))))
+
(define-public pango-1.90
(package
(inherit pango)
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 40/40] gnu: Add rust-aperture-0.3.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
d57d973513034b6b374852c675d16fe50572f66b.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-aperture-0.3): New variable.

Change-Id: I76c917be679fbb9b3e28b19bbf8cc1b6034211d7
---
gnu/packages/crates-gtk.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (43 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index d819177893..fce7c73270 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -42,6 +42,36 @@ (define-module (gnu packages crates-gtk)
;;;
;;; Please: Try to add new module packages in alphabetic order.
;;;
+
+(define-public rust-aperture-0.3
+ (package
+ (name "rust-aperture")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "aperture" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "02bjzskxp91br91yvf5f32wakp1i9948sxbsy9hdrxs52w38hr61"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:cargo-inputs `(("rust-gst-plugin-gtk4" ,rust-gst-plugin-gtk4-0.11)
+ ("rust-gstreamer" ,rust-gstreamer-0.21)
+ ("rust-gstreamer-pbutils" ,rust-gstreamer-pbutils-0.21)
+ ("rust-gstreamer-video" ,rust-gstreamer-video-0.21)
+ ("rust-gtk4" ,rust-gtk4-0.7)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (native-inputs (list pkg-config))
+ (inputs (list gdk-pixbuf glib graphene gstreamer gst-plugins-base
+ gst-plugins-bad gtk pango-1.52))
+ (home-page "https://gitlab.gnome.org/GNOME/snapshot")
+ (synopsis "GTK Widget for cameras using gstreamer and pipewire")
+ (description
+ "This package provides GTK Widget for cameras using gstreamer and pipewire.")
+ (license license:gpl3+)))
+
(define-public rust-atk-sys-0.14
(package
(name "rust-atk-sys")
--
2.46.0
G
G
Giacomo Leidi wrote on 7 Nov 23:22 +0100
[PATCHv2 rust-team 24/40] gnu: Add rust-gdk4-x11-sys-0.7.
(address . 74233@debbugs.gnu.org)(name . Giacomo Leidi)(address . goodoldpaul@autistici.org)
9e94cf3aa7458ea689c8f8b1bf1fa702b51479ee.1731018145.git.goodoldpaul@autistici.org
* gnu/packages/crates-gtk.scm (rust-gdk4-x11-sys-0.7): New variable.

Change-Id: Iadf7eaad3d6fe35a38f0e5957651f559509c3b4e
---
gnu/packages/crates-gtk.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 0ac3aba39e..87cf1f045c 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1280,6 +1280,34 @@ (define-public rust-gdk4-wayland-sys-0.7
(description "This package provides FFI bindings of GDK4 Wayland.")
(license license:expat)))
+(define-public rust-gdk4-x11-sys-0.7
+ (package
+ (name "rust-gdk4-x11-sys")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk4-x11-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "09gill32x6qy4s55xjckqvqrfxw4jfjrlcpmd4iijn076w4igpm3"))))
+ (build-system cargo-build-system)
+ (arguments
+ ;; tests/manual.h:3:10: fatal error: gdk/gdkx.h: No such file or directory
+ `(#:tests? #f
+ #:cargo-inputs (("rust-gdk4-sys" ,rust-gdk4-sys-0.7)
+ ("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gtk))
+ (home-page "https://gtk-rs.org/gtk4-rs")
+ (synopsis "FFI bindings of GDK4 X11")
+ (description "This package provides FFI bindings of GDK4 X11.")
+ (license license:expat)))
+
(define-public rust-gio-0.20
(package
(name "rust-gio")
--
2.46.0
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 74233@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 74233
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch