191 Commits

Author SHA1 Message Date
Martin Natano 1013d4c9e8 Update macos app icon 2022-06-29 21:26:52 +02:00
Martin Natano 3eb239ad3b Replace deprecated macOS APIs with modern equivalents 2022-06-05 12:04:37 +02:00
Martin Natano 07e422111c Tweak app bundle 2022-05-24 12:39:55 -07:00
Martin Natano ee65b7b0c4 Replace logo and clean up packaging 2022-05-21 10:05:44 +02:00
Martin Natano 3ca3bb0773 Fix macOS build 2022-04-11 14:50:00 -07:00
Tommy Li 6b524a6c1f Add CMake instructions to copy default resources to app bundle, and add mounting points for those resources. 2019-12-22 21:20:57 -06:00
雪竜 (Tommy Li) bfc3feb6df Specify no high res window in Info.plist template 2019-11-24 00:04:59 -06:00
Tatsh 3c8ee8675d Mac fixes (#1795)
* macOS build fixes (#1773)

* macOS build fixes

Add missing headers
Threads_Pthreads: do not call pthread_setname_np() on macOS as it does not do
the same as on Linux
DebugStr() -> os_log()

* Make the project build with Makefiles on macOS

* Fix getting modifier key state on Mac (#1774)

We really need to clean up all Carbon calls here (many will go away when the
project switches to SDL2 for all platforms)

* Fix Xcode build; bump minimum version of macOS (#1775)

* Build fixes for the "Unix Makefiles" generator
Pass CMAKE_BUILD_TYPE to the external projects
* Fix indent

* Fix setting CFBundleExecutable value

* Improve handling of system libpng

Header mismatch can cause a crash, so force the non-system png.h
if WITH_SYSTEM_PNG=no

* Better handling of TRUE/FALSE with newer versions of jpeglib

* Add JPEG include directory
2019-03-10 13:02:54 -07:00
Jason Felds b8700f11a7 Finally bring ffmpeg 2.1.3 to Mac OS X.
This replaces #611.
2015-10-03 22:32:14 -04:00
Jason Felds aaba7c6e23 Remove deprecated project. Update README.
There was nothing absolutely necessary to bring in to the cmake version from what I can tell.
2015-07-02 20:23:06 -04:00
Jason Felds 999fdfee5a Fix bundle warning. 2015-05-29 09:36:22 -04:00
Jason Felds 283de4f0c2 Restore Xcode debugging with newer builds. 2015-04-18 13:58:16 -04:00
Jason Felds 016a4053e1 More CMake improvements and education.
* `set_target_properties` can have multiple properties assigned in one go.
* Have version information be generated from CMake, not later plist preprocessing.
* Configure the plist file regardless of OS. This should be a safe command: following the example from the knut repository.

The old fashioned Info-StepMania.plist file can be considered deprecated
upon a full migration to CMake.
2015-04-03 23:24:46 -04:00
Jason Felds 6b4c4e298f Restore compilation for non cmake users.
The goal is to move to cmake fully. Dealing with plist issues,
specifically on the version.
2015-04-03 16:04:48 -04:00
Jason Felds b3addbedbc CMake adjusted to allow proper releasing.
Mac side is ready.
2015-03-31 21:17:20 -04:00
Jason Felds 736338dab6 Make sure product_version is set for OS X.
This may go away when we move to cmake for good.
2015-03-22 10:03:50 -04:00
Jason Felds dc94728628 Introduce cmake (min 2.8.12) to StepMania.
tl-dr: view the Build directory to see.

This is intended to replace the project files that we presently maintain
so that only a single set is needed instead of multiples.

The following setups were used for testing:

* Windows 8 and Visual Studio 2013 Desktop Express
* Windows 7 and Visual Studio 2012
* Mac OS X Mavericks and Xcode
* Ubuntu and makefiles
* Fedora 21 and makefiles

All three operating systems can generate projects, compile, link, and
run. Windows and Mac OS X users will find their compiled binary in the
same location as before, but Linux users will be surprised: it goes
straight into the root directory, along with a symlinked GtkModules.so
as appropriate. There is no more need for a manual symlinking step.

Known issues:

* At this time, MinGW likely does not work. Extra time will be needed.
* The WITH_JPEG option may go away, and we'll just always require it.
* Some linux libraries can use the system equivalents, but that is not up yet.

For more information, check out the Build directory.
2015-03-21 20:15:15 -04:00
Dan Guzek b75a00a22c fix OS X bundle scripts
ProductInfo.h used to contain both Family and Version information.  This is no longer the case.

Family (StepMania) is now grabbed out of ProductInfo.h, and
Version (5.0.x) is now grabbed out of ver.h
2015-02-13 05:14:13 -05:00
Jason Felds 890e19f16d Merge branch 'master' of github.com:stepmania/stepmania 2015-01-28 21:46:29 -05:00
Jason Felds a7fc46829e Don't force the old SDK. 2015-01-28 21:46:13 -05:00
Dan Guzek a8c53abcc5 update minimum OS X version in Xcode project
We haven't supported anything older than 10.6.8 for quite a while now.
2015-01-26 07:50:44 -05:00
Dan Guzek 243bdacfcd update Copyright dates in Xcode project 2015-01-26 07:33:38 -05:00
Kyzentun 5958f9d26c Xcode project updated with CubicSpline files by dbk2. 2015-01-10 16:54:15 -07:00
Thai Pangsakulyanont 7dc2bd7f63 Change project to 32 bit 2014-10-11 13:55:49 +07:00
Thai Pangsakulyanont a2e66a7803 Use Quarts to map raw keyboard to character code. 2014-10-11 13:49:43 +07:00
Thai Pangsakulyanont a4f9df9cbc Merge branch 'master' of https://github.com/stepmania/stepmania into MacOSX10.9.sdk 2014-10-11 12:40:18 +07:00
Dan Guzek f81bbffd66 update OSX mkrelease scripts
This allows OS X devs to bundle either a release or a nightly disk image.  See the updated readme for more information.
2014-08-31 21:59:00 -04:00
Thai Pangsakulyanont aadf01ef98 add note 2014-08-02 00:38:43 -07:00
Thai Pangsakulyanont 1c8436ec91 Make StepMania compile in Xcode 5.1.1
project:

- Mac OS X 10.6 SDK is used.
- Architecture has been set to 32-bit. Otherwise, `MemoryCardDriverThreaded_MacOSX` and `HIDDevice` will not compile.
- Replaced the outdated `README` file with a new `README.md`.

libmad:

- Use FPM_64BIT instead of FPM_INTEL. Otherwise, it will not compile. Also, latest Xcode seems not to support `$(...)` expansion in defining macros. Instead, they are hardcoded in the build settings.

stepmania:

- Removed compiler flags `-finline-limit` and `-falign-loops=16`
2014-08-02 00:38:37 -07:00
Kyzentun 1ff292ad24 Readded increment_version.pl because it's actually needed for building on OSX. 2014-08-02 00:38:29 -07:00
Dan Guzek a40b7aa921 new mkrelease script for OS X
This commit does a few things:
1. includes a new mkrelease script for OS X devs to bundle releases with
2. removes the old Perl scripts that sort of accomplished the same task
3. includes a README documenting how to use the new script

The old scripts were brittle and inefficient.

The new script is written in Ruby because it is what I'm familiar with and because OS X has shipped with Ruby since version 10.5.0.
2014-08-02 00:38:28 -07:00
Thai Pangsakulyanont c4c0e9b0a1 [WIP] Update to Mac OS X 10.9 SDK
Untested Parts
--------------

`ArchHooks_MacOSX::DumpDebugInfo()`

- Used `sysctlbyname` to find the Mac OS X version instead of the deprecated `Gestalt`.
    - http://stackoverflow.com/questions/11072804/how-do-i-determine-the-os-version-at-runtime-in-os-x-or-ios-without-using-gesta

`MemoryCardDriverThreaded_MacOSX::Unmount( UsbStorageDevice *pDevice )`

- Updated to use `sync_volume_np` instead of deprecated `PBFlushVolSync`.
    - http://lists.apple.com/archives/carbon-dev/2010/Nov/msg00030.html
2014-07-25 09:14:06 +09:00
Thai Pangsakulyanont 0b8ee8475c add note 2014-07-25 08:45:24 +09:00
Thai Pangsakulyanont 1d1c2925f1 Make StepMania compile in Xcode 5.1.1
project:

- Mac OS X 10.6 SDK is used.
- Architecture has been set to 32-bit. Otherwise, `MemoryCardDriverThreaded_MacOSX` and `HIDDevice` will not compile.
- Replaced the outdated `README` file with a new `README.md`.

libmad:

- Use FPM_64BIT instead of FPM_INTEL. Otherwise, it will not compile. Also, latest Xcode seems not to support `$(...)` expansion in defining macros. Instead, they are hardcoded in the build settings.

stepmania:

- Removed compiler flags `-finline-limit` and `-falign-loops=16`
2014-07-23 12:49:58 +09:00
Kyzentun ddf4ba3a22 Readded increment_version.pl because it's actually needed for building on OSX. 2014-07-17 03:05:50 -06:00
Dan Guzek bf4599421f new mkrelease script for OS X
This commit does a few things:
1. includes a new mkrelease script for OS X devs to bundle releases with
2. removes the old Perl scripts that sort of accomplished the same task
3. includes a README documenting how to use the new script

The old scripts were brittle and inefficient.

The new script is written in Ruby because it is what I'm familiar with and because OS X has shipped with Ruby since version 10.5.0.
2014-07-16 05:04:53 -04:00
Dan Guzek a9deb919d2 update Xcode project to include ActorMultiVertex 2014-06-10 01:08:21 -04:00
Jason Felds 2a360fb8f2 Update the hardware...I think?
Need another Mac user to verify.
2014-03-07 22:26:06 -05:00
Dan Guzek 53e75ae57d Update copyright dates in Xcode project 2014-02-21 23:00:56 -05:00
Jason Felds 9bbefe2240 Attempt prep work for 64 bit just in case.
If SDL2 fails, someone (not me) will have to try to
keep these updated.
2014-02-12 19:40:27 -05:00
Jason Felds 65f0261292 ...seriously? Xcode setting fix for tabs? 2014-02-03 20:57:17 -05:00
Jason Felds 20dc9af218 Missed this from last time. 2014-02-03 18:35:38 -05:00
Jason Felds 264013aa58 Remove multiple duplicate entries. 2014-02-01 23:06:14 -05:00
Jason Felds ae5af084e5 Unify into one 4.6.3 xcodeproj file. 2014-02-01 22:47:55 -05:00
Jason Felds 7ec8de6007 Fix vorbis first of all. 2014-02-01 22:34:16 -05:00
Jason Felds 09f8219a67 Revert "Xcode 5 fixing, part 1."
This reverts commit bfab952b6a.
2013-11-06 23:33:31 -05:00
Jason Felds bfab952b6a Xcode 5 fixing, part 1.
Need someone on xcode 4.x to confirm this works.

Once this file gets fixed, the others will be removed.
2013-11-04 19:45:23 -05:00
Devin J. Pohly d9a37be653 finish removing ScreenPackagesSSC
Missed it in the Xcode projects and HelloWorld.
2013-09-26 12:45:38 -04:00
Jason Felds ef37e0036d Don't require Mac OS X 10.6 SDK. 2013-07-10 21:03:21 -04:00
Dan Guzek 45a2165664 Change XCode's Target Deployment to 10.5. 2013-06-19 21:47:52 -04:00