From patchwork Thu Nov 7 22:27:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 70116 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 E2EB327BBEA; Thu, 7 Nov 2024 22:29:27 +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.4 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 autolearn=ham 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 9F70627BBE2 for ; Thu, 7 Nov 2024 22:29:27 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9Az8-00089G-N7; Thu, 07 Nov 2024 17:28:14 -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 1t9Az3-00086S-DD for guix-patches@gnu.org; Thu, 07 Nov 2024 17:28:09 -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 1t9Az3-0007uO-4R for guix-patches@gnu.org; Thu, 07 Nov 2024 17:28:09 -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=9XEHE2pKBNQj/OFl7GGYsEZAlvLb6meHmq84M5V6tf4=; b=oPRPdI7m9OLV9bEN4xwAmZ4XjWAJMz3dVFGcTDhhmpJH5pTVpStWk+psuzMkVBETnHZ4v0LnpE2SMpWOaQHnkHIhlncEVmfYmR/reZiEggB/fYwMu2vnQtapg3JAFfazMxPldtBch1MirQ1fD1owHCDgFRdLjoOriXwxE8ASe/xQ6AMemhylVLFxUY301IWVcooNf5IOkk2rcE0hSArqZ8gVdFxMTq+t7gY5z1tVng7PU/oJd4B6mqkD+KAd/bh3tytEVdj3sqNABxdj6XFdf9wZv+44ZkVMr/8OYImN5OZLIyqHUjE44Xi0eZYCe0fLVGTU5MMYpSgoKXlLuFnTpA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9Az3-00083n-07; Thu, 07 Nov 2024 17:28:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74234] [PATCHv2 rust-team 19/20] gnu: Add rust-svg-metadata-0.4. 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:28:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74234 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74234@debbugs.gnu.org Cc: Giacomo Leidi , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 74234-submit@debbugs.gnu.org id=B74234.173101847430811 (code B ref 74234); Thu, 07 Nov 2024 22:28:08 +0000 Received: (at 74234) by debbugs.gnu.org; 7 Nov 2024 22:27:54 +0000 Received: from localhost ([127.0.0.1]:50168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Ayn-00080d-VW for submit@debbugs.gnu.org; Thu, 07 Nov 2024 17:27:54 -0500 Received: from confino.investici.org ([93.190.126.19]:52383) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9Ayh-0007yn-HX for 74234@debbugs.gnu.org; Thu, 07 Nov 2024 17:27:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1731018466; bh=9XEHE2pKBNQj/OFl7GGYsEZAlvLb6meHmq84M5V6tf4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gxvVqDhWWYtqiedELieR8EoOQ2g/Ukj/lub/VD6NqXoUFtqejL00GJGbGbT/8C0Eo /R2wql3fY/V4Sz2r5o2vGAsO0x8i7i3XkJYpWWg0gIBE7yM8CmS/4nTF93AOXAqxGv 9HdqUyCfbUD59ikvTYp5TX/sGy1dWLh5EDceRkpM= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkxXf5b8zz113B; Thu, 7 Nov 2024 22:27:46 +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 4XkxXf4qhBz1132; Thu, 7 Nov 2024 22:27:46 +0000 (UTC) Date: Thu, 7 Nov 2024 23:27:16 +0100 Message-ID: <4e08b68842d07d43878e33fa2e7540e8a0382128.1731018437.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <509aa62709c43d2a92900d9249065342d14bc1fa.1731018436.git.goodoldpaul@autistici.org> References: <509aa62709c43d2a92900d9249065342d14bc1fa.1731018436.git.goodoldpaul@autistici.org> 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-graphics.scm (rust-svg-metadata-0.4): New variable. Change-Id: Ia230444ba47d403e76106684f9fb07eb85c08cab --- gnu/packages/crates-graphics.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 197f77a724..2dae5bf0bf 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -3818,6 +3818,35 @@ (define-public rust-softbuffer-0.3 (description "Cross-platform software buffer.") (license (list license:expat license:asl2.0)))) +(define-public rust-svg-metadata-0.4 + (package + (name "rust-svg-metadata") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "svg_metadata" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "002j0na1kfz4pgi43hdcz5baygzk6irnjd5lrmbqqfjldwn3sbx4")))) + (build-system cargo-build-system) + (arguments + ;; error[E0432]: unresolved import `svg_metadata` + `(#:tests? #f + #:cargo-inputs (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-regex" ,rust-regex-1) + ("rust-roxmltree" ,rust-roxmltree-0.18) + ("rust-skeptic" ,rust-skeptic-0.13)) + #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3)))) + (home-page "https://github.com/mre/svg-metadata") + (synopsis + "Extracts metadata (like the viewBox, width, and height) from SVG graphics") + (description + "This package provides Extracts metadata (like the @code{viewBox}, width, +and height) from SVG graphics.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-tiff-0.9 (package (name "rust-tiff")