From patchwork Thu May 30 15:17:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Murilo X-Patchwork-Id: 64951 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 66F6C27BBE9; Thu, 30 May 2024 17:27:27 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED,URIBL_SBL_A autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 75E8627BBE2 for ; Thu, 30 May 2024 17:27:25 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCicF-00035o-Os; Thu, 30 May 2024 12:26:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sChbW-0001kv-QI for guix-patches@gnu.org; Thu, 30 May 2024 11:22:10 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sChbW-0007n9-72 for guix-patches@gnu.org; Thu, 30 May 2024 11:22:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sChbg-00030I-LG; Thu, 30 May 2024 11:22:20 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71278] [PATCH 30/44] gnu: Add rust-gdk-sys-0.17. Resent-From: Murilo Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Thu, 30 May 2024 15:22:20 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71278 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71278@debbugs.gnu.org Cc: Murilo , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 71278-submit@debbugs.gnu.org id=B71278.171708253211379 (code B ref 71278); Thu, 30 May 2024 15:22:20 +0000 Received: (at 71278) by debbugs.gnu.org; 30 May 2024 15:22:12 +0000 Received: from localhost ([127.0.0.1]:42279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sChbX-0002xD-9B for submit@debbugs.gnu.org; Thu, 30 May 2024 11:22:11 -0400 Received: from layka.disroot.org ([178.21.23.139]:47694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sChbE-0002se-VD for 71278@debbugs.gnu.org; Thu, 30 May 2024 11:21:53 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id EA16441832; Thu, 30 May 2024 17:21:41 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30TEvWjewHQB; Thu, 30 May 2024 17:21:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1717082500; bh=Jm+8DX2uGAxxINQV+SXfvkfDIpU8WWjdRdMp9pPODUo=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=VI/175KnX1jMK1C9nKeFw6l69rBmPCr52tg7vlyzIDbeCgyaOtgkfKx2BJs0V+rwi 0MXpi4TN68S1/bgvyrWsyICL03SKfXw4pqfyQX4uqa/ji9z9MvsRUckRN+xF86BH9K 374t+gzbC1cjaXu06Ynj5HmORMlYT0MojGoRnaNMeOXyDazNGFdEwBYUrJBoXkJox7 E466iU5DGh8Ni/QnmVO1dgwsoFxBUupNMUR7yCHRalJSy5rM//reqjsDLBRDRoamEO Wh+iEfEY1xJp8F6YcGayWIHgEXHhUPUN2+Xs79Zl834ZFCvvfLA2nVV/E9LGOgj7CJ SdjpQ4TwEJz5w== Date: Thu, 30 May 2024 12:17:57 -0300 Message-ID: <40310a0d264c40a8c08d51a2d7566afd619d22c8.1717072141.git.murilo@disroot.org> In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 30 May 2024 12:26:56 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Murilo X-ACL-Warn: , Murilo via Guix-patches X-Patchwork-Original-From: Murilo via Guix-patches via From: Murilo Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-gdk-sys-0.17): New variable. Change-Id: I8b421da0a80d04a1ecff635997cb1825f760f057 --- gnu/packages/crates-gtk.scm | 43 ++++++++++++++++++++++++++++++------- 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 45b2bb6bb6..db5c143bfa 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -879,8 +879,42 @@ (define-public rust-gdk-pixbuf-sys-0.9 (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-gdk-sys-0.17 + (package + (name "rust-gdk-sys") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gdk-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00z77l8cyccgyb2qi84yym6qggzm7a1c17g47xxs2rxw72fxwli1")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-system-deps" ,rust-system-deps-6) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("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-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.17) + ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.17)) + #:cargo-development-inputs + (("rust-shell-words" ,rust-shell-words-0.1) + ("rust-tempfile" ,rust-tempfile-3)))) + (inputs + (list cairo gdk-pixbuf gtk+ glib pango)) + (home-page "https://gtk-rs.org/") + (synopsis "FFI bindings to libgdk-3") + (description "FFI bindings to libgdk-3") + (license license:expat))) + (define-public rust-gdk-sys-0.14 (package + (inherit rust-gdk-sys-0.17) (name "rust-gdk-sys") (version "0.14.0") (source @@ -890,7 +924,6 @@ (define-public rust-gdk-sys-0.14 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "07hz3gg039sy7iffy2w5srxzsnqf15i3ryxkqfd995k67lyin28f")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -906,13 +939,7 @@ (define-public rust-gdk-sys-0.14 ("rust-system-deps" ,rust-system-deps-3)) #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-0.1) - ("rust-tempfile" ,rust-tempfile-3)))) - (inputs - (list cairo gdk-pixbuf gtk+ glib pango)) - (home-page "https://gtk-rs.org/") - (synopsis "FFI bindings to libgdk-3") - (description "FFI bindings to libgdk-3") - (license license:expat))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gdk-sys-0.10 (package