254 Commits

Author SHA1 Message Date
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
Thomas Bernard
8f6e955307 Cross build: Include the right libpng*.dll within the ziprelease 2018-02-19 22:32:00 +01:00
Thomas Bernard
7fb8debbdf use PKG_CONFIG_LIBDIR instead of PKG_CONFIG_PATH when WIN32CROSS=1 2018-02-19 19:56:02 +01:00
Thomas Bernard
49876dcb9c Makefile: use cross compiled libs from ../3rdparty 2018-02-19 19:55:14 +01:00
Thomas Bernard
b70d49349a add CROSS_CC CROSS_PKGCONFIG CROSS_SDLCONFIG for Mingw32 Cross compilation 2018-02-17 19:00:06 +01:00
Thomas Bernard
6a6f9372ba Makefile: Fix PLATFORMFILES for WIN32CROSS 2018-02-17 19:00:06 +01:00
Thomas Bernard
3bab6f36d6 Add git branch name to tgz and zip name if not master 2018-02-17 19:00:06 +01:00
Thomas Bernard
f89b679224 Makefile: automatically rebuild when the CFLAGS, version or label changes 2018-02-16 09:29:23 +01:00
Thomas BERNARD
8969230999 build under OS X > 10.5 2018-02-15 16:20:00 +01:00
Thomas BERNARD
5e3bbca49f Enable UTF8 filename conversion for OS X
HFS drives are using combining characters, so use
UTF-8-MAC encoding for iconv
2018-02-15 16:20:00 +01:00
Thomas Bernard
ffbf51a363 Makefile: OS X tar doesn't support --transform 2018-02-14 09:58:46 +01:00