public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-font-kit] f45: Update to version 0.14.3; Fixes RHBZ#2252384
Date: Mon, 30 Nov 2026 14:31:36 GMT	[thread overview]
Message-ID: <179604909604.1.3246137688584115784.rpms-rust-font-kit-74741de21a76@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-font-kit
Branch : f45
Commit : 74741de21a76cb869e111199cc34ce90fdfbe7d1
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-11-30T15:23:19+01:00
Stats  : +88/-57 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-font-kit/c/74741de21a76cb869e111199cc34ce90fdfbe7d1?branch=f45

Log:
Update to version 0.14.3; Fixes RHBZ#2252384

---
diff --git a/.gitignore b/.gitignore
index 2db5cf0..fa3f422 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /font-kit-0.10.0.crate
 /font-kit-0.10.1.crate
 /font-kit-0.11.0.crate
+/font-kit-0.14.3.crate

diff --git a/font-kit-fix-metadata-auto.diff b/font-kit-fix-metadata-auto.diff
index 9af1e67..1c3f0e4 100644
--- a/font-kit-fix-metadata-auto.diff
+++ b/font-kit-fix-metadata-auto.diff
@@ -1,28 +1,35 @@
---- font-kit-0.11.0/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ font-kit-0.11.0/Cargo.toml	2023-07-13T23:38:35.070953+00:00
-@@ -71,14 +71,6 @@
- source-fontconfig = ["yeslogic-fontconfig-sys"]
+--- font-kit-0.14.3/Cargo.toml	1970-01-01T00:00:01+00:00
++++ font-kit-0.14.3/Cargo.toml	2026-11-30T14:22:12.696703+00:00
+@@ -109,15 +109,6 @@
  source-fontconfig-default = ["source-fontconfig"]
  source-fontconfig-dlopen = ["yeslogic-fontconfig-sys/dlopen"]
--[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.core-foundation]
+ 
+-[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.core-foundation]
 -version = "0.9"
 -
--[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.core-graphics]
--version = "0.22"
+-[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.core-graphics]
+-version = "0.23"
 -
--[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.core-text]
--version = "19.1.0"
- [target."cfg(not(any(target_arch = \"wasm32\", target_family = \"windows\", target_os = \"android\")))".dependencies.dirs-next]
- version = "2.0"
- [target."cfg(not(any(target_family = \"windows\", target_os = \"macos\", target_os = \"ios\")))".dependencies.freetype]
-@@ -87,10 +79,3 @@
- version = "3.0.0"
- [target."cfg(not(target_arch = \"wasm32\"))".dependencies.walkdir]
+-[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.core-text]
+-version = "20.1.0"
+-
+ [target.'cfg(not(any(target_arch = "wasm32", target_family = "windows", target_os = "android", target_env = "ohos")))'.dependencies.dirs]
+ version = "6.0"
+ 
+@@ -130,16 +121,3 @@
+ [target.'cfg(not(target_arch = "wasm32"))'.dependencies.walkdir]
  version = "2.1"
--[target."cfg(target_family = \"windows\")".dependencies.dwrote]
--version = "0.11"
+ 
+-[target.'cfg(target_family = "windows")'.dependencies.dwrote]
+-version = "^0.11.3"
 -default-features = false
 -
--[target."cfg(target_family = \"windows\")".dependencies.winapi]
+-[target.'cfg(target_family = "windows")'.dependencies.winapi]
 -version = "0.3"
--features = ["dwrite", "minwindef", "sysinfoapi", "winbase", "winnt"]
+-features = [
+-    "dwrite",
+-    "minwindef",
+-    "sysinfoapi",
+-    "winbase",
+-    "winnt",
+-]

diff --git a/font-kit-fix-metadata.diff b/font-kit-fix-metadata.diff
index 6db7439..2cf000a 100644
--- a/font-kit-fix-metadata.diff
+++ b/font-kit-fix-metadata.diff
@@ -1,28 +1,44 @@
---- font-kit-0.11.0/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ font-kit-0.11.0/Cargo.toml	2023-07-13T23:38:59.077055+00:00
-@@ -27,7 +27,7 @@
- version = "1.2"
+--- font-kit-0.14.3/Cargo.toml	1970-01-01T00:00:01+00:00
++++ font-kit-0.14.3/Cargo.toml	2026-11-30T14:22:12.698075+00:00
+@@ -31,22 +31,6 @@
+ [lib]
+ name = "font_kit"
+ path = "src/lib.rs"
+-
+-[[example]]
+-name = "fallback"
+-path = "examples/fallback.rs"
+-
+-[[example]]
+-name = "list-fonts"
+-path = "examples/list-fonts.rs"
+-
+-[[example]]
+-name = "match-font"
+-path = "examples/match-font.rs"
+-
+-[[example]]
+-name = "render-glyph"
+-path = "examples/render-glyph.rs"
  
