PackageInspector
A NEXTSTEP Workspace Manager contents inspector for Installer packages

by Tom Hageman
version 0.96  March 1996

This is a simple inspector for Installer package (.pkg) files.  It displays, in Workspace's Contents Inspector, essentially the same information about the package as Installer's Info view.

INSTALLATION
You should install PackageInspector.bundle somewhere in (a subdirectory of) your Workspace search path, usually ~/Apps or ~/LocalApps.  (I like to install workspace inspectors in /LocalApps/WMInspectors to keep the Apps directory from cluttering up with bundles.)

Note: if you have Jim Million's WrapperInspector installed, this PackageInspector may be obscured by it.  If this happens you have to remove the line that contains ``extension=pkg'' in WrapperInspector's bundle.registry file, and rebuild WrapperInspector.

BUGS
This is a beta release, and the inspector undoubtedly contains some bugs.  If you encounter any, please report them to <tom@basil.icce.rug.nl>.  Suggestions, improvements, money etc. are also welcome.

The current way of determining the package's architectures is slow, needs updating when new versions of NS support new machines, and utterly fails if NEXTSTEP is ever ported to the VAX.  On the bright side, it detects when an architecture is only partially present in the package (this is indicated by parenthizing its name) which serves as a package maker's sanity check.  And it's done by a portable shell script Ð no mucking in internal file formats involved.

LEGALIA
This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License [the file COPYING in the source distribution] for more details.

You should have received a copy of the GNU General Public License along with this software; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

HISTORY
Version	Remarks
0.96	Indicate whether package has been further compressed using gzip_package, a freely available command line package-squashing script by yours truly.
0.951	Avoid deadlock/timeout with [Open] when Installer.app is not yet launched (using the open command-line utility).
0.95	Determine architectures (asynchronously, since this uses a potentially time-consuming heuristic.)  Localize architecture names; use string table copied from Installer.app. Check *.sizes and *.tiff for changes too (along with *.bom and *.info); some UI cleanup.
0.91	Use NXBundle, to find localized resources in .pkg wrapper.
0.9	First public release.
PackageInspector README.rtf 1.12, 1996/03/21 22:50:37.  Copyright ã1994±1996 Tom Hageman.