automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing Mac OS X resource forks from distribution tarballs


From: Peter O'Gorman
Subject: Re: Removing Mac OS X resource forks from distribution tarballs
Date: Thu, 31 Mar 2011 01:29:56 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9

On 03/31/2011 12:28 AM, Ralf Wildenhues wrote:
Hello Dave,

* Dave Hart wrote on Wed, Mar 30, 2011 at 11:06:02PM CEST:
Right, one approach would be to run a dist-hook which strips all
resource forks from distdir files.

It's not really about resource forks, Extended Attributes and Access Control Lists appear in ._ files when not expanded on HFS filesystems.


An equally effective approach which Automake could potentially handle
generally on Darwin would be to instruct tar to ignore resource forks
when creating the tar file.

Please show how that would work.

I don't believe tar has an option to not store EAs and ACLs.


That would incur additional cost the size of the whole source tree, not
just the size of the resource forks.  To me, that seems prohibitive for
large source trees, and moreso for all trees not affected, or not on
Darwin.

While it is a little ugly to see those ._ files when you extract a distribution that was created on Mac OS X, they cause no real issue.

Peter





reply via email to

[Prev in Thread] Current Thread [Next in Thread]