Thomas Bernard
995f9182fe
Fix the test for Linux or NetBSD to not add -liconv
...
fix 244e856e9ff23bbb855e4e6b2d22d7cb9856a632 which broke on FreeBSD
2018-07-27 14:39:59 +02:00
Thomas Bernard
65564d653f
Generate doxygen doc in doc/doxygen with make
2018-07-27 14:29:25 +02:00
Ryo ONODERA
244e856e9f
Fix build under NetBSD with native X.org (/usr/X11R7) and modular X.org (/usr/pkg)
...
* Use pkg-config for X.org
* Exclude -liconv for NetBSD too
* sysctl(3) of NetBSD requres _NETBSD_SOURCE
2018-07-24 23:58:20 +09:00
Thomas Bernard
88430bb92f
Add NO_X11 option at compiletime to disable X11 specific stuff with SDL driver
...
just compile with
$ NO_X11=1 make
2018-07-20 12:26:52 +02:00
Thomas Bernard
d7c6193c21
SDL/x11 : make Copy/Paste and Drag&Drop work
2018-07-17 01:09:04 +02:00
Thomas Bernard
7fb77f85f1
Add GFX2_Log() function
2018-07-12 19:11:39 +02:00
François Revol
60a10f0754
atari: allow building for ColdFire for the FireBee
...
While GCC is usually built with multilib to allow targetting the m5475
instead, it's simpler to just have both toolchains around and change the
host triplet prefix, and each version of the libs installed separately.
This could be done by passing ARCH=m5475 MCPU= to make.
2018-07-09 01:32:40 +02:00
François Revol
7d6051841b
atari: check for libpng 14 and 16 as well
...
The NetSurf SDK currently has 16 already.
2018-07-09 01:30:29 +02:00
Thomas Bernard
2eec1f805b
build Mac OS X binary with SDL2
2018-07-07 15:31:41 +02:00
Thomas Bernard
28249f13b5
use BRANCH from TRAVIS_BRANCH
2018-07-07 15:31:41 +02:00
Thomas Bernard
1910637d91
get rid of versiontag file in favour of VERSIONTAG variable
...
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-07 15:31:41 +02:00
Thomas Bernard
17e82d70dd
move Info.plist to src/ and include in source tarball
2018-07-07 15:31:41 +02:00
Thomas Bernard
01c82fe6ac
fix "make clean" when not a git repository
2018-07-07 15:31:41 +02:00
Thomas Bernard
4edd85cf12
cleanup/simplify "make ziprelease"
...
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-07 15:31:41 +02:00
Thomas Bernard
27fe91a304
include gfx2.rc file in ziprelease
2018-07-07 15:31:41 +02:00
Thomas Bernard
d0ac732d8e
X11: fix for Mac OS X
2018-07-04 16:00:01 +02:00
Thomas BERNARD
815e77aff3
Allow to compile for X11 under OS X
2018-07-02 11:38:52 +02:00
Thomas Bernard
d7abcb36c9
better update of FILEVERSION in gfx2.rc
2018-07-02 11:38:52 +02:00
Thomas Bernard
d5d518864f
update Win32 ressource with Makefile
2018-07-02 11:38:51 +02:00
Thomas Bernard
77f36a1f8e
x11 implementation
2018-07-02 11:38:51 +02:00
Thomas Bernard
b6dec6d3f7
fix link with SDL_ttf when cross compiling for windows
2018-07-02 11:38:51 +02:00
Thomas Bernard
b4f4fcf51d
SDL2: fix link with SDL2_ttf lib
2018-07-02 11:38:51 +02:00
Thomas Bernard
4b28894bb8
cross compilation of Win32 version (using win32 API)
2018-07-02 11:38:51 +02:00
Thomas Bernard
4d86b8a0c1
change all references to SDLK_xxxxx to KEY_xxxx
...
+ some fixes
2018-07-02 11:38:51 +02:00
Thomas Bernard
d86efa58e4
Compilation with SDL2 (to be finalized) > API=sdl2 make
2018-07-02 11:38:51 +02:00
Thomas Bernard
a6c948b27e
don't use SDL in Load_surface() anymore
...
So the init phase does not depend on SDL anymore.
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-02 11:38:51 +02:00
Thomas Bernard
c6975afe94
prepare Makefile to allow build with SDL, SDL2 or another "video API"
...
update Visual C project as well
2018-07-02 11:38:51 +02:00
Alexander Wilms
4ebcb44c63
Make installing to a PREFIX easier and add appdata
2018-06-27 08:02:35 +00:00
Thomas Bernard
92facef46d
Convert comments to UTF-8
...
most were encoded in Latin1 / CP1252
but a few lines in op_c.c were using IBM437/850 !
2018-06-26 11:37:19 +02:00
Thomas Bernard
f4c5c4bb1a
Upgrade to recoil 4.3.0
2018-06-11 00:20:16 +02:00
Thomas Bernard
30be9d975e
Use mingw32-strip when compiling with WIN32CROSS=1
2018-05-22 18:00:28 +02:00
Thomas BERNARD
56a3c9566d
Program_version SVN_revision are now const char[]
2018-05-22 17:34:52 +02:00
Thomas BERNARD
9ff06cbdef
Automatically update the version stored in English.lproj/InfoPlist.strings
...
This are the versions displayed in Finder info and "about Grafx2"
2018-05-15 17:56:45 +02:00
Thomas Bernard
d85e5ee893
Fix build from an extracted grafx2-2.5.*-src.tgz
...
we check if we are in a GIT working tree and load revision
from version.c if we are not.
also includes grafx2-2.5*-src.tgz in artifacts
2018-05-15 15:33:15 +02:00
Thomas Bernard
0890c4490d
Default to CC=gcc but allow to define other values
...
so it is possible to
> CC=clang make (environment)
or
> make CC=gcc-5 (command-line)
2018-05-15 15:33:15 +02:00
Thomas Bernard
5865be3383
fix LUACOPT when cross compiling for WIN32
2018-05-15 15:33:15 +02:00
Thomas Bernard
994b950616
properly set GIT_BRANCH when building on gitlab-ci
...
https://docs.gitlab.com/ce/ci/variables/README.html
CI_COMMIT_REF_NAME
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-05-14 00:05:19 +02:00
Thomas Bernard
f0084545fd
add Icon resource when cross compiling for win32
2018-05-13 19:41:35 +02:00
Adrien Destugues
8e94f338df
Fix "make install".
2018-05-06 19:16:32 +02:00
Adrien Destugues
5918435cd8
Fix haiku/gcc2 build.
2018-05-06 17:02:38 +02:00
Thomas BERNARD
72550efe66
OSX : build a zip containing Grafx2.app
2018-04-06 20:03:54 +02:00
Thomas BERNARD
54baf87bb0
Mac OS X: use bsdtar or gnutar instead of default tar if available
2018-04-06 17:01:50 +02:00
Thomas Bernard
49bc467358
Fix Makefile for building with RECOIL + update Makefile.dep
...
it was failing when building with make -j3
2018-03-05 15:42:14 +01:00
Thomas Bernard
d9ca8c044b
Allow to compile without RECOIL (make NORECOIL=1)
2018-03-05 15:42:14 +01:00
Thomas Bernard
44b1d5a466
Try to load images with RECOIL (REtro COmputer IMage Library)
2018-03-05 15:42:14 +01:00
Thomas Bernard
c29a52a4b2
WIN32 Cross build now includes lua
2018-02-22 11:26:40 +01:00
Thomas Bernard
8ec19f523b
Easy leakchecks with "make valgrind"
...
result is readable thanks to the suppression file
2018-02-20 17:24:00 +01:00
Thomas Bernard
519994e005
Add unicoode font files to archives
2018-02-20 15:45:45 +01:00
Thomas Bernard
3322529804
Support for unicode names in directory listing
2018-02-20 15:44:39 +01:00
Thomas Bernard
59f7261c24
Copy 3rd party dll's to bin/. Avoid dependency on libgcc*.dll
2018-02-20 01:06:10 +01:00