Commit graph

10 commits

Author SHA1 Message Date
Mark K. Kim
4231370205 Changes to make testing in macOS easier.
Previously, testing in macOS required running `make install`, switching
over to the Finder, then double clicking TuxPaint.app, which was a time
consuming process.  This change allows the tuxpaint binary to be run
directly from the command line (./tuxpaint) without `make install`, which
makes it easier to test any small code change.  Now `make install` is only
required to build the TuxPaint.app bundle for execution from the
Finder.

FYI, `make install` also builds TuxPaint.dmg for distribution.  A small
change is included in this commit to allow TuxPaint.dmg to be built without
building TuxPaint.app (if, for example, you delete TuxPaint.dmg by accident
and need to rebuild it.)  This is done via `make TuxPaint.dmg`.
2018-06-27 22:16:13 -04:00
Mark K. Kim
19ae36662b Add more debugging messages.
Also update macOS build date in the Info.plist file.
2018-06-26 02:13:41 -04:00
Mark K. Kim
93c1ad5dc3 Fix crash when there are 0 font families.
Running Tux Paint under macOS in Korean mode (and some other languages) causes
it to crash, unless "load system fonts" option is also enabled. Some
investigation showed the issue occurs when num_font_families is 0 in fonts.c.
This change removes the assumption from the code that assumes num_font_families
has at least one record.
2018-06-26 01:28:43 -04:00
Mark K. Kim
21813ad860 macOS distribution package tweak.
Previously, the DMG's default window is slightly larger than the
background, exposing some whitespace. This fixes the window size to be
identical to the background image, so no whitespace is exposed.
2018-05-25 23:01:25 -04:00
Mark K. Kim
9a186cb2d8 Minor documentation corrections 2018-05-25 07:57:56 -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
2aa7f4d2ae 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. 2018-05-21 17:02:28 -04:00
Mark K. Kim
d18eaf839b Update build process for macOS. 2018-04-01 15:35:07 -04: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