Package: fontconfig-config Version: 2.11.0-6.3 Followup-For: Bug #776801 Hi,
Also affected by this bug. It was a bit hard to debug, as it is not immediatly obvious that the 70-no-bitmaps.conf link is broken if you look too quickly, not counting finding the right place to look at first. This bug could have been prevented if #758973 had not introduced a strange hack for what is to me *not* a problem: it is very strange that now the configuration of the package is not idempotent. For me, re-creating the config from the debconf questions should be harmless, and thus activatable whenever the configuration is asked on postinst: in our case, on upgrade. For me, the patch from this bug that made it to version 2.11.0-6.3 should be reverted. Or maybe, the attached crude hack applied, but it really looks ugly. Thanks, benjamin -- System Information: Debian Release: 8.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages fontconfig-config depends on: ii debconf [debconf-2.0] 1.5.56 ii fonts-dejavu-core 2.34-1 ii fonts-liberation 1.07.4-1 ii ucf 3.0030 fontconfig-config recommends no packages. fontconfig-config suggests no packages. -- debconf information: * fontconfig/hinting_type: Native * fontconfig/subpixel_rendering: Automatic * fontconfig/enable_bitmaps: false
>From b7419008ae1a6d4c3d4f36062fe5b44bdd87ddb7 Mon Sep 17 00:00:00 2001 From: Benjamin Cama <benjamin.c...@telecom-bretagne.eu> Date: Mon, 21 Sep 2015 14:10:35 +0200 Subject: [PATCH] Fix wrong 70-no-bitmaps.conf link from older version --- debian/changelog | 7 +++++++ debian/fontconfig-config.postinst | 2 ++ 2 files changed, 9 insertions(+) diff --git a/debian/changelog b/debian/changelog index dea52c1..bcaf363 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +fontconfig (2.11.0-6.4) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix wrong 70-no-bitmaps.conf link from older version. Closes: #776801. + + -- Benjamin Cama <benjamin.c...@telecom-bretagne.eu> Mon, 21 Sep 2015 14:11:35 +0200 + fontconfig (2.11.0-6.3) unstable; urgency=medium * Non-maintainer upload. diff --git a/debian/fontconfig-config.postinst b/debian/fontconfig-config.postinst index 2a4d04e..44ef4cf 100644 --- a/debian/fontconfig-config.postinst +++ b/debian/fontconfig-config.postinst @@ -72,8 +72,10 @@ if is_initial_configuration "$@"; then ln -s $CONFAVAIL/$no_subpixel $CONFDIR/$no_subpixel ;; esac +fi +if is_initial_configuration "$@" || [ $(readlink $CONFDIR/70-no-bitmaps.conf) = "/etc/fonts/conf.avail/70-no-bitmaps.conf" ]; then db_get fontconfig/enable_bitmaps enable_bitmaps="$RET" -- 2.1.4