From patchwork Thu Nov 7 22:22:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 70066 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 AC81C27BBE2; Thu, 7 Nov 2024 22:25:11 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 0C3E127BBEB for ; Thu, 7 Nov 2024 22:25:10 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9Avw-0005rB-VX; Thu, 07 Nov 2024 17:24:56 -0500 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 1t9Avb-0005bN-GL for guix-patches@gnu.org; Thu, 07 Nov 2024 17:24:36 -0500 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 1t9AvP-0006sK-8J for guix-patches@gnu.org; Thu, 07 Nov 2024 17:24:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=+5plpBUnb7Ept9+0fpwhamxhQxlxmUFrIkFyJ4YHJDg=; b=UBI2os8JxqeEett2m6mslriOC/k6/Q8pbIidZqF6wtWXN6FPp8/D8xG8l8CTLhAr3dN0tPP7CKPA5gkG+vVJC0KtscutwFJBuAfK4/nRHj3QNAipAhHwXDHGaFav2DvwOSRgbYbwGH66zqIDsMfvonyFm/MtM13C4fBYBvgRo4J0yEKCjyzFeedFqo5nccKny7+/UHfLVv7IJZs6Pvd0++mLujSqrf8N4a5C7a7PUEkoA50cHZUIbTGjquSHHBNGUReeQ4X3VDPXjxUV+ISt/QrS3FV78w6MoaWABNOs7mcH4jN0vMbj0z0cqLmdSNi+j+XlPwEUQ+M7vLy1+K03Jg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9AvP-0007mg-38; Thu, 07 Nov 2024 17:24:23 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74233] [PATCHv2 rust-team 24/40] gnu: Add rust-gdk4-x11-sys-0.7. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Thu, 07 Nov 2024 22:24:23 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74233 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74233@debbugs.gnu.org Cc: Giacomo Leidi , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 74233-submit@debbugs.gnu.org id=B74233.173101824629629 (code B ref 74233); Thu, 07 Nov 2024 22:24:23 +0000 Received: (at 74233) by debbugs.gnu.org; 7 Nov 2024 22:24:06 +0000 Received: from localhost ([127.0.0.1]:50048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Av7-0007hh-NO for submit@debbugs.gnu.org; Thu, 07 Nov 2024 17:24:06 -0500 Received: from confino.investici.org ([93.190.126.19]:33811) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Auh-0007cS-I5 for 74233@debbugs.gnu.org; Thu, 07 Nov 2024 17:23:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1731018211; bh=+5plpBUnb7Ept9+0fpwhamxhQxlxmUFrIkFyJ4YHJDg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ref54UkS0kF5ciil6YAxymrDl12V7SouBlz+6SIGwJ2hsZSIDNUN1an5JnJGEefis IvfsWxaCFC/+j8nYNxk0/G+vxQY3HZxGfSNrFcTDfh0sp6paQ5a/r1EbM81w68j+7+ 1tItaJUu9eN4MTOiaoYD21oC6+1PPidsMbcWn8Ig= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkxRl62Nkz1135; Thu, 7 Nov 2024 22:23:31 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4XkxRl5JGvz111Z; Thu, 7 Nov 2024 22:23:31 +0000 (UTC) Date: Thu, 7 Nov 2024 23:22:09 +0100 Message-ID: <9e94cf3aa7458ea689c8f8b1bf1fa702b51479ee.1731018145.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 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: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi 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-gdk4-x11-sys-0.7): New variable. Change-Id: Iadf7eaad3d6fe35a38f0e5957651f559509c3b4e --- gnu/packages/crates-gtk.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 0ac3aba39e..87cf1f045c 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1280,6 +1280,34 @@ (define-public rust-gdk4-wayland-sys-0.7 (description "This package provides FFI bindings of GDK4 Wayland.") (license license:expat))) +(define-public rust-gdk4-x11-sys-0.7 + (package + (name "rust-gdk4-x11-sys") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gdk4-x11-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09gill32x6qy4s55xjckqvqrfxw4jfjrlcpmd4iijn076w4igpm3")))) + (build-system cargo-build-system) + (arguments + ;; tests/manual.h:3:10: fatal error: gdk/gdkx.h: No such file or directory + `(#:tests? #f + #:cargo-inputs (("rust-gdk4-sys" ,rust-gdk4-sys-0.7) + ("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-6)) + #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list glib gtk)) + (home-page "https://gtk-rs.org/gtk4-rs") + (synopsis "FFI bindings of GDK4 X11") + (description "This package provides FFI bindings of GDK4 X11.") + (license license:expat))) + (define-public rust-gio-0.20 (package (name "rust-gio")