macOS clean up and documentation update. Describe how to build macOS 10.13 High Sierra binary without the mouse cursor bug. Instruct git to ignore mac-specific build files, Makefile to clean up mac-specific build files.

This commit is contained in:
Mark K. Kim 2018-05-21 17:02:28 -04:00
parent 9144ebd705
commit 2aa7f4d2ae
4 changed files with 19 additions and 9 deletions

4
.gitignore vendored
View file

@ -7,3 +7,7 @@ src/tp_magic_api.h
tp-magic-config
trans/
*~
TuxPaint.app
TuxPaint.dmg
*.dylib
*.dylib.dSYM

View file

@ -591,7 +591,7 @@ clean:
@-rm -f templates/.thumbs/*.png
@if [ -d templates/.thumbs ]; then rmdir templates/.thumbs; fi
@-if [ "x$(BUNDLE)" != "x" ]; then rm -rf $(BUNDLE); fi
@-rm -f TuxPaint.dmg
@-rm -f TuxPaint.dmg; rm -rf magic/*.dSYM
@echo
# "make uninstall" should remove the various parts from their
@ -1026,6 +1026,7 @@ install-bundlefiles:
@install -m 644 macos/Info.plist $(BUNDLE)/Contents
@install -m 644 macos/tuxpaint.icns $(BUNDLE)/Contents/Resources
@custom/macos.sh
@echo "...Creating TuxPaint.dmg..."
@hdiutil create -volname "Tux Paint $(VER_VERSION)" -srcfolder $(BUNDLE) -ov -format UDBZ -o TuxPaint.dmg

View file

@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>tuxpaint</string>
<key>CFBundleGetInfoString</key>
<string>0.9.23, Copyright 2009-2017, Tux Paint Development Team</string>
<string>0.9.23, Copyright 2009-2018, Tux Paint Development Team</string>
<key>CFBundleIconFile</key>
<string>tuxpaint.icns</string>
<key>CFBundleIdentifier</key>
@ -23,6 +23,6 @@
<key>CFBundleSignature</key>
<string>TXPT</string>
<key>CFBundleVersion</key>
<string>2017-12-24</string>
<string>2018-05-21</string>
</dict>
</plist>

View file

@ -57,17 +57,22 @@ Simply, run:
% make install
... to create the TuxPaint.app application bundle that can be run in-place or
copied to /Applications. Zip it up for distribution.
copied to /Applications. It also creates TuxPaint.dmg for distribution.
KNOWN BUGS
----------
On macOS 10.13 High Sierra:
- The cursor appears with an invert-transparent background due to an issue
with SDL1 on macOS 10.13. The following bug reports have been made:
- The mouse cursor appears with an invert-transparent background due to an
issue with SDL1 on macOS 10.13. A patch to SDL has been issued on May 16,
2018 to fix this issue. Until this patch is officially relased and becomes a
part of the MacPorts package, SDL will need to be built from the source code
that includes the patch to display the mouse cursor correctly under macOS 10.13.
Here are more details:
MacPorts defect #55804 - https://trac.macports.org/ticket/55804
SDL bug #4076 - https://bugzilla.libsdl.org/show_bug.cgi?id=4076
Patch - https://github.com/kanjitalk755/SDL/commit/0296d5e601a5deb5ce2f540a8eafd64dd22dbe69
Source + patch - https://github.com/kanjitalk755/SDL/tree/forHighSierra
Full discussion - https://bugzilla.libsdl.org/show_bug.cgi?id=4076
BACKWARD COMPATIBILITY
@ -117,5 +122,5 @@ macOS. As of this writing, 10.7 is the oldest version of macOS that can be
targetted without errors when compiling the sources of MacPorts libraries
required by Tux Paint.
4th March 2018
21st May 2018
Mark K. Kim <mkkim214@gmail.com>