The officially official Devuan Forum!

You are not logged in.

#1 2026-04-20 17:13:27

Daemonratte
Member
Registered: 2026-04-09
Posts: 8  

GTK2 Revival thread

Alright, I decided to pause the Seamless Devuan Project for a moment and fix gtk2.

Here is the repo:

https://git.devuan.org/Daemonratte/gtk2-ng

I added the two patches that the AUR maintainers apply to gtk2, implemented stefan11111's g_qsort_with_data to g_sort_array modernisation and fixed all the compiler warnings so you can compile it on a modern system.

Tested both gcc 14 and clang 21 (and leafpad)

Future plans:
Backport further improvements by stefan11111's (a famous Xlibre contributer)
Backport new features from Ardour's gtk2 fork ytk (without breaking ABI
Getting rid of errors and bugs
Test compiling with gcc 15
Find another name?
Change the license to gpl3 if possible (probably not)

Please test it and report any errors to me

Edit:
Here are build instructions (for installing it on the system:

touch README
autoreconf -fvi
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-xinput=yes
make -j"$(nproc)"
sudo make install

if you only want to test it, only use

./configure --prefix=/TESTDIR --with-xinput=yes
make -j"$(nproc)"
make install

and change TESTDIR to another location

Last edited by Daemonratte (Yesterday 07:39:06)

Offline

#2 Yesterday 19:06:24

zapper
Member
Registered: 2017-05-29
Posts: 1,257  

Re: GTK2 Revival thread

If I run into any when using it.

But I tend not to use gtk2 as much on my devuan install, except maybe for palemoon.


Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term  If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD Gnuinos
Peace Be With us All!

Offline

Board footer