#1089809 linuxcnc-uspace: depends on deprecated GTK 2

Package:
linuxcnc-uspace
Source:
linuxcnc-uspace
Description:
motion controller for CNC machines and robots
Submitter:
Bastian Germann
Date:
2026-07-02 13:27:02 UTC
Severity:
normal
Tags:
#1089809#5
Date:
2024-12-12 22:56:45 UTC
From:
To:
Please build the package with --disable-gtk2 and drop classicladder from it.
#1089809#16
Date:
2026-01-08 01:18:47 UTC
From:
To:
As announced [1], we are trying to remove gtk2 from forky. Therefore,
I am raising the severity of this issue.

[1] https://lists.debian.org/debian-devel/2026/01/msg00090.html

On behalf of the Debian GNOME team,
Jeremy Bícha

#1089809#23
Date:
2026-01-08 16:05:07 UTC
From:
To:
Do we have a fix for this? It seems we need to either re-write or drop
ClassicLadder.

#1089809#28
Date:
2026-01-08 18:49:40 UTC
From:
To:
Debian 14 ("Forky") will be released in 2027. I expect Testing to
start freezing for that release in early 2027.

Thank you,
Jeremy Bícha

#1089809#33
Date:
2026-03-30 12:25:23 UTC
From:
To:
This is already fixed upstream for some years. It just needs to make it
to a release.

#1089809#42
Date:
2026-07-02 13:23:28 UTC
From:
To:
[Bastian Germann]

Yes, it require Debian to switch from the stable 2.9 branch to the
currently unreleased and possibly unstable 2.10 branch.

An easier alternative is to simply drop the libgtk2.0-dev build
dependency.  The effect is that the optional editor for the
classicladder component (used for modifying ladder setup using a
practical GUI) will not be built, so any modifications to the PLC
setup in LinuxCNC will have to be done by editing the fairly
unreadable text file used to configure classicladder.

I believe this is a better option than keeping LinuxCNC out of
testing, as the classicladder module is not much used by LinuxCNC
users, as far I know.  The long term solution is to get the 2.10
release out the door upstream and into Debian.  I spoke with the
release manager, and this is his preferred option and he believed it
should be possible to do before forky is released.

Another alternative is to backport the rewrite of classicladder from
2.10 to 2.9.  I do not know how much work or how risky it is, but
notice there are no automatic tests of classicladder in the LinuxCNC
source tree, so I guess any problems would have to wait for feedback
form users.

This patch should drop the editor:

diff --git a/debian/control b/debian/control
index 1d8e117..5ddaf54 100644
--- a/debian/control
+++ b/debian/control
@@ -27,7 +27,6 @@ Build-Depends:
     libepoxy-dev,
     libgl-dev | libgl1-mesa-dev,
     libglu1-mesa-dev,
-    libgtk2.0-dev,
     libgtk-3-dev,
     libmodbus-dev (>= 3.0),
     libgpiod-dev,