Commit Graph

53964 Commits

Author SHA1 Message Date
1c1b110b14 gitlab-ci: Install 'libgs10' (since Debian 12), not 'ghostscript' pkg
According to my tests in our AppImage, 'libgs10' is enough. Indeed,
we use the Ghostscript library for over ten years (see 005b119f) so
there is no need to install 'ghostscript' package (which is bin-oriented).
2025-01-04 13:28:28 -03:00
994137a82e Fix spelling errors found with codespell 2025-01-04 15:11:03 +00:00
1a1c52d0ba gitlab-ci: GIMP does not depend on 'libexif' for over 10 years
See: 21bed1e2

I double checked AppImage and Windows bundles and that
dependency is indeed not present since nothing links to it.
2025-01-04 11:21:54 -03:00
f0598e34e6 gitlab-ci: Drop !reference workaround wrongly used for rules
We started to use !reference to rules as a workaround in a22393a6 to
merging rules with 'extends:', which isn't possible due to YAML spec:
https://gitlab.com/gitlab-org/gitlab/-/issues/213050

But simple extending, without merging, is totally supported by GitLab.
So let's clean our .yml since that workaround is needed in few places.
2025-01-04 09:57:49 -03:00
10ccaf0743 Update Basque translation 2025-01-04 09:31:30 +00:00
e268e18c50 Update Basque translation 2025-01-04 09:31:15 +00:00
4f00c0621f Update Basque translation 2025-01-04 09:30:56 +00:00
5cc9a389cd Update Basque translation 2025-01-04 09:30:38 +00:00
86861952aa dialogs: Add Help buttons to About/Tips/Welcome dialogs
The About, Tips, and Welcome dialogues had Help IDs created,
but they were not being used on the dialogues themselves. This
meant there was no help button, and pressing F1 did not pull up
the help manual when pressed.
To be consistent, the Help ID was added to the gimp_dialog_new ()
calls for Tips and Welcome. Since About is not based on GimpDialog,
this patch adds it manually (after checking to make sure the user
has enabled help buttons in Preferences).
This patch also constrains the Tip dialogue's initial width to match
the About and Welcome dialogues.
2025-01-04 02:11:18 +00:00
3da281c468 gitlab-ci, build/windows: Move Windows jobs to 'matrix'
This facilitate maintenance work and further vcpkg integration.
2025-01-03 21:12:50 -03:00
4ec84dd157 build/windows: Complete 89cc3503 (regarding python.exe) 2025-01-03 20:13:13 -03:00
d661c23eb2 Update Finnish translation 2025-01-03 17:32:22 +00:00
0243cf5c08 dialogs: Show icons in Tips Dialog on Windows
The Previous and Next buttons have arrow icons. However, these
have not shown up on Windows since at least 2.10, as buttons
created with gtk_dialog_add_button () don't automatically make
their icons visible on all platforms.
This patch uses the existing "image" variable to store the icon
rather than passing it inline in gtk_button_set_image ().
This allows us to explicitly set it to be visible so it shows for
all users.
2025-01-03 02:50:21 +00:00
8fbd6727ac gitlab-ci: Revamp introductory comments to give a complete picture of pipelines
Our CI is complex, and while I and the maintainers know how it works by heart,
it can be very difficult for the others to understand it from the comments of
the .yml file. So, let's unify three separate sections into one for better QOL.
2025-01-02 19:50:14 -03:00
5e606bb580 build/linux: Like other dist scripts, do not try to build in AppImage .sh
This is a remnant of the past, not needed since 46f716a0 organization.
2025-01-02 14:51:55 -03:00
3c97048b3a build/windows: Complete b8ac9da4 (regarding strong bezel drop)
The previous commit only works if the user clicks on "Customize" button.
So, this commit extends to the case of cliking on "Install".
2025-01-02 13:27:29 -03:00
d80ccb08d8 plug-ins: Include filters when composing
Since we use gimp_drawable_get_buffer () to get the
pixel data when composing or recomposing, NDE filters
were not being included in the final output.
This patch temporarily duplicates the layer, merges the
filters, and then retrieves the GeglBuffer from the merged
version of the layer rather than the raw pixels.
2025-01-01 21:26:09 -05:00
01ce43d94b build/linux: Sync with Beta manifest regarding OpenMP and libbacktrace
11d009928e

30d588c455
2025-01-01 21:29:30 -03:00
3fc06f06b6 build/linux: Make AppImage .desktop and appdata.xml configuration not scattered 2025-01-01 15:19:19 -03:00
03b6e5fe16 themes: Define color for tree dnd borders
This patch adds CSS styling to define the color of the
underline/overline when dragging an item in a layer tree.
This prevents a system theme leak and keeps the color consistent
with the current theme's coloring.
2025-01-01 17:01:36 +00:00
31218e69da build/windows: Never auto create bundles on Win vanilla builds
Partially reverts change described in paragraph 2 of 9ab48164

Despite GIMP being built targeting to be relocatable, our
bundling script is very SLOW and pretty hard to make it
portable since it makes many ASSUMPTIONS (e.g. that all
deps are pre-compiled etc) which not always holds up.

These limitations could be fixed but would take time.
This was disrupting MSYS2 and crossroads builds, so
let's revert it being called by default for now.
2025-01-01 11:59:04 -03:00
306c01328e Update Vietnamese translation 2025-01-01 01:27:22 +00:00
42fc499992 Update Vietnamese translation 2025-01-01 01:26:17 +00:00
d04bfe964f build/linux: Complete 37b7b8f7 (regarding appstreamcli) 2024-12-31 14:17:28 -03:00
37b7b8f7a4 build/linux: Do not copy additional .desktop file in AppDir root
We can just make a symlink that appimaged (the daemon for integration) will
read it and work just fine.

