Thursday, August 12, 2021

games/chessx: Update to 1.5.0

Index: Makefile
===================================================================
RCS file: /cvs/ports/games/chessx/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile 26 Feb 2020 06:14:43 -0000 1.10
+++ Makefile 13 Aug 2021 00:45:14 -0000
@@ -1,10 +1,9 @@
# $OpenBSD: Makefile,v 1.10 2020/02/26 06:14:43 rsadowski Exp $

COMMENT = free chess database and analyzer
-DISTNAME = chessx-1.4.6
+DISTNAME = chessx-1.5.0
CATEGORIES = games
HOMEPAGE = http://chessx.sourceforge.net/
-REVISION
= 5

# GPLv2+
PERMIT_PACKAGE = Yes
Index: distinfo
===================================================================
RCS file: /cvs/ports/games/chessx/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo 2 Jul 2017 00:51:50 -0000 1.2
+++ distinfo 13 Aug 2021 00:45:14 -0000
@@ -1,2 +1,2 @@
-SHA256 (chessx-1.4.6.tgz) = rZUZEKO9U/VlX56FEB55abU2B4Rz4Joqfd7W7xcaaO0=
-SIZE (chessx-1.4.6.tgz) = 4223076
+SHA256 (chessx-1.5.0.tgz) = 0TCtMiCCHanqGecigiKlUo+ryjyga8QbTX9wJFT2OCc=
+SIZE (chessx-1.5.0.tgz) = 7251973
Index: patches/patch-chessx_pro
===================================================================
RCS file: /cvs/ports/games/chessx/patches/patch-chessx_pro,v
retrieving revision 1.2
diff -u -p -r1.2 patch-chessx_pro
--- patches/patch-chessx_pro 2 Jul 2017 00:51:50 -0000 1.2
+++ patches/patch-chessx_pro 13 Aug 2021 00:45:14 -0000
@@ -1,9 +1,9 @@
-$OpenBSD: patch-chessx_pro,v 1.2 2017/07/02 00:51:50 bcallah Exp $
-Use system quazip.
+$OpenBSD$
+
Index: chessx.pro
--- chessx.pro.orig
+++ chessx.pro
-@@ -141,22 +141,6 @@ HEADERS += src/database/board.h \
+@@ -143,22 +143,6 @@ HEADERS += src/database/board.h \
src/gui/engineoptionlist.h \
src/gui/helpbrowser.h \
src/database/downloadmanager.h \
@@ -26,7 +26,7 @@ Index: chessx.pro
src/gui/toolmainwindow.h \
src/gui/playerlistwidget.h \
src/gui/qled.h \
-@@ -299,18 +283,6 @@ SOURCES += src/database/board.cpp \
+@@ -306,16 +290,6 @@ SOURCES += src/database/board.cpp \
src/gui/engineoptionlist.cpp \
src/gui/helpbrowser.cpp \
src/database/downloadmanager.cpp \
@@ -40,14 +40,18 @@ Index: chessx.pro
- src/quazip/quaadler32.cpp \
- src/quazip/qioapi.cpp \
- src/quazip/JlCompress.cpp \
-- src/quazip/zip.c \
-- src/quazip/unzip.c \
src/gui/toolmainwindow.cpp \
src/gui/playerlistwidget.cpp \
src/gui/qled.cpp \
-@@ -382,12 +354,48 @@ SOURCES += src/database/board.cpp \
+@@ -386,18 +360,52 @@ SOURCES += src/database/board.cpp \
+ src/gui/historylabel.cpp \
src/database/streamdatabase.cpp \
- src/database/refcount.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

+!openbsd {
+HEADERS += \
@@ -95,14 +99,15 @@ Index: chessx.pro
INCLUDEPATH += $$[QT_INSTALL_PREFIX]/src/3rdparty/zlib

win32 {
-@@ -425,6 +433,10 @@ static {
- CONFIG(release, debug|release) {
- LIBS += -lz
- }
-+}
+@@ -406,6 +414,11 @@ win32 {
+ INCLUDEPATH += $$[QT_INSTALL_HEADERS]/QtZlib
+ win32-g++:LIBS += -lz
+ }
+
+openbsd {
+ LIBS += -lquazip5
- }
++}
++

- TARGET = chessx
+ UI_DIR = src/generated
+ MOC_DIR = src/generated
Index: patches/patch-src_dialogs_preferences_cpp
===================================================================
RCS file: patches/patch-src_dialogs_preferences_cpp
diff -N patches/patch-src_dialogs_preferences_cpp
--- patches/patch-src_dialogs_preferences_cpp 26 Feb 2020 06:14:43 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-$OpenBSD: patch-src_dialogs_preferences_cpp,v 1.1 2020/02/26 06:14:43 rsadowski Exp $
-
-Index: src/dialogs/preferences.cpp
---- src/dialogs/preferences.cpp.orig
-+++ src/dialogs/preferences.cpp
-@@ -21,6 +21,7 @@
- #include "engineoptiondialog.h"
- #include "downloadmanager.h"
-
-+#include <QAction>
- #include <QCheckBox>
- #include <QColorDialog>
- #include <QComboBox>
Index: patches/patch-src_dialogs_savedialog_cpp
===================================================================
RCS file: patches/patch-src_dialogs_savedialog_cpp
diff -N patches/patch-src_dialogs_savedialog_cpp
--- patches/patch-src_dialogs_savedialog_cpp 26 Feb 2020 06:14:43 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-$OpenBSD: patch-src_dialogs_savedialog_cpp,v 1.1 2020/02/26 06:14:43 rsadowski Exp $
-
-Index: src/dialogs/savedialog.cpp
---- src/dialogs/savedialog.cpp.orig
-+++ src/dialogs/savedialog.cpp
-@@ -22,6 +22,7 @@
- #include "settings.h"
- #include "tags.h"
-
-+#include <QButtonGroup>
- #include <QLineEdit>
- #include <QCompleter>
-
Index: patches/patch-src_gui_gamewindow_cpp
===================================================================
RCS file: patches/patch-src_gui_gamewindow_cpp
diff -N patches/patch-src_gui_gamewindow_cpp
--- patches/patch-src_gui_gamewindow_cpp 26 Feb 2020 06:14:43 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-$OpenBSD: patch-src_gui_gamewindow_cpp,v 1.1 2020/02/26 06:14:43 rsadowski Exp $
-
-Index: src/gui/gamewindow.cpp
---- src/gui/gamewindow.cpp.orig
-+++ src/gui/gamewindow.cpp
-@@ -8,6 +8,7 @@
- #include "nag.h"
- #include "settings.h"
-
-+#include <QAction>
- #include <QToolButton>
-
- #if defined(_MSC_VER) && defined(_DEBUG)
Hi, ports@:

Here is a patch for games/chessx to update to 1.5.0.
It build and run well on amd64-current system. No tests
defined and no other ports depend on it.

Cheers !
wen

No comments:

Post a Comment