[Pkg-octave-commit] r2466 - qtoctave/trunk/debian

Rafael Laboissiere rafael at alioth.debian.org
Fri Nov 28 14:35:01 UTC 2008


Author: rafael
Date: 2008-11-28 14:35:01 +0000 (Fri, 28 Nov 2008)
New Revision: 2466

Added:
   qtoctave/trunk/debian/README.source
Modified:
   qtoctave/trunk/debian/README.Debian
   qtoctave/trunk/debian/changelog
   qtoctave/trunk/debian/rules
Log:
Add get-orig-source rule and document changes in upstream taball in README.source

Modified: qtoctave/trunk/debian/README.Debian
===================================================================
--- qtoctave/trunk/debian/README.Debian	2008-11-28 14:34:22 UTC (rev 2465)
+++ qtoctave/trunk/debian/README.Debian	2008-11-28 14:35:01 UTC (rev 2466)
@@ -1,9 +1,8 @@
 QtOctave for Debian
 -------------------
 
-I moved the qtoctave_doc directory from /usr/share/qtoctave and put it
-in /usr/share/doc/qtoctave/html where it belongs. Also removed
-qtoctave/octave_doc from upstream source and added a Recommends: to
+I moved the qtoctave_doc directory from /usr/share/qtoctave and put it in
+/usr/share/doc/qtoctave/html where it belongs. Also added a Recommends: to
 octave2.9-htmldoc instead, in conformance with Debian policy.
 
  -- Jordi Gutiérrez Hermoso <jordigh at gmail.com>, Sat, 30 Jun 2007 20:17:06 -0500

Added: qtoctave/trunk/debian/README.source
===================================================================
--- qtoctave/trunk/debian/README.source	                        (rev 0)
+++ qtoctave/trunk/debian/README.source	2008-11-28 14:35:01 UTC (rev 2466)
@@ -0,0 +1,15 @@
+QtOctave source for Debian
+--------------------------
+
+The layout of the original tarball has been changed in the Debian package.
+First, the simple_rcs directory has been removed, because it relates to
+another project than qtoctave.  Second, the qtoctave/octave_doc directory
+has also been removed, because it contians the HTML files generated from the
+Octave texinfo documentation files.  Since the sources are not distributed,
+it does not comply with the DFSG.  Finally, the files in the qtoctave/
+directory have been move into the top directory.
+
+Note that './debian/rules get-orig-source' creates the Debian "upstream"
+tarball.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 28 Nov 2008 10:57:52 +0100

Modified: qtoctave/trunk/debian/changelog
===================================================================
--- qtoctave/trunk/debian/changelog	2008-11-28 14:34:22 UTC (rev 2465)
+++ qtoctave/trunk/debian/changelog	2008-11-28 14:35:01 UTC (rev 2466)
@@ -1,5 +1,6 @@
-qtoctave (0.8.1+dfsg-1) unstable; urgency=low
+qtoctave (0.8.1+dfsg-1) UNRELEASED; urgency=low
 
+  [ Jordi Gutiérrez Hermoso ]
   * New upstream release
   * Removed patch: add_path_for_cmake26, now builds without it.
   * Added missing includes (closes: #505334)
@@ -7,6 +8,11 @@
     + src/search_dialog.cpp: added "#include <stdio.h>"
     + src/octave_connection.cpp: added "#include <stdio.h>"
 
+  [ Rafael Laboissiere ]
+  * debian/rules: Add get-orig-source rule
+  * debian/README.source: Add explanations on how the Debian upstream
+    tarball is generated, complying with Debian Policy section 4.14
+
  -- Jordi Gutiérrez Hermoso <jordigh at gmail.com>  Thu, 27 Nov 2008 02:28:56 -0600
 
 qtoctave (0.7.4+dfsg-3) unstable; urgency=low

Modified: qtoctave/trunk/debian/rules
===================================================================
--- qtoctave/trunk/debian/rules	2008-11-28 14:34:22 UTC (rev 2465)
+++ qtoctave/trunk/debian/rules	2008-11-28 14:35:01 UTC (rev 2466)
@@ -9,3 +9,27 @@
 build/qtoctave::
 	uudecode < debian/icons.tar.uu
 	tar -xf icons.tar -C debian
+
+PACKAGE = qtoctave
+VERSION = $(shell dpkg-parsechangelog \
+                  | sed -ne 's/^Version: \([0-9.]\+\).*/\1/p')
+PACKVER = $(PACKAGE)-$(VERSION)
+TARBALL = $(PACKVER).tar.gz
+SITE = http://forja.rediris.es
+PAGE = frs/?group_id=60
+URL = $(SITE)$(shell wget -O - $(SITE)/$(PAGE) \
+               | sed -ne 's/.*href="\(.*$(TARBALL)\)".*/\1/p')
+
+hack:
+	echo $URL
+
+get-orig-source:
+	rm -f $(TARBALL)
+	wget $(URL) -O $(TARBALL)
+	tar xfz $(TARBALL)
+	( cd $(PACKVER) ; 				\
+	  rm -rf simple_rcs qtoctave/src/octave_doc ;	\
+	  mv qtoctave/* . ;				\
+	  rm -rf  qtoctave )
+	tar cfz $(PACKAGE)_$(VERSION)+dfsg.orig.tar.gz $(PACKVER)
+	rm -rf $(PACKVER) $(TARBALL)




More information about the Pkg-octave-commit mailing list