pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

q5go: Update to 2.1.3



Module Name:	pkgsrc-wip
Committed By:	Aicaya Maro <aicaya%posteo.net@localhost>
Pushed By:	aicaya
Date:		Thu Jan 25 10:18:31 2024 -0400
Changeset:	0bd6efd187d4c70d9c8b4ce155904bcd2bd83c96

Added Files:
	q5go/COMMIT_MSG
	q5go/DESCR
	q5go/Makefile
	q5go/PLIST
	q5go/distinfo
	q5go/patches/patch-templates_qgo.desktop

Log Message:
q5go: Update to 2.1.3

Packaging changes:
 * Install desktop file and icon.

Upstream changes:

 => 2.1.3 (2022-05-04)

This is a minor update. The two most visible changes are an added
autoplay feature for viewing SGF files, and more support for KataGo's
ruleset feature.

 => 2.1.2 (2021-07-12)

This is a bugfix release to fix an issue when saving SGF files in
locales where a comma is used instead of a decimal point.

 => 2.1.1 (2021-04-11)

This is a minor update to version 2.1 to also allow the maximum board
size in AI vs AI play.

 => 2.1 (2021-04-02)

This is primarily a relatively small bugfix release. These are the major
user-visible changes in 2.1:

 * A number of crashes in odd situations were fixed (such as analyzing
   games with komi values like 650, or handling invalid server
   messages).
 * It is now possible to copy/paste positions in Edit mode.
 * The batch analysis dialog has a new button to enqueue an entire
   directory of SGF files.
 * Engine games now allow board sizes up to 52.

 => 2.0 (2020-10-14)

These are the major user-visible changes in 2.0:

 * Pattern search is now available, similar to Kombilo. Use the settings
   dialog to create a suitable database. Unfortunately existing Kombilo
   databases can't be used for this because of 32/64 bit compatibility
   issues.
 * Database load times are reduced, and threading was added so that the
   user interface remains responsive.
 * Multiple online games can now be observed in a single window with
   clickable previews to switch between them. The old mode of one game
   per window is still available.
 * There is a new "Tip of the day" dialog on startup, which displays
   features that are maybe not easily discoverable. It can be disabled.
 * There are several new high resolution wood textures for the board to
   choose from.
 * When playing engines that are capable of analysis, the evaluation is
   now collected during the game and can be displayed live.
 * Engine configuration now allows engines to be unrestricted in board
   size and komi, catching up with improvements in KataGo over Leela
   Zero.
 * Some GTP bugs were fixed, which may improve compatibility with
   certain engines.
 * Window titles can now be overriden in the settings, which should help
   with streaming setups.
 * Performance improvements for the screen updates should now make it
   feasible to turn off quiet mode when online, which allows the server
   to send live player and game updates.
 * There is a new option to highlight the user's own chat messages in a
   different color.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0bd6efd187d4c70d9c8b4ce155904bcd2bd83c96

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 q5go/COMMIT_MSG                          | 68 ++++++++++++++++++++++++++++++++
 q5go/DESCR                               | 18 +++++++++
 q5go/Makefile                            | 31 +++++++++++++++
 q5go/PLIST                               | 27 +++++++++++++
 q5go/distinfo                            |  6 +++
 q5go/patches/patch-templates_qgo.desktop | 34 ++++++++++++++++
 6 files changed, 184 insertions(+)

