From 9e8a6e035027a4ed27f958a985287535fb467db0e4a9711c214e5614f2aca9f6 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 21 Mar 2022 08:36:40 +0000 Subject: [PATCH] Accepting request 963203 from GNOME:Next New stable rel OBS-URL: https://build.opensuse.org/request/show/963203 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-text-editor?expand=0&rev=4 --- gnome-text-editor-41.1.tar.xz | 3 - gnome-text-editor-42.0.tar.xz | 3 + gnome-text-editor.changes | 169 ++++++++++++++++++++++++++++++++++ gnome-text-editor.spec | 29 ++++-- 4 files changed, 194 insertions(+), 10 deletions(-) delete mode 100644 gnome-text-editor-41.1.tar.xz create mode 100644 gnome-text-editor-42.0.tar.xz diff --git a/gnome-text-editor-41.1.tar.xz b/gnome-text-editor-41.1.tar.xz deleted file mode 100644 index aa26f6d..0000000 --- a/gnome-text-editor-41.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:619ec520d6e0905d431167024e43dce0dbf6a345f2d48693501d70dc7626f861 -size 579388 diff --git a/gnome-text-editor-42.0.tar.xz b/gnome-text-editor-42.0.tar.xz new file mode 100644 index 0000000..d1e4275 --- /dev/null +++ b/gnome-text-editor-42.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e32140ee1c13428563bcd5f784e61ee22ffd1ad27d8c02283b4358a81dfab50 +size 1126224 diff --git a/gnome-text-editor.changes b/gnome-text-editor.changes index 72c9f45..9e19ab2 100644 --- a/gnome-text-editor.changes +++ b/gnome-text-editor.changes @@ -1,3 +1,172 @@ +------------------------------------------------------------------- +Sun Mar 20 09:03:31 UTC 2022 - Bjørn Lie + +- Update to version 42.0: + + Updated translations. + +------------------------------------------------------------------- +Tue Mar 8 10:43:50 UTC 2022 - Bjørn Lie + +- Update to version 42.rc1: + + CSS styling tweaks. + + The enchant spellcheck backend will now ignore dictionaries + which fail to provide a name which can be displayed to the + user. This so far has only been seen on macOS but may affect + other platforms. + + Updated application metadata and screenshots. + + Updated translations. + +------------------------------------------------------------------- +Wed Feb 23 17:02:05 UTC 2022 - Bjørn Lie + +- Update to version 42.beta.1: + + This is our first Beta release as we progress towards GNOME 42. + A number of bug fixes have landed since 42.alpha2 and we + encourage your further testing to make 42 a great reveal! + + Many CSS integration improvements including recoloring + + Text Editor will now locate style schemes in additional search + paths + + Fixes to search bar positioning and focus-in state + + You can now tweak many per-document settings using the context + menu within the page which can help users determine what + settings were/are global from the view menu vs how they were + overriden by automatic settings discovery (which can be + disabled in preferences). + + Smart-Home-End behavior is now enabled in "before" mode + + New command line options have been added + + Build fixes for macOS + + We now advertise the GTK version we require propertly for + line-height + + Improvements to titles/subtitles to reflect various document + capabilities + + A new style scheme has been added for printing which is used + automatically until we have further settings in + GtkPrintOperation via Flatpak portals. + + More strict checks in B+Tree code for spell checking. If you + find any assertions, please do tell us! + + Propertly use AdwApplication base class + + Improvements to failure paths when access to underlying GFile + or GFileInfo fails to provide reasonable information. + + Spellcheck settings are now persisted across sessions using + extended attributes. + + The buffer monitor is now disabled when a buffer fails to load + + The default style scheme is now set to Adwaita propertly + + Search now draws various bubbles around the matches to make + them easier to differentiate from the background text. + + Updated translations. + +------------------------------------------------------------------- +Sat Jan 8 13:04:35 UTC 2022 - Bjørn Lie + +- Add appstream-glib and desktop-file-utils BuildRequires: New + dependencies, and add check section and run meson_test macro. +- Add fdupes BuildRequires and macro, remove duplicates. + +------------------------------------------------------------------- +Fri Jan 7 15:37:50 UTC 2022 - Dominique Leuenberger + +- Update to version 42.alpha2: + + Mnemonics for the primary menu have be updated to reduce + duplicates. + + Paths are now properly expanded/collapsed for `wordexp()` when + directories with spaces are used. + + A new document properties dialog has been added to get + information about the document such as number of words, + characters, and lines. + + Regex search from the search bar works again. + + Spellchecking will now use the `def:misspelled-word` style from + the GtkSourceStyleScheme when available, allowing schemes to + override styling. + + Fix the default style scheme to be Adwaita in gsettings. + + You can now navigate and select style schemes with the keyboard + in the Preferences dialog. + + Always show the current style scheme in Preferences. + + Style schemes in Preferences are now sorted in lexicographic + form along with the presence of an alternate light/dark style. + + The open popover empty state design has been improved. + + Track monospace-font-name from desktop preferences. + + Improve recoloring for some style schemes with metadata + overrides. + + Various macOS build and runtime fixes. + + Add light and dark schemes for both Builder and Peninsula. + + You can now restore closed pages with Ctrl+Shift+t. + + Improve printing support for various fonts, sizing, margins, + and more. + + Prune discard drafts when cleaning up session. + + CSS fixes for integrating with libadwaita and GtkSourceView. + + Various Vim emulation improvements. + + Text Editor will now prefer "python3" over "python2" when a + documents content-type matches `text/x-python`, as that is + overwhelmingly what is found in files today. + + When windows are restored, they will no longer restore empty + drafts, even if they were modified previously (added text then + undo/deleted). + + The about dialog show now include proper git commit hashes for + development builds (`meson configure -Ddevelopment=true`) to + aid in users and distributions submitting helpful bug reports. + + Updated translations. + +------------------------------------------------------------------- +Wed Jan 5 20:27:53 UTC 2022 - Dominique Leuenberger + +- Update to version 42.alpha1: + + Use libadwaita for access to desktop light/dark modes. + + New interface to jump to a given line number. + + New keyboard shortcut for delete-current-line, jump-to-line, + select-current-line, zooming, and preferences. + + The open popover no longer displays document mtimes, but they + are used for sorting results. + + Tab menus are fixed within the document editor. + + Tabs may now be dragged into new windows. + + DnD of multiple files into the editor has been restored. + + Text Editor can no differntiate between indentation and tab + size. + + Application startup has been vastly improved. + + The session manager now truncates the number of bookmarks to + 100. + + Numerous crash and bug fixes. + + Guess a reasonable filename for Save As dialog. + + Deleted text is copied into the primary clipboard when using + the delete-lines command. + + A new custom GMenuModel is used for spelling corrections to + allow for faster updates of menus. + + Zoom with keybindings and scroll-wheell is now supported. + + Text Editor will try to discover if style schemes are light or + dark and only show them when appropriate in preferences. + + Menus have been significantly tweaked based on usage and + feedback. + + Text Editor can no follow the system dark-mode preference. + + Ensure window is raised when a document is reopened, possibly + through an external application such as Nautilus. + + Overview map style improvements. + + Improved keyboard navigation to and from the open popover. + + Text Editor will now restyle it's windows based on the selected + GtkSourceStyleScheme. + + A new gsetting for how to draw whitespace has been added. + + A new gestting to disable window restyling has been added. + + Text Editor now has a Vim emulation layer that may be enabled + using the org.gnome.TextEditor keybindings gsetting. + + A statusbar has been added when the Vim emulation is in use + only. + + A new and improved preferences dialog which supports previewing + the preferences changes without leaving the dialog. + + Search and Replace has been improved and restyled. + + A new preference to enable restoring the session at startup was + added. + + A new preference to enable automatically discovering file + settings using modelines, editorconfig, and more has been + added. + + Improved font styling within the application. + + Performance and style improvements to the spell checking + engine. + + Fixed navigation using Up/Down from search bar. + + Disabled use of DBusActivatable=true in .desktop file due to + breakage with opening command line arguments without the + desktop portal. + + Improvements to accessibility labels. + + Updated translations. + + ------------------------------------------------------------------- Wed Oct 6 21:42:16 UTC 2021 - Bjørn Lie diff --git a/gnome-text-editor.spec b/gnome-text-editor.spec index da1fe69..fb72ba1 100644 --- a/gnome-text-editor.spec +++ b/gnome-text-editor.spec @@ -1,7 +1,7 @@ # # spec file for package gnome-text-editor # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,20 +17,23 @@ Name: gnome-text-editor -Version: 41.1 +Version: 42.0 Release: 0 Summary: GNOME Text Editor License: GPL-3.0-or-later URL: https://gitlab.gnome.org/GNOME/gnome-text-editor -Source: https://download.gnome.org/sources/%{name}/41/%{name}-%{version}.tar.xz +Source: https://download.gnome.org/sources/gnome-text-editor/42/%{name}-%{version}.tar.xz +BuildRequires: appstream-glib +BuildRequires: desktop-file-utils +BuildRequires: fdupes BuildRequires: itstool -BuildRequires: meson +BuildRequires: meson >= 0.59.1 BuildRequires: pkgconfig BuildRequires: pkgconfig(enchant-2) >= 2.2.0 BuildRequires: pkgconfig(gio-unix-2.0) >= 2.69 BuildRequires: pkgconfig(gtk4) >= 4.3 -BuildRequires: pkgconfig(gtksourceview-5) >= 5.1.1 +BuildRequires: pkgconfig(gtksourceview-5) >= 5.3.1 BuildRequires: pkgconfig(icu-uc) BuildRequires: pkgconfig(libadwaita-1) @@ -53,18 +56,30 @@ you've never saved it to a file. %install %meson_install + %find_lang %{name} %{?no_lang_C} +%fdupes %{buildroot}%{_datadir} + +%check +%meson_test %files %license COPYING %doc NEWS README.md %doc %{_datadir}/help/C/%{name}/ -%{_bindir}/gnome-text-editor -%{_datadir}/appdata/org.gnome.TextEditor.appdata.xml +%{_bindir}/%{name} %{_datadir}/applications/org.gnome.TextEditor.desktop %{_datadir}/dbus-1/services/org.gnome.TextEditor.service %{_datadir}/glib-2.0/schemas/org.gnome.TextEditor.gschema.xml +%dir %{_datadir}/%{name} +%dir %{_datadir}/%{name}/styles +%{_datadir}/%{name}/styles/builder-dark.xml +%{_datadir}/%{name}/styles/builder.xml +%{_datadir}/%{name}/styles/peninsula-dark.xml +%{_datadir}/%{name}/styles/peninsula.xml +%{_datadir}/%{name}/styles/printing.xml %{_datadir}/icons/hicolor/*/*/*.svg +%{_datadir}/metainfo/org.gnome.TextEditor.appdata.xml %files lang -f %{name}.lang