Update to 2.56.1

This commit is contained in:
Kalev Lember 2023-05-25 07:54:30 +02:00
parent e422828445
commit da922bb9bc
4 changed files with 9 additions and 59 deletions

2
.gitignore vendored
View File

@ -95,3 +95,5 @@ librsvg-2.31.0.tar.bz2
/librsvg-2.55.90.tar.xz
/librsvg-2.56.0.tar.xz
/librsvg-2.56.0-vendor.tar.xz
/librsvg-2.56.1.tar.xz
/librsvg-2.56.1-vendor.tar.xz

View File

@ -1,54 +0,0 @@
From 5db78316922eeb161cc9e68b91bd85460f068091 Mon Sep 17 00:00:00 2001
From: Kalev Lember <klember@redhat.com>
Date: Fri, 24 Mar 2023 15:48:12 +0100
Subject: [PATCH] Remove unused chrono wasmbind feature
This helps with building librsvg on Fedora where the rust-chrono package
is built with the wasmbind feature disabled.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/819>
---
Cargo.lock | 2 --
Cargo.toml | 4 ++--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index d962869f..f1d6821a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -207,10 +207,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4e3c5919066adf22df73762e50cffcde3a758f2a848b113b586d1f86728b673b"
dependencies = [
"iana-time-zone",
- "js-sys",
"num-integer",
"num-traits",
- "wasm-bindgen",
"winapi",
]
diff --git a/Cargo.toml b/Cargo.toml
index d9e066d4..a53470d4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -55,7 +55,7 @@ anyhow = "1.0"
byteorder = "1.4"
cairo-rs = { version = "0.17", features=["v1_16", "png", "pdf", "ps", "svg"] }
cast = "0.3.0"
-chrono = { version = "0.4.23", default-features = false, features = ["clock", "std", "wasmbind"] } # rsvg-convert
+chrono = { version = "0.4.23", default-features = false, features = ["clock", "std"] } # rsvg-convert
clap = { version = "4.0.17", features = ["cargo", "derive"] } # rsvg-convert
clap_complete = "4.0.5" # rsvg-convert
cssparser = "0.29.0"
@@ -91,7 +91,7 @@ anyhow = "1.0"
assert_cmd = "2.0.2"
cairo-rs = { version = "0.17", features = ["png"] }
cast = "0.3.0"
-chrono = { version = "0.4.23", default-features = false, features = ["clock", "std", "wasmbind"] }
+chrono = { version = "0.4.23", default-features = false, features = ["clock", "std"] }
criterion = "0.4"
glib = "0.17"
libc = "0.2"
--
2.39.2

View File

@ -18,8 +18,8 @@
Name: librsvg2
Summary: An SVG library based on cairo
Version: 2.56.0
Release: 2%{?dist}
Version: 2.56.1
Release: 1%{?dist}
License: LGPLv2+
URL: https://wiki.gnome.org/Projects/LibRsvg
@ -31,7 +31,6 @@ Source1: librsvg-%{version}-vendor.tar.xz
%if ! 0%{?bundled_rust_deps}
# Patches to build with Fedora-packaged rust crates
Patch: 0001-Remove-unused-chrono-wasmbind-feature.patch
Patch: 0001-Fedora-Drop-dependencies-required-for-benchmarking.patch
%endif
@ -146,6 +145,9 @@ rm -f %{buildroot}%{_pkgdocdir}/COMPILING.md
%{_mandir}/man1/rsvg-convert.1*
%changelog
* Wed May 31 2023 Kalev Lember <klember@redhat.com> - 2.56.1-1
- Update to 2.56.1
* Thu Apr 27 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 2.56.0-2
- Use bundled dependencies in RHEL builds

View File

@ -1,2 +1,2 @@
SHA512 (librsvg-2.56.0.tar.xz) = ba73d13418bfe5aeec8a25ab23bc64509fc145d45811bed18951579b1fa5687de4c49bbb4380f33ccf92bf0dccb0d3567e157e66437f42fed221db6bf238a4f0
SHA512 (librsvg-2.56.0-vendor.tar.xz) = 534ba77e25b621aa65e9a7cdc16ba7fbaa8bb6bbe993fa4dfd65ae598f2ee4278de5774b1cc2dbf86f770c08c567281e4f7bebcb649f5e90310387d274507d55
SHA512 (librsvg-2.56.1.tar.xz) = 702e35170b4d8c4d443ad5b74d6555d2048789821e1dc21d620623de0c6a9d2d07dd1edee5f4f3a1c7ee7f0b16c2a0c1041a4d055568bbd2dac9ac844b9b5d0b
SHA512 (librsvg-2.56.1-vendor.tar.xz) = 957fb97173b99a9230f65a60efa572fe2a853aa4ccc8b48eed52689bb55e6ff4d68d8b6ab12aa3043d1e81c0838d927afbd1957f6165609f221968211c6dadc0