- [dependencies.float-ord]
--version = "0.2"
-+version = "0.3"
- 
- [dependencies.freetype]
- version = "0.7"
-@@ -49,7 +49,7 @@
- version = "0.5.1"
- 
- [dependencies.yeslogic-fontconfig-sys]
--version = "3.0.0"
-+version = "4.0.0"
+ [[test]]
+ name = "select_font"
+@@ -88,18 +72,6 @@
+ version = "6.0"
  optional = true
- [dev-dependencies.clap]
- version = "2.32"
-@@ -76,6 +76,6 @@
- [target."cfg(not(any(target_family = \"windows\", target_os = \"macos\", target_os = \"ios\")))".dependencies.freetype]
- version = "0.7"
- [target."cfg(not(any(target_family = \"windows\", target_os = \"macos\", target_os = \"ios\", target_arch = \"wasm32\")))".dependencies.yeslogic-fontconfig-sys]
--version = "3.0.0"
-+version = "4.0.0"
- [target."cfg(not(target_arch = \"wasm32\"))".dependencies.walkdir]
- version = "2.1"
+ 
+-[dev-dependencies.clap]
+-version = "4"
+-
+-[dev-dependencies.colored]
+-version = "2"
+-
+-[dev-dependencies.pbr]
+-version = "1.0"
+-
+-[dev-dependencies.prettytable-rs]
+-version = "0.10"
+-
+ [features]
+ default = ["source"]
+ loader-freetype = ["freetype"]

diff --git a/rust-font-kit.spec b/rust-font-kit.spec
index 2862bd0..27e141c 100644
--- a/rust-font-kit.spec
+++ b/rust-font-kit.spec
@@ -1,27 +1,24 @@
-# Generated by rust2rpm 24
-# * data files required by tests are not included in published crates
-%bcond_with check
+# Generated by rust2rpm 28
+%bcond check 1
 %global debug_package %{nil}
 
 %global crate font-kit
 
 Name:           rust-font-kit
-Version:        0.11.0
+Version:        0.14.3
 Release:        %autorelease
 Summary:        Cross-platform font loading library
 
-# Upstream license specification: MIT/Apache-2.0
 License:        MIT OR Apache-2.0
 URL:            https://crates.io/crates/font-kit
 Source:         %{crates_source}
-# Automatically generated patch to strip foreign dependencies
+# Automatically generated patch to strip dependencies and normalize metadata
 Patch:          font-kit-fix-metadata-auto.diff
 # Manually created patch for downstream crate metadata changes
-# * bump float-ord dependency from 0.2 to 0.3
-# * bump yeslogic-fontconfig-sys dependency from 3.0.0 to 4.0.0
+# * drop example programs and dev-dependencies that are only required by them
 Patch:          font-kit-fix-metadata.diff
 
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:
 A cross-platform font loading library.}
@@ -152,7 +149,7 @@ use the "yeslogic-fontconfig-sys" feature of the "%{crate}" crate.
 %ghost %{crate_instdir}/Cargo.toml
 
 %prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
 %cargo_prep
 
 %generate_buildrequires
@@ -166,7 +163,8 @@ use the "yeslogic-fontconfig-sys" feature of the "%{crate}" crate.
 
 %if %{with check}
 %check
-%cargo_test
+# * skip tests that require data files not included in published crates
+%cargo_test -- --doc
 %endif
 
 %changelog

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..22e91bc
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,9 @@
+[package]
+cargo-toml-patch-comments = [
+    "drop example programs and dev-dependencies that are only required by them",
+]
+
+[tests]
+run = ["doc"]
+comments = ["skip tests that require data files not included in published crates"]
+

diff --git a/sources b/sources
index 54acbe2..6d77fb8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (font-kit-0.11.0.crate) = e8cfd2c70f1b78a319e36a6ce320774210e71590a6f336daa4233985dd8989b4a8531af6328273f3bd1f6c4ad90279839b835871ee8848f0d7070b47ff367f70
+SHA512 (font-kit-0.14.3.crate) = ea4f8b65c00a2e5cb789070c1f434ab31bf528d51cab354bf93dd1b8a7dbfeb92d8e408790d88c3aaaa62b23efc7b092e1acb8da0618596dd0dfb0a4a8c74f90

                 reply	other threads:[~2026-11-30 14:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179604909604.1.3246137688584115784.rpms-rust-font-kit-74741de21a76@fedoraproject.org \
    --to=decathorpe@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox