Commit Graph

1020 Commits

Author SHA1 Message Date
vanfanel
ae1be06db8 RASPBERRYPI: Disable OpenGL ES because it offers no advantage over SDL2. 2015-12-08 21:41:40 +01:00
vanfanel
6deb5ecc88 RASPBERRYPI: Prefer SDL2 over SDL1.2. 2015-12-08 21:41:40 +01:00
vanfanel
66dbb7f485 SDL/DISPMANX: Remove dispmanx graphics output. 2015-12-08 21:41:40 +01:00
vanfanel
8981279580 CONFIGURE: Fix OpenGL ES detection for Raspberry Pi and other SBCs. 2015-12-08 21:41:40 +01:00
vanfanel
9d831d0c42 SDL/DISPMANX Fixed small issues with merging: Use append_var, fix spacing issues and changed SurfaceSdlGraphicsManager constructor call parameters on DispmanXSdlGraphicsManager constructor. 2015-11-12 14:03:14 +01:00
vanfanel
99739a13fe Merge branch 'master' into dispmanx 2015-11-11 17:56:12 +01:00
vanfanel
c362119572 SDL/DISPMANX Renamed the RASBERRYPI define to the less confusing name of DISPMANX because it controls whether dispmanx rendering backend is enabled or not on the Raspberry Pi. 2015-10-18 20:25:53 +02:00
vanfanel
a4bfef8c53 SDL/DISPMANX Removed a redundant and unused configure parameter info related to dispmanx. 2015-10-18 19:31:08 +02:00
vanfanel
aa7734a643 SDL/DISPMANX Corrected configure script so Scummvm cross-compiles with modern Raspbian that uses multiarch. 2015-10-18 13:02:29 +02:00
vanfanel
8382e87baa SDL/DISPMANX: Made minor corrections sugested by fingolfin. 2015-07-24 11:48:21 +02:00
Max Horn
87f7f72888 CONFIGURE: add and use append_var function
This allows replacing constructs like
  LDFLAGS="$LDFLAGS -static-libgcc -static-libstdc++"
by
  append_var LDFLAGS "-static-libgcc -static-libstdc++"
or even
  append_var LDFLAGS -static-libgcc -static-libstdc++
