Changes between Initial Version and Version 7 of Ticket #5508
- Timestamp:
- Mar 1, 2010, 11:26:13 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5508
- Property Blocking → 5155
- Property Cc added
- Property Summary [WIP-patch] AddExpanerRule → [patch] AddExpanderRuleToHaikuImage
-
Ticket #5508 – Description
initial v7 1 1 This patch creates a new rule AddExpanerRule, which allows optional packages to add one or more rules to common/etc/expander.rules 2 2 3 It is functional for the P7zip package . However, BuildHaikuImageExpanderRules isn't outputting the desired output for the XZ-Utils package.3 It is functional for the P7zip package and an upcoming XZ-Utils package. Tested in Haiku and FreeBSD. 4 4 5 5 common/etc/expander.rules: 6 6 {{{ 7 7 "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" 13 10 }}} 14 15 As you'll see, the "|" in build/jam/OptionalPackages is somehow causing an odd looking line break