From patchwork Mon Dec 9 01:11:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Covrig X-Patchwork-Id: 34668 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 43D6627BBEA; Mon, 9 Dec 2024 01:16:20 +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 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 C117827BBE2 for ; Mon, 9 Dec 2024 01:16:19 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKSNY-0004Io-Oa; Sun, 08 Dec 2024 20:16:04 -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 1tKSNY-0004GB-0q for guix-patches@gnu.org; Sun, 08 Dec 2024 20:16:04 -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 1tKSNX-0005it-K2 for guix-patches@gnu.org; Sun, 08 Dec 2024 20:16:03 -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=Qz/IXrEhiuEsWEEJHDhkMxTgS7lbSlqkYGtC295G/b8=; b=ZqF1ccy5epfxdlXKRC8MDVRMVm8dtuY1w4WydZfWCcpSFNiEoddoUSfgrVFCJwmlgmrJUImtsbTkGAQeaclserA6D3Ibqi2vb1ixO138ZRFa5UP7AeFkeDr5lgg5f9KY6pF6Z6nYo+mq+If0/vWdI9i6TBRNFmQcLdrN4hh1o11S40HLsmgAGjR8Q8IQT5bWy7Ug5Vq5sWzf5kbqKNB2MphDdKx5q97oURvYW3iIubei9NYxCTdCzUdCdQiqedqbm/rcI6v+X4pSv3ZBRd3QS9EOYvMV3dWASDNgnKKXR4Itk8sh6m7xZZRLoDcuUo34aF1RwQO5Pa/Pbpv4f4qghA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tKSNX-000386-Ey for guix-patches@gnu.org; Sun, 08 Dec 2024 20:16:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74234] [PATCH rust-team v3 10/23] gnu: Add rust-svg-metadata-0.4. Resent-From: Aaron Covrig Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Dec 2024 01:16:03 +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 Received: via spool by 74234-submit@debbugs.gnu.org id=B74234.173370695411991 (code B ref 74234); Mon, 09 Dec 2024 01:16:03 +0000 Received: (at 74234) by debbugs.gnu.org; 9 Dec 2024 01:15:54 +0000 Received: from localhost ([127.0.0.1]:52184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKSNO-00037K-0d for submit@debbugs.gnu.org; Sun, 08 Dec 2024 20:15:54 -0500 Received: from mail-qt1-f171.google.com ([209.85.160.171]:45498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKSNM-000375-1S for 74234@debbugs.gnu.org; Sun, 08 Dec 2024 20:15:52 -0500 Received: by mail-qt1-f171.google.com with SMTP id d75a77b69052e-4668486df76so33268511cf.3 for <74234@debbugs.gnu.org>; Sun, 08 Dec 2024 17:15:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; t=1733706886; x=1734311686; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Qz/IXrEhiuEsWEEJHDhkMxTgS7lbSlqkYGtC295G/b8=; b=YmMUQ2Duhb5BBQgWbj8Pwov+2IUwEG+AWPYlLNVO6oxUgOT4pScxQBw7ZoK7cmRJ7+ P2+ahco+XX8uCSyzfPD/psvUX0XgZuwH9wTaVD/m/3fYcB4qq62yTyisJw7PLBW7cf1r PYOtz1dQ/ga2IF+4W52cyh3OakAWhm7gMCvn4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733706886; x=1734311686; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Qz/IXrEhiuEsWEEJHDhkMxTgS7lbSlqkYGtC295G/b8=; b=i6PNdVeZ1B4lFlHZbP37Bw0SgtteJGHUN/mfjBQxApxUwLCR/5LyH8ql8/i7M67e3F plpEEhsqM/vOxr0evDbzh5ge2BYaZ+Ngdx/55APwzmaFvMYtG433OWy9Df3XVgaGxFIF Mfdu+iuZrZUGoYNiFTFEKV1FGXeYMdjgqoiqwdAC5hMaRJXPFQpVMO+z0xNx0+YU044B ixevyMjGBZyFQSqxaF1JYmRp6nWsWyLnJWW2Sw8TuuNX/SttVLBnSLtIiq6Z2BLCwwos owp7R6iXYPNu7IhAZCpWxsE+DDJp3ATkMvzYhzLfEhLvj58QHHNCz0kpxXemkFHGNxyU oKxg== X-Gm-Message-State: AOJu0Yy0ch4EODm25yonsv6yy8yEUDbmo+hX6ruRaR9XN91ntZhBWllw VJqo1iKniWa01dX1mOm5GZE6WvgRm+Ox4ggBAD1Lva/g8IYgprA0R+hMKRBn3tPgw0i9WqmTBFF VPTHQNnOpTh/58VS6IgZYUJsK6pO9p3aok/F+V8IEyd+S+pMJNzJxH61DBXNjaN5NQbfLkB7MiB 0v4ohIpO83bXhlcWYICLiY2N6JHqC0QUyT3wIP8L8= X-Gm-Gg: ASbGncvS5mpqwEIuU5gUeWUNacWYD9Myp1LFSwuZOJytBAsWmrEdF4cRcLlXVjhqN7s EHnm/EoQdVBCYMTYBVd5HZaHJ7sxJRoaQH9P1us5ZpikejGMM86HznUDLpwf/V2TVCNCvzBiLwe zQ1LFCI/Ee+I0aDLiAmCOtcDhYmkP+yr8S7QsH6qDQ4JnSdnxT3oaofUhec7G2S3ex9/Dyi6yVt 4599J6YqAwIVqbAQGQRmwpDd54R6pft/LxYiCZYkNSd55bBQbqGgMAYGrQQKi6lQeocwWKFrLZN C76gmenhQybzRH0kjXBwR0CM9vN5AH6taGrri/gOK7KL4pZulJs= X-Google-Smtp-Source: AGHT+IEKfg1GX6Sw6UfFCjQ7aw6nO+0e8RiqcYKYdiooPvQr06/AQHipWd19GaQrikt0qkHCgKYigA== X-Received: by 2002:ad4:5ae5:0:b0:6d8:a1fe:72a4 with SMTP id 6a1803df08f44-6d8e72420fdmr201965336d6.46.1733706885984; Sun, 08 Dec 2024 17:14:45 -0800 (PST) Received: from mobile-dev.fios-router.home (pool-71-244-152-222.bltmmd.fios.verizon.net. [71.244.152.222]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6d8e69b7143sm34894816d6.61.2024.12.08.17.14.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Dec 2024 17:14:44 -0800 (PST) Date: Sun, 8 Dec 2024 20:11:34 -0500 Message-ID: <20241209011150.1455224-11-aaron.covrig.us@ieee.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241209011150.1455224-1-aaron.covrig.us@ieee.org> References: <20241209011150.1455224-1-aaron.covrig.us@ieee.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: Aaron Covrig X-ACL-Warn: , Aaron Covrig via Guix-patches X-Patchwork-Original-From: Aaron Covrig via Guix-patches via From: Aaron Covrig 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 From: Giacomo Leidi * gnu/packages/crates-graphics.scm (rust-svg-metadata-0.4): New variable. --- 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 e553d3476d..f95dc7b0a4 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -4525,6 +4525,35 @@ (define-public rust-softbuffer-0.3 (setenv "DISPLAY" display) (system (string-append xvfb " " display " &")))))))))) +(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 + `(#:cargo-test-flags '("--" + ;; error[E0432]: unresolved import `svg_metadata` + "--skip=readme_sect_usage_example_line_19") + #:cargo-inputs (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-roxmltree" ,rust-roxmltree-0.18)) + #:cargo-development-inputs (("rust-skeptic" ,rust-skeptic-0.13)))) + (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")