commit d60c7f8ddcfa6f24cf3283945070ea43ce86b3b71bc11e226a5c33de679f0d7a Author: Christophe Marin Date: Fri Aug 9 11:38:23 2024 +0000 KDE Frameworks 6.5.0 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks/kf6-ktexteditor?expand=0&rev=13 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/frameworks.keyring b/frameworks.keyring new file mode 100644 index 0000000..0805969 Binary files /dev/null and b/frameworks.keyring differ diff --git a/kf6-ktexteditor.changes b/kf6-ktexteditor.changes new file mode 100644 index 0000000..ac1e26a --- /dev/null +++ b/kf6-ktexteditor.changes @@ -0,0 +1,157 @@ +------------------------------------------------------------------- +Mon Aug 5 10:47:54 UTC 2024 - Christophe Marin + +- Update to 6.5.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.5.0 +- Changes since 6.4.0: + * Update dependency version to 6.5.0 + * Fix drag pixmap with wrapped lines (kde#476979) + * Add actions to convert spaces to tabs and vice versa (kde#456736) + * use ktexteditor-script-tester6 for javascript tests + * fix -Woverflow warning with gcc + * templates: Remove one level of nesting + * Ignore buffer signals in completion on undo/redo + * cursorToOffset: remove unnecessary line variable + * Fix formatting + * Update version to 6.5.0 + * src/view/kateview.cpp (KTextEditor::ViewPrivate::setupActions) : Fix typo in m_toggleShowSpace and m_toggleDynWrap whatsThis text. + * Treat 0x0000 to 0x001F as non-printable + * add action to quick toggle space visibility + +------------------------------------------------------------------- +Tue Jul 9 09:41:57 UTC 2024 - Christophe Marin + +- Update to 6.4.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.4.0 +- Changes since 6.3.0: + * add a tool to test javascript scripts + * fix JS API result of view.executeCommand() + * kateregexpsearch: fix FAST_DEBUG + * API documentation: fix typo on kte_design page + * add action to popy the current file name and line (kde#488027) + * prefer even indent sizes (kde#474505) + * try different way to read file for digest + * remove gradient, looks ugly + * add missing :, are there for all other entries + * don't remember encoding if known to be broken (kde#445015) + * ensure we don't keep old session config keys (kde#486648) + +------------------------------------------------------------------- +Wed Jun 5 10:11:57 UTC 2024 - Christophe Marin + +- Update to 6.3.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.3.0/ +- Changes since 6.2.0: + * ensure the color name text is visible (kde#487068) + * ensure we not reset the dynamic word wrap state (kde#487216) + * Port to KStandardActions + * Never remove trailing spaces on diff file type + * Remove explicit maintainer from metainfo + * Screenshot dialog: support drag of image + * make tests independent of the user's environment + * Modernize use designated init + * do not display diff result in script tests when -silent is used + * fix raw string indentation with cstyle + C++ + * Use ellipsis character instead of three dots in UI strings + +------------------------------------------------------------------- +Mon May 6 12:22:55 UTC 2024 - Christophe Marin + +- Update to 6.2.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/6.2.0/ +- Changes since 6.1.0: + * Fix caret painting for inline notes at the end of line + * KateCompletionWidget: Mark function static + * KateCompletionModel: remove useless std::as_const + * run more tests offscreen + * Fix performance with many cursors in a large line + * fix test expectations + * fix crashs and OOM on load with encoding failures (kde#486195) + * a11y: Improve tab order for "Appeareance" -> "Borders" + * a11y: Set "Line Height Multiplier" buddy + * Fix broken navigation in completion widget with multiple views + * Fix clicking in completion + * fix textInsertedRange signal for insertText behind last line (kde#483363) + +------------------------------------------------------------------- +Fri Apr 5 12:52:59 UTC 2024 - Christophe Marin + +- Update to 6.1.0 + * New feature release +- Changes since 6.0.0: + * update version for new release + * Fix argument hint placement + * Dont use activeView as save dialog parent (kde#484466) + * ensure only set stuff is saved + * Dont write useless entries to session config + * all tests work offscreen in the CI + * try to avoid crash in destructor + * try more offscreen + * ensure we don't crash if no view is active + * kateviewinternal: accept surrogate category character (kde#482864) + * use test mode with e.g. own temporary config files + * avoid using QChar constructor for key codes (kde#483631) + * remove obsolete option code + * Remove focus frame option (kde#483218) + * Fix duplicate folds occuring + * Fix support for folding in vi normal mode + * adapt test to hinting change + * Set full hinting instead to ensure the letters are aligned properly (kde#482659) + * try to save changes + * Optimize a mark-restoring condition after document reload + +------------------------------------------------------------------- +Wed Feb 21 19:28:09 UTC 2024 - Fabian Vogt + +- Update to 6.0.0 + * New bugfix release + * Release announcement not available yet +- Changes since 5.249.0: + * add setRange overloads + * be consistent, the wrapper never uses const to hand out refs/pointers + * update version for new release + * Include QWidgetList + * add widgets api + * ensure we support unicode in patterns (kde#462437) + * fix quadratic checks + * fix handling for full scanned lines + * split lines early (kde#479073) + * more line wrapping tests + * Dont apply clipping with selections (kde#475378) + * Fix selection rendering with custom line height (kde#475378) + * Plugin template: fix plugin installation path + * Plugin template: bump min KF dep to match initial KF6 release + * Fix dyn word wrap indicator validation check (kde#480831) + * util-scripts: Use setText when working with whole document + * fix formatting + * check longestLineLoaded, too + * add test for setLineLengthLimit + * use cursorToOffset for accessibility events + * update version for new release + +------------------------------------------------------------------- +Wed Jan 31 17:50:53 UTC 2024 - Fabian Vogt + +- Update to 5.249.0 (6.0 RC 2): + * New bugfix release + * For more details see https://kde.org/announcements/megarelease/6/rc2/ + +------------------------------------------------------------------- +Mon Jan 15 20:01:40 UTC 2024 - Fabian Vogt + +- Update to 5.248.0 (6.0 RC 1) + * For more details please see: + https://kde.org/announcements/megarelease/6/rc1/ + +------------------------------------------------------------------- +Sat May 27 11:18:29 UTC 2023 - Christophe Marin + +- Init kf6-ktexteditor diff --git a/kf6-ktexteditor.spec b/kf6-ktexteditor.spec new file mode 100644 index 0000000..4dbdc8b --- /dev/null +++ b/kf6-ktexteditor.spec @@ -0,0 +1,128 @@ +# +# spec file for package kf6-ktexteditor +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define qt6_version 6.6.0 + +%define rname ktexteditor +# Full KF6 version (e.g. 6.5.0) +%{!?_kf6_version: %global _kf6_version %{version}} +# Last major and minor KF6 version (e.g. 6.0) +%{!?_kf6_bugfix_version: %define _kf6_bugfix_version %(echo %{_kf6_version} | awk -F. '{print $1"."$2}')} +%bcond_without released +Name: kf6-ktexteditor +Version: 6.5.0 +Release: 0 +Summary: Embeddable text editor component +License: LGPL-2.1-or-later +URL: https://www.kde.org +Source: %{rname}-%{version}.tar.xz +%if %{with released} +Source1: %{rname}-%{version}.tar.xz.sig +Source2: frameworks.keyring +%endif +BuildRequires: doxygen +BuildRequires: fdupes +BuildRequires: kf6-extra-cmake-modules >= %{_kf6_bugfix_version} +BuildRequires: pkgconfig +BuildRequires: cmake(EditorConfig) +BuildRequires: cmake(KF6Archive) >= %{_kf6_bugfix_version} +BuildRequires: cmake(KF6Config) >= %{_kf6_bugfix_version} +BuildRequires: cmake(KF6GuiAddons) >= %{_kf6_bugfix_version} +BuildRequires: cmake(KF6I18n) >= %{_kf6_bugfix_version} +BuildRequires: cmake(KF6KIO) >= %{_kf6_bugfix_version} +BuildRequires: cmake(KF6Parts) >= %{_kf6_bugfix_version} +BuildRequires: cmake(KF6Sonnet) >= %{_kf6_bugfix_version} +BuildRequires: cmake(KF6SyntaxHighlighting) >= %{_kf6_bugfix_version} +BuildRequires: cmake(KF6WindowSystem) >= %{_kf6_bugfix_version} +BuildRequires: cmake(Qt6Core) >= %{qt6_version} +BuildRequires: cmake(Qt6PrintSupport) >= %{qt6_version} +BuildRequires: cmake(Qt6Qml) >= %{qt6_version} +BuildRequires: cmake(Qt6TextToSpeech) >= %{qt6_version} +BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version} +BuildRequires: cmake(Qt6Widgets) >= %{qt6_version} +BuildRequires: cmake(Qt6Xml) >= %{qt6_version} +BuildRequires: pkgconfig(libgit2) +Requires: kf6-syntax-highlighting >= %{_kf6_bugfix_version} + +%description +KTextEditor provides a text editor component that can be embedded in +applications, either as a KPart or using the KF6::TextEditor library. + +%package -n libKF6TextEditor6 +Summary: Embeddable text editor component +Requires: kf6-ktexteditor >= %{version} + +%description -n libKF6TextEditor6 +KTextEditor provides a text editor component that can be embedded in +applications, either as a KPart or using the KF6::TextEditor library. + +%package devel +Summary: Header files for ktexteditor, an embeddable text editor component +Requires: libKF6TextEditor6 = %{version} +Requires: cmake(KF6Parts) >= %{_kf6_bugfix_version} +Requires: cmake(KF6SyntaxHighlighting) >= %{_kf6_bugfix_version} + +%description devel +KTextEditor provides a text editor component that can be embedded in +applications, either as a KPart or using the KF6::TextEditor library. + +This subpackage provides the header files. + +%lang_package + +%prep +%autosetup -p1 -n %{rname}-%{version} + +%build +%cmake_kf6 -DBUILD_QCH:BOOL=TRUE \ + -DENABLE_KAUTH:BOOL=FALSE + +%kf6_build + +%install +%kf6_install + +%fdupes %{buildroot} + +%find_lang ktexteditor6 + +%ldconfig_scriptlets -n libKF6TextEditor6 + +%files +%{_kf6_debugdir}/ktexteditor.categories +%{_kf6_debugdir}/ktexteditor.renamecategories +%{_kf6_bindir}/ktexteditor-script-tester6 +# TODO split +%dir %{_kf6_plugindir}/kf6/parts +%{_kf6_plugindir}/kf6/parts/katepart.so + +%files -n libKF6TextEditor6 +%license LICENSES/* +%doc README.md +%{_kf6_libdir}/libKF6TextEditor.so.* + +%files devel +%doc %{_kf6_qchdir}/KF6TextEditor.* +%{_kf6_cmakedir}/KF6TextEditor/ +%{_kf6_includedir}/KTextEditor/ +%{_kf6_libdir}/libKF6TextEditor.so +%{_kf6_sharedir}/kdevappwizard/templates/ktexteditor6-plugin.tar.bz2 + +%files -n kf6-ktexteditor-lang -f ktexteditor6.lang + +%changelog diff --git a/ktexteditor-6.3.0.tar.xz b/ktexteditor-6.3.0.tar.xz new file mode 100644 index 0000000..fcda455 --- /dev/null +++ b/ktexteditor-6.3.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:979dbffaeb0a0413b3745efa180aa0be6e1ed8bf8f5a938281499b931e283776 +size 2821408 diff --git a/ktexteditor-6.3.0.tar.xz.sig b/ktexteditor-6.3.0.tar.xz.sig new file mode 100644 index 0000000..4a4aa5d --- /dev/null +++ b/ktexteditor-6.3.0.tar.xz.sig @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- + +iHUEABYKAB0WIQSQqWisqEU3zCe5nq8sjfWHptSqwQUCZlnQfQAKCRAsjfWHptSq +wVYzAQCdlZXG86rqZD4dyAbqOXA6QMZJhFXvkxPTJOrW/FaHvQD+N3q1iiR+0nbg +SXGQ7D7lx34SX6HXkVgrvGQP57dpVwE= +=wLt4 +-----END PGP SIGNATURE----- diff --git a/ktexteditor-6.4.0.tar.xz b/ktexteditor-6.4.0.tar.xz new file mode 100644 index 0000000..d59e3b0 --- /dev/null +++ b/ktexteditor-6.4.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:825e1a79549d66f204d50869f1dfbbc8a14ab96e76b3e8c3e899b236edccd6d4 +size 2862688 diff --git a/ktexteditor-6.4.0.tar.xz.sig b/ktexteditor-6.4.0.tar.xz.sig new file mode 100644 index 0000000..a3c1a65 --- /dev/null +++ b/ktexteditor-6.4.0.tar.xz.sig @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- + +iHUEABYKAB0WIQSQqWisqEU3zCe5nq8sjfWHptSqwQUCZohS5wAKCRAsjfWHptSq +wUzMAQDy4lG8UbKp47DJluq9grEmiJCrxJsXbeyHHZap/5jeNwD8DgUc/oSvAPEW +o/7wS4bzayhmu7c31Du0w6wgGVISiwM= +=55Es +-----END PGP SIGNATURE----- diff --git a/ktexteditor-6.5.0.tar.xz b/ktexteditor-6.5.0.tar.xz new file mode 100644 index 0000000..e7d9428 --- /dev/null +++ b/ktexteditor-6.5.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9bbb8875a68c6b627f3999c2dab2f91fe15570e2a43c3b2aa9149e5b98dbb8c1 +size 2846764 diff --git a/ktexteditor-6.5.0.tar.xz.sig b/ktexteditor-6.5.0.tar.xz.sig new file mode 100644 index 0000000..ce50492 --- /dev/null +++ b/ktexteditor-6.5.0.tar.xz.sig @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- + +iHUEABYKAB0WIQSQqWisqEU3zCe5nq8sjfWHptSqwQUCZqy/4wAKCRAsjfWHptSq +wT47AP4sHPE9sM9K1bX/7MTtk9KNd1Ino3QzMGjsO2eal2XzZQEA52lp8AndVK49 +T/meNDzHT0YC+Alt3bTAz/q2/i6BfgI= +=RRSX +-----END PGP SIGNATURE-----