unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Murilo via Guix-patches via <guix-patches@gnu.org>
To: 71278@debbugs.gnu.org
Cc: Murilo <murilo@disroot.org>, Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#71278] [PATCH v2 32/44] gnu: Add rust-gtk-sys-0.17.
Date: Fri, 31 May 2024 09:38:22 -0300	[thread overview]
Message-ID: <2281c19345e52e82a8ae23ebb4bb9a56ff785352.1717159113.git.murilo@disroot.org> (raw)
In-Reply-To: <cover.1717159110.git.murilo@disroot.org>

* gnu/packages/crates-gtk.scm (rust-gtk-sys-0.17): New variable.
* gnu/packages/crates-gtk.scm (rust-gtk-sys-0.14): Update package definition
to inherit from newer version.

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

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index e788d84837..728774ec02 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2663,8 +2663,44 @@ (define-public rust-gtk-rs-lgpl-docs-0.1
      "LGPL-licensed docs for Gtk-rs crates.")
     (license license:lgpl2.0)))
 
+(define-public rust-gtk-sys-0.17
+  (package
+    (name "rust-gtk-sys")
+    (version "0.17.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gtk-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0zixvr0yribq0vr9gkq7mqgx74ydq448sd7ph1lpwniyp6jbd3jd"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-system-deps" ,rust-system-deps-6)
+                       ("rust-pango-sys" ,rust-pango-sys-0.17)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-gobject-sys" ,rust-gobject-sys-0.17)
+                       ("rust-glib-sys" ,rust-glib-sys-0.17)
+                       ("rust-gio-sys" ,rust-gio-sys-0.17)
+                       ("rust-gdk-sys" ,rust-gdk-sys-0.17)
+                       ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.17)
+                       ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.17)
+                       ("rust-atk-sys" ,rust-atk-sys-0.17))
+       #:cargo-development-inputs
+       (("rust-shell-words" ,rust-shell-words-1)
+        ("rust-tempfile" ,rust-tempfile-3))))
+    (native-inputs (list pkg-config))
+    (inputs
+     (list gtk+))
+    (home-page "https://gtk-rs.org/")
+    (synopsis "FFI bindings to libgtk-3")
+    (description "This package provides FFI bindings to libgtk-3.")
+    (license license:expat)))
+
 (define-public rust-gtk-sys-0.14
   (package
+    (inherit rust-gtk-sys-0.17)
     (name "rust-gtk-sys")
     (version "0.14.0")
     (source
@@ -2674,7 +2710,6 @@ (define-public rust-gtk-sys-0.14
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0gihp9zh4z7lycp0zbmq1w0k9ddbnd2h64jsgid7hi85vb9wh54c"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:tests? #f                      ;missing files
        #:cargo-inputs
@@ -2690,14 +2725,7 @@ (define-public rust-gtk-sys-0.14
         ("rust-system-deps" ,rust-system-deps-3))
        #:cargo-development-inputs
        (("rust-shell-words" ,rust-shell-words-1)
-        ("rust-tempfile" ,rust-tempfile-3))))
-    (native-inputs (list pkg-config))
-    (inputs
-     (list gtk+))
-    (home-page "https://gtk-rs.org/")
-    (synopsis "FFI bindings to libgtk-3")
-    (description "This package provides FFI bindings to libgtk-3.")
-    (license license:expat)))
+        ("rust-tempfile" ,rust-tempfile-3))))))
 
 (define-public rust-gtk-sys-0.10
   (package
-- 
2.41.0





  parent reply	other threads:[~2024-05-31 13:03 UTC|newest]

Thread overview: 90+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-30 13:02 [bug#71278] [PATCH rust-team 00/44] Add eww Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 01/44] gnu: " Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 02/44] gnu: Add rust-cached-0.48 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 03/44] gnu: Add rust-codemap-0.1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 04/44] gnu: Add rust-hifijson-0.2 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 05/44] gnu: Add rust-lasso-0.7 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 06/44] gnu: Add rust-notifier-host-0.6 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 07/44] gnu: Add rust-simplexpr-0.1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 08/44] gnu: Add rust-simple-signal-1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 09/44] gnu: Add rust-yuck-0.1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 10/44] gnu: Add rust-cached-proc-macro-0.19 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 11/44] gnu: Add rust-cached-proc-macro-types-0.1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 12/44] gnu: Add rust-dbusmenu-glib-0.1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 13/44] gnu: Add rust-dbusmenu-glib-sys-0.1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 14/44] gnu: Add rust-dbusmenu-gtk3-0.1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 15/44] gnu: Add rust-dbusmenu-gtk3-sys-0.1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 16/44] gnu: Add rust-extend-1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 17/44] gnu: Add rust-eww-shared-util-0.1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 18/44] gnu: Add rust-grass-0.13 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 19/44] gnu: Add rust-grass-compiler-0.13 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 20/44] gnu: Add rust-jaq-core-1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 21/44] gnu: Add rust-jaq-interpret-1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 22/44] gnu: Add rust-jaq-parse-1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 23/44] gnu: Add rust-jaq-std-1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 24/44] gnu: Add rust-jaq-syn-1 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 25/44] gnu: Add rust-gdkx11-0.17 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 26/44] gnu: Add rust-gdkx11-sys-0.17 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 27/44] gnu: Add rust-gtk-layer-shell-0.6 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 28/44] gnu: Add rust-gtk-layer-shell-sys-0.6 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 29/44] gnu: Add rust-gdk-0.17 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 30/44] gnu: Add rust-gdk-sys-0.17 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 31/44] gnu: Add rust-gtk-0.17 Murilo via Guix-patches via
2024-05-30 15:17 ` [bug#71278] [PATCH 32/44] gnu: Add rust-gtk-sys-0.17 Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 33/44] gnu: Add rust-gtk3-macros-0.17 Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 34/44] gnu: Add rust-atk-0.17 Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 35/44] gnu: Add rust-atk-sys-0.17 Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 36/44] gnu: rust-clap-complete-4: Update to 4.5.1 Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 37/44] gnu: rust-ref-cast-1: Update to 1.0.22 Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 38/44] gnu: rust-ref-cast-impl-1: " Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 39/44] gnu: rust-darling-0.14: Update to 0.14.4 Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 40/44] gnu: rust-darling-core-0.14: " Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 41/44] gnu: rust-darling-macro-0.14: " Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 42/44] gnu: Add rust-slotmap-0.4 Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 43/44] gnu: Add rust-deepsize-0.2 Murilo via Guix-patches via
2024-05-30 15:18 ` [bug#71278] [PATCH 44/44] gnu: Add rust-deepsize-derive-0.1 Murilo via Guix-patches via
2024-05-31 12:37 ` [bug#71278] [PATCH rust-team v2 00/44] Add eww Murilo via Guix-patches via
2024-05-31 12:37   ` [bug#71278] [PATCH v2 01/44] gnu: " Murilo via Guix-patches via
2024-05-31 12:37   ` [bug#71278] [PATCH v2 02/44] gnu: Add rust-cached-0.48 Murilo via Guix-patches via
2024-05-31 12:37   ` [bug#71278] [PATCH v2 03/44] gnu: Add rust-codemap-0.1 Murilo via Guix-patches via
2024-05-31 12:37   ` [bug#71278] [PATCH v2 04/44] gnu: Add rust-hifijson-0.2 Murilo via Guix-patches via
2024-05-31 12:37   ` [bug#71278] [PATCH v2 05/44] gnu: Add rust-lasso-0.7 Murilo via Guix-patches via
2024-05-31 12:37   ` [bug#71278] [PATCH v2 06/44] gnu: Add rust-notifier-host-0.6 Murilo via Guix-patches via
2024-05-31 12:37   ` [bug#71278] [PATCH v2 07/44] gnu: Add rust-simplexpr-0.1 Murilo via Guix-patches via
2024-05-31 12:37   ` [bug#71278] [PATCH v2 08/44] gnu: Add rust-simple-signal-1 Murilo via Guix-patches via
2024-05-31 12:37   ` [bug#71278] [PATCH v2 09/44] gnu: Add rust-yuck-0.1 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 10/44] gnu: Add rust-cached-proc-macro-0.19 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 11/44] gnu: Add rust-cached-proc-macro-types-0.1 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 12/44] gnu: Add rust-dbusmenu-glib-0.1 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 13/44] gnu: Add rust-dbusmenu-glib-sys-0.1 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 14/44] gnu: Add rust-dbusmenu-gtk3-0.1 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 15/44] gnu: Add rust-dbusmenu-gtk3-sys-0.1 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 16/44] gnu: Add rust-extend-1 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 17/44] gnu: Add rust-eww-shared-util-0.1 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 18/44] gnu: Add rust-grass-0.13 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 19/44] gnu: Add rust-grass-compiler-0.13 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 20/44] gnu: Add rust-jaq-core-1 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 21/44] gnu: Add rust-jaq-interpret-1 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 22/44] gnu: Add rust-jaq-parse-1 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 23/44] gnu: Add rust-jaq-std-1 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 24/44] gnu: Add rust-jaq-syn-1 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 25/44] gnu: Add rust-gdkx11-0.17 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 26/44] gnu: Add rust-gdkx11-sys-0.17 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 27/44] gnu: Add rust-gtk-layer-shell-0.6 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 28/44] gnu: Add rust-gtk-layer-shell-sys-0.6 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 29/44] gnu: Add rust-gdk-0.17 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 30/44] gnu: Add rust-gdk-sys-0.17 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 31/44] gnu: Add rust-gtk-0.17 Murilo via Guix-patches via
2024-05-31 12:38   ` Murilo via Guix-patches via [this message]
2024-05-31 12:38   ` [bug#71278] [PATCH v2 33/44] gnu: Add rust-gtk3-macros-0.17 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 34/44] gnu: Add rust-atk-0.17 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 35/44] gnu: Add rust-atk-sys-0.17 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 36/44] gnu: rust-clap-complete-4: Update to 4.5.2 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 37/44] gnu: rust-ref-cast-1: Update to 1.0.23 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 38/44] gnu: rust-ref-cast-impl-1: " Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 39/44] gnu: rust-darling-0.14: Update to 0.14.4 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 40/44] gnu: rust-darling-core-0.14: " Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 41/44] gnu: rust-darling-macro-0.14: " Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 42/44] gnu: Add rust-slotmap-0.4 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 43/44] gnu: Add rust-deepsize-0.2 Murilo via Guix-patches via
2024-05-31 12:38   ` [bug#71278] [PATCH v2 44/44] gnu: Add rust-deepsize-derive-0.1 Murilo via Guix-patches via

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=2281c19345e52e82a8ae23ebb4bb9a56ff785352.1717159113.git.murilo@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=71278@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    --cc=murilo@disroot.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).