BasJ93 / JudoShiai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

THIS IS A FORK OF THE OFFICIAL JUDOSHIAI REPO ON SourceForge.
This repo contains my modified verion of JudoShiai.

HOW TO MAKE A BUILD

Linux and Windows are the supported operating systems.

Development work is done in Linux environment. For Windows users it is recommended
to install VirtualBox + Ubuntu (32 bit) for compilation. Learn how to use
Linux terminal and line commands. Everything below after the $ sign 
is typed in a terminal.

LibreOffice is needed for PDF creation. You should already have it,
but if not, get it with the following command:

$ sudo apt-get install libreoffice

"sudo" makes you have temporary root priviledges that are required for 
software installation. "apt-get install" fetches and installs software packages.

Install the basic development tools:

$ sudo apt-get install build-essential libgtk-3-dev bison flex checkinstall

You probably already have "build-essential" (compiler, linker). "gnome-devel"
contains everything needed for GTK+ graphical user interface development. 
"bison flex" are used for parsing text. "checkinstall" is required for Debian packages.

Next some libraries:

$ sudo apt-get install librsvg2-dev libao-dev libmpg123-dev libcurl4-openssl-dev

For judoproxy:

$ sudo apt-get install libavcodec-dev libavformat-dev libavresample-dev libavutil-dev libswscale-dev
$ sudo apt-get install liblzma-dev libxml2-dev

JudoShiai is under GIT in Sourceforge:

$ sudo apt-get install git

If you are behind a proxy you want to edit /home/$USER/.gitconfig

Get the JudoShiai software:

$ git clone http://git.code.sf.net/p/judoshiai/judoshiai

Change directory:

$ cd judoshiai

Compile:

$ make

Make a Debian package

$ sudo make debian

You can find the result in judoshiai-code/release-linux.

Cross compilation for Windows requires more software:

$ sudo apt-get install mingw32

Some programs need Windows emulator to run:

$ sudo apt-get install wine

There exist still lots of required libraries and run time DLL's that are not in
any package. Many DLL's have incompatible versions around and finding the correct one 
may take time. To make life easier you can fetch a ready made set of Windows software.
Get it using command line or your favorite browser:

$ wget http://judoshiai.sourceforge.net/win32-gtk3.tgz

Extract it under the /opt directory:

$ sudo tar xvzf win32-gtk3.tgz -C /opt

Start cross compilation:

$ make TARGETOS=WIN32

Make a package:

$ make setup TARGETOS=WIN32

Result will be in judoshiai-code/release-win32 directory.
Clean everything with commands

$ make clean
and
$ make clean TARGETOS=WIN32

About


Languages

Language:C 87.9%Language:JavaScript 5.0%Language:Yacc 2.2%Language:HTML 2.1%Language:Lex 1.2%Language:Makefile 0.9%Language:CSS 0.5%Language:Inno Setup 0.1%Language:Python 0.1%Language:Shell 0.1%