latest osx artifact (and some cleaning)

This commit is contained in:
Dagen Brock 2016-10-14 14:44:58 -05:00
parent aa7d753733
commit bca946fa07
17 changed files with 49 additions and 2 deletions

3
.gitignore vendored
View File

@ -10,3 +10,6 @@ src/16inst_c.h
src/8inst_c.h
src/size_c.h
gsplus
gsportx
gsport

View File

@ -53,10 +53,11 @@ package-osx:
- osx
stage: package
script:
- gzip < gsplus > gsplus-osx-latest.gz
- chmod +x make_dist_mac.sh
- ./make_dist_mac.sh
artifacts:
paths:
- gsplus-osx-latest.gz
- gsplus-osx.tar.gz

33
assets/Info.plist Normal file
View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>gsplus</string>
<key>CFBundleGetInfoString</key>
<string>0.12s, Copyright 2016 Dagen Brock</string>
<key>CFBundleIconFile</key>
<string>gsp-icons.icns</string>
<key>CFBundleIdentifier</key>
<string>com.dagenbrock.gsplus</string>
<key>CFBundleDocumentTypes</key>
<array>
</array>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.12s</string>
<key>CFBundleSignature</key>
<string>gsplus</string>
<key>CFBundleVersion</key>
<string>0.12s</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright 2016 Dagen Brock</string>
<key>LSMinimumSystemVersion</key>
<string>10.3</string>
</dict>
</plist>

BIN
assets/gsp-icons.icns Normal file

Binary file not shown.

0
lib/arch/mac/setfileicon Executable file → Normal file
View File

10
make_dist_mac.sh Executable file
View File

@ -0,0 +1,10 @@
DDIR=gsplus-osx/GSplus.app
ADIR=assets
mkdir -p $DDIR/Contents/MacOS
mkdir -p $DDIR/Contents/Resources
cp gsplus $DDIR/Contents/MacOS
cp $ADIR/Info.plist $DDIR/Contents
cp $ADIR/gsp-icons.icns $DDIR/Contents/Resources
dylibbundler -od -b -x $DDIR/Contents/MacOS/gsplus -d $DDIR/Contents/libs/
tar -cvzf gsplus-osx.tar.gz gsplus-osx/

0
src/arch/mac/classes.nib generated Executable file → Normal file
View File

0
src/arch/mac/makedmg.sh Executable file → Normal file
View File

0
src/macdriver_console.c Executable file → Normal file
View File

0
src/macdriver_generic.c Executable file → Normal file
View File

0
src/make_inst Executable file → Normal file
View File

0
src/make_size Executable file → Normal file
View File

0
src/make_win Executable file → Normal file
View File

0
src/partls.c Executable file → Normal file
View File

0
src/prodos.h Executable file → Normal file
View File

0
src/prodos_protos.h Executable file → Normal file
View File

0
src/to_pro.c Executable file → Normal file
View File