From patchwork Mon Dec 9 01:11:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Covrig X-Patchwork-Id: 34672 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 BD10A27BBEA; Mon, 9 Dec 2024 01:17:24 +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 E22FB27BBE2 for ; Mon, 9 Dec 2024 01:17:23 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKSOW-0004o1-RT; Sun, 08 Dec 2024 20:17: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 1tKSOU-0004na-LO for guix-patches@gnu.org; Sun, 08 Dec 2024 20:17:02 -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 1tKSOU-0005uP-DJ for guix-patches@gnu.org; Sun, 08 Dec 2024 20:17:02 -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=vQqM0GFnleB6uLGT0ECgQhWak4/oVexiSZ/wdNnt/y0=; b=JuSq8pK0YS+uwY/ON82FvfiexyY2VvwUsGSPnw5Kkb7PnojpIhqeWtRg9yq4XNZWH4GiIwbMjG9+VXb2HFnsSBay5R1vItE3IYgvM1ZmST4Phf12re0C6Ur0AiGebh5bMa0IfUL86H9dttbRVXzSatDGitiyHEHY09qZ1fE7Vti4XxaDUU4MdOYpZJr5Cf/cP6yDOZTSAW9y+VExSVzrzoLVuE+3+Jg7sM+zfNAE59fqeEXVL9QLl+cXfuM+LQzI67D6rYVrCi8StmVrfu4MQJFrN3aVOYGt11F4F49BExj2cmrsYUBUPZQRGbLu8g84EhUId4FUCIJS5oNfTCCbHg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tKSOU-0003Ad-7b for guix-patches@gnu.org; Sun, 08 Dec 2024 20:17:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74234] [PATCH rust-team v3 11/23] gnu: Add rust-svg-metadata-0.5. Resent-From: Aaron Covrig Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Dec 2024 01:17:02 +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: Aaron Covrig Received: via spool by 74234-submit@debbugs.gnu.org id=B74234.173370699112112 (code B ref 74234); Mon, 09 Dec 2024 01:17:02 +0000 Received: (at 74234) by debbugs.gnu.org; 9 Dec 2024 01:16:31 +0000 Received: from localhost ([127.0.0.1]:52191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKSNy-00039G-Ps for submit@debbugs.gnu.org; Sun, 08 Dec 2024 20:16:31 -0500 Received: from mail-qv1-f47.google.com ([209.85.219.47]:59623) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKSNw-000397-Py for 74234@debbugs.gnu.org; Sun, 08 Dec 2024 20:16:29 -0500 Received: by mail-qv1-f47.google.com with SMTP id 6a1803df08f44-6d902aea641so5896636d6.2 for <74234@debbugs.gnu.org>; Sun, 08 Dec 2024 17:16:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; t=1733706928; x=1734311728; 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=vQqM0GFnleB6uLGT0ECgQhWak4/oVexiSZ/wdNnt/y0=; b=NDEke+XRCtX1QJcqLoDRIchUtRG+RrfC0Bvxxu1oANg74c+SE+1waDCGBT+vzuKiys lYP7uUYEdZRBZqZOYDiYAWSbUfVGiDn/nPj+EUbdfhQncC0XOwRZb+EhgZ4eYnnRxvds cz7+g3AHVLdD6k6dABkmFDEH09voFYB0op4tM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733706928; x=1734311728; 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=vQqM0GFnleB6uLGT0ECgQhWak4/oVexiSZ/wdNnt/y0=; b=LzbobdvuKwL0gsuHh2r1mBcWTE/HisUu07SulxzCefkGRe2LNKEv7OcvH+vka6WLAs uQHVScRRpl2swof809BzJNDhyUOwrApTf2acKxYxtKygxWgwuUzsUg5HmBz+OxmZqxH9 dvQoUTTBdig5yAJx3XdHJVVYPwlttv6lefkaglpFqOQyFUkhAGmMCbNY6mXZ+K87mbdr ZLE0w11aN3mC4CFgT0AmkoGvrp+xdGia6VEpwdfbuMfNXk0XRT/hr2xNuPXyvSZ7HpGy +6FkA6eavq2GGn77F0AFcrI1Pqsc/d9wLxDZJQ9TZXozSRtBLZ/tT+ZPURPHfXmqQiP5 Sieg== X-Gm-Message-State: AOJu0Yz1ujV/8VqpUv8WRlFaw5Yh/Kc3TtoCm+mZ8r+xnjZr9/bJBAU8 9OJPOSkuI98WrcSx9IqU/A6Zf+Yy3I0b1RkPgoahK0OWiABur4vnpjf8woR3eQ91Ioqx1sDCViS Y4Nq3b549YsHI1tqdqn9ULBcgkyHihQtMho+Sc0n51SH3aRZbJZxOtaJx6P47R49B4JyMFY9AU6 jWtNmmrlhULriRp2VqyW8gWXASMeQwVw0Th54RW+A= X-Gm-Gg: ASbGncsExOET1D0sJfo5XgKSrOgoqA0ftkFZSfvPgp8/ZI9/DhFULweK0oBolEyaLMg LduYwyLpkSyYhwV4R2LlzNFvh39PbhY2jABeQ+qsu5ypdAdmGLTQGxMLUA0shJGT7vG4IqJKzzt sIY74OOgMI1pj8E6g/xdolwAgsmF7c0kA0O4kAChAM691E0fQNEKNRhebrvd7KyFbNtdPi8Z/b8 FHDhxQBcXucJp1aJtNGQSpfbfnxRRMBMOi8adU2Hb43D39GB8DA7S3KtkIrwoPa2fDUGAIDauIb N/1j9Tj93uYIiKLVI2K1UOsWeXFAFrx+lNKhIKbTvKZGklUeOvM= X-Google-Smtp-Source: AGHT+IFZJ51JUax1H59I0AxsDQyitwJbXn333XTLrws8bH8pQRH4LU2QlRhjxi6GeBLaYCovk3LvWw== X-Received: by 2002:a05:6214:490:b0:6d4:22fc:ce3e with SMTP id 6a1803df08f44-6d8e71dad68mr162369046d6.44.1733706926292; Sun, 08 Dec 2024 17:15:26 -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.15.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Dec 2024 17:15:25 -0800 (PST) Date: Sun, 8 Dec 2024 20:11:35 -0500 Message-ID: <20241209011150.1455224-12-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 * gnu/packages/crates-graphics.scm (rust-svg-metadata-0.5): New variable. --- gnu/packages/crates-graphics.scm | 37 ++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index f95dc7b0a4..20bf6f2ab1 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -4525,8 +4525,35 @@ (define-public rust-softbuffer-0.3 (setenv "DISPLAY" display) (system (string-append xvfb " " display " &")))))))))) +(define-public rust-svg-metadata-0.5 + (package + (name "rust-svg-metadata") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "svg_metadata" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0717wb4zkj5qdypg58zs7m1x45i49pdrhzga0k0wvqn2g2y7qk17")))) + (build-system cargo-build-system) + (arguments + `(#: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.20)) + #: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-svg-metadata-0.4 (package + (inherit rust-svg-metadata-0.5) (name "rust-svg-metadata") (version "0.4.4") (source @@ -4536,7 +4563,6 @@ (define-public rust-svg-metadata-0.4 (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` @@ -4545,14 +4571,7 @@ (define-public rust-svg-metadata-0.4 ("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)))) + #:cargo-development-inputs (("rust-skeptic" ,rust-skeptic-0.13)))))) (define-public rust-tiff-0.9 (package