Your message dated Fri, 27 Mar 2020 20:14:27 +0000
with message-id <[email protected]>
and subject line Bug#568686: fixed in fontconfig 2.13.1-3
has caused the Debian Bug report #568686,
regarding Should stop listing /usr/X11R6/lib/X11/fonts as a fonts location
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
568686: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568686
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fontconfig
Version: 2.11.0-2
User: [email protected]
Usertags: origin-ubuntu trusty ubuntu-patch

The rules adds /usr/X11R6/lib/X11/fonts, that directory is not used by any package anymore and having it in the list creates some extra work for clients that iterate through the fontconfig locations.

One example is that gnome-settings-daemon bug, https://launchpad.net/bugs/1266873 where the code adds monitors on the different font directories (to pick new fonts when they get installed), which creates a constant polling on /usr/X11R6/lib/X11

The attached patch fixes the issue

Cheers,
Sebastien Bacher
diff -Nru fontconfig-2.11.0/debian/changelog fontconfig-2.11.0/debian/changelog
--- fontconfig-2.11.0/debian/changelog  2013-11-23 20:14:36.000000000 +0100
+++ fontconfig-2.11.0/debian/changelog  2014-01-16 15:51:48.000000000 +0100
@@ -1,3 +1,12 @@
+fontconfig (2.11.0-3) unstable; urgency=medium
+
+  * debian/rules:
+    - don't add /usr/X11R6/lib/X11/fonts to the fonts path, that's a
+      deprecated location and it leads to polling on the directory,
+      which means wakeups and extra power usage (lp: #1266873)
+
+ -- Sebastien Bacher <[email protected]>  Thu, 16 Jan 2014 15:50:35 +0100
+
 fontconfig (2.11.0-2) unstable; urgency=low
 
   * fontconfig-config.postrm: be less aggressive in removing fonts.d.
diff -Nru fontconfig-2.11.0/debian/rules fontconfig-2.11.0/debian/rules
--- fontconfig-2.11.0/debian/rules      2013-10-20 20:00:50.000000000 +0200
+++ fontconfig-2.11.0/debian/rules      2014-01-16 15:52:04.000000000 +0100
@@ -16,7 +16,7 @@
 WITHARCH=
 endif
 
-DEB_CONFIGURE_EXTRA_FLAGS := $(WITHARCH) --disable-docs 
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) 
--with-add-fonts=/usr/X11R6/lib/X11/fonts,/usr/local/share/fonts
+DEB_CONFIGURE_EXTRA_FLAGS := $(WITHARCH) --disable-docs 
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) 
--with-add-fonts=/usr/local/share/fonts
 
 # tight versioning
 DEB_DH_MAKESHLIBS_ARGS_libfontconfig1 := -V"libfontconfig1 (>= 2.11)" 
--add-udeb="fontconfig-udeb"

--- End Message ---
--- Begin Message ---
Source: fontconfig
Source-Version: 2.13.1-3
Done: Emilio Pozuelo Monfort <[email protected]>

