Commit Graph

364 Commits

Author SHA1 Message Date
Lars Sundström
4133cf4b9f IOS7: Add GameController capability
Add the GameController framework to the project and enable support for
controller user interaction in the Info.plist file. This allows for
Game Controller compatible devices to notify the application when
connected.

Add GameController framework to configure and ports.mk if not using
Xcode to build the target.
2022-08-08 21:08:56 +01:00
Thierry Crozat
4ce8636640 MACOSX: Build ARM version of Dock plugin when building ARM version of ScummVM 2022-06-05 15:08:44 +01:00
Donovan Watteau
402fba49a8 BUILD: Work around limited sed -i'' on older macOS
On older macOS releases, this would leave `-e` suffixed files, and
there is no easy way to have a portable sed -i'' syntax.

Just force a creating a suffixed backup and immediately delete it.
2022-06-02 19:17:19 +01:00
Donovan Watteau
1a9d251a68 MACOS: Don't run codesign on the bundle when running on Leopard or below
codesign didn't exist on Tiger, and didn't have a --deep option on
Leopard.

Moreover, it was rarely used on these older systems, and previous
releases of ScummVM on Mac PowerPC weren't signed either.
2022-06-02 19:17:19 +01:00
Donovan Watteau
dedabbcfa1 BUILD: Use $(PRE_OBJS_FLAGS) in scummvm-static macos target
Otherwise, making a macOS bundle with plugins wouldn't load any of
these plugins (i.e. -all_load is required).
2022-05-22 23:42:45 +01:00
Donovan Watteau
09959e34c5 MACOSX: Make it possible to embed plugins when making a macOS bundle 2022-05-22 23:42:45 +01:00
Paweł Kołodziejski
a7edd90b6f
IOS: Install engines shader files into app bundle 2022-03-06 23:02:30 +01:00
Thunderforge
fd129ebc0c JANITORIAL: "Mac OS X" and "OS X" to "macOS" in comments
Apple's desktop operating system was formerly called "Mac OS X" and "OS X", but since 2016 it has been called "macOS" (starting with version 10.12).

Changing across all comments and documentation to use this current terminology, except in cases where the historical versions are explicitly referenced. No code changes are made; we should consider changing those in future PRs.
2022-01-29 14:15:05 +01:00
Cameron Cawley
21b0d6ded1 BACKENDS: Replace GLEW with GLAD, part of PR #3463 2021-12-30 14:53:48 +01:00
Le Philousophe
f1c5891524 PORTS: Install plugins in dist-generic target 2021-11-21 21:00:51 +01:00
Thierry Crozat
96979f06ba BUILD: Do not use CpMac in osxsnap make target
The documentation for CpMac indicates that since  Mac OS X 10.4
we can use cp instead, and thet CpMac will be deprecated. It looks
like it was finally removed in Xcode 13 as this is no longer
installed as part of the Xcode command line tools.

Also make sure links are preserved when using cp in the bundle make
target. The -P option is the default on macOS and the various Linux
I checked, but this may not be the case on all systems.
2021-10-11 19:41:18 +01:00
Thierry Crozat
4e503fad1c Revert "BUILD: Add $(DIST_FILES_DOCS) to targets using it"
This reverts commit d1e195c298.
2021-09-04 20:01:32 +02:00
Le Philousophe
d1e195c298 BUILD: Add $(DIST_FILES_DOCS) to targets using it
This makes sure all docs are present before copying them
2021-08-28 11:27:06 +02:00
Thierry Crozat
b33746e37f IOS7: Fix building with Xcode
This partially revert commit 0ff00cca2a and should hopefully
fix bug #12647.

The issue is that the executable name in the Info.plist did not
match the name of the executable generated by Xcode (ScummVM vs
scummvm). I changed it back to $(EXECUTABLE_NAME), which is
automatically replaced by Xcode, and added a sed command to the
make target to replace it with the actual executable name (as
we did with the $(PRODUCT_BUNDLE_IDENTIFIER) already).

