[packages/kp5-plasma-workspace] - rel 4, fix kfontinst buil

baggins baggins at pld-linux.org
Tue May 26 23:35:17 CEST 2026


commit fb7510399d1de4c5272dce5d69e11ea0174802fe
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue May 26 23:34:49 2026 +0200

    - rel 4, fix kfontinst buil

 fontconfig.patch          | 20 ++++++++++++++++++++
 kp5-plasma-workspace.spec |  6 ++++--
 2 files changed, 24 insertions(+), 2 deletions(-)
---
diff --git a/kp5-plasma-workspace.spec b/kp5-plasma-workspace.spec
index f8512fc..9f12db2 100644
--- a/kp5-plasma-workspace.spec
+++ b/kp5-plasma-workspace.spec
@@ -13,13 +13,14 @@ Summary:	KDE Plasma Workspace
 Summary(pl.UTF-8):	Środowisko KDE Plasma
 Name:		kp5-%{kpname}
 Version:	5.27.12
-Release:	3
+Release:	4
 License:	LGPL v2.1+
 Group:		X11/Libraries
 Source0:	https://download.kde.org/stable/plasma/%{version}/%{kpname}-%{version}.tar.xz
 # Source0-md5:	ae7cb52ab11a032fb4ba29539d1d0499
 Source1:	kde.pam
 Patch0:		plasma-workspace-appstream1.patch
+Patch1:		fontconfig.patch
 URL:		https://kde.org/
 BuildRequires:	AppStream-qt5-devel >= 1.0.2
 BuildRequires:	NetworkManager-devel >= 1.4
@@ -237,7 +238,8 @@ Pliki nagłówkowe dla programistów używających %{kpname}.
 
 %prep
 %setup -q -n %{kpname}-%{version}
-%patch -P 0 -p1
+%patch -P0 -p1
+%patch -P1 -p1
 
 %build
 %cmake -B build \
diff --git a/fontconfig.patch b/fontconfig.patch
new file mode 100644
index 0000000..4ecc6e5
--- /dev/null
+++ b/fontconfig.patch
@@ -0,0 +1,20 @@
+--- plasma-workspace-5.27.12/kcms/kfontinst/lib/CMakeLists.txt~	2025-01-06 18:57:36.000000000 +0100
++++ plasma-workspace-5.27.12/kcms/kfontinst/lib/CMakeLists.txt	2026-05-26 23:29:29.508289033 +0200
+@@ -9,6 +9,7 @@
+     KF5::I18n
+     KF5::KIOCore
+     Fontconfig::Fontconfig
++    Freetype::Freetype
+     PRIVATE
+     Qt::Xml
+     Qt::Gui
+--- plasma-workspace-5.27.12/kcms/kfontinst/lib/Fc.h~	2025-01-06 18:57:36.000000000 +0100
++++ plasma-workspace-5.27.12/kcms/kfontinst/lib/Fc.h	2026-05-26 23:30:10.458558962 +0200
+@@ -10,6 +10,7 @@
+ #include "kfontinst_export.h"
+ #include <QUrl>
+ #include <fontconfig/fontconfig.h>
++#include <fontconfig/fcfreetype.h>
+ 
+ #if (FC_VERSION < 20200)
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kp5-plasma-workspace.git/commitdiff/fb7510399d1de4c5272dce5d69e11ea0174802fe



More information about the pld-cvs-commit mailing list