Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libfm-qt for openSUSE:Factory 
checked in at 2025-10-14 18:09:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libfm-qt (Old)
 and      /work/SRC/openSUSE:Factory/.libfm-qt.new.18484 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libfm-qt"

Tue Oct 14 18:09:03 2025 rev:24 rq:1311236 version:2.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libfm-qt/libfm-qt.changes        2025-04-22 
17:26:35.802834946 +0200
+++ /work/SRC/openSUSE:Factory/.libfm-qt.new.18484/libfm-qt.changes     
2025-10-14 18:10:49.037135832 +0200
@@ -1,0 +2,6 @@
+Mon Oct 13 19:18:11 UTC 2025 - Christophe Marin <[email protected]>
+
+- Add upstream change:
+  * libfm-qt-qt610.patch
+
+-------------------------------------------------------------------

New:
----
  libfm-qt-qt610.patch

----------(New B)----------
  New:- Add upstream change:
  * libfm-qt-qt610.patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libfm-qt.spec ++++++
--- /var/tmp/diff_new_pack.GBIcNO/_old  2025-10-14 18:10:51.029219837 +0200
+++ /var/tmp/diff_new_pack.GBIcNO/_new  2025-10-14 18:10:51.037220175 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libfm-qt
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,8 @@
 Source0:        %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
 Source1:        
%{url}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
 Source2:        %{name}.keyring
+# PATCH-FIX-UPSTREAM -- Qt 6.10 compat
+Patch0:         libfm-qt-qt610.patch
 BuildRequires:  cmake >= 3.5.0
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
@@ -71,7 +73,7 @@
 Libfm-Qt libraries for development
 
 %prep
-%autosetup
+%autosetup -p1
 
 %build
 %cmake_qt6


++++++ libfm-qt-qt610.patch ++++++
>From 3bcbae5831f5ce3d2f06dc370f0c2ad0026ae82a Mon Sep 17 00:00:00 2001
From: Chiitoo <[email protected]>
Date: Wed, 8 Oct 2025 19:47:01 +0300
Subject: [PATCH] cmake: fix build with Qt 6.10 (#1060)

The 'Qt6FooPrivate' targets have been split into separate CMake files
in Qt 6.9, and require a 'find_package(Qt6FooPrivate)' call starting
with Qt 6.10.

See also: https://bugreports.qt.io/browse/QTBUG-87776
---
 CMakeLists.txt     |  4 ++++
 src/CMakeLists.txt | 19 +++++++++++--------
 2 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8bf0e57b..40a19883 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -35,6 +35,10 @@ set(QT_MINIMUM_VERSION "6.6.0")
 find_package(Qt6Widgets "${QT_MINIMUM_VERSION}" REQUIRED)
 find_package(Qt6LinguistTools "${QT_MINIMUM_VERSION}" REQUIRED)
 
+if (Qt6Gui_VERSION VERSION_GREATER_EQUAL "6.10.0")
+    find_package(Qt6GuiPrivate REQUIRED)
+endif()
+
 find_package(lxqt2-build-tools "${LXQTBT_MINIMUM_VERSION}" REQUIRED)
 find_package(GLIB "${GLIB_MINIMUM_VERSION}" REQUIRED COMPONENTS gio gio-unix 
gobject gthread)
 find_package(MenuCache "${LIBMENUCACHE_MINIMUM_VERSION}" REQUIRED)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 377389a4..1be10c9d 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -132,14 +132,17 @@ install(EXPORT
 )
 
 target_link_libraries(${LIBFM_QT_LIBRARY_NAME}
-    Qt6::Widgets
-    ${GLIB_LIBRARIES}
-    ${GLIB_GIO_LIBRARIES}
-    ${GLIB_GOBJECT_LIBRARIES}
-    ${GLIB_GTHREAD_LIBRARIES}
-    ${MENUCACHE_LIBRARIES}
-    ${XCB_LIBRARIES}
-    ${EXIF_LIBRARIES}
+    PRIVATE
+        Qt6::GuiPrivate
+    PUBLIC
+        Qt6::Widgets
+        ${GLIB_LIBRARIES}
+        ${GLIB_GIO_LIBRARIES}
+        ${GLIB_GOBJECT_LIBRARIES}
+        ${GLIB_GTHREAD_LIBRARIES}
+        ${MENUCACHE_LIBRARIES}
+        ${XCB_LIBRARIES}
+        ${EXIF_LIBRARIES}
 )
 
 # set libtool soname

Reply via email to