public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jocelyn Falempe <jfalempe@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/kmscon] f43: Fix filter non monospace fonts patch for fontconfig < 2.18.
Date: Thu, 05 Nov 2026 14:44:48 GMT [thread overview]
Message-ID: <179388988877.1.278457164629032147.rpms-kmscon-bf656a5f19a5@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/kmscon
Branch : f43
Commit : bf656a5f19a5c1662f127e6c9c5665fb328ba992
Author : Jocelyn Falempe <jfalempe@redhat.com>
Date : 2026-10-09T16:34:44+02:00
Stats : +3/-3 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/kmscon/c/bf656a5f19a5c1662f127e6c9c5665fb328ba992?branch=f43
Log:
Fix filter non monospace fonts patch for fontconfig < 2.18.
---
diff --git a/freetype-filter-out-non-monospace-fonts-completely.patch b/freetype-filter-out-non-monospace-fonts-completely.patch
index ff9845f..2509d94 100644
--- a/freetype-filter-out-non-monospace-fonts-completely.patch
+++ b/freetype-filter-out-non-monospace-fonts-completely.patch
@@ -50,8 +50,8 @@ index e1dd9ec..2ecdbee 100644
+ int spacing;
+
+ if (FcPatternGetInteger(pat, FC_SPACING, 0, &spacing) == FcResultMatch) {
-+ if (spacing == FC_SPACING_CHARCELL || spacing == FC_SPACING_MONO ||
-+ spacing == FC_SPACING_DUAL)
++ if (spacing == FC_CHARCELL || spacing == FC_MONO ||
++ spacing == FC_DUAL)
+ return FcTrue;
+ }
+ /* non-monospace font doesn't have FC_SPACING property */
diff --git a/kmscon.spec b/kmscon.spec
index 4d32f8a..3d0a388 100644
--- a/kmscon.spec
+++ b/kmscon.spec
@@ -17,7 +17,7 @@ BuildRequires: xsltproc
BuildRequires: xz
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(egl)
-BuildRequires: pkgconfig(fontconfig)
+BuildRequires: pkgconfig(fontconfig) >= 2.16.0
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(glesv2)
reply other threads:[~2026-11-05 14:44 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=179388988877.1.278457164629032147.rpms-kmscon-bf656a5f19a5@fedoraproject.org \
--to=jfalempe@redhat.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