Commit graph

4171 commits

Author SHA1 Message Date
Pere Pujal i Carabantes
a433b4c79c Adding stamp rotation. The xor interface seems to work fine if only the mouse is used, still need to adapt it to shortcut key combos. 2022-09-02 02:11:43 +02:00
dolphin6k
e2f5abdae6 Revert "Added FREETYPE_CFLAGS macro to make it find those headers."
This reverts commit af2166df14.
2022-08-20 22:23:27 +09:00
Shin-ichi TOYAMA
af2166df14 Added FREETYPE_CFLAGS macro to make it find those headers. 2022-08-18 14:38:21 +09:00
Pere Pujal i Carabantes
73c1cabac1 Android fix for magic tools under 64 bits devices by Terrence Sheflin, see 345d3cc78a 2022-07-20 23:38:04 +02:00
Bill Kendrick
79c246976c Merge branch 'master' into sdl2.0 2022-07-09 19:06:10 -07:00
Bill Kendrick
5e3aac3889 Doc refresh to get "A patch for SDL2_Pango..."
"...is no longer necessary."
2022-07-09 19:04:26 -07:00
Bill Kendrick
f39502771c Sync INSTALL docs re: Win STDERR/STDOUT 2022-07-09 10:57:44 -07:00
Bill Kendrick
fe4d113c81 Merge branch 'master' into sdl2.0 2022-07-08 23:44:54 -07:00
Bill Kendrick
4b8c572123 Make sure CSS changes are pulled into all relevant HTMLs 2022-07-08 23:44:12 -07:00
Bill Kendrick
401d5805a6 Trying to sync INSTALL w/ Shin-Ichi's page (TXT) 2022-07-08 23:43:34 -07:00
Bill Kendrick
148d26af7f Trying to sync INSTALL w/ Shin-Ichi's page 2022-07-08 23:42:25 -07:00
Bill Kendrick
445fcbb8bf Merge branch 'master' into sdl2.0 2022-07-07 17:55:27 -07:00
Bill Kendrick
da15f8c282 Changing Android save paths to now default to the 'external' dir from the device itself.
Merging the src/tuxpaint.c change from
https://github.com/tux4kids/Tuxpaint-Android/pull/18
(e23803b1f2)

Per Terrence
2022-07-07 17:44:51 -07:00
Karl Ove Hufthammer
fccea4edb4 Add Norwegian Nynorsk translation for two new strings 2022-07-04 21:00:33 +02:00
Bill Kendrick
c78644e40d Merge branch 'master' into sdl2.0 2022-07-03 20:03:01 -07:00
Bill Kendrick
a1dda27345 Continuing Compatibility with SDL2_Pango 0.1.3 changelog
Oof
2022-07-03 20:02:28 -07:00
Bill Kendrick
5e15ef5f87 Merge branch 'master' into sdl2.0 2022-07-03 20:02:07 -07:00
Bill Kendrick
53ff93aadc Doc'ing Compatibility with SDL2_Pango 0.1.3
...in main branch's CHANGES file, because things are still
kind of dual-branched around here.
2022-07-03 20:01:08 -07:00
Bill Kendrick
60120b763c Merge branch 'master' into sdl2.0 2022-07-03 19:58:34 -07:00
Bill Kendrick
11ca37c8b4 Replace some icon PNGs w/ un-interlaced versions
Avoid STDERR messages on launch:

  libpng warning: Interlace handling should be turned on when using png_read_image

(Except the fact that Tux Paint _itself_ saves drawings with
interlace enabled. :-/)

With this, closes https://sourceforge.net/p/tuxpaint/bugs/252/
2022-07-03 19:53:43 -07:00
Bill Kendrick
faa6746258 test-png: Also read images, to get interlace warnings
Check output for "libpng warning:" lines; the tool also echos
its own "test-png warning" lines about other possible concerns
(e.g. strange bitdepths, etc.) which are not necessarily going
to cause Tux Paint to echo things to STDERR.
2022-07-03 19:42:00 -07:00
Bill Kendrick
f56acbe34d Processed PNG images through pngout
Increase some compression

Also corrects some warnings being reported by libpng (via SDL_image);
h/t Tim Dickson, closes https://sourceforge.net/p/tuxpaint/bugs/252/
2022-07-03 17:45:21 -07:00
Bill Kendrick
4108634b9f test-png: Ensure libpng output _after_ ours 2022-07-03 17:28:03 -07:00
Bill Kendrick
06fafcb6d6 "test-png" tool to find PNGs that cause warnings
New tool, "test-png", which exercises libpng library on
a set of PNG image files, allowing us to find those which
cause Tux Paint (via SDL_image, in turn via libpng) to
report back warnings to STDERR.

h/t Tim Dickson, per https://sourceforge.net/p/tuxpaint/bugs/252/
2022-07-03 17:18:58 -07:00
Bill Kendrick
844db56ab9 Drip - Better full-canvas effect; proper description
h/t Karl, code by Pere (w/ some clean-up by me)

