View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014504CMakeCMakepublic2013-10-22 14:462015-01-05 08:39
ReporterAaron Nowack 
Assigned To 
PrioritylowSeverityfeatureReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformMicrosoftOSWindows OS Version7
Product VersionCMake 2.8.12 
Target VersionCMake 3.1Fixed in VersionCMake 3.1 
Summary0014504: libarchive supports 7-Zip, Add 7-Zip support to cmake
DescriptionAs I understand cmake uses libarchive for inflating tar.gz files. This is useful within ExternalProject_Add as you can pass in a URL of a tar.gz and cmake handles it. Since libarchive _also_ supports inflating 7z formats can cmake also support it?

For example, I wanted to use ExternalProject_Add with a custom build & install step to setup the libusbx binaries [1] on windows but they are in 7z format.

[1] http://sourceforge.net/projects/libusbx/files/releases/1.0.17/binaries/ [^]
Steps To ReproduceExternalProject_Add(
  URL <path to 7z archive>
  ...
)

Is not supported
Additional Informationlibarchive supports 7-zip , https://github.com/libarchive/libarchive [^]
TagsNo tags attached.
Attached Files

 Relationships
related to 0013515closed ExternalProject doesn’t handle .tar.xz 
has duplicate 0014519closed 7z ( LZMA and LZMA2) support for cpack 
has duplicate 0014527closed Provide xz and lz support to ExternalProject module 
related to 0014318closed ExternalProject module needs small patch to allow unpacking of *.tar.xz files 

  Notes
(0034219)
Brad King (manager)
2013-10-22 15:00

IIUC libarchive requires liblzma from http://tukaani.org/xz/ [^] to support 7z formats. This will have to be brought in to the CMake build similar to these:

 Utilities/cmbzip2/
 Utilities/cmcompress/
 Utilities/cmzlib/

with corresponding support for using a system-installed liblzma too.
(0034220)
Eric NOULARD (developer)
2013-10-22 16:43
edited on: 2013-10-22 16:45

The xz/lzma support keeps poping up as feature request.
See related bug/feature requests.

In particular comment:
http://cmake.org/Bug/view.php?id=13072#c29027 [^]

(0036500)
Brad King (manager)
2014-07-30 09:37

After a contributor ported liblzma to C89/90 for us we are finally able to implement lzma support in "cmake -E tar" and ExternalProject:

 CMake: Enable use of liblzma in libarchive
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8436d181 [^]

 ExternalProject: Recognize lzma-compressed files
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=56e6975c [^]
(0037597)
Robert Maynard (manager)
2015-01-05 08:39

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

 Issue History
Date Modified Username Field Change
2013-10-22 14:46 Aaron Nowack New Issue
2013-10-22 15:00 Brad King Note Added: 0034219
2013-10-22 16:42 Eric NOULARD Relationship added related to 0013515
2013-10-22 16:43 Eric NOULARD Note Added: 0034220
2013-10-22 16:45 Eric NOULARD Note Edited: 0034220
2013-10-29 03:17 Eric NOULARD Relationship added has duplicate 0014519
2013-10-31 09:56 Rolf Eike Beer Relationship added has duplicate 0014527
2014-04-09 15:20 Brad King Relationship added related to 0014318
2014-07-30 09:37 Brad King Note Added: 0036500
2014-07-30 09:37 Brad King Status new => resolved
2014-07-30 09:37 Brad King Resolution open => fixed
2014-07-30 09:37 Brad King Fixed in Version => CMake 3.1
2014-07-30 09:37 Brad King Target Version => CMake 3.1
2015-01-05 08:39 Robert Maynard Note Added: 0037597
2015-01-05 08:39 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team