No description
- C 97.8%
- M4 1%
- Makefile 0.6%
- Python 0.3%
- Shell 0.1%
- Other 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Move the historical upstream GTK+ 2.x release notes into NEWS.pre-2-24-34 and keep NEWS focused on gtk2-ng changes only. This makes the current NEWS file easier to read for users and packagers who want to see what changed since the fork, while still preserving the old upstream GTK+ release history in the repository. |
||
| .gitlab-ci | ||
| build | ||
| debian | ||
| demos | ||
| docs | ||
| examples | ||
| gdk | ||
| gtk | ||
| m4 | ||
| m4macros | ||
| modules | ||
| perf | ||
| po | ||
| po-properties | ||
| tests | ||
| .gitlab-ci.yml | ||
| acinclude.m4 | ||
| AUTHORS | ||
| autogen.sh | ||
| ChangeLog.gtk-async-file-chooser | ||
| ChangeLog.gtk-printing | ||
| ChangeLog.pre-1-0 | ||
| ChangeLog.pre-1-2 | ||
| ChangeLog.pre-2-0 | ||
| ChangeLog.pre-2-2 | ||
| ChangeLog.pre-2-4 | ||
| ChangeLog.pre-2-6 | ||
| ChangeLog.pre-2-8 | ||
| ChangeLog.pre-2-10 | ||
| ChangeLog.pre-2-12 | ||
| ChangeLog.pre-2-14 | ||
| ChangeLog.pre-2-16 | ||
| config.h.win32.in | ||
| configure.ac | ||
| COPYING | ||
| gail-uninstalled.pc.in | ||
| gail.pc.in | ||
| gdk-2.0-uninstalled.pc.in | ||
| gdk-2.0.pc.in | ||
| git.mk | ||
| gtk+-2.0-uninstalled.pc.in | ||
| gtk+-2.0.pc.in | ||
| gtk+-unix-print-2.0.pc.in | ||
| gtk+.spec.in | ||
| gtk-config-2.0.in | ||
| gtk-engine-check-abi.sh | ||
| gtk-zip.sh.in | ||
| HACKING | ||
| INSTALL.in | ||
| MAINTAINERS | ||
| makecopyright | ||
| Makefile.am | ||
| Makefile.decl | ||
| makefile.msc | ||
| NEWS | ||
| NEWS.pre-1-0 | ||
| NEWS.pre-2-24-34 | ||
| README.commits | ||
| README.in | ||
| README.md | ||
| README.win32 | ||
| sanitize-la.sh | ||
| sanity_check | ||
GTK2-NG — Modern Community Fork of GTK+ 2.24
Unofficial, community-maintained fork keeping GTK2 alive and usable on modern 64-bit Linux systems.
This fork focuses on modern compatibility while preserving stability, performance, ABI compatibility, and original behavior as much as possible. X11-first, no forced Wayland migration.
Backed by the devuanusers.com community.
What has already been done
- Added the two GTK2 patches currently used by the AUR maintainers
- Implemented several modernizations from stefan11111’s GTK2 fork
- Ported patches from NetBSD, OpenBSD, Gentoo and Fedora
- Fixed all compiler warnings with modern toolchains
- Made GTK2 compile cleanly with GCC 14/15 and Clang 21
- Tested on Devuan, Arch, and Gentoo
- Improved the file chooser:
- Classic list view still available
- New icon view added
- Easy switching between list and icon view
- Better thumbnail and icon handling
- Keeps responsiveness and avoids unnecessary overhead
- Conservative approach — no ABI breaks where possible
Future plans
- Backport further improvements from stefan11111’s GTK2 fork (Xlibre contributor)
- Backport useful new features from Ardour’s GTK2 fork (YTK) without breaking ABI
- Continue fixing bugs and modern compiler issues
- Improve performance and responsiveness
- Further file chooser improvements:
- Best-effort thumbnail generation for icon view
- Asynchronous loading for large/network folders
- Optional preview panel
- Find a better project name
- Add libppd support for legacy PPD-based printer options with newer CUPS
Build Instructions (Linux)
Safe test install (strongly recommended)
autoreconf -fvi
./configure --prefix=/tmp/gtk2-ng-test --with-xinput=yes
make -j$(nproc)
make install
Run apps against the test build
export GTK2_TESTDIR=/tmp/gtk2-ng-test
export LD_LIBRARY_PATH="$GTK2_TESTDIR/lib:$LD_LIBRARY_PATH"
export PKG_CONFIG_PATH="$GTK2_TESTDIR/lib/pkgconfig:$PKG_CONFIG_PATH"
export GTK_EXE_PREFIX="$GTK2_TESTDIR"
export GTK_DATA_PREFIX="$GTK2_TESTDIR"
export GTK_PATH="$GTK2_TESTDIR/lib/gtk-2.0"
leafpad # or any other GTK2 app
System-wide install
autoreconf -fvi
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-xinput=yes
make -j$(nproc)
sudo make install
Dependencies (Debian/Devuan/Ubuntu)
sudo apt install build-essential autoconf automake gtk-doc-tools libtool pkg-config \
libglib2.0-dev libpango1.0-dev libatk1.0-dev libcairo2-dev libfontconfig1-dev \
libx11-dev libxext-dev libxrender-dev libxinerama-dev libxi-dev libxcursor-dev \
libxrandr-dev libxfixes-dev libxcomposite-dev libxdamage-dev libgdk-pixbuf2.0-dev
(Adjust for Arch, Gentoo, etc.)
How to Contribute
Join the main discussion here:
https://devuanusers.com/thread-gtk2-revival-thread--80
Test apps, report issues, submit patches!
License
LGPL v2.1 or later (same as original GTK+)