Package Details: gtk2 2.24.33-5

Git Clone URL: https://aur.archlinux.org/gtk2.git (read-only, click to copy)
Package Base: gtk2
Description: GObject-based multi-platform GUI toolkit (legacy)
Upstream URL: https://www.gtk.org/
Licenses: LGPL-2.1-or-later
Provides: libgailutil.so, libgdk-x11-2.0.so, libgtk-x11-2.0.so
Submitter: City-busz
Maintainer: City-busz
Last Packager: City-busz
Votes: 91
Popularity: 15.80
First Submitted: 2025-10-28 08:37 (UTC)
Last Updated: 2025-10-28 09:01 (UTC)

Sources (4)

Latest Comments

1 2 3 4 5 6 Next › Last »

andreas_baumann commented on 2026-07-18 08:38 (UTC)

automake is part of base-devel which is assumed to be installed when building packages.

yisen11 commented on 2026-07-18 08:11 (UTC)

Hello, please add automake as a dependency. Thanks.

morsmortium commented on 2026-07-04 14:04 (UTC) (edited on 2026-07-04 14:04 (UTC) by morsmortium)

https://gitlab.gnome.org/GNOME/glib/-/merge_requests/5223
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/5225

This is an upcoming change.
https://gitlab.gnome.org/GNOME/libadwaita/-/commit/45f39befa13beecc57829a3137ddabac4bccfd79
https://gitlab.gnome.org/GNOME/gimp/-/commit/ce5a4774309fc5e5656113a479b1eeb0ecdee3b2

All _get_type functions will need the G_GNUC_CONST removed

andreas_baumann commented on 2026-06-14 10:53 (UTC)

autoreconf should be part of autoconf, which is part of base-devel.

MrVulcan commented on 2026-06-14 10:17 (UTC)

I got this when I tried makepkg -si:

Applied patch to 'gdk/x11/gdkxid.c' cleanly. Applied patch to 'gtk/gtkmodules.c' cleanly. /home/bert/git/gtk2/PKGBUILD: line 61: autoreconf: command not found ==> ERROR: A failure occurred in prepare(). Aborting...

Could someone please correct the PKGBUILD? Thanks!

Spixmaster commented on 2026-06-09 16:28 (UTC)

Instructions for error described in https://aur.archlinux.org/packages/gtk2#comment-1069570.

paru -Suy --devel
cd ~/.cache/paru/clone/gtk2/
git clone --depth=1 --branch 2.24.33 https://gitlab.gnome.org/GNOME/gtk.git gtk
paru -Suy --devel

hsequeda commented on 2026-06-06 13:37 (UTC)

I tried @EuroNutellaMan solution and it works. Thanks guys!.

itamarperdomo commented on 2026-05-11 14:35 (UTC) (edited on 2026-05-12 21:21 (UTC) by itamarperdomo)

as @EuroNutellaMan said for yay must be the same,

1) after do yay -Sy gtk2 and see error,

2) go to $HOME/.cache/yay/gtk2

3) and do the clone shadow with deopth 1 as git clone --depth=1 --branch 2.24.33 https://gitlab.gnome.org/GNOME/gtk.git gtk inside the gtk2 dir package

4) and then redone with yay -Sy gtk2 at the home dir..

it will use the cache if you dont pass u flag to yay

Manually it can be build also, cos gnome shit guys have a huge repo so depth=1 must be parset and set manually to work!

1) clone the git arch package git clone https://aur.archlinux.org/packages/gtk2

2) cd gtk2 and then git clone --depth=1 --branch 2.24.33 https://gitlab.gnome.org/GNOME/gtk.git gtk

3) modify the PKGBUILD and chage the first line source to 'gtk'

4) modify the PKGBUILD check first line to 'SKIP'

then makepkg

Daemonratte commented on 2026-05-05 18:57 (UTC) (edited on 2026-05-05 18:59 (UTC) by Daemonratte)

For anyone who can't compile gtk2 anymore you can try this fork: https://aur.archlinux.org/packages/gtk2-ng-git

It's a patched version for modern compilers and contains many improvements and bugfixes