diff --git a/0001-Disable-game-tree-header-with-Qt-5.10.patch b/0001-Disable-game-tree-header-with-Qt-5.10.patch deleted file mode 100644 index 499c956..0000000 --- a/0001-Disable-game-tree-header-with-Qt-5.10.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 761a6928b018d9f1717dafe75c1af1e881b565ea Mon Sep 17 00:00:00 2001 -From: Bernd Schmidt -Date: Sun, 20 Oct 2019 14:17:23 +0200 -Subject: [PATCH] Disable game tree header with Qt < 5.10 - -It seems Qt 5.9 is still fairly widespread (issue #22), so it's better to just -disable a non-critical feature rather than require a higher version. - -I tried reverting 7c58b67d, which added the current header view and replaced -the one based on QHeaderView, but it now doesn't work for me even under Linux. -The headers are too wide, an issue I previously was seeing only on Windows. ---- - src/gametree.cpp | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/gametree.cpp b/src/gametree.cpp -index d6c1bd7..9a5a82a 100644 ---- a/src/gametree.cpp -+++ b/src/gametree.cpp -@@ -125,8 +125,12 @@ void GameTree::set_board_win (MainWindow *win, QGraphicsView *header) - QScrollBar *hscr = horizontalScrollBar (); - QScrollBar *hscr2 = m_header_view->horizontalScrollBar (); - connect (hscr, &QScrollBar::valueChanged, hscr2, &QAbstractSlider::setSliderPosition); -+#if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)) - connect (verticalScrollBar (), &QAbstractSlider::rangeChanged, - [this] (int, int) { QMetaObject::invokeMethod (this, &GameTree::resize_header, Qt::QueuedConnection); }); -+#else -+ header->hide (); -+#endif - } - - void GameTree::update_prefs () --- -2.23.0 - diff --git a/0001-Remove-PlaceholderText-colorroles-which-were-added-b.patch b/0001-Remove-PlaceholderText-colorroles-which-were-added-b.patch deleted file mode 100644 index f23023e..0000000 --- a/0001-Remove-PlaceholderText-colorroles-which-were-added-b.patch +++ /dev/null @@ -1,67 +0,0 @@ -From 2fe4a0d89af8c40a204b8a5ee6e76cb888c6a046 Mon Sep 17 00:00:00 2001 -From: Bernd Schmidt -Date: Fri, 19 Jul 2019 18:49:16 +0200 -Subject: [PATCH] Remove PlaceholderText colorroles which were added by Qt - Designer - -These cause compilation failures on some systems and are (as far as I know) -unnecessary. ---- - src/preferences_gui.ui | 27 --------------------------- - 1 file changed, 27 deletions(-) - -diff --git a/src/preferences_gui.ui b/src/preferences_gui.ui -index 904ab5f..66e6d64 100644 ---- a/src/preferences_gui.ui -+++ b/src/preferences_gui.ui -@@ -4074,15 +4074,6 @@ up to : - - - -- -- -- -- 0 -- 0 -- 0 -- -- -- - - - -@@ -4229,15 +4220,6 @@ up to : - - - -- -- -- -- 0 -- 0 -- 0 -- -- -- - - - -@@ -4384,15 +4366,6 @@ up to : - - - -- -- -- -- 0 -- 0 -- 0 -- -- -- - - - --- -2.23.0 - diff --git a/q5go-0.9.tar.gz b/q5go-0.9.tar.gz deleted file mode 100644 index 6b94f22..0000000 --- a/q5go-0.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:86dd19e8b17dc42e441b15ab5c7417b8ac601e979c807f96a97a2d69e18b6f67 -size 6116580 diff --git a/q5go-1.0.tar.gz b/q5go-1.0.tar.gz new file mode 100644 index 0000000..852b919 --- /dev/null +++ b/q5go-1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:420cfc6f0506fb091af2be0c59b76aa87c9bb0680931e35076ac9fd9c2483356 +size 6548100 diff --git a/q5go.changes b/q5go.changes index d9d2d63..79ee300 100644 --- a/q5go.changes +++ b/q5go.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Tue Nov 5 10:53:02 UTC 2019 - Christophe Giboudeaux + +- Update to 1.0 + * A greeter dialog was added, similar to the ones used by cgoban or gGo. + * There is now a "Learn Go" button that brings up beginner tutorials + in a slideshow view. + * Engine configuration in the preferences is a little more friendly. + * Edit mode works differently. Depending on the situation, an edited + position can be appended to or inserted before the current node, + or replace a previous edit. + * The board window now has menu items for undo/redo. + * When playing on IGS, the comments box now allows chatting even after + a match has completed, making it unnecessary to find the opponent's talk tab. + * Corrected a bug when parsing nmatch preferences on IGS. +- Drop patches, now upstream: + * 0001-Disable-game-tree-header-with-Qt-5.10.patch + * 0001-Remove-PlaceholderText-colorroles-which-were-added-b.patch + ------------------------------------------------------------------- Sun Oct 20 13:04:36 UTC 2019 - Christophe Giboudeaux diff --git a/q5go.spec b/q5go.spec index 22aaf4f..d369ec2 100644 --- a/q5go.spec +++ b/q5go.spec @@ -17,16 +17,14 @@ Name: q5go -Version: 0.9 +Version: 1.0 Release: 0 Summary: A Go board including an editor and analysis frontend License: GPL-2.0-or-later Group: Amusements/Games/Board/Other URL: https://github.com/bernds/q5go Source0: https://github.com/bernds/%{name}/archive/%{name}-%{version}.tar.gz -Patch0: 0001-Disable-game-tree-header-with-Qt-5.10.patch -Patch1: 0001-Remove-PlaceholderText-colorroles-which-were-added-b.patch -Patch2: 0001-Add-missing-includes.patch +Patch0: 0001-Add-missing-includes.patch BuildRequires: libqt5-linguist-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files