From patchwork Sat May 4 11:34:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 64032 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 EE72927BBE9; Sat, 4 May 2024 12:39:13 +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.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED 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 43C3627BBE2 for ; Sat, 4 May 2024 12:39:12 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3Di1-0003XT-Bg; Sat, 04 May 2024 07:37:41 -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 1s3Di0-0003X2-DI for guix-patches@gnu.org; Sat, 04 May 2024 07:37:40 -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 1s3Di0-0006It-3P for guix-patches@gnu.org; Sat, 04 May 2024 07:37:40 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3DiM-0004SZ-SB; Sat, 04 May 2024 07:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH rust-team v3 02/75] gnu: Add rust-sourceview5-0.7. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sat, 04 May 2024 11:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69257@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69257-submit@debbugs.gnu.org id=B69257.171482265516782 (code B ref 69257); Sat, 04 May 2024 11:38:02 +0000 Received: (at 69257) by debbugs.gnu.org; 4 May 2024 11:37:35 +0000 Received: from localhost ([127.0.0.1]:52879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Dhu-0004MS-Df for submit@debbugs.gnu.org; Sat, 04 May 2024 07:37:34 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:44215 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Dhs-0004Lm-CI for 69257@debbugs.gnu.org; Sat, 04 May 2024 07:37:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1714822617; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ISpa4rFae4KhajtQDaaFdbPJkW7JLfzHsj4ta2e4Uiw=; b=HnrgXq8SJGyNZ0EjmcWP5tpekkt+fhb8/fAhtxE8hocalPuEZjH132Psxw+tiL9eAzpKVc yo+fS5i0++TE2s9g7roigrSs5wxalTmU0osWzKBCSEIWeIYPlLWO/Hw2sIblYxljthcaJO hDOMiDwdfo7Y5mOGLqa+hZjhBwjqSAtbtaTMQT2BAOo/tZ6rca/MmlWisVnP6j1VqNG1T6 +xaPiZ2BYBgZwAvZ5tCCYoviBEo1pXN41gauXg3XEq4QwZBQP2WFw79DJXDn2ZLjyUgsRQ dyqaoNQEu++btptHwem6h7GKrBwswgoBXbMrPeSAOpDuImzmM3bl3KK3IIR7Pg== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 9039c4af (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <69257@debbugs.gnu.org>; Sat, 4 May 2024 11:36:57 +0000 (UTC) Date: Sat, 4 May 2024 13:34:34 +0200 Message-ID: <40d1af13063b27756e9914f91dd6092d7bbb9ce5.1714820129.git.herman@rimm.ee> X-Mailer: git-send-email 2.41.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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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-sourceview5-0.7): Add variable. Change-Id: I430761936450b76d84dbdce143dfd88d8e568516 --- gnu/packages/crates-gtk.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index b6027780af..94f6b3b913 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -3243,6 +3243,37 @@ (define-public rust-soup-sys-0.10 (description "This crate provides Soup FFI for Rust.") (license license:expat))) +(define-public rust-sourceview5-0.7 + (package + (name "rust-sourceview5") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sourceview5" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1rcydm2wv1ndsw8b83zqfv5b838cjsr5hxy6bsy4gs8kl5vgkic8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.18) + ("rust-gdk4" ,rust-gdk4-0.7) + ("rust-gio" ,rust-gio-0.18) + ("rust-glib" ,rust-glib-0.18) + ("rust-gtk4" ,rust-gtk4-0.7) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango" ,rust-pango-0.18) + ("rust-sourceview5-sys" ,rust-sourceview5-sys-0.7)))) + (native-inputs (list pkg-config)) + (inputs (list gtk gtksourceview)) + (home-page "https://world.pages.gitlab.gnome.org/Rust/sourceview5-rs/") + (synopsis "Rust bindings for GtkSourceView 5") + (description + "This package provides Rust bindings for @code{GtkSourceView} 5.") + (license license:expat))) + (define-public rust-sourceview5-sys-0.7 (package (name "rust-sourceview5-sys")