User Tools

Site Tools


development:compiling:player:autotools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
development:compiling:player:autotools [2014/03/26 17:07] fdelapenadevelopment:compiling:player:autotools [2019/07/01 01:54] (current) – [Step by step setup for Fedora] add freetype and harfbuzz dependencies fdelapena
Line 5: Line 5:
   * make   * make
   * pkg-config   * pkg-config
-  * boost >= 1.48 
   * [[../liblcf/autotools|liblcf]]   * [[../liblcf/autotools|liblcf]]
   * libpng   * libpng
 +  * FreeType
 +  * HarfBuzz
   * Pixman   * Pixman
   * SDL2 (or SDL 1.2, discouraged)   * SDL2 (or SDL 1.2, discouraged)
   * SDL2_mixer (or SDL_Mixer 1.2, discouraged)   * SDL2_mixer (or SDL_Mixer 1.2, discouraged)
 +  * libmpg123
 +  * libvorbis
 +  * opusfile
 +  * libsndfile
 +  * libxmp
 +  * SpeexDSP
 +  * WildMIDI
   * zlib   * zlib
  
 ===== Requirements for building from git ===== ===== Requirements for building from git =====
 +  * autoconf >= 2.69
 +  * automake >= 1.11.4
   * git   * git
-  * autoconf >= 2.69 + 
-  * automake+
 Run ''autoreconf -i'' to generate the ''configure'' script. Run ''autoreconf -i'' to generate the ''configure'' script.
  
 ===== Build ===== ===== Build =====
-  * Run ''./configure && make'' +  * Run
- +<code bash> 
-If you want to cross compile with a specific gcc toolchain, pass ''%%--%%host=//whatever//'' to ''configure'' and set the ''PKG_CONFIG_PATH'' to the path containing specific cross compiling toolchain versions of ''expat.pc'' and ''liblcf.pc'' files. +./configure 
 +make 
 +sudo make install 
 +</code>
 ===== RTP support with WINE ===== ===== RTP support with WINE =====
  
 For most games, you will need to have installed the RTP. To install RTP in non-Windows systems you can use WINE. EasyRPG Player will detect the RTP path from the WINE registry automatically. Will work with original Japanese RTP filenames even when games are created with English RTP translations (Don Miguel, RPG Advocate) and vice-versa. Read [[/user/player/rtp]] to learn how to install the RPG Maker 2000 and 2003 RTPs. For most games, you will need to have installed the RTP. To install RTP in non-Windows systems you can use WINE. EasyRPG Player will detect the RTP path from the WINE registry automatically. Will work with original Japanese RTP filenames even when games are created with English RTP translations (Don Miguel, RPG Advocate) and vice-versa. Read [[/user/player/rtp]] to learn how to install the RPG Maker 2000 and 2003 RTPs.
  
-This feature is not built by default yet because it requires Boost Spirit and it is not a header only library. You will need to append ''CPPFLAGS=-D//HAVE_WINE//'' before or after ''./configure''.+====== Build from Git =====
  
 ===== Step by step setup for Debian based distros (gNewSense, Trisquel, Debian, Mint, Ubuntu...) ===== ===== Step by step setup for Debian based distros (gNewSense, Trisquel, Debian, Mint, Ubuntu...) =====
-  * Do the [[../liblcf/autotools]] setup first+  * Do the [[../liblcf/autotools#step-by-step-setup-for-debian-based-distros-gnewsense-trisquel-debian-mint-ubuntu]] setup first
   * Open the Terminal application   * Open the Terminal application
   * Copy the following text and paste it in your terminal window and press the enter key, you will need to enter your password and press again the enter key:   * Copy the following text and paste it in your terminal window and press the enter key, you will need to enter your password and press again the enter key:
-  ''sudo apt-get -y install %%--%%no-install-recommends libboost-dev libsdl2-mixer-dev libpixman-1-dev\\ +<code bash> 
-  cd ~/EasyRPG\\ +sudo apt-get -y install --no-install-recommends libsdl2-mixer-dev libpixman-1-dev libfreetype6-dev libspeexdsp-dev libxmp-dev libwildmidi-dev libopusfile-dev libvorbis-dev libharfbuzz-dev libmpg123-dev libsndfile-dev 
-  git clone https://github.com/EasyRPG/Player.git\\ +git clone https://github.com/EasyRPG/Player.git 
-  cd Player\\ +cd Player 
-  autoreconf -i\\ +autoreconf -i 
-  ./configure CPPFLAGS=-DHAVE_WINE\\ +./configure 
-  make'' +make 
-  * Go to your Files application and browse into ''EasyRPG'' folder -> ''Player'' folder -> ''src'' folder. If there is a ''easyrpg-player'' file inside, your Player executable has been successfully built. +sudo make install 
-  * Move the ''easyrpg-player'' file into a game folder (same place as RPG_RT.exe) and run it to play the game. +</code>
 ===== Step by step setup for Fedora ===== ===== Step by step setup for Fedora =====
  
-  * Do the [[../liblcf/autotools]] setup first+  * Do the [[../liblcf/autotools#step-by-step-setup-for-fedora]] setup first
   * Open the Terminal application   * Open the Terminal application
   * Copy the following text and paste it in your terminal window and press the enter key, you will need to enter your password and press again the enter key:   * Copy the following text and paste it in your terminal window and press the enter key, you will need to enter your password and press again the enter key:
-  ''sudo yum -y install boost-devel SDL2_mixer-devel pixman-devel libpng-devel\\ +<code bash> 
-  cd ~/EasyRPG\\ +sudo dnf -y install SDL2_mixer-devel pixman-devel libpng-devel freetype-devel harfbuzz-devel libmpg123-devel libvorbis-devel opusfile-devel wildmidi-devel libxmp-devel libsndfile-devel speexdsp-devel asciidoc 
-  git clone https://github.com/EasyRPG/Player.git\\ +git clone https://github.com/EasyRPG/Player.git 
-  cd Player\\ +cd Player 
-  autoreconf -i\\ +autoreconf -i 
-  ./configure CPPFLAGS=-DHAVE_WINE\\ +./configure --enable-fmmidi 
-  make'' +make 
-  * Go to your Files application and browse into ''EasyRPG'' folder -> ''Player'' folder -> ''src'' folder. If there is a ''easyrpg-player'' file inside, your Player executable has been successfully built. +sudo make install 
-  * Move the ''easyrpg-player'' file into a game folder (same place as RPG_RT.exe) and run it to play the game. +</code>
 ===== Installation on Arch Linux ===== ===== Installation on Arch Linux =====
  
 There is an [[https://aur.archlinux.org/packages/easyrpg-player-git/|AUR package]] available, you can use your favourite aur helper or download and use makepkg: There is an [[https://aur.archlinux.org/packages/easyrpg-player-git/|AUR package]] available, you can use your favourite aur helper or download and use makepkg:
- +<code bash> 
-''packer -S easyrpg-player-git'' +packer -S easyrpg-player-git 
 +</code>
 If you prefer a manual compilation, here is a screencast of the compilation procedure for liblcf and the player: If you prefer a manual compilation, here is a screencast of the compilation procedure for liblcf and the player:
  
 https://asciinema.org/a/8393 https://asciinema.org/a/8393
  
development/compiling/player/autotools.1395853672.txt.gz · Last modified: 2014/03/26 17:07 by fdelapena

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki