diff --git a/0001-Fix-build-with-Qt-5.15.patch b/0001-Fix-build-with-Qt-5.15.patch deleted file mode 100644 index b4e945f..0000000 --- a/0001-Fix-build-with-Qt-5.15.patch +++ /dev/null @@ -1,24 +0,0 @@ -From f7e27056d8c935c353de29e7f45a6b04a5be5b2e Mon Sep 17 00:00:00 2001 -From: Christophe Giboudeaux -Date: Thu, 4 Jun 2020 19:03:01 +0200 -Subject: [PATCH] Fix build with Qt 5.15 - ---- - src/MarkdownEditor.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/MarkdownEditor.cpp b/src/MarkdownEditor.cpp -index 2e4a9a1..39ddadb 100644 ---- a/src/MarkdownEditor.cpp -+++ b/src/MarkdownEditor.cpp -@@ -36,6 +36,7 @@ - #include - #include - #include -+#include - - #include "ColorHelper.h" - #include "MarkdownEditor.h" --- -2.26.2 - diff --git a/ghostwriter-1.8.1.tar.gz b/ghostwriter-1.8.1.tar.gz deleted file mode 100644 index 0c60bbb..0000000 --- a/ghostwriter-1.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2b73fed6a95ebcd45333fe4b12acb491eb4171fca8a11eea1af9bbdc73ed4b69 -size 1220000 diff --git a/ghostwriter-2.0.1.tar.gz b/ghostwriter-2.0.1.tar.gz new file mode 100644 index 0000000..090bb99 --- /dev/null +++ b/ghostwriter-2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0d3130a4ee97dc4e74c6b0723f1125fdf75e3e52326c9c6c7dcf7c1a6d1ea36 +size 7802864 diff --git a/ghostwriter.changes b/ghostwriter.changes index 086641e..5c6e595 100644 --- a/ghostwriter.changes +++ b/ghostwriter.changes @@ -1,3 +1,75 @@ +------------------------------------------------------------------- +Sun May 30 09:08:31 UTC 2021 - Cor Blom + +- Update to 2.0.1: + Fixed: + * Issue #598: Unicode characters no longer shifts syntax + highlighting. + * Sidebar now properly hides itself after the `Ctrl+J` Outline + command if it was + previously hidden on initial launch. + * New Norwegian translation added. + * Spanish and Italian translations updated. +- Update to 2.0.0: + Added: + * cmark-gfm now replaces Sundown as the default Markdown processor + for live previews an export. + * Syntax highlighting now utilizes cmark-gfm for better accuracy, + especially with nested blocks. + * HUDs have been replaced with a side bar. + * Theming has been revamped to include more color options, but to + exclude background images. + * CSS for HTML Preview now adaptively changes colors based on the + current theme. + * Fonts can be customized for the HTML preview in the Preview + Options dialog. + * Themes are now composed of two color schemes: a light mode and a + dark mode. + * A new dark mode button in the status bar allows users to switch + to the current theme's dark mode. + * Find and replace dialog has been revamped into a panel at the + bottom of the application. + * Find and replace now supports highlighting all matches. + * Export dialog now uses native file selector dialog. + * Any two spaces at the end of a line are marked with dots by + default. + * Selected text now reveals tabs and spaces. + * Source code has been refactored to follow KDE Frameworks and Qt + coding style guides. + * ghostwriter now uses React to update only what changed in the + live preview since the last keystroke, significantly reducing + the live preview rendering time for large documents. + Fixed: + * Issue #281: Removal of HUD windows will facilitate Alt+Tab + switching. + * Issue #382, #539: IME selection window/IBUS candidate window + should no longer be displaced. + * Issue #401: Single column tables are now highlighted. + * Issue #439: README file was updated to remove the installation + of qt5-default on Debian-based systems. + * Issue #480: Menu bar is now accessible on relaunching ghostwriter + in full screen mode. + * Issue #494: MathJax JavaScript syntax error that was being + printed to the terminal and which prevented inline math from + being displayed with the `$` sign has been fixed. + * Issue #500: Preview Options dialog will now only open once. + * Issue #507: Multilevel lists are highlighted correctly in the + editor with the switch to cmark-gfm handling the syntax + highlighting. + * Issue #508: HUD windows have been replaced with a side bar for + compatibility with Wayland. + * Issue #517: README.md has been updated with correct instructions + location for building on MacOS. + * Issue #503: MathJax has now been included inside the application + rather than fetching it externally. + * Issue #532: Insert spaces for tabs now works on startup. + * Issue #536: Added missing Markdown file extensions to file + dialog filter when opening and saving files. + Removed: + * Discount support was removed due to its conflicting executable + name with MultiMarkdown. +- Remove 0001-Fix-build-with-Qt-5.15.patch + ------------------------------------------------------------------- Thu Jun 4 17:03:38 UTC 2020 - Christophe Giboudeaux diff --git a/ghostwriter.spec b/ghostwriter.spec index 9c71ae3..b15bf61 100644 --- a/ghostwriter.spec +++ b/ghostwriter.spec @@ -1,7 +1,7 @@ # # spec file for package ghostwriter # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,13 @@ Name: ghostwriter -Version: 1.8.1 +Version: 2.0.1 Release: 0 Summary: A distraction-free Markdown editor License: GPL-3.0-or-later Group: Productivity/Text/Editors URL: https://wereturtle.github.io/ghostwriter Source: https://github.com/wereturtle/ghostwriter/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -# PATCH-FIX-UPSTREAM -Patch0: 0001-Fix-build-with-Qt-5.15.patch BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: libqt5-linguist @@ -60,7 +58,7 @@ provides a relaxing, distraction-free writing environment. %lang_package %prep -%autosetup -p1 +%autosetup %build lrelease-qt5 %{name}.pro @@ -76,12 +74,11 @@ lrelease-qt5 %{name}.pro %license COPYING %doc README.md CREDITS.md %{_bindir}/ghostwriter -%dir %{_datadir}/appdata -%{_datadir}/appdata/ghostwriter.appdata.xml +%dir %{_datadir}/metainfo +%{_datadir}/metainfo/ghostwriter.appdata.xml %{_datadir}/applications/ghostwriter.desktop %{_datadir}/icons/hicolor/* %{_mandir}/man1/ghostwriter.1%{?ext_man} -%{_datadir}/pixmaps/ghostwriter.xpm %files lang -f %{name}.lang %dir %{_datadir}/ghostwriter