176 Commits

Author SHA1 Message Date
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
Thomas Bernard
f8c0456b3b make ziprelease: simplify tar option to make OS X tar happy 2018-02-14 09:58:46 +01:00
Thomas Bernard
11ff1bb20f sed I flag in s command is apparently not supported by OS X sed 2018-02-14 09:58:46 +01:00
Thomas BERNARD
db2b1334cd does not define __linux__ under OS X any more. 2018-02-14 09:58:46 +01:00
Thomas Bernard
8fa036c0c4 add forgotten sample lua scripts in ziprelease 2018-01-29 13:40:23 +01:00
Thomas Bernard
55b38da597 remove redondant -c CFLAG 2018-01-29 13:31:38 +01:00
Thomas Bernard
00caf6b668 use $(shell) script to test GNU tar only when building under UNIX (linux, *BSD, etc.) 2018-01-29 13:21:01 +01:00
Thomas Bernard
a0c65b37ec fix PLATFORMFILE gfx2.png path 2018-01-29 13:14:43 +01:00
Thomas Bernard
7c003112d9 compatibility with both BSD tar and GNU tar 2018-01-29 13:14:43 +01:00
Thomas Bernard
80f8728a6c simplified the settings of FONT_FILES 2018-01-29 13:14:43 +01:00
Thomas Bernard
59633fcd0f simplified setting of SCRIPT_FILES and SKIN_FILES in Makefile 2018-01-29 13:14:43 +01:00
Thomas Bernard
83faf708d3 simplified OBJ variable setting in Makefile 2018-01-29 13:14:43 +01:00
Thomas Bernard
8cc0dfa0a6 Prefer lua 5.3 over 5.2 (over 5.1) when looking for the package with pkg-config 2018-01-29 13:14:43 +01:00
Thomas Bernard
589a84fd3d Fix use of FontConfig on non linux platforms (FreeBSD, etc.)
just define USE_FC in the Makefile to have text.c compiled with Fontconfig support
2017-12-20 19:28:46 +01:00
Adrien Destugues
9e55b2d995 Enable -Werror only for Haiku for now.
It is a bit early to have it enabled for all Linux variants out there.
2017-06-23 22:20:08 +02:00
Adrien Destugues
a321c4c785 Fix building with MinGW from Linux 2017-05-08 09:33:01 +02:00
Adrien Destugues
5b6095f0bc Fix all warnings and enable -Werror
mostly unused variables and broken indentation.
2017-05-06 15:13:50 +02:00
Adrien Destugues
c0e625fdef Fix the Linux build. 2017-05-06 14:57:25 +02:00
Adrien Destugues
cf56a34992 Update some things after the switch to git.
- Do not use svnversion to find the version, instead use a revision
  count from git. As a result, the version number jumps back, however,
  so we should have a 2.5 release soon!
- Fix some URLs pointing to either the svn repo,
  or even to google code (!).
2017-03-23 07:29:26 +01:00
Adrien Destugues
2d4ad537ad Haiku: use pkg-config to find lua
The Lua package for Haiku now comes with a pkg-config file, and the
includes were moved around, so get things working again.
2017-03-19 09:03:30 +01:00
Adrien Destugues
76d4630b4c Patch by Thomas Bernard: improve detection of SDL and Lua for macOS.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2174 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2017-01-14 08:47:42 +00:00
Adrien Destugues
9c6f343215 Patch by Thomas Bernard to fix compilation on FreeBSD.
Thanks!

Fixes #50.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2173 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2017-01-03 18:25:35 +00:00
Adrien Destugues
0eaf3fce96 Use iconv to convert filenames from UTF-8.
Patch by miniupnp, with some C89 adjustments.
Enabled for Haiku and the generic Linux/*BSD part of the Makefile.
Please adjust as needed.

Fixes #10 for codepages for which we have a font.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2172 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2016-12-02 19:43:23 +00:00
Adrien Destugues
8808625851 Add a "tall 3" drawing mode.
Pixels with 3:4 aspect ratio. Why not?

Contributed by Nic Soudée (zoner/xylem). Thanks!


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2166 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2016-10-15 18:57:14 +00:00
Adrien Destugues
f2797f6648 Fix more things for Haiku port
* Add an icon in the native format
* Add "resource definition" to the executable (including icon and version info)
* Use the proper API to find the share directory.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2126 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-08-16 12:27:21 +00:00
Adrien Destugues
cc05157ae9 Fix install when datadir is not named "share".
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2119 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-04-29 20:32:54 +00:00
Adrien Destugues
78fcc648c3 Partial merge of the SDL2 branch into trunk
* Mainly get the cleanup of window drawing functions.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2102 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-03-02 13:44:18 +00:00
Adrien Destugues
6a225eb4ed Fix Haiku build.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2087 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-02-23 19:33:41 +00:00
Adrien Destugues
61c8dca353 Add a port to the GCW Zero, contributed by David Knight.
Untested since I don't have the hardware.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2080 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-02-10 20:13:57 +00:00