Discussion:
Patches used by debian (some of them might be interesting for soya)
deavid
2010-01-20 15:19:35 UTC
Permalink
When packaging Soya for Debian, we patched it in some ways.
Some patches are debian-specific, but other patches can be interesting for
all users of soya.

The tar.gz I'm attaching has a patches folder for quilt.
There is a series file, that indicates what patches are we applying in
debian and in which order.


Pyrex Compilation Fix:
Recent version of pyrex get module name from directory
name. Unfortunately, soya is compiled outside of any directory and
therefore the name of the directory is soya-VERSION. This patch
reverts previous behaviour of Pyrex. Thanks to Jakub Wilk.

Use ode config:
Use *-config for CFLAGS and LDFLAGS.
This patch replaces some handsettings and does this in the standard way.
Also, it removes the paths for searching libs.
In debian, this works well (the system knows were are the libs).
In other linux, at least the *-config thing should work.

No bytecompilation:
Don't bytecompile, python-support will do it.
(We use python-support to install python modules)

Useless shebang:
Remove unneeded sheebang.
If a file is a library it should not have a shebang.

OpenAL Autodetect:
Let OpenAL autodetect sound device.



Feel free to use them or not. I find very useful the Pyrex Compilation Fix.
"use-ode-config" patch, shows that the way soya search the libraries doesn't
suit to anyone. But i don't know how to write it better.

Loading...