Commit graph

472 commits

Author SHA1 Message Date
Bill Kendrick
b384ffd126 About to tag and release 0.9.33-rc1
...beta / release candidate of 0.9.33, for port maintainers to
build & try out!
2024-07-06 11:58:02 -07:00
Bill Kendrick
21aca21e3d Rename completion file 010_tuxpaint-completion.bash on install
See https://sourceforge.net/p/tuxpaint/bugs/290/#5205
h/t Jozef
2024-07-05 20:23:50 -07:00
Bill Kendrick
4505bc24fc Makefile - Set GPERF for OS/2
h/t Elbert
2024-06-15 22:28:53 -07:00
Bill Kendrick
4c18bff7ed Makefile: Grok "OS/2" from uname 2024-06-07 23:55:59 -07:00
Bill Kendrick
fe7f0dddf9 Derp haiku_trash.cpp not .c 2024-06-07 00:35:00 -07:00
Bill Kendrick
1fee51636b Forgot to actually compile haiku_trash.c 2024-06-07 00:16:59 -07:00
Bill Kendrick
33db4c16f5 WIP Changes to support building for OS/2
+ WIP Makefile updates to support building for OS/2
   - TODO: Makefile needs SYSNAME test to detect OS/2 (Bill has asked Elbert)
 + Added "__declspec(dllexport)" (via new "TX_EXTERN" #define'd in
   `tp_magic_api.h`) to public function definitions in Magic tools
   - WIP: So far just "Mirror/Flip" plugin
   - TODO: Add "TX_EXTERN" prefix to all other public Magic tool functions
 + Renamed long Magic tool source files to have shorter filenames
   - WIP: So far just "Mirror/Flip" (`mirror_flip.c` -> `mirror_f.c`)
   - TODO: Rename all other magic tool source files.

h/t Elbert Pol for providing info and some diffs!
2024-06-06 00:40:42 -07:00
Bill Kendrick
01afb5846c api->retract_undo() added to Magic API; used by Filled Polygon
New API function which rolls back the Undo buffer (which is snapshotted
upon a mousedown event ahead of calling the Magic tool's `_click()`
function.)  Dangerous; use sparingly!

Filled Polygon uses this to prevent partially-created (aka unfinished
aka incomplete) polygons -- the preview lines and control points -- from
being recorded and wasting space in the Undo history, or reappearing
upon Redo.

TODO - Other tools (e.g., Clone) would certainly benefit from this.
TODO - Needs more testing to help identify any bugs/issues introduced
by this!
TODO - Magic API docs need updating.

