Package Details: chessx 1.4.6-1

Git Clone URL: https://aur.archlinux.org/chessx.git (read-only)
Package Base: chessx
Description: Chess Database and PGN viewer
Upstream URL: http://chessx.sourceforge.net
Licenses: GPL2
Conflicts: chessx-svn
Submitter: munzirtaha
Maintainer: munzirtaha
Last Packager: munzirtaha
Votes: 8
Popularity: 0.000058
First Submitted: 2016-08-07 17:15
Last Updated: 2017-04-15 11:03

Latest Comments

munzirtaha commented on 2018-09-03 10:49

@antoyo: Thanks for pointing out the issue is solved in the svn version. However, this package is only for the stable version. There is already another package chessx-svn which I am not maintaining for the svn version. Hope that upstream would have a release soon so I can package it.

antoyo commented on 2018-09-01 14:44

@munzirtaha: I had the same issue, but I decided to compile the code from the svn repository and it worked fine. So, if there was a bug, it was fixed upstream and this package should compile. Thanks to fix the issue.

munzirtaha commented on 2018-08-16 00:31

@VanLaser: This is an upstream bug I believe. You need to report it there. chessx is not updated for a while and mostly it's not compatible with Qt 5.11

VanLaser commented on 2018-08-15 20:02

Can't build:

src/dialogs/savedialog.cpp: In constructor ‘SaveDialog::SaveDialog(QWidget*, Qt::WindowFlags)’:
src/dialogs/savedialog.cpp:37:34: error: invalid use of incomplete type ‘class QButtonGroup’
     group = new QButtonGroup(this);
                                  ^
In file included from /usr/include/qt/QtWidgets/qradiobutton.h:44,
                 from /usr/include/qt/QtWidgets/QRadioButton:1,
                 from src/generated/ui_savedialog.h:22,
                 from src/dialogs/savedialog.h:21,
                 from src/dialogs/savedialog.cpp:21:
/usr/include/qt/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
 class QButtonGroup;

[...] 

(more similar errors follow)

munzirtaha commented on 2017-12-24 23:39

@Artefact2: You shouldn't have qt4 as default. I don't even have it on my system. In case you really need qt4, use environment variables or configuration files as in https://wiki.archlinux.org/index.php/qt#Default_Qt_toolkit to make qt5 default or maybe edit PKGBUILD and explicitly use qmake-qt5

Artefact2 commented on 2017-12-24 17:24

Does not compile here.

qt4 4.8.7-23 qt5-base 5.10.0-1 qt5-declarative 5.10.0-1 qt5-location 5.10.0-1 qt5-multimedia 5.10.0-1 qt5-sensors 5.10.0-1 qt5-svg 5.10.0-1 qt5-tools 5.10.0-1 qt5-webchannel 5.10.0-1 qt5-webkit 5.212.0alpha2-11 qt5-xmlpatterns 5.10.0-1

Compile error:

src/database/pgndatabase.cpp: In member function ‘void PgnDatabase::close()’:
src/database/pgndatabase.cpp:357:25: error: ‘static void QThread::sleep(long unsigned int)’ is protected within this context
         QThread::sleep(1);
                         ^
In file included from /usr/include/qt4/QtCore/QtCore:82:0,
                 from src/database/square.h:8,
                 from src/database/move.h:15,
                 from src/database/board.h:16,
                 from src/database/pgndatabase.cpp:18:
/usr/include/qt4/QtCore/qthread.h:115:17: note: declared protected here
     static void sleep(unsigned long);
                 ^~~~~
src/database/pgndatabase.cpp: In member function ‘void PgnDatabase::parseLine(Game*)’:
src/database/pgndatabase.cpp:561:46: error: ‘class QString’ has no member named ‘splitRef’; did you mean ‘split’?
     QVector<QStringRef> list = m_currentLine.splitRef(" ", QString::SkipEmptyParts);
                                              ^~~~~~~~
                                              split
src/database/pgndatabase.cpp: In member function ‘void PgnDatabase::parseToken(Game*, const QStringRef&)’:
src/database/pgndatabase.cpp:686:35: error: ‘const class QStringRef’ has no member named ‘mid’
         game->dbAddNag((Nag)token.mid(1).toInt());
                                   ^~~
src/database/pgndatabase.cpp: In member function ‘IndexBaseType PgnDatabase::skipJunk()’:
src/database/pgndatabase.cpp:865:75: error: no matching function for call to ‘QChar::isNumber(QByteRef)’
             || (m_lineBuffer[0] != '[' && !QChar::isNumber(m_lineBuffer[0])))
                                                                           ^
In file included from /usr/include/qt4/QtCore/qstring.h:45:0,
                 from /usr/include/qt4/QtCore/qdir.h:45,
                 from /usr/include/qt4/QtCore/QDir:1,
                 from src/database/pgndatabase.cpp:13:

munzirtaha commented on 2017-01-14 04:10

@madnight: Just retested and chessx works for me under KDE. I am not facing this problem so may be it's related to your env or theme configuration. If you can be more specific on how to reproduce the bug, I will be glad to help.

madnight commented on 2017-01-13 19:17

Cannot mix incompatible Qt library (version 0x50700) with this library (version 0x50701)