Commit graph

57231 commits

Author SHA1 Message Date
Bruno Lopes
ab0b041321 gitlab-ci: Fix typo on Homebrew rule 2026-03-23 18:05:25 -03:00
Bruno Lopes
e75d758712 build/windows: Ops, forgot about -ErrorAction SilentlyContinue 2026-03-23 16:14:29 -03:00
Bruno Lopes
a791238394 build/windows: Evaluate inno_version to the highest versioned Inno
Following 37dd5755
2026-03-23 16:02:26 -03:00
Yuri Chornoivan
f96b5f18d7 Update Ukrainian translation 2026-03-23 16:41:18 +00:00
Alx Sa
680ebede22 plug-ins: Read full channel data for PSP selection
968cf06a only loaded the rectangle area that the
selection was contained in, rather than the actual
channel data. This patch extended the code to
also read in the PSP_CHANNEL_BLOCK data, add
it to the selection GeglBuffer, and then shift it over
into the correct location.
2026-03-23 15:07:33 +00:00
Yuri Chornoivan
fdeb87946f Update Ukrainian translation 2026-03-23 12:55:20 +00:00
Bruno Lopes
1d4b1e098b app: Add support to installing gimp-help on GIMP*_DIRECTORY
See: https://gitlab.gnome.org/GNOME/gimp-help/-/issues/553

This is needed for some read-only packages.
2026-03-22 22:20:18 -03:00
Bruno Lopes
0c6711a646 build/windows: Avoid bundling build-time libLLVM*.dll
That shared library is giant and not needed at runtime.
2026-03-22 21:30:21 -03:00
luming zh
a2e19a8411 Update Chinese (China) translation 2026-03-23 00:28:15 +00:00
Anders Jonsson
a62aeb3012 Update Swedish translation 2026-03-22 21:18:25 +00:00
Bruno Lopes
89be7ef6c7 build/windows: Fix deleted line by accident 2026-03-22 16:59:43 -03:00
Bruno Lopes
4f76429885 tools: Fix GIMP_PYTHON_WITH_GI breaking cross-building
Closes: https://gitlab.gnome.org/GNOME/gimp/-/issues/16085
2026-03-22 16:32:38 -03:00
Bruno Lopes
3b5056e392 build/windows: Cosmetic changes for some arch lines on .iss
This also fixes a warning from Inno.
2026-03-22 16:30:45 -03:00
Bruno Lopes
077be60a6a build/windows: FileCopy is now CopyFile on Inno 2026-03-22 16:24:38 -03:00
Bruno Lopes
a506b72186 build/windows: IsComponentSelected is now WizardIsComponentSelected on Inno 2026-03-22 16:21:03 -03:00
Bruno Lopes
9a95de2cce build/windows: Remove some unused variables as per Inno warnings 2026-03-22 16:19:05 -03:00
Bruno Lopes
59b6e92878 build/windows: Evaluate INNO_PATH to the highest versioned Inno
This way, the script will not break when Inno Setup 7.0.0 is released.

Commited again due to 44b52efb3e
2026-03-22 15:51:59 -03:00
Bruno Lopes
44b52efb3e Revert "build/windows: Evaluate INNO_PATH to the highest versioned Inno"
This reverts commit 37dd5755aa.

I think the line breaking or other thing changed. This is wrong.
2026-03-22 15:50:14 -03:00
Bruno Lopes
37dd5755aa build/windows: Evaluate INNO_PATH to the highest versioned Inno
This way, the script will not break when Inno Setup 7.0.0 is released.
2026-03-22 15:35:33 -03:00
Jiri Grönroos
2c632ce957 Update Finnish translation 2026-03-22 15:30:55 +00:00
Jiri Grönroos
279bf03839 Update Finnish translation 2026-03-22 15:06:14 +00:00
Bruno Lopes
b697dc8a48 app: Fix critical at user_install_detect_old on distro and Flatpak packages
Closes: #16067

This fixes a regression introduced by 62467359
2026-03-22 08:17:15 -03:00
Alx Sa
7f39ea1fa9 path: Conditionally scale imported paths
The Path Import dialog has an option to choose whether
the imported paths scale to match the dimensions of the
image or not. While this variable guards scaling the paths
themselves, it did not prevent the viewbox from being scaled
Thus, the paths always appeared to be scaled.

This patch adds a check for the scale parameter in parse_svg_viewbox ()
and conditionally scales the viewbox based on user input.
2026-03-22 01:51:21 +00:00
Bruno Lopes
a4fd6a6298 build/macos: Remove didatic README
Now the in-house macOS builds are so pristine that
does not make sense to link to the legacy CircleCI.
2026-03-21 21:48:24 -03:00
Bruno Lopes
8c3a9dd4a8 gitlab-ci, build: Add x64 macOS builds with Rosetta emulation
See: https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/2166
2026-03-21 21:46:35 -03:00
Bruno Lopes
cb9e1c9ac1 devel-docs: List build/macos/Info.plist on os-support 2026-03-21 21:44:36 -03:00
Bruno Lopes
6a35db6ec2 build/macos, libgimpbase: Support both in-house and CircleCI relocatable bundles
This was the last patch. Now, GIMP can finally be built without patches on Mac.
2026-03-21 21:39:42 -03:00
Bruno Lopes
16fc8d6306 gitlab-ci, build: Add comments about Meson weak .pc relocatability support
This limitation was already documented on Windows but
not on other platforms affected yet. Let's just paste it.
2026-03-21 20:50:29 -03:00
Bruno Lopes
f677365c72 build/windows: Conform installer .iss to Coding Style by removing tabs
It have been so annoying to check the commit diff on GitLab and
noticing that it is widely different from the one on the IDE.

