forked from pool/kmahjongg
Accepting request 408076 from KDE:Applications
Update to KDE Applications 16.04.3 OBS-URL: https://build.opensuse.org/request/show/408076 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kmahjongg?expand=0&rev=52
This commit is contained in:
commit
bc40e69025
@ -1,29 +0,0 @@
|
||||
From: Wolfgang Bauer <wbauer@tmo.at>
|
||||
Date: Fri, 01 Jul 2016 11:30:27 +0000
|
||||
Subject: Fix endless loop when configured layout cannot be loaded
|
||||
X-Git-Url: http://quickgit.kde.org/?p=kmahjongg.git&a=commitdiff&h=22600c69edbf59bc83377e3b96e3899ba935b1a3
|
||||
---
|
||||
Fix endless loop when configured layout cannot be loaded
|
||||
|
||||
Adjust the configured layout when the default is loaded as fallback.
|
||||
Otherwise loadSettings() will think that the layout has been changed in
|
||||
the settings, load the layout again and call startNewGame(), which in
|
||||
turn calls loadSettings() again, resulting in an endless loop.
|
||||
|
||||
BUG: 361132
|
||||
FIXED-IN: 16.04.3
|
||||
REVIEW: 128279
|
||||
---
|
||||
|
||||
|
||||
--- a/kmahjongg.cpp
|
||||
+++ b/kmahjongg.cpp
|
||||
@@ -266,6 +266,7 @@
|
||||
qCDebug(KMAHJONGG_LOG) << "Error loading the layout. Try to load the default layout.";
|
||||
|
||||
m_boardLayout->loadDefault();
|
||||
+ Prefs::setLayout(m_boardLayout->path());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b686235ec7166348950eff373d0b15901d08dc6eaab716ef77ea1feea4196325
|
||||
size 1012432
|
3
kmahjongg-16.04.3.tar.xz
Normal file
3
kmahjongg-16.04.3.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a741698cb81b6e769d9876236bc6dfd45ac1b4645dac158ccfa952e256b344ff
|
||||
size 1012472
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 8 06:34:32 UTC 2016 - fvogt@suse.com
|
||||
|
||||
- Fix build by removing upstreamed fix-endless-loop.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 8 00:02:46 UTC 2016 - tittiatcoke@gmail.com
|
||||
|
||||
- Update to KDE Applications 16.04.3
|
||||
* KDE Applications 16.04.3
|
||||
* https://www.kde.org/announcements/announce-applications-16.04.3.php
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 1 12:56:18 UTC 2016 - wbauer@tmo.at
|
||||
|
||||
|
@ -40,11 +40,9 @@ Summary: Mahjongg game
|
||||
License: GPL-2.0+
|
||||
Group: Amusements/Games/Board/Puzzle
|
||||
Url: http://www.kde.org
|
||||
Version: 16.04.2
|
||||
Version: 16.04.3
|
||||
Release: 0
|
||||
Source0: kmahjongg-%{version}.tar.xz
|
||||
# PATCH-FIX-UPSTREAM fix-endless-loop.patch boo#983173, kde#361132 -- fixes endless loop on startup if the configured layout cannot be loaded
|
||||
Patch: fix-endless-loop.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -55,7 +53,6 @@ by removing pieces of the same type.
|
||||
|
||||
%prep
|
||||
%setup -q -n kmahjongg-%{version}
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
%cmake_kf5 -d build
|
||||
|
Loading…
Reference in New Issue
Block a user