Commit Graph

912 Commits

Author SHA1 Message Date
Johannes Schickel
a429411804 IPHONE: Don't link against private framework GraphicsServices.
Nothing from that framework in specific is used, thus it's not required to
link against it.
2014-02-14 02:20:59 +01:00
D G Turner
d918a503ee WII: Fix Gamecube build. Compiler prefix change for r26 SDK missed.
The previous update to the Wii configure sections including changing
the compiler prefix missed changing the Gamecube section.
2014-01-25 09:49:57 +00:00
Johannes Schickel
2fe303ce3f Merge pull request #409 from lordhoto/rtti
Enable RTTI and clean up the code by exploiting the availability of dynamic_cast.
2014-01-23 15:23:12 -08:00
Johannes Schickel
a7f94591b0 BUILD: Enable RTTI on Android.
Thanks to fuzzie for these changes.
2014-01-24 00:22:14 +01:00
Johannes Schickel
10a3b3e960 BUILD: Remove now superfluous _taskbar=no in Wii specific configuration. 2014-01-21 23:15:49 +01:00
Johannes Schickel
f93ebdc936 Merge pull request #421 from lordhoto/taskbar-cleanup
BUILD: Taskbar Cleanup/Fixes
2014-01-21 14:15:19 -08:00
David Turner
b098b74e76 Merge pull request #413 from AReim1982/master
WII: Implement changes needed by DevKitPPC R26 and later
2014-01-21 12:23:56 -08:00
Johannes Schickel
db07a1cfac BUILD: Auto detect taskbar support.
Formerly the taskbar support was *always* enabled except when the backend or
user specified that it should be disabled. This causes nasty crashes for
backends which do not have any taskbar support (like DC, Tizen and probably
more which simply did not disable it so far) when defaultErrorHandler was
called for example (Mass Add is also broken for those).
The SDL (and derived backends) worked around missing taskbar support by
simply faking a dummy taskbar implementation (but still claiming in configure
that we feature taskbar integration, ouch).

To avoid all non-SDL backends from manually specifying _taskbar=no I added
some auto detection code which simply only enables taskbar support in case
ScummVM is built on Win32 or libunity is present.
2014-01-21 19:34:32 +01:00
Johannes Schickel
4412e12deb BUILD: Rename libunity support variable to "USE_UNITY" instead of "USE_TASKBAR_UNITY".
This makes it consistent with other library support variables.
2014-01-21 19:01:28 +01:00
AReim1982
eff22cb43d WII: Implement changes needed by DevKitPPC R26 and later
This changes makes ScummVM compilable with newer versions of DevKitPPC. ScummVM can be linked against the original libogc and libfat. That makes some newer WiiMotes work, improves audio-/video-playback and contains various improvements.
2014-01-21 16:03:47 +01:00
D G Turner
0af3db72c5 CONFIGURE: Disable taskbar integration for Dreamcast.
This caused an exception if a error() call occurs, rather than a
clean exit. This occurred in the defaultErrorHandler() function of
engines/engine.cpp, probably due to g_system->getTaskbarManager()
returning a null pointer.
2014-01-18 12:56:39 +00:00
D G Turner
e3502c8f53 CONFIGURE: Add workaround for GCC bug in Dreamcast toolchain. 2014-01-10 21:41:15 +00:00
Willem Jan Palenstijn
5686d606f0 BUILD: Support libedit readline wrapper
This is used in Mac OS X. Thanks to waltervn for pointing this out and
testing.
2014-01-02 01:04:24 +01:00
D G Turner
ffce805fb2 BUILD: Add code to maintain ordering of engines in generated files.
This is mainly "cosmetic" to keep the SCUMM engine and subengines at
the top of the various files, but probably a good idea to prevent any
subtle regressions associated with changing the order.
2013-11-24 00:48:02 +00:00
D G Turner
19a20ad71f BUILD: Create engines/ dir if necessary, to fix out-of-tree builds 2013-11-24 00:48:01 +00:00
D G Turner
ef85456859 BUILD: Remove need for engine.mk in each engine directory.
Each engine now only has to provide a single configure.engine file
adding the engine into the configure script, which then produces the
required other files automatically.
2013-11-24 00:48:01 +00:00
D G Turner
1ac01d2333 BUILD: Remove need for engine-plugin.h in engines.
This is now generated automatically by the configure script from the
engine directory names.
2013-11-24 00:48:01 +00:00
D G Turner
00c27a28f9 BUILD: Split engines/plugins_table header down to a file per engine.
This is the third and final commit enabling fully pluggable engines.

