[med-svn] [r-cran-rgl] 03/05: Remove copies of fonts and use fonts-freefont-ttf instead

Andreas Tille tille at debian.org
Thu Jun 30 15:25:50 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository r-cran-rgl.

commit 042e088819b5aa006f46ae74a063bbb98e47aceb
Author: Andreas Tille <tille at debian.org>
Date:   Thu Jun 30 17:19:53 2016 +0200

    Remove copies of fonts and use fonts-freefont-ttf instead
---
 debian/control   | 3 ++-
 debian/copyright | 1 +
 debian/rules     | 6 ++++++
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 22013e6..98f149f 100644
--- a/debian/control
+++ b/debian/control
@@ -18,7 +18,8 @@ Package: r-cran-rgl
 Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         ${R:Depends}
+         ${R:Depends},
+         fonts-freefont-ttf
 Description: GNU R 3D Visualization Using OpenGL
  This GNU R package provides medium to high level functions for 3D
  interactive graphics, including functions modelled on base graphics as
diff --git a/debian/copyright b/debian/copyright
index a294088..d4692e6 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,6 +3,7 @@ Upstream-Name: rgl
 Upstream-Contact: Duncan Murdoch <murdoch at stats.uwo.ca>
 Source: https://cran.r-project.org/web/packages/rgl
 Files-Excluded: */CanvasMatrix.js
+                */Free*.ttf
 
 Files: *
 Copyright: 2009-2016 Daniel Adler, Duncan Murdoch
diff --git a/debian/rules b/debian/rules
index 2fbba2d..f8915a0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +1,9 @@
 #!/usr/bin/make -f
 
 include /usr/share/R/debian/r-cran.mk
+
+install/$(package)::
+	rm -f $(debRlib)/$(cranName)/fonts/Free*.ttf
+	ln -s ../../../../../share/fonts/truetype/freefont/FreeMono.ttf $(debRlib)/$(cranName)/fonts/FreeMono.ttf
+	ln -s ../../../../../share/fonts/truetype/freefont/FreeSans.ttf $(debRlib)/$(cranName)/fonts/FreeSans.ttf
+	ln -s ../../../../../share/fonts/truetype/freefont/FreeSerif.ttf $(debRlib)/$(cranName)/fonts/FreeSerif.ttf

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-cran-rgl.git



More information about the debian-med-commit mailing list