[Pkg-octave-commit] [SCM] octave-ocs branch, master, updated. efecd77ec719d860259287f5e43878a6e4fe372a

Rafael Laboissiere rafael at debian.org
Sat May 23 00:45:51 UTC 2009


The following commit has been merged in the master branch:
commit efecd77ec719d860259287f5e43878a6e4fe372a
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sat May 23 02:24:39 2009 +0200

    Add patch for autoloading the package when Octave starts
    
    Also, add the Policy-mandated README.source file, build-depends on quilt,
    include patchsys-quilt.mk in debian/rules and update the list of exclusions
    in .gitignore.

diff --git a/.gitignore b/.gitignore
index e172b0f..c3b517a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+.pc/
 COPYING
 ChangeLog
 DESCRIPTION
@@ -8,6 +9,7 @@ PKG_DEL
 configure
 debian/files
 debian/octave-ocs*
+debian/stamp-patched
 doc/
 global-list
 inst/
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..82c783b
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+README.source for octave-ocs
+===============================
+
+This package uses quilt to manage all modifications to the upstream sources.
+See `/usr/share/doc/quilt/README.source' to get more information on how to
+use it.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sat, 23 May 2009 01:45:01 +0200
+
diff --git a/debian/control b/debian/control
index ba7e6b3..932ecaa 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders: Ólafur Jens Sigurðsson <ojsbug at gmail.com>,
  Rafael Laboissiere <rafael at debian.org>,
  Thomas Weber <thomas.weber.mail at gmail.com>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.0), cdbs, octave-pkg-dev (>= 0.6.4)
+Build-Depends: debhelper (>= 7.0.0), cdbs, octave-pkg-dev (>= 0.6.4), quilt
 Build-Depends-Indep: texlive-font-utils, latex-xcolor
 Standards-Version: 3.8.1
 Homepage: http://octave.sourceforge.net/ocs
diff --git a/debian/patches/autoload-yes.diff b/debian/patches/autoload-yes.diff
new file mode 100644
index 0000000..25c2b15
--- /dev/null
+++ b/debian/patches/autoload-yes.diff
@@ -0,0 +1,13 @@
+Autoload the package when starting Octave.
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 22 May 2009 21:08:51 +0200
+
+--- a/DESCRIPTION
++++ b/DESCRIPTION
+@@ -6,5 +6,5 @@
+ Title: Octave Circuit Simulator
+ Description: Package for solving DC and transient electrical circuit equations 
+ Depends: octave (>= 3.0.0), odepkg
+-Autoload: no
++Autoload: yes
+ License: GPL version 2 or later
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6f889c5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+autoload-yes.diff
diff --git a/debian/rules b/debian/rules
index a93b5e7..b32aead 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
 # -*- makefile -*-
 
 include /usr/share/cdbs/1/class/octave-pkg.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
 build/octave-ocs::
 	( cd doc ; pdflatex iffspec_ocs )

-- 
octave-ocs



More information about the Pkg-octave-commit mailing list