MantisBT - CMake
View Issue Details
0014519CMakeCMakepublic2013-10-29 01:262015-01-05 08:39
Ken Phillis 
 
normalfeatureN/A
closedfixed 
CMake 2.8.12 
CMake 3.1CMake 3.1 
0014519: 7z ( LZMA and LZMA2) support for cpack
The only option for windows ( zip ) is useless because it uses a compression mechanism that does not shrink the files nearly enough for reasonable hosting.

An Example of this is that win32 (using approximate size) is 693mb uncompressed, 158mb compressed and with the lzma2 (7z) method it winds up being 28mb compressed. A win64 (also using approximate size) is about 785mb uncompressed, 229mb compressed ( zip), and 79mb using the lzma2 ( 7z ) format. Either way, the compression ratio clearly shows that the compression can be vastly improved because of the fact that there is over 130mb difference in the zip to lzma2 compression.
No tags attached.
duplicate of 0014504closed  libarchive supports 7-Zip, Add 7-Zip support to cmake 
related to 0013072closed  Allow CPack to generate tar.xz archives 
Issue History
2013-10-29 01:26Ken PhillisNew Issue
2013-10-29 03:17Eric NOULARDRelationship addedduplicate of 0014504
2013-10-29 03:18Eric NOULARDNote Added: 0034276
2013-10-29 08:57David ColeNote Added: 0034282
2013-11-01 16:57Brad KingRelationship addedrelated to 0013072
2014-07-30 09:36Brad KingNote Added: 0036499
2014-07-30 09:36Brad KingStatusnew => resolved
2014-07-30 09:36Brad KingResolutionopen => fixed
2014-07-30 09:36Brad KingFixed in Version => CMake 3.1
2014-07-30 09:36Brad KingTarget Version => CMake 3.1
2015-01-05 08:39Robert MaynardNote Added: 0037596
2015-01-05 08:39Robert MaynardStatusresolved => closed

Notes
(0034276)
Eric NOULARD   
2013-10-29 03:18   
This is kind of duplicate of 0014504.
See also related bugs/feature request therein.
(0034282)
David Cole   
2013-10-29 08:57   
"useless" is kind of a strong word to use here... perhaps "less than ideal" would be a better way to phrase that.

The zip functionality is certainly something that many folks have used and appreciated over the years, despite its "less than 7z" capabilities.

Calling it "useless" is probably not the best way to motivate the hard-working folks who built it in the first place to extend it.

I am pretty sure there were licensing concerns at some point in the past that precluded the easy use of 7z formats on all supported CMake platforms. Perhaps things have changed and need to be re-evaluated.


By the way: patches are welcome.

Thanks for helping to make CMake better.
(0036499)
Brad King   
2014-07-30 09:36   
After a contributor ported liblzma to C89/90 for us we are finally able to implement lzma support in CPack:

 CPack: add generators for .7z and .tar.xz
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f931a18c [^]
(0037596)
Robert Maynard   
2015-01-05 08:39   
Closing resolved issues that have not been updated in more than 4 months