Changes between Initial Version and Version 7 of Ticket #5508


Ignore:
Timestamp:
Mar 1, 2010, 11:26:13 PM (10 years ago)
Author:
mmadia
Comment:

The patch is updated. One thing that puzzles me, in hrev34942 echo -e ... was removed as the '-e' option isn't supported on FreeBSD. Despite this, action BuildHaikuImageExpanderRules seems to work without issue.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5508

    • Property Cc scottmc added
    • Property Summary [WIP-patch] AddExpanerRule[patch] AddExpanderRuleToHaikuImage
    • Property Blocking5155
  • Ticket #5508 – Description

    initial v7  
    11This patch creates a new rule AddExpanerRule, which allows optional packages to add one or more rules to common/etc/expander.rules
    22
    3 It is functional for the P7zip package. However, BuildHaikuImageExpanderRules isn't outputting the desired output for the XZ-Utils package.
     3It is functional for the P7zip package and an upcoming XZ-Utils package. Tested in Haiku and FreeBSD.
    44
    55common/etc/expander.rules:
    66{{{
    77"application/x-7z-compressed"   .7z     "7za l %s"      "7za x -y %s"
    8 "application/x-xz"      .tar.xz "xz -dc %s \
    9  tar tvf -"     "xz -dc %s \
    10  tar xvf -"
    11 "application/x-xz"      .txz    "echo %s \
    12  sed 's/.xz$//g'"       "xz -df %s"
     8"application/x-xz"      .tar.xz "xz -dc %s | tar tvf -" "xz -dc %s | tar xvf -"
     9"application/x-xz"      .txz    "echo %s | sed 's/.xz$//g'"     "xz -df %s"
    1310}}}
    14 
    15 As you'll see, the "|" in build/jam/OptionalPackages is somehow causing an odd looking line break