Accepting request 971428 from KDE:Applications

KDE release gear 22.04.0

OBS-URL: https://build.opensuse.org/request/show/971428
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kate?expand=0&rev=143
This commit is contained in:
Dominique Leuenberger 2022-04-23 22:19:12 +00:00 committed by Git OBS Bridge
commit 1f64546236
7 changed files with 94 additions and 36 deletions

View File

@ -12,24 +12,24 @@ That way it's only an impact on usability.
kwrite/main.cpp | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
Index: kate-19.11.70git.20210802T211844~84f9368ef/kate/main.cpp
Index: kate-19.11.70git.20220102T020433~0a4347e06/kate/main.cpp
===================================================================
--- kate-19.11.70git.20210802T211844~84f9368ef.orig/kate/main.cpp 2021-08-02 21:18:44.000000000 +0200
+++ kate-19.11.70git.20210802T211844~84f9368ef/kate/main.cpp 2021-08-03 23:05:03.494438867 +0200
--- kate-19.11.70git.20220102T020433~0a4347e06.orig/kate/main.cpp 2022-01-02 09:28:49.643692601 +0100
+++ kate-19.11.70git.20220102T020433~0a4347e06/kate/main.cpp 2022-01-02 09:29:48.503285030 +0100
@@ -48,19 +48,8 @@
#if !defined(Q_OS_WIN) && !defined(Q_OS_HAIKU)
// Prohibit using sudo or kdesu (but allow using the root user directly)
if (getuid() == 0) {
- if (!qEnvironmentVariableIsEmpty("SUDO_USER")) {
- std::cout << "Executing Kate with sudo is not possible due to unfixable security vulnerabilities. "
- "It is also not necessary; simply use Kate normally, and you will be prompted for "
- "elevated privileges when saving documents if needed."
- std::cout << "Running Kate with sudo can cause bugs and expose you to security vulnerabilities. "
- "Instead use Kate normally and you will be prompted for elevated privileges when "
- "saving documents if needed."
- << std::endl;
- return EXIT_FAILURE;
- } else if (!qEnvironmentVariableIsEmpty("KDESU_USER")) {
- std::cout << "Executing Kate with kdesu is not possible due to unfixable security vulnerabilities. "
- "It is also not necessary; simply use Kate normally, and you will be prompted for "
- "elevated privileges when saving documents if needed."
- std::cout << "Running Kate with kdesu can cause bugs and expose you to security vulnerabilities. "
- "Instead use Kate normally and you will be prompted for elevated privileges when "
- "saving documents if needed."
- << std::endl;
- return EXIT_FAILURE;
- }

View File

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

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmIdYp8ACgkQu0YzUNbv
Me8xSxAAk2dVhwbKaNyKDDwDy6tRIghWZSC9PJ0zt4QJd6IJ5ZOWGZeYfIHRpqqx
ArSe8mF55ghr5g/YqQwQS7QCbkAfwzYZxe3PoMe0Lfv3c3pqrHYPe96xnMiEBI1p
bnGqBuEABcgdwA7JgEVZugiz90vBWh4NdXnxH/WKcQLzEsvTzitWRW6WuQqzQ/Td
Z5dFz+HrGXDIikjnIshIV8byapEkl4Hsu1ywlhYJ3KgNl7TtjgzkTLBAWxO6HXVN
/ApUT0deRIOjIgQBLjnbfi8T17O7rLhQSt8DyZDcxDgWQGq1VvLYG5cJuME8f7C5
lonz0QWf/Tzmn7+bybXKj0Fb196vktKY4i2hx6szhl+E7LVMPaei1C6XRo5ELCV2
1ejjk4/2zm+jCJavDYbND/6Rk+rZzmiAhsnawXqKFYqOGoVYS7iJ/LwvjPcTkBU9
TpTkZwWZC6JSRGJXTuHCYUnuLbtxf4mMRHw7tqJYFmEDxuywAOGVtcu8MlJxctYL
ClObB8AzVBdOqHcqfR+GOWvP7FyWy0m7uStNd7fes6rcnZE5lkkcPfK5Md8OEskO
APMonFPHRyiU2FBaKwOzcE8jG1ZkNf+cjDxzgAJK/wsQ4FAvGM68fyTZl1lSxI3s
vAeBD+MZN3VRjErd9j/h0de5ihisbYdx4x0r3kCmISM7jvXJcOg=
=S93E
-----END PGP SIGNATURE-----

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

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

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

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmJYtwEACgkQu0YzUNbv
Me8qmw/9HiUzPH9gitruEfeo3fcxlz8DHSOQXiRjAVMCoyQ8fgl7IFdzgxfCQZkO
YLMrx/ixjCiJu3TpUq3/IPI4EmVOoiisd8Tw3c5SNpz0ZSWzXSEpvb/vXhjHor27
n4LwA771P0iTEAlmaNUTtpxc/iux1USGEdhuGfYmzVIvwgFh00wrb8ZHVrmZGjGo
8kNX8QlBVkQq15wIXX7kwcgFB2fAg1SnmZIsdHiqUf2yEeLYAC2QKSgNJFv2eJP8
pdTUqzA3o9GZCdeumq5i+2BnMRmURaqQBCkj9zKmUDAYBxe3iHPQxHzHpOm7Hvxo
HKJi+qwW018iwbZQChcFNazbyiFl8bBnITiWdHo6V5dZ1yUbmY47eq1eSPy8Y8qU
va0W0IRzhDwrOtsBW2BJ/JoA9m7n2B0IxA3+X0QGdUVzlBvx5RLJKcEusZyc+BYI
bU4wLxNEbXGV9dD+zL1nzIl/jzZFem5qnEBCXQ54pSsTWgb0dtHMLaROb57ZE7gn
G+IG574rbQqQU1dbyCD0qLMW3f21+K6HNuyizT2Fn5ZSKGz3I1TgtOkBaqN5l56u
X+11j7lJdX9Z4MB+zllbvdF07bae76ziHV4ksKSWafxjWMpNbvIfcmug0qWjzacc
mY6GqVP70Qy3Qr1u8g0ZUOCHYrW28J306+f843XX1SI9weIlLD0=
=wcJm
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,53 @@
-------------------------------------------------------------------
Mon Apr 18 07:51:18 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
- Update to 22.04.0
* New feature release
* For more details please see:
* https://kde.org/announcements/gear/22.04.0/
-------------------------------------------------------------------
Fri Apr 8 18:17:57 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
- Update to 22.03.90
* New feature release
-------------------------------------------------------------------
Wed Mar 23 08:13:48 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
- Update to 22.03.80
* New feature release
- Too many changes since 21.12.3, only listing bugfixes:
* show documents as loaded from config (kde#353373)
* ensure some proper initial size (kde#450686)
* make config dialog scrollable (kde#445541)
* Handle SIGINT/SIGTERM to prevent accidental data loss (kde#445016)
* Fix crash when closing multiple tabs if limited number of tabs is enabled (kde#450873)
* Sort by url instead of comparing strings (kde#435334)
* Fix tab jumping with unlimited tabs (kde#440585, kde#435780)
* Fix LRU tab behaviour (kde#434062)
* S&R: Fix Look-ahead & behind highlighting & replace (kde#449545)
* Fix stashing not working when Kate is quit using Ctrl+Q (kde#449229)
* lspclient: also support some alternative WorkspaceEdit replies (kde#447640)
* Allow DND of tabs among viewspaces (kde#426768)
* Dont bring kate to front when files externally modified (kde#353712)
* Fix the check to also handle 0 doc views (kde#448847)
* Improve views closing in split view behaviour (kde#344374)
* Fix terminal focus action text when focusing/defocusing (kde#409813)
* step down warning level when LSP not found (kde#448549)
* filetree: Fix folders collapse after opening new file (kde#410143)
* Clear highlights if text field becomes empty (kde#436674)
* lspclient: only allow symbol view header toggle sort when applicable (kde#447653)
* Search: Utilize context lengths more efficiently (kde#438094)
* Fix search for unsaved files (kde#434287)
* Ignore rename if newName == oldName (kde#447951)
* SemanticTokens: Use size_t as argument for type (kde#447553)
* GDB: Use debug-run theme icon in stead of custom icon (kde#444670)
* do nothing if use canceled project open (kde#447194)
* fix sessions segfault because of invalid iterator (kde#446863)
* enable/disable project actions (kde#445494)
- Use GCC 10 for building kate on Leap 15.
-------------------------------------------------------------------
Tue Mar 1 09:56:51 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -21,7 +21,7 @@
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
%bcond_without released
Name: kate
Version: 21.12.3
Version: 22.04.0
Release: 0
Summary: Advanced Text Editor
License: GPL-3.0-or-later
@ -63,6 +63,10 @@ BuildRequires: cmake(Qt5Script)
BuildRequires: cmake(Qt5Sql)
BuildRequires: cmake(Qt5Test)
BuildRequires: cmake(Qt5Widgets)
%if 0%{?suse_version} <= 1500
# <charconv> is not available in GCC7
BuildRequires: gcc10-c++
%endif
Requires: %{name}-plugins = %{version}
Obsoletes: %{name}5 < %{version}
Provides: %{name}5 = %{version}
@ -96,15 +100,19 @@ plugins and data files for Kate and KWrite editors.
%autosetup -p1
%build
%cmake_kf5 -d build
%cmake_build
%if 0%{?suse_version} <= 1500
export CXX=g++-10
%endif
%cmake_kf5 -d build
%cmake_build
%install
%kf5_makeinstall -C build
%if %{with released}
%kf5_makeinstall -C build
%if %{with released}
%find_lang %{name} --with-man --all-name
%{kf5_find_htmldocs}
%endif
%endif
%files
%doc README*