View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011040CMakeCPackpublic2010-07-27 02:382012-09-05 06:42
ReporterFunda Wang 
Assigned ToDavid Cole 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in VersionCMake 2.8.4 
Summary0011040: TXZ support to cpack
DescriptionCurrently, cpack only supports TZ, TGZ, TBZ2, ZIP as its compress format. It would be better it could support TXZ (tar.xz) also.
Additional InformationThere 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.
TagsNo tags attached.
Attached Files

 Relationships
has duplicate 0013072closed Allow CPack to generate tar.xz archives 
related to 0013515closed ExternalProject doesn’t handle .tar.xz 

  Notes
(0021523)
Eric NOULARD (developer)
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 (manager)
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 (manager)
2011-04-04 12:00

Closing resolved issues that have not been updated in more than 3 months.

 Issue History
Date Modified Username Field Change
2010-07-27 02:38 Funda Wang New Issue
2010-07-28 13:21 Eric NOULARD Note Added: 0021523
2010-12-15 10:29 David Cole Assigned To => David Cole
2010-12-15 10:29 David Cole Status new => assigned
2010-12-15 10:31 David Cole Note Added: 0024155
2010-12-15 10:31 David Cole Status assigned => resolved
2010-12-15 10:31 David Cole Fixed in Version => CMake 2.8.4
2010-12-15 10:31 David Cole Resolution open => won't fix
2011-04-04 12:00 David Cole Note Added: 0026062
2011-04-04 12:00 David Cole Status resolved => closed
2012-03-30 13:04 Brad King Relationship added has duplicate 0013072
2012-09-05 06:42 Eric NOULARD Relationship added related to 0013515


Copyright © 2000 - 2018 MantisBT Team