From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id QCowEBupWGZPOgAAqHPOHw:P1 (envelope-from ) for ; Thu, 30 May 2024 18:28:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id QCowEBupWGZPOgAAqHPOHw (envelope-from ) for ; Thu, 30 May 2024 18:28:11 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=e4H52IqW; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717086491; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZE4Ct+K4cDdoECPGqWLE3Rjzy/sxSXf0xMmWHXbVFfE=; b=XZ8vUp7qJt7HRutKnZkIywq7OezW6tsSclvIY2ZWDsyIBMnEOaXB0bie2dv9XEq8kqwEsR pcIZRZaLJHUccSLe/qgxdMhwh/KGYJhR57eOeik+8KU+/FynekUlP5VYjQT3o1cHZ8eCl1 nUt1QkywD8uUKPSa2Vo3dh4S1qvBN4vOC2EhmhVD9PQ8Xs6OM3w3gTQ4dIXfgRwOdZuNJ2 GSXgm3kx4NVfnHZYFEpOodUrfAADvFOMUSDmGESe0N9Toi0v+wNiLF9UzoWHpkol6TEUj9 seam5QPNB1zFJu37vxA1P9VhWbErxsF2gfacL9g58LBChDc587nePZnBuS7P2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=e4H52IqW; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717086491; a=rsa-sha256; cv=none; b=ivwWN2deufqV+ZzVEryqK13c6Fm+RfZAgLCv39AizHnLkauUevEi2i2VFDFOgKSyXwJHz1 lvmetwZk6QD4qLVIQ+qJRzl482voEfSlqrOnOHbL8HBodiI1itjVI0PBeJNpqVoExEgBJi fk12P6nOlNyYGq2kjNZF92eqr8PbamOwPg7Oe6eenjzpSxjisVruH/tqexn7Sl9JgYHrNG 2sMuyZ2Pa6/F77/rNG3cdBVbmhDOEGcg5nxmiDZTXzYHcvwZafC2c2GFjkhpFqE9MxUjy+ lX61wmxbdH5UczTpdHn+46f/t1f//lF4jqMKGMWCmO3xerd5ADRm4uCDbYMJUw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2E0FCD809 for ; Thu, 30 May 2024 18:28:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCicG-000366-0l; Thu, 30 May 2024 12:27:00 -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 1sChbX-0001lJ-En for guix-patches@gnu.org; Thu, 30 May 2024 11:22:11 -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 1sChbX-0007nM-6w for guix-patches@gnu.org; Thu, 30 May 2024 11:22:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sChbh-00030a-Lx; Thu, 30 May 2024 11:22:21 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71278] [PATCH 32/44] gnu: Add rust-gtk-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:21 +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.171708253411421 (code B ref 71278); Thu, 30 May 2024 15:22:21 +0000 Received: (at 71278) by debbugs.gnu.org; 30 May 2024 15:22:14 +0000 Received: from localhost ([127.0.0.1]:42290 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sChbY-0002xr-Sr for submit@debbugs.gnu.org; Thu, 30 May 2024 11:22:14 -0400 Received: from layka.disroot.org ([178.21.23.139]:44400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sChbI-0002sv-Ad for 71278@debbugs.gnu.org; Thu, 30 May 2024 11:21:56 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 4D0DD40D5C; Thu, 30 May 2024 17:21:45 +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 Q942nxXARw50; Thu, 30 May 2024 17:21:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1717082504; bh=dQ56t6uFjzm476DgVfMOlhVoOo6ARLXcFgfef+66bw8=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=e4H52IqWkU/qLYyuwG7PGcz6BgddTf7BsBZfPo/afbTM9IhSzKh6q39MouLEHDB/U OBmMKSRb59xPEA3dFfIu1Hf7kOsUxFs4OpA9l/oXRAZelg6A+cEe0NvqmngwI/Kjc7 dZcoVJForvRZ9IySHsqXsi5R6dOGnJyfVKiml+ulLCnXJ4NBKJDGqvkCsgnMj09lBI ZRX5Ucyb/8Ph4ukl9GL+HaNz/VFciaglaz51XkvoGUr9Mip8jN5CfDTMc7XjOMOfyG aljiGVzF6UArxdJALxzbfmJgLG1tUnsw29Pl7JF066tH5uh3f/dASL7UYqWFYMmDj+ A6m20VYmeFQSQ== Date: Thu, 30 May 2024 12:17:59 -0300 Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 From: Murilo via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -6.35 X-Migadu-Queue-Id: 2E0FCD809 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.35 X-TUID: pSvq+QWIY+2M * gnu/packages/crates-gtk.scm (rust-gtk-sys-0.17): New variable. Change-Id: I19e687fd999d70374f7e218a57edcaa1349df617 --- 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