Commit graph

264 commits

Author SHA1 Message Date
Scott McCreary
72bfbad90d A few more fixes to allow building on Haiku again 2013-11-06 09:47:43 +00:00
Scott McCreary
290cee02b1 Updated Makefile to reflect recent directory change in Haiku from B_COMMON to B_SYSTEM for gperf 2013-11-04 18:07:13 +00:00
Shin-ichi TOYAMA
4d04229608 make bdist-win32 fails 2013-10-26 08:15:16 +00:00
Shin-ichi TOYAMA
a29a17765c missing libpthread-2.dll for win32 installer 2012-08-18 05:58:44 +00:00
Pere Pujal i Carabantes
50b0e70eac Onscreen keyboard for Win32 2012-03-21 20:34:07 +00:00
William Kendrick
b75f6d513b Oops, left debugging target! 2012-03-04 20:11:42 +00:00
William Kendrick
71045ce8c5 Allowing LIBDIR to be set different from PREFIX, if needed. Based on SF.net Bug #3187558 2012-03-04 19:31:57 +00:00
William Kendrick
7549a2e044 Using $(PNG) instead of -lpng in a spot in Makefile (based on SF.net Bug #3187560) 2012-03-04 19:28:41 +00:00
Pere Pujal i Carabantes
9d6ca608e3 Now make install wil putt the onscreen keyboard files in place. 2011-09-02 15:14:15 +00:00
Pere Pujal i Carabantes
f14872a133 Rewrited of onscreen keyboard. Uses 2 files from xorg and now it can change between layouts. 2011-09-01 22:08:09 +00:00
William Kendrick
b0d231d240 Using $LDFLAGS when linking Magic tool plugins and Tux Paint binary. (SF.Net Bug #3389067) 2011-08-09 18:41:30 +00:00
John Popplewell
ba209f8f32 Added code to include the tuxpaint-config i18n files in the bdist-win32 bundle. 2011-07-03 15:08:32 +00:00
William Kendrick
28e62c4bde Path to gperf (helpful for Haiku), via scottmc. 2011-07-02 07:01:38 +00:00
John Popplewell
4033b03fa7 Disable '-fvisibility=hidden' on win32. Updated config file and DLL copying for win32 and win9x. 2011-07-02 06:03:49 +00:00
William Kendrick
d2aec0c8f5 -e didn't do what I thought it did :^P 2011-04-27 00:16:35 +00:00
William Kendrick
7b3bc41f33 Warning myself :) 2011-04-26 19:23:19 +00:00
William Kendrick
0aed8a5a86 "Paint" magic tool can now be one-click or -with-preview, to support
mouse accessibility mode (which introduced issues with tools like
'Flower' and 'Fold' (which show previews) and 'Ripples' (which doesn't
involve any dragging)).
2011-04-26 19:14:16 +00:00
William Kendrick
1b6769f6a5 Trying to detect whether 'gperf' is installed, and if not, abort build. 2011-01-11 17:49:16 +00:00
John Popplewell
0d04bd204a Tweak to windows_ARCH_LINKS.
Added SDL_PCNAME to make changing the pkg-config SDL target easier (useful
for switching between console and window builds).
2010-12-17 15:46:18 +00:00
Scott McCreary
a9f9122cbf This now allows tuxpaint to build on a gcc4 Haiku. 2010-06-02 15:40:11 +00:00
Shin-ichi TOYAMA
05a960a121 "make release" did not work. 2010-05-23 16:00:38 +00:00
Shin-ichi TOYAMA
c198e9daff need to link with zlib explicitly on Win32 2010-05-07 16:54:42 +00:00
William Kendrick
5e8594c409 Ignoring generated-thumbnails directories in CVS.
Ignoring generated-thumbnails directories when building a source release.
2010-04-27 22:07:26 +00:00
William Kendrick
be2b5537b3 * Exposing load_user_fonts() and some other font.c functions,
even when FORKED_FONTS is not set.
* No longer undef'ing SDL_thread stuff when FORKED_FONTS is
  used if we're ALSO not using SDL_Pango, since that now
  uses a thread to let fontconfig generate its cache, and
  still let Tux Paint be responsive to the OS and user.
  (SF.net bug #2944951)
* Spawning a thread and rendering a dummy string with SDL_Pango,
  to allow fontconfig to generate its cache.
  (SF.net bug #2944951)
* Setting up 'busy' mouse cursor (watch-shaped) earlier
  (so it can happen while fontconfig cache thread runs).
* Not spawning forked font scanner (FORKED_FONTS) as early, so
  fontconfig can generate its cache first.
  (I wasn't sure if calling an SDL_thread after a fork()
  occured was safe or not; admittedly, I discovered that
  SDL_thread spawning wasn't working due to the re-#defines
  of those functions when FORKED_FONTS was set; see above.)

All of this only tested on Ubuntu 9.04.  Forced disabling of FORKED_FONTS
by editing fonts.h, and Tux Paint still worked (it just took longer at
the splash screen while the fonts were loaded).  Needs testing on various
Windows, Mac OS X and BeOS.
2010-04-27 22:04:43 +00:00
Pere Pujal i Carabantes
6cfd739d10 Generating thumbnails for starters 2010-04-21 22:22:04 +00:00
William Kendrick
7b31b7549d Patch collection from Volker Grabsch to help Tux Paint cross-compile for Windows:
* Solve the 'FIXME: "finddir" ...' (The trick is to use "=" instead of ":=". That way, $(beos_PREFIX) will only be evaluated when it is actually used.)
* include "shlwapi.h" instead of "Shlwapi.h" (Otherwise, compiling for Windows will fail on a case sensitive file system. (e.g. a Unix file system when cross compiling))
* use FILENAME_MAX instead of NAME_MAX (FILENAME_MAX is more portable than NAME_MAX. Also, recent MinGW versions don't support NAME_MAX anymore.)
* Exposing font_thread_aborted via extern [tweak to Volker's patch which removed a logic test, which is probably not what we want]
* include parse.h (and thus compiler.h) after <stdio.h> (This ensures that the perror() macro of compiler.h won't confuse the perror() function declaration of <stdio.h>.)
* fix another compiling error about undefined variables (The tuxpaint.c uses printcommand/altprintcommand/papersize even when they aren't defined, i.e. when libpaper is not used. This patch solves the issue by using "#ifdef PAPER_H")
* call show_available_papersizes() only when libpaper is used
* permit cross compiling by using Make variables instead of hard-coded tools

Documented scottmc's Haiku improvements.
2010-02-25 07:06:13 +00:00
William Kendrick
fa6d0f71b2 Finnish. 2009-12-08 20:12:11 +00:00
Scott McCreary
3f7b0bd972 Added support for building tuxpaint on Haiku 2009-12-08 08:38:30 +00:00
Albert Cahalan
e3a971194c options working fairly well 2009-11-23 07:45:24 +00:00
William Kendrick
c79315a213 Helps if sed gets a file. ;)
Making "make clean" kill the generated obj/parse.c & obj/parse_step1.c, too.
2009-11-20 22:47:30 +00:00
William Kendrick
a65dd06b46 Broken gperf into two steps, so make will fail properly if gperf isn't there. 2009-11-20 22:41:11 +00:00
Albert Cahalan
56af880681 generate parser 2009-11-16 08:32:52 +00:00
Albert Cahalan
31b51a4034 printf fmt warnings that could crash 64-bit 2009-11-08 00:02:55 +00:00
William Kendrick
e5a5b22b89 Added a basic BASH tab-completion file to expose Tux Paint command-line options. 2009-09-09 19:16:40 +00:00
William Kendrick
c9e88a08f8 Bumped version # to 0.9.22.
Updated INSTALL doc to mention FriBiDi (should've done that in 0.9.21).
Updated EXTENDING doc to mention that non-transparent Starters are ok (ditto).
2009-07-01 21:58:37 +00:00
William Kendrick
238fb1f796 Making docs for Magic tools easier to maintain via PHPification. 2009-04-29 05:59:07 +00:00
John Popplewell
7234cc193d Added the FriBidi DLL to the win32 install step. 2009-01-14 04:25:42 +00:00
William Kendrick
a1e0cf75ba Preferred way of checking for FriBidi. 2009-01-02 09:24:05 +00:00
William Kendrick
784c4ae7e5 FriBidi has fribidi-config, so using it.
Added FriBidi to BeOS.
2008-12-04 21:43:47 +00:00
William Kendrick
05077e6907 Adding FriBidi support. 2008-12-04 00:14:02 +00:00
William Kendrick
b4ed444f0f Beginning to implement switchin() and switchout() Magic tool plugin API. 2008-07-08 00:21:31 +00:00
William Kendrick
bf5c9218e5 Avoiding shipping with a 'dummy.o' 2008-07-01 00:17:36 +00:00
William Kendrick
ffa7fede90 Made sure Makefile works with NetBSD. 2008-06-22 17:50:00 +00:00
John Popplewell
50e262d739 Fix for OS detection on Win32. 2008-06-19 16:00:52 +00:00
John Popplewell
655fecf7db Tweak to 'install-dlls' so that bdist-win32 copies over a subset of the
DLLS when a win9x/me build is specified: 'BDIST_WIN9X=1 make bdist-win32'.
The auto-detection of missing cairo/pango/rsvg works fine for the rest of
the build.
2008-06-17 20:25:44 +00:00
John Popplewell
099b39d257 Fixes to the (greatly improved!) Makefile so that it builds with MinGW/MSYS.
o detecting the OS. Not sure about the fix, but it works here
 o removed spurious quotes from windows_ARCH_LINKS and windows_PLUGIN_LIBS
 o only set windows_ARCH_INSTALL when doing make bdist-win32
 o tweaked bdist-win32 to work
2008-06-15 16:08:33 +00:00
Albert Cahalan
09e4d1b6d2 use of $(warning ...) will not terminate the build; it is just a warning 2008-05-29 16:47:21 +00:00
William Kendrick
e4e06ad2a4 Getting --uppercase working (mostly) without Pango, too.
No longer aborting build when Pango is disabled or not found.
2008-05-29 16:06:07 +00:00
William Kendrick
cef17d71b9 clean target now removes dummy.o 2008-05-28 14:44:39 +00:00
Albert Cahalan
771a36c1de Begasus wanted some BeOS/Haiku changes 2008-05-28 01:13:25 +00:00