Opened 9 years ago

Closed 9 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:
Has a Patch: no 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 9 years ago.
cd build/jam ; patch -p0 -i OptionalPackages-Tar1_22-XzUtils.patch
OptionalPackages-Tar1_22-XzUtils.v2.patch (677 bytes) - added by augiedoggie 9 years ago.
updated the urls/filenames from the original patch

Download all attachments as: .zip

Change History (10)

comment:1 Changed 9 years ago by mmadia

note: this also requires xz-utils.

Changed 9 years ago by mmadia

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

comment:2 Changed 9 years ago by mmadia

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 Changed 9 years ago by augiedoggie

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.

Changed 9 years ago by augiedoggie

updated the urls/filenames from the original patch

comment:4 Changed 9 years ago by scottmc

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 Changed 9 years ago by mmadia

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 Changed 9 years ago by scottmc

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 Changed 9 years ago by mmadia

Blocked By: 5508 added

comment:8 Changed 9 years ago by scottmc

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.