You are not logged in.
I can see ChessX in http://pkgbuild.com/git/aur-mirror.git/ but not in the current AUR repository.
How do I install this package? Is it possible for someone to bring it into the latest AUR?
I am new to Arch, if someone can guide me, I could try to do that myself.
ChessX is really a good Chess Learning/Analysis Software on Linux platform and its really user friendly as well.
Last edited by nishantvarma (2015-09-05 19:46:27)
Offline
Moving to AUR issues/discussion.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
The significant change for AUR users was only in the way you download the files (PKGBUILD etc.). You found the files somewhere else -- download them and proceed to install as you would with the new AUR. Only thing is that you know there haven't been any updates since the AUR change, but with the old AUR a PKGBUILD could just as well go without updates for months -- you always have to be a bit careful.
If you don't know enough about the AUR/makepkg to use it or to upload this to the new AUR (should you choose to do so if nobody else offers), read the relevant wiki pages first and then ask here if you need help with the specifics.
Last edited by Raynman (2015-09-04 21:44:51)
Offline
Thanks Raynman. I cloned the http://pkgbuild.com/git/aur-mirror.git/ repo which is approx 400MB and did makepkg from the chessx-svn directory. Is there a better way to do that? Or do I need to maitain the aur-mirror.git repo in my local folder. I was thinking that the new approach allowed me to clone individual packages which is much more effecient. Is there a way to get chessx-svn the same way? If so I would like to add it - it also helps users find the package - I was referred to this mirror by someone at #archlinux, I wonder if new users might be able to find the package?
Offline
I would simply have downloaded the PKGBUILD and .install file for chessx (and/or chessx-svn) via the cgit web interface.
Everybody can find that mirror, it's also in the wiki: https://wiki.archlinux.org/index.php/Ar … 3_packages
Elsewhere on that page (maybe read the whole thing?) you can find how to submit to the new AUR: https://wiki.archlinux.org/index.php/Ar … g_packages
Offline
I am trying to install chessx-svn from http://pkgbuild.com/git/aur-mirror.git/tree/chessx-svn
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -DQUAZIP_STATIC -DQT_NO_CAST_TO_ASCII -DQT_USE_QSTRINGBUILDER -DQT_NO
_DEBUG_OUTPUT -DNDEBUG -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -Isrc/database -Isrc/guess -Isrc/gui -Isrc/dialogs -Isrc/quazip -I/usr/src/3rdparty/zlib -Isrc/generated -Isrc/generated -o obj_rel/textedit.o src/gui/textedit.cpp
In file included from src/gui/ooo/converter.h:11:0,
from src/gui/textedit.cpp:68:
src/gui/ooo/styleparser.h:16:24: fatal error: QDomDocument: No such file or directory
compilation terminated.
Makefile:2592: recipe for target 'obj_rel/textedit.o' failed
make: *** [obj_rel/textedit.o] Error 1Can anyone help how to proceed?
Developer suggested the following if that might help:
Make sure that your Qt contains the XML Framework, depending on the distribution, additional dev-packages need to be installed.
Look for header <QDocDocument> in your filesystem and if it is located somewhere where the compiler can find it.
Further I also read that
QDomDocument belongs to the QtXml module. To link against the module, add this line to your qmake .pro file: QT += xml
PS: Cleaning up as per the below comments.
Last edited by nishantvarma (2015-09-05 16:47:24)
Offline
Please use code tags when posting command output (and there's BBCode for quotes, too).
You don't need extra packages: Arch has one big qt4 package, which contains QDomDocument:
$ pkgfile QDomDocument
extra/qt4
extra/qt5-base
multilib/lib32-qt4Further I also read that
"
QDomDocument belongs to the QtXml module. To link against the module, add this line to your qmake .pro file: QT += xml
"
So you can check the .pro file. I just did this and found "xml" is missing. So you could add it and try again. But the INSTALL file says it should work better with Qt 5. So you can try with qmake-qt5 instead of qmake-qt4 (without changing the .pro file). If that works, make sure to also update the depends array in the PKGBUILD.
Offline
Merging with your existing thread..
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I've played around with this this morning and I've it working. Sort of. I will probably put together an AUR package for it, but if you are impatient....
As I got into fixing references, I found that the source is using QStringLiteral -- a method that did not exist prior to Qt5. The package was being built against Qt4. I presume the code was ported to Qt5 at some point in the svn. Install Qt5 -- all of it. Make the following changes to the PKGBUILD and it will work.
ewaller@turing ~/devel/build/aur-mirror/chessx-svn [2]1062 %diff PKGBUILD*
10c10
< depends=(qt4)
---
> #depends=(qt5)
30c30
< qmake-qt4
---
> qmake-qt5
ewaller@turing ~/devel/build/aur-mirror/chessx-svn [1]1063 %Note that I commented out the depends declaration. To create a proper PKGBUILD, I would have to go and figure which parts of Qt5 are required for this program. Seems kinda like work for a beautiful Saturday morning ![]()
Edit: BTW, it is a nice looking program... http://i.imgur.com/WEyb3Fn.png
Last edited by ewaller (2015-09-05 16:00:39)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Edit: BTW, it is a nice looking program... http://i.imgur.com/WEyb3Fn.png
Yes it is awesome
I use it a lot with Stockfish Engine to analyse games. Thanks btw I will try those!
It worked fine, I just used makepkg -sriC to ensure its a clean build.
Last edited by nishantvarma (2015-09-05 19:09:57)
Offline
I put together an updated AUR package. Give it a try.
https://aur.archlinux.org/packages/chessx-svn/
Last edited by ewaller (2015-09-05 17:29:41)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Thanks , tried it from the AUR Package as well and that just worked fine.
Offline
Well, enjoy. And don't forget to edit your first post in the thread and add [SOLVED] to the thread title -- if it is solved ![]()
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Perfect. Couldn't have asked for more
. Along with https://aur.archlinux.org/packages/stockfish/ it is really easy to analyze chess games and also play in http://www.freechess.org
Last edited by nishantvarma (2015-09-05 19:45:24)
Offline