{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreievkovqbwtzmhj4zgw6h6zooqj653usarbvpkvy7aw7tqbawohwnm",
"uri": "at://did:plc:hqad6xwuzg7oqfmwylfkvqfm/app.bsky.feed.post/3mk356ommv3o2"
},
"path": "/viewtopic.php?t=33365&p=272628#p272628",
"publishedAt": "2026-04-22T07:34:10.000Z",
"site": "http://forum.palemoon.org",
"tags": [
"https://git.devuan.org/Daemonratte/gtk2-ng",
"https://gist.github.com/Dudemanguy/d70734d5bdf82e79cbfb22894fac8a1b",
"https://aur.archlinux.org/cgit/aur.git/tree/0001-Lower-severity-of-XID-collision-warnings.patch?h=gtk2",
"https://aur.archlinux.org/cgit/aur.git/tree/0002-Stop-looking-for-modules-in-cwd.patch?h=gtk2"
],
"textContent": "Hey guys!\nI'm probably not the only one who hates forced deprecation. Be it with python2, gtk2 or XUL. For python2 and XUL there's still development going on (tauthon and of UXP), but not for gtk2.\nSo I just decided that I'm going to do it, even if I'm not really a good or experienced coder.\n\nrepo: https://git.devuan.org/Daemonratte/gtk2-ng\n\nI still managed to get rid of all the compilation errors when compiling with gcc14 and clang 21 (didn't test never versions yet) and I applied these three patches:\nhttps://gist.github.com/Dudemanguy/d70734d5bdf82e79cbfb22894fac8a1b\nhttps://aur.archlinux.org/cgit/aur.git/tree/0001-Lower-severity-of-XID-collision-warnings.patch?h=gtk2\nhttps://aur.archlinux.org/cgit/aur.git/tree/0002-Stop-looking-for-modules-in-cwd.patch?h=gtk2\n\nI also backported some fixes from Ardour's ytk (their gtk2 fork) and stefan11111's gtk2 fork\n\nCurrent status:\n\n * Making it Y2K38-safe\n\n\n * Getting rid of all deprecation warnings\n\n\n * Patching it for NetBSD and backporting NetBSD-specific patches\n\n\n * Testing it on all kinds of hardware\n\n\n * Further modernisation without breaking ABI\n\nFuture plans:\n * Implement tough support and smooth scrolling from Ardour's ytk without breaking ABI, so Ardour can be compiled against gtk2 again\n\n\n * Heavily lobby for it's adoption in the BSD and systemdfree Linux world\n\n\n * Reimplement GtkMozEmbed for UXP, so this wonderful engine can be used in gtk2 projects\n\n\nHere's how you can build it:\nInstructions for installing it on the system\n\nCODE:\n\n\n touch READMEautoreconf -fvi./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-xinput=yesmake -j\"$(nproc)\"sudo make install\n\nif you only want to test it, only use\n\nCODE:\n\n\n ./configure --prefix=/TESTDIR --with-xinput=yesmake -j\"$(nproc)\"make install\n\nand change TESTDIR to another location\n\nThen just test an application with (in this case leafpad)\n\nCODE:\n\n\n env \\LD_LIBRARY_PATH=/TESTDIR/lib \\GTK_PATH=/TESTDIR/lib/gtk-2.0 \\GTK_EXE_PREFIX=/TESTDIR \\/usr/bin/leafpad\n\nPlease try and report any bugs to me\n\n* * *",
"title": "Other/future projects • GTK2 revival",
"updatedAt": "2026-04-22T07:34:10.000Z"
}