[DRE-commits] [ruby-gsl] 02/04: Repack source to remove non-free documentation (Closes: #709497)

Cédric Boutillier boutil at moszumanska.debian.org
Sun Jan 26 17:26:02 UTC 2014


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

boutil pushed a commit to branch master-wheezy
in repository ruby-gsl.

commit 27efcaf3df252e8e41ca57c027760568ac1a686d
Author: Cédric Boutillier <boutil at debian.org>
Date:   Sat Nov 30 16:56:12 2013 +0100

    Repack source to remove non-free documentation (Closes: #709497)
    
    * Repack source to remove non-free documentation (Closes: #709497)
      - add debian/gbp.conf to filter out rdoc directory, containing files under
      - do not build the doc in debian/rules
      - add dversionmangle option in debian/watch to strip +dfsg suffix
      - document in debian/README.source how the repack is handled
---
 debian/README.source | 19 ++++++++++++++-----
 debian/changelog     | 12 ++++++++++++
 debian/rules         |  4 +---
 debian/watch         |  1 +
 4 files changed, 28 insertions(+), 8 deletions(-)

diff --git a/debian/README.source b/debian/README.source
index 804f390..ed6027f 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -1,7 +1,16 @@
-This package includes patches managed with the «quilt» patch
-management system. Changes to the upstream sources are stored as diffs
-in debian/patches and applied during the build.
+This package uses the Debian 3.0 (quilt) source package format.
 
-See /usr/share/doc/quilt/README.source for a detailed explanation.
+The upstream tarball has been repacked to remove the rdoc/ directory,
+containing the source of the manual for ruby-gsl. It is a derived work
+of some earlier version of the GSL manual, released under the GNU
+Documentation license with invariant sections, thus considered non-free.
 
- -- Deepak Tripathi <apenguinliux at gmail.com>, Fri, 14 May 2010 09:25:14 -0400
+The removal has been done with git-buildpackage, during the import
+of the upstream tarball via git import-orig command and its filter
+option (see debian/gbp.conf).
+
+This issue is reported here:
+  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709497
+  https://github.com/david-macmahon/rb-gsl/issues/3
+
+ -- Cédric Boutillier <boutil at debian.org>  Sat, 30 Nov 2013 16:20:35 +0100
diff --git a/debian/changelog b/debian/changelog
index aadf0f2..80d659b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+ruby-gsl (1.14.7+dfsg-1) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Repack source to remove non-free documentation (Closes: #709497)
+    - add debian/gbp.conf to filter out rdoc directory, containing files under
+      the GNU Documentation license with invariant sections.
+    - do not build the doc in debian/rules
+    - add dversionmangle option in debian/watch to strip +dfsg suffix
+    - document in debian/README.source how the repack is handled
+
+ -- Cédric Boutillier <boutil at debian.org>  Sat, 25 Jan 2014 23:54:40 +0100
+
 ruby-gsl (1.14.7-1) unstable; urgency=low
 
   * New upstream release.
diff --git a/debian/rules b/debian/rules
index d63a6bb..5720082 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,9 +17,7 @@ override_dh_strip:
 	dh_strip --dbg-package=ruby-gsl-dbg
 
 override_dh_installdocs:
-	rdoc -o html rdoc/*
-	dh_installdocs html examples
-	rm -rf debian/ruby-gsl/usr/share/doc/ruby-gsl/html/.xvpics
+	dh_installdocs examples
 	rm -rf debian/ruby-gsl/usr/share/doc/ruby-gsl/examples/fit/*.dat
 	rm -rf debian/ruby-gsl/usr/share/doc/ruby-gsl/examples/linalg/linalg.replaced
 	rm -rf debian/ruby-gsl/usr/share/doc/ruby-gsl/examples/gallery/rgplot/rgplot.replaced
diff --git a/debian/watch b/debian/watch
index a3b94a6..26dd0e8 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
 version=3
+opts=dversionmangle=s/\+dfsg(\d)*// \
 http://rubyforge.org/frs/?group_id=285 .*rb-gsl-(.*)\.t.*

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



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