2026-06-11 18:23:30 +00:00
|
|
|
**Hacking gtk2-ng**
|
|
|
|
|
|
|
|
|
|
Note:
|
2026-06-11 18:19:56 +00:00
|
|
|
When this document was first created back in the day, "hacking" meant to
|
|
|
|
|
modify code to do new and interesting things, not quite the same as the
|
|
|
|
|
more sinister meaning it has taken on today. It is in the spirit of the
|
|
|
|
|
original meaning that this newly revised document has been updated.
|
|
|
|
|
|
|
|
|
|
Full list of Daemonratte's projects:
|
|
|
|
|
https://git.devuan.org/Daemonratte
|
|
|
|
|
|
|
|
|
|
We welcome all contributions to the project! And the best way to make that
|
|
|
|
|
happen is to first clone the main gtk2-ng repo at :
|
|
|
|
|
https://git.devuan.org/Daemonratte/gtk2-ng
|
|
|
|
|
|
|
|
|
|
To make a pull request or report a bug, you'll need to register an account
|
|
|
|
|
at: https://git.devuan.org
|
|
|
|
|
|
|
|
|
|
Got some ideas or a feature request? You can also make an account at:
|
|
|
|
|
https://devuanusers.com and join in the discussions here:
|
|
|
|
|
https://devuanusers.com/forum-gtk2-revival-project--12
|
|
|
|
|
|
|
|
|
|
Cloning the git repo to your local computer is a great way to experiment
|
|
|
|
|
and test results, you'll need to be familiar with git commands and first
|
|
|
|
|
need to install the build dependencies:
|
|
|
|
|
|
|
|
|
|
# yad build-essential git libcups2-dev gettext autopoint
|
|
|
|
|
# autoconf automake libtool pkg-config gtk-doc-tools gobject-introspection
|
|
|
|
|
# libglib2.0-dev libpango1.0-dev libatk1.0-dev libcairo2-dev libgdk-pixbuf-2.0-dev
|
|
|
|
|
# libfontconfig1-dev libfreetype-dev libharfbuzz-dev libfribidi-dev libpng-dev
|
|
|
|
|
# libx11-dev libxext-dev libxrender-dev libxrandr-dev libxcursor-dev
|
|
|
|
|
# libxinerama-dev libxi-dev libxfixes-dev libxcomposite-dev libxdamage-dev
|
|
|
|
|
|
|
|
|
|
There are build scripts (Linux) to help automate the process and do local testing
|
|
|
|
|
side-by-side against current versions of gtk2, you can find them here:
|
|
|
|
|
https://git.devuan.org/greenjeans/gtk2-ng-test-scripts
|
|
|
|
|
|
|
|
|
|
And if you just want to do some simple testing there's an easy way to do
|
|
|
|
|
that without having to do a lot of building/installing, a special test-iso
|
|
|
|
|
with the above scripts already installed to automate everything, that you
|
|
|
|
|
can run in a live-session or a VM, or also install if you have a partition
|
|
|
|
|
to spare:
|
|
|
|
|
https://sourceforge.net/projects/vuu-do/files/Vuu-do-5.03/5.03-gtk2ng-testing/
|
|
|
|
|
|
|
|
|
|
~greenjeans June 2026
|