Closes https://sourceforge.net/p/tuxpaint/bugs/256/
2022-07-03 16:39:50 -07:00
Bill Kendrick
95755c7af5 Emboss: Canvas-specific description
Closes https://sourceforge.net/p/tuxpaint/bugs/257/
h/t Karl
2022-07-03 16:31:38 -07:00
Bill Kendrick
e984f23b5f Line: Never say "360 degrees" (say "0")
h/t Karl

Closes https://sourceforge.net/p/tuxpaint/bugs/255/
2022-07-03 16:09:48 -07:00
Bill Kendrick
2a43bd3dcd Doc'ing Norwegian Nynorsk l10n update 2022-07-03 15:41:13 -07:00
Karl Ove Hufthammer
d8d67440da Remove trailing period in application summary
For the AppStream metadata (appdata.xml), there is a
rule saying that the summary shouldn’t end with a period
(as confirmed by ‘appstream-util validate-strict’).
For the .desktop file, *most* applications omit the period.

The rule is not language-dependent, so I have also
removed the period from all translations (.po files).
2022-07-03 14:49:12 +02:00
Karl Ove Hufthammer
695d8044d0 Update Norwegian Nynorsk translation 2022-07-03 13:29:41 +02:00
Bill Kendrick
db8ee6d6de Doc'ing that macOS supports Trash since 0.9.29 2022-07-02 22:30:39 -07:00
Bill Kendrick
c917542118 Doc'ing that macOS supports Trash since 0.9.29 2022-07-02 22:27:22 -07:00
Bill Kendrick
75ea1b1833 Merge branch 'master' into sdl2.0 2022-07-02 22:19:50 -07:00
Mark Kim
633a3628d6 Compatibility with SDL2_Pango 0.1.3
Include all headers needed by SDL2_Pango when building the fonts file by
querying pkg-config.
2022-07-02 22:29:47 -04:00
Mark Kim
28888c1842 Update CHANGES.txt 2022-07-02 22:10:13 -04:00
Mark Kim
ed885f887d macOS: move deleted file to Trash
As opposed to permanently deleting it.  As requested:

  https://sourceforge.net/p/tuxpaint/feature-requests/148/
2022-07-02 22:09:55 -04:00
Mark Kim
c936a5a810 Update CHANGES.txt 2022-07-02 22:08:50 -04:00
Mark Kim
98198591b5 macOS: move deleted file to Trash
As opposed to permanently deleting it.  As requested:

  https://sourceforge.net/p/tuxpaint/feature-requests/148/
2022-07-02 22:03:41 -04:00
Bill Kendrick
d289d407ad Merge branch 'master' into sdl2.0 2022-06-29 21:04:32 -07:00
Bill Kendrick
59ef64b4e5 Doc stuff merged in "Use RHEL 7-compatible appdata filename"
https://sourceforge.net/p/tuxpaint/tuxpaint/merge-requests/13/
2022-06-29 20:56:03 -07:00
Will Thompson
38bc3b27d8 Fix detection of xdg-icon-resource
If given more than one argument, 'which' prints the path to each one (if
found). Previously, which was passed two arguments: 'xdg-icon-resource',
and 'install'. But in the contained block of statements, 'install' is
an argument passed to 'xdg-icon-resource'. Pass only 'xdg-icon-resource'
to which.
2022-06-29 13:05:59 +01:00
Will Thompson
4120af3b5f Rename metainfo file to appdata
gettext 0.19.7 gained support for translating appdata files, whereas
support for metainfo files was added in 0.20. These file formats are
effectively the same: as documented in the AppStream specification,
desktop applications can install files with the suffix .appdata.xml
rather than .metainfo.xml and these will still be handled correctly.

It is desirable for this project to support RHEL 7, which has gettext
0.19.8.1, so let's use the older filename.

As noted in the same section of the specification, appdata files were
previously installed to /usr/share/appdata rather than
/usr/share/metainfo, but the spec asserts that the newer metainfo path
works all the way back to RHEL 7, so we keep the newer installation
path.

Thanks to Shin-ichi TOYAMA for flagging this issue.

https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location
2022-06-29 13:05:40 +01:00
Will Thompson
c03b688e98 Create metainfo directory with 'install'
The -D argument to install, together with -t DEST, means "ensure DEST
exists".
2022-06-29 12:40:44 +01:00
Bill Kendrick
080d78fe45 Make sure METAINFO dir exists 2022-06-29 00:38:03 -07:00
Bill Kendrick
73d5e9b8c6 Make sure METAINFO dir exists 2022-06-29 00:33:06 -07:00
Bill Kendrick
5f4c07f7d9 Merge branch 'master' into sdl2.0 2022-06-28 20:15:39 -07:00
Bill Kendrick
f0eaaaf376 Sync INSTALL docs for sdl2 change 2022-06-28 19:22:34 -07:00
dolphin6k
747e69f7c7 tuxpaint.spec: adapted to the change of naming rule of tar ball 2022-06-29 09:45:24 +09:00
dolphin6k
8dafac02b6 Changed library requirements in tuxpaint.spec
Also Adapted to the change of naming rule of tar ball.
2022-06-29 09:43:28 +09:00
dolphin6k
b129a425bd Merge branch 'master' into sdl2.0 2022-06-29 09:38:35 +09:00