Difference between revisions of "Packages building"

From Yabause
Jump to: navigation, search
(Update build process for generic)
m (Reverted edits by Mckaygerhard (talk) to last revision by Guillaume)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
{{Deprecated}}
 
{{Yabause Manual}}
 
{{Yabause Manual}}
 
This file will only provide info about generic instructions.
 
 
Since yabause 0.9.13 configure-build system are Cmake only.
 
 
= Generic procedure build =
 
-----------------------
 
  
 
== Source ==
 
== Source ==
  
Sources can be downloaded from the main site http://yabause.org/download/, if u want to try lasted (maybe unstable) changes clone git repository
+
Source package is built using autotools scripts: move to the source top directory then type "./configure" and "make dist", it should create a .tar.gz file ready to be released.
 
+
=== Downloadin from main site ===
+
 
+
Open a terminal from finder or menu, and using wget download with url "http://download.tuxfamily.org/yabause/releases/0.9.14/yabause-0.9.14.tar.gz" for stable 0.9.14 version, change the version number for more recent or previos.
+
 
+
wget http://download.tuxfamily.org/yabause/releases/0.9.14/yabause-0.9.14.tar.gz
+
 
+
=== Cloning lasted git repo ===
+
 
+
Open a terminal from finder or menu, and using git clone the main repo "https://github.com/mckayemu/yabause.git" as repository url for lasted master branch.
+
 
+
git clone https://github.com/mckayemu/yabause.git
+
 
+
== Configuring ==
+
 
+
For compiling u must need cmake 2.8.0 as minimum
+
Requerimients are documented in individual README files. Please for specific info about what requirements will need see Specific Building info section.
+
 
+
Dreamcast port are significally different please read the section bellow.
+
 
+
Open a terminal with finder or menu and change to the downloaded file directory.
+
Then uncompress/untar if u download the compresed tarbal lasted stable sources from main site.
+
Into uncompresed/clone sources directory type :
+
 
+
mkdir compiling
+
cd compiling
+
cmake ../ -D<option>
+
 
+
Where <option> can be any of the following below. If u want to change, delete the "compiling" directory and start again the process.
+
 
+
=== Options to parse to cmake ===
+
-----------------------
+
 
+
Build flavors options:
+
 
+
* '''-DYAB_MULTIBUID=TRUE/FALSE''' build all posible flavors (gtk/qt/androit/runner) (FALSE)
+
* '''-DYAB_USE_QT5=ON/OFF''' use qt5, if not or not present qt4, if both are installed will be qt5 (ON)
+
 
+
Build emulation options:
+
 
+
* '''-DYAB_WANT_OPENSL=OFF/ON''' build with opengl 3.X support (androit modern only) (ON)
+
* '''-DYAB_WANT_OPENGL=OFF/ON''' build with opengl only support (desktop modern only) (ON)
+
* '''-DYAB_WANT_SDL=OFF/ON''' build with sound SDL cores if available (autodetec SDL1/SDL2)
+
* '''-DYAB_WANT_OPENAL=OFF/ON''' build with sound OpenAL cores if available (AUTO)
+
* '''-DYAB_NETWORK=ON/OFF''' build networking support (unix related only for now) (ON)
+
 
+
Internal emulation capabilites:
+
 
+
* '''-DYAB_WANT_C68K=ON/OFF''' use internal c68K compilation build in (ON)
+
* '''-DYAB_WANT_Q68=ON/OFF''' use internal q68 compilation build in (OFF)
+
* '''-DYAB_USE_SCSP2=ON/OFF''' build with newer scsp implementation (OFF)
+
* '''-DSH2_DYNAREC=ON/OFF''' enable SH2 dinarec compiler (ON)
+
* '''-DSH2_TRACE=ON/OFF''' enable SH2 tracin (ON)
+
 
+
Compiler related options:
+
 
+
* '''-DYAB_OPTIMIZATION="STRING"''' parse optimizations from user (-03)
+
* '''-DSH2_TRACE=ON/OFF''' enable SH2 tracin (ON)
+
 
+
== Building a make binaries ==
+
 
+
Once comfigure the sources in "compiling" directory, run make command. Dreamcast port are significally different please read the section bellow.
+
  
make
+
== Binaries ==
 +
=== Autopackage (Linux) ===
  
=== Notes on building ===
+
Install the "Autopackage Development Environment" (available [http://autopackage.org/download-tools.html here]) then go the source top directory and type "./configure" and "makepackage", a .package file for yabause will be created.
  
* If multibuild are not set, depends on tarjet will build gtk, qt5, qt4, runner, androit.
+
=== Mac OS X ===
* Qt multimedia package will be autodetected, on debian autodetection are still not performed
+
* if u set opengl to OFF will build only a software video rasterizer
+
* Currently software rasterizer still make calls to some opengl api's.
+
  
= Specific building info =
+
After the binaries have been compiled, go to src/carbon and run the "build_dmg.sh" script which will create a ready-to-distribute disk image. New files that should be included should also be added to the script.
-----------------------
+
  
For installation/how to use information, check the ports
+
=== Windows ===
specific README files:
+
  
* README.DC for the dreamcast port
+
- todo
* README.LIN for the linux port
+
* README.MAC for the mac port
+
* README.WIN for the m$ocosoft port
+
* README.AN for the androit port
+

Latest revision as of 22:40, 14 February 2016

Warning Information on this page is out of date
Yabause Manual
For users
For developers
edit

Source

Source package is built using autotools scripts: move to the source top directory then type "./configure" and "make dist", it should create a .tar.gz file ready to be released.

Binaries

Autopackage (Linux)

Install the "Autopackage Development Environment" (available here) then go the source top directory and type "./configure" and "makepackage", a .package file for yabause will be created.

Mac OS X

After the binaries have been compiled, go to src/carbon and run the "build_dmg.sh" script which will create a ready-to-distribute disk image. New files that should be included should also be added to the script.

Windows

- todo