Also, run appstreamcli validation again.
2024-12-31 12:22:26 -03:00
e32cf624a4 build/linux: Sync with Beta flatpak regarding updated modules for RC2
See: 17144650cd
2024-12-31 10:36:54 -03:00
de37e08109 build/windows: Always bundle gspawn*-console.exe (for gimp*.exe --verbose)
Without this, it is not possible to open links when
running gimp*.exe --verbose
2024-12-30 21:08:05 -03:00
89cc350348 build/windows: Bundle python.exe even on stable versions (for gimp-console)
This is needed for scripting output with 'gimp-console*.exe', which is
included in stable versions (but the user needs to change the .interp).

The need to manually change the .interp is ugly as hell (specially for
system-wide .exe installer and MSIX package) but a separate issue.
2024-12-30 17:32:25 -03:00
f8436b67cf python: Fix function API in Palette-to-Gradient
We were still calling palette.entry_get_color () rather than the new API
palette.get_colors(), which returns the full array of colors. 
This patch updates the script to use the correct API.
2024-12-30 17:55:51 +00:00
64481569c0 build/windows: Make (even more) clear how Inno langs maintenance works
Inno langs maintenance is semi-automatic since 21ffb589 and 4ec072ed

Right now, seems that everyone understands it, but who knows in the future?
So, just to make sure, being overly cautious, let's add one nice comment.
2024-12-30 11:42:27 -03:00
1e37822533 build/windows: Fix 'revision 2' being shown in 'RC 2' MSIX About dialog
Following 9d9d7226
2024-12-30 08:45:21 -03:00
d62dfc052b Issue #2037: make Pango and GExiv2 public dependencies in pkg-config.
Both these libs are exposed in the API and therefore should be set as
"Requires".
2024-12-30 10:41:07 +01:00
61fb345ab6 Update Danish translation 2024-12-30 09:29:42 +00:00
afd3d53f66 Update Danish translation 2024-12-30 09:29:09 +00:00
00a0caf14a Update Danish translation 2024-12-30 09:28:35 +00:00
739c613fe2 build/linux: Bundle "share/libthai" on AppImage too
Following 4cbb9360

Most of the distros provides the dictionary pre-installed but
some like Gentoo not. So, let's bundle "share/libthai" for
maximum portability.
2024-12-29 21:26:23 -03:00
91f7331125 libgimp: imagemetadata-save - static assert expr. not constant
Fixes #12588. depending on build parameters, the strlen()s weren't
necessarily considered constant.
Changed to use arrays + sizeof instead.
2024-12-29 22:01:30 +00:00
7177268d44 Update Bulgarian translation 2024-12-29 20:46:00 +00:00
4cbb93609d build/windows: Bundle 'libthai' again for Thai (th) word breaking support
The only trace of reason for this dir being bundled was a pango crash: #2496.
Since the crash was gone, no other reason left, so it was discarded: c808d13b.

However, according to my tests, "word breaking" does not work without this.
(This is what thbrk.c#L22 source says but was never clear in our scripts).
So, let's bundle it with proper comments to make clear why this is needed.
2024-12-29 09:57:37 -03:00
3d4ca10ba2 build/linux: Ensure the same type2-runtime is used for aarch64 and x86_64
The previous code left open a tiny possibility of a different runtime be
downloaded between the 5-6s of squashing of aarch64 and x86_64 appimage.
2024-12-29 08:36:00 -03:00
e61be5de64 Update Bulgarian translation 2024-12-29 10:20:31 +00:00
b150a4ea27 build installer: Swedish is now an official language in Innosetup 2024-12-28 18:54:53 -05:00
c6d38fa551 plug-ins: Don't use compose-type on Recompose
Resolves #12623
Compose and Recompose are in the same plug-in.
When we converted compose.c to use GimpChoice in 7b29ac24,
we did so without checking if it was being called by
Compose or Recompose. As a result, we always overwrote
compose_type with 0 (RGB mode) on Recompose since it
did not have a "compose-type" GimpChoice property.

This patch adds a check to make sure we're not in a Recompose
call before trying to set compose_type from the GimpChoice
parameter.
2024-12-28 14:52:46 +00:00
5434fb6e30 meson.build: post-release version bump to 3.0.0-RC2+git. 2024-12-27 22:51:50 +01:00
541e7446ce build/windows: Bundle correct gspawn*.exe for stable releases
Following a4d2fbc9
2024-12-27 15:38:32 -03:00
cdac2cd1fe NEWS: updates. 2024-12-27 15:21:42 +01:00
03e9fbbd92 gitlab, meson, plug-ins: add a -Dfile-plug-ins-test meson option.
This option is run by the CI and makes so that the test-file-plug-ins
plug-in is always installed in the CI, even on stable releases. But by
default, they are not installed on stable releases.
2024-12-27 15:15:25 +01:00
d52117a7f7 Release GIMP 3.0.0 RC2. 2024-12-27 14:34:56 +01:00
921f8a0676 desktop: update AppStream metadata release date. 2024-12-27 12:18:29 +01:00
e7149ab200 build,app: depend on gegl-0.4.52 2024-12-27 10:25:42 +01:00