FS#11013 - Bygfoot

Attached to Project: Community Packages
Opened by Witold Czaplewski (Witi) - Saturday, 26 July 2008, 22:55 GMT
Last edited by Geoffroy Carrier (gcarrier) - Thursday, 20 November 2008, 20:22 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Alexander Fehr (pizzapunk)
Geoffroy Carrier (gcarrier)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Bygfoot is using zip and unzip to compress the savegames, but both are not listed as dependencies.

bygfoot 2.2.1-1

Steps to reproduce:
Always
This task depends upon

Closed by  Geoffroy Carrier (gcarrier)
Thursday, 20 November 2008, 20:22 GMT
Reason for closing:  Fixed
Comment by Gavin Bisesi (Daenyth) - Friday, 15 August 2008, 02:45 GMT
I think the better solution might be using bsdtar (libarchive), as it can handle zip files. Would this be "patching" it overly much? I'm not familiar with this software, so it may not be a good solution.
Comment by Geoffroy Carrier (gcarrier) - Thursday, 20 November 2008, 20:15 GMT
From the manpage:
tar creates and manipulates streaming archive files. This implementation can extract from tar, pax, cpio, zip, jar, ar, and ISO 9660 cdrom
images and can create tar, pax, cpio, ar, and shar archives.

So it actually can't create zip files, only extract them.
Comment by Geoffroy Carrier (gcarrier) - Thursday, 20 November 2008, 20:22 GMT
Anyway, stuff is done from src/file.c in file_compress and file_decompress. It is based on constants defined in support_files/
bygfoot_constants, which include zip and unzip. I corrected dependencies. I hope pizzapunk will be OK with it.

Loading...