Now that the final release of SFML 2.0 is out, it's maybe time for me to publicize my package project. I started making packages a while ago to package for Debian/Ubuntu. The primary goal was distributing my Python bindings but I ended up extending it to all bindings and projects based on SFML such as sfeMovie, Thor, SFGUI, TGUI, etc.
See also: For RedHat/Fedora/CentOS users, I've got the same projects for .rpm packages, I should announce it very soon.
These packages are stored on two launchpad PPAs providing them in two version: stable version and development version. The first repository provides stable version and is named
sonkun/sfml-stable while the second,
sonkun/sfml-development, provides the latest changes... and is frequently updated.
Each package is available for the last three Ubuntu versions:
- 12.04LTS (Precise Pangolin)
- 12.10 (Quantal Quetzal)
- 13.04LTS (Raring Ringtail)
For Debian users, you'll have to get the respective .deb files from the launchpad website.
You first need to add the repository, open a console and type:
apt-add-repository ppa:sonkun/sfml-stable # for stable versions
apt-add-repository ppa:sonkun/sfml-development # for development versions
apt-get update
Now, install the package you want with:
apt-get install <package-name>
Warning: as the release of the final SFML 2.0 is recent,
sfml-stable still contains SFML2.0-RC while
sfml-development provides SFML2.0. So you'll be interested in getting the last one.
Warning2: For Python users, I'm experiencing issues with packaging the latest pySFML version, so you'll be better off using the previous stable version (1.2) which is based on SFML2-RC (in sonkun/sfml-stable) But don't worry, first the API differences are small (so it won't take a long time to update your code), and second, as soon as it's done, you can easily update to SFML2 by installing sonkun/sfml-development).
Here's the list of all packages available. One project generally have several package depending on what kind of project it is (library, application, python module, etc.).
SFML & its bindings | Stable | Development | Packages | Notes |
SFML
| Version: 2.0.0-RC Commit: 19276a5
| Version: 2.0.0 Commit: 86897a8
| libsfml libsfml-dbg libsfml-dev libsfml-doc sfml-examples
| The sfml-examples package provides scripts to run the SFML examples easily. Type sfml-<example-name>. For examples: sfml-shader would run the shader example and allow to quickly see if SFML runs well with your graphic card. |
CSFML
| Version: 2.0.0-RC Commit: 1bfc30c
| Version: 2.0.0 Commit: 7aab902
| libcsfml libcsfml-dbg libcsfml-dev libcsfml-doc
| No notes.
|
JSFML
| Not available!
| Version: 2.0.0 (dev) Commit: 8438ca183d
| libsfml-java libsfml-java-doc
| I'm not sure if files are installed properly. I need feedback.
|
pySFML
| Version: 1.2.0 Commit: Dunno
| Available tomorrow!
| python-sfml python3-sfml python-sfml-doc python-sfml-dbg (comming soon) python-sfml-dev (comming soon) pysfml-examples
| The pysfml-examples package provides scripts to run the pySFML examples easily. Type pysfml-<example-name>. For examples: pysfml-shader would run the shader example and allow to quickly see if SFML runs well with your graphic card. |
Libraries based on SFML | Stable | Development | Packages | Notes |
sfeMovie
| Version: 1.0.0 Commit: 5c204197
| Version: latest version Commit: 47c14e2
| libsfemovie libsfemovie-dev sfemovie-example
| The sfemovie-example package provides a script to run the single sfeMovie examples easily. Type sfemovie-example to see if sfeMovie works well on your system.
|
Thor
| Not available!
| Version: 2.0.0 (development) Commit: 95ffe09832
| libthor libthor-dbg libthor-dev libthor-doc thor-examples
| The thor-examples package provides scripts to run the Thor examples easily. Type thor-<example-name>. For examples: thor-particles
|
TGUI
| Version: 0.4.2 Commit: Dunno
| Version: 0.5.0 Commit: Dunno
| libtgui tgui-dbg tgui-dev tgui-formbuilder
| The tgui-formbuilder package provides scripts to run the Form builder (RAD).
|
SFGUI
| Not available!
| Available but I need to check its version.
| libsfgui sfgui-dbg sfgui-dev sfgui-doc sfgui-examples
| The sfgui-examples package provides scripts to run the SFGUI examples easily. Type sfgui-<example-name>.
|