Skip to content

core26 sdk#359

Open
aleasto wants to merge 37 commits into
ubuntu:gnome-core26-sdkfrom
aleasto:gnome-core26-sdk
Open

core26 sdk#359
aleasto wants to merge 37 commits into
ubuntu:gnome-core26-sdkfrom
aleasto:gnome-core26-sdk

Conversation

@aleasto

@aleasto aleasto commented May 20, 2026

Copy link
Copy Markdown
Member

gnome extension update: canonical/snapcraft#6278

@aleasto aleasto marked this pull request as draft May 20, 2026 17:00
Comment thread snapcraft.yaml
Comment thread snapcraft.yaml Outdated
Comment thread snapcraft.yaml
@aleasto aleasto force-pushed the gnome-core26-sdk branch 7 times, most recently from 379a99b to 9d63d7a Compare June 5, 2026 12:44
@aleasto aleasto force-pushed the gnome-core26-sdk branch from 7612eb7 to 3d44806 Compare June 8, 2026 17:01
@aleasto aleasto marked this pull request as ready for review June 9, 2026 16:16
@aleasto

aleasto commented Jun 9, 2026

Copy link
Copy Markdown
Member Author

I believe this is ready for an edge channel.

@3v1n0 3v1n0 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I had some comments that I did not send, sorry!

Comment thread patches/glycin-snap-no-sandbox.patch Outdated
Comment thread patches/glycin-snap-no-sandbox.patch
Comment thread .github/workflows/build.yml Outdated
@aleasto aleasto force-pushed the gnome-core26-sdk branch from 3d44806 to 54bdab2 Compare June 10, 2026 09:26
Comment thread snapcraft.yaml Outdated
@aleasto aleasto force-pushed the gnome-core26-sdk branch from 54bdab2 to 715f24b Compare June 11, 2026 16:01
@aleasto

aleasto commented Jun 11, 2026

Copy link
Copy Markdown
Member Author

aleasto added 9 commits June 16, 2026 16:51
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
aleasto added 6 commits June 16, 2026 16:51
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.
aleasto and others added 8 commits June 16, 2026 18:17
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.
@aleasto aleasto force-pushed the gnome-core26-sdk branch from 55e6db4 to 0829f23 Compare June 16, 2026 16:18
aleasto and others added 12 commits June 17, 2026 10:16
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
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
@aleasto aleasto force-pushed the gnome-core26-sdk branch from 0829f23 to 1cabba8 Compare June 17, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants