|
|
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » ZCompress question
|
|
|
|
|
|
|
Re: ZCompress question [message #12903 is a reply to message #12572] |
Tue, 27 November 2007 09:52   |
mr_ped
Messages: 826 Registered: November 2005 Location: Czech Republic - Praha
|
Experienced Contributor |
|
|
But the 7zip library is included with uppsrc I think?
That one should be well capable to produce "7z" archives for sure, maybe even zip? (wouldn't that brake some patents?)
Now I see that's only the LZMA compression method library.
To get full 7-zip format you would probably need to mix it with the source of 7-zip itself ( http://sourceforge.net/projects/sevenzip/ ).
Both library and 7-zip are released also under (L)GPL, so if you are not working on closed source, you can go this way.
But you will still need some time to check the sources of both and copy the needed source into your project.
I'm not sure about "zip", what to do. You should probably call some external packer like 7zip or pkzip with list of files to add archive? That way you will need to deal only with the preparation of files and error handling, but no compression code itself.
It may be a bit more difficult to install your app (either it will require additional install of some supported zip packer, or you will have to deal with licenses to be able to include one of them directly with your application), but it should be much easier to develop it.
Also as long as you don't plan to distribute your application (planning it to use for your personal use only), you may use GPL code in any way you wish without having ever to distribute source or worry about licenses in any way.
@Mirek: hmm.. haven't been 7z LZMA lib under BSD license before?
Weird, I think so. But now it is LGPL with exception that you may link any license code to it as long as you don't modify original LZMA library in any way.
|
|
|
|
Goto Forum:
Current Time: Tue May 13 20:08:40 CEST 2025
Total time taken to generate the page: 0.05679 seconds
|
|
|