#967252 amide: depends on deprecated GTK 2

#967252#5
Date:
2020-08-04 10:32:19 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

#967252#12
Date:
2022-12-04 11:44:17 UTC
From:
To:

#967252#27
Date:
2024-02-22 16:10:54 UTC
From:
To:
Please find attached patches that port this package to GSettings,
GTK 3 and GooCanvas.  (Only the first two patches in the series are
relevant; the rest are unrelated improvements I consider worth doing,
but YMMV).

While gtk+2.0 removal from Debian is somewhere in the future, this
brings us one step closer to removing libgnomecanvas (only two
packages are left depending on it, not counting amide).

I tested it quite a lot with files downloaded from here:
https://www.rubomedical.com/dicom_files/.  However, as this is a
complex and feature-rich program, it's quite possible that I've missed
something.  (It also goes without saying that I'm not a user of this
package and my knowledge in this area is approximately zero.)

Some time ago Andreas Tille added me as member of Debian Med because
of adun.app, however I wouldn't want to abuse my push access.  I would
suggest that someone from the regular uploaders of this package
reviews the patches first, possibly contacting upstream as well.
Please test extensively, these are major and invasive changes.

P.S.  Someone on the upstream bug tracker suggested that this should
be an intermediate step towards GTK 4.  I could agree but porting to
GTK 4 has to wait for the release of GooCanvas 4.0.  The latest
release (3.0, not yet packaged for Debian) is still based on GTK 3.

#967252#34
Date:
2024-02-23 15:49:12 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
amide, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 967252@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Yavor Doganov <yavor@gnu.org> (supplier of updated amide package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 22 Feb 2024 09:00:50 +0200
Source: amide
Architecture: source
Version: 1.0.6-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Yavor Doganov <yavor@gnu.org>
Closes: 967252
Changes:
 amide (1.0.6-4) unstable; urgency=medium
 .
   * Team upload.
   * debian/patches/gsettings.patch: New; port to GSettings.
   * debian/patches/gtk3+goocanvas.patch: New; port to GTK 3 and GooCanvas
     2.0 (Closes: #967252).
   * debian/patches/no-gnome-vfs.patch: New; remove GnomeVFS support.
   * debian/patches/compiler-warnings.patch: New; fix some warnings.
   * debian/rules (override_dh_auto_configure): Remove --disable-gconf and
     --disable-gnome-vfs.
   * debian/control (Build-Depends): Replace libgtk2.0-dev and
     libgnomecanvas2-dev with libgtk-3-dev and libgoocanvas-2.0-dev.  Add
     libopenjp2-7-dev and libvistaio-dev, thus adding support for JPEG 2000
     and Vista images.
   * debian/NEWS: New file; inform users that configuration is lost.
Checksums-Sha1:
 ab0ef4cbf54b431d25822c77cc9d39431e100870 2273 amide_1.0.6-4.dsc
 a4c4867d22dad21a09142114b3d25e4bce7baef0 116388 amide_1.0.6-4.debian.tar.xz
 9bdc34cd7e3b12577f25c100783a68355f862e95 18901 amide_1.0.6-4_amd64.buildinfo
Checksums-Sha256:
 57619908fcd434fe8980cd0c2dae62c952fc8785ad7da43c5669dbbf067bc817 2273 amide_1.0.6-4.dsc
 c079a63fb6632c18c0a7c1b00904b145b4a3f19fa395cff64dd1004f1e5418bc 116388 amide_1.0.6-4.debian.tar.xz
 a1fc28afe008b80fa214ba41e206a4669ee3d4c210149c0d7261872867537b47 18901 amide_1.0.6-4_amd64.buildinfo
Files:
 01642da2ee3a743acee754af1b2fccbc 2273 graphics optional amide_1.0.6-4.dsc
 ae8345bb0f48e7c15be7a4f3431ac506 116388 graphics optional amide_1.0.6-4.debian.tar.xz
 d90bac21dff6f25214bb55261235866a 18901 graphics optional amide_1.0.6-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmXYuuERHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtF6rA/+In6h4mZbA4hFZK/Ug6HeAk7eqr9ohoEF
1puQhO+0Dk/W2T50VuixSU/2IeA3gl3q2SBXsVZxAKTsRSL47T74XhEuRUlFMfTm
JAOBW879zFIVaGgWM4YT2E/o/JwlNVMxuWkPaAwx0tqfLXxD0QhOV4/W8T9dlOU7
ZIgOGcOmHcPq0VX2z2FLW7PShtjkzWnc0WtdLQKhqIq5vsWPWkT91Vi6vZ7te1vg
vph2UVqv5JcblXruD54QskcVg/i7aXmCrSJ0rKKX7/2rUeqJ1mOPuMSpoaMFn06v
b/LOfjvGyvdUXMu3J1vku71Z8nZT9e+WO0YeMVNveRPKglt6WJfxDi+DasTDERSH
dr5fECaktjAnW6Oelp35S4/rtPo334iKz+xuUKUsNkwen79/gPR6DIkgjKdX6LB/
e7UzK/lT9atBy02pCLc14ZeHa7PzUCVi0tz3jZ89pge7jpytFs6+9hDpXQ5RwqlK
FcN8318m2GPrX6fOA2MKVTy40exN6ITxCH1kcz3Pnp1AHt6K+1GN///Bbc9rDkS8
KPSeREpwoVhrxo8ReJPh2DOtnU47+4o5u/BPdS2l35XA2kN9Y8L6kThJyYYeXuAa
rI/qp+gm5Q5oR8OBufNe3lH+FCwHxqvbsCsJOx06ftw0dFqzdy0ByHxJ+ks9s1yD
asg0quuD+2w=
=ttL/
-----END PGP SIGNATURE-----