Apache OpenOffice (AOO) Bugzilla – Issue 44015
Different path to PackageMaker
Last modified: 2005-03-31 19:06:43 UTC
Hi, PackageMaker is in /Developer/Applications/Utilities/ instead of /Developer/Applications/ diff -ur epm-3.7.orig/osx.c epm-3.7/osx.c --- epm-3.7.orig/osx.c 2005-02-11 22:18:57.000000000 +0100 +++ epm-3.7/osx.c 2005-02-11 22:19:15.000000000 +0100 @@ -373,7 +373,7 @@ else snprintf(filename, sizeof(filename), "%s/%s", current, directory); - run_command(NULL, "/Developer/Applications/PackageMaker.app/" + run_command(NULL, "/Developer/Applications/Utilities/PackageMaker.app/" "Contents/MacOS/PackageMaker -build " "-p %s/%s.pkg -f %s/Package -r %s/Resources -d %s/%s-desc.plist -i %s/%s-info.plist", filename, prodname, filename, filename, filename, prodname, filename, prodname);
.
On older systems, it is in the old path but as we do not compile on these old systems anyway (because of gcc/XCode requirements), we will use this patch. New versions of epm already check for PackageMaker in both locations: static const char * const pm_paths[] = /* Paths to PackageMaker program */ { "/Developer/Applications/PackageMaker.app", "/Developer/Applications/Utilities/PackageMaker.app", NULL }; but this would make epm patch unnecessary complicated. I'll leave this to volunteers ;-) Patch applied in pj22.
Verified in my local build.