Commit graph

100 commits

Author SHA1 Message Date
Jehan
1efdc2c0d6 build: make a nightly Snap again. 2026-03-02 21:33:33 +01:00
Jehan
5611e356a0 build: SnapCraft ready for release. 2026-03-02 17:41:38 +01:00
Jehan
a9202db2cc build: set grade: stable per release checklist instructions. 2026-03-01 23:54:14 +01:00
Bruno Lopes
2e5bfd458c build/linux: Remove dangling .snap file on CI just in case
After the unsquashfs, the .snap file is simply not needed anymore.
The less the space we use, the better.
2026-02-14 14:19:20 -03:00
Bruno Lopes
c3ed54e8d7 build/linux: Build babl relocatable on Snap package
Closes: #14793
2026-02-11 11:12:30 -03:00
Bruno Lopes
bcb9f5c73a build/linux: Add super-privileged 'personal-files' interface to GIMP snap
See: #15547

This needs approval from Cannonical and allows migrating app data from
older versions as well writting current app data outside the sandbox.
2026-02-10 13:13:29 -03:00
Bruno Lopes
57bdf8baf4 build/linux: Add missing FIXMEs to snapcraft.yaml 2026-01-19 15:13:56 -03:00
Bruno Lopes
f168ef5cea build/linux: Make Snap .pc files relocatable
As we do on Windows and AppImage builds
2025-12-27 18:41:00 -03:00
Bruno Lopes
2d64114e60 gitlab-ci, build: Make meson build options order more consistent 2025-12-27 16:59:47 -03:00
Bruno Lopes
6ab0b026f4 build/linux: Build GEGL partly relocatable on Snap
On my tests, it works at runtime.
2025-12-27 15:09:10 -03:00
Bruno Lopes
da47d21151 build/linux: Make snapcraft base check more robust
Now, it can check for the correct base snap locally too.
On CI, the check will serve as fallback.
2025-12-24 11:04:37 -03:00
Bruno Lopes
04dbf7a858 build/linux: Refresh (update) the snaps when running locally
Following 721cf538

Like we do on Flatpak, Windows etc
2025-12-24 10:57:23 -03:00
Bruno Lopes
12b04ac3da build/linux: Make CI_COMMIT_TAG message intent even more clear
Just the link can not be enough so
I wrote my rationale this time.
2025-12-23 19:00:25 -03:00
Bruno Lopes
d24f4fd1c7 build/linux: Add a comment about CI_COMMIT_TAG message too 2025-12-23 18:54:49 -03:00
Bruno Lopes
7c913919ce build/linux: Make Snap CI_COMMIT_TAG message more informative
Following ebf93550
2025-12-23 18:43:54 -03:00
Bruno Lopes
721cf53813 build/linux: Make Snap deps installation more similar to Flatpak 2025-12-23 14:26:10 -03:00
Jehan
832e678f01 build: snap is experimental again. 2025-12-14 22:19:38 +01:00
Jehan
7050215484 build: update snapcraft for release. 2025-12-14 21:44:54 +01:00
Bruno Lopes
7a108ef016
build/linux: Bundle GExiv2 .typelib on Snap package
This is required since dcec82a6
2025-12-07 14:09:28 -03:00
Bruno Lopes
7a6721c2f0
build/linux: Change Snap grade to stable as we approach 3.2 RC2 2025-12-06 15:01:08 -03:00
Bruno Lopes
ebf93550f8
build/linux: Do not allow to make CI_COMMIT_TAG Snaps with master babl or GEGL
Even this being actually documented on report.md of gimp-web-devel, we can
forget about it, we are humans. So, let's prevent this disparity so the
test Snaps will be reproducible as other more automated packages.
2025-12-06 10:29:16 -03:00
Bruno Lopes
f3ac64df4c
build/linux: Do not build GEGL workshop on RC Snap 2025-12-06 09:47:21 -03:00
Bruno Lopes
334f7d3a1b
build: Package maintainership instructions were moved to gimp-web-devel
See: Infrastructure/gimp-web-devel@7be7fbe0

In short, such information is not needed to making/building the
packages, just to submitt/release them, which is maintainer-thing.

But let's keep at least a reference so making them easier to find.
2025-11-21 16:21:02 -03:00
Jehan
c5af7265d8 build: set back snap to experimental/nightly. 2025-11-17 23:28:38 +01:00
Bruno Lopes
e04c24b594
build/linux: Fix generic message on Snap submission 2025-11-17 18:44:25 -03:00
Jehan
368a811d0c build: update the snapcraft file for release. 2025-11-17 20:10:35 +01:00
Bruno Lopes
863d601a6b
Revert "build: Make CI_COMMIT_TAG check more robust"
This reverts commit 4d7135f6f2.