This is probably a sufficient solution that will make
https://sourceforge.net/p/tuxpaint/feature-requests/246/,
'"Overlay" surface in Magic API', unnecessary.
2024-06-01 01:35:50 -07:00
Bill Kendrick
40316cfe45 Bump version to 0.9.33; sync some doc changes! 2024-02-29 22:00:07 -08:00
Mark Kim
e26c2873db Simplify the process of building the universal bundle on the macOS 2024-02-03 22:18:41 -05:00
Bill Kendrick
661f450526 Sync docs & drop -rc1 2024-01-27 00:05:20 -08:00
Bill Kendrick
3225df2805 Version set to 0.9.32-rc1 for release candidate 2024-01-21 00:57:29 -08:00
Bill Kendrick
0fa1ea33f6 Build Tux Paint with -O2, everything with -ffast-math 2024-01-14 13:44:03 -08:00
Bill Kendrick
0bc54921d9 WIP - Extending Magic plugin API to support complexity
For https://sourceforge.net/p/tuxpaint/feature-requests/247/
2023-12-29 14:20:07 -08:00
Bill Kendrick
dcdac76c4c Bump version to 0.9.32 2023-11-21 23:47:20 -08:00
Bill Kendrick
d7668ddaba Don't pollute documentation folder ($DOC_PREFIX) with build scripts. 2023-11-21 23:44:44 -08:00
dolphin6k
10a0a34b1b Output Version of Tux Paint and Windows
This enables to know the user's environment easily.
2023-10-28 17:55:38 +09:00
Mark Kim
cfc76eb698 Simplify building on macOS
Simplify macOS building by signing macOS app bundle anonymously by
default.
2023-07-22 23:24:03 -04:00
Bill Kendrick
43a253fd4f Ready for 0.9.31; bump date & drop -rc1 from version 2023-07-20 22:32:11 -07:00
Bill Kendrick
5c4f8d73b5 Version set to 0.9.31-rc1 for a beta 2023-07-13 23:23:02 -07:00
Shinichi TOYAMA
ce0300766b Create metainfo directory beforehand 2023-07-08 20:49:21 +09:00
Bill Kendrick
bae09c15bd install-pkgxdg; install icons in .../apps/
h/t Tim
2023-06-22 23:31:31 -07:00
Bill Kendrick
8e9b33b22e Wrapper around convert to avoid Inkscape use
See comments in the script
2023-06-17 11:42:39 -07:00
Bill Kendrick
7febf719d0 Thumbnail Makefile targets quotes around paths
Wrap new $PATH stuff done (to get dummy 'inkscape' used,
for rsvgconvert purposes) in quotes to try and help with
build problems Shin-ichi had with the Windows version.
2023-06-13 22:18:08 -07:00
Bill Kendrick
cf94635713 Fake 'inkscape' to allow rsvgconvert to be used
Tim Dickson wrote in --

  I figured out the cause of the out-of-tree fontconfig cache
  creation, and (with help from another packager) a fix.
  The problem only occurs when inkscape is installed (which changes the
  target tool that imagemagik uses for converting svg files from
  rsvgconvert to inkscape's svg conversion program.)
2023-06-12 20:35:29 -07:00
Bill Kendrick
2260d66b4e Forgot a 192x192 icon install in updated Makefile
h/t Tim
2023-06-07 23:20:48 -07:00
Bill Kendrick
6b0bc39087 "PACKAGE_ONLY" Makefile var for non-pollutant icon install
A new `PACKAGE_ONLY` variable to Makefile can be used to
place launcher icon files into $(DESTDIR)$(PREFIX), rather
than using `xdg-...` tools to install them.  (Avoids polluting
local filesystem while generating packages, e.g. for Slackware Linux)

h/t Tim Dickson
2023-06-07 00:39:00 -07:00
Bill Kendrick
1b6ee72e87 "uifont" option: tell us what we wanted & what we got
The requested font & actual font loaded will be echo'd to STDOUT
when specifying the `uifont` option.

This uses Pango library directly (I was unable to convice SDL2_Pango.h
to actually notice that pango.h was #include'd before it, and expose
its SDLPango_GetPangoFontDescription() function!).  This is okay,
since we want to also add a "--uifont list" option (or similar),
that will list all of the available fonts, if a user wishes to
query them.  (And similar code will be added to tuxpaint-config to make
the setting available as a pull-down, rather than (or as well as) a
freeform type-in field.)
2023-06-01 00:20:41 -07:00
Bill Kendrick
b452d84d25 Improved how trans dir created
Having it as a Makefile target caused po->mo conversion to happen
every time, even if the MO files existed. >:-(
2023-05-29 12:36:56 -07:00
Bill Kendrick
9ab7fdba13 Ensure trans dir exists when making .mo files
Helps get `make clean && make -j` (parallel build) to work.
h/t bkw @ slackbuilds
2023-05-28 11:15:54 -07:00
Bill Kendrick
d8f3adc2e7 Bump version to 0.9.31; credit new Russian translator
h/t Olesya
2023-05-20 11:22:45 -07:00
Bill Kendrick
94153b75d3 Remove -rc1, sync docs / get updated doc dates 2023-05-18 18:27:02 -07:00
Bill Kendrick
eb8f4be7fd Makefile: Set version to 0.9.30-rc1
And appdate.xml -- bump date.
2023-05-14 13:14:24 -07:00
Bill Kendrick
a58f1f64b5 pick_best_scape() is now always included (even when building with NOSVG)
Was failing to compile on Haiku for Luc (apparently building with
no SVG support), since I started using that function outside of
SVG-related places.

Also, to continue being able to compile on Linux with no SVG support --
 * Always use SDL_TRUE & SDL_FALSE, not TRUE & FALSE
 * Always link tuxpaint with "-lm"

Finally, verbose version info ("tuxpaint --verbose-version") now states which
SVG build (new RSVG or old Cairo)
2023-05-09 23:44:39 -07:00
Bill Kendrick
2327fc58e7 "rm -f" after failed starter/template thumbnail
If `convert` fails, and didn't generate a file at all, `make` would
abort due to `rm` being unable to delete the non-existent broken
thumbnail.  Using `rm -f` now, so it doesn't abort if the thumbnail
file didn't get created AT ALL.

h/t Luc
2023-05-01 13:56:43 -07:00
Bill Kendrick
cef773a694 Now REQUIRING SDL2_Pango; no NO_SDLPANGO option
Motivation - Without SDL2_Pango, languages like Japanese,
Arabic, and Thai do not render properly.  Currently, Debian
(and hence Ubuntu) do not have SDL2_Pango, so Tux Paint 0.9.28
is adversely affected.  Fedora DOES have SDL2_Pango, so works well.
This also allows us to delete a lot of ancient cruft code.

Closes https://sourceforge.net/p/tuxpaint/bugs/268/
h/t Pere

(INSTALL docs to be updated momentarily)
2023-04-30 16:10:29 -07:00
Bill Kendrick
e49c55fbe6 WIP Magic size option; regen docs for 0.9.30 version 2023-04-09 23:25:48 -07:00
Bill Kendrick
a9e395dab8 Bump version to 0.9.30
Also, credit Jacques for French update.
2023-04-03 22:05:22 -07:00
Bill Kendrick
833ea93fcb "Tux Paint (Fullscreen)" launcher for Freedesktop.org
Adding a separate launcher that runs "tuxpaint --fullscreen=native"
for XDG environments (e.g., Linux); similar to what we have for
Windows.

Closes https://sourceforge.net/p/tuxpaint/feature-requests/227/
h/t Aaron
2023-04-01 16:50:19 -07:00
Bill Kendrick
041302c927 Dropping -rc3; next release likely to be final! 2023-03-30 09:56:48 -07:00
Bill Kendrick
8577a97c23 Bump to -rc3, update appdata & win32/resources.rc; regen POT/PO 2023-03-24 00:17:12 -07:00
Bill Kendrick
025c42be4f Mend issue with VER_FLAVOR
Can't put a "# ...comment" where I did; it breaks things!!!
2023-03-22 01:00:20 -07:00
Bill Kendrick
0ea015aa93 Drop "-sdl2" VER_FLAVOR
SDL1.2 is no longer supported, so nothing to distinguish.
2023-03-22 00:57:52 -07:00
Bill Kendrick
55b815affc Bumping ver to 0.9.29-rc2
Mended a stamp scaling bug just now, so probably worth another
release candidate before making a final release.

N.B. Still waiting to hear back from Pere about Kaleido-# tools
not appearing on Android, before cutting a new release.
2023-03-19 11:18:01 -07:00
Bill Kendrick
7dee091fb4 Set version to 0.9.29-rc1 for 1st release candidate 2023-03-16 22:05:54 -07:00
Bill Kendrick
34de8311db Zoom/Perspective: Support background color changes
When in the middle of adjusting a drawing with Zoom or Perspective,
you could change the color.  However, the background would not
relfect this until you further adjusted the zoom/perspective.

Now, a color change causes the background to update immediately.

This involved updating the Tux Paint Magic API to send more
arguments to each Magic tool's "XYZ_set_color()" function,
which means a bump in the API version.

(Forthcoming, all other Magic tools will have their set_color()
functions updated.)
2023-01-25 02:12:57 -08:00
Bill Kendrick
7279912af0 Drop 'trans' depencency for .mo files
Every time I ran `make`, it would re-build the .mo files!
2023-01-10 23:57:07 -08:00
Bill Kendrick
42cf1f532c Makefile: Remove rogue 'k'; update date 2023-01-02 11:47:00 -08:00
Philipp Rösner
33d94454a8
Add support for --shuffle GNU make flag
Add missing dependecies without which build
failures occur while using the --shuffle flag for GNU make.
2022-12-21 23:53:46 +01:00
Bill Kendrick
0517b4392c Update URL to https://tuxpaint.org/ everywhere
Also, add other social media accounts to list of places to
announce Tux Paint in RELEASE docs.

Also, list a ton more options missing from default example config file
"src/tuxpaint.conf"
2022-12-11 01:29:25 -08:00