From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id MFX4HY/KWWaktwAAA41jLg (envelope-from ) for ; Fri, 31 May 2024 15:03:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id oLOWGo/KWWZnzwAA62LTzQ (envelope-from ) for ; Fri, 31 May 2024 15:03: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="gwDz6B/g"; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717160591; a=rsa-sha256; cv=none; b=YpVRMZ2NHaw9gJDozkiYD9P87R1z4qf0mOJPE89ecru0KxGVu35cJK3hxytk1ptR2lA+0S 4q6MMFpA5j6qGh+uvtWPS0f6hD2NNPMW3VT6u2H21if/4okET/KPq5dhUM7eFDEhKXryan fnGFgYV5kbPioSScRcjZVq5gh2MDvrmQ1zfz4T/9Z95hVVxov/hgtmloDQNa1p6gXuZ0sq J946ziWxbolrUxPqs8HzkbdMXOiBm2JDQRCvdW/RySA5O4EetlgvFpUJOc0YQ7Vuatf2/j r0xY5PeSUf3Y8i4rHNTFOUiGrt0YwTc9EDu3QdauyU1AtrdULFVPVomSyh3m2g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b="gwDz6B/g"; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717160591; 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=UXpx7FgykNd4JYeLA+Apjz+/Pj9zgCKd5Oi9zOzut00=; b=ORK5BsWGEUeEkdeSBl5m/wVAO+QRDuLK6v2oevGFM18zV103MU5h2fR0M62oCpe7q/lsOz YiK9RfdoAZz6YZsglVY/jK7YAHRxmkuj7rlirSdtqE5AhoGuOOavmnbASy/h/U7um7OAwe 6vRmMhW6n+5Qe4N1ZA6Ibir/lgkwEXZhuON38vvzx9XLJF0lG65DHWaVZ4fq2ePUF3vvgs KlsL+tA3vhkNAFiF/VWTVmQMBl1FlIMKnDoP7cXx85L5yK32ujVpbeOK/yPjobFBFW/mML olyT4+mCFwN6q2rJobX6hp/uRWi3xIggz9D7Ub84WX/uBLRjlRVRcniEyQ0Dcw== 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 408FD3146F for ; Fri, 31 May 2024 15:03:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sD1uU-0008FK-Gw; Fri, 31 May 2024 09:03:06 -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 1sD1uL-0007vD-4o for guix-patches@gnu.org; Fri, 31 May 2024 09:02:58 -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 1sD1uG-0005ur-7V for guix-patches@gnu.org; Fri, 31 May 2024 09:02:54 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sD1uR-0006Ra-8H; Fri, 31 May 2024 09:03:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71278] [PATCH v2 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: Fri, 31 May 2024 13:03:03 +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.171716053124582 (code B ref 71278); Fri, 31 May 2024 13:03:03 +0000 Received: (at 71278) by debbugs.gnu.org; 31 May 2024 13:02:11 +0000 Received: from localhost ([127.0.0.1]:53678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sD1tb-0006OJ-7q for submit@debbugs.gnu.org; Fri, 31 May 2024 09:02:11 -0400 Received: from layka.disroot.org ([178.21.23.139]:37266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sD1sp-0006Jh-VP for 71278@debbugs.gnu.org; Fri, 31 May 2024 09:01:24 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 6B30E44D6D; Fri, 31 May 2024 15:01:12 +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 7PSJsChFUdbW; Fri, 31 May 2024 15:01:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1717160471; bh=CtdImlz/wUVzog1HDcZ4n3js5mFETmpiAhWsJyW3PtA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=gwDz6B/giOU3QLJtALhYCZDrM+PCe/Fk4JSG24b9j+rZeyr8P02Nu/iDehcLTVovT isYAigYWQ3kOfLE6SVsN6BpVxQeVhRrAahkhx9XqJyGIKCx21SOVOzjvlt3QNtbUx5 WXLuJQItrXQ9sNeleMPf2hSc8Eq2bLEI/btaaquyjhSDraucUI/0+x+OmPSaIKTbE5 JNDKUco4x2ZPLF09hUxlkgDI1sN+w09jsTk3ocud4G8Ql5jH6ylaqmJGP7o5zZ9LbN aTfV9LT2eiCeEg3KwzgxgQRmd+ZW5KssRTrb8A2oZVAzSCf5OwZUxxSeP4jWaAOB8a Ayx3HFNRfgJaw== Date: Fri, 31 May 2024 09:38:22 -0300 Message-ID: <2281c19345e52e82a8ae23ebb4bb9a56ff785352.1717159113.git.murilo@disroot.org> 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-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-Migadu-Queue-Id: 408FD3146F X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.35 X-Spam-Score: -6.35 X-TUID: 2/CSrFKFOihB * 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