asdfjkl / jfxchess

JFXChess - Chess Program
https://asdfjkl.github.io/jfxchess
GNU General Public License v2.0
100 stars 22 forks source link

Fix install target #50

Closed Atrament666 closed 3 years ago

Atrament666 commented 4 years ago

Hi, I updated jerry3.pro with install instructions for unix/linux systems. Now Jerry can be installed on these systems with 'make install' and uninstalled with 'make uninstall' after successful compilation.

I know that nobody actually installs software this way on Linux systems, but some of the packaging tools use it - for example AUR for which I created a package https://aur.archlinux.org/packages/jerry-git/ So far it manually copies the files because of the missing install information, but as soon as this pull request gets merged, I will update the package to use the 'make install' command.

I also took the liberty and changed the TARGET from 'Jerry' to 'jerry' - it is much more common to have the name of the binary starting with lowercase, I hope it's not a problem:)

Also I am only packaging the binary, the documentation and the desktop file, which seems to be enough to run Jerry on Linux systems, please let me know if there are any other files you would like to have included in the package..

Atrament

asdfjkl commented 4 years ago

thanks for the effort! currently working deep down on the chess engine and don't want to mess with my build system, i.e. will some time until I get to a stable version till I merge, just fyi

ChessOTB commented 4 years ago

On Ubuntu I upload the deb package and install it in the terminal: sudo dpkg -i jerry_3.2.0-1_amd64.deb

And it gives some dependencies errors which can be fixed with: sudo apt --fix-broken install

After that all OK!

asdfjkl commented 3 years ago

obsolete (version 4.0 is a complete rewrite; i.e. this no longer applies)