We believe that the bug you reported is fixed in the latest version of
fontconfig, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emilio Pozuelo Monfort <[email protected]> (supplier of updated fontconfig 
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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 18 Mar 2020 00:56:46 +0100
Source: fontconfig
Binary: fontconfig fontconfig-config fontconfig-dbgsym fontconfig-udeb 
libfontconfig-dev libfontconfig-doc libfontconfig1 libfontconfig1-dbgsym 
libfontconfig1-dev
Architecture: source all amd64
Version: 2.13.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian freedesktop.org maintainers 
<[email protected]>
Changed-By: Emilio Pozuelo Monfort <[email protected]>
Description:
 fontconfig - generic font configuration library - support binaries
 fontconfig-config - generic font configuration library - configuration
 fontconfig-udeb - generic font configuration library - minimal runtime (udeb)
 libfontconfig-dev - generic font configuration library - development
 libfontconfig-doc - generic font configuration library - documentation
 libfontconfig1 - generic font configuration library - runtime
 libfontconfig1-dev - generic font configuration library - dummy package
Closes: 568686 844607 879503 935760
Changes:
 fontconfig (2.13.1-3) unstable; urgency=medium
 .
   [ Laurent Bigonville ]
   * debian/rules: Stop looking for fonts in /usr/X11R6/lib/X11/fonts, nothing
     is installing fonts there for years and it's causing gnome-settings-daemon
     to check the location every few seconds (Closes: #568686)
 .
   [ Fabian Greffrath ]
   * fontconfig-config: extend, clean-up and order fontconfig-config's
     font dependencies (Closes: #879503)
 .
   [ Emilio Pozuelo Monfort ]
   * Split documentation into a -doc package to avoid multi-arch problems in
     the -dev one (Closes: #935760, #844607)
   * Since we're going through NEW, rename libfontconfig1-dev to
     libfontconfig-dev and provide the former.
   * Switch to debhelper-compat.
Checksums-Sha1:
 e3c237b9818eab11e09146fd84e7ab2327666dc5 2679 fontconfig_2.13.1-3.dsc
 75612356ef4f801735b49baf987f8942b4a7a5e1 1723639 fontconfig_2.13.1.orig.tar.bz2
 c0fb76fc26b14e882755439afeb79ba53759e2bd 54072 
fontconfig_2.13.1-3.debian.tar.xz
 89bdaea6936a6ee3a5d412d9d60fcfc14d85a75e 280676 
fontconfig-config_2.13.1-3_all.deb
 3ef5787ab8c0b027dbd38323fefe112ace16d17c 58216 
fontconfig-dbgsym_2.13.1-3_amd64.deb
 e57bf6ecbf7a510657e5c58148434229a5eaad6e 121404 
fontconfig-udeb_2.13.1-3_amd64.udeb
 802c677e0dc0cc7961926455ef518acdc46bb378 10822 
fontconfig_2.13.1-3_amd64.buildinfo
 b7f244a8a7478bd3db380be105edfd3b9213ccf5 405404 fontconfig_2.13.1-3_amd64.deb
 226ed423db4d9a10e3e4d8e795452b3b55bea0f1 368452 
libfontconfig-dev_2.13.1-3_amd64.deb
 145e4594813d020774666d463496130f245f18ed 837328 
libfontconfig-doc_2.13.1-3_all.deb
 4f036a61d899b4e8d3ed7125cfaebe3b9753c077 352572 
libfontconfig1-dbgsym_2.13.1-3_amd64.deb
 3215fc47397d1b297abd4567f5eccf0da4830ba9 237520 
libfontconfig1-dev_2.13.1-3_amd64.deb
 944403d03f6aeefccfe6d6fc331ace9b13facfbd 347264 
libfontconfig1_2.13.1-3_amd64.deb
Checksums-Sha256:
 d22fd32a4025677a77d40449de50e9c7fab8ff6fa5cfe3771ef87d33b54e1da9 2679 
fontconfig_2.13.1-3.dsc
 f655dd2a986d7aa97e052261b36aa67b0a64989496361eca8d604e6414006741 1723639 
fontconfig_2.13.1.orig.tar.bz2
 40d51ee2e796ae6820484a13518a62a632d6a32fbc04a579fb22a7b8b3186d28 54072 
fontconfig_2.13.1-3.debian.tar.xz
 aeb037827473f308ab10dba6361a250191f440de47848e34437e89e70d471043 280676 
fontconfig-config_2.13.1-3_all.deb
 00065b43651a535ffe85d194686e0fa25f1aff51656354b806eac0a33faa2bc6 58216 
fontconfig-dbgsym_2.13.1-3_amd64.deb
 807c0d9595e1096d82e6ff23d3fc16860b1def7ab66d1e069c5d27ff620b9cfe 121404 
fontconfig-udeb_2.13.1-3_amd64.udeb
 c37b5f8aeece49d5d0205a87c3a67578568ae03d27d963d20e3cbc08c0af2998 10822 
fontconfig_2.13.1-3_amd64.buildinfo
 602df879018505d43762e687bb338a6246398689ab148d1386e0ed61a0084079 405404 
fontconfig_2.13.1-3_amd64.deb
 ee58bb3ec22bebe9056003ce12c564e3406b56d38415f9c7bacb617a6b316393 368452 
libfontconfig-dev_2.13.1-3_amd64.deb
 104e239485a2548c462c0cbc9741769f72d09db967459431f42467f028a1ddfd 837328 
libfontconfig-doc_2.13.1-3_all.deb
 6dee4e154e6b8a92a7f7f869b775fab1adcd7081749213f82bd8fe30bbd01049 352572 
libfontconfig1-dbgsym_2.13.1-3_amd64.deb
 eb01a458c3830e02cafd4b9d9d4ef550c79b35dc28fbe66babaf95ea9c93e155 237520 
libfontconfig1-dev_2.13.1-3_amd64.deb
 e61a215107ef8ce4237b86d2f87c61a94e9f14ce4114d0eb47ff5e55345396b5 347264 
libfontconfig1_2.13.1-3_amd64.deb
Files:
 50153df8600261f239bb0a75f6059b15 2679 fonts optional fontconfig_2.13.1-3.dsc
 36cdea1058ef13cbbfdabe6cb019dc1c 1723639 fonts optional 
fontconfig_2.13.1.orig.tar.bz2
 bb3f7601b5badae3cac841f162a7f3d2 54072 fonts optional 
fontconfig_2.13.1-3.debian.tar.xz
 7c540966e3629ce9d8779f5ae8e40b3d 280676 fonts optional 
fontconfig-config_2.13.1-3_all.deb
 364369c96bbc8583e52f7e264d861559 58216 debug optional 
fontconfig-dbgsym_2.13.1-3_amd64.deb
 9d30657c196ac74733e524ba4bf19632 121404 debian-installer optional 
fontconfig-udeb_2.13.1-3_amd64.udeb
 4b7ab82a9e9cf071479d14021761402a 10822 fonts optional 
fontconfig_2.13.1-3_amd64.buildinfo
 d7ad4644364ed7c9ab377a5456e2885d 405404 fonts optional 
fontconfig_2.13.1-3_amd64.deb
 87ab6500cf67e2fdf76e1a5532358d16 368452 libdevel optional 
libfontconfig-dev_2.13.1-3_amd64.deb
 9a98d21ffb22fec7c46173d1e70c2f18 837328 doc optional 
libfontconfig-doc_2.13.1-3_all.deb
 8ce9376aa33d61fc088d9fe6d11000c6 352572 debug optional 
libfontconfig1-dbgsym_2.13.1-3_amd64.deb
 094ce8dfa6bf851f537659c69b3dfbda 237520 oldlibs optional 
libfontconfig1-dev_2.13.1-3_amd64.deb
 f6f775262b5657a3d7568b23544fadab 347264 libs optional 
libfontconfig1_2.13.1-3_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEcJymx+vmJZxd92Q+nUbEiOQ2gwIFAl5xZPsACgkQnUbEiOQ2
gwJexRAAkhMgwgYItDzRhL41EN9sUA6rHQHzu++mAUu3cu3V9BRDfOMeQNfaNZHO
Wxm/AQxM9wUHjyTq/rEorZ7jLDTkbRK+51FWm7gu46pZXjlfc6M6QIYl+U5uoMHW
GX6v4cMF+daBxPL6lP7Lxm2lrYnyE9ZsDiGEvv23uiQUcTVAHyOZ2+0ObbKQ4cmN
r/EXPbkNp0N2xxsr+573KyVRCsG/xqaN5Q7yFH9VUwjyXTLvzINF7I6uc7bYwSgc
GsRMXyz+LNGAnn6pO7KfoHwCu6+entkbRi9X+KGSi2T1JuWt+XDaaJKicfmKoTtY
NOjY9a1D1Ay9BMUq02Lk4pFlO763aWgRRNWtLOdftosd4z7FcKTwWwL6m6prkr/B
0/rq7BHdU1ezvk0IuCsqAPibXOaUh1B2u+otWpXOIFq0aXC8GwvfiXVw/gvk1Y9u
lODUPvPupUklBQ35iZu4NUOR4Z1Fcm1gtEWQ92vtGMga8znlRXPOE6a3LjQDs7Cs
q1ba2PhNVrCZ62x5qgGHSEg0Iw911H9niViaP59a4ocTLMbBUHM2O7RW/+lcoFF4
KG3Wu5CerXNjoy6iXhaUYYf+jieegV11jUItVdSBqq5VKK20MWsX0rBQ81I2Dy3c
544UhI4pImT/4zFmnFmtN610kgSthFIBdTAhoQbgGtS19wiwH8s=
=We0b
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to