#965901 xfonts-encodings: Removal of obsolete debhelper compat 5 and 6 in bookworm

#965901#5
Date:
2020-07-20 19:35:38 UTC
From:
To:
Hi,

The package xfonts-encodings uses debhelper with a compat level of 5 or 6,
which is deprecated and scheduled for removal[1].

Please bump the debhelper compat at your earliest convenience
/outside the freeze/!

  * Compat 13 is recommended (supported in stable-backports)

  * Compat 7 is the bare minimum


PLEASE KEEP IN MIND THAT the release team *DOES NOT* accept uploads
with compat bumps during the freeze.

If there is any risk that the fix for this bug might not migrate to
testing before 2021-01-01[3] then please postpone the fix until after
the freeze.


At the time of filing this bug, compat 5 and 6 are expected to be
removed "some time during the development cycle of bookworm".


Thanks,
~Niels


[1] https://lists.debian.org/debian-devel/2020/07/msg00065.html

[2] https://release.debian.org/bullseye/FAQ.html

[3] The choice of 2021-01-01 as a "deadline" is set before the actual
freeze deadline to provide a safe cut off point for most people.

Mind you, it is still your responsibility to ensure that the upload
makes it into testing even if you upload before that date.

#965901#14
Date:
2022-07-21 12:30:19 UTC
From:
To:
I've prepared merge requests for all the xfonts-* packages (except
xfonts-utils which contains utilities rather than fonts) fixing the
missing targets required by Policy §4.9:

https://salsa.debian.org/xorg-team/font/xfonts-100dpi/-/merge_requests/1
https://salsa.debian.org/xorg-team/font/xfonts-75dpi/-/merge_requests/1
https://salsa.debian.org/xorg-team/font/xfonts-base/-/merge_requests/1
https://salsa.debian.org/xorg-team/font/xfonts-cyrillic/-/merge_requests/1
https://salsa.debian.org/xorg-team/font/xfonts-encodings/-/merge_requests/1
https://salsa.debian.org/xorg-team/font/xfonts-scalable/-/merge_requests/1

Adding the new targets does not affect the contents of any built .deb.

I took the opportunity to fix the Vcs-Git, Vcs-Browser fields where
necessary, and add Rules-Requires-Root: no to avoid needing fakeroot
(I checked that this does not affect the contents of any of these .debs).

