Updated version number to 99.0
Makefile: README.txt and a new COMPILING.txt are now added in win32 and src packages. Updated NSIS script to 99.0 version. Cleaned up the list of error codes and error messages. Removed a debug print. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@724 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
112
doc/COMPILING.txt
Normal file
112
doc/COMPILING.txt
Normal file
@@ -0,0 +1,112 @@
|
||||
Grafx2 compilation and installation
|
||||
===================================
|
||||
|
||||
=== Requirements ===
|
||||
|
||||
* gcc C compiler
|
||||
* GNU make
|
||||
* SDL library v1.2
|
||||
* SDL_image library
|
||||
* libpng (not on MacOSX)
|
||||
* FreeType library (optional)
|
||||
* SDL_ttf library (optional)
|
||||
|
||||
Extra requirements for Windows:
|
||||
* a POSIX environment: MSYS is fine, maybe Cygwin would work as well.
|
||||
* use Mingw C compiler instead of gcc
|
||||
|
||||
=== Instructions ===
|
||||
|
||||
Open a shell/Terminal, cd to the directory where you have the source code, and
|
||||
type:
|
||||
make
|
||||
If all goes well, it should build grafx2 (the main program) in the current
|
||||
directory. Voilà.
|
||||
|
||||
If you don't have FreeType and SDL_ttf, compile with NOTTF=1, it will
|
||||
build a version without TrueType support : the Text tool will be limited to
|
||||
bitmap fonts, proportional fonts with .ttf extension won't be available.
|
||||
|
||||
=== Build variants ===
|
||||
|
||||
The default compilation is optimized ( -O ), with debugging symbols for GDB.
|
||||
Compile with OPTIM=0 to disable optimizations, if you have some real debugging
|
||||
to do.
|
||||
Compile with OPTIM=3 to use maximum optimizations.
|
||||
|
||||
Compile with NOJOY=1 to disable joystick support.
|
||||
|
||||
=== Other compilation targets ===
|
||||
make clean
|
||||
Erases the generated files
|
||||
|
||||
make depend
|
||||
Re-compute the dependencies (makefile.dep).
|
||||
|
||||
Other compilation targets (make version, make ziprelease) require Subversion
|
||||
and are only useful to contributors to the svn repository of Grafx2.
|
||||
|
||||
=== System specifics ===
|
||||
|
||||
== Unix/Linux ==
|
||||
sudo make install
|
||||
This copies the executable and data files in your system, in the /usr/local/
|
||||
and /usr/share directories. You then no longer need the compilation directory.
|
||||
|
||||
sudo make uninstall
|
||||
Removes the copied files from your system, keeps your configuration.
|
||||
|
||||
== Windows ==
|
||||
Here are the resources used to build the Windows version:
|
||||
|
||||
4DOS
|
||||
with an alias make=mingw32-make
|
||||
|
||||
MSYS
|
||||
installed in C:\MSYS
|
||||
|
||||
Mingw
|
||||
installed in C:\MSYS\mingw
|
||||
|
||||
SDL:
|
||||
SDL-devel-1.2.13-mingw32.tar.gz
|
||||
Uncompress in temporary directory
|
||||
make
|
||||
make install (no effect?)
|
||||
Headers are in /usr/mingw/include/SDL, copy them to /usr/include/SDL
|
||||
|
||||
Zlib:
|
||||
http://gnuwin32.sourceforge.net/downlinks/zlib.php
|
||||
zlib-1.2.3.exe
|
||||
Install in c:\msys\mingw
|
||||
Libpng
|
||||
Requires: Zlib
|
||||
http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/l/li/libpng/
|
||||
libpng-1.0.23.tar.gz
|
||||
Uncompress in temporary directory
|
||||
./configure
|
||||
make
|
||||
make install (long)
|
||||
Files created in /usr/local/include and /usr/local/lib ....
|
||||
|
||||
SDL_image:
|
||||
Requires: Libpng
|
||||
http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/l/li/libsdl/
|
||||
SDL_image-1.2.6.zip
|
||||
Uncompress in temporary directory
|
||||
./configure
|
||||
Check that png worked
|
||||
make
|
||||
make install
|
||||
|
||||
FreeType:
|
||||
http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/m/mi/mingw-cross/
|
||||
mingw-freetype-2.3.7-2
|
||||
Uncompress in c:/mwsys/mingw
|
||||
|
||||
SDL_ttf:
|
||||
No mingw package
|
||||
http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/l/li/libsdl/
|
||||
SDL_ttf-2.0.9-win32.zip for DLLs: libfreetype-6.dll, SDL_ttf.dll, zlib1.dll
|
||||
SDL_ttf-2.0.9.tar.gz
|
||||
|
||||
@@ -3,6 +3,8 @@ Copyright (C)1996-2001 Sunset Design (G.Dorme & K.Maritaud)
|
||||
Copyright (C)2007-2009 the Grafx2 Project Team (A.Destugues & Y.Rizoud)
|
||||
-------------------------------------
|
||||
|
||||
=== ABOUT ===
|
||||
|
||||
GrafX2 is a drawing program dedicated to pixelart and low-color graphics.
|
||||
This program is dedicated to everybody who knows what a single pixel is.
|
||||
Its layout is not very different from the famous Deluxe Paint or Brilliance, so
|
||||
@@ -17,11 +19,15 @@ then released the sourcecode and we've modified it to run on your favorite
|
||||
platform (if we missed it, please tell us !). Check the homepage at
|
||||
http://code.google.com/p/grafx2 for latest news and bugfixed versions.
|
||||
|
||||
=== HELP ===
|
||||
|
||||
If you are in trouble when using the program, don't forget you can always press
|
||||
the <F1> key inside it to get some help. You can also check the wiki at
|
||||
http://code.google.com/p/grafx2/wiki for some more information.
|
||||
If you've hidden the menu and you're stuck, press <F10> to show it again.
|
||||
|
||||
=== LICENSE ===
|
||||
|
||||
GrafX2 is free software; you can redistribute it and/or modify it under the
|
||||
terms of the GNU General Public License as published by the Free Software
|
||||
Foundation; version 2 of the License. See doc/gpl-v2.txt for details.
|
||||
@@ -33,6 +39,12 @@ own licenses:
|
||||
- zlib: (on Windows) see doc/README-zlib1.txt
|
||||
The font Tuffy.ttf included as a sample in the fonts/ directory is public domain.
|
||||
|
||||
=== COMPILING ===
|
||||
|
||||
http://code.google.com/p/grafx2/wiki/Compiling
|
||||
|
||||
=== AUTHORS AND SUPPORT ===
|
||||
|
||||
To watch the full credits list, in the program, click '?' then 'Credits'.
|
||||
|
||||
Send bugs and feature requests to our bugtracker :
|
||||
@@ -40,7 +52,10 @@ http://code.google.com/p/grafx2/issues/list
|
||||
|
||||
Sends greetings and glops to pouet.net : http://pouet.net/prod.php?which=51865
|
||||
|
||||
=== HISTORY ===
|
||||
|
||||
Short revision history :
|
||||
* 04/2009 99.0% Many new features and critical fixes
|
||||
* 01/2009 98.0% Now running Linux, Windows, Mac OS X, BeOS, Haiku,
|
||||
AmigaOS 3.x and 4, MorphOS, SkyOS and gp2x.
|
||||
* 10/2008 97.0% Our first public beta release
|
||||
|
||||
Reference in New Issue
Block a user