Control: tags 828037 + pending

Dear maintainer,

Upstream responded in my bug report
(https://bugs.freedesktop.org/show_bug.cgi?id=96896) and suggested to use
a fontconfig rule to reject those files and that's what the attached patch
does. I tested it and it does indeed skip over .dpkg-tmp files that I
manually created.

I'm thus uploading it as a delayed NMU (versioned as 2.11.0-6.6) and
uploaded it to DELAYED/05.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/
diff -Nru fontconfig-2.11.0/debian/changelog fontconfig-2.11.0/debian/changelog
--- fontconfig-2.11.0/debian/changelog	2016-08-06 10:24:50.000000000 +0200
+++ fontconfig-2.11.0/debian/changelog	2016-08-17 16:47:14.000000000 +0200
@@ -1,3 +1,11 @@
+fontconfig (2.11.0-6.6) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Modifiy /etc/fontconfig/fonts.conf to ignore *.dpkg-tmp files.
+    (Closes: #828037)
+
+ -- Raphaël Hertzog <hert...@debian.org>  Wed, 17 Aug 2016 16:46:23 +0200
+
 fontconfig (2.11.0-6.5) unstable; urgency=high
 
   * Non-maintainer upload.
diff -Nru fontconfig-2.11.0/debian/patches/series fontconfig-2.11.0/debian/patches/series
--- fontconfig-2.11.0/debian/patches/series	2016-08-06 10:24:50.000000000 +0200
+++ fontconfig-2.11.0/debian/patches/series	2016-08-17 16:33:16.000000000 +0200
@@ -5,3 +5,4 @@
 05_doc_files.patch
 06_cross.patch
 07_CVE-2016-5384-Properly-validate-offsets-in-cache-files.patch
+skip-dpkg-tmp-files.patch
diff -Nru fontconfig-2.11.0/debian/patches/skip-dpkg-tmp-files.patch fontconfig-2.11.0/debian/patches/skip-dpkg-tmp-files.patch
--- fontconfig-2.11.0/debian/patches/skip-dpkg-tmp-files.patch	1970-01-01 01:00:00.000000000 +0100
+++ fontconfig-2.11.0/debian/patches/skip-dpkg-tmp-files.patch	2016-08-17 16:37:31.000000000 +0200
@@ -0,0 +1,25 @@
+Description: Configure fontconfig to ignore *.dpkg-tmp files
+Bug: https://bugs.freedesktop.org/show_bug.cgi?id=96896
+Bug-Debian: https://bugs.debian.org/828037
+Author: Raphaël Hertzog <hert...@debian.org>
+Last-Update: 2016-08-17
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/fonts.conf.in
++++ b/fonts.conf.in
+@@ -66,6 +66,15 @@
+ 	</match>
+ 
+ <!--
++  Ignore dpkg temporary files created in fonts directories
++-->
++	<selectfont>
++		<rejectfont>
++			<glob>*.dpkg-tmp</glob>
++		</rejectfont>
++	</selectfont>
++
++<!--
+   Load local system customization file
+ -->
+ 	<include ignore_missing="yes">@CONFIGDIR@</include>

Reply via email to