Commit graph

276 commits

Author SHA1 Message Date
Richard Goedeken
fb21340f22 Merge pull request #3 from fayvel/travisci
Add Travis CI configuration file for automatic build tests
2014-07-07 22:08:27 -07:00
Fayvel Victor
b393896e1b Add Travis CI configuration file for automatic build tests
Github provides a Travis CI integration which makes it easy to have a quick
check of a patch before a pull request is accepted. It is not enough to prove
the correctness of a contribution but at least helps to avoid some of the worst
build problems.

This feature *must* be enabled by the mupen64plus administrator *before this
commit is merged*:

- https://travis-ci.org/profile/mupen64plus
- Login via your Github account
- Make sure you are on "https://travis-ci.org/profile/mupen64plus"
- Switch repository to "On"
2014-07-06 12:31:58 +02:00
Richard Goedeken
6f0b800cd1 SDL 1.2 is not deprecated for us, and we shouldnt frighten the user with 6 lines of exclamation points 2014-05-04 11:32:31 -07:00
Ursula Abendroth
ad9815f6c4 Switch by default to SDL2 for Mupen64Plus 2.1
The current version of SDL is 2.0.3. All new releases of distributions contain
this library already. Current Linux distributions and OpenBSD even backporting
patches from Mupen64Plus 2.1 repo to use SDL 2. Android and other mobile
platform don't have support for legacy SDL 1.2.

People like Anthony J. Bentley and Riley Labrecque already requested
a new release of Mupen64Plus 2.1 with SDL2
2014-04-23 19:32:56 +02:00
Richard Goedeken
79022e7499 Merge pull request #1 from bsmiles32/desktop_integration
Add application desktop file and icons.
2014-02-16 21:27:08 -08:00
Bobby Smiles
60d72dc650 Add application desktop file and icons.
SVG logo information
source: https://en.wikipedia.org/wiki/File:Mupen64plus.svg
author: Scott 'Tillin9' Knauert
license: Creative Commons Attribution-Share Alike 3.0 Unported
2014-02-15 03:28:59 +01:00
littleguy77
8622e12da3 android: Add android edition customizations. 2014-01-28 17:35:58 -05:00
littleguy77
ac8a254ac7 build: Add android makefile. 2014-01-28 17:35:45 -05:00
Sven Eckelmann
d1bbbcca5f Replace references to bitbucket with github 2013-12-19 14:35:03 +01:00
Sven Eckelmann
da9e9b4d3b Force line ending type for specific files
Different operation systems (Unix vs. Windows) use different line ending types.
It can easily happen that users from different systems edit files and replace
all line endings of a file with the system specific version. This screws up
diffs and makes merges harder.

Git can normalize line endings for specific files and avoid this problem.
Binary files should be marked to avoid accidentally normalization.
2013-12-19 14:19:07 +01:00
Sven Eckelmann
4999d06015 Convert .hgignore to .gitignore 2013-12-19 14:13:38 +01:00
Richard Goedeken
16996c73bd merged heads, made a few man page changes 2013-09-21 14:11:04 -07:00
Anthony J. Bentley
6c4695cae5 Use more appropriate lists. 2013-09-20 23:02:28 -06:00
Anthony J. Bentley
9986f7a85d Update outdated plugin information. 2013-09-20 22:57:58 -06:00
Anthony J. Bentley
d1408e91c2 Make the manpage match what --help prints out. 2013-09-20 22:50:45 -06:00
Anthony J. Bentley
69cfb75a50 Update manpage to use semantic mdoc macros. 2013-09-20 22:44:46 -06:00
Sven Eckelmann
212be30f54 Don't fail rebuild when header is removed
The *.d depends files for make just list the files used when building an
object file. Removing a file listed in such a dependency file causes make to
search for a way to recreate it. This usually cannot work because these files
aren't autogenerated.

The gcc option -MP can be used to generate empty rule for these files. Removing
a file in a dependency list will then execute this empty rule and continue with
the execution of the creation of the object file. This compilation process will
then automatically correct the dependency file.
2013-09-20 10:31:48 +02:00
littleguy77
4cff083518 Define printf/debug callback for Android builds. 2013-08-30 09:42:28 -04:00
richard42
5d19eca9b5 simplify OSX platform detection in makefile using xcode-select. based on patch from John Pender 2013-07-08 07:39:48 -07:00
Richard Goedeken
ccfa8cf3c3 Added tag 2.0 for changeset 6665d52da57b 2013-07-04 15:48:15 -07:00
Richard Goedeken
04fe4dad22 update version number to 2.0 2013-07-03 07:09:38 -07:00
Richard Goedeken
61c419cee7 updated README 2013-06-27 22:57:15 -07:00
Richard Goedeken
ba2e1d0192 update README and command-line usage console output 2013-06-27 22:31:55 -07:00
Richard Goedeken
77748f1c00 update text files for upcoming 2.0 release 2013-06-26 22:53:10 -07:00
Sven Eckelmann
9a3c294a88 Avoid crash caused by missing initial SDL startup
SDL needs to overwrite the main function to initialize the inner state on some
operating systems. Not doing it this way will cause random crashes and
undefined behaviour.

Systems which need a special main function are for example Apple MacOS,
Android, iPhone or Win32. SDL will handle it automatically and keep systems
without such requirement with an untouched main function.
2013-06-25 14:57:05 +02:00
Richard Goedeken
64d7fa307e tagged v2.0-rc2 2013-06-01 18:00:33 -07:00
richard42
5bf3cc39f6 update msvc11 solution file to use the moved glide64mk2 project files in 'msvc11' 2013-06-01 08:19:46 -07:00
richard42
d1b19e9893 Update msvc11 project file to visual studio 2012 (msvc11) 2013-06-01 07:58:59 -07:00
Sven Eckelmann
dccdaa03ee Allow to statically set SDL_(CFLAGS|LIBS) without sdl-config
n.pepinpe requested in #540 to allow overwriting the automatically searched
CFLAGS and LIBS for used libraries. This should allow distributors to set the
build configuration without patching the makefile. This is important for
systems were pkg-config or sdl-config aren't normally used.
2013-05-11 12:26:18 +02:00
Sven Eckelmann
ff73a2f421 Enable Link-time optimization by default
The GCC introduced Link-time optimization in GCC 4.5 (2010-04-14). This should
be long enough available that interested users have upgraded to a compiler
supporting it.

The MSVC project already enabled WholeProgramOptimization since a long time.
Enabling it by default in GCC seems to be equally valid.
2013-05-11 11:25:56 +02:00
Sven Eckelmann
ef07d7d1c7 Add CFLAGS to the linker step
The GCC manual states for different parameters that the options for compilation
must also be used when linking. The options for compilation are stored in
CFLAGS and added to LINK.o to fix the behavior.

Option which need this are for example -fPIC/-fPIE or -flto.
2013-05-11 10:51:36 +02:00
Richard Goedeken
d048eee443 add glide64mk2 to the solution file 2013-03-20 22:31:21 -07:00
Richard Goedeken
d0cebb5307 add msvc11 project and solution files from mudlord 2013-03-20 22:25:20 -07:00
Richard Goedeken
340c135b7c fixed compiler warnings 2013-03-09 21:30:06 -08:00
richard42
e7d1692e44 merge heads 2013-02-11 09:05:27 -08:00
richard42
f34f491110 changes to fix compile errors in OSX 10.7.5 2013-02-11 09:05:01 -08:00
richard42
f7532d62cd OSX build fix 2013-02-02 22:16:48 -08:00
Sven Eckelmann
aa3e838d0a Introduce WARNFLAGS for default (removable) compiler warning flags 2013-01-02 16:13:45 +01:00
n pepinpe
69e4a968e7 Include SDL header without SDL/ directory 2012-12-31 10:52:25 +01:00
n pepinpe
f8827b148a Fix path to OSX SDK with XCode >=4.3 2012-12-31 10:43:00 +01:00
Richard Goedeken
b7ce0a97a4 merged heads 2012-12-30 15:48:49 -08:00
Anthony J. Bentley
45346e9ccb Minor formatting improvements. 2012-12-24 02:51:36 -07:00
Anthony J. Bentley
ed4f8d906b New sentence, new line. Troff relies on this to detect sentences properly. 2012-12-24 02:47:35 -07:00
Anthony J. Bentley
c17d2bae69 Decompress the manual page. 2012-12-24 02:43:03 -07:00
Sven Eckelmann
42f26b8a03 Use $(OBJDIR) in clean target instead of hardcoded path 2012-12-13 14:53:05 +01:00
Sven Eckelmann
14af485493 Allow to add a postfix for each build
The POSTFIX make option is useful for distributions to compile different
versions of the plugin in parallel. The object files will be stored in a
directory with the postfix appended and the linker result will also have this
postfix appended.
2012-12-13 14:47:33 +01:00
Sven Eckelmann
25217eacdd Fix clean of mupen64plus.exe 2012-12-13 14:19:37 +01:00
Sven Eckelmann
3b7bee6a33 Add CROSS_COMPILE make option
The CROSS_COMPILE make option can be used to automatically prepend the prefix
to all build relevant tools to seamlessly allow cross compilation without
setting each tool name separately.

Cross compiling for MinGW32 would can be done using
$ make -C projects/unix/ CROSS_COMPILE=i686-pc-mingw32- HOST_CPU=i686 UNAME=MINGW
2012-12-13 12:25:38 +01:00
Sven Eckelmann
10b90e4647 Allow to change names of *-config tools for cross compiles 2012-12-13 11:33:49 +01:00
Sven Eckelmann
08b53f2444 Synchronize usage of environmental variables for UNAME with HOST_CPU 2012-12-13 10:52:49 +01:00