which improves readability and reduces "code duplication", and thus
reduces the risk of introducing certain bugs (e.g. like this one:
  LDFLAGS="$LDFLAG -static-libgcc -static-libstdc++"
2015-07-22 14:32:03 +02:00
vanfanel
b706ca36f1 SDL/DISPMANX: Updated class member names, configure script and asociated files and docs to conform to fingolfin's corrections. 2015-07-22 13:00:45 +02:00
vanfanel
6320a008ec SDL/DISPMANX: Updated rendering code for better buffers management. 2015-07-20 17:15:04 +02:00
vanfanel
bf68de9aa7 RASPBERRYPI: Changed the RGB code for the game screen surface and added RaspberryPi information file. 2015-07-20 17:13:19 +02:00
vanfanel
d5862217c3 RASPBERRYPI: Fixed cross-compilation. 2015-07-20 17:13:19 +02:00
vanfanel
0855b41c07 RASPBERRYPI: Fixed variable names, removed gcc optimization flags, temporary decrease buffers to 2. 2015-07-20 17:11:47 +02:00
Matthew Hoops
a45ff5a6a9 CONFIGURE: Ensure the USE_ALSA define ends up in config.mk 2015-07-07 20:19:47 -04:00
vanfanel
08a3376ba7 RASPBERRYPI: Added Raspberry Pi native 2D API support (dispmanx) 2015-03-29 21:52:53 +02:00
Einar Johan Trøan Sømåen
2d858d817f CONFIGURE: Always link against Cocoa on OS X, since SDL2 doesn't seem to pick it up for us. 2015-03-06 02:21:46 +01:00
Johannes Schickel
6ed60538c6 CONFIGURE: Make SDL_CONFIG override work with a MinGW host. 2015-02-16 02:32:27 +01:00
Johannes Schickel
8530997fff SDL: Add experimental support for SDL2.
This is based upon skristiansson's change set to make ScummVM work with SDL2.
2015-01-25 20:23:25 +01:00
Johannes Schickel
defe71792d CONFIGURE: Allow to overwrite sdl-config to use with SDL_CONFIG. 2015-01-25 19:26:16 +01:00
Matthew Hoops
762e2ca69b CONFIGURE: Use -mlongcall on Mac PPC builds
Calls larger than 32MB away should no longer cause linker errors, provided libraries are rebuilt with that too
2015-01-18 17:00:51 -05:00
Matthew Hoops
e10512c8b9 CONFIGURE: Use "powerpc" instead of "ppc" as config.guess outputs
powerpc-* targets get detected properly again now
2015-01-18 16:58:03 -05:00
Joel Teichroeb
59934881a1 ANDROID: Remove unpacker and fix support for non arm 2015-01-05 20:18:31 -08:00
Eugene Sandulenko
5b19913eb8 CONFIGURE: define HAVE_INT64 when we have 64-bit types.
This has been hanging in the air forever, but for the sake of cleanness
now is defined.
2015-01-04 20:23:27 +01:00
D G Turner
68693f996d CONFIGURE: Add likely fix for AmigaOS4 linker relocation build failure. 2014-12-09 10:51:00 +00:00
Eugene Sandulenko
8e3b6df830 GCW0: Switch to HW floats and introduce the platform define 2014-10-26 19:04:34 -04:00
Eugene Sandulenko
d1169beed1 CONFIGURE: Create port-specific platform for GCW0 2014-10-26 14:32:47 -04:00
Tobia Tesan
ba9401864c CONFIGURE: Use pkgconfig to get CFLAGS for Unity if not supplied
This is not necessary if we got --with-libunity-prefix= (line
1447).
That's not always the case though.
2014-09-21 20:23:49 +02:00
Tobia Tesan
651b271f61 CONFIGURE: Ask for unity >= 3.8.1
Previously we asked for unity == 3.8.1, which broke things everywhere else
2014-09-21 20:19:53 +02:00
raziel-
13d01576b0 AMIGAOS: Get rid of the OS version number
"4" is the version of the OS. It will certainly change with future updates.
2014-08-08 13:50:27 +03:00
D G Turner
469eecb9ee BUILD: Add port specific makefile for AmigaOS4.
This moves the AmigaOS4 specific packaging rules from the global
ports.mk to a port specific makefile in the AmigaOS subdirectory of
the SDL backend (used for AmigaOS).

Previously, port specific makefiles were only used for cross compiling
builds and thus had a single entry in the cross compiling section of
the configure. Since AmigaOS4 is a desktop system supporting native
build, this required a second entry for when the host system is detected
as ppc-amigaos to support native builds.

However, currently this does break packaging of cross compiled builds
for Win32, OSX and Unix when done on AmigaOS4... but this is not likely
and has limited impact. To fix this, default _port_mk lines would need
to be added to the sections of the cross compiling switch for mingw32
etc. to override the AmigaOS4 OS setting of _port_mk.
2014-07-20 04:18:46 +01:00
D G Turner
5efe1047b1 BUILD: Fix AmigaOS4 build variable naming to be clearer. 2014-07-20 03:22:33 +01:00
D G Turner
150ac10a1e CONFIGURE: Fix compilation on IRIX.
Fixes bug #6666 "IRIX: configure mistakenly detects
$_host_alias-strings".
2014-07-01 23:41:02 +01:00
Bastien Bouclet
bf90ad0467 BUILD: Move the PS3 make targets to a separate file 2014-06-28 17:12:43 +02:00
Bastien Bouclet
991999d6d5 CONFIGURE: Disable the event recorder for the PS3
It causes a crash on startup for unknown reasons
2014-06-27 16:11:18 +02:00
Marcus Comstedt
0e45979634 ANDROID: Allow build with non-ancient SDK 2014-06-18 21:40:13 +02:00
Eugene Sandulenko
38ee05d75b CONFIGURE: Detect and use Mac Homebrew if it is installed 2014-05-28 16:58:55 +03:00
Eugene Sandulenko
3de1a9dcaa CONFIGURE: Detect and use Fink if installed 2014-05-28 16:58:55 +03:00
D G Turner
2ff0a553c3 CONFIGURE: Send output for host-alias-strings test to config.log
This is not critical to build configuration and any problems would
be visible by an incorrect endian test result.
2014-05-21 22:26:22 +01:00
D G Turner
d0c3635244 CONFIGURE: Fix information output for host-alias-strings test.
Thanks to LordHoto for the amendment to surpress error output.
2014-05-20 19:29:55 +01:00
D G Turner
e89b0fd439 CONFIGURE: Add support for host-alias prefixed strings binary on LE.
This was missed from the Wii patch as the Wii is Big Endian.
2014-05-18 00:30:12 +01:00
D G Turner
54c957913a CONFIGURE: Add support for host-alias prefixed strings binary.
This is the last outstanding change of patch #1359 - "Update
wii/gamecube configure" submitted on 2010-11-15.
2014-05-17 23:28:00 +01:00
D G Turner
2779e6825c PS2: Fix hardcoded library settings to allow building against old SDK.
The autodetection should be fixed or modified to remove these hardcoded
library enables. For now, we add another minor HACK to disable the
troublesome Tremor Ogg Vorbis enable on older SDK, which should fix the
buildbot builds.
2014-04-30 01:16:42 +01:00
D G Turner
bfc9afbb32 PS2: Add support for building against old SDK if PS2SDK_OLD envvar set.
This will allow compilation using the older SDK until the buildbot
PS2 toolchain SDK can be upgraded and we can confirm the newer SDK
builds are working correctly.
2014-04-29 03:26:53 +01:00
Eugene Sandulenko
c3ffbd884a Merge pull request #426 from sunmax/master
PS2: Pull request to master for latest PS2 code
2014-04-28 21:20:42 +03:00
D G Turner
de3f81845a CONFIGURE: Add help note for option to disable freetype2 usage. 2014-04-18 12:45:49 +01:00
D G Turner
6a984425e8 CONFIGURE: Remove noisy format warnings from AmigaOS4 builds.
This is due to the 4 byte long as int32 which leads to format mismatch
warnings. These are supressed to allow any real issues to be seen.
2014-04-02 13:13:22 +01:00
raziel-
b7f8c11274 CONFIGURE: Fix AmigaOS4 builds with dynamic plugins.
These previously caused crashes due to missing symbols in the dynamic
symbol table.
2014-03-22 01:13:45 +00:00
raziel-
554a1abae1 CONFIGURE: Modify AmigaOS debug information format to plain stabs.
As the GCC manual notes, "On most systems that use stabs format, -g
enables use of extra debugging information that only GDB can use;
this extra information makes debugging work better in GDB but will
probably make other debuggers crash or refuse to read the program."

-gstabs produces stabs without GDB extensions, and thus the AmigaOS
debugger will work.
2014-03-22 01:13:45 +00:00
D G Turner
d7bddea6db ANDROID: Fix platform architecture and thus MIPS builds.
Can't use the first three characters of the ABI as "mips" is four
characters. Better than this is a separate variable anyway.
2014-03-15 19:58:13 +00:00
D G Turner
b827d14924 ANDROID: Modify configure script for multi architecture builds.
The host targets for Android ARM builds are changed to "android-arm"
and "android-arm-v7a", from "android" and "android-v7a", and two new
targets are added of "android-mips" for MIPS and "android-x86" for
x86.

The older "android" and "android-v7a" targets are still supported,
but are deprecated.
2014-03-13 02:15:51 +00:00
Johannes Schickel
948d4feb23 CONFIGURE: Allow iPhone backend to be build with cctools' as. 2014-03-06 21:13:57 +01:00
Thierry Crozat
6d7fcdd2b5 OSX: Implement TaskbarManager for Mac OS X
This implements count badge, progress bar, and icon overlay.
It uses the NSDockTile API which is available since OS X 10.5.
The code compiles and run on older system but without doing
anything.
2014-02-23 21:54:47 +00:00
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
Max Lingua
c65464a43b PS2: Added support for latest SDK in configure 2014-01-23 19:05:39 -05:00
Max Lingua
4ccdb3e2a3 Merge branch 'master' of git://github.com/scummvm/scummvm 2014-01-23 18:33:15 -05: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
Max Lingua
a2313aef66 configure: enhanced PS2 support 2014-01-18 13:41:53 -05: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