public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Than Ngo <than@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/kactivities] f45: Fix rhbz#2380668, rhbz#2504157 - FTBFS with CMake 4
Date: Wed, 12 Aug 2026 14:32:13 GMT	[thread overview]
Message-ID: <178654513394.1.6059777478110851111.rpms-kactivities-0a22a814e4f9@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/kactivities
Branch : f45
Commit : 0a22a814e4f9a43a9122f858a4b9c182f7b4a91d
Author : Than Ngo <than@redhat.com>
Date   : 2026-08-12T16:22:39+02:00
Stats  : +15/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/kactivities/c/0a22a814e4f9a43a9122f858a4b9c182f7b4a91d?branch=f45

Log:
Fix rhbz#2380668, rhbz#2504157 - FTBFS with CMake 4

---
diff --git a/kactivities-FTBFS-cmake4.patch b/kactivities-FTBFS-cmake4.patch
new file mode 100644
index 0000000..7512137
--- /dev/null
+++ b/kactivities-FTBFS-cmake4.patch
@@ -0,0 +1,9 @@
+diff -up kactivities-4.13.3/CMakeLists.txt.me kactivities-4.13.3/CMakeLists.txt
+--- kactivities-4.13.3/CMakeLists.txt.me	2026-06-30 17:51:50.684788262 +0200
++++ kactivities-4.13.3/CMakeLists.txt	2026-06-30 17:52:16.847688378 +0200
+@@ -1,3 +1,5 @@
++cmake_minimum_required(VERSION 2.8.12...3.5)
++
+ project (KACTIVITIES)
+ 
+ find_package (KDE4 REQUIRED)

diff --git a/kactivities.spec b/kactivities.spec
index 7f2489b..8d0979b 100644
--- a/kactivities.spec
+++ b/kactivities.spec
@@ -12,7 +12,7 @@
 Name:    kactivities
 Summary: API for using and interacting with Activities 
 Version: 4.13.3
-Release: 46%{?dist}
+Release: 47%{?dist}
 
 # Automatically converted from old format: GPLv2+ and LGPLv2+ - review is highly recommended.
 License: GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
@@ -24,6 +24,7 @@ URL:     https://projects.kde.org/projects/kde/kdelibs/kactivities
 %global stable stable
 %endif
 Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar.xz
+Patch: kactivities-FTBFS-cmake4.patch
 
 BuildRequires: kdelibs4-devel >= %{version}
 %if ! 0%{?nepomuk}
@@ -99,7 +100,7 @@ Requires: %{name}-devel%{?_isa} = %{version}-%{release}
 
 
 %prep
-%setup -q 
+%autosetup -p1 
 
 
 %build
@@ -203,6 +204,9 @@ rm -fv %{buildroot}%{_kde4_datadir}/kde4/servicetypes/activitymanager-plugin.des
 
 
 %changelog
+* Wed Aug 12 2026 Than Ngo <than@redhat.com> - 4.13.3-47
+- Fix rhbz#2380668, rhbz#2504157 - FTBFS with CMake 4
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.13.3-46
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

                 reply	other threads:[~2026-08-12 14:32 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=178654513394.1.6059777478110851111.rpms-kactivities-0a22a814e4f9@fedoraproject.org \
    --to=than@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