public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-fontdue] rawhide: Update to 0.9.4 (fedora#2520257).
@ 2026-08-22 17:12 Jonathan Steffan
  0 siblings, 0 replies; only message in thread
From: Jonathan Steffan @ 2026-08-22 17:12 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-fontdue
Branch : rawhide
Commit : e923be3b8d59523037b4d04e499f36874a5081f4
Author : Jonathan Steffan <jsteffan@fedoraproject.org>
Date   : 2026-08-22T11:12:49-06:00
Stats  : +20/-15 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-fontdue/c/e923be3b8d59523037b4d04e499f36874a5081f4?branch=rawhide

Log:
Update to 0.9.4 (fedora#2520257).

---
diff --git a/.gitignore b/.gitignore
index d820e58..234f88a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /fontdue-0.6.4.crate
 /fontdue-0.7.2.crate
 /fontdue-0.9.3.crate
+/fontdue-0.9.4.crate

diff --git a/fontdue-fix-metadata.diff b/fontdue-fix-metadata.diff
index 5e6039a..2a9d490 100644
--- a/fontdue-fix-metadata.diff
+++ b/fontdue-fix-metadata.diff
@@ -1,13 +1,10 @@
---- fontdue-0.9.3/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ fontdue-0.9.3/Cargo.toml	2026-03-28T16:37:20.445614+00:00
-@@ -51,8 +51,8 @@
- optional = true
- 
- [dependencies.ttf-parser]
--version = "0.21"
--features = ["opentype-layout"]
-+version = "0.25"
-+features = ["opentype-layout", "std"]
+--- fontdue-0.9.4/Cargo.toml	2006-07-24T01:21:28+00:00
++++ fontdue-0.9.4/Cargo.toml	2026-08-22T17:06:57.307353+00:00
+@@ -71,6 +71,6 @@
+ version = "0.25"
+ features = [
+     "opentype-layout",
+-    "no-std-float",
++    "std",
+ ]
  default-features = false
- 
- [features]

diff --git a/rust-fontdue.spec b/rust-fontdue.spec
index 6a22098..95d91a7 100644
--- a/rust-fontdue.spec
+++ b/rust-fontdue.spec
@@ -5,14 +5,17 @@
 %global crate fontdue
 
 Name:           rust-fontdue
-Version:        0.9.3
+Version:        0.9.4
 Release:        %autorelease
 Summary:        Simple no_std font parser and rasterizer
 
 License:        MIT OR Apache-2.0 OR Zlib
 URL:            https://crates.io/crates/fontdue
 Source:         %{crates_source}
-# * Manually created patch for downstream crate metadata changes
+# Manually created patch for downstream crate metadata changes
+# * use the 'std' feature of ttf-parser instead of 'no-std-float', which is not
+#   available in Fedora (rust-ttf-parser does not build a +no-std-float-devel
+#   subpackage); ttf-parser requires exactly one of the two
 Patch:          fontdue-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..d836172
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,4 @@
+[package]
+cargo-toml-patch-comments = [
+    "use the 'std' feature of ttf-parser instead of 'no-std-float', which is not available in Fedora (rust-ttf-parser does not build a +no-std-float-devel subpackage); ttf-parser requires exactly one of the two",
+]

diff --git a/sources b/sources
index cd7faff..923a6ce 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (fontdue-0.9.3.crate) = 4829245e30e6511d1c11e702ef1f77ee346040974058d0994f8be9501064bc2d5f78f8ef7e5653cc9d9758314b3e9f692394c4224986f3edb1425799dab482d1
+SHA512 (fontdue-0.9.4.crate) = 69848e02fd1ec3424f38fc370de627f8708487b7bcb4387dbf404f9098732253378344fd55ec8c6e26d07d055aac2902f0e25f308dbadd65758d9e81405277a2

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-22 17:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-22 17:12 [rpms/rust-fontdue] rawhide: Update to 0.9.4 (fedora#2520257) Jonathan Steffan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox