Opened 15 years ago

Last modified 15 years ago

#5508 closed enhancement

[WIP-patch] AddExpanerRule — at Initial Version

Reported by: mmadia Owned by: bonefish
Priority: normal Milestone: R1
Component: Build System Version: R1/Development
Keywords: Cc: scottmc
Blocked By: Blocking:
Platform: All

Description

This patch creates a new rule AddExpanerRule, which allows optional packages to add one or more rules to common/etc/expander.rules

It is functional for the P7zip package. However, BuildHaikuImageExpanderRules isn't outputting the desired output for the XZ-Utils package.

common/etc/expander.rules:

"application/x-7z-compressed"	.7z	"7za l %s"	"7za x -y %s"
"application/x-xz"	.tar.xz	"xz -dc %s \
 tar tvf -"	"xz -dc %s \
 tar xvf -"
"application/x-xz"	.txz	"echo %s \
 sed 's/.xz$//g'"	"xz -df %s"

As you'll see, the "|" in build/jam/OptionalPackages is somehow causing an odd looking line break

Change History (0)

Note: See TracTickets for help on using tickets.