diffs:
diff --git a/q5go/COMMIT_MSG b/q5go/COMMIT_MSG
new file mode 100644
index 0000000000..d5e8d0e54f
--- /dev/null
+++ b/q5go/COMMIT_MSG
@@ -0,0 +1,68 @@
+games/q5go: Update to 2.1.3
+
+Update prepared in wip by Aicaya Maro.
+
+Packaging changes:
+ * Install desktop file and icon.
+
+Upstream changes:
+
+ => 2.1.3 (2022-05-04)
+
+This is a minor update. The two most visible changes are an added
+autoplay feature for viewing SGF files, and more support for KataGo's
+ruleset feature.
+
+ => 2.1.2 (2021-07-12)
+
+This is a bugfix release to fix an issue when saving SGF files in
+locales where a comma is used instead of a decimal point.
+
+ => 2.1.1 (2021-04-11)
+
+This is a minor update to version 2.1 to also allow the maximum board
+size in AI vs AI play.
+
+ => 2.1 (2021-04-02)
+
+This is primarily a relatively small bugfix release. These are the major
+user-visible changes in 2.1:
+
+ * A number of crashes in odd situations were fixed (such as analyzing
+   games with komi values like 650, or handling invalid server messages).
+ * It is now possible to copy/paste positions in Edit mode.
+ * The batch analysis dialog has a new button to enqueue an entire
+   directory of SGF files.
+ * Engine games now allow board sizes up to 52.
+
+ => 2.0 (2020-10-14)
+
+These are the major user-visible changes in 2.0:
+
+ * Pattern search is now available, similar to Kombilo. Use the settings
+   dialog to create a suitable database. Unfortunately existing Kombilo
+   databases can't be used for this because of 32/64 bit compatibility
+   issues.
+ * Database load times are reduced, and threading was added so that the
+   user interface remains responsive.
+ * Multiple online games can now be observed in a single window with
+   clickable previews to switch between them. The old mode of one game
+   per window is still available.
+ * There is a new "Tip of the day" dialog on startup, which displays
+   features that are maybe not easily discoverable. It can be disabled.
+ * There are several new high resolution wood textures for the board to
+   choose from.
+ * When playing engines that are capable of analysis, the evaluation is
+   now collected during the game and can be displayed live.
+ * Engine configuration now allows engines to be unrestricted in board
+   size and komi, catching up with improvements in KataGo over Leela
+   Zero.
+ * Some GTP bugs were fixed, which may improve compatibility with certain
+   engines.
+ * Window titles can now be overriden in the settings, which should help
+   with streaming setups.
+ * Performance improvements for the screen updates should now make it
+   feasible to turn off quiet mode when online, which allows the server
+   to send live player and game updates.
+ * There is a new option to highlight the user's own chat messages in a
+   different color.
diff --git a/q5go/DESCR b/q5go/DESCR
new file mode 100644
index 0000000000..e75d2bd74b
--- /dev/null
+++ b/q5go/DESCR
@@ -0,0 +1,18 @@
+This is a tool for Go players which performs the following functions:
+
+* SGF editor
+* Analysis frontend for KataGo, Leela Zero or compatible engines
+* GTP interface
+* IGS client
+* Export to a variety of formats
+
+The basic goal for this program is to provide an everyday SGF editor
+that is fast, easy and convenient to use and does everything you
+could want out of such a tool. Some of the more unusual features
+include a Go diagram exporting function for sites like lifein19x19.com
+or Sensei's library, as well as SVG vector graphics or slide export.
+q5go also supports some non-standard Go variants. For beginners,
+tutorials that explain the rules and basic tactics are included.
+
+This program is based on the old Qt3 version of qGo, but ported to
+Qt5 and modernized.
diff --git a/q5go/Makefile b/q5go/Makefile
new file mode 100644
index 0000000000..e589f17ac1
--- /dev/null
+++ b/q5go/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.21 2023/11/12 13:21:42 wiz Exp $
+
+DISTNAME=	q5go-2.1.3
+CATEGORIES=	games
+MASTER_SITES=	${MASTER_SITE_GITHUB:=bernds/}
+GITHUB_PROJECT=	q5Go
+GITHUB_TAG=	${DISTNAME}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/bernds/q5Go/
+COMMENT=	Tool for Go players
+LICENSE=	gnu-gpl-v2
+
+USE_LANGUAGES=	c++
+
+CONFIGURE_DIRS=	build
+
+MAKE_ENV+=	INSTALL_ROOT=${DESTDIR}
+
+do-configure:
+	${MKDIR} ${WRKSRC}/build
+	cd ${WRKSRC}/build && ${SETENV} ${MAKE_ENV} ${QTDIR}/bin/qmake ../src/q5go.pro PREFIX=${PREFIX}
+
+post-install:
+	${QTDIR}/bin/qmake -install qinstall "${WRKSRC}/src/images/Bowl.ico" "${DESTDIR}${PREFIX}/share/q5go/pics/Bowl.ico"
+	${QTDIR}/bin/qmake -install qinstall "${WRKSRC}/templates/qgo.desktop" "${DESTDIR}${PREFIX}/share/applications/q5go.desktop"
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtsvg/buildlink3.mk"
+.include "../../x11/qt5-qttools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/q5go/PLIST b/q5go/PLIST
new file mode 100644
index 0000000000..2adb0c7723
--- /dev/null
+++ b/q5go/PLIST
@@ -0,0 +1,27 @@
+@comment $NetBSD$
+bin/q5go
+share/applications/q5go.desktop
+share/doc/q5go/AUTHORS
+share/doc/q5go/COPYING
+share/doc/q5go/ChangeLog
+share/doc/q5go/README.md
+share/doc/q5go/html/note.png
+share/doc/q5go/html/tip.png
+share/doc/q5go/html/warning.png
+share/q5go/pics/Bowl.ico
+share/q5go/translations/Makefile.am
+share/q5go/translations/Makefile.in
+share/q5go/translations/qgo_cs.qm
+share/q5go/translations/qgo_da.qm
+share/q5go/translations/qgo_de.qm
+share/q5go/translations/qgo_es.qm
+share/q5go/translations/qgo_fr.qm
+share/q5go/translations/qgo_it.qm
+share/q5go/translations/qgo_la.qm
+share/q5go/translations/qgo_nl.qm
+share/q5go/translations/qgo_pl.qm
+share/q5go/translations/qgo_pt.qm
+share/q5go/translations/qgo_ru.qm
+share/q5go/translations/qgo_tr.qm
+share/q5go/translations/qgo_zh.qm
+share/q5go/translations/qgo_zh_cn.qm
diff --git a/q5go/distinfo b/q5go/distinfo
new file mode 100644
index 0000000000..9daa6dba5f
--- /dev/null
+++ b/q5go/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.3 2021/10/26 10:44:21 nia Exp $
+
+BLAKE2s (q5go-2.1.3.tar.gz) = 088b638a4b60405f84609371697e27209e1b53fc6df7ef03d3ef2d965c099595
+SHA512 (q5go-2.1.3.tar.gz) = 1c46e3bef54047147ea6436f2258a5583d42128ee48749840d3891d804dcafc453e95c919c32f30c310bd69d4a6a04ac3e1b58abefa93faff1f77eee0f68de16
+Size (q5go-2.1.3.tar.gz) = 8412437 bytes
+SHA1 (patch-templates_qgo.desktop) = d26373d8944019e220edac39d73718ec5b7fcc33
diff --git a/q5go/patches/patch-templates_qgo.desktop b/q5go/patches/patch-templates_qgo.desktop
new file mode 100644
index 0000000000..e146dde12e
--- /dev/null
+++ b/q5go/patches/patch-templates_qgo.desktop
@@ -0,0 +1,34 @@
+$NetBSD$
+
+Change all instances of 'qgo' qith 'q5go' to match actual program
+(leftover from the old Qt3 version of qGo).
+
+Use PREFIX instead of hard-coded value for icon.
+
+--- templates/qgo.desktop.orig	2024-01-24 23:59:28.907139104 +0000
++++ templates/qgo.desktop
+@@ -1,12 +1,12 @@
+ [Desktop Entry]
+ Encoding=UTF-8
+-Comment=qgo
+-Exec=qgo
+-Icon=/usr/share/qGo/pics/Bowl.png
++Comment=q5go
++Exec=q5go
++Icon=@PREFIX@/share/q5Go/pics/Bowl.png
+ MimeType=text/plain;text/sfg;Application
+-Name=qgo
++Name=q5go
+ GenericName=Go
+-Name[fr]=qgo
++Name[fr]=q5go
+ GenericName[ar]=??
+ GenericName[bg]=??
+ GenericName[br]=c'hoari
+@@ -36,4 +36,4 @@ X-KDE-SubstituteUID=false
+ X-KDE-Username=
+ X-DCOP-ServiceType=Multi
+ Categories=Qt;KDE;Game;BoardGame;
+-X-KDE-StartupNotify=true
+\ No newline at end of file
++X-KDE-StartupNotify=true


Home | Main Index | Thread Index | Old Index