Re: 1.3.0-apple2 and X11 Package Preview
Re: 1.3.0-apple2 and X11 Package Preview
- Subject: Re: 1.3.0-apple2 and X11 Package Preview
- From: Martin Costabel <email@hidden>
- Date: Sun, 02 Dec 2007 14:28:43 +0100
Jeremy Huddleston wrote:
On Dec 2, 2007, at 03:03, Harald Hanche-Olsen wrote:
Hmm, I didn't know a .pkg could be a single file. It seems they
always come as a bundle wrapped in a .dmg instead, which makes it
easier to look inside if one is so inclined. Any specific reason you
went for this solution? Is it easier to build that way?
Yeah, I noticed that too. I didn't choose it this way, it's just how it
happened. I first put it in a dmg, but then noticed that it was just a
file and not a dir. I set Leopard as the minimum requirement, so maybe
Leopard's installer has support for single file packages (maybe bzipped
tarballs with some meta-data... but I dunno).
These new one-file pkgs are xar archives. The Leopard system DVD uses
them, too. To list their contents:
xar -tf X11-2.1.0.pkg
To extract into the current directory:
xar -xf X11-2.1.0.pkg
After this, you have a structure like inside a traditional *.pkg bundle.
The files "Payload" and "Scripts" are gzipped pax archives, like the
traditional "Archive.pax.gz".
--
Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden