Re: [fpc-devel] Create installer for MacOSX
Jonas Maebe wrote: On 1 apr 2005, at 13:55, Vincent Snijders wrote: Another important remark about making a package: always make sure all files you add to a package are owned by root/wheel (or root/admin). You don't want a random user on the target system, who happens to have the same UID as you do, to be able to overwrite those files. PackageMaker has a command line interface for building packages too. Hoe dan? (of bedoel je pax?) try PackageMaker -help Out of a script: $PACKAGEMAKER -build -f $INSTALLDIR \ -r $FPCSOURCEDIR/install/macosx/resources/ \ -d $FPCSOURCEDIR/install/macosx/fpc-1.9.8.pmsp -p ~/pkg/fpc-1.9.9.pkg Vincent. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Create installer for MacOSX
On 1 apr 2005, at 14:16, Vincent Snijders wrote: PackageMaker has a command line interface for building packages too. Hoe dan? (of bedoel je pax?) try PackageMaker -help Out of a script: $PACKAGEMAKER -build -f $INSTALLDIR \ -r $FPCSOURCEDIR/install/macosx/resources/ \ -d $FPCSOURCEDIR/install/macosx/fpc-1.9.8.pmsp -p ~/pkg/fpc-1.9.9.pkg Maybe it's included in XCode 1.5. I'm still using XCode 1.2 Jonas ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Create installer for MacOSX
Jonas Maebe wrote: Maybe it's included in XCode 1.5. I'm still using XCode 1.2 Yes, I most likely have a different version of PackageMaker. I also get a warning: 2005-04-01 07:39:47.651 PackageMaker[18875] CFLog (0): CFPropertyListCreateFromXMLData(): plist parse failed; the data is not proper UTF-8. The file name for this data could be: /Users/fpcfan/src/fpc/install/macosx/fpc-1.9.8.pmsp The parser will retry as in 10.2, but the problem should be corrected in the plist. Vincent. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Create installer for MacOSX
Jonas Maebe wrote: On 14 Mar 2005, at 22:40, Vincent Snijders wrote: I want to create a lazarus installer package for darwin (MacOSX). What tool should I use to create such a package? What tool does fpc use for packaging the compiler for MacOSX? I saw on sourceforge the MacOSX package is a .dmg file. How is that package created? make dmg in the fpc dir? No, manually. Creating a disk image is possible using command line tools, but creating an installer package isn't for some reason. You have to use /Developer/Applications/Utilities/PackageMaker for that. To create a disk image, either use Disk Utility or hdiutil create -imagekey zlib-level=9 -format UDZO -srcfolder srcfolder outputfile Can you add the PackageMaker (script) file to cvs, just like is done for fpc.ist and fpc.spec? Regards, Vincent. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Create installer for MacOSX
On 18 Mar 2005, at 15:10, Vincent Snijders wrote: Can you add the PackageMaker (script) file to cvs, just like is done forfpc.ist and fpc.spec? Not now, cvs.freepascal.org has been compromised. Note that you can use that (binary) file only with PackageMaker afaik, not with any command line tool. Jonas ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Create installer for MacOSX
Jonas Maebe wrote: On 15 mrt 2005, at 05:58, Adriaan van Os wrote: PackageMaker is basically a GUI interface to pax, so it might be possible to create a Mac OS X installer package with command line tools. You would have to look at the file layout of a package by using PackageMaker first or by looking at an existing package. I didn't try this, it is just an idea. Another important remark about making a package: always make sure all files you add to a package are owned by root/wheel (or root/admin). You don't want a random user on the target system, who happens to have the same UID as you do, to be able to overwrite those files. Thanks for the hints. I found these links: http://s.sudre.free.fr/Stuff/PackageMaker_Howto.html http://s.sudre.free.fr/Software/Iceberg.html Both tools seem to be able to build a package from the command line (maybe not create a new package script). For my purposes that would be good enough. Regards, Vincent. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Create installer for MacOSX
On 15 mrt 2005, at 05:58, Adriaan van Os wrote: PackageMaker is basically a GUI interface to pax, so it might be possible to create a Mac OS X installer package with command line tools. You would have to look at the file layout of a package by using PackageMaker first or by looking at an existing package. I didn't try this, it is just an idea. Another important remark about making a package: always make sure all files you add to a package are owned by root/wheel (or root/admin). You don't want a random user on the target system, who happens to have the same UID as you do, to be able to overwrite those files. Jonas ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Create installer for MacOSX
On 14 Mar 2005, at 22:40, Vincent Snijders wrote: I want to create a lazarus installer package for darwin (MacOSX). What tool should I use to create such a package? What tool does fpc use for packaging the compiler for MacOSX? I saw on sourceforge the MacOSX package is a .dmg file. How is that package created? make dmg in the fpc dir? No, manually. Creating a disk image is possible using command line tools, but creating an installer package isn't for some reason. You have to use /Developer/Applications/Utilities/PackageMaker for that. To create a disk image, either use Disk Utility or hdiutil create -imagekey zlib-level=9 -format UDZO -srcfolder srcfolder outputfile Jonas ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Create installer for MacOSX
Jonas Maebe wrote: Vincent Snijders wrote: I want to create a lazarus installer package for darwin (MacOSX). What tool should I use to create such a package? What tool does fpc use for packaging the compiler for MacOSX? I saw on sourceforge the MacOSX package is a .dmg file. How is that package created? make dmg in the fpc dir? No, manually. Creating a disk image is possible using command line tools, but creating an installer package isn't for some reason. You have to use /Developer/Applications/Utilities/PackageMaker for that. PackageMaker is basically a GUI interface to pax, so it might be possible to create a Mac OS X installer package with command line tools. You would have to look at the file layout of a package by using PackageMaker first or by looking at an existing package. I didn't try this, it is just an idea. Regards, Adriaan van Os ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel