Once we have more platforms available than Linux, this section will be filled up with information about how to get and install Gluon on various platforms.
Packagers: Please get in touch! :)
This page contains binary packages for various Linux distributions of Gluon.
Gluon is available in the community repository.
sudo pacman -S gluon
Gluon is available in the desktop repository.
sudo pacman -S gluon
Binary packages provided by rrix: http://www.gamingfreedom.org/gluon-downloads/fedora/
Add Gluon to your MeeGo
zypper ar -f http://repo.pub.meego.com/home:/sandst1/standard/ gluon
zypper in gluon
Add the the following entry into your /etc/apt/sources.list:
deb http://repo.pub.meego.com/home:/djszapi/MeeGo_1.2_Harmattan/ ./
dpkg -i *gluon*
Current development packages are available for openSUSE using additional KDE repositories:
KR46: http://download.opensuse.org/repositories/KDE:/Unstable:/Playground/KDE_...
KDE:Distro:Factory: http://download.opensuse.org/repositories/KDE:/Unstable:/Playground/open...
KDE:Unstable:SC: http://download.opensuse.org/repositories/KDE:/Unstable:/Playground/open...
Main distribution: http://download.opensuse.org/repositories/KDE:/Unstable:/Playground/open...
KR46: http://download.opensuse.org/repositories/KDE:/Unstable:/Playground/KDE_...
KDE:Distro:Factory: http://download.opensuse.org/repositories/KDE:/Unstable:/Playground/open...
KDE:Unstable:SC: http://download.opensuse.org/repositories/KDE:/Unstable:/Playground/open...
Main distribution: http://download.opensuse.org/repositories/KDE:/Unstable:/Playground/open...
KDE:Unstable:SC: http://download.opensuse.org/repositories/KDE:/Unstable:/Playground/open...
This is the currently recommended version for the normal user.
Gluon Alpha 2, codename "Electron" (version 0.71.0)
gluon-0.71.0.tar.gz

gluon-0.71.0.tar.bz2

If you wish to follow the bleeding edge of Gluon, this is what you want to get. The code in git is not guaranteed to work at any one point in time as new features are added, but we do try to keep it compiling.
If you wish to get the source code from git so you can follow it more easily, the following command will clone the repository:
git clone git://anongit.kde.org/gluon
Please note: The following is a guide for how to install Gluon from source on Linux. Packagers, get in touch! :)
For the bare minimum experience you will need the following libraries:
This will allow you to build the basic libraries along with a very simple player application. Installing the KDE libraries is required for more advanced applications like the full desktop player and Gluon Creator.
LibAttica version 0.2.0 or greater is required for the integration with GamingFreedom.
Detailed instructions on what packages are needed for what distribution are described below.
The CMake scripts will detect whether or not these libraries are installed and report any errors. Note that apparently the script to locate OpenAL, which is provided by CMake, does not report this correctly and instead simply set some variables to "NOTFOUND". So if you get "Variable is set to NOTFOUND" errors from CMake double check whether you have all dependencies.
You can either download the from http://gluon.gamingfreedom.org/node/26 or download the source from https://projects.kde.org/projects/playground/games/gluon/repository. Once you have acquired a tarball, extract it to your preferred location.
To compile you will need a compiler and CMake, along with the needed dependencies as described above. Once you are done, execute the commands below to compile Gluon:
cd /path/to/gluon mkdir build cd build cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` //(Recommended when installing alongside KDE, otherwise use /usr or your prefferred install location)// make sudo make install
These commands should install gluon headers in ${kde-prefix}include and libraries in {kde4-prefix}/lib.
You can test your installation by running one of "gluoncreator" or "gluon_qtplayer", and loading up the Invaders project from the player/examples/invaders/ directory in the source.
Note that If you disabled "INSTALL_CMAKE_FILES" (The default when not installing to /usr) you will need to set CMAKE_MODULE_PATH to ${gluon-prefix}/share/gluon/cmake whenever you want to compile anything using Gluon.
For Debian you need:
Important
There seems to be a problem with Debian and PulseAudio when it is not running, where OpenAL will try to open the PulseAudio device, which fails because it is not available and causes an infinite loop.
The workaround is to put the following into /.alsoftrc :
drivers=alsa
If it does not work, try removing libpulse or otherwise installing pulseaudio itself.
For Arch Linux users
For Chakra users
On Fedora you will need:
On openSuse you will need:
On Mac you will need:
Note: /Users/foobar/gluon/player/qt/GluonPlayer.app < gluonplayer mac app
dependencies.sh
$ cmake -DCMAKE_INSTALL_PREFIX=usr -DCMAKE_BUILD_TYPE=Debug .. $ make VERBOSE=1 (successfully builds macintosh application bundles) $ sudo make install
On MeeGo you will need:
Notes:
On Harmattan you will need:
You can download these packages from the Community Open Build Service page or directly from this repository (You can also add it to your etc/apt/sources.list file): echo 'deb http://repo.pub.meego.com/home:/rzr:/harmattan/MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_standard/ .' >>/etc/apt/sources.list.d/nicks.list
apt-get install gluon-games
On Windows you will need:
Please follow the instruction here in order to set up the KDE Windows and emerge environment. You can do the whole procedure, but "emerge" will help simplify your activity. http://techbase.kde.org/Getting_Started/Build/Windows/emerge
Gluon can be installed either by using emerge or "manually". It is just "emerge gluon" by using emerge, and if you choose the manual build: you need to the following from the build directory: cmake -DCMAKiE_BUILD_TYPE=RelWithDebInfo -DCMAKE_PREFIX_PATH=%KDEROOT% -DCMAKE_INSTALL_PREFIX=%KDEROOT% ../
In addition, some systems do not have openAL, using your favourite package manager, ensure openal-dev is installed.
There are several options you can use to control the build of Gluon. They are listed during the CMake process along with their corresponding values. Below is also a list of all these options with a description and their default value:
The recent rewrite of the render system depends on programmable pipeline features. If these are not available things might not render. You can try to see if this is the case by running LIBGL_ALWAYS_SOFTWARE=TRUE gluon_qtplayer from the command line. If this does work, it means something in the combination of Gluon and your graphics driver is not working correctly. Please tell us your graphics card and other information by contacting us on IRC.
We currently have some issues on Windows with the graphics stack. This is probably the last issue before we can get a working game on Windows since audio and others already work nicely. Please do keep tunned; this entry will hopefully be removed quite soon. :)