replace lib/minizip & lib/7z with libarchive?

replace lib/minizip & lib/7z with libarchive?

Discussion between Spring developers.
Post Reply
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

replace lib/minizip & lib/7z with libarchive?

Post by abma »

i've searched a bit for a lib to extract archives for pr-downloader and found libarchive. Since version 3 it supports 7z, so it could be used in spring, too.

libarchive compiles on all platforms, also it seems to be available on most of them as package.

is it worth the trouble to use it in spring?

imo the code in System/FileSystem can be cleaned as SevenZip & ZipArchive can be merged...


thoughts?
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: replace lib/minizip & lib/7z with libarchive?

Post by hoijui »

so what exactly would change?
+ 1 lib
- 2 lib
- 2 source files
+ 1 source file
?

edit:
ouh wait...
thats what the title says :D
if libarchive is really good as in.. well maintained and such, then i would say it sounds good.
Post Reply

Return to “Dedicated Developer Discussion”