Re: 0ad 0.0.16-2 MIGRATED to testing
On Tue, Jun 10, 2014 at 5:40 AM, Francesco De Vita <firstname.lastname@example.org> wrote:
> There are some issues.
>>>> On systems earlier than Debian 8/jessie and Ubuntu 14.04/trusty:
>>>> [...] you should replace libmozjs-24-dev with libnspr4-dev and
>>>> run update-workspace.sh without --with-system-mozjs24.
>>> The required action should be performed by debian/rules (lines 20-30),
>>> am I right? Thank you!
>> Yes, just remove the "--with-system-mozjs24" invocation in debian/rules.
> It seems to be not sufficient. First of all, during the building process
> the spidermonkey component fails to build as it requests python . As
> you can see here , for other distros python is a dependency when
> libmozjs24 is not. So I added python as a build-dep and the building
> process went ok.
Python is solely needed as a build dependency for mozjs/spidermonkey;
the 0ad package in jessie/sid uses the packaged version of mozjs in
the archive instead of the embedded source copy, hence there's no need
for a build-dep on python.
> The installation is also ok but the game doesn't start, complaining the
> lack of libmozjs24-ps-release.so:
>> /usr/games/pyrogenesis: error while loading shared libraries:
>> libmozjs24-ps-release.so: cannot open shared object file: No such
>> file or directory
Install it using dh_install(1) (e.g. echo
"binaries/system/libmozjs24-ps-release.so usr/lib/games/0ad/" >>
> Because it doesn't even start there are no useful logs.
> If you have not any hints about it I would open a ticket on the 0ad trac
> system to ask directly to the developers.
None of these issues are upstream issues (i.e. purely related to packaging).
> Please take a look at  to see the changes I introduced.
Looks fine. I'll tighten up the build-dep on miniupnpc in the package
in sid in my next upload.