MantisBT - CMake
View Issue Details
0011040CMakeCPackpublic2010-07-27 02:382012-09-05 06:42
Funda Wang 
David Cole 
normalfeaturealways
closedwon't fix 
CMake-2-8 
CMake 2.8.4 
0011040: TXZ support to cpack
Currently, cpack only supports TZ, TGZ, TBZ2, ZIP as its compress format. It would be better it could support TXZ (tar.xz) also.
There is a draft patch here:
http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/cmake/current/SOURCES/cmake-2.8.2-xz-support.patch [^]

But it is based the code of cmake 2.8.1, I don't know if it is suitable for 2.8.2 because of migration to libarchive.
No tags attached.
has duplicate 0013072closed  Allow CPack to generate tar.xz archives 
related to 0013515closed  ExternalProject doesn’t handle .tar.xz 
Issue History
2010-07-27 02:38Funda WangNew Issue
2010-07-28 13:21Eric NOULARDNote Added: 0021523
2010-12-15 10:29David ColeAssigned To => David Cole
2010-12-15 10:29David ColeStatusnew => assigned
2010-12-15 10:31David ColeNote Added: 0024155
2010-12-15 10:31David ColeStatusassigned => resolved
2010-12-15 10:31David ColeFixed in Version => CMake 2.8.4
2010-12-15 10:31David ColeResolutionopen => won't fix
2011-04-04 12:00David ColeNote Added: 0026062
2011-04-04 12:00David ColeStatusresolved => closed
2012-03-30 13:04Brad KingRelationship addedhas duplicate 0013072
2012-09-05 06:42Eric NOULARDRelationship addedrelated to 0013515

Notes
(0021523)
Eric NOULARD   
2010-07-28 13:21   
As far as I understand tar.xz is TAR + LZMA compression.
So it should be easy to copy paste any of
the current TGZ/TZ/TBZ2 generator.

libarchive should support lzma if libzma is found
however lzma support is not currently builtin the CMake tree.

I don't know whether if it would be possible to add
a cmlzmalib just like cmzlib, cmbzip2 etc...

CMake build should not rely on external libs...

May be you may begin by adding a clean
FindLZMA.cmake module and then add a CMAKE_USE_SYSTEM_LZMA
which would makes it possible to build CMake with an
out-of-tree LZMA.

So I would suggest to first submit a FindLZMA.cmake module
see
http://www.vtk.org/Wiki/CMake:Module_Maintainers [^]
(0024155)
David Cole   
2010-12-15 10:31   
Resolved as "won't fix" pending a patch against current (CMake 2.8.3 or git 'master') source tree, and also pending a way to get an lzma lib on all the platforms that CMake currently supports.

If you can do those things, and volunteer to help out with dashboard issues that may arise due to this addition, we'll re-consider this issue.

Please re-open if you have the time and motivation to follow through in this manner.

Thanks.
(0026062)
David Cole   
2011-04-04 12:00   
Closing resolved issues that have not been updated in more than 3 months.