This also reverts 3d72f1c08b.

The main reason is that it does not work on PowerShell due
to the tricky way it handles error.
2025-11-17 12:22:06 -03:00
Bruno Lopes
466e5ad8a8
build/linux: Add comment to avoid confusion about grade: purpose 2025-11-17 10:34:20 -03:00
Bruno Lopes
950d6d1077
build/linux: Clarify that RCs are on devel series on Flatpak and Snap 2025-11-17 10:29:48 -03:00
Bruno Lopes
9bef5ec997
build/linux: Bump snap grade to stable preparting to 3.2-RC1 release 2025-11-17 10:05:48 -03:00
Bruno Lopes
3d72f1c08b
build: Silence error output on git describe check 2025-11-16 08:39:07 -03:00
Bruno Lopes
227ca86923
build/linux: Move enable-plugins code to inside snapcraft.yaml
This makes the snapcraft.yaml file more portable
2025-11-02 19:41:00 -03:00
Bruno Lopes
a686911b20
build/linux: Prepare to Snapcraft 8.13 2025-11-01 16:29:26 -03:00
Bruno Lopes
0895695d87
build/linux: Mention name: on preview and latest snap README 2025-10-17 20:21:09 -03:00
Bruno Lopes
768ff5bc5d
build/linux: Add instructions about gimp-plugins bump on preview Snap too 2025-10-17 08:40:02 -03:00
Bruno Lopes
ad2c3beded
build/linux: Add GIMP major version on content: of gimp-plugins plug
Similarly to Flatpak's "add-extensions"."org.gimp.GIMP.Plugin"."version".
Otherwise, we would have broken Snap plugins on GIMP 4 which breaks API.
2025-10-16 12:48:56 -03:00
Bruno Lopes
4d7135f6f2
build: Make CI_COMMIT_TAG check more robust 2025-10-15 12:48:56 -03:00
Bruno Lopes
67040c7f99
build/linux: Do not allow creating gimp snap with master gimp
Also, do some improvements on babl/gegl check.
2025-10-13 20:46:05 -03:00
Bruno Lopes
ccae1022ad
build/linux: Do not allow creating gimp snap with master babl or gegl 2025-10-13 14:36:29 -03:00
Bruno Lopes
9db243d90c
build/linux: Fix typo on track_text evaluation on Snap dist script 2025-10-12 11:17:18 -03:00
Bruno Lopes
51e9135c58
build/linux: Use custom name: for nightly Snap builds
This avois overriding the local stable installation.
2025-10-11 15:34:55 -03:00
Bruno Lopes
cde74f27db
build/linux: Do not output version on Snap dist script (rev takes precedence)
Unlike the AppImage, .exe installer and .msix, the meson 'version' info is
not relevant on snap versioning. It is mostly managed by 'rev' info, which
is similar to 'commit' on Flatpak. Such rev information is not set by us, is
set externally by snapd for local .snap, and by Snap Store for remote .snap.
2025-10-11 15:34:52 -03:00
Bruno Lopes
3e8fa656bc
build/linux: Take Snap version: from meson.build
This reduces the burden over the project maintainer.
2025-10-11 15:34:46 -03:00
Bruno Lopes
1df1ef284b
build/linux: Connect babl and GEGL pulling to grade level on Snap
This makes the process less tiresome.
2025-10-10 20:44:03 -03:00
Bruno Lopes
f029c0aaee
build/linux: Fix snap premature packaging after 72a1ba81 2025-10-10 14:37:54 -03:00
Bruno Lopes
72a1ba81ec
build/linux: Take track info from the snapcraft.yaml
This is way more clearer.
2025-10-10 08:14:16 -03:00
Bruno Lopes
0e5b3f3523
build/linux: Don't shasum .snap on releases
Like the .msix, the package is sent directly to the store so
there is no use of sharums on releases.
2025-10-09 10:11:20 -03:00
Bruno Lopes
2c7ee6ba4d
gitlab-ci, build/linux: Create and submit .snap on releases 2025-10-08 21:19:21 -03:00
Bruno Lopes
9c872ee77f
build: Document the importance of double-check on Partner Center and Snapcraft
Partner Center, for example, is now requiring us to manually set, after
the certification, the amount of users which will receive the update.
2025-10-07 17:00:56 -03:00
Bruno Lopes
ad7c9db3cf
build/linux: Complement 3P Snap plugins procedure 2025-10-06 16:06:04 -03:00