core26 sdk#359
Open
aleasto wants to merge 37 commits into
Open
Conversation
sergio-costas
requested changes
May 25, 2026
3v1n0
reviewed
May 25, 2026
3v1n0
reviewed
May 25, 2026
379a99b to
9d63d7a
Compare
Member
Author
|
I believe this is ready for an edge channel. |
3v1n0
reviewed
Jun 9, 2026
3v1n0
left a comment
Contributor
There was a problem hiding this comment.
Oh, I had some comments that I did not send, sorry!
3v1n0
reviewed
Jun 9, 2026
3d44806 to
54bdab2
Compare
sergio-costas
requested changes
Jun 11, 2026
54bdab2 to
715f24b
Compare
Member
Author
|
https://launchpad.net/~aleasto/aleasto-craft-remote-build/+snap/snapcraft-gnome-core26-sdk-613cec2f47221e77371bc802f38a7fd1 |
As we're starting fresh with a new SDK, we don't need to carry unused libraries This reverts commit 11262fe.
Let's drop the GNOME version in the snap name, which has been a lie in previous SDKs: we don't stick to the GNOME package versions from the Ubuntu base, but instead we keep dependencies up-to-date with every GNOME release until we get a new SDK with the next snap base.
Allows running /usr/bin/python3 with modules built from source, such as meson and gi.repository, which get installed into $CRAFT_STAGE instead.
This is unnecessary since setting PYTHONPATH
This project builds with cargo but uses the meson plugin, so we don't get a local cargo registry by snapcraft for free. Instead, let's manually set up a vendoring so that crates are correctly only downloaded during pull. Stop installing rust from rustup since the one in core26 is new enough. If in the future it will become obsolete again, we shall set up a cargo part instead of hijacking the global build environment during the pull phase.
This is unused and currently breaks the build, so let's just drop it
pcre3 is not available in Ubuntu 26.04, so this was breaking the build. It is unused so just drop it.
be1d125 to
f0723a0
Compare
715f24b to
55e6db4
Compare
All debs should be staged in the `debs` part, which has logic to resolve conflicts with source-compiled parts. Furtermore, staging debs here might cause the install of unwanted dependencies such as python3, which then breaks the python search path.
The execstack tool is no longer packaged in Ubuntu 26.04. I'm not sure this step is still necessary; if it turns out to be we'll have to find a different tool.
Updates all the parts to their latest versions, with the exception of: libadwaita: since it requires several patches, a different PR will be prepared. gdk-pixbuf: because I don't know if we will have trouble with the sandboxed loaders.
The libffi build system is installing in the wrong directory unless we specify --disable-multi-os-directory. Remove the libffi deb since we're building from source.
55e6db4 to
0829f23
Compare
We're not staging libwayland here.
We take good care of maintaining GTK4 in Ubuntu with downstream patches, let's not waste that effort. Fixes armhf build.
Add the required dependencies to run the HEIF/AVIF loaders. Also drop the webp and rsvg pixbuf loaders since glycin already includes those. Allow $GDK_PIXBUF_PATH to hold no external loader modules, since glycin is built-in and we have no other third party loaders. Closes: ubuntu#356
Assisted-by: GitHub Copilot (GPT-5.4)
Since we don't have yet any snap with the new runtime, the tests can be disabled for now.
This pulls in a ton of largely unused dependencies which we don't want in a baseline SDK.
Most notably, this stops snapcraft from trying to build against Ubuntu 26.10
0829f23 to
1cabba8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
gnome extension update: canonical/snapcraft#6278