Skip to content

[Enhancement]: Bump to later GTK version #361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jnsgruk opened this issue Mar 25, 2025 · 3 comments
Closed

[Enhancement]: Bump to later GTK version #361

jnsgruk opened this issue Mar 25, 2025 · 3 comments
Assignees

Comments

@jnsgruk
Copy link
Member

jnsgruk commented Mar 25, 2025

What changes would you like?

In order to address a segmentation fault that occurs on drag events (i.e. dragging layers), GIMP needs to be built against GTK+ 3.24.49. This version is currently only available in the latest/candidate channel of the gnome-46-2404 platform snap.

There is an edge build of GIMP that uses this candidate build, which you can test like so:

sudo snap refresh gnome-46-2404 --channel latest/candidate
sudo snap refresh gimp --channel latest/edge

gimp -v
GNU Image Manipulation Program version 3.0.1
git-describe: GIMP_3_0_0-35-gaa773e618b
Build: org.gimp.GIMP.snapcraft.preview rev 0 for linux
# C compiler #
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.2.0-23ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-uJ7kn6/gcc-13-13.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-uJ7kn6/gcc-13-13.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.0 (Ubuntu 13.2.0-23ubuntu4)

# Libraries #
using babl version 0.1.112 (compiled against version 0.1.112)
using GEGL version 0.4.56 (compiled against version 0.4.56)
using GLib version 2.84.0 (compiled against version 2.84.0)
using GdkPixbuf version 2.42.12 (compiled against version 2.42.12)
using GTK+ version 3.24.49 (compiled against version 3.24.49)
using Pango version 1.56.3 (compiled against version 1.56.3)
using Fontconfig version 2.15.0 (compiled against version 2.15.0)
using Cairo version 1.18.4 (compiled against version 1.18.4)
using gexiv2 version 0.14.2 (compiled against version 0.14.2)
using exiv2 version 0.27.6

Any extra information?

More information in #337

@jnsgruk jnsgruk self-assigned this Mar 25, 2025
@jnsgruk jnsgruk pinned this issue Mar 25, 2025
@soumyaDghosh
Copy link
Member

For now, we can build that part from source inside our snap? WDYT?

@jnsgruk
Copy link
Member Author

jnsgruk commented Mar 26, 2025

Yeh we can, but it'll be ugly to plumb it around the gnome snap - id rather wait for the next revision to be released.

We have a workaround for those most affected :)

@jnsgruk jnsgruk closed this as completed Mar 27, 2025
@jnsgruk jnsgruk reopened this Mar 27, 2025
@jnsgruk
Copy link
Member Author

jnsgruk commented Apr 9, 2025

This should now be solved (#405). Thanks everyone for your patience! You can get the latest release with:

sudo snap refresh gimp --channel latest/stable

@jnsgruk jnsgruk closed this as completed Apr 9, 2025
@jnsgruk jnsgruk unpinned this issue Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants