Commit graph

488 commits

Author SHA1 Message Date
Bill Kendrick
9ddb8ff48d Setting version to 0.9.35-rc1 for beta release 2025-03-31 23:01:58 -07:00
dolphin6k
277d902235 Changed "convert" to "magick convert" for build on Windows
Confirmed that latest Windows binary release of ImageMagick does
not provide "convert" command, which conflict with windows system
command, even as a legacy program.
In addition, currently "magick convert" or "magick composite"
style is a standard way of usage.
2025-01-12 17:17:40 +09:00
Bill Kendrick
1b293283a5 Makefile checks for uname -s of "NetBSD"
h/t Thomas
2025-01-03 13:43:37 -08:00
Bill Kendrick
cd392a7864 WIP Load for fonts in locations specified by FontConfig
Checking for fonts in any locations specified by "<dir>"
entries found in system-wide and user-level FontConfig config files.
This allows more fonts, and user-specific fonts, to be found & loaded.

TODO - Looking in Un*x-specific `/etc/fonts/fonts.conf` and
`~/.config/fontconfig/fonts.conf`, and should look in the
correct places on other platforms.

NOTE - This adds a build dependency on `libxml-2.0`.
2024-12-29 02:14:54 -08:00
Bill Kendrick
5be398cd6d WIP Adding "netbsd_..." OS variables in Makefile
Need to be told (1) if this is a good idea (else, back it out),
and if so (2) how to detect NetBSD when we set the OS variable
(is it just "uname -s" sending us "NetBSD"?)
2024-12-28 12:15:33 -08:00
Bill Kendrick
fa2f06792e Don't use Linux-specific invocation of "install"
Per Thomas, NetBSD's install(1) does not support '-t' and '-D' means
something else than on Linux.
2024-12-19 16:37:57 -08:00
Bill Kendrick
79ce7a87ca Bump to 0.9.35 2024-11-15 00:19:10 -08:00
Mark Kim
df8f792cc3 macOS build to link against SDL2_gfx 2024-10-19 10:51:24 -04:00
Bill Kendrick
c53a4cb6f1 Setting version to 0.9.34-rc1 for release candidate! 2024-10-16 21:31:07 -07:00
Bill Kendrick
6b78a4e219 Doc'ing Japanese updates
And bumping update date in Makefile.

h/t Shin-ichi for both updates
2024-10-10 22:00:31 -07:00
dolphin6k
1829a7d99b Failed to link rotate.c on Windows 2024-10-11 10:46:52 +09:00
Bill Kendrick
d94e85e26e Sound pause/unpause Magic API functions...
...plus documenting them.
...plus using them in new "Comic Dots" Magic tool.
2024-09-17 22:11:32 -07:00
Bill Kendrick
fed69f534d New "Eraser" flood fill mode
...to expose the background (solid color, or template or starter
background).

Closes https://sourceforge.net/p/tuxpaint/feature-requests/258/
2024-09-16 20:52:26 -07:00
Bill Kendrick
d597a250cd Bump version to 0.9.34; sync docs for new version # 2024-07-26 00:44:42 -07:00
Bill Kendrick
e9dd7288a8 Ready for 0.9.33 release, I guess! 2024-07-17 21:07:25 -07:00
Bill Kendrick
88f035dc60 SDL2_gfx Makefile patch
https://github.com/flathub/org.tuxpaint.Tuxpaint/blob/beta/Makefile-sdl2_gfx-pkgconfig.patch

h/t wjt
2024-07-08 21:00:16 -07:00
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