#967795 view3dscene: depends on deprecated GTK 2

#967795#5
Date:
2020-08-04 11:05:10 UTC
From:
To:
This package has Build-Depends on GTK 2 (libgtk2.0-dev), or produces
binary packages with a Depends on GTK 2.

GTK 2 was superseded by GTK 3 in 2011 (see
<https://bugs.debian.org/947713>). It no longer receives any significant
upstream maintenance, and in particular does not get feature development
for new features like UI scaling on high-pixel-density displays (HiDPI)
and native Wayland support. GTK 3 is in maintenance mode and GTK 4 is
approaching release, so it seems like a good time to be thinking about
minimizing the amount of GTK 2 in the archive.

GTK 2 is used by some important productivity applications like GIMP, and
has also historically been a popular UI toolkit for proprietary software
that we can't change, so perhaps removing GTK 2 from Debian will never be
feasible. However, it has reached the point where a dependency on it is
a bug - not a release-critical bug, and not a bug that can necessarily
be fixed quickly, but a piece of technical debt that maintainers should
be aware of.

A porting guide is provided in the GTK 3 documentation:
https://developer.gnome.org/gtk3/stable/migrating.html

Some libraries (for example libgtkspell0) expose GTK as part of their
API/ABI, in which case removing the deprecated dependency requires
breaking API/ABI. For these libraries, in many cases there will already
be a corresponding GTK 3 version (for example libgtkspell3-3-0), in which
case the GTK 2-based library should probably be deprecated or removed
itself. If there is no GTK 3 equivalent, of a GTK 2-based library,
maintainers should talk to the dependent library's upstream developers
about whether the dependent library should break API/ABI and switch
to GTK 3, or whether the dependent library should itself be deprecated
or removed.

A few packages extend GTK 2 by providing plugins (theme engines, input
methods, etc.) or themes, for example ibus and mate-themes. If these
packages deliberately support GTK 2 even though it is deprecated, and
they also support GTK 3, then it is appropriate to mark this mass-filed
bug as wontfix for now. I have tried to exclude these packages from
the mass-bug-filing, but I probably missed some of them.

Regards,
    smcv

#967795#12
Date:
2020-08-09 21:03:56 UTC
From:
To:
This depends on upgrading Castle Game Engine class (TCastleWindowBase) to
GTK3. See my comments in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=967284 -- we will do it :)

Once the upgrade to GTK3 in Castle Game Engine is done, then view3dscene
will just be able to use it, without any additional work.

Regards,
Michalis

#967795#21
Date:
2023-10-22 21:15:09 UTC
From:
To:
Meanwhile, you can drop libgtkglext1-dev, which is not used, and unblock #967491.
#967795#26
Date:
2023-10-31 16:25:30 UTC
From:
To:
#967795#33
Date:
2025-01-07 07:58:47 UTC
From:
To:
Control: reassign -1 castle-model-viewer
#967795#38
Date:
2025-01-08 09:20:39 UTC
From:
To:
* Abou Al Montacir <abou.almontacir@sfr.fr>, 2025-01-07 08:58:

There's no such package in Debian.

#967795#45
Date:
2025-01-08 22:03:16 UTC
From:
To:
I see it is in NEW. Can we please stop adding more GTK2 packages?
#967795#50
Date:
2025-01-08 23:41:58 UTC
From:
To:
Hi Jakub, Bastian,

F.Y.I  Upstream have renamed view3dscene as castle-model-viewer.
      That is why the bug was reassigned.

So while castle-model-viewer is in NEW, is is not actually new.
Its a new version of view3dscene with a new name.


Regards,
Peter B

#967795#63
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

#967795#70
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.

#967795#75
Date:
2026-02-09 02:43:44 UTC
From:
To:
( I'm upstream of Castle Game Engine and Castle Model Viewer. )

This should be solved once we release new Castle Game Engine, and it will be packaged in Debian along with new Castle Model Viewer.

The latest Castle Game Engine has `TCastleWindow` backend using GTK 3 by default (not GTK 2). `TCastleWindow` is a class used to initialize window in Castle Model Viewer and most CGE examples. So, simply recompiling the application using the latest Castle Game Engine will fix this issue for Castle Model Viewer.

See https://castle-engine.io/wp/2026/02/09/upgrade-to-gtk-3/ .
We plan soon (February 2026) to do new releases of Castle Game Engine and Castle Model Viewer.

Regards,
Michalis

#967795#84
Date:
2026-02-15 23:09:02 UTC
From:
To: