[Pkg-octave-commit] rev 173 - trunk/packages/octave2.1/debian/in

Rafael Laboissiere pkg-octave-devel@lists.alioth.debian.org
Tue, 29 Mar 2005 17:18:13 +0000


Author: rafael
Date: 2005-03-29 17:18:12 +0000 (Tue, 29 Mar 2005)
New Revision: 173

Added:
   trunk/packages/octave2.1/debian/in/PACKAGE-emacsen.conffiles
   trunk/packages/octave2.1/debian/in/PACKAGE-emacsen.dirs
   trunk/packages/octave2.1/debian/in/PACKAGE-emacsen.emacsen-install
   trunk/packages/octave2.1/debian/in/PACKAGE-emacsen.emacsen-remove
   trunk/packages/octave2.1/debian/in/PACKAGE-emacsen.emacsen-startup
   trunk/packages/octave2.1/debian/in/PACKAGE-htmldoc.doc-base.faq
   trunk/packages/octave2.1/debian/in/PACKAGE-htmldoc.doc-base.lib
   trunk/packages/octave2.1/debian/in/PACKAGE-htmldoc.doc-base.manual
   trunk/packages/octave2.1/debian/in/PACKAGE-htmldoc.menu
   trunk/packages/octave2.1/debian/in/PACKAGE-htmldoc.postinst
   trunk/packages/octave2.1/debian/in/PACKAGE-htmldoc.prerm
   trunk/packages/octave2.1/debian/in/PACKAGE-info.postinst
   trunk/packages/octave2.1/debian/in/PACKAGE-info.prerm
   trunk/packages/octave2.1/debian/in/PACKAGE.conffiles
   trunk/packages/octave2.1/debian/in/PACKAGE.dirs
   trunk/packages/octave2.1/debian/in/PACKAGE.menu
Removed:
   trunk/packages/octave2.1/debian/in/pkgver-emacsen.conffiles
   trunk/packages/octave2.1/debian/in/pkgver-emacsen.dirs
   trunk/packages/octave2.1/debian/in/pkgver-emacsen.emacsen-install
   trunk/packages/octave2.1/debian/in/pkgver-emacsen.emacsen-remove
   trunk/packages/octave2.1/debian/in/pkgver-emacsen.emacsen-startup
   trunk/packages/octave2.1/debian/in/pkgver-htmldoc.doc-base.faq
   trunk/packages/octave2.1/debian/in/pkgver-htmldoc.doc-base.lib
   trunk/packages/octave2.1/debian/in/pkgver-htmldoc.doc-base.manual
   trunk/packages/octave2.1/debian/in/pkgver-htmldoc.menu
   trunk/packages/octave2.1/debian/in/pkgver-htmldoc.postinst
   trunk/packages/octave2.1/debian/in/pkgver-htmldoc.prerm
   trunk/packages/octave2.1/debian/in/pkgver-info.postinst
   trunk/packages/octave2.1/debian/in/pkgver-info.prerm
   trunk/packages/octave2.1/debian/in/pkgver.conffiles
   trunk/packages/octave2.1/debian/in/pkgver.dirs
   trunk/packages/octave2.1/debian/in/pkgver.menu
Log:
Renamed in/pkgver* files into in /PACKAGE* files, which were wrongly added
in last commit


Copied: trunk/packages/octave2.1/debian/in/PACKAGE-emacsen.conffiles (from rev 172, trunk/packages/octave2.1/debian/in/pkgver-emacsen.conffiles)

Copied: trunk/packages/octave2.1/debian/in/PACKAGE-emacsen.dirs (from rev 172, trunk/packages/octave2.1/debian/in/pkgver-emacsen.dirs)

Copied: trunk/packages/octave2.1/debian/in/PACKAGE-emacsen.emacsen-install (from rev 172, trunk/packages/octave2.1/debian/in/pkgver-emacsen.emacsen-install)
===================================================================
--- trunk/packages/octave2.1/debian/in/pkgver-emacsen.emacsen-install	2005-03-29 17:05:49 UTC (rev 172)
+++ trunk/packages/octave2.1/debian/in/PACKAGE-emacsen.emacsen-install	2005-03-29 17:18:12 UTC (rev 173)
@@ -0,0 +1,62 @@
+#!/bin/sh
+#
+# emacsen install script for the Debian GNU/Linux octave package
+#
+# Written by Dirk Eddelbuettel <edd@debian.org>   
+
+#set -e
+
+# Canadian spelling ;-)
+flavour=$1
+
+package=@PACKAGE@-emacsen
+files="octave-hlp.el octave-inf.el octave-mod.el"
+source=/usr/share/emacs/site-lisp/${package}
+destination=/usr/share/${flavour}/site-lisp/${package}
+flavourtest=`echo $flavour | cut -c-6`
+if test ${flavourtest} = xemacs ; then
+  siteflag="-vanilla"
+else
+  siteflag="--no-site-file"
+fi
+flags="${siteflag} -q  -no-init-file -batch -l path.el -f batch-byte-compile"
+
+
+if test ${flavour} != emacs 
+then
+    echo install/${package}: Byte-compiling for emacsen flavour ${flavour}
+
+    # Copy the temp .el files into the destination directory
+    install -c -m 0755 -d ${destination}
+    for i in $files
+    do 
+	cp $source/$i $destination
+    done
+
+    # The eval-and-compile construct is needed by emacs19, and was
+    # pulled out of another package by Yann Dirson. Merci bien, Yann!
+    # The load-path.el trick is from Davide Salvetti's auctex package
+    cd ${destination}
+    cat <<EOF >path.el
+(eval-and-compile
+  (condition-case () (require 'custom) (error nil))
+  (if (and (featurep 'custom) (fboundp 'custom-declare-variable))
+      nil 
+    (defmacro defgroup (&rest args) nil)
+    (defmacro defcustom (var value doc &rest args) 
+      (\` (defvar (, var) (, value) (, doc))))))
+(setq load-path (cons "." load-path)
+      byte-compile-warnings nil)
+EOF
+    logfile=`tempfile`
+    ${flavour} ${flags} ${files} >> ${logfile} 2>&1
+    rm ${files} path.el
+    mv ${logfile} ${destination}/install.log
+    echo "Compilation log saved to ${destination}/install.log"
+
+else
+    echo install/${package}: Ignoring emacsen flavour ${flavour}
+fi
+
+exit 0;
+

Copied: trunk/packages/octave2.1/debian/in/PACKAGE-emacsen.emacsen-remove (from rev 172, trunk/packages/octave2.1/debian/in/pkgver-emacsen.emacsen-remove)
===================================================================
--- trunk/packages/octave2.1/debian/in/pkgver-emacsen.emacsen-remove	2005-03-29 17:05:49 UTC (rev 172)
+++ trunk/packages/octave2.1/debian/in/PACKAGE-emacsen.emacsen-remove	2005-03-29 17:18:12 UTC (rev 173)
@@ -0,0 +1,25 @@
+#!/bin/sh
+#
+# emacsen remove script for the Debian GNU/Linux octave package
+#
+# Written by Dirk Eddelbuettel <edd@debian.org>   
+
+set -e 
+
+# Canadian spelling ;-)
+flavour=$1
+
+package=@PACKAGE@-emacsen
+source=/usr/share/emacs/site-lisp/${package}
+destination=/usr/share/${flavour}/site-lisp/${package}
+
+if test ${flavour} != emacs 
+then
+    echo remove/${package}: Purging byte-compiled files for flavour ${flavour}
+    rm -f ${destination}/*.elc ${destination}/install.log
+    rmdir ${destination} || true
+else
+    echo remove/${package}: Ignoring emacsen flavour ${flavour}
+fi
+
+exit 0;

Copied: trunk/packages/octave2.1/debian/in/PACKAGE-emacsen.emacsen-startup (from rev 172, trunk/packages/octave2.1/debian/in/pkgver-emacsen.emacsen-startup)

Copied: trunk/packages/octave2.1/debian/in/PACKAGE-htmldoc.doc-base.faq (from rev 172, trunk/packages/octave2.1/debian/in/pkgver-htmldoc.doc-base.faq)
===================================================================
--- trunk/packages/octave2.1/debian/in/pkgver-htmldoc.doc-base.faq	2005-03-29 17:05:49 UTC (rev 172)
+++ trunk/packages/octave2.1/debian/in/PACKAGE-htmldoc.doc-base.faq	2005-03-29 17:18:12 UTC (rev 173)
@@ -0,0 +1,14 @@
+Document: octave-faq
+Title: The GNU Octave FAQ
+Author: John W. Eaton
+Abstract: This document provides answers to Frequently Asked 
+	Questions about Octave, a (mostly Matlab (R) compatible) 
+	high-level language, primarily intended for numerical 
+	computations. Octave provides a convenient command-line 
+	interface for solving linear and nonlinear problems 
+	numerically.
+Section: Apps/Math
+
+Format: HTML
+Index: 	/usr/share/doc/@PACKAGE@-htmldoc/Octave-FAQ_toc.html
+Files:  /usr/share/doc/@PACKAGE@-htmldoc/Octave-FAQ*.html

Copied: trunk/packages/octave2.1/debian/in/PACKAGE-htmldoc.doc-base.lib (from rev 172, trunk/packages/octave2.1/debian/in/pkgver-htmldoc.doc-base.lib)
===================================================================
--- trunk/packages/octave2.1/debian/in/pkgver-htmldoc.doc-base.lib	2005-03-29 17:05:49 UTC (rev 172)
+++ trunk/packages/octave2.1/debian/in/PACKAGE-htmldoc.doc-base.lib	2005-03-29 17:18:12 UTC (rev 173)
@@ -0,0 +1,13 @@
+Document: octave-lib
+Title: The GNU Octave Library
+Author: John W. Eaton
+Abstract: This document describes the Octave libraries. Octave 
+	is a (mostly Matlab (R) compatible) high-level 
+	language, primarily intended for numerical computations. 
+	It provides a convenient command-line interface for solving 
+	linear and nonlinear problems numerically.
+Section: Apps/Math
+
+Format: HTML
+Index: 	/usr/share/doc/@PACKAGE@-htmldoc/liboctave_toc.html
+Files:  /usr/share/doc/@PACKAGE@-htmldoc/liboctave_*.html

Copied: trunk/packages/octave2.1/debian/in/PACKAGE-htmldoc.doc-base.manual (from rev 172, trunk/packages/octave2.1/debian/in/pkgver-htmldoc.doc-base.manual)
===================================================================
--- trunk/packages/octave2.1/debian/in/pkgver-htmldoc.doc-base.manual	2005-03-29 17:05:49 UTC (rev 172)
+++ trunk/packages/octave2.1/debian/in/PACKAGE-htmldoc.doc-base.manual	2005-03-29 17:18:12 UTC (rev 173)
@@ -0,0 +1,12 @@
+Document: octave-manual
+Title: The GNU Octave Manual
+Author: John W. Eaton
+Abstract: Octave is a (mostly Matlab (R) compatible) high-level 
+	language, primarily intended for numerical computations. 
+	It provides a convenient command-line interface for solving 
+	linear and nonlinear problems numerically. 
+Section: Apps/Math
+
+Format: HTML
+Index: 	/usr/share/doc/@PACKAGE@-htmldoc/octave_toc.html
+Files:  /usr/share/doc/@PACKAGE@-htmldoc/octave_*.html

Copied: trunk/packages/octave2.1/debian/in/PACKAGE-htmldoc.menu (from rev 172, trunk/packages/octave2.1/debian/in/pkgver-htmldoc.menu)
===================================================================
--- trunk/packages/octave2.1/debian/in/pkgver-htmldoc.menu	2005-03-29 17:05:49 UTC (rev 172)
+++ trunk/packages/octave2.1/debian/in/PACKAGE-htmldoc.menu	2005-03-29 17:18:12 UTC (rev 173)
@@ -0,0 +1,32 @@
+?package(octave-htmldoc):needs="dwww" \
+	section="Apps/Math" \
+	title="Octave FAQ" \
+	longtitle="The GNU Octave FAQ" \
+	description="This document provides answers to Frequently Asked \
+		Questions about Octave, a (mostly Matlab (R) compatible) \
+		high-level language, primarily intended for numerical \
+		computations. Octave provides a convenient command-line \
+		interface for solving linear and nonlinear problems \
+		numerically." \
+	command="/usr/share/doc/@PACKAGE@-htmldoc/Octave-FAQ_toc.html"	
+
+?package(octave-htmldoc):needs="dwww" \
+	section="Apps/Math" \
+	title="Octave" \
+	longtitle="The GNU Octave language for numerical computations"\
+	description="Octave is a (mostly Matlab (R) compatible) high-level \
+		language, primarily intended for numerical computations. \
+		It provides a convenient command-line interface for solving \
+		linear and nonlinear problems numerically." \
+	command="/usr/share/doc/@PACKAGE@-htmldoc/octave_toc.html"	
+
+?package(octave-htmldoc):needs="dwww" \
+	section="Apps/Math" \
+	title="Octave Library" \
+	longtitle="The GNU Octave Library"\
+	description="This document describes the Octave libraries. Octave \
+		is a (mostly Matlab (R) compatible) high-level \
+		language, primarily intended for numerical computations. \
+		It provides a convenient command-line interface for solving \
+		linear and nonlinear problems numerically." \
+	command="/usr/share/doc/@PACKAGE@-htmldoc/liboctave_toc.html"	

Copied: trunk/packages/octave2.1/debian/in/PACKAGE-htmldoc.postinst (from rev 172, trunk/packages/octave2.1/debian/in/pkgver-htmldoc.postinst)

Copied: trunk/packages/octave2.1/debian/in/PACKAGE-htmldoc.prerm (from rev 172, trunk/packages/octave2.1/debian/in/pkgver-htmldoc.prerm)

Copied: trunk/packages/octave2.1/debian/in/PACKAGE-info.postinst (from rev 172, trunk/packages/octave2.1/debian/in/pkgver-info.postinst)

Copied: trunk/packages/octave2.1/debian/in/PACKAGE-info.prerm (from rev 172, trunk/packages/octave2.1/debian/in/pkgver-info.prerm)

Copied: trunk/packages/octave2.1/debian/in/PACKAGE.conffiles (from rev 172, trunk/packages/octave2.1/debian/in/pkgver.conffiles)
===================================================================
--- trunk/packages/octave2.1/debian/in/pkgver.conffiles	2005-03-29 17:05:49 UTC (rev 172)
+++ trunk/packages/octave2.1/debian/in/PACKAGE.conffiles	2005-03-29 17:18:12 UTC (rev 173)
@@ -0,0 +1 @@
+/etc/@PACKAGE@.conf

Copied: trunk/packages/octave2.1/debian/in/PACKAGE.dirs (from rev 172, trunk/packages/octave2.1/debian/in/pkgver.dirs)

Copied: trunk/packages/octave2.1/debian/in/PACKAGE.menu (from rev 172, trunk/packages/octave2.1/debian/in/pkgver.menu)
===================================================================
--- trunk/packages/octave2.1/debian/in/pkgver.menu	2005-03-29 17:05:49 UTC (rev 172)
+++ trunk/packages/octave2.1/debian/in/PACKAGE.menu	2005-03-29 17:18:12 UTC (rev 173)
@@ -0,0 +1,4 @@
+?package(@PACKAGE@):needs="text"	\
+ 	 section="Apps/Math"		\
+	 title="Octave (@MAJOR@)"	\
+	 command="/usr/bin/@PACKAGE@"

Deleted: trunk/packages/octave2.1/debian/in/pkgver-emacsen.conffiles

Deleted: trunk/packages/octave2.1/debian/in/pkgver-emacsen.dirs

Deleted: trunk/packages/octave2.1/debian/in/pkgver-emacsen.emacsen-install

Deleted: trunk/packages/octave2.1/debian/in/pkgver-emacsen.emacsen-remove

Deleted: trunk/packages/octave2.1/debian/in/pkgver-emacsen.emacsen-startup

Deleted: trunk/packages/octave2.1/debian/in/pkgver-htmldoc.doc-base.faq

Deleted: trunk/packages/octave2.1/debian/in/pkgver-htmldoc.doc-base.lib

Deleted: trunk/packages/octave2.1/debian/in/pkgver-htmldoc.doc-base.manual

Deleted: trunk/packages/octave2.1/debian/in/pkgver-htmldoc.menu

Deleted: trunk/packages/octave2.1/debian/in/pkgver-htmldoc.postinst

Deleted: trunk/packages/octave2.1/debian/in/pkgver-htmldoc.prerm

Deleted: trunk/packages/octave2.1/debian/in/pkgver-info.postinst

Deleted: trunk/packages/octave2.1/debian/in/pkgver-info.prerm

Deleted: trunk/packages/octave2.1/debian/in/pkgver.conffiles

Deleted: trunk/packages/octave2.1/debian/in/pkgver.dirs

Deleted: trunk/packages/octave2.1/debian/in/pkgver.menu