Now providing an engine folder contains a configure.engine, engine.mk
and engine-plugin.h file, it will be picked up automatically by the
configure script.
2013-11-24 00:48:01 +00:00
D G Turner
aa947c9474 BUILD: Split configure.engines down to a single file per engine.
This is the first part of allowing engines to be added dynamically.
They are placed into a folder in engines/ which must contain a file
named "configure.engine" to add the engine, which is pulled into the
top level configure script automatically.
2013-11-24 00:45:38 +00:00
David Turner
d4d90b3f07 Merge pull request #372 from zeldin/ouya
Basic OUYA support
2013-10-08 18:26:49 -07:00
D G Turner
7be1d48f86 BUILD: Fix libpng detection when compiled as shared library with zlib.
This was breaking AmigaOS4 builds for the porter as his libpng was built
as a shared library depending on zlib. This should be safe for static
builds as well.
2013-09-29 17:13:21 +01:00
Thierry Crozat
4132a3b9c1 CONFIGURE: Better default for static lib prefix on OSX
Instead of always assuming /sw (i.e. fink) it should now also pick up
the macports prefix or /usr/local depending on which one exists.
Of course this can still be overwritten with --with-staticlib-prefix
2013-09-17 21:54:58 +01:00
Johannes Schickel
ac66cc9219 GRAPHICS: Implement JPEGDecoder based on libjpeg. 2013-09-16 15:55:36 +02:00
Marcus Comstedt
237ce0b89b CONFIGURE: Add --host=ouya to the special targets 2013-08-07 16:54:40 +02:00
Alyssa Milburn
8e9aefbf6e CONFIGURE: Use -Wno-long-long when we use -pedantic. 2013-07-16 11:00:34 +02:00
Eugene Sandulenko
0c52bfa43e CONFIGURE: Added more 64bit integers to probing 2013-07-15 19:26:02 +03:00
D G Turner
1e646c5470 DC: Amend tests on serial disable/enable blocks.
These now restore the original release build logic to ensure that we
don't have issues with releases. Missing something here as _debug_build
doesn't seem to work as I expected...
2013-07-11 01:53:06 +01:00
D G Turner
e6259afc23 DC: Only enable serial debug output when --enable-debug is passed.
After this change, release builds will still have serial debug disabled,
but debug builds will now not provide this unless --enable-debug is
passed explicitly. This could have been another option or environment
variable, but other embedded ports do similar things with _debug_build
and this looks like the cleanest way to deal with this.
2013-07-10 05:00:25 +01:00
Kirben
cd8c702544 BUILD: Disable data path in mingw builds, since it was using a hard coded path. All external data files are stored in the Windows executable file anyway. 2013-07-09 11:00:55 +10:00
D G Turner
1ed1106cb2 CONFIGURE: Add missing help messages for newer feature options.. 2013-07-06 05:39:51 +01:00
clone2727
279c9f7841 Merge pull request #343 from clone2727/mpeg2-avi
Add back support for sword1/2 MPEG-2 cutscenes
2013-07-05 15:28:06 -07:00
Filippos Karapetis
701e640184 CONFIGURE: Don't allow the keymapper and the event recorder to be enabled simultaneously 2013-07-05 13:09:43 +03:00
Johannes Schickel
be61cb669a Merge pull request #350 from chrisws/tizen_port_1_6_0a
TIZEN: bada port updated to tizen