An alternative would be to hardcode the name to "scummvm" in the
Info.plist and change the iphonebundle and ios7bundle target to
also use all lower case scummvm when copying the executable.
2021-08-12 21:27:30 +01:00
Orgad Shaneh
13973889a5 DEVTOOLS: Fix output of ideprojects
\t appears literally instead of as a tab.
2021-08-07 12:01:05 +03:00
Orgad Shaneh
5fc24d5ab0 DEVTOOLS: Add also engines/detection_table.h for dist 2021-08-07 12:01:05 +03:00
Orgad Shaneh
e4a9ad000b MAKEFILE: Fix shadow build of ideprojects 2021-08-02 19:12:49 +02:00
Le Philousophe
0ff00cca2a MACOS/IPHONE: Sign whole bundle
Add signing to MacOS for arm64 builds
2021-05-29 17:25:22 +02:00
Orgad Shaneh
eef5a816e6
BUILD: Deduplicate install targets (#2998) 2021-05-07 15:10:37 +03:00
Cameron Cawley
c38e3bdc2a AUDIO: Support building with FluidLite 2021-04-25 20:39:55 +03:00
Cameron Cawley
56e2107dc3 RASPBERRYPI: Remove outdated packaging rules 2021-04-13 19:56:55 +01:00
Le Philousophe
224729ebde BUILD: Add GIF to Apple specific build code 2021-04-11 10:34:57 +02:00
Le Philousophe
51e174f202 ALL: Mark link commands as make recursive
With this make gives access to its jobserver for linker which will use
it when linking with -flto=jobserver
2021-01-17 21:53:15 +01:00
Le Philousophe
72c464bf11 ALL: Use LD instead of CXX when linking
It will be more coherent.
LD is defined to CXX in configure script so it shouldn't change
behaviour.
2021-01-17 21:53:15 +01:00
Vladimir Serbinenko
68a9136e4d
COMMON: Rewrite Encoder and drop dependency on iconv (#2586)
Different platforms have different levels of support of encodings and
often have slight variations. We already have tables for most encoding
with only CJK missing. Full transcoding inclusion allows us to get reliable
encoding results independently of platform. The biggest con is the need for
external tables encoding.dat.

It removes a duplicate table for korean in graphics/korfont.cpp
2020-11-15 16:20:35 +01:00
Thierry Crozat
aa8ff8b551 BUILD: Fix missing SDL in link for macOS bundle target
When SDL_net is not available, or is explicitely disabled, it
was missing the SDL library in the link command for scummvm-static
target used when building a bundle.
2020-11-02 19:03:34 +00:00
Paweł Kołodziejski
32ae55122d PORTS: Rename linux-generic to dist-generic target 2020-11-01 16:09:05 +01:00
Paweł Kołodziejski
02bffb0abb PORTS: Added special generic Linux target for simple archive distribution. 2020-11-01 15:43:30 +01:00
Le Philousophe
f3e00fb6a4 IPHONE: Link with Security framework when using curl
That lets static curl libraries make use of DarwinSSL instead of OpenSSL
2020-11-01 10:11:06 +01:00
Le Philousophe
7c92081aa0 IPHONE: Don't link with SDL if it's unavailable
SDL_Net can be compiled without the need of SDL so avoid linking with
it.
Define WITHOUT_SDL as it's done (for nothing) in create_project
2020-11-01 10:11:06 +01:00
Lothar Serra Mari
f37ff8cc3a BUILD: Fix filename for libGLEW in the macOS target 2020-10-27 10:21:38 +01:00
LMerckx
7bec7b7d31
CONFIGURE: Also install shaders if gles2 enabled (#2513)
CONFIGURE: Also install shaders if gles2 enabled
2020-10-12 18:26:41 +02:00
Paweł Kołodziejski
35b9cccbde ALL: Merge ResidualVM 2020-10-09 19:44:13 +02:00
Pawel Kolodziejski
4d9192f7e9 MACOS: Fixed osxsnap build 2020-10-07 13:59:42 +02:00
Pawel Kolodziejski
4f8f566299 ALL: Sync with ScummVM rev: c52f7e0e04 2020-10-05 14:54:26 +02:00
Thierry Crozat
d3dc102b6a BUILD: Fix making iphone bundles 2020-10-05 10:41:16 +01:00
Pawel Kolodziejski
1e76f13147 PORTS: Another attempt to fix travis macos build 2020-10-05 01:51:42 +02:00
Pawel Kolodziejski
d06860afac BUILD: Fixed macos static build 2020-10-05 01:27:43 +02:00
Thierry Crozat
5b0b23e760 MACOSX: Fix bundle make target 2020-10-04 18:51:50 +01:00
Thierry Crozat
8fc5450aae IOS: Remove UILaunchStoryboardName from Info.plist in ios7bundle target
Currently only Xcode knows how to compile storyboard files. But if
we keep the UILaunchStoryboardName in the Info.plist this causes
a black screen on launch, and removing it allows getting the
UILaunchImages instead.
2020-09-06 23:38:08 +01:00
Pawel Kolodziejski
d5304e2568 ALL: Synced with ScummVM - rev: 33a47d23b8 2020-09-03 02:21:14 +02:00
Thierry Crozat
ceb87f20c7 BUILD: Fix macOS static and bundle targets with discord integration 2020-08-25 21:40:06 +01:00
Eugene Sandulenko
2bde24c712 BUILD: Use new MSVC lib names by default 2020-08-22 10:45:00 +02:00
Pawel Kolodziejski
6fed848991 macOS: resynced makefile with scummvm 2020-05-13 22:18:10 +02:00
Pawel Kolodziejski
bd32585c45 ALL: Added missing files, don not enable docker plugin 2020-05-09 20:58:00 +02:00
Pawel Kolodziejski
b586571900 ALL: synced with ScummVM commit 09bf38c120 2020-05-09 20:05:54 +02:00
Thierry Crozat
f6ce06fa4f MACOSX: Support using FriBiDi when building bundle 2020-05-01 00:58:21 +01:00
Thierry Crozat
3b6b881ad4 DIST: Fix dead links in converted README file
This fixes bug #10946.
2020-04-26 15:40:29 +01:00
Pino Toscano
97c7c0758a DISTS: install the AppStream file to the canonical location
The canonical location for AppStream XML files has been changed to
/usr/share/metainfo four years ago at least, with /usr/share/appdata
left as legacy location. It is time to switch to the right location.
2020-04-19 13:56:27 +01:00
Thierry Crozat
9955f72160 MACOSX: Add detection of target OS version in configure
This is used for two purposes:
1. Use the new legacy icon when targeting 10.5 or older. This fixes
bug #11261 MAC OS X: App icon doesn’t display on OS X 10.5.8.

2. Do not attempt to compile the dock plugin in 32 bits when
targeting 10.14 or newer. This fixes the bundle target as support
for compiling 32 bits binaries was removed in SDK 10.14.

This commit also removes the bundle64 target as it is no longer
needed.
2020-03-28 19:04:29 +00:00