Commit graph

8 commits

Author SHA1 Message Date
Mark Kim
3c059ffe36 Move custom/macos* files to macos/*
Move all macOS build scripts and resources into the same directory instead of
just having the scripts in one directory and the resources in another.
2021-01-11 18:16:22 -05:00
Mark Kim
d2ef2e17d1 macOS 10.7 compatibility
It's been reported that the latest version of Tux Paint does not run on macOS
10.7 (Lion).  This change fixes the issue.

BACKGROUND

A user has reported Tux Paint 0.9.23 does not run on macOS 10.7.  She also
identified that the issue is due to a system library required by Tux Paint,
/System/Library/Frameworks/CoreGraphics.framework does not exist on macOS 10.7

Some investigation revealed that CoreGraphics.framework is a library required
by libSDL, and it exists under an alternate path in macOS 10.7, underneath
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/.
CoreGraphics.framework also exists underneath this path in newer version of
macOS as a symlink to the real directory as well, so the issue can be fixed by
simply relinking SDL to use the old (compatible) path instead of the new
(default) path to CoreGraphics.framework.

This change adds the code such that, during the `make install` step to create
TuxPaint.app, any library referencing CoreGraphics.framework is re-linked to
the compatible path rather than the path that only exists on the newer version
of macOS.

For more information, see:

https://stackoverflow.com/questions/20206985/xcode-linking-against-applicationservices-framework-with-sdk-10-9-causes-10-7
2018-10-07 17:48:41 -04:00
Mark K. Kim
32a481d655 Documentation update. 2018-05-25 00:48:45 -04:00
Mark K. Kim
b80393c11b Proper DMG support on macOS.
Previously `make install` on macOS created TuxPaint.dmg, but it was a
simple disk image.

Now TuxPaint.dmg is formatted as one would expect from any other macOS app,
with a Tux folder icon, symlink to the /Applications folder, and a
background image with an arrow.
2018-05-25 00:24:46 -04:00
Mark K. Kim
912cd2e625 Fix text not displaying on systems without Fontconfig installed. 2017-12-20 23:19:19 -05:00
Mark K. Kim
472bf79bb9 Trying again... 2017-11-27 01:02:41 -05:00
Mark K. Kim
ea7f013d0d Rework Mac port to be more Linux-like without needing to launch XCode. See
macos/README.txt for information.
2017-11-27 00:56:41 -05:00
William Kendrick
d3552fb7e8 Customization stuff from Eric P's OSX update. 2014-03-19 22:37:37 +00:00