Hello community,

here is the log from the commit of package kajongg for openSUSE:Factory checked 
in at 2016-09-24 15:23:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kajongg (Old)
 and      /work/SRC/openSUSE:Factory/.kajongg.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kajongg"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kajongg/kajongg.changes  2016-08-31 
00:06:37.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kajongg.new/kajongg.changes     2016-09-24 
15:23:56.000000000 +0200
@@ -1,0 +2,8 @@
+Fri Sep  9 08:11:02 UTC 2016 - [email protected]
+
+- Update to KDE Applications 16.08.1
+   * KDE Applications 16.08.1
+   * https://www.kde.org/announcements/announce-applications-16.08.1.php
+
+
+-------------------------------------------------------------------

Old:
----
  kajongg-16.08.0.tar.xz

New:
----
  kajongg-16.08.1.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kajongg.spec ++++++
--- /var/tmp/diff_new_pack.dweLmb/_old  2016-09-24 15:23:57.000000000 +0200
+++ /var/tmp/diff_new_pack.dweLmb/_new  2016-09-24 15:23:57.000000000 +0200
@@ -25,7 +25,7 @@
 License:        GPL-2.0+
 Group:          Amusements/Games/Board/Puzzle
 Url:            http://www.kde.org
-Version:        16.08.0
+Version:        16.08.1
 Release:        0
 Source0:        kajongg-%{version}.tar.xz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ kajongg-16.08.0.tar.xz -> kajongg-16.08.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kajongg-16.08.0/src/humanclient.py 
new/kajongg-16.08.1/src/humanclient.py
--- old/kajongg-16.08.0/src/humanclient.py      2016-01-07 04:41:03.000000000 
+0100
+++ new/kajongg-16.08.1/src/humanclient.py      2016-08-26 22:52:44.000000000 
+0200
@@ -177,6 +177,8 @@
         self.setModal(False)
         self.btnHeight = 0
         self.answered = False
+        self.move = None
+        self.sorry = None
 
     def keyPressEvent(self, event):
         """ESC selects default answer"""
@@ -344,8 +346,6 @@
         if self.answered:
             # sometimes we get this event twice
             return
-        self.timer.stop()
-        self.answered = True
         if button is None:
             button = self.focusWidget()
         if isinstance(button, Message):
@@ -354,8 +354,14 @@
         else:
             answer = button.message
         if not self.client.game.myself.sayable[answer]:
-            Sorry(m18n('You cannot say %1', answer.i18nName))
+            self.proposeAction().setFocus() # go back to default action
+            self.sorry = Sorry(m18n('You cannot say %1', answer.i18nName))
             return
+        self.timer.stop()
+        self.answered = True
+        if self.sorry:
+            self.sorry.cancel()
+        self.sorry = None
         Internal.scene.clientDialog = None
         self.deferred.callback(answer)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kajongg-16.08.0/src/mainwindow.py 
new/kajongg-16.08.1/src/mainwindow.py
--- old/kajongg-16.08.0/src/mainwindow.py       2016-01-07 04:41:03.000000000 
+0100
+++ new/kajongg-16.08.1/src/mainwindow.py       2016-08-26 22:52:44.000000000 
+0200
@@ -652,7 +652,7 @@
             scene.updateSceneGUI()
 
     @afterQueuedAnimations
-    def changeAngle(self, deferredResult, dummyButtons, dummyModifiers):
+    def changeAngle(self, deferredResult, dummyButtons=None, 
dummyModifiers=None):
         """change the lightSource"""
         if self.scene:
             with MoveImmediate():
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kajongg-16.08.0/src/scoring.py 
new/kajongg-16.08.1/src/scoring.py
--- old/kajongg-16.08.0/src/scoring.py  2016-01-07 04:41:03.000000000 +0100
+++ new/kajongg-16.08.1/src/scoring.py  2016-08-26 22:52:44.000000000 +0200
@@ -464,6 +464,7 @@
                     if myMeld == meld:
                         melds.pop(idx)
                         popped = True
+                        break
             if not popped:
                 logDebug(
                     u'%s: %s.removeMeld did not find %s' %
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kajongg-16.08.0/src/sound.py 
new/kajongg-16.08.1/src/sound.py
--- old/kajongg-16.08.0/src/sound.py    2016-01-07 04:41:03.000000000 +0100
+++ new/kajongg-16.08.1/src/sound.py    2016-08-26 22:52:44.000000000 +0200
@@ -351,10 +351,9 @@
                 open(os.path.join(self.directory, oggFile), 'rb').read())
         # the md5 stamp goes into the old archive directory 'username'
         self.__md5sum = md5sum.hexdigest()
-#        print(self.directory, self.__md5sum)
         existingMd5sum = self.savedmd5Sum()
         md5Name = self.md5FileName()
-        if False:  # TODO: warum ist das in python3 unterschiedlich? 
self.__md5sum != existingMd5sum:
+        if self.__md5sum != existingMd5sum:
             if Debug.sound:
                 if not os.path.exists(md5Name):
                     logDebug(u'creating new %s' % md5Name)
@@ -366,9 +365,12 @@
                 open(md5Name, 'wb').write('%s\n' % self.__md5sum)
             except BaseException as exception:
                 logException(
-                    m18n('cannot write <filename>%1</filename>: %2',
-                         md5Name,
-                         str(exception)))
+                    '\n'.join([m18n('cannot write <filename>%1</filename>: %2',
+                                    md5Name,
+                                    str(exception)),
+                               m18n('The voice files have changed, their 
checksum has changed.'),
+                               m18n('Please reinstall kajongg or do, with 
sufficient permissions:'),
+                               'cd {} ; cat *.ogg | md5sum > 
md5sum'.format(self.directory)]))
         if archiveExists:
             archiveIsOlder = os.path.getmtime(
                 md5Name) > os.path.getmtime(self.archiveName())
@@ -399,7 +401,7 @@
     def savedmd5Sum(self):
         """returns the current value of the md5sum file"""
         if os.path.exists(self.md5FileName()):
-            return open(self.md5FileName(), 'rb').readlines()[0].strip()
+            return open(self.md5FileName(), 'r').readlines()[0].replace(' -', 
'').strip()
 
     @property
     def md5sum(self):


Reply via email to