Commit graph

1061 commits

Author SHA1 Message Date
Bruno Lopes
608c4cca73 build/windows: iso-codes is now available on vcpkg
See: https://github.com/microsoft/vcpkg/pull/50955
2026-04-06 21:33:23 -03:00
Bruno Lopes
2a3480cc1b build: Anotate some dependencies limitations for packaging 2026-04-06 19:50:16 -03:00
Bruno Lopes
60d8c4cbbe build/windows: Update MSVC patch since we now have more packages 2026-04-03 11:48:00 -03:00
Bruno Lopes
f788cdac9d build/windows: Build more packages now that we use x64-windows-release
Also list gettext and python3 which were already installed.
2026-04-03 11:09:34 -03:00
Bruno Lopes
e1abd061a9 gitlab-ci, build/windows: Use VCPKG_DEFAULT_HOST_TRIPLET
We were using VCPKG_DEFAULT_TRIPLET, which makes impossible to
use x64-windows-release triplet since vcpkg starts to crosscompile
(even on the same arch). Let's fix this by using the right env var.
2026-04-03 08:33:23 -03:00
Bruno Lopes
ee06c790c3 build: Make generic CWD error message more consistent 2026-04-02 23:23:09 -03:00
Bruno Lopes
febeb89c55 build: Add check for 'git' on Windows and macOS deps scripts
Since git is actually not a dependency, we need to do some checks.

See: https://gitlab.gnome.org/Infrastructure/gimp-web-devel/-/issues/54
2026-04-02 22:24:22 -03:00
Bruno Lopes
65f4c6c47f build/windows: List some already installed vcpkg deps 2026-04-02 16:13:45 -03:00
Bruno Lopes
e88053628a build/windows: Remove binutils from all-deps-uni
It was there just because on crossroads era we needed it for bundling
(since crossroads does not support installing package groups like toolchain).
2026-04-02 15:39:08 -03:00
Bruno Lopes
c034549574 build/windows: Remove virtual headers-git from all-deps-uni
It is already provided by toolchain group package.
2026-04-02 15:35:19 -03:00
Bruno Lopes
37c11d1748 build: List some missing packages for parity with INSTALL file 2026-04-02 13:18:15 -03:00
Bruno Lopes
bf9e206c39 build/windows: Fail on warnings on Clang-CL builds for gimp sake 2026-04-01 08:44:37 -03:00
Bruno Lopes
854caadbc3 build/windows: Update MSVC patch after md generation commit 2026-03-30 17:50:52 -03:00
Bruno Lopes
81f7b3ad6e build/windows: No need to download .NET for PowerShell
It is already bundled on the .zip we download.

Reapplied after 6e5c6b83
2026-03-28 11:21:56 -03:00
Bruno Lopes
6e5c6b83f0 Revert "build/windows: No need to download .NET for PowerShell"
This reverts commit 963c896313.

Ouch, here we go again with git flaky LF/CRLF line ending handling.
2026-03-28 11:17:13 -03:00
Bruno Lopes
963c896313 build/windows: No need to download .NET for PowerShell
It is already bundled on the .zip we download.
2026-03-28 11:09:54 -03:00
Bruno Lopes
476407cd1b build/windows: Different .NET versions should be installed on same DOTNET_ROOT 2026-03-28 07:57:14 -03:00
Bruno Lopes
566d562b4f build/windows: Wipe obsolete /twain dir from previous installs
Following cbc81507
2026-03-27 21:06:12 -03:00
Bruno Lopes
a0c065b02b build/windows: Update MSVC patch after gimprc and python updates 2026-03-27 20:39:15 -03:00
Bruno Lopes
4ad7e7bdd3 build/windows: Set new expire date for CLIENT_SECRET 2026-03-25 09:11:04 -03:00
Bruno Lopes
06d8bd6c54 build/windows: Do not allow cancelling itReinstall nor itUpdate
As said on cbe2f6be, Inno does not support modifying installations at
all, not even canceling/undoing modifications like reinstall and update.

This limitation become more apparent after the fix 24e42dd1 so
let's prevent the users being damaged by such major Inno pitfall.
2026-03-24 10:00:23 -03:00
Bruno Lopes
cbc8150749 build/windows: Wipe obsolete /32 dir from previous installs
Following 3d026f3d
2026-03-24 08:25:51 -03:00
Bruno Lopes
24e42dd1fc build/windows: Wipe versioned dep files on upgrades from Installer
Closes #16087
2026-03-24 07:14:00 -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
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
Bruno Lopes
89be7ef6c7 build/windows: Fix deleted line by accident 2026-03-22 16:59:43 -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
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
Bruno Lopes
9231db6473 build/windows: Update MSVC patch after new python detection 2026-03-21 15:03:15 -03: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
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
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
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
Bruno Lopes
375bdd7946 build/windows: Fail on warnings on Clang-CL builds for gegl sake
Following 5013aca0

We stll have work to do regarding ctx support but
we are getting there.
2026-03-17 22:23:49 -03:00
Bruno Lopes
b705bfb660 build, meson: Reenable .pdb building on GCC (for MINGW64/UCRT64 sake) 2026-03-17 09:56:20 -03:00
Bruno Lopes
a19ef56214 build: Unify .isi modules into just one (giant) .isi
This is way easier to maintain to me, who have been
doing the installer work from some years 90% alone.
2026-03-17 09:56:20 -03:00
Bruno Lopes
7ff91e9a8d build: Do not ship 32-bit binaries for native installation on Installer 2026-03-17 09:56:20 -03:00
Bruno Lopes
3d026f3d14 build: Remove Wintel support from the .exe installer
It was only used for TWAIN, which we do not distribute anymore.

(Emulation binaries were already not on the MSIX since its first version).
2026-03-17 09:56:20 -03:00
Bruno Lopes
2319bbe689 build/windows: Remove special-casing for MINGW32 on deps and bundling script
This also removes the special case for 'perl' since it
is available on CLANG64 and CLANGARM64.
2026-03-17 09:56:20 -03:00
Bruno Lopes
7a6d7ef049 build: Submission API does not allow more than 1.500 characters on ReleaseNotes 2026-03-14 10:44:38 -03:00
Bruno Lopes
5013aca0d4 build/windows: Fail on warnings on Clang-CL builds for babl sake
Babl can now be built cleanly on MSVC, yay!
2026-03-12 10:57:57 -03:00
Bruno Lopes
08e531b4c0 build/windows: Set built-in Inno translation files for 'kk' language 2026-03-05 16:27:59 -03:00