Hi, can you add aarch64 support to the PKGBUILD? this builds fine on aarch64 all that is needed is adding it to the arch array.
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/gtk2-ng-git.git (read-only, click to copy) |
|---|---|
| Package Base: | gtk2-ng-git |
| Description: | GObject-based multi-platform GUI toolkit (community-maintained fork) |
| Upstream URL: | https://www.gtk.org/ |
| Licenses: | LGPL-2.1-or-later |
| Conflicts: | gtk2 |
| Provides: | gtk2, libgailutil.so, libgdk-x11-2.0.so, libgtk-x11-2.0.so |
| Replaces: | gtk2 |
| Submitter: | andreas_baumann |
| Maintainer: | andreas_baumann |
| Last Packager: | andreas_baumann |
| Votes: | 5 |
| Popularity: | 2.28 |
| First Submitted: | 2026-04-30 12:13 (UTC) |
| Last Updated: | 2026-05-22 20:01 (UTC) |
Hi, can you add aarch64 support to the PKGBUILD? this builds fine on aarch64 all that is needed is adding it to the arch array.
Thank you for creating the AUR package. I just read about gtk2-ng on The Register a few days ago. I've still got the normal gtk2 building but will try with this package. Gtk+2 is far to integral to many packages to not have a continuation of the toolkit.
@fiftydinar: thanks for spotting that. :-)
@andreas_baumann I see why it happens.
It's because the 2nd defined provides()
provides=(
libgailutil.so
libgdk-x11-2.0.so
libgtk-x11-2.0.so
)
in package() overwrites the 1st one that is defined: provides=('gtk2' 'gtk2=2.24.33')
The solution is to just set:
provides+=(
libgailutil.so
libgdk-x11-2.0.so
libgtk-x11-2.0.so
)
I understood the issue now, but I don't know why it doesn't work when I set replaces. Maybe the dependency is transitive?
@andreas_baumann I believe that @saburouta means that currently installing any Arch package which requires gtk2 complains about gtk2 missing, so you need to manually modify PKGBUILD, where required dependency is gtk2-ng-git instead. That's what I had to do. Which is weird to me, because this has replaces=('gtk2') in your PKGBUILD, which should replace it.
So far it works as a drop in replacement for gtk2, for the software I tested so far without any issues.
I don't quite understand the "requiring gtk2" question?
Thank you for submitting this, this is a really cool project. Did you intend for no packages to be able to use gtk2-ng-git by requiring gtk2?