Kaydet (Commit) 797b315b authored tarafından Ivo Hinkelmann's avatar Ivo Hinkelmann

INTEGRATION: CWS aquabundle (1.2.28); FILE MERGED

2007/05/24 20:53:41 obr 1.2.28.1: #i73693# moved office directory structure up in the Mac OS X bundle and renamed program to MacOS
üst 375f9b5c
......@@ -4,9 +4,9 @@
*
* $RCSfile: PostInstall.applescript,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change: $Author: vg $ $Date: 2007-02-26 14:57:02 $
* last change: $Author: ihi $ $Date: 2007-06-05 11:52:07 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -42,8 +42,7 @@
(*==== (global variables as get-functions) ====*)
on getOOInstallPath()
-- return (((path to applications folder from system domain) as string) & "OpenOffice %PRODUCTVERSION.app:" & "Contents:MacOS:")
return (((path to me) as string) & "Contents:MacOS:")
return (((path to me) as string) & "Contents:")
end getOOInstallPath
on getOOResourcesPath()
......@@ -51,7 +50,7 @@ on getOOResourcesPath()
end getOOResourcesPath
on getOOProgramPath()
return (getOOInstallPath() & "program:")
return (getOOInstallPath() & "MacOS:")
end getOOProgramPath
-- OSXSystemFontPathList : {"/System/Library/Fonts/", "/Library/Fonts/"}
......
......@@ -4,9 +4,9 @@
#
# $RCSfile: makefile.mk,v $
#
# $Revision: 1.2 $
# $Revision: 1.3 $
#
# last change: $Author: vg $ $Date: 2007-02-26 14:56:38 $
# last change: $Author: ihi $ $Date: 2007-06-05 11:51:39 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
......@@ -66,8 +66,10 @@ ZIP1LIST = *
.IF "$(GUIBASE)"!="aqua"
CREATOR_TYPE=OOo2
BUNDLEEXECUTABLE=droplet
.ELSE
CREATOR_TYPE=OOO2
BUNDLEEXECUTABLE=soffice.bin
.ENDIF
# --- Targets --------------------------------------------------
......@@ -94,7 +96,8 @@ $(CONTENTS)$/Resources$/Scripts$/%.scpt : application/%.applescript
# Info.plist is just versioned and copied into the bundle
$(CONTENTS)$/%.plist : application/%.plist
make_versioned.sh "$<" "$@"
make_versioned.sh "$<" "$(VERSIONED)/$<"
sed "s|\%BUNDLEEXECUTABLE|${BUNDLEEXECUTABLE}|g" "$(VERSIONED)/$<" > "$@"
# The InfoPlist.strings file has to be in UTF-16, thus a back-and-forth conversion
# is needed for versioning
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment