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

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

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

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

Post by abma » 22 Sep 2012, 13:29

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?
0 x

User avatar
hoijui
Former Engine Dev
Posts: 4342
Joined: 22 Sep 2007, 09:51

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

Post by hoijui » 22 Sep 2012, 22:12

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.
0 x

Post Reply

Return to “Dedicated Developer Discussion”

cron