From d766bdb3a74c53d17039ce56d55877ef62fe5cd3 Mon Sep 17 00:00:00 2001 From: Nicholas von Klitzing Date: Wed, 15 Dec 2021 23:42:31 +0100 Subject: [PATCH 01/29] gnu: Add rust-gtk4-sys-0.3. * gnu/packages/crates-gtk.scm (rust-gtk4-sys-0.3): New variable. --- gnu/packages/crates-gtk.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index b22905629f..9a060c37c5 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -877,6 +877,38 @@ (define-public rust-gobject-sys-0.9 (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-gtk4-sys-0.3 + (package + (name "rust-gtk4-sys") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gtk4-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0j9vfcsi7iyn0dfzfc1mlhs7iyzj8w3i6k7h5y8gikyxy34682p2")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.14) + ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.14) + ("rust-gdk4-sys" ,rust-gdk4-sys-0.3) + ("rust-gio-sys" ,rust-gio-sys-0.14) + ("rust-glib-sys" ,rust-glib-sys-0.14) + ("rust-gobject-sys" ,rust-gobject-sys-0.14) + ("rust-graphene-sys" ,rust-graphene-sys-0.14) + ("rust-gsk4-sys" ,rust-gsk4-sys-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango-sys" ,rust-pango-sys-0.14) + ("rust-system-deps" ,rust-system-deps-5)))) + (home-page "http://gtk-rs.org/") + (synopsis "FFI bindings of GTK 4") + (description "FFI bindings of GTK 4") + (license license:expat))) + (define-public rust-gtk-0.8 (package (name "rust-gtk") -- 2.34.0