For -base, -cyrillic, -75dpi and -100dpi I also fixed FTBFS on newer
architectures such as arm64 by using dh_update_autotools_config to update
config.guess and config.sub (-base: #856271, -cyrillic: no bug reported,
-75dpi: #976471, -100dpi: #976571). Again, this does not affect the
contents of any built .deb. I didn't base this on Andrew Shadura's patch
from #856271, because that patch did the update manually and didn't handle
the clean step, whereas this version uses dh_update_autotools_config
which seems generally nicer (and in particular, dh_clean automatically
reverses it).

For -encodings and -scalable, the package's debhelper compat level 5
is no longer supported and the package FTBFS in unstable, so I had to
fix that first (#965901, #965894). Instead of doing a minimal bump to
deprecated version 7, I went directly to the recommended compat level
13 (available since stable and oldstable-backports). I verified with
diffoscope that the only effect this has on the contents of the .deb is
to add the upstream ChangeLog as changelog.gz, which seems harmless.

These packages would probably all benefit from moving to short-form dh,
but I haven't done that here, because that's a matter of style/opinion
which should be left to the maintainer.

Thanks,
    smcv

#965901#21
Date:
2022-07-21 22:28:15 UTC
From:
To:
Diffs for -encodings attached. There was no bug report for the missing
build-* targets, but they're also a RC bug.

    smcv

#965901#26
Date:
2023-01-17 10:37:59 UTC
From:
To:
I've prepared an NMU for xfonts-encodings (versioned as 1:1.0.4-2.2) with
the attached diff, also available at
<https://salsa.debian.org/xorg-team/font/xfonts-encodings/-/merge_requests/2>.

Since this only contains changes that were already merged into the
maintainers' VCS months ago, I'm going to upload a NMU without further
delay.

Thanks,
    smcv

#965901#33
Date:
2023-01-17 11:39:47 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
xfonts-encodings, 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 965901@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon McVittie <smcv@debian.org> (supplier of updated xfonts-encodings 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: Sun, 15 Jan 2023 14:14:38 +0000
Source: xfonts-encodings
Architecture: source
Version: 1:1.0.4-2.2
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Simon McVittie <smcv@debian.org>
Closes: 965901
Changes:
 xfonts-encodings (1:1.0.4-2.2) unstable; urgency=medium
 .
   * Non-maintainer upload, incorporating changes from the maintainers'
     packaging repository
 .
   [ Julien Cristau ]
   * Switch Vcs-* control fields to https.
   * Switch xorg.freedesktop.org URLs in packaging to https.
 .
   [ Simon McVittie ]
   * d/control: Update Vcs-* for migration to salsa.debian.org
   * Use recommended debhelper compat level 13 (Closes: #965901)
   * d/rules: Add missing targets build-arch, build-indep (Policy §4.9)
   * d/control: Declare that the build does not require (fake)root
Checksums-Sha1:
 abfb4d3a8468673cf92c457a1464cc20d566352b 1985 xfonts-encodings_1.0.4-2.2.dsc
 3ec6e08f9e8b18bc31372663113c901117b6b7ea 14914 xfonts-encodings_1.0.4-2.2.diff.gz
 dd008dca57165ba5eacea3997344538a6576d689 5631 xfonts-encodings_1.0.4-2.2_source.buildinfo
Checksums-Sha256:
 2a57d9948ee61a0e36b60f61d616c59ec1b60e8f6f5ba315b5e624a76c8125c7 1985 xfonts-encodings_1.0.4-2.2.dsc
 587821226a0a18b70362be82eb46550983fa8502b5300a2f87fc753f0f4dd1cf 14914 xfonts-encodings_1.0.4-2.2.diff.gz
 7dcdd8c51c8fc2553e691a59171a60e28489da2605b0cdcabe49db7ae6e1c45e 5631 xfonts-encodings_1.0.4-2.2_source.buildinfo
Files:
 cde96e64d0861978a8714225fc0eb246 1985 x11 optional xfonts-encodings_1.0.4-2.2.dsc
 5d536cf640cb35c146adfef99720a1a5 14914 x11 optional xfonts-encodings_1.0.4-2.2.diff.gz
 2db7c56fe09fb91fa51fd90e09158ec6 5631 x11 optional xfonts-encodings_1.0.4-2.2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAmPGfegACgkQ4FrhR4+B
TE8pgBAAnByVKuzm7fOENEMMvg7uqas5YvNT1HYeC5BxGVXsmy7HzRKgHLBvPw+X
MSWc1Dpm2kJ78RUc5BuRJCHKywLGrkUxS5dCjkxQDe5mISBpqWwNaq/PX7Csy1Dk
dJdM9+r0DfEhbxgW7xnWAumbFqyg4OsQbgWyIm7irDQw/8HScjUCD0Q4uY6k8tJP
zJDQjqgyYRZdxpZm3iD5ASVGFU2UJT/d5T7bfc0hNiuJAwiRFF/LvyZfzLgRrPkN
U0o2V8HOtYP4z+iXBC1hHRdGixxTTf2wPoiENbzarViSWP0F4VjG9lH3pjCTlU27
CmwJ4Sf6fYKThXUFr5reAldwM+/AqFjrDV+L96G44pYWbYkpm2Lz2QU4YJBYvH22
zvepNph9Wenjm5zHnmiESvoCZSu16ejYJiA5GoPxeAne8jhB//d8ELW+NtLlDkco
QpJqgjdERVcT9V3KmcUCq8W5vDMZY/3D6L/XjHxRqT6MsUv+nLX/fp9VShEBjYqY
gB+7wWGxSI2TFDYwRniHT2smZztQKc52T16GoYpPUj9OJ4vKqZF9L5ZgdK8Gc6oa
n5bXerspTBtRIXZEDOfsjt1v7Kmf6NQ15L//v52W+tJhA+7TQxZYPYCsgk+nyLHs
jqzW5qkhEtVfdGNZmIrBUgyLwj7qHzJaC2LbOSeKEoO3nG0WSVo=
=rqV4
-----END PGP SIGNATURE-----