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-crossfont] f45: Bump freetype-rs dependency to v0.38
Date: Mon, 21 Sep 2026 22:27:28 GMT [thread overview]
Message-ID: <179002964848.1.5154410460114741861.rpms-rust-crossfont-1afbab49869f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-crossfont
Branch : f45
Commit : 1afbab49869f7bfd81a1f9d08109c854450ff898
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-09-21T22:58:28+02:00
Stats : +30/-4 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-crossfont/c/1afbab49869f7bfd81a1f9d08109c854450ff898?branch=f45
Log:
Bump freetype-rs dependency to v0.38
---
diff --git a/0001-Port-to-freetype-rs-0.38.patch b/0001-Port-to-freetype-rs-0.38.patch
new file mode 100644
index 0000000..7135607
--- /dev/null
+++ b/0001-Port-to-freetype-rs-0.38.patch
@@ -0,0 +1,25 @@
+From fb08f91ae0743485682781cbd157c3b51495e3a8 Mon Sep 17 00:00:00 2001
+From: Fabio Valentini <decathorpe@gmail.com>
+Date: Mon, 21 Sep 2026 22:55:33 +0200
+Subject: [PATCH] Port to freetype-rs 0.38
+
+---
+ src/ft/mod.rs | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/ft/mod.rs b/src/ft/mod.rs
+index 34a3cf8..a05527c 100644
+--- a/src/ft/mod.rs
++++ b/src/ft/mod.rs
+@@ -289,7 +289,7 @@ impl Rasterize for FreeTypeRasterizer {
+ let font_key = self.face_for_glyph(left);
+ let mut ft_face = (*self.loader.faces[&font_key].ft_face).clone();
+
+- if !freetype_sys::FT_HAS_KERNING(ft_face.raw_mut()) {
++ if ! unsafe { freetype_sys::FT_HAS_KERNING(ft_face.raw_mut()) } {
+ return (0., 0.);
+ }
+
+--
+2.55.0
+
diff --git a/crossfont-fix-metadata-auto.diff b/crossfont-fix-metadata-auto.diff
index f2be60e..4657ef5 100644
--- a/crossfont-fix-metadata-auto.diff
+++ b/crossfont-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
--- crossfont-0.8.1/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ crossfont-0.8.1/Cargo.toml 2025-06-20T10:34:32.089613+00:00
++++ crossfont-0.8.1/Cargo.toml 2026-09-21T20:47:54.769732+00:00
@@ -57,35 +57,3 @@
[target.'cfg(not(any(target_os = "macos", windows)))'.build-dependencies.pkg-config]
version = "0.3"
diff --git a/crossfont-fix-metadata.diff b/crossfont-fix-metadata.diff
index 6f5d46c..abecd3e 100644
--- a/crossfont-fix-metadata.diff
+++ b/crossfont-fix-metadata.diff
@@ -1,11 +1,11 @@
--- crossfont-0.8.1/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ crossfont-0.8.1/Cargo.toml 2025-06-20T10:34:44.942969+00:00
++++ crossfont-0.8.1/Cargo.toml 2026-09-21T20:48:00.315049+00:00
@@ -49,10 +49,10 @@
version = "0.4"
[target.'cfg(not(any(target_os = "macos", windows)))'.dependencies.freetype-rs]
-version = "0.36.0"
-+version = "0.37.0"
++version = "0.38.0"
[target.'cfg(not(any(target_os = "macos", windows)))'.dependencies.yeslogic-fontconfig-sys]
-version = "5.0.0"
diff --git a/rust-crossfont.spec b/rust-crossfont.spec
index b4ef397..e3ce58d 100644
--- a/rust-crossfont.spec
+++ b/rust-crossfont.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
%bcond check 1
%global debug_package %{nil}
@@ -17,6 +17,7 @@ Patch: crossfont-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes
# * Update dependencies to the versions available in Fedora
Patch: crossfont-fix-metadata.diff
+Patch: 0001-Port-to-freetype-rs-0.38.patch
BuildRequires: cargo-rpm-macros >= 24
reply other threads:[~2026-09-21 22:27 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=179002964848.1.5154410460114741861.rpms-rust-crossfont-1afbab49869f@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