r35870 - in /packages/scilab-toolboxes/scimax/trunk/debian: changelog control patches/PathToOverload.diff patches/actualDemoPath.diff rules

sylvestre-guest at users.alioth.debian.org sylvestre-guest at users.alioth.debian.org
Mon Sep 28 18:33:37 UTC 2009


Author: sylvestre-guest
Date: Mon Sep 28 18:33:37 2009
New Revision: 35870

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=35870
Log:
  * Simplification of debian/rules
  * On the load of the toolbox, provide the actual path to the demo
  * Lintian warnings removed (*-has-useless-call-to-ldconfig)

Added:
    packages/scilab-toolboxes/scimax/trunk/debian/patches/actualDemoPath.diff
Modified:
    packages/scilab-toolboxes/scimax/trunk/debian/changelog
    packages/scilab-toolboxes/scimax/trunk/debian/control
    packages/scilab-toolboxes/scimax/trunk/debian/patches/PathToOverload.diff
    packages/scilab-toolboxes/scimax/trunk/debian/rules

Modified: packages/scilab-toolboxes/scimax/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/scilab-toolboxes/scimax/trunk/debian/changelog?rev=35870&op=diff
==============================================================================
--- packages/scilab-toolboxes/scimax/trunk/debian/changelog (original)
+++ packages/scilab-toolboxes/scimax/trunk/debian/changelog Mon Sep 28 18:33:37 2009
@@ -1,3 +1,17 @@
+scilab-scimax (2.0.1-4) unstable; urgency=low
+
+  * Simplification of debian/rules
+  * On the load of the toolbox, provide the actual path to the demo
+  * Lintian warnings removed (*-has-useless-call-to-ldconfig)
+
+ -- Sylvestre Ledru <sylvestre at debian.org>  Mon, 28 Sep 2009 16:36:43 +0200
+
+scilab-scimax (2.0.1-3) unstable; urgency=low
+
+  * Build of the documentation is now done when only building arch dep packages
+
+ -- Sylvestre Ledru <sylvestre at debian.org>  Sat, 26 Sep 2009 13:44:22 +0200
+
 scilab-scimax (2.0.1-2) unstable; urgency=low
 
   * Copyright file updated with two missing statements

Modified: packages/scilab-toolboxes/scimax/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/scilab-toolboxes/scimax/trunk/debian/control?rev=35870&op=diff
==============================================================================
--- packages/scilab-toolboxes/scimax/trunk/debian/control (original)
+++ packages/scilab-toolboxes/scimax/trunk/debian/control Mon Sep 28 18:33:37 2009
@@ -22,3 +22,18 @@
  It is full featured doing symbolic manipulation of polynomials, matrices, 
  rational functions, integration, Todd-coxeter methods for finite group
  analysis, graphing, multiple precision floating point computation.
+
+Package: scilab-scimax-doc
+Section: doc
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, scilab (>= 5.1.1),
+ scilab-scimax
+Description: Symbolic computations for Scilab based on Maxima - Documentation
+ This toolbox is providing symbolic capabilities with the Scilab languages.
+ .
+ It is based on Maxima which is a fully symbolic computation program.
+ It is full featured doing symbolic manipulation of polynomials, matrices,
+ rational functions, integration, Todd-coxeter methods for finite group
+ analysis, graphing, multiple precision floating point computation.
+ .
+ This package contains scimax's documentation.

Modified: packages/scilab-toolboxes/scimax/trunk/debian/patches/PathToOverload.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/scilab-toolboxes/scimax/trunk/debian/patches/PathToOverload.diff?rev=35870&op=diff
==============================================================================
--- packages/scilab-toolboxes/scimax/trunk/debian/patches/PathToOverload.diff (original)
+++ packages/scilab-toolboxes/scimax/trunk/debian/patches/PathToOverload.diff Mon Sep 28 18:33:37 2009
@@ -26,10 +26,3 @@
  
  //La ligne suivante permet que le passage des parametres se fasse par reference
  //plutot que par valeur
-@@ -101,4 +101,4 @@
- 
- printf('\n** Use maxinit to start Maxima  **\n')
- 
--clear mpath Overload_TB_path functions types_geres op_maxfun m n f err
-\ Pas de fin de ligne à la fin du fichier.
-+clear mpath Overload_TB_path functions types_geres op_maxfun m n f err

