File project.diff of Package basket
--- basket.changes.orig
+++ basket.changes
@@ -13,6 +13,99 @@ Wed Aug 21 11:16:58 UTC 2024 - christoph
* Search improvements:
-------------------------------------------------------------------
+Tue Jun 4 10:56:54 UTC 2024 - Hans-Peter Jansen <hpj@urpla.net>
+
+- Fix 0001-Add-cmake_policy-for-OLD-behaviour-of-CMP0153.patch
+ to apply conditionally only
+
+-------------------------------------------------------------------
+Tue Jun 04 10:15:58 UTC 2024 - hpj@urpla.net
+
+- Update to version 2.50+git20200705.00e1d08:
+ * basketscene.cpp: adjust if formatting
+ * Fixes README syntax
+ * Tag Dialog: Text Color not preserved bug fixed
+ * Search improvements:
+- Add 0001-Add-cmake_policy-for-OLD-behaviour-of-CMP0153.patch
+- Other build fallout
+
+-------------------------------------------------------------------
+Tue Jun 04 09:36:45 UTC 2024 - hpj@urpla.net
+
+- Update to version 2.50+git20200508.12452b8:
+ * SVN_SILENT made messages (.desktop file) - always resolve ours
+ * GIT_SILENT made messages (after extraction)
+ * SVN_SILENT made messages (.desktop file) - always resolve ours
+ * GIT_SILENT made messages (after extraction)
+ * refactor: Color picker
+ * SVN_SILENT made messages (.desktop file) - always resolve ours
+ * GIT_SILENT made messages (after extraction)
+ * Refactor BasekFactory::newBasket() to use deafult arguments
+ * Added a .clang-format
+ * Use clang tidy to modernize code (nullptr and override)
+ * SVN_SILENT made messages (.desktop file) - always resolve ours
+ * GIT_SILENT made messages (after extraction)
+ * Address some compiler warnings
+ * KIconLoader::DesktopIcon is also deprecated
+ * Someone forgot how QString::trimmed() works, :D
+ * Result is not being used
+ * QPixmap::find(QString) was deprecated
+ * QFontMetrics::width() is deprecated
+ * SVN_SILENT made messages (.desktop file) - always resolve ours
+ * GIT_SILENT made messages (after extraction)
+ * Switched SmallIcon with QIcon overloads
+ * SVN_SILENT made messages (.desktop file) - always resolve ours
+ * Use svg for tag icons
+ * Remove load animation
+ * Add AppStream file
+ * feat: Update .gitignore file
+ * feat(licensing): Add license file for flapak manifest
+ * Use SPDX copyright information
+ * Modernize tags
+ * clang format
+ * remove debian packaging stuff, this wasn't updated since 2010
+ * remove installer, we now have flatpak
+ * Update readme
+ * Add clang format rules
+ * Prettify hover and selected notes
+ * Improved flatpak manifest
+ * Add flatpak manifest
+ * change dbus interface name
+ * Rename dbus interface
+ * Change desktop file name
+ * Remove Nepomukintegration
+ * refactor: remove dead code Application::newInstance()
+ * feat: update AboutData class
+ * SVN_SILENT made messages (.desktop file) - always resolve ours
+ * Add copyright email
+ * SVN_SILENT made messages (.desktop file) - always resolve ours
+ * SVN_SILENT made messages (.desktop file) - always resolve ours
+ * SVN_SILENT made messages (.desktop file) - always resolve ours
+ * SVN_SILENT made messages (.desktop file) - always resolve ours
+ * SVN_SILENT made messages (.desktop file) - always resolve ours
+ * Remove Qt 3 remnant
+ * Make C++ ctors that should be declared 'explicit' explicit
+ * Use https instead of http and handle https url better
+ * Fix install basket.xml to XDG_MIME_INSTALL_DIR
+ * fix: deprecation QString::null
+ * Fix copyright header detected by ebn
+ * Use char instead of string for efficency when possible
+ * LIBGIT_VER_MINOR is supposed to be LIBGIT2_VER_MINOR
+ * Added support for libgit>=.99
+ * add .arcconfig
+ * Improve README
+ * Remove duplicate includes
+ * make links https in doc
+ * Modernize code 'modernize-use-override' with clang tidy
+ * SVN_SILENT made messages (.desktop file) - always resolve ours
+ * SVN_SILENT made messages (.desktop file) - always resolve ours
+ * Fix various minor typos
+ * SVN_SILENT made messages (.desktop file) - always resolve ours
+ * fixuifiles
+ * Clean translations after the import
+ * SVN_SILENT made messages (.desktop file) - always resolve ours
+
+-------------------------------------------------------------------
Fri Mar 1 21:27:30 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Spec update
--- basket.spec.orig
+++ basket.spec
@@ -25,10 +25,14 @@ URL: https://github.com/baske
Source: %{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM
Patch0: Added-support-for-latest-libgit.patch
+# PATCH-FIX-OPENSUSE
+Patch1: 0001-Add-cmake_policy-for-OLD-behaviour-of-CMP0153.patch
BuildRequires: extra-cmake-modules
BuildRequires: fdupes
BuildRequires: libgit2-devel
BuildRequires: libgpgme-devel
+BuildRequires: libgpg-error-devel
+BuildRequires: update-desktop-files
BuildRequires: cmake(KF5Archive)
BuildRequires: cmake(KF5Completion)
BuildRequires: cmake(KF5Config)
@@ -87,6 +91,7 @@ with co-workers by exporting baskets to
%autosetup -p1
%build
+export CXXFLAGS="%{optflags} -fpermissive"
%cmake_kf5 -d build
%make_jobs