Conflicts:
	backends/platform/tizen/system.cpp
2013-07-04 23:33:02 +02:00
Eugene Sandulenko
49210a803a Merge pull request #331 from sev-/gsoc2012-eventsrecorder
GSoC2012: Event Recorder (reworked)
2013-07-04 04:58:54 -07:00
Johannes Schickel
fa61a35acd CONFIGURE: Remove superflous (and broken) command for eventrec. 2013-07-04 14:47:25 +03:00
Johannes Schickel
83f7055836 CONFIGURE: Remove POSIXisms in configure.
This allows configure to work fine on Solaris 10 again. This fixes bug
 #3614513 "A few posixisms have crept into configure (w/ patch)".

Thanks to lblume for his patch.
2013-07-04 01:20:13 +02:00
Chris Warren-Smith
be399188c4 TIZEN: bada port updated to tizen 2013-07-03 07:04:11 +10:00
Matthew Hoops
4ed1bc3a57 CONFIGURE: Make the libmpeg2 properly require 0.4.0 2013-07-01 21:33:10 -04:00
Matthew Hoops
e5e467f5a1 CONFIGURE: Add libmpeg2 as an optional dependency again 2013-06-19 23:58:03 -04:00
Dmitry Smirnov
1d0df53355 BUILD: GNU Hurd & kFreeBSD support
From: Petr Salinger <Petr.Salinger@seznam.cz>
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711320
Bug-ScummVM: https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3614268&group_id=37116
2013-06-06 18:51:26 +02:00
Eugene Sandulenko
f59512c47e RECORDER: Implement Events Recorder 2013-05-17 00:18:09 +03:00
Marcus Comstedt
38b6779136 CONFIGURE: Fix 16bit test for Dreamcast
The Dreamcast backend is called "dc", not "dreamcast".
2013-05-12 16:26:56 +02:00
Max Horn
ab50935afc CONFIGURE: Do not pass LDFLAGS to compiler when -c is specified
This fixes compatibility issues with clang when using -enable-Werror:
clang generates a warning when being passed both "-c" and linker-only
flags like "-L" or "-l". Combined with -Werror, this causes a spurious
configure failure.
2013-04-18 19:56:07 +02:00
digitall
06afc39590 CONFIGURE: Fix OpenGL test broken in previous commit. 2013-04-17 20:02:09 +01:00
digitall
002c6dec0e CONFIGURE: Add workaround for MinGW Win32 antivirus false positive on build.
This is triggered by the scummvm-conf.exe binary produced from the OpenGL test.

It is detected by a generic signature in AVG, Malware-bytes and several other
antivirus programs, so not easy to get this fixed.

This workaround avoids this by adding some redundant output code to the binary
which changes it enough to avoid the signature.
2013-04-17 19:51:23 +01:00
Johannes Schickel
9fa5ac35bf Merge pull request #304 from lordhoto/configure-no-release-default
CONFIGURE: Never enable release_build by default.
2013-02-07 06:16:56 -08:00
hasufell
b65365e0d3 CONFIGURE: Fix build under et_EE locale
Freetype-config reports a broken include dir
when et_EE locale is used. We set LC_ALL
and LANGUAGE to "C" explicitly like autoconf
does to force consistent behavior.
2013-02-01 19:31:15 +01:00
Johannes Schickel
0c5bcc3be8 CONFIGURE: Use -O3 for OpenPandora when optimizations are requested.
Formerly -O3 was only used for release builds.
2013-01-31 01:26:00 +01:00
Johannes Schickel
3a7627812d CONFIGURE: Never enable release_build by default.
This changes the default for Caanoo, GP2x, GP2xWiz, OpenPandora and PS2.
For those now we only disable debug symbols and enable optimizations by
default.
2013-01-26 15:27:34 +01:00
Johannes Schickel
d198ccac26 CONFIGURE: Add option to build as C++11. 2013-01-09 07:53:41 +01:00