diff --git a/.gitignore b/.gitignore index 5347b89c7..70346a483 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,7 @@ src/tp_magic_api.h tp-magic-config trans/ *~ +TuxPaint.app +TuxPaint.dmg +*.dylib +*.dylib.dSYM diff --git a/Makefile b/Makefile index 0a9c0dec3..db1c2aad7 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/macos/Info.plist b/macos/Info.plist index 316e863af..f1e461780 100644 --- a/macos/Info.plist +++ b/macos/Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable tuxpaint CFBundleGetInfoString - 0.9.23, Copyright 2009-2017, Tux Paint Development Team + 0.9.23, Copyright 2009-2018, Tux Paint Development Team CFBundleIconFile tuxpaint.icns CFBundleIdentifier @@ -23,6 +23,6 @@ CFBundleSignature TXPT CFBundleVersion - 2017-12-24 + 2018-05-21 diff --git a/macos/README.txt b/macos/README.txt index 0c499f184..ad5ead3d5 100644 --- a/macos/README.txt +++ b/macos/README.txt @@ -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