Accepting request 1150884 from KDE:Applications

KDE release gear 24.02.0

OBS-URL: https://build.opensuse.org/request/show/1150884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kate?expand=0&rev=167
This commit is contained in:
Ana Guerrero 2024-03-11 14:26:29 +00:00 committed by Git OBS Bridge
commit 03e5e9a50c
7 changed files with 98 additions and 106 deletions

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:297facaab205f67f2c61b17650ef27a10b32ea699083577eeece25d0beb3fba2
size 8043840

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmVu7dgACgkQu0YzUNbv
Me/7pBAAlvqVVOx8M07Jj/B7lpWz8mV2lYGqrvQIhSpDk59voOhPS9grRUmvjAAo
BFQy5cnyIPgchT+DVFhDpDC3uWAlllvlEBZQBouK6O7C4XqQUTzmMUWsM1zWsqmw
9nY5EFtNElnsW5K+PJKFmzUmbtBEqlbsAYHcxkDI2FSyZ9lMrjVid6X1jLq7rodJ
km0GvtbnCVe89uuUnsiJYSRgFDpKNrw5WswEN2VNB5U2K0+SgTS2TwjoHBg/CIoo
hEVlT3Hm5ocPxvBD+M4P2l/tL3652FiR+2lI9Gr9r1+pOckPyVLvR4ZTxCqeriS7
zvQnGAtbkN1PBM3VE651MCtAy3sKOr8PM8lCbg0gsOYXl8f3BDLi37UXS8cWc+dS
PpB356zTprGh29WyzY4Z9AxnkQ2T+SMypYpA8K2rjh4O7UMBaHPk6pg55FBeaBNT
1xwmUHSLL8m/ICtMJGy6BT804GyaSotDViW1V2jEOhWLmKubV5phQKHkz6fHQ/Rg
PmT0+v5IoFIUgFR3qWnew/HHFo0XOPzWZOGA+PF8GzMhdXQwHO9HrnO9gOQnniRQ
gEV9tZqqkHtHfCZpSgt6omZahkbSaF7iBndHRtW2Sr1GopPFOvQ0hcQtnZLmcp3E
UigYr28B1Ok+kmRTG8oW4/WPOXeZzmOZzMYd0DboeoVA6BcmTbU=
=bpFY
-----END PGP SIGNATURE-----

3
kate-24.02.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9b1efcccf4e36efcdbc2eada6399cd8128ce187a19182400313062f75ee35f48
size 8396652

