[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#735143: fonts-texgyre: Alias registering in fontconfig is now redundant



Package: fonts-texgyre
Version: 2.004.2-4.1
Severity: minor

Hello,

I am not sure when this happened, but in recent versions of fontconfig the
registering of the Tex Gyre fonts as aliases for the PostScript Base fonts has
been incorporated upstream. This means that the fontconfig file that we
currently ship as 30-fonts-texgyre-aliases.conf is redundant. Therefore I
suggest the appended patch to remove that file from fresh installs and on
upgrades.

 - Fabian



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (900, 'unstable'), (800, 'experimental'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fonts-texgyre depends on:
ii  dpkg        1.17.5
ii  tex-common  4.04

fonts-texgyre recommends no packages.

fonts-texgyre suggests no packages.

-- no debconf information
reverted:
--- tex-gyre-2.004.2/debian/30-fonts-texgyre-aliases.conf
+++ tex-gyre-2.004.2.orig/debian/30-fonts-texgyre-aliases.conf
@@ -1,40 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
-<fontconfig>
-<!--
-  TeX Gyre is an extensive remake and extension of the freely
-  available 35 base PostScript fonts.
-  -->
-	<alias binding="same">
-	  <family>Helvetica</family>
-	  <accept><family>TeX Gyre Heros</family></accept>
-	</alias>
-	<alias binding="same">
-	  <family>Times</family>
-	  <accept><family>TeX Gyre Termes</family></accept>
-	</alias>
-	<alias binding="same">
-	  <family>Courier</family>
-	  <accept><family>TeX Gyre Cursor</family></accept>
-	</alias>
-	<alias binding="same">
-	  <family>Avant Garde</family>
-	  <accept><family>TeX Gyre Adventor</family></accept>
-	</alias>
-	<alias binding="same">
-	  <family>Bookman</family>
-	  <accept><family>TeX Gyre Bonum</family></accept>
-	</alias>
-	<alias binding="same">
-	  <family>New Century Schoolbook</family>
-	  <accept><family>TeX Gyre Schola</family></accept>
-	</alias>
-	<alias binding="same">
-	  <family>Palatino</family>
-	  <accept><family>TeX Gyre Pagella</family></accept>
-	</alias>
-	<alias binding="same">
-	  <family>Zapf Chancery</family>
-	  <accept><family>TeX Gyre Chorus</family></accept>
-	</alias>
-</fontconfig>
diff -u tex-gyre-2.004.2/debian/changelog tex-gyre-2.004.2/debian/changelog
--- tex-gyre-2.004.2/debian/changelog
+++ tex-gyre-2.004.2/debian/changelog
@@ -1,3 +1,12 @@
+tex-gyre (2.004.2-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove the fontconfig patch which registered the fonts as aliases for the
+    Adobe PostScript Base fonts. This is already handled by fontconfig
+    upstream in recent versions.
+
+ -- Fabian Greffrath <fabian+debian@greffrath.com>  Mon, 13 Jan 2014 09:10:57 +0100
+
 tex-gyre (2.004.2-4) unstable; urgency=low
 
   * fix dangling symlinks of doc files (Closes: #706993)
diff -u tex-gyre-2.004.2/debian/fonts-texgyre.install tex-gyre-2.004.2/debian/fonts-texgyre.install
--- tex-gyre-2.004.2/debian/fonts-texgyre.install
+++ tex-gyre-2.004.2/debian/fonts-texgyre.install
@@ -6 +5,0 @@
-debian/30-fonts-texgyre-aliases.conf etc/fonts/conf.avail
diff -u tex-gyre-2.004.2/debian/rules tex-gyre-2.004.2/debian/rules
--- tex-gyre-2.004.2/debian/rules
+++ tex-gyre-2.004.2/debian/rules
@@ -142,9 +142,7 @@
 	      ; )
 	dh_link -p $(PKGFONTS) \
 	    etc/fonts/conf.avail/65-$(PKGFONTS).conf \
-	    etc/fonts/conf.d/65-$(PKGFONTS).conf \
-	    etc/fonts/conf.avail/30-$(PKGFONTS)-aliases.conf \
-	    etc/fonts/conf.d/30-$(PKGFONTS)-aliases.conf
+	    etc/fonts/conf.d/65-$(PKGFONTS).conf
 
 	dh_installdocs
 	dh_installchangelogs
diff -u tex-gyre-2.004.2/debian/control tex-gyre-2.004.2/debian/control
--- tex-gyre-2.004.2/debian/control
+++ tex-gyre-2.004.2/debian/control
@@ -31,7 +31,7 @@
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}
 Replaces: tex-gyre (<= 2.004.1-4)
-Breaks: tex-gyre (<= 2.004.1-4)
+Breaks: tex-gyre (<= 2.004.1-4), fontconfig-config (<< 2.11.0)
 Description: OpenType fonts based on URW Fonts
  The TeX Gyre project, following the Latin Modern project, aims at providing
  a rich collection of diacritical characters in the attempt to cover as many
@@ -40,9 +40,6 @@
  This package provides the OpenType variant of these fonts. For support
  for TeX and Type 1 (PostScript) fonts, see the tex-gyre package.
  .
- The fonts shipped in this package are registered as alternatives for the
- 35 core PostScript fonts with fontconfig.
- .
  The TeX-GYRE bundle consists of seven font families:
  .
  The TeX Gyre Adventor family of fonts is based on the URW Gothic L
only in patch2:
unchanged:
--- tex-gyre-2.004.2.orig/debian/fonts-texgyre.maintscript
+++ tex-gyre-2.004.2/debian/fonts-texgyre.maintscript
@@ -0,0 +1 @@
+rm_conffile /etc/fonts/conf.avail/30-fonts-texgyre-aliases.conf 2.004.2-4.1~ fonts-texgyre

Reply to: