[Python-modules-commits] r22705 - in packages/matplotlib/trunk/debian (changelog rules)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Sun Sep 23 17:27:10 UTC 2012


    Date: Sunday, September 23, 2012 @ 17:27:07
  Author: morph
Revision: 22705

fix broken symlinks to TrueType fonts; thanks to Ian Zimmerman for the
report; Closes: #687674

Modified:
  packages/matplotlib/trunk/debian/changelog
  packages/matplotlib/trunk/debian/rules

Modified: packages/matplotlib/trunk/debian/changelog
===================================================================
--- packages/matplotlib/trunk/debian/changelog	2012-09-22 21:36:32 UTC (rev 22704)
+++ packages/matplotlib/trunk/debian/changelog	2012-09-23 17:27:07 UTC (rev 22705)
@@ -20,11 +20,13 @@
     - use matplotlibrc.template to install base matplotlib.conf file
   * debian/rules
     - set backend and not datapath in matplotlibrc when running tests
+    - fix broken symlinks to TrueType fonts; thanks to Ian Zimmerman for the
+      report; Closes: #687674
   * debian/{control, rules}
     - run tests under 'xvfb-run', needed to run inkscape (which is required to
       compare SVG images); adding relevant b-d (xvfb and xauth)
 
- -- Sandro Tosi <morph at debian.org>  Sat, 22 Sep 2012 23:35:32 +0200
+ -- Sandro Tosi <morph at debian.org>  Sun, 23 Sep 2012 19:16:18 +0200
 
 matplotlib (1.1.1-1) experimental; urgency=low
 

Modified: packages/matplotlib/trunk/debian/rules
===================================================================
--- packages/matplotlib/trunk/debian/rules	2012-09-22 21:36:32 UTC (rev 22704)
+++ packages/matplotlib/trunk/debian/rules	2012-09-23 17:27:07 UTC (rev 22705)
@@ -134,10 +134,10 @@
 	rm -fr $(CURDIR)/debian/$(pdata)/usr/share/matplotlib/mpl-data/fonts/pdfcorefonts/readme.txt
 	chmod 644 $(CURDIR)/debian/$(pdata)/usr/share/matplotlib/mpl-data/images/*.svg
 	# link to fonts in ttf-lyx
-	ln -sf /usr/share/fonts/truetype/ttf-lyx/cmex10.ttf $(CURDIR)/debian/$(pdata)/usr/share/matplotlib/mpl-data/fonts/ttf/cmex10.ttf
-	ln -sf /usr/share/fonts/truetype/ttf-lyx/cmmi10.ttf $(CURDIR)/debian/$(pdata)/usr/share/matplotlib/mpl-data/fonts/ttf/cmmi10.ttf
-	ln -sf /usr/share/fonts/truetype/ttf-lyx/cmr10.ttf $(CURDIR)/debian/$(pdata)/usr/share/matplotlib/mpl-data/fonts/ttf/cmr10.ttf
-	ln -sf /usr/share/fonts/truetype/ttf-lyx/cmsy10.ttf $(CURDIR)/debian/$(pdata)/usr/share/matplotlib/mpl-data/fonts/ttf/cmsy10.ttf
+	for font in cmex10.ttf cmmi10.ttf cmr10.ttf cmsy10.ttf ; \
+	do \
+	    ln -sf /usr/share/fonts/truetype/lyx/$$font $(CURDIR)/debian/$(pdata)/usr/share/matplotlib/mpl-data/fonts/ttf/$$font; \
+	done
 
 # binary
 binary-indep: build-indep install-indep




More information about the Python-modules-commits mailing list