Commit graph

77 commits

Author SHA1 Message Date
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
Bruno Lopes
6699943cae
build/linux: Mention 3P Snap plugins notification procedure 2025-10-06 14:39:07 -03:00
Bruno Lopes
277b21ed51 build/linux: Port 3P binaries plugins support from Snapcrafters 2025-10-06 12:46:09 -03:00
Bruno Lopes
014aa5ae6f
build/linux: Patch mypaint brushes on AppImage and Snap too
Following 2f6b7591
2025-09-28 21:39:00 -03:00
Bruno Lopes
47eac319b1
build/linux: Silence noisy warnings about GTK_MODULES
From GTK mouth:
https://gitlab.gnome.org/GNOME/gtk/-/blob/3.24.50/gtk/gtkmodules.c?ref_type=tags#L250
2025-09-28 19:58:25 -03:00
Bruno Lopes
1e46438ced
build/linux: Fix libproxy/libpxbackend errors on Snap 2025-09-28 08:02:52 -03:00
Bruno Lopes
484d0fbcf4
build/linux: Fix PostScript support on Snap with proper env var 2025-09-16 12:10:24 -03:00
Jehan
624f049e66 Post-release version bump to 3.1.5. 2025-09-01 00:35:08 +02:00
Jehan
50978f18b6 Release GIMP 3.1.4. 2025-08-31 19:24:36 +02:00
Bruno Lopes
05cde48a3e
build/linux: 'xdg-email' works on Snap package 2025-08-22 09:38:04 -03:00
Bruno Lopes
d8a264283b
build/linux: Take AppStream metadata for Snap package
Like the Flatpak and, at a lesser extent, AppImage.
2025-08-15 10:34:31 -03:00
Bruno Lopes
bb1d96528d
build/linux: Update Snap README regarding babl and GEGL tagging 2025-08-15 10:34:11 -03:00
Bruno Lopes
79a92ce439
build/linux: Use $CRAFT_PART_INSTALL for libheif plugins detection on Snap
$CRAFT_STAGE was being used but that is wrong since nothing is staged yet.
$CRAFT_PART_INSTALL is the right place where the packages are available.
2025-08-14 19:32:22 -03:00
Bruno Lopes
0c1963ca7c
build/linux: Only submit snaps to Snap Store on releases 2025-08-14 19:21:30 -03:00
Bruno Lopes
0868cf3cd3
build/linux: More fixes to the README 2025-08-14 16:21:24 -03:00
Bruno Lopes
bb26b9f81d
build/linux: Fix some typos on Snap README 2025-08-14 16:19:15 -03:00
Bruno Lopes
052eb474cc
build/linux: Add Snap maintenance README like Flatpak and MSIX
But, right now, the "## Stable and Development releases"
section is not applicable due to the pass over being WIP:
https://github.com/snapcrafters/gimp/issues/447
2025-08-14 16:16:17 -03:00
Bruno Lopes
2e12de6747
build/linux: Change collapsible section ID to the more technical '*_submission'
We already use '*_submission' on the MSIX script.

Submission is the first act, the one which we trigger on CI.
The publishing is done by the store (Flathub or Snap Store).
2025-08-12 22:38:49 -03:00
Bruno Lopes
aee3bd23d6
build/linux: Restore comment of '--destructive-mode'/host mode on Snap script
It was on the env section before the remote-build drop. Let's restore it and
move to the build section which is more appropriate.
2025-08-12 16:07:16 -03:00
Bruno Lopes
a87ee3c241
build/linux: Add check to ensure we use the right 'snapcraft-rocks' image
If the container image don't have the base snap required by
snapcraft.yaml, it will naturally fail.
2025-08-12 12:21:40 -03:00
Bruno Lopes
d4aac4a3e5
build/linux: Rework deps installation message on Snap script
The new text is more alike to the flatpak one, which
should make easier to understand both scripts.
2025-08-11 22:20:51 -03:00
Bruno Lopes
5da4b89002
build/linux: Make Snap on GNOME runners (not on Launchpad)
Now can make snaps 3x faster on CI without snapcraft remote-build.
2025-08-11 22:13:23 -03:00
Bruno Lopes
b960be9735
build/linux: Remove redundant plugs: in favor of 'gnome' Snap extension
See: https://documentation.ubuntu.com/snapcraft/stable/reference/extensions/gnome-extension/
2025-08-11 13:11:45 -03:00
Bruno Lopes
d5d6b5e726
build/linux: Add comment about why we don't use config.h on Snap dist 2025-08-08 22:38:28 -03:00