Seeking Sponsors for my package - roadfighter

Paul Wise pabs at debian.org
Mon Apr 25 02:42:00 UTC 2016


On Fri, 2016-04-22 at 01:49 -0300, Carlos Donizete Froes wrote:

> My problem is in upstream Makefile which causes some lintian.

Generally, problems with upstream code or build systems should be fixed
by sending upstream a patch and asking them for a new release. If they
don't respond, then you can include the patch in the Debian package.

> 1. P: roadfighter source: debian-watch-may-check-gpg-signature

Needs upstream to sign their releases using OpenPG first, ask them to
do so and ignore the lintian warning until they do that.

https://wiki.debian.org/debian/watch#Cryptographic_signature_verification
https://help.riseup.net/en/security/message-security/openpgp/best-practices

> 2. E: roadfighter: arch-dependent-file-in-usr-share
> usr/share/games/roadfighter/roadfighter

Sounds like it should be installed in /usr/games instead.

> 3. P: roadfighter: no-upstream-changelog

If there is an upstream NEWS file or other changelog-related file not
detected by dh_installchangelogs then you can override the
dh_installchangelogs command to make it install that file. If such a
file does not exist then you can ask upstream to add one.

> 4. W: roadfighter: duplicate-font-file
> usr/share/games/roadfighter/fonts/DroidSerif-Bold.ttf also in
> fonts-droid
> 
> 5. W: roadfighter: duplicate-font-file
> usr/share/games/roadfighter/fonts/DroidSerif-Italic.ttf also in
> fonts-droid

Disable installing these files and replace them with symlinks to the
equivalent file from fonts-droid.

> 6. I: roadfighter: arch-dep-package-has-big-usr-share 13398kB 100%

Split the data out into a roadfighter-common package.

> 7. W: roadfighter: executable-not-elf-or-script usr/games/roadfighter

Looks like upstream intended to add a shell script there but forgot
that shell scripts need #!/bin/sh as the first line.

> 1. In first upstream unfortunately does not have a signature of this
> game. But so far so good. :)

Talk to upstream about it.

> 2. Makefile upstream requires the binary is in the same directory with
> independent files in '/usr/share/games'. I have no idea how to solve
> this. :/

You will need to patch the code and send upstream your changes.

> 3. This third without problem, has no previous changelog.

Talk to upstream about it.

> 4-5. Previously made a 'd/roadfighter.links' with the following path:
> ===
> /usr/share/fonts/truetype/droid/DroidSerif-Bold.ttf /usr/share/games/roadfighter/fonts/DroidSerif-Bold.ttf
> /usr/share/fonts/truetype/droid/DroidSerif-Italic.ttf /usr/share/games/roadfighter/fonts/DroidSerif-Italic.ttf
> ===
> Then blacked out line 12 of Makefile - 'fonts', but to run the binary
> the message "Segmentation fault".

Sounds like you will need to learn debugging (with gdb) to fix this.

> 6. I have no idea how to solve this. :/

See above.

> 7. I made a 'd/install', but as demands that the binary is in the same
> location independent of the game files, which gave error "Segmentation
> fault".
> 
> Also did a binary link to 'usr/games' without success. :/

See above, fixing the Makefile would fix this.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20160425/fc4891c4/attachment.sig>


More information about the Pkg-games-devel mailing list