View | Details | Raw Unified | Return to bug 271348 | Differences between
and this patch

Collapse All | Expand All

(-)b/games/chessx/Makefile (-6 / +5 lines)
Lines 1-15 Link Here
1
PORTNAME=	chessx
1
PORTNAME=	chessx
2
PORTVERSION=	1.5.7
2
PORTVERSION=	1.6.0
3
PORTREVISION=	1
3
PORTREVISION=	1
4
CATEGORIES=	games
4
CATEGORIES=	games
5
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/beta
5
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/1.6.0
6
6
7
MAINTAINER=	ports@FreeBSD.org
7
MAINTAINER=	alexey@pentode.fi
8
COMMENT=	Qt 5 chess database application
8
COMMENT=	Qt 5 chess database application
9
WWW=		https://chessx.sourceforge.io/
9
WWW=		https://chessx.sourceforge.io/
10
10
11
LICENSE=	GPLv2+
11
LICENSE=	GPLv2+
12
LICENSE_FILE=	${WRKSRC}/COPYING
12
LICENSE_FILE=	${WRKSRC}/COPYING.md
13
13
14
USES=		compiler:c++11-lang desktop-file-utils gl gmake qmake qt:5 tar:tgz
14
USES=		compiler:c++11-lang desktop-file-utils gl gmake qmake qt:5 tar:tgz
15
USE_GL=		gl
15
USE_GL=		gl
Lines 17-24 USE_QT= concurrent core gui multimedia network opengl printsupport svg \ Link Here
17
		widgets xml buildtools:build linguisttools:build speech
17
		widgets xml buildtools:build linguisttools:build speech
18
18
19
PLIST_FILES=	bin/chessx \
19
PLIST_FILES=	bin/chessx \
20
		share/applications/chessx.desktop \
20
		share/applications/chessx.desktop
21
		share/pixmaps/chessx.png
22
21
23
OPTIONS_DEFINE=	CRAFTY STOCKFISH
22
OPTIONS_DEFINE=	CRAFTY STOCKFISH
24
23
(-)b/games/chessx/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1641324910
1
TIMESTAMP = 1683708876
2
SHA256 (chessx-1.5.7.tgz) = c1a7483b788dbe3f0b808cc4c474e6797c579d6388f9588badd84097367bf49c
2
SHA256 (chessx-1.6.0.tgz) = efa60e7b55a907ebdd12810a1931de69624ba42544e11a3262ed562f2dc3c618
3
SIZE (chessx-1.5.7.tgz) = 3861310
3
SIZE (chessx-1.6.0.tgz) = 8252976
(-)a/games/chessx/files/patch-chessx.pro (-48 lines)
Removed Link Here
1
--- chessx.pro.orig	2021-09-17 10:33:08 UTC
2
+++ chessx.pro
3
@@ -534,24 +534,30 @@ lc0 {
4
   QMAKE_BUNDLE_DATA += LC0_ENGINE_LIB
5
 }
6
 
7
+unix:!macx {
8
+ target.path = $$PREFIX/bin
9
+ pixmaps.path = $$PREFIX/share/pixmaps
10
+ pixmaps.files = data/images/chessx.png
11
+ desktop.path = $$PREFIX/share/applications
12
+ desktop.files = unix/chessx.desktop
13
+ INSTALLS += target desktop pixmaps
14
+}
15
+
16
 RESOURCES = \
17
   resources.qrc translations.qrc
18
 
19
-TRANSLATIONS = i18n/chessx_de.ts
20
-
21
-#\
22
-#        i18n/chessx_da.ts \
23
-#        i18n/chessx_fr.ts \
24
-#        i18n/chessx_it.ts \
25
-#        i18n/chessx_cz.ts \
26
-#        i18n/chessx_ru.ts \
27
-#        i18n/chessx_es.ts
28
-
29
-#   i18n/chessx_nl.ts \
30
-#   i18n/chessx_pl.ts \
31
-#   i18n/chessx_pt_BR.ts \
32
-#   i18n/chessx_ro.ts \
33
-#   i18n/chessx_zh.ts
34
+TRANSLATIONS = i18n/chessx_de.ts \
35
+        i18n/chessx_da.ts \
36
+        i18n/chessx_fr.ts \
37
+        i18n/chessx_it.ts \
38
+        i18n/chessx_cz.ts \
39
+        i18n/chessx_ru.ts \
40
+        i18n/chessx_es.ts \
41
+        i18n/chessx_nl.ts \
42
+        i18n/chessx_pl.ts \
43
+        i18n/chessx_pt_BR.ts \
44
+        i18n/chessx_ro.ts \
45
+        i18n/chessx_zh.ts
46
 
47
 isEmpty(QMAKE_LRELEASE) {
48
   win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\\lrelease.exe
(-)b/games/chessx/files/patch-src_gui_chessxsettings.cpp (+16 lines)
Added Link Here
1
--- src/gui/chessxsettings.cpp.orig	2023-05-08 20:22:12 UTC
2
+++ src/gui/chessxsettings.cpp
3
@@ -19,11 +19,11 @@
4
 #include <QWidget>
5
 #include <QMainWindow>
6
 #include <QSplitter>
7
+#ifdef USE_SPEECH
8
 #include <QTextToSpeech>
9
+#endif
10
 #include <QLayout>
11
-
12
 using namespace chessx;
13
-
14
 #if defined(_MSC_VER) && defined(_DEBUG)
15
 #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ )
16
 #define new DEBUG_NEW
(-)b/games/chessx/files/patch-src_gui_chessxsettings.h (-1 / +19 lines)
Added Link Here
0
- 
1
--- src/gui/chessxsettings.h.orig	2023-05-08 20:22:12 UTC
2
+++ src/gui/chessxsettings.h
3
@@ -13,16 +13,11 @@ class ChessXSettings : public Settings
4
 public:
5
     ChessXSettings();
6
     ChessXSettings(const QString &fileName);
7
-
8
     virtual bool layout(QWidget* w);
9
     virtual void setLayout(const QWidget* w);
10
-
11
     static QLocale locale(); // Get the locale based upon current settings
12
-#ifdef USE_SPEECH
13
     static QStringList availableVoices(QString lang); // Get the list of voices based upon selected locale
14
     static void configureSpeech(QTextToSpeech* speech);
15
-#endif
16
-
17
 protected:
18
     virtual void initWidgetValues(QMap<QString, QVariant>& map) const;
19
 };

Return to bug 271348