Commit graph

395 commits

Author SHA1 Message Date
Pere Pujal i Carabantes
eb7f55e289 Merge branch 'master' into sdl2.0
Some things are still WIP, they need to be tested and addressed later.
2022-02-17 23:57:28 +01:00
Pere Pujal i Carabantes
63fbd45cd1 Merge branch 'master' into sdl2.0 2022-02-13 01:44:39 +01:00
dolphin6k
b71955c150 Use "<dynamic full path of current dir>\\locale" to bindtextdomain() only for the target "bdist-win32" 2022-02-09 23:12:12 +09:00
dolphin6k
f1519a2a39 Better way to install dll files and .mo files for tpconf only for the target "bdist-win32" 2022-02-07 22:26:54 +09:00
Mark Kim
c2ab6d461c merge macos.c and macos.m, update ios.*
* Merged macos.c into macos.m.
* Updated ios.h and ios.c to be compatible with the macos.* changes.
* Renamed ios.c to ios.m.
2022-02-06 11:29:19 -05:00
Mark Kim
7aa000b68a Tux Paint for macOS can localize menus (feature request #183)
Tux Paint for macOS can now localize the macOS menubar.  Translation
files (*.po) will be required for the actual translations to show.
2022-02-05 18:40:36 -05:00
Pere Pujal i Carabantes
4107ae3ecd Step 1 of Merging branch 'master' into sdl2.0 in a try to minimize conflicts 2022-01-28 22:50:04 +01:00
dolphin6k
c0bac21beb Target directory for install-dlls and install-tpconf-i18n were missing. 2022-01-28 23:35:14 +09:00
dolphin6k
10dc17d434 Install dlls and tpconf only for the target "bdist-win32" 2022-01-28 11:15:13 +09:00
Mark Kim
0175773efc macOS build tweaks
1. Building the DMG file now requires explicitly calling the 'make
   TuxPaint.dmg' target.

2. Messages output after completing a Makefile target has been
   customized on macOS.

The motivation here is Apple Silicon.  With the instruction of Apple
Silicon, the porting developer may need to sign the app bundle and/or
create the app bundle as universal before creating the DMG file, so the
Makefile no longer auto-creates the DMG file.  Instead, macOS-specific
messages have been added so the developer knows what to do next.
2022-01-22 14:46:34 -05:00
Pere Pujal i Carabantes
e9ebd54db9 Merging brush spacing work into sdl2.0 2022-01-20 21:33:57 +01:00
Mark Kim
e8bb5c80a6 Remove install stages not needed on macOS 2022-01-17 21:44:04 -05:00
Pere Pujal i Carabantes
7e9990a6d6 Merge branch 'master' into sdl2.0 2021-12-10 11:29:59 +01:00
Bill Kendrick
d6792e97c1 Bump to 0.9.28 in Makefile! 2021-12-01 22:49:12 -08:00
Pere Pujal i Carabantes
88d8252952 Merge branch 'master' into sdl2.0 2021-11-08 23:33:49 +01:00
dolphin6k
fbf206d17c Makefile: Defined platform specific install target like as other platforms.
tuxpaint.spec: Specified install target except for install-xdg.
2021-11-07 17:10:52 +09:00
Pere Pujal i Carabantes
1afe9e155c Merge branch 'master' into sdl2.0
Tons of bugfixes and improvements for Windows by Toyama Shin-Ichi
Angle rotation and some magic tools by Bill.
2021-11-06 08:59:22 +01:00
dolphin6k
c217f62470 Added clean target 2021-11-05 20:09:16 +09:00
dolphin6k
bad22db0ce Removed man, importscript and bash-completion from install target for windows. 2021-11-05 13:06:15 +09:00
dolphin6k
61ce0798d9 Initial implimentation of win32_trash() 2021-10-28 22:47:32 +09:00
Pere Pujal i Carabantes
9cf77f684c Merge branch 'master' into sdl2.0
There are problems with im that should be investigated...
2021-10-24 11:47:54 +02:00
Bill Kendrick
b8317f74e0 extern char*[] from sounds.h to new sounds.c
Move the list of Tux Paint's internal sound effect filenames
from "sounds.h" to a new "sounds.c" (that compiles to "sounds.o").
2021-10-24 01:20:07 -07:00
dolphin6k
f0bffa6202 Deleted support for Windows XP and 2000 2021-10-15 18:37:04 +09:00
Pere Pujal i Carabantes
6642ef35b8 October 2 Merge branch 'master' into sdl2.0 2021-10-03 00:16:54 +02:00
Pere Pujal i Carabantes
16f56ae9cd SDL2 also for Windows, by TOYAMA Shin-ichi 2021-09-29 20:25:56 +02:00
Bill Kendrick
79437733f2 Add Magic tool doc translations; install them
Adding snapshot of (basically untranslated) Magic tool docs
in the other locales currently supported by 'tuxpaint-docs'.

Update Makefile to install them.
2021-09-28 21:25:37 -07:00
Pere Pujal i Carabantes
b6b0636eb5 Merge branch 'master' into sdl2.0 2021-09-27 23:32:48 +02:00
Bill Kendrick
0ed588521f Add missing Fretwork magic tool docs 2021-09-20 22:55:41 -07:00
Bill Kendrick
8f17edc10e Clean up installed docs
All old, outdated, manually-generated translations of docs now
go into an "outdated" subdirectory.  The "tuxpaint-docs"/gettext-based
ones are the "first-class citizens".

Don't install the docs directory's "Makefile", or the instructions
for how to release Tux Paint, as those are not necessary to end users.
2021-09-17 00:11:33 -07:00
Shin-ichi TOYAMAA
5e5eb6d62a Tell linker to build GUI application. 2021-09-16 13:40:07 +09:00
Shin-ichi TOYAMAA
78da292624 Added SDL_gfx support for build on Windows XP/2000 2021-09-11 14:19:14 +09:00
Pere Pujal i Carabantes
10baa371dd September 8th
Merge branch 'master' into sdl2.0
Many changes and improvements by Bill
2021-09-08 00:10:35 +02:00
Bill Kendrick
a3080eef18 WIP Rotational brushes now supported
Unlike "directional" brushes, in which a 3x3 grid representing the
8 cardinal directions (45 degree steps) is used, only a single brush
image is required, and Tux Paint will rotate it between 0 and 360 degrees,
depending on the direction the mouse is going.

The brush's ".dat" file should contain a line consisting of the word
"rotate".

Note: This adds a dependency on "SDL_gfx" library (Homepage:
https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
SourceForge project page: https://sourceforge.net/projects/sdlgfx/)
as this feature use it's "rotozoom" functionality.

WIP -- Doesn't handle animated brushes correctly yet!

Closes https://sourceforge.net/p/tuxpaint/feature-requests/122/
2021-09-06 23:45:35 -07:00
Mark Kim
6adf0fa723 Fix compilation error on Linux with HOST environment variable set
The Makefile variable "HOST" was introduced to cross-compile Tux Paint
for iOS.  Unfortunately this variable is often set at the environment
variable level on many Linux distributions so it can cause the Makefile
to think it is attempting to be cross-compiled when that is not the
intention.

This change modifies the Makefile so it attempts to cross compile only
when both HOST and HOSTROOT environment variable (which are both
required for cross compilation) are set.
2021-09-06 17:36:40 -04:00
Bill Kendrick
9a02e730e8 Makefile can install various localized manpages 2021-08-14 22:37:05 -07:00
Bill Kendrick
4b0394fd96 Move src/manpage/ to man/ 2021-08-14 22:15:14 -07:00
Bill Kendrick
856ca6dc49 Remove Polish translation of Tux Paint's man page
Remove the very outdated Polish translation of Tux Paint's man page.
2021-08-14 21:44:12 -07:00
Bill Kendrick
cf99582672 Bump version to 0.9.27 2021-08-07 23:38:50 -07:00
Pere Pujal i Carabantes
da20be7a79 Merge 0.9.26 for sdl2.0 2021-06-29 07:21:40 +02:00
Bill Kendrick
69ccac5650 Dropping -rc1 from version 2021-06-28 16:47:13 -07:00
Mark Kim
a8177635cb Fix Haiku compilation bug
Luc Schrijvers reported on the Tux Paint Maintainers mailing list an
failure to build magic tools for Tux Paint 0.9.26 rc1 (see the mailing
list for the details).  The issue appears to stem from an interesting
interaction between my commit from March
(39cc096ece) and the quotes around
beos_PLUGIN_LIBS on line 1361:

  beos_PLUGIN_LIBS:="$(MAGIC_SDL_LIBS) $(MAGIC_ARCH_LINKS) $(MAGIC_SDL_CPPFLAGS)"

My commit had removed a leading argument from $(MAGIC_SDL_LIBS) (whose
value is irrelevant but it was "-L/usr/local/lib"), and the second
argument resolves to nothing on Haiku, so beos_PLUGIN_LIBS now resolves
to a string with a leading space, and it appears `cc` treats a string
argument with a leading space as a single token as opposed to a list of
arguments as it was apparently doing previously.  Pere confirms removing
the second argument that resolves to nothing allows binary to compile.

I suppose removing the quotes around beos_PLUGIN_LIBS is another (and
cleaner) possible solution, but the quotes appear to be intentional and
without a Haiku build environment to test the exact behavior this will
be the safer commit to make.
2021-06-17 22:18:15 -04:00
Pere Pujal i Carabantes
a37582da69 First RC for 0.9.26 Merge branch 'master' into sdl2.0 2021-06-17 00:07:32 +02:00
Bill Kendrick
cffbd44f1f Rolling 0.9.26-rc1 2021-06-13 21:01:20 -07:00
Mark Kim
c3cce36fc0 Merge branch 'master' into sdl2.0 2021-03-23 21:22:12 -04:00
Mark Kim
5e8ccbb19e simplify ios compilation
- Merge iphoneos and iphonesimulator compilation.
- Install to package root.
2021-03-22 22:23:01 -04:00
Mark Kim
b73fb9dcdb Lazy resolution of iphone*_ARCH_LINKS
Early resolution of iphone*_ARCH_LINKS calls pkg-config even when compiling for
non-ios platforms, slowing down compilation unnecessarily and possibly raise
errors about nonexisting libraries that are not used.

This change modifies the iphone*_ARCH_LINKS to resolve lazily upon use so
pkg-config is not called unless the variables are used.
2021-03-22 22:15:09 -04:00
Mark Kim
b27ac1ddbc simplify ios compilation
- Merge iphoneos and iphonesimulator compilation.
- Install to package root.
2021-03-22 22:07:40 -04:00
Mark Kim
b05f75f10b Lazy resolution of iphone*_ARCH_LINKS
Early resolution of iphone*_ARCH_LINKS calls pkg-config even when compiling for
non-ios platforms, slowing down compilation unnecessarily and possibly raise
errors about nonexisting libraries that are not used.

This change modifies the iphone*_ARCH_LINKS to resolve lazily upon use so
pkg-config is not called unless the variables are used.
2021-03-21 23:09:32 -04:00
Mark Kim
39cc096ece iOS port initial commit
Known Issues
------------
- No printing support.
- No typing support using the OS virtual keyboard.  iOS needs to be signalled
  to bring up the virtual keyboard when the text tool is active.  We also may
  need to do some finagling to make IM work with the virtual keyboard.
- OS language detection doesn't work yet.
- Quitting doesn't close the app.  It just displays a black screen until it is
  force-closed.
- Need to include cross-compilation instructions.

Possible Issues
---------------
- No text display.  This is likely an issue with how pango and related
  libraries were cross-compiled rather than an issue with Tux Paint code.  From
  the error output it appears to be a font rendering issue.
- SVG integration couldn't be tested because RSVG library has not yet be
  cross-compiled successfully.
- Only tested under the iOS Simulator (and not on an actual iOS device yet.)
2021-03-21 23:01:49 -04:00
Mark Kim
92196bd69a iOS port initial commit
Known Issues
------------
- No printing support.
- No typing support using the OS virtual keyboard.  iOS needs to be signalled
  to bring up the virtual keyboard when the text tool is active.  We also may
  need to do some finagling to make IM work with the virtual keyboard.
- OS language detection doesn't work yet.
- Quitting doesn't close the app.  It just displays a black screen until it is
  force-closed.
- Need to include cross-compilation instructions.

Possible Issues
---------------
- No text display.  This is likely an issue with how pango and related
  libraries were cross-compiled rather than an issue with Tux Paint code.  From
  the error output it appears to be a font rendering issue.
- SVG integration couldn't be tested because RSVG library has not yet be
  cross-compiled successfully.
- Only tested under the iOS Simulator (and not on an actual iOS device yet.)
2021-03-21 20:46:03 -04:00