unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Giacomo Leidi via Guix-patches via <guix-patches@gnu.org>
To: 73956@debbugs.gnu.org
Cc: Giacomo Leidi <goodoldpaul@autistici.org>,
	Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#73956] [PATCHv2 rust-team 27/27] gnu: Add rust-libadwaita-0.6.
Date: Wed,  6 Nov 2024 21:41:31 +0100	[thread overview]
Message-ID: <779061ae3af8eeb2021dcab1b900b6d7c02e555f.1730925691.git.goodoldpaul@autistici.org> (raw)
In-Reply-To: <0084c1ccd6c3a7ff853bfc25cc3f2f7e1131f898.1730925691.git.goodoldpaul@autistici.org>

* gnu/packages/crates-gtk.scm (rust-libadwaita-0.6): New variable;
(rust-libadwaita-0.5): inherit from rust-libadwaita-0.6.

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

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 82143ebbed..17afb65321 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3433,15 +3433,38 @@ (define-public rust-gtk4-sys-0.7
                        ("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-libadwaita-0.6
+  (package
+    (name "rust-libadwaita")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libadwaita" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1nf5hxmk1bzjj8hxavwgz04kiv3hxb52qjh9f9gfrqdr9019kd4i"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.20)
+                       ("rust-gdk4" ,rust-gdk4-0.8)
+                       ("rust-gio" ,rust-gio-0.20)
+                       ("rust-glib" ,rust-glib-0.20)
+                       ("rust-gtk4" ,rust-gtk4-0.8)
+                       ("rust-libadwaita-sys" ,rust-libadwaita-sys-0.6)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-pango" ,rust-pango-0.20))))
     (native-inputs (list pkg-config))
-    (inputs (list cairo gdk-pixbuf graphene gtk pango))
-    (home-page "https://gtk-rs.org/")
-    (synopsis "FFI bindings of GTK 4")
-    (description "This package provides FFI bindings of GTK 4.")
+    (inputs (list libadwaita))
+    (home-page "https://world.pages.gitlab.gnome.org/Rust/libadwaita-rs")
+    (synopsis "Rust bindings for libadwaita")
+    (description "Rust bindings for libadwaita.")
     (license license:expat)))
 
 (define-public rust-libadwaita-0.5
   (package
+    (inherit rust-libadwaita-0.6)
     (name "rust-libadwaita")
     (version "0.5.3")
     (source
@@ -3451,7 +3474,6 @@ (define-public rust-libadwaita-0.5
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "174pzn9dwsk8ikvrhx13vkh0zrpvb3rhg9yd2q5d2zjh0q6fgrrg"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.18)
                        ("rust-gdk4" ,rust-gdk4-0.7)
@@ -3460,13 +3482,7 @@ (define-public rust-libadwaita-0.5
                        ("rust-gtk4" ,rust-gtk4-0.7)
                        ("rust-libadwaita-sys" ,rust-libadwaita-sys-0.5)
                        ("rust-libc" ,rust-libc-0.2)
-                       ("rust-pango" ,rust-pango-0.18))))
-    (native-inputs (list pkg-config))
-    (inputs (list libadwaita))
-    (home-page "https://world.pages.gitlab.gnome.org/Rust/libadwaita-rs")
-    (synopsis "Rust bindings for libadwaita")
-    (description "Rust bindings for libadwaita.")
-    (license license:expat)))
+                       ("rust-pango" ,rust-pango-0.18))))))
 
 (define-public rust-libadwaita-sys-0.6
   (package
-- 
2.46.0





  parent reply	other threads:[~2024-11-06 20:43 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-22 23:05 [bug#73956] [PATCH rust-team] Add rust-libadwaita-0.6 paul via Guix-patches via
2024-10-22 23:30 ` [bug#73956] [PATCH rust-team 01/27] gnu: Add rust-cfg-expr-0.17 Giacomo Leidi via Guix-patches via
2024-10-22 23:30   ` [bug#73956] [PATCH rust-team 02/27] gnu: Add rust-system-deps-7 Giacomo Leidi via Guix-patches via
2024-10-22 23:30   ` [bug#73956] [PATCH rust-team 03/27] gnu: Add rust-glib-sys-0.20 Giacomo Leidi via Guix-patches via
2024-10-22 23:30   ` [bug#73956] [PATCH rust-team 04/27] gnu: Add rust-bitflags-2.6 Giacomo Leidi via Guix-patches via
2024-10-22 23:30   ` [bug#73956] [PATCH rust-team 05/27] gnu: Add rust-gobject-sys-0.20 Giacomo Leidi via Guix-patches via
2024-10-22 23:30   ` [bug#73956] [PATCH rust-team 06/27] gnu: Add rust-gio-sys-0.20 Giacomo Leidi via Guix-patches via
2024-10-22 23:30   ` [bug#73956] [PATCH rust-team 07/27] gnu: Add rust-glib-macros-0.20 Giacomo Leidi via Guix-patches via
2024-10-22 23:30   ` [bug#73956] [PATCH rust-team 08/27] gnu: Add rust-glib-0.20 Giacomo Leidi via Guix-patches via
2024-10-22 23:30   ` [bug#73956] [PATCH rust-team 09/27] gnu: Add rust-cairo-sys-rs-0.20 Giacomo Leidi via Guix-patches via
2024-10-22 23:30   ` [bug#73956] [PATCH rust-team 10/27] gnu: Add rust-freetype-sys-0.21 Giacomo Leidi via Guix-patches via
2024-10-22 23:30   ` [bug#73956] [PATCH rust-team 11/27] gnu: Add rust-freetype-rs-0.37 Giacomo Leidi via Guix-patches via
2024-10-22 23:30   ` [bug#73956] [PATCH rust-team 12/27] gnu: Add rust-cairo-rs-0.20 Giacomo Leidi via Guix-patches via
2024-10-22 23:30   ` [bug#73956] [PATCH rust-team 13/27] gnu: Add rust-pango-sys-0.20 Giacomo Leidi via Guix-patches via
2024-10-22 23:30   ` [bug#73956] [PATCH rust-team 14/27] gnu: Add rust-libadwaita-sys-0.6 Giacomo Leidi via Guix-patches via
2024-10-22 23:31   ` [bug#73956] [PATCH rust-team 15/27] gnu: Add rust-gdk-pixbuf-sys-0.20 Giacomo Leidi via Guix-patches via
2024-10-22 23:31   ` [bug#73956] [PATCH rust-team 16/27] gnu: Add rust-gio-0.20 Giacomo Leidi via Guix-patches via
2024-10-22 23:31   ` [bug#73956] [PATCH rust-team 17/27] gnu: Add rust-gdk-pixbuf-0.20 Giacomo Leidi via Guix-patches via
2024-10-22 23:31   ` [bug#73956] [PATCH rust-team 18/27] gnu: Add rust-pango-0.20 Giacomo Leidi via Guix-patches via
2024-10-22 23:31   ` [bug#73956] [PATCH rust-team 19/27] gnu: Add rust-gdk4-sys-0.8 Giacomo Leidi via Guix-patches via
2024-10-22 23:31   ` [bug#73956] [PATCH rust-team 20/27] gnu: Add rust-gdk4-0.8 Giacomo Leidi via Guix-patches via
2024-10-22 23:31   ` [bug#73956] [PATCH rust-team 21/27] gnu: Add rust-graphene-sys-0.19 Giacomo Leidi via Guix-patches via
2024-10-22 23:31   ` [bug#73956] [PATCH rust-team 22/27] gnu: Add rust-gsk4-sys-0.8 Giacomo Leidi via Guix-patches via
2024-10-22 23:31   ` [bug#73956] [PATCH rust-team 23/27] gnu: Add rust-graphene-rs-0.19 Giacomo Leidi via Guix-patches via
2024-10-22 23:31   ` [bug#73956] [PATCH rust-team 24/27] gnu: Add rust-gsk4-0.8 Giacomo Leidi via Guix-patches via
2024-10-22 23:31   ` [bug#73956] [PATCH rust-team 25/27] gnu: Add rust-gtk4-sys-0.8 Giacomo Leidi via Guix-patches via
2024-10-22 23:31   ` [bug#73956] [PATCH rust-team 26/27] gnu: Add rust-gtk4-0.8 and rust-gtk4-macros-0.8 Giacomo Leidi via Guix-patches via
2024-10-22 23:31   ` [bug#73956] [PATCH rust-team 27/27] gnu: Add rust-libadwaita-0.6 Giacomo Leidi via Guix-patches via
2024-11-06 20:33 ` [bug#73956] [PATCH rust-team] " paul via Guix-patches via
2024-11-06 20:41 ` [bug#73956] [PATCHv2 rust-team 01/27] gnu: Add rust-cfg-expr-0.17 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 02/27] gnu: Add rust-system-deps-7 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 03/27] gnu: Add rust-glib-sys-0.20 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 04/27] gnu: Add rust-bitflags-2.6 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 05/27] gnu: Add rust-gobject-sys-0.20 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 06/27] gnu: Add rust-gio-sys-0.20 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 07/27] gnu: Add rust-glib-macros-0.20 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 08/27] gnu: Add rust-glib-0.20 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 09/27] gnu: Add rust-cairo-sys-rs-0.20 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 10/27] gnu: Add rust-freetype-sys-0.21 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 11/27] gnu: Add rust-freetype-rs-0.37 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 12/27] gnu: Add rust-cairo-rs-0.20 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 13/27] gnu: Add rust-pango-sys-0.20 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 14/27] gnu: Add rust-libadwaita-sys-0.6 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 15/27] gnu: Add rust-gdk-pixbuf-sys-0.20 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 16/27] gnu: Add rust-gio-0.20 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 17/27] gnu: Add rust-gdk-pixbuf-0.20 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 18/27] gnu: Add rust-pango-0.20 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 19/27] gnu: Add rust-gdk4-sys-0.8 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 20/27] gnu: Add rust-gdk4-0.8 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 21/27] gnu: Add rust-graphene-sys-0.19 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 22/27] gnu: Add rust-gsk4-sys-0.8 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 23/27] gnu: Add rust-graphene-rs-0.19 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 24/27] gnu: Add rust-gsk4-0.8 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 25/27] gnu: Add rust-gtk4-sys-0.8 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` [bug#73956] [PATCHv2 rust-team 26/27] gnu: Add rust-gtk4-0.8 and rust-gtk4-macros-0.8 Giacomo Leidi via Guix-patches via
2024-11-06 20:41   ` Giacomo Leidi via Guix-patches via [this message]
2024-11-11 10:08     ` bug#73956: [PATCHv2 rust-team 27/27] gnu: Add rust-libadwaita-0.6 Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

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

  git send-email \
    --in-reply-to=779061ae3af8eeb2021dcab1b900b6d7c02e555f.1730925691.git.goodoldpaul@autistici.org \
    --to=guix-patches@gnu.org \
    --cc=73956@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    --cc=goodoldpaul@autistici.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).