After all, there is a reason for the Coding Style prohibiting tabs...
2026-03-21 20:44:58 -03:00
Martin
e1e7df2951 Update Slovenian translation 2026-03-21 21:32:02 +00:00
Bruno Lopes
85044d78d1 app, build/macos: Move PYTHONHOME logic from .patch to core code
This was tested with both in-house MacPorts, in-house HomeBrew and
legacy CircleCI builds and I confirmed it works (it is needed only
by the in-house MacPorts builds).
2026-03-21 17:34:30 -03:00
Bruno Lopes
9231db6473 build/windows: Update MSVC patch after new python detection 2026-03-21 15:03:15 -03:00
Alx Sa
51f1de8844 plug-ins: Add bounds checks to JIF loading
Resolves #16076
As reported by chamal, it is possible to craft a
Jeff's Image Format image with header values that
are larger than the file size. This can lead to buffer
overflows when loading the data. This patch adds
bounding checks based on the size of the stream.
2026-03-21 17:33:39 +00:00
Bruno Lopes
9db6c35ac5 build/windows: Fix installer one-arch support (for forks) after .iss unification
This fixes a regression introduced by a19ef562
2026-03-21 13:11:37 -03:00
Bruno Lopes
7a928ee3ed meson: Ensure unversioned python is properly found on Windows 2026-03-21 13:11:37 -03:00
Alx Sa
ccb3cc3ae8 plug-ins: Add bounds check for SFW plug-in
Resolves #16075
As noted by chamal, it is possible to cause a buffer overflow
in a crafted SFW file. This patch adds bounds checks to prevent
this from occurring.
2026-03-21 15:57:01 +00:00
Bruno Lopes
e14f1d7f0b build/linux: Update graphviz-14.1.3.tar.gz to 14.1.4
Synced from a042ca0c4f
2026-03-21 11:51:25 -03:00
Bruno Lopes
9ba96014bc build/windows: Bump custom exiv2 build to 0.28.8 after MSYS2 gexiv2 rebuild
See:  21895406db

Due to gexiv2 rebuilding it now links to exiv2 0.28.8 released recently.
As a result, gimp-console started to fail with Windows error 3221226505 at
splash image generation, because exiv2 from msys2 don't have our workaround.
Let's fix by bumping our custom build so gexiv2 can find it properly.
2026-03-21 11:26:22 -03:00
Марко Костић
047ab24186 Update Serbian translation 2026-03-21 11:56:57 +00:00
Bruno Lopes
e453dac63b tools: Forgot to exclude Windows from a section 2026-03-21 07:37:48 -03:00
Bruno Lopes
8427c76467 build/linux: Update openexr and ghostscript modules
Synced from e1e6d5270b
2026-03-20 23:01:51 -03:00
Bruno Lopes
e83eef67a9 tools: Ensure python3 in-build symlinking does not run on Windows 2026-03-20 22:56:31 -03:00
Bruno Lopes
92a860d5c9 app, meson: Make python check more robust to work with MacPorts etc
Partially reverts 9be1af2b

See the context: https://gitlab.gnome.org/Infrastructure/gimp-macos-build/-/merge_requests/408#note_2642419
2026-03-20 22:56:31 -03:00
Alx Sa
7612363d8c plug-ins: Clean up PVR import
Resolves #16058

Per mzfr's observations, this patch adds more
safeguards to PVR import. Memory for data and pixels
is allocated and checked rather than using arrays.
Twiddled patterns are increased to 2048 and we
verify the dimensions are in that range before trying
to access. If users share an image that is larger than
that, we can increase this limit further.
2026-03-20 23:33:19 +00:00
Martin
5f5f6fd055 Update Slovenian translation 2026-03-20 17:22:39 +00:00
Bruno Lopes
6d28b4852a build/windows: Do not change CWD while making the installer
Thanks to the various improvements, the .iss script does not rely on
CWD or relative paths anymore. Let's clean up things.
2026-03-20 12:42:26 -03:00
Bruno Lopes
c44c0dacde build/windows: Add Serbian Cyrillic code to meson.build
Following 5251f29b
2026-03-20 11:21:59 -03:00
Alx Sa
3264a67112 plug-ins: Clean up ICNS file loading
Resolves #16056
Per mzfr, we should check if the cursor exceeds the
icon total size in icns_slurp () (per OSX icons) as we
do already in icns_decompress ().

Additionally, we were not deleting the temp_image created
to load each icon, and in fact we were making an unnecessary
blank temp_image before receiving the one from the PNG &
JPEG2000 procedures. This patch fixes both problems.
2026-03-20 14:10:15 +00:00
Bruno Lopes
5251f29b55 build/windows: Add Serbian Cyrillic inno_code to iso_639_custom.xml
Following 5af6e7d2
2026-03-20 09:32:26 -03:00
Alx Sa
bb3bf0ae5b plug-ins: Allocate memory in PAA plug-in
Per mzfr, we should dynamically allocate memory
for the PAA plug-in pixel data rather than rely on the image
being small enough for an array to store its information.
2026-03-20 12:24:47 +00:00