On Fri, 18 Sep 2026 at 11:05:05 +0100, Simon McVittie wrote:
Isn't it enough to split unifont-viewer from unifont-bin, then?

I'm not sure that I understand the purpose of unifont-viewer. Who would want to run it? What is it useful for?

It doesn't seem to be referenced by any other packages, and it seems to be a GUI in the style of "character map" programs that displays a font in the .hex format shipped by unifont. This looks like something that could be useful to unifont contributors/developers, but not very useful for ordinary users or for e.g. d-i developers.

How about moving it so it's installed as an example rather than a production executable, and reducing its Depends to Suggests, like the attached patch?

This would take the RC-buggy/unmaintained libwx-perl out of debian-installer's recursive dependencies, and I believe it would no longer be a key package as a result.

    smcv
>From 2bd9cbbba84bf04c253e08ea499010bc7983464c Mon Sep 17 00:00:00 2001
From: Simon McVittie <[email protected]>
Date: Thu, 24 Sep 2026 11:04:21 +0100
Subject: [PATCH] d/rules, d/unifont-bin.examples: Only install unifont-viewer
 as an example

This allows libwx-perl (which is unmaintained upstream and has RC bugs)
to be downgraded from Depends to Suggests, so that it will no longer be
a key package.

Closes: #1054278
---
 debian/control              | 4 ++--
 debian/rules                | 1 +
 debian/unifont-bin.examples | 1 +
 3 files changed, 4 insertions(+), 2 deletions(-)
 create mode 100644 debian/unifont-bin.examples

diff --git a/debian/control b/debian/control
index bba56b5..fe4fda7 100644
--- a/debian/control
+++ b/debian/control
@@ -137,8 +137,8 @@ Description: PSF (console) version of GNU Unifont with APL support
 Package: unifont-bin
 Architecture: any
 Depends: xfonts-utils, bdf2psf, fontforge, ${shlibs:Depends}, ${misc:Depends},
- ${perl:Depends}, libwx-perl, libgd-perl
-Suggests: unifont, texinfo, texlive
+ ${perl:Depends}, libgd-perl
+Suggests: unifont, texinfo, texlive, libwx-perl
 Description: utilities for manipulating GNU Unifont
  This is a set of Perl scripts, C programs, and FontForge scripts
  to manipulate Roman Czyborra's GNU Unifont ".hex" format font
diff --git a/debian/rules b/debian/rules
index 26939f0..2bb8298 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,6 +32,7 @@ override_dh_auto_build-indep:
 override_dh_auto_install-arch:
 	dh_auto_install --builddirectory=src -- PREFIX='$$(DESTDIR)/usr'
 	dh_auto_install --builddirectory=man -- PREFIX='$$(DESTDIR)/usr'
+	rm -f debian/tmp/usr/bin/unifont-viewer
 
 #
 # Exclude ChangeLog until dh_installchangelogs is updated,
diff --git a/debian/unifont-bin.examples b/debian/unifont-bin.examples
new file mode 100644
index 0000000..b02da63
--- /dev/null
+++ b/debian/unifont-bin.examples
@@ -0,0 +1 @@
+src/unifont-viewer
-- 
2.55.0

Reply via email to