[Pkg-octave-commit] [SCM] Debian packaging for octave-quaternion branch, master, updated. upstream/2.0.0-15-gaafdf4f
Rafael Laboissiere
rafael at laboissiere.net
Thu Mar 29 20:03:33 UTC 2012
The following commit has been merged in the master branch:
commit aafdf4f8756c8ed51a602e0e6c69c8f8b7fa6891
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date: Thu Mar 29 19:16:05 2012 +0200
debian/patches/add-doc-source.patch: New patch
Also, add the quilt directory to the list of exclusions for Git and change
debian/copyright accordingly.
diff --git a/.gitignore b/.gitignore
index 3caf45c..b7a478c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+.pc/
global-list
local-list
debian/files
diff --git a/debian/copyright b/debian/copyright
index 15bf822..717f91e 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -22,7 +22,7 @@ Copyright: 2010-2011 Lukas F. Reichlin
2011 Juan Pablo Carbajal <carbajal at ifi.uzh.ch>
License: GPL-3+
-Files: doc/quaternion.pdf
+Files: doc/quaternion.tex
Copyright: 2010-2012 Lukas F. Reichlin <lukas.reichlin at gmail.com>
License: other
This manual is generated automatically from the texinfo help strings of
diff --git a/debian/patches/add-doc-source.patch b/debian/patches/add-doc-source.patch
new file mode 100644
index 0000000..72d8518
--- /dev/null
+++ b/debian/patches/add-doc-source.patch
@@ -0,0 +1,82 @@
+Description: Add the texinfo source file for the package documentation
+ The file quaternion.tex was taken from the SVN repository of the
+ Octave-Forge project, at:
+ https://octave.svn.sourceforge.net/svnroot/octave/trunk/octave-forge/main/quaternion/devel/pdfdoc/
+Author: Rafael Laboissiere <rafael at debian.org>
+Forwarded: http://permalink.gmane.org/gmane.comp.gnu.octave.devel/7226
+Last-Update: 2012-03-29
+
+--- /dev/null
++++ octave-quaternion-2.0.0/doc/quaternion.tex
+@@ -0,0 +1,71 @@
++\input texinfo @c -*-texinfo-*-
++ at c %**start of header
++ at setfilename quaternion.info
++ at settitle Octave Quaternion Package
++ at afourpaper
++ at set VERSION 2.0.0
++ at finalout
++ at c @afourwide
++ at c %**end of header
++
++ at c %*** Start of TITLEPAGE
++ at titlepage
++ at title quaternion @value{VERSION}
++ at subtitle Quaternion Package for GNU Octave
++ at author Lukas F. Reichlin
++ at author Juan Pablo Carbajal
++ at page
++ at vskip 0pt plus 1filll
++Copyright @copyright{} 2010-2012, Lukas F. Reichlin @email{lukas.reichlin@@gmail.com}
++
++This manual is generated automatically from the texinfo help strings
++of the package's functions.
++
++Permission is granted to make and distribute verbatim copies of
++this manual provided the copyright notice and this permission notice
++are preserved on all copies.
++
++Permission is granted to copy and distribute modified versions of this
++manual under the conditions for verbatim copying, provided that the entire
++resulting derived work is distributed under the terms of a permission
++notice identical to this one.
++
++Permission is granted to copy and distribute translations of this manual
++into another language, under the same conditions as for modified versions.
++ at page
++ at chapheading Preface
++The @acronym{GNU} Octave quaternion package from version 2 onwards
++was developed by Lukas F. Reichlin with important contributions by
++Juan Pablo Carbajal. This new package is intended as a replacement
++for quaternion-1.0.0 by A. Scottedward Hodel. It is loosely based
++on ideas from the Quaternion Toolbox for Matlab by Steve Sangwine
++and Nicolas Le Bihan with a special focus on code simplicity and
++vectorization. Its main features are:
++ at itemize
++ at item Matrices and n-dimensional arrays of quaternions.
++ at item Overloaded operators due to the use of classes introduced with Octave 3.2.
++ at item Operator semantics similar to Octave's built-in complex numbers.
++ at item Fully vectorized code for crunching large quaternion arrays in a speedy manner.
++ at end itemize
++
++
++ at sp 5
++ at subheading Using the help function
++Some functions of the quaternion package are listed with a leading @code{@@quaternion/}.
++This is only needed to view the help text of the function, e.g. @w{@code{help norm}}
++shows the built-in function while @w{@code{help @@quaternion/norm}} shows the overloaded
++function for quaternions. Note that there are quaternion functions
++like @code{unit} that have no built-in equivalent.
++
++When just using the function, the leading @code{@@quaternion/} must @strong{not} be typed.
++Octave selects the right function automatically. So one can type @w{@code{norm (q)}}
++and @w{@code{norm (matrix)}} regardless of the class of the argument.
++ at end titlepage
++ at c %*** End of TITLEPAGE
++
++ at contents
++ at c @chapter Function Reference
++ at include functions.texi
++
++ at end
++ at bye
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e955208
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+add-doc-source.patch
--
Debian packaging for octave-quaternion
More information about the Pkg-octave-commit
mailing list