Added: packages/scilab-toolboxes/scimax/trunk/debian/patches/actualDemoPath.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/scilab-toolboxes/scimax/trunk/debian/patches/actualDemoPath.diff?rev=35870&op=file
==============================================================================
--- packages/scilab-toolboxes/scimax/trunk/debian/patches/actualDemoPath.diff (added)
+++ packages/scilab-toolboxes/scimax/trunk/debian/patches/actualDemoPath.diff Mon Sep 28 18:33:37 2009
@@ -1,0 +1,17 @@
+--- SciMax_Toolbox.orig/etc/SciMax.start	2009-08-25 21:55:55.000000000 +0200
++++ SciMax_Toolbox/etc/SciMax.start	2009-09-21 18:28:40.000000000 +0200
+@@ -94,11 +94,11 @@
+ printf('help loaded\n');
+ 
+ add_demo('SciMax demo',mpath+'demos/SciMax.dem');
+-printf('You can see a demo with exec demos/SciMax.dem\n');
++printf('You can see a demo with exec ""'+mpath+'demos/SciMax.dem""\n');
+ 
+ //La variable xml_en_tete sert a ajouter l'en-tete necessaire pour les fichiers contenant du mathml 
+ xml_en_tete=['<?xml version=""1.0"" encoding=""UTF-8""?>';'<!DOCTYPE math PUBLIC ""-//W3C//DTD MathML 2.0//EN"" ""http://www.w3.org/Math/DTD/mathml2/mathml2.dtd"">'];
+ 
+ printf('\n** Use maxinit to start Maxima  **\n')
+ 
+-clear mpath Overload_TB_path functions types_geres op_maxfun m n f err
+\ Pas de fin de ligne à la fin du fichier.
++clear mpath Overload_TB_path functions types_geres op_maxfun m n f err

Modified: packages/scilab-toolboxes/scimax/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/scilab-toolboxes/scimax/trunk/debian/rules?rev=35870&op=diff
==============================================================================
--- packages/scilab-toolboxes/scimax/trunk/debian/rules (original)
+++ packages/scilab-toolboxes/scimax/trunk/debian/rules Mon Sep 28 18:33:37 2009
@@ -4,13 +4,13 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
+DEB_DH_MAKESHLIBS_ARGS_scilab-scimax = -n
+
+
 build: build-stamp
 
 build-stamp:
 		/usr/bin/scilab -nw -f builder.sce	
-		# build of the help
-		cd src/maxhelp && make && ./genMaxDoc.sh fr_FR 5.17.1 && ./genMaxDoc.sh en_US 5.17.1
-
 		touch $@
 
 clean:: clean-work #unpatch
@@ -25,15 +25,11 @@
 		# some additional cleanups
 		dh_clean 
 
-install: build install-stamp
+install/scilab-scimax:: build
 
-install-stamp:
-		dh_testdir
-		dh_testroot
 		mkdir -p $(CURDIR)/debian/scilab-scimax/usr/lib/scilab-scimax/lib/
 		mkdir -p $(CURDIR)/debian/scilab-scimax/usr/lib/scilab-scimax/src/lisp/
 		cp -p src/c/libmaxima.so $(CURDIR)/debian/scilab-scimax/usr/lib/scilab-scimax/lib/
-		cp -Rp jar/ $(CURDIR)/debian/scilab-scimax/usr/lib/scilab-scimax/
 		cp -Rp etc/ $(CURDIR)/debian/scilab-scimax/usr/lib/scilab-scimax/
 		cp -Rp loader.sce $(CURDIR)/debian/scilab-scimax/usr/lib/scilab-scimax/
 		cp -Rp demos/ $(CURDIR)/debian/scilab-scimax/usr/lib/scilab-scimax/
@@ -46,28 +42,13 @@
 		rm -f scilab-scimax; \
 		ln -s ../../../lib/scilab-scimax/ scimax
 
-binary:  binary-stamp
+install/scilab-scimax-doc::
+	#build of the help
+	cd src/maxhelp && make && ./genMaxDoc.sh fr_FR 5.17.1 && ./genMaxDoc.sh en_US 5.17.1
+	mkdir -p $(CURDIR)/debian/scilab-scimax-doc/usr/lib/scilab-scimax/
+	cp -R jar/ $(CURDIR)/debian/scilab-scimax-doc/usr/lib/scilab-scimax/
 
-binary-stamp: build install
-		dh_testdir -a
-		dh_testroot -a
-		dh_installchangelogs  -a
-		dh_installdocs --all README
-		dh_installexamples -a
-		dh_installman -a
-		dh_link -a
-		dh_strip -a
-		dh_compress  -a
-		dh_fixperms -a
-		dh_makeshlibs -a --noscripts
-		dh_installdeb -a
-		dh_shlibdeps -a
-		dh_gencontrol -a
-		dh_md5sums -a
-		dh_builddeb -a
-
-.PHONY: build clean binary install 
-
+.PHONY: binary binary-arch clean install build
 
 get-orig-source:
 	-uscan --upstream-version 0




More information about the debian-science-commits mailing list