Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - SolarK

#1
Development / Compliance with Debian guidelines
December 30, 2016, 12:46:00 PM
Hello,

I am reviewing Solarus engine and editor as regards Debian game guidelines, maybe to ask for inclusion in Debian and ease installation. I am not a Debian packager myself, but I might ask for a sponsor to make the required packages.

The checklist is here:
https://wiki.debian.org/Games/Checklist

debian/copyright includes all the copyright and license texts for the code and data in the source package
All the game data (graphics, fonts, sounds, music, maps, texts, etc) in the source package are DFSG-free

Generated data is preferably built from source. If not, the sources must be in the package anyway. Here are some guidelines about that.
Game compiles with the CFLAGS defined in debian/rules
Game data is packaged in a separated arch indep (all) package if it's big enough
Game data is in a separate source package if it is large
The binary packages do not include any copy of fonts that are already packaged in font packages

Public executables are installed in /usr/games/, private executables under /usr/{lib,share}/games/<game>/

Private libraries installed in /usr/lib/games/<game>/
Game loads private libraries through rpath or LD_LIBRARY_PATH
Game links to public libraries in Debian instead of a private copy of them in its source code

Arch independent files are installed in /usr/share/games/<game>/
Arch independent data generation is independent of word length and endianess
Game loads game data from their absolute paths

Game should respect the XDG basedir spec

Game saves user data in $HOME/.<game>/ or similar

Game loads user data from $HOME/.<game>/ or similar

Game inits user data in $HOME/.<game>/ or similar if it is needed
Game loads game data independent of the arch endianness and word length
Game loads and saves user data independent of the arch endianness and word length
If the game is already in the repositories in a previous version, make sure that old data is not lost, either due to file format or to file location changes.
Patches include copyright and licensing texts
A .desktop file is present to start the game


So far, I bump on the following error:
$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/games ..
$ make -j4
$ sudo make install


then I run :

solarus-run
./solarus-run: error while loading shared libraries: libsolarus.so.1: cannot open shared object file: No such file or directory

A lot of people seem to have the same problem. Any clue?

Kind regards,
SolarK
#2
Dear all,

I see a nice community around here, with a lot of nice things around Solarus engine and solarus-editor, congratulations for the hard work over the years.
I am a math teacher in France in "collège". Don't mess-up with US college, in France, collège is for 11 to 14 year old kids.

My kids are playing Zelda and are very good in math and have very good school results.
So I wonder whether it would be interesting to hold a course on Solarus programming, based on a Zelda-like game project.
I heard a lot of nice things around Lua, which may be the future of programming, just like Python.
The advantage of using Solarus over Scratch is that a) Solarus could be used as a team b) this is real programming c) the result would be a real game.

Nothing precise now, I am just reviewing the code and editor before I can start something.

Kind regards,
SolarK