[haiku-bugs] [Haiku] #5479: [patch] More support for *.tgz

  • From: "mmadia" <trac@xxxxxxxxxxxx>
  • Date: Fri, 26 Feb 2010 05:56:47 -0000

#5479: [patch] More support for *.tgz
--------------------------+-------------------------------------------------
 Reporter:  mmadia        |       Owner:  bonefish      
     Type:  enhancement   |      Status:  new           
 Priority:  normal        |   Milestone:  R1            
Component:  Build System  |     Version:  R1/Development
 Keywords:                |   Blockedby:                
 Platform:  All           |    Blocking:  5455          
--------------------------+-------------------------------------------------
 Per request in http://dev.haiku-os.org/ticket/5455#comment:5 , this patch
 abstracts the rules, actions, & related code for unzipping an archive
 directly to the image file. The new code supports .zip & .tgz

 Some notes:

  * Due to reliance upon $(variable:S), .tar.gz is currently not supported.
  * OptionalPackages can also be .tgz. However the file extension is parsed
 from the URL, which may present some shortcomings.
  * build/scripts/build_haiku_* is passed "tar" instead of <build>tar, due
 to not having tar as a build system tool (src/tools/tar)
  * An updated patch for #5455 has not been tested. Instead, Vision was
 repackaged as .tgz, its original .zip removed, build/jam/OptionalPackages
 patched, and Vision was confirmed to extract properly in {{{ jam -q
 @nightly-raw }}} -- both in jam output & looking at the mounted imagefile.

 {{{ jam -q @nightly-raw }}} output clipping:
 {{{
 Extracting
 /generated/x86gcc2/download/yasm-0.8.0-r1a1-x86-gcc2-2009-08-30.zip ...
 Extracting /generated/x86gcc4/alternative_system_libs.zip ...
 Extracting /generated/x86gcc2/download/Vision-0.9.7-H-090423.tgz ...
 Deleting old MIME database ...
 Installing MIME database ...
 Unmounting ...
 ...updated 510 target(s)...
 /generated/x86gcc2>
 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5479>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: