Opened 14 years ago

Closed 14 years ago

#5155 closed enhancement (fixed)

update tar to 1.22 to get 'xz' support

Reported by: mmadia Owned by: nobody
Priority: normal Milestone: R1
Component: Applications/Command Line Tools Version: R1/Development
Keywords: Cc:
Blocked By: #5508 Blocking:
Platform: All

Description

xz is a lossless data compression file format that uses the LZMA2 compression algorithm. Like gzip and bzip2, it does not bundle more than one target file into an archive. Wikipedia

Version 1.22 now includes support for xz GNU Tar Release Info

Attachments (2)

OptionalPackages-Tar1_22-XzUtils.patch (677 bytes ) - added by mmadia 14 years ago.
cd build/jam ; patch -p0 -i OptionalPackages-Tar1_22-XzUtils.patch
OptionalPackages-Tar1_22-XzUtils.v2.patch (677 bytes ) - added by augiedoggie 14 years ago.
updated the urls/filenames from the original patch

Download all attachments as: .zip

Change History (10)

comment:1 by mmadia, 14 years ago

note: this also requires xz-utils.

by mmadia, 14 years ago

cd build/jam ; patch -p0 -i OptionalPackages-Tar1_22-XzUtils.patch

comment:2 by mmadia, 14 years ago

cpr420 aka augiedoggie provided updated archives for tar 1.22 & xz-utils 4.999.9. Even though they were compiled on gcc4, the binaries run properly on gcc2 non-hybrid.

My apologies for not creating the patch from $(HAIKU_TOP).

comment:3 by augiedoggie, 14 years ago

Version: R1/alpha1R1/Development

Due to a faux pas on my part, the package names had the wrong date format in the filename. The packages have been renamed on the haiku-ports server and I will attach an updated version of the patch done by mmadia.

by augiedoggie, 14 years ago

updated the urls/filenames from the original patch

comment:4 by scottmc, 14 years ago

Perhaps put the xz-utils into it's own optional package and look into adding the expander rules as was done for p7zip. Maybe break the patch into two parts, one to update tar and one to add xz-utils. When adding xz-utils add tar as a dependency.

comment:5 by mmadia, 14 years ago

Hmm.. Makes sense. The BuildHaikuImageExpanderRules may need to be moved out from build/jam/OptionalPackages, to support adding multiple rules to the same file -- sort of similar to how AddUserToHaikuImage works.

comment:6 by scottmc, 14 years ago

Added the updated tar in hrev35694. Let's keep this ticket open until the xz-utils issue with the expander rules is taken care of.

comment:7 by mmadia, 14 years ago

Blocked By: 5508 added

comment:8 by scottmc, 14 years ago

Resolution: fixed
Status: newclosed

#5508 has now also been fixed, so now closing.

Note: See TracTickets for help on using tickets.