SHA256
1
0
forked from pool/kate

KDE Gear 21.04 beta

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kate?expand=0&rev=188
This commit is contained in:
Christophe Giboudeaux 2022-03-29 06:44:24 +00:00 committed by Git OBS Bridge
parent add37796a7
commit a0404ca180
7 changed files with 82 additions and 38 deletions

View File

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

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

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

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEyiYsbIPeTS+yijMqOmpNuDnqptcFAmI0jeoACgkQOmpNuDnq
ptd8AA/+I3dc5ty0X9OHr/IZiCqH0Agsxbj38bgj/Qo8rOib2DGVuF+PhJ8S2ZAs
NXmgRr7VhhFR1EOai9wMEKVjpgv7TERZQnv16aete9ILAcybPPW2l4mlVvn0kgUo
2WuBz07e76jSD0tX/jO4ka2QidzNFKYKR5psjOMiPRsGUe/n8e5N0+7XgJ1tzYDG
vtaSSeapmsP/aiBOvjPBcLKo2LeLMoN/AK0GxiWhCiuF9cYHoRyml+waqQn7PumM
DuK1+fpWQHJblOAGtW0rldrEIjGEx96FKXJ7IOrdtCDQ+ukEl6jmycS2o4G6l+kW
MgcG9v0gjodopoJOqQ7pxuNdwDSN+PWpHij/1jhweLeg+6aa1uFk+kDgnY9+9JO0
5Rc96skXhoj/H7AePEYbaBF6qKt2rrMerK/UCzQYtkTXscjkoQUBF9iHuLOmDi+T
HsRyFuuDFa7NfdVJGb0QL9y1PF/HXj7DOnm2oicu8R/0LyKNg6Way267hh9zLzJv
Ddhs49BT2puPhhozaxlAkgtRKXDVPeerjDCuqChM6uMddNXw6FHgjGKuuaP3pyVf
NsXIdulldp1rSMgUuWm70QIRDF7s2X85JbbTb0adQ7h5+JBAkvraoF3ZIn8wk4wL
uEqgYU4fstqTZNdH/R6nApHEAjS22cN894aqoTDI86lhtAcTlV4=
=Uv2p
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,39 @@
-------------------------------------------------------------------
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> Tue Mar 1 09:56:51 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>

View File

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