16
kate-24.02.0.tar.xz.sig Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmXVqvkACgkQu0YzUNbv
Me8sJg//dRnvq/U3Fr+rOU2KedMILgUVWz2O4AEUsQ4il9SFbLyryikoRQL6AT0U
sgST53PqPAEuSIOAuaNxRlY2kiQzzU8lbqoWThRbZGfiftzonsLOVI1xMkOf0x0Q
0QSiHilvBIQPZQJi78ndMEdK8zIqP8KCbzynWuVzf/ebEEqV8n8OosqEgsQl47fo
uagtN9OlBe9cq+lIW9lIh6Swd7qZLUOgiaF/l40yLIwmMqXXdcHoTEw1DlGN1wm6
Lhaa2kDu4/aLqAdhXV15/PUavra+89vNwtvrRG+DWwxCkuQjPcrKSpjC8sFRnqhx
HqafGnfnfOlaaCY6x6A6i7rChp0O4V8YHtMBXiC9sYjfSDs8Uq3PoVWYZCjLHXfq
xMfalzRdqrLwUkdKMi+g8xF6JSTczYQJjsZPK+14HXBA8q5zkmIjrwbJufVa+UIg
rQiV64wUO/Pa7GUladeqMrxWlZvLf2YFgd9nbOCLT/g0Q4dSeo1TfAHuC4jUE2j5
F28vwzFoqJg74xx2OhQvS80iOeQ0v0ZKuUP0/hhZWx6ANzuC5fDyr4JLCW/+cucp
GPUHtZRsGTTwxExOkcDH22FYAaM60Xsv5afTbiUf1/n+Y5Q+zaTCuQgv8PR9Mw2Y
iL33mEq7NgOhHDVxNjEwGq0+T0j32U5WSfX40kbwqH6BLip4EJ0=
=rBaU
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Fri Feb 23 13:58:43 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Update to 24.02.0
* New feature release
- Changes since 24.01.95:
* Fix tabswitcher performance when large of docs are opened
* Avoid many proxy invalidations on close
* fix crash on close other with active widget (kde#481625)
* Fix crash
* Documents: Fix row numbers not updated after dnd
* Fix diagnostic count when removing diagnostics from a doc with multiple providers
* diag: Always allow diagnostics for active document
-------------------------------------------------------------------
Fri Feb 9 16:07:49 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Update to 24.01.95
* https://kde.org/announcements/megarelease/6/rc2/
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 15 21:29:47 UTC 2023 - Christophe Marin <christophe@krop.fr> Fri Dec 15 21:29:47 UTC 2023 - Christophe Marin <christophe@krop.fr>

146
kate.spec
View File

@ -1,7 +1,7 @@
# #
# spec file for package kate # spec file for package kate
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,68 +16,55 @@
# #
%define _appstreamkpackage 0%(cat %{_kf5_cmakedir}/KF5Package/KF5PackageMacros.cmake | grep -q 'appstream-metainfo' && echo 1) %define kf6_version 5.246.0
%define plasma6_version 5.27.80
%define qt6_version 6.6.0
%bcond_without released %bcond_without released
Name: kate Name: kate
Version: 23.08.4 Version: 24.02.0
Release: 0 Release: 0
Summary: Advanced Text Editor Summary: Advanced Text Editor
License: GPL-3.0-or-later License: GPL-3.0-or-later
URL: https://kate-editor.org URL: https://kate-editor.org
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz Source: %{name}-%{version}.tar.xz
%if %{with released} %if %{with released}
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig Source1: %{name}-%{version}.tar.xz.sig
Source2: applications.keyring Source2: applications.keyring
%endif %endif
# PATCH-FIX-OPENSUSE # PATCH-FIX-OPENSUSE
Patch0: 0001-Defuse-root-block.patch Patch0: 0001-Defuse-root-block.patch
BuildRequires: extra-cmake-modules BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
BuildRequires: libgit2-devel BuildRequires: qt6-gui-private-devel >= %{qt6_version}
BuildRequires: cmake(KF5Activities) BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
BuildRequires: cmake(KF5Config) BuildRequires: cmake(KF6Crash) >= %{kf6_version}
BuildRequires: cmake(KF5Crash) BuildRequires: cmake(KF6DBusAddons) >= %{kf6_version}
BuildRequires: cmake(KF5DBusAddons) BuildRequires: cmake(KF6DocTools) >= %{kf6_version}
BuildRequires: cmake(KF5DocTools) BuildRequires: cmake(KF6GuiAddons) >= %{kf6_version}
BuildRequires: cmake(KF5GuiAddons) BuildRequires: cmake(KF6I18n) >= %{kf6_version}
BuildRequires: cmake(KF5I18n) BuildRequires: cmake(KF6IconThemes) >= %{kf6_version}
BuildRequires: cmake(KF5IconThemes) BuildRequires: cmake(KF6KIO) >= %{kf6_version}
BuildRequires: cmake(KF5ItemModels) BuildRequires: cmake(KF6NewStuff) >= %{kf6_version}
BuildRequires: cmake(KF5JobWidgets) BuildRequires: cmake(KF6TextEditor) >= %{kf6_version}
BuildRequires: cmake(KF5KIO) BuildRequires: cmake(KF6UserFeedback) >= %{kf6_version}
BuildRequires: cmake(KF5NewStuff) BuildRequires: cmake(KF6Wallet) >= %{kf6_version}
BuildRequires: cmake(KF5Parts) BuildRequires: cmake(KF6WindowSystem) >= %{kf6_version}
BuildRequires: cmake(KF5Plasma) BuildRequires: cmake(PlasmaActivities) >= %{plasma6_version}
BuildRequires: cmake(KF5Pty) BuildRequires: cmake(Qt6Concurrent) >= %{qt6_version}
BuildRequires: cmake(KF5Service) BuildRequires: cmake(Qt6Core5Compat) >= %{qt6_version}
BuildRequires: cmake(KF5SyntaxHighlighting) BuildRequires: cmake(Qt6Sql) >= %{qt6_version}
BuildRequires: cmake(KF5TextEditor) BuildRequires: cmake(Qt6Test) >= %{qt6_version}
BuildRequires: cmake(KF5ThreadWeaver) BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
BuildRequires: cmake(KF5Wallet) Requires: kate-plugins = %{version}
BuildRequires: cmake(KF5WindowSystem) Obsoletes: kate5 < %{version}
BuildRequires: cmake(KF5XmlGui) Provides: kate5 = %{version}
BuildRequires: cmake(KUserFeedback)
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5DBus)
BuildRequires: cmake(Qt5Script)
BuildRequires: cmake(Qt5Sql)
BuildRequires: cmake(Qt5X11Extras)
BuildRequires: cmake(Qt5Test)
BuildRequires: cmake(Qt5Widgets)
%if 0%{?suse_version} <= 1500
# <charconv> is not available in GCC7
BuildRequires: gcc10-c++
BuildRequires: gcc10-PIE
%endif
Requires: %{name}-plugins = %{version}
Obsoletes: %{name}5 < %{version}
Provides: %{name}5 = %{version}
%description %description
Kate is an advanced text editor by KDE. Kate is an advanced text editor by KDE.
%package -n kwrite %package -n kwrite
Summary: KDE Text Editor Summary: KDE Text Editor
Requires: %{name}-plugins = %{version} Requires: kate-plugins = %{version}
Obsoletes: kwrite5 < %{version} Obsoletes: kwrite5 < %{version}
%description -n kwrite %description -n kwrite
@ -99,60 +86,45 @@ plugins and data files for Kate and KWrite editors.
%autosetup -p1 %autosetup -p1
%build %build
%if 0%{?suse_version} <= 1500 %cmake_kf6
export CXX=g++-10
%endif
%cmake_kf5 -d build %kf6_build
%cmake_build
%install %install
%kf5_makeinstall -C build %kf6_install
%find_lang %{name} --with-man --all-name # Remove exotic icon sizes
%{kf5_find_htmldocs} rm -r %{buildroot}%{_kf6_iconsdir}/hicolor/{150x150,310x310,44x44}
%find_lang %{name} --with-man --with-html --all-name
%ldconfig_scriptlets %ldconfig_scriptlets
%files %files
%doc README* %doc README.md
%dir %{_kf5_iconsdir}/hicolor/150x150/ %doc %lang(en) %{_kf6_htmldir}/en/kate/
%dir %{_kf5_iconsdir}/hicolor/150x150/apps %doc %lang(en) %{_kf6_htmldir}/en/katepart/
%dir %{_kf5_iconsdir}/hicolor/310x310/ %doc %{_kf6_mandir}/man1/kate.1%{?ext_man}
%dir %{_kf5_iconsdir}/hicolor/310x310/apps %{_kf6_applicationsdir}/org.kde.kate.desktop
%dir %{_kf5_iconsdir}/hicolor/44x44/ %{_kf6_appstreamdir}/org.kde.kate.appdata.xml
%dir %{_kf5_iconsdir}/hicolor/44x44/apps %{_kf6_bindir}/kate
%dir %{_kf5_iconsdir}/hicolor/256x256/ %{_kf6_iconsdir}/hicolor/*/apps/kate.*
%dir %{_kf5_iconsdir}/hicolor/256x256/apps %{_kf6_libdir}/libkateprivate.so.*
%dir %{_kf5_iconsdir}/hicolor/512x512/
%dir %{_kf5_iconsdir}/hicolor/512x512/apps
%doc %lang(en) %{_kf5_htmldir}/en/kate/
%doc %lang(en) %{_kf5_htmldir}/en/katepart/
%doc %{_kf5_mandir}/man1/kate.*
%{_kf5_applicationsdir}/org.kde.kate.desktop
%{_kf5_appstreamdir}/org.kde.kate.appdata.xml
%{_kf5_bindir}/kate
%{_kf5_iconsdir}/hicolor/*/apps/kate.*
%{_kf5_libdir}/libkateprivate.so.*
%dir %{_kf5_sharedir}/kconf_update/
%{_kf5_sharedir}/kconf_update/katesession_migration.upd
%{_kf5_sharedir}/kconf_update/migrate_kate_sessions_applet_to_kdeplasma-addons.sh
%files -n kwrite %files -n kwrite
%doc README* %doc README.md
%doc %lang(en) %{_kf5_htmldir}/en/kwrite/ %{_kf6_applicationsdir}/org.kde.kwrite.desktop
%{_kf5_applicationsdir}/org.kde.kwrite.desktop %{_kf6_appstreamdir}/org.kde.kwrite.appdata.xml
%{_kf5_appstreamdir}/org.kde.kwrite.appdata.xml %{_kf6_bindir}/kwrite
%{_kf5_bindir}/kwrite %{_kf6_iconsdir}/hicolor/*/apps/kwrite.*
%{_kf5_iconsdir}/hicolor/*/apps/kwrite.*
%files plugins %files plugins
%license LICENSES/* %{_kf6_plugindir}/kf6/ktexteditor/
%doc README* %{_kf6_sharedir}/kateproject/
%{_kf5_plugindir}/ %{_kf6_sharedir}/katexmltools/
%{_kf5_sharedir}/kateproject/
%{_kf5_sharedir}/katexmltools/
%files lang -f %{name}.lang %files lang -f %{name}.lang
%exclude %{_kf6_htmldir}/en/kate/
%exclude %{_kf6_htmldir}/en/katepart/
%changelog %changelog