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

Bug#905880: marked as done (tex-gyre: contains X11 fonts but does not run update-fonts-* in postinst nor dep on xfonts-utils)



Your message dated Mon, 13 Aug 2018 06:20:52 +0000
with message-id <E1fp6Dk-0007AG-MH@fasolo.debian.org>
and subject line Bug#905880: fixed in tex-gyre 20180621-2
has caused the Debian Bug report #905880,
regarding tex-gyre: contains X11 fonts but does not run update-fonts-* in postinst nor dep on xfonts-utils
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 owner@bugs.debian.org
immediately.)


-- 
905880: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905880
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: tex-gyre
Version: 20180621-1
Severity: minor

The tex-gyre package contains X11 fonts but does not run update-fonts-*
from the postinst nor does it depend on xfonts-utils. Consequently the
installed fonts are not registered properly with the X11 fonts system.

The issue is caused by the X11 fonts being symlinks installed by
dh_link and the dh_installxfonts command being run before the symlinks
are installed into the package, so it thinks there are no fonts present.

PS: I think you can drop the defoma stuff for buster.

$ grep -EC3 'dh_installxfonts|dh_link' debian/rules 
	dh_testroot
	dh_clean

	# We will call dh_link only once for the build, with all desired links
	# specified in $(PKG).links because it is much faster than spawning
	# a dh_link (actually, Perl) process for every symbolic link in this
	# package. So, $(PKG).links starts as an empty file and (target, link)
	# pairs will be added to it in the relevant places.
	: > "debian/$(PKG).links"
--
	  "debian/$(PKG).fontlist-x11" >> "debian/$(PKG).links"
	
	dh_install
	dh_installxfonts
	dh_installtex --package=$(PKG) mapfile=debian/tex-gyre.cfg

	$(foreach PPP, $(PKG) $(PKGFONTS), \
	  dh_link -p $(PPP) \
            $(foreach FAM, $(FAMILYNAMES), \
              usr/share/texmf/doc/fonts/tex-gyre/README-TeX-Gyre-$(FAM).txt \
	      usr/share/doc/$(PPP)/README-TeX-Gyre-$(FAM).txt) \
--
	    usr/share/texmf/doc/fonts/tex-gyre-math/README-TeX-Gyre-DejaVu-Math.txt \
	    usr/share/doc/$(PPP)/README-TeX-Gyre-DejaVu-Math.txt \
	      ; )
	dh_link -p $(PKGFONTS) \
	    etc/fonts/conf.avail/65-$(PKGFONTS).conf \
	    etc/fonts/conf.d/65-$(PKGFONTS).conf

$ grep -ri usr/share/font
doc/fonts/tex-gyre-math/INSTALL.txt:copy the font file to ~/.fonts or /usr/share/fonts ). If the font
debian/sed_scripts/gen-x-fonts-links-list:s@^\(.*\)$@usr/share/texmf/fonts/type1/public/tex-gyre/\1.pfb usr/share/fonts/X11/Type1/\1.pfb\
debian/sed_scripts/gen-x-fonts-links-list:usr/share/texmf/fonts/afm/public/tex-gyre/\1.afm usr/share/fonts/X11/Type1/\1.afm@p

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.17.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Source: tex-gyre
Source-Version: 20180621-2

We believe that the bug you reported is fixed in the latest version of
tex-gyre, 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 905880@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Norbert Preining <preining@debian.org> (supplier of updated tex-gyre 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 13 Aug 2018 14:59:58 +0900
Source: tex-gyre
Binary: tex-gyre fonts-texgyre
Architecture: source all
Version: 20180621-2
Distribution: unstable
Urgency: medium
Maintainer: Debian TeX maintainers <debian-tex-maint@lists.debian.org>
Changed-By: Norbert Preining <preining@debian.org>
Description:
 fonts-texgyre - OpenType fonts based on URW Fonts
 tex-gyre   - scalable PostScript and OpenType fonts based on URW Fonts
Closes: 905880
Changes:
 tex-gyre (20180621-2) unstable; urgency=medium
 .
   * move call to dh_installxfonts below link creation (Closes: #905880)
     Thanks to Paul Wise for the analysis.
   * remove defoma stuff, rewrite .scale and .links generation
Checksums-Sha1:
 e396de238b6d7d1d51933a2dfd2f1d1ef95698cb 1692 tex-gyre_20180621-2.dsc
 2e157461921d6ff2303a45ff08852fe76c9e127d 10748 tex-gyre_20180621-2.debian.tar.xz
 928da4808d32d535e90ce2f67900cd27b431f127 10213120 fonts-texgyre_20180621-2_all.deb
 4436f270b5f1d6ec1585f02b621ef572fe1eec07 6208652 tex-gyre_20180621-2_all.deb
 ba69d369d6788b77d2c83d40435514c63202945a 6021 tex-gyre_20180621-2_amd64.buildinfo
Checksums-Sha256:
 fb104b484ea7c38f4d43a2673842e495a05116eaf8473ee2e367f7c4b3e6c3a8 1692 tex-gyre_20180621-2.dsc
 2f4d0becab5541f8bd9f8d6993786b7d81fd2139665b1f72c8d99a38c13a214d 10748 tex-gyre_20180621-2.debian.tar.xz
 94f3537c16135ea3a987b74b173290d3dc212556bf3ce2616f2315a8a46f788c 10213120 fonts-texgyre_20180621-2_all.deb
 da042ee83bd75bfccabaaf85829255f9eac2f05c149351250d687a3864532aef 6208652 tex-gyre_20180621-2_all.deb
 b124e2588bb6abfa8c95ca5ccd6fec038e46cda5487a9805cdde4c6a3cc7f6f0 6021 tex-gyre_20180621-2_amd64.buildinfo
Files:
 110b38ff4fff13e7777362d4e60ecccb 1692 tex optional tex-gyre_20180621-2.dsc
 9ab33b37e92aeafabc5c41dc819d7ab7 10748 tex optional tex-gyre_20180621-2.debian.tar.xz
 d3df0f3736c6f4191298a26d98b22a99 10213120 fonts optional fonts-texgyre_20180621-2_all.deb
 8decede6bf03e2d878d3aad259f2f7b6 6208652 tex optional tex-gyre_20180621-2_all.deb
 42e9426bb6b560a28f764e5d912bc033 6021 tex optional tex-gyre_20180621-2_amd64.buildinfo

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

iQEzBAEBCgAdFiEE68ws0vrA2voQX53I2A4JsIcUAGYFAltxH+UACgkQ2A4JsIcU
AGbZ/wgAunU+BqjG01Re4KWnsTWWKCfaVZJBilRW0U7dAQyWmFJi1Tr8JgiHnyjN
G80Lav7OZXElOr4kwHAsMy2WmJ2DP6j0fFa5OiDDDNHD9zDY0U9EUVx1IMRb+UKE
4UDdWIH5pxVIbWPAzBPP+cLnCapRbgBMrDF4aDoKXOKE6/zliWJ5YlFENZx6uBhD
tS+S8UaBI4bMo3BfdykR5vFBMKlvvWsdZqruhyAgWoTafTW+6pPIeIc4v6MpurTp
dcPylgMmTv6PuxB+PaspoRAT4tdD7AAzSeC/jyle82vVWkfFa8mToLhoATgs3APR
/eiOTd9thI87ZrdFy16OUwNj1/631g==
=0v73
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: