Re: Tecnoballz

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Personally I don't see the point of going through the effort for a shared scoreboard. When I fixed up Ostrich Riders, I specifically put the scoreboard in the user directory rather than go through that effort.

The failed build gives this error:
tiles_background.cc:748:35: error: narrowing conversion of '128' from 'int' to 'char' inside { } [-Wnarrowing]

From looking at the code you have a big array defined in tiles_background.cc. If you add in casts it get rid of the error. So for this:

char x[2] = {0x30, 0xF2};

change it to:

char x[2] = {0x30, (char)0xF2};

Granted it might be easier to just upgrade to the new version.

On Sat, 2016-03-26 at 14:11 +0100, Andrea Musuruane wrote:
Hi all,
    I am Tecnoballz maintainer.

Currently Tecnoballz is failing to build in rawhide:
https://bugzilla.redhat.com/show_bug.cgi?id=1308179

There is a new upstream version (0.93.1) and it builds without problems. I also added Debian/upstream patches.

In order to allow a shared scoreboard file, the Games Packaging guidelines strongly suggest to make the executable setgid 'games' and to drop setgid privileges as soon as possible:
https://fedoraproject.org/wiki/SIGs/Games/Packaging

I tried to port the patch Hans De Goede did for version 0.92:
https://bugzilla.redhat.com/show_bug.cgi?id=234563#c4
http://pkgs.fedoraproject.org/cgit/tecnoballz.git/tree/tecnoballz-0.92-dropsgid.patch

But since I don't know C++ I didn't succeed.

I hope someone can help me with this task.

Work in progress spec and src.rpm can be found here:
https://dl.dropboxusercontent.com/u/12575912/reviews/tecnoballz.spec
https://dl.dropboxusercontent.com/u/12575912/reviews/tecnoballz-0.93.1-1.fc23.src.rpm

Thanks,

Andrea

_______________________________________________
games mailing list
games@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/games@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
games mailing list
games@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/games@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Music]     [Fedora Extras]     [Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [CentOS]     [Gimp]     [Yosemite News]     [Yosemite Camping]

  Powered by Linux