Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2024 20:20:23 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6ad3ae12f888 - main - games/chessx: Upgrade to 1.6.2
Message-ID:  <202409162020.48GKKNJm062529@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6ad3ae12f8884582fb5cbf566ba63f028bf3f909

commit 6ad3ae12f8884582fb5cbf566ba63f028bf3f909
Author:     Alexey Vyskubov <alexey@pentode.fi>
AuthorDate: 2024-09-11 14:41:19 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-09-16 20:14:20 +0000

    games/chessx: Upgrade to 1.6.2
    
    Changelog: https://github.com/Isarhamster/chessx/blob/master/ChangeLog.md
    
    PR:             281442
---
 games/chessx/Makefile                               |  5 ++++-
 games/chessx/distinfo                               |  6 +++---
 games/chessx/files/patch-src_gui_chessxsettings.cpp | 16 ----------------
 games/chessx/files/patch-src_gui_chessxsettings.h   | 19 -------------------
 4 files changed, 7 insertions(+), 39 deletions(-)

diff --git a/games/chessx/Makefile b/games/chessx/Makefile
index 308ef96c7679..3180d8126fe9 100644
--- a/games/chessx/Makefile
+++ b/games/chessx/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	chessx
-DISTVERSION=	1.6.0
+DISTVERSION=	1.6.2
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}
 
@@ -33,6 +33,9 @@ STOCKFISH_RUN_DEPENDS=	stockfish:games/stockfish
 
 .include <bsd.port.pre.mk>
 
+post-extract:
+	@${MV} ${WRKDIR}/chessx-master ${WRKSRC}
+
 post-patch:
 .if ${COMPILER_TYPE} == clang
 	@${REINPLACE_CMD} -e 's|std::binary_function|std::__binary_function|' \
diff --git a/games/chessx/distinfo b/games/chessx/distinfo
index ab25b27c3c65..58d14b1a385f 100644
--- a/games/chessx/distinfo
+++ b/games/chessx/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1683708876
-SHA256 (chessx-1.6.0.tgz) = efa60e7b55a907ebdd12810a1931de69624ba42544e11a3262ed562f2dc3c618
-SIZE (chessx-1.6.0.tgz) = 8252976
+TIMESTAMP = 1726035877
+SHA256 (chessx-1.6.2.tgz) = bb091d849cb02d6309978fe284c9f1a85c274f35122fe91c6b9c3089a6e20f80
+SIZE (chessx-1.6.2.tgz) = 11024855
diff --git a/games/chessx/files/patch-src_gui_chessxsettings.cpp b/games/chessx/files/patch-src_gui_chessxsettings.cpp
deleted file mode 100644
index a02a2ce2eb06..000000000000
--- a/games/chessx/files/patch-src_gui_chessxsettings.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/gui/chessxsettings.cpp.orig	2023-05-08 20:22:12 UTC
-+++ src/gui/chessxsettings.cpp
-@@ -19,11 +19,11 @@
- #include <QWidget>
- #include <QMainWindow>
- #include <QSplitter>
-+#ifdef USE_SPEECH
- #include <QTextToSpeech>
-+#endif
- #include <QLayout>
--
- using namespace chessx;
--
- #if defined(_MSC_VER) && defined(_DEBUG)
- #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ )
- #define new DEBUG_NEW
diff --git a/games/chessx/files/patch-src_gui_chessxsettings.h b/games/chessx/files/patch-src_gui_chessxsettings.h
deleted file mode 100644
index 2a8ce48f9913..000000000000
--- a/games/chessx/files/patch-src_gui_chessxsettings.h
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/gui/chessxsettings.h.orig	2023-05-08 20:22:12 UTC
-+++ src/gui/chessxsettings.h
-@@ -13,16 +13,11 @@ class ChessXSettings : public Settings
- public:
-     ChessXSettings();
-     ChessXSettings(const QString &fileName);
--
-     virtual bool layout(QWidget* w);
-     virtual void setLayout(const QWidget* w);
--
-     static QLocale locale(); // Get the locale based upon current settings
--#ifdef USE_SPEECH
-     static QStringList availableVoices(QString lang); // Get the list of voices based upon selected locale
-     static void configureSpeech(QTextToSpeech* speech);
--#endif
--
- protected:
-     virtual void initWidgetValues(QMap<QString, QVariant>& map) const;
- };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409162020.48GKKNJm062529>