Hello community,

here is the log from the commit of package chessx for openSUSE:Factory checked 
in at 2020-05-09 19:52:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/chessx (Old)
 and      /work/SRC/openSUSE:Factory/.chessx.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "chessx"

Sat May  9 19:52:52 2020 rev:8 rq:802027 version:1.5.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/chessx/chessx.changes    2019-05-06 
13:28:48.177456999 +0200
+++ /work/SRC/openSUSE:Factory/.chessx.new.2738/chessx.changes  2020-05-09 
19:53:10.128942780 +0200
@@ -1,0 +2,15 @@
+Sat May  9 10:51:39 UTC 2020 - Luigi Baldoni <aloi...@gmx.com>
+
+- Update to version 1.5.4
+  * New feature: blunder checking
+  * New feature: Speak moves
+  * New feature: Refactor complete database
+  * Changed: Command-Key to force query for promotion dialog
+    (instead of Meta)
+  * Bugfix: Undo setting up board required two steps
+  * Bugfix: Clearing database was broken
+  * Bugfix: entering nags/null movees via keyboard
+- Add chessx-translations.patch, chessx-install.patch and
+  chessx-use_system_quazip.patch
+
+-------------------------------------------------------------------

Old:
----
  chessx-1.5.0.tgz

New:
----
  chessx-1.5.4.tgz
  chessx-install.patch
  chessx-translations.patch
  chessx-use_system_quazip.patch

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

Other differences:
------------------
++++++ chessx.spec ++++++
--- /var/tmp/diff_new_pack.IcOW4q/_old  2020-05-09 19:53:11.116944901 +0200
+++ /var/tmp/diff_new_pack.IcOW4q/_new  2020-05-09 19:53:11.116944901 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package chessx
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,19 @@
 
 
 Name:           chessx
-Version:        1.5.0
+Version:        1.5.4
 Release:        0
 Summary:        Chess database
 License:        GPL-2.0-only
 Group:          Amusements/Games/Board/Chess
 URL:            http://chessx.sourceforge.net
 Source0:        
https://sourceforge.net/projects/chessx/files/chessx/%{version}/chessx-%{version}.tgz
+# PATCH-FIX-UPSTREAM chessx-translations.patch aloi...@gmx.com -- remove 
unused translations
+Patch0:         chessx-translations.patch
+# PATCH-FEATURE-UPSTREAM chessx-install.patch aloi...@gmx.com -- make install 
work on linux
+Patch1:         chessx-install.patch
+# PATCH-FEATURE-OPENSUSE chessx-use_system_quazip.patch
+Patch2:         chessx-use_system_quazip.patch
 BuildRequires:  fdupes
 BuildRequires:  libqt5-linguist
 BuildRequires:  pkgconfig
@@ -32,9 +38,12 @@
 BuildRequires:  pkgconfig(Qt5Multimedia)
 BuildRequires:  pkgconfig(Qt5PrintSupport)
 BuildRequires:  pkgconfig(Qt5Svg)
+BuildRequires:  pkgconfig(Qt5TextToSpeech)
 BuildRequires:  pkgconfig(Qt5Widgets)
 BuildRequires:  pkgconfig(Qt5Xml)
-BuildRequires:  pkgconfig(zlib)
+%if (0%{?suse_version} > 1500 || 0%{?sle_version} >= 150200)
+BuildRequires:  pkgconfig(quazip)
+%endif
 BuildRequires:  pkgconfig(zlib)
 
 %description
@@ -52,26 +61,22 @@
 * Observe and play games on FICS
 
 %prep
-%setup -q
+%autosetup -N
+%patch0 -p1
+%patch1 -p1
+%if (0%{?suse_version} > 1500 || 0%{?sle_version} >= 150200)
+%patch2 -p1
+%endif
+chmod -x data/images/circle_*.svg
 
 %build
