[DRE-commits] [camping] 09/09: Reuse Late fonts from the fonts-lato package

Paul van Tilburg paulvt at moszumanska.debian.org
Fri Oct 17 21:08:22 UTC 2014


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

paulvt pushed a commit to branch master
in repository camping.

commit 887ea3b0c9ac0d7e11d3db8acf65a2adbeb46543
Author: Paul van Tilburg <paulvt at debian.org>
Date:   Fri Oct 17 23:07:28 2014 +0200

    Reuse Late fonts from the fonts-lato package
---
 debian/changelog | 3 ++-
 debian/rules     | 7 ++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4ef200d..ad610e1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,13 +7,14 @@ camping (2.1.580-1) unstable; urgency=medium
   * New upstream (snapshot) release (with git HEAD 0904ad4)
   * d/docs, d/rules: although doc/ contains RDoc file, still generate our
     own docs following the Rakefile options
+  * d/rules: reuse Late fonts from the fonts-lato package
   * d/control: 
     - replace depend on ruby-activerecord-3.2 by ruby-activerecord;
       this snapshot release works with AR 2.3.x up until AR 4.1.6
     - bump standards version to 3.9.6; no changes required
     - add depend on fonts-lato for the documentation
 
- -- Paul van Tilburg <paulvt at debian.org>  Fri, 17 Oct 2014 23:05:34 +0200
+ -- Paul van Tilburg <paulvt at debian.org>  Fri, 17 Oct 2014 23:06:17 +0200
 
 camping (2.1.532-2) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index 684ac69..815ac32 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,12 +24,17 @@ override_dh_auto_build:
 	  README.md CHANGELOG COPYING book/* lib/**/*.rb
 
 override_dh_compress:
-	dh_compress -X.ttf -X.rb
+	dh_compress -X.rb
 
 override_dh_installdocs:
 	dh_installdocs -O--buildsystem=ruby
 	rm -f debian/camping/usr/share/doc/camping/rdoc/js/jquery.js
 	ln -s /usr/share/javascript/jquery/jquery.min.js debian/camping/usr/share/doc/camping/rdoc/js/jquery.js
+	rm -f debian/camping/usr/share/doc/camping/rdoc/fonts/Lato-*.ttf*
+	ln -s /usr/share/fonts/truetype/lato/Lato-Light.ttf debian/camping/usr/share/doc/camping/rdoc/fonts/
+	ln -s /usr/share/fonts/truetype/lato/Lato-LightItalic.ttf debian/camping/usr/share/doc/camping/rdoc/fonts/
+	ln -s /usr/share/fonts/truetype/lato/Lato-Regular.ttf debian/camping/usr/share/doc/camping/rdoc/fonts/
+	ln -s /usr/share/fonts/truetype/lato/Lato-RegularItalic.ttf debian/camping/usr/share/doc/camping/rdoc/fonts/
 
 override_dh_auto_clean:
 	dh_auto_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/camping.git



More information about the Pkg-ruby-extras-commits mailing list