mirror of
https://github.com/jeremysrand/Apple2GSBuildPipeline.git
synced 2024-12-27 19:30:00 +00:00
Change the way the package installs so it now installs into /tmp and copies into the user's home directory. Apple does not seem to support forcing a package to be installed into a user's home directory any longer.
This commit is contained in:
parent
2cd747e143
commit
a65bd7f8f7
@ -46,7 +46,7 @@ In order to use this infrastructure from macOS, follow these instructions:
|
|||||||
3. You also need [Golden Gate](https://juiced.gs/store/golden-gate/) which is also available for a reasonable price from the Juiced.GS store. Golden Gate allows the Orca tools to execute from a modern Mac (or Windows and Linux system also). Follow the installation instructions for Golden Gate.
|
3. You also need [Golden Gate](https://juiced.gs/store/golden-gate/) which is also available for a reasonable price from the Juiced.GS store. Golden Gate allows the Orca tools to execute from a modern Mac (or Windows and Linux system also). Follow the installation instructions for Golden Gate.
|
||||||
4. Install [FUSE for macOS](https://osxfuse.github.io). FUSE is required for ProFuse which you will install next.
|
4. Install [FUSE for macOS](https://osxfuse.github.io). FUSE is required for ProFuse which you will install next.
|
||||||
5. Install ProFUSE. It is distributed with Golden Gate. When you purchase Golden Gate, you should be given access to a GitLab repository. Among the projects there is ProFUSE which allows your Mac to mount ProDOS volumes. This is used by the build environment to create the bootable disk images.
|
5. Install ProFUSE. It is distributed with Golden Gate. When you purchase Golden Gate, you should be given access to a GitLab repository. Among the projects there is ProFUSE which allows your Mac to mount ProDOS volumes. This is used by the build environment to create the bootable disk images.
|
||||||
5. Install the [Apple IIgs project template](https://github.com/jeremysrand/Apple2GSBuildPipeline/releases/download/2.0.3/Apple2GSXcodeTemplate.pkg). Note that the next time you launch Xcode, you will be asked whether to load the OrcaM.ideplugin. This is part of the project template and will provide better syntax highlighting for assembly and resource files. Select the "Load Bundle" option in the dialog that Xcode shows you.
|
5. Install the [Apple IIgs project template](https://github.com/jeremysrand/Apple2GSBuildPipeline/releases/download/3.0/Apple2GSXcodeTemplate.pkg). Note that the next time you launch Xcode, you will be asked whether to load the OrcaM.ideplugin. This is part of the project template and will provide better syntax highlighting for assembly and resource files. Select the "Load Bundle" option in the dialog that Xcode shows you.
|
||||||
6. Install and setup the [GSPlus](https://apple2.gs/plus/) emulator, the [GSPort](http://gsport.sourceforge.net) emulator and or the mame emulator which is easiest to install using [Ample](https://github.com/ksherlock/ample). Each emulator should work. No matter which you choose, make sure you put a copy of your Apple //gs' ROM into a file called ~/Library/GSPort/ROM (where ~ represents your user's home directory). Unfortunately, the Finder by default hides the Library folder from you so the easiest way to accomplish this is probably from the Terminal.
|
6. Install and setup the [GSPlus](https://apple2.gs/plus/) emulator, the [GSPort](http://gsport.sourceforge.net) emulator and or the mame emulator which is easiest to install using [Ample](https://github.com/ksherlock/ample). Each emulator should work. No matter which you choose, make sure you put a copy of your Apple //gs' ROM into a file called ~/Library/GSPort/ROM (where ~ represents your user's home directory). Unfortunately, the Finder by default hides the Library folder from you so the easiest way to accomplish this is probably from the Terminal.
|
||||||
7. If you plan to use Merlin32 based projects, install the [Merlin32 binaries and libraries](https://www.brutaldeluxe.fr/products/crossdevtools/merlin/). By default, the build system assumes you have installed the Merlin32 binary in /usr/local/bin and put the library macro files in /usr/local/lib/Merlin. If you installed them somewhere else, you can override these location in your projects. Note that in the distribution, the macro files in the library had CR/LF line endings and did not work until I converted them to have LF line endings.
|
7. If you plan to use Merlin32 based projects, install the [Merlin32 binaries and libraries](https://www.brutaldeluxe.fr/products/crossdevtools/merlin/). By default, the build system assumes you have installed the Merlin32 binary in /usr/local/bin and put the library macro files in /usr/local/lib/Merlin. If you installed them somewhere else, you can override these location in your projects. Note that in the distribution, the macro files in the library had CR/LF line endings and did not work until I converted them to have LF line endings.
|
||||||
|
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
<title>Apple IIgs XCode Template</title>
|
<title>Apple IIgs XCode Template</title>
|
||||||
<pkg-ref id="com.halcyontouch.Apple2gsTemplate.pkg"/>
|
<pkg-ref id="com.halcyontouch.Apple2gsTemplate.pkg"/>
|
||||||
<options customize="never" require-scripts="false"/>
|
<options customize="never" require-scripts="false"/>
|
||||||
<domains enable_anywhere="false" enable_currentUserHome="true" enable_localSystem="false"/>
|
|
||||||
<choices-outline>
|
<choices-outline>
|
||||||
<line choice="default">
|
<line choice="default">
|
||||||
<line choice="com.halcyontouch.Apple2gsTemplate.pkg"/>
|
<line choice="com.halcyontouch.Apple2gsTemplate.pkg"/>
|
||||||
|
@ -63,7 +63,7 @@ done < $PROJECTS
|
|||||||
|
|
||||||
rm -f $PROJECTS
|
rm -f $PROJECTS
|
||||||
|
|
||||||
pkgbuild --root $TMPDIR --version 3.0 --identifier com.halcyontouch.Apple2gsTemplate.pkg --install-location /Library/Developer/Xcode/ --scripts pkg/scripts/ Apple2GSXcodeTemplate.pkg
|
pkgbuild --root $TMPDIR --version 3.0 --identifier com.halcyontouch.Apple2gsTemplate.pkg --install-location /tmp/com.halcyontouch.Apple2gsTemplate.pkg/ --scripts pkg/scripts/ Apple2GSXcodeTemplate.pkg
|
||||||
productbuild --distribution pkg/Distribution.xml --resource ./pkg temp.pkg
|
productbuild --distribution pkg/Distribution.xml --resource ./pkg temp.pkg
|
||||||
rm Apple2GSXcodeTemplate.pkg
|
rm Apple2GSXcodeTemplate.pkg
|
||||||
productsign --sign "Developer ID Installer" temp.pkg Apple2GSXcodeTemplate.pkg
|
productsign --sign "Developer ID Installer" temp.pkg Apple2GSXcodeTemplate.pkg
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
|
cp -r /tmp/com.halcyontouch.Apple2gsTemplate.pkg/* "$HOME/Library/Developer/Xcode/"
|
||||||
|
chown -R "$USER" "$HOME/Library/Developer/Xcode/"
|
||||||
|
rm -rf /tmp/com.halcyontouch.Apple2gsTemplate.pkg
|
||||||
|
|
||||||
if [ ! -f /Applications/Xcode.app/Contents/Info.plist ]
|
if [ ! -f /Applications/Xcode.app/Contents/Info.plist ]
|
||||||
then
|
then
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
rm -rf "$2/Templates/Apple IIgs"
|
rm -rf "$HOME/Library/Developer/Xcode/Templates/Apple IIgs"
|
||||||
rm -rf "$2/Templates/File Templates/Apple IIgs"
|
rm -rf "$HOME/Library/Developer/Xcode/Templates/File Templates/Apple IIgs"
|
||||||
rm -rf "$2/Templates/File Templates/Apple II/Merlin Assembly File.xctemplate"
|
rm -rf "$HOME/Library/Developer/Xcode/Templates/File Templates/Apple II/Merlin Assembly File.xctemplate"
|
||||||
rm -rf "$2/Plug-ins/OrcaM.ideplugin"
|
rm -rf "$HOME/Library/Developer/Xcode/Plug-ins/OrcaM.ideplugin"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user