-lrelease-qt5 i18n/*
-qmake-qt5 QMAKE_CFLAGS+="%{optflags}" QMAKE_CXXFLAGS+="%{optflags}"
-make %{?_smp_mflags}
+%qmake5
+%make_build
 
 %install
-mkdir -p %{buildroot}/%{_bindir}
-mkdir -p %{buildroot}/%{_datadir}/%{name}
-mkdir -p %{buildroot}/%{_datadir}/pixmaps
-mkdir -p %{buildroot}/%{_datadir}/applications
-install -m 0755 release/%{name} -t %{buildroot}/%{_bindir}
-install -m 0644 unix/%{name}.desktop -t %{buildroot}/%{_datadir}/applications
-install -m 0644 data/images/%{name}.png -t %{buildroot}/%{_datadir}/pixmaps
-chmod -x data/images/circle_*.svg
-cp -r data -t %{buildroot}/%{_datadir}/%{name}
-cp i18n/*.qm -t %{buildroot}/%{_datadir}/%{name}/data/lang
+%qmake5_install
 find %{buildroot} -size 0 -delete
-%fdupes -s %{buildroot}
+%fdupes %{buildroot}
 
 %files
 %license COPYING

++++++ chessx-1.5.0.tgz -> chessx-1.5.4.tgz ++++++
/work/SRC/openSUSE:Factory/chessx/chessx-1.5.0.tgz 
/work/SRC/openSUSE:Factory/.chessx.new.2738/chessx-1.5.4.tgz differ: char 5, 
line 1

++++++ chessx-install.patch ++++++
Index: chessx-1.5.4/chessx.pro
===================================================================
--- chessx-1.5.4.orig/chessx.pro
+++ chessx-1.5.4/chessx.pro
@@ -546,6 +546,22 @@ macx {
     data/timeseal/mac/timeseal
 }
 
+unix:!macx {
+  isEmpty(PREFIX) {
+    PREFIX = /usr
+  }
+  target.path = $$PREFIX/bin
+  desktop.path = $$PREFIX/share/applications
+  desktop.files = unix/chessx.desktop
+  icon.path = $$PREFIX/share/pixmaps
+  icon.files = data/images/chessx.png
+  data.path = $$PREFIX/share/chessx
+  data.files = data
+  lang.path = $$PREFIX/share/chessx/data/lang
+  lang.files = i18n/*.qm
+  INSTALLS += target desktop icon data lang
+}
+
 win32 {
   OTHER_FILES += \
     src/chessx.rc \
++++++ chessx-translations.patch ++++++
Index: chessx-1.5.4/resources.qrc
===================================================================
--- chessx-1.5.4.orig/resources.qrc
+++ chessx-1.5.4/resources.qrc
@@ -12,11 +12,7 @@
         <file alias="help/about4.html">data/help/about4.html</file>
         <file alias="help/about5.html">data/help/about5.html</file>
         <file alias="help/about6.html">data/help/about6.html</file>
-        <file alias="i18n/chessx_da.qm">i18n/chessx_da.qm</file>
         <file alias="i18n/chessx_de.qm">i18n/chessx_de.qm</file>
-        <file alias="i18n/chessx_fr.qm">i18n/chessx_fr.qm</file>
-        <file alias="i18n/chessx_it.qm">i18n/chessx_it.qm</file>
-        <file alias="i18n/chessx_cz.qm">i18n/chessx_cz.qm</file>
         <file alias="images/accept.png">data/images/accept.png</file>
         <file alias="images/annotate.png">data/images/annotate.png</file>
         <file alias="images/arrow_green.png">data/images/arrow_green.png</file>
@@ -180,7 +176,6 @@
         <file 
alias="themes/shadow/leipzig.png">data/themes/shadow/leipzig.png</file>
         <file 
alias="themes/shadow/merida.png">data/themes/shadow/merida.png</file>
         <file 
alias="themes/shadow/spatial.png">data/themes/shadow/spatial.png</file>
-        <file alias="i18n/chessx_ru.qm">i18n/chessx_ru.qm</file>
         <file 
alias="images/threat_black.png">data/images/threat_black.png</file>
         <file 
alias="images/threat_white.png">data/images/threat_white.png</file>
         <file alias="images/black_wall.png">data/images/black_wall.png</file>
++++++ chessx-use_system_quazip.patch ++++++
Index: chessx-1.5.4/chessx.pro
===================================================================
--- chessx-1.5.4.orig/chessx.pro
+++ chessx-1.5.4/chessx.pro
@@ -39,7 +39,6 @@ static { # Everything below takes effect
     message("Static build.")
 }
 
-DEFINES += QUAZIP_STATIC
 DEFINES += QT_NO_CAST_TO_ASCII
 DEFINES *= QT_USE_QSTRINGBUILDER
 
@@ -156,22 +155,6 @@ HEADERS += src/database/board.h \
     src/gui/engineoptionlist.h \
     src/gui/helpbrowser.h \
     src/database/downloadmanager.h \
-    src/quazip/zip.h \
-    src/quazip/unzip.h \
-    src/quazip/quazipnewinfo.h \
-    src/quazip/quazipfileinfo.h \
-    src/quazip/quazipfile.h \
-    src/quazip/quazipdir.h \
-    src/quazip/quazip.h \
-    src/quazip/quazip_global.h \
-    src/quazip/quaziodevice.h \
-    src/quazip/quagzipfile.h \
-    src/quazip/quacrc32.h \
-    src/quazip/quachecksum32.h \
-    src/quazip/quaadler32.h \
-    src/quazip/JlCompress.h \
-    src/quazip/ioapi.h \
-    src/quazip/crypt.h \
     src/gui/toolmainwindow.h \
     src/gui/playerlistwidget.h \
     src/gui/qled.h \
@@ -321,16 +304,6 @@ SOURCES += src/database/board.cpp \
     src/gui/engineoptionlist.cpp \
     src/gui/helpbrowser.cpp \
     src/database/downloadmanager.cpp \
-    src/quazip/quazipnewinfo.cpp \
-    src/quazip/quazipfile.cpp \
-    src/quazip/quazipdir.cpp \
-    src/quazip/quazip.cpp \
-    src/quazip/quaziodevice.cpp \
-    src/quazip/quagzipfile.cpp \
-    src/quazip/quacrc32.cpp \
-    src/quazip/quaadler32.cpp \
-    src/quazip/qioapi.cpp \
-    src/quazip/JlCompress.cpp \
     src/gui/toolmainwindow.cpp \
     src/gui/playerlistwidget.cpp \
     src/gui/qled.cpp \
@@ -401,8 +374,6 @@ SOURCES += src/database/board.cpp \
     src/gui/historylabel.cpp \
     src/database/streamdatabase.cpp \
     src/database/refcount.cpp \
-    src/quazip/unzip.cpp \
-    src/quazip/zip.cpp \
     src/database/arenabook.cpp \
     src/gui/gamelistsortmodel.cpp \
     src/gui/listwidgetex.cpp
@@ -412,8 +383,9 @@ INCLUDEPATH += src/database
 INCLUDEPATH += src/guess
 INCLUDEPATH += src/gui
 INCLUDEPATH += src/dialogs
-INCLUDEPATH += src/quazip
-INCLUDEPATH += $$[QT_INSTALL_PREFIX]/src/3rdparty/zlib
+
+CONFIG += link_pkgconfig
+PKGCONFIG += quazip
 
 win32 {
     # DEFINES += ZLIB_WINAPI
Index: chessx-1.5.4/src/gui/mainwindow.cpp
===================================================================
--- chessx-1.5.4.orig/src/gui/mainwindow.cpp
+++ chessx-1.5.4/src/gui/mainwindow.cpp
@@ -43,8 +43,8 @@
 #include "output.h"
 #include "pgndatabase.h"
 #include "playerlistwidget.h"
-#include "quazip.h"
-#include "quazipfile.h"
+#include <quazip5/quazip.h>
+#include <quazip5/quazipfile.h>
 #include "savedialog.h"
 #include "settings.h"
 #include "style.h"

Reply via email to