Bug#739486: game-data-packager: Please add support for Tyrian data using following patch.

Alexandre Detiste alexandre.detiste at gmail.com
Thu Feb 20 20:52:14 UTC 2014


Hi,

After digging in /usr/lib/game-data-packager/game-data-packager-shared ,
I found that gdp_unzip() is deprecated and when working archive with
subfolders; his behaviour depends on installed packages (unzip versus
7zip).

So "it works for me" because I have 7zip installed.

Here is a new patch using new function "gdp_unzip_paths()", this
should work for everybody. I tested it with all three avaible
unzippers.



2014-02-19 17:32 GMT+01:00 Etienne Millon <me at emillon.org>:
> Hi,
>
> After applying this patch I to run "game-data-packager tyrian -w" and
> got the following error:
>
>> 2014-02-19 17:26:04 (1.10 MB/s) -
>> '/tmp/game-data-packager.f61l7L/tyrian21.zip' saved
>> [4754048/4754048]
>>
>> rm: cannot remove '*.exe': No such file or directory rmdir: failed
>> to remove '/tmp/game-data-packager.f61l7L': Directory not empty
>
> I presume that's because you're in the wrong directory at:
>
>> +    gdp_unzip "$ZIPFILE"
>> +    rm *.exe
>> +    rm *.ovl
>> +    rmdir tyrian21
>
> (the rmdir is suspicious, too)
>
> Thanks for your work!
>
> --
> Etienne Millon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tyrian_v2.patch
Type: text/x-patch
Size: 9775 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20140220/8a025396/attachment.bin>


More information about the Pkg-games-devel mailing list