[med-svn] r7916 - in trunk/packages/libsbml/trunk/debian: . etc etc/csh etc/csh/login.d etc/profile.d

Ivo Maintz ivomaintz-guest at alioth.debian.org
Sat Sep 24 09:37:43 UTC 2011


Author: ivomaintz-guest
Date: 2011-09-24 09:37:42 +0000 (Sat, 24 Sep 2011)
New Revision: 7916

Added:
   trunk/packages/libsbml/trunk/debian/etc/
   trunk/packages/libsbml/trunk/debian/etc/csh/
   trunk/packages/libsbml/trunk/debian/etc/csh/login.d/
   trunk/packages/libsbml/trunk/debian/etc/csh/login.d/libsbml-matlab.csh
   trunk/packages/libsbml/trunk/debian/etc/profile.d/
   trunk/packages/libsbml/trunk/debian/etc/profile.d/libsbml-matlab.sh
   trunk/packages/libsbml/trunk/debian/libsbml5-matlab-doc.docs
   trunk/packages/libsbml/trunk/debian/libsbml5-matlab.install
Modified:
   trunk/packages/libsbml/trunk/debian/README.Debian-source
   trunk/packages/libsbml/trunk/debian/control
   trunk/packages/libsbml/trunk/debian/rules
Log:
added matlab suppport (non-free)


Modified: trunk/packages/libsbml/trunk/debian/README.Debian-source
===================================================================
--- trunk/packages/libsbml/trunk/debian/README.Debian-source	2011-09-23 19:36:10 UTC (rev 7915)
+++ trunk/packages/libsbml/trunk/debian/README.Debian-source	2011-09-24 09:37:42 UTC (rev 7916)
@@ -1,7 +1,8 @@
 Having downloaded the .zip file, one needs to repack it as .bzip2
 
 	unzip libsbml-5.1.0-b0-src.zip
-	tar cvzf libsbml-5.1.0-b0/* > libsbml_5.0.99.tar.gz
+	cd libsbml-5.1.0-b0
+	tar cvzf ../libsbml5_5.0.99.tar.gz .
 
 The build process is overly sensitive to the version of doxygen used
 	docTree.patch  - do not depend on doxygen's tree.html file

Modified: trunk/packages/libsbml/trunk/debian/control
===================================================================
--- trunk/packages/libsbml/trunk/debian/control	2011-09-23 19:36:10 UTC (rev 7915)
+++ trunk/packages/libsbml/trunk/debian/control	2011-09-24 09:37:42 UTC (rev 7916)
@@ -61,6 +61,7 @@
 Package: libsbml5
 Section: libs
 Architecture: any
+Provides: libsbml
 Conflicts: libsbml1, libsbml2, libsbml3
 Suggests: libsbml5-doc
 Depends: ${shlibs:Depends},
@@ -89,9 +90,23 @@
  but rather a library you can embed in your own applications.
  This package contains the Python bindings of LibSBML.
 
+Package: libsbml5-matlab
+Section: non-free/math
+Provides: libsbml-matlab
+Architecture: amd64
+Suggests: libsbml5-matlab-doc
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+Description: System Biology Markup Language library - Matlab bindings
+ LibSBML is a library designed to help you read, write, manipulate,
+ translate, and validate SBML files and data streams. It is not an
+ application itself (though it does come with many example programs),
+ but rather a library you can embed in your own applications.
+ This package contains the Matlab bindings of LibSBML.
+
 Package: libsbml5-ruby1.8
 Section: ruby
-Provides: libsbml3-ruby
+Provides: libsbml-ruby
 Architecture: any
 Depends: ${shlibs:Depends},
  ${misc:Depends}
@@ -135,6 +150,7 @@
 
 Package: libsbml5-octave
 Section: math
+Provides: libsbml-octave
 Suggests: libsbml5-octave-doc
 Depends: ${shlibs:Depends},
  ${misc:Depends},
@@ -150,6 +166,7 @@
 
 Package: libsbml5-cil
 Section: cli-mono
+Provides: libsbml-cil
 Suggests: libsbml5-cil-doc
 Depends: ${shlibs:Depends},
  ${misc:Depends},
@@ -173,16 +190,16 @@
  but rather a library you can embed in your own applications.
  This package contains C / C++ API documentation of LibSBML.
 
-Package: libsbml5-java-doc
-Section: doc
-Architecture: all
-Depends: ${misc:Depends}
-Description: System Biology Markup Language library - Java API docs
- LibSBML is a library designed to help you read, write, manipulate,
- translate, and validate SBML files and data streams. It is not an
- application itself (though it does come with many example programs),
- but rather a library you can embed in your own applications.
- This package contains Java API documentation of LibSBML.
+#Package: libsbml5-java-doc
+#Section: doc
+#Architecture: all
+#Depends: ${misc:Depends}
+#Description: System Biology Markup Language library - Java API docs
+# LibSBML is a library designed to help you read, write, manipulate,
+# translate, and validate SBML files and data streams. It is not an
+# application itself (though it does come with many example programs),
+# but rather a library you can embed in your own applications.
+# This package contains Java API documentation of LibSBML.
 
 Package: libsbml5-perl-doc
 Section: doc
@@ -228,6 +245,17 @@
  but rather a library you can embed in your own applications.
  This package contains octave API documentation of LibSBML.
 
+Package: libsbml5-matlab-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: System Biology Markup Language library - matlab API docs
+ LibSBML is a library designed to help you read, write, manipulate,
+ translate, and validate SBML files and data streams. It is not an
+ application itself (though it does come with many example programs),
+ but rather a library you can embed in your own applications.
+ This package contains matlab API documentation of LibSBML.
+
 Package: libsbml5-examples
 Section: doc
 Architecture: all

Added: trunk/packages/libsbml/trunk/debian/etc/csh/login.d/libsbml-matlab.csh
===================================================================
--- trunk/packages/libsbml/trunk/debian/etc/csh/login.d/libsbml-matlab.csh	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/etc/csh/login.d/libsbml-matlab.csh	2011-09-24 09:37:42 UTC (rev 7916)
@@ -0,0 +1,3 @@
+setenv | grep MATLABPATH | grep /usr/lib: >& /dev/null && exit
+setenv | grep MATLABPATH >& /dev/null && setenv MATLABPATH /usr/lib:$MATLABPATH && exit
+setenv MATLABPATH /usr/lib

Added: trunk/packages/libsbml/trunk/debian/etc/profile.d/libsbml-matlab.sh
===================================================================
--- trunk/packages/libsbml/trunk/debian/etc/profile.d/libsbml-matlab.sh	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/etc/profile.d/libsbml-matlab.sh	2011-09-24 09:37:42 UTC (rev 7916)
@@ -0,0 +1 @@
+echo $MATLABPATH | grep /usr/lib: || export MATLABPATH=/usr/lib:$MATLABPATH

Added: trunk/packages/libsbml/trunk/debian/libsbml5-matlab-doc.docs
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5-matlab-doc.docs	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5-matlab-doc.docs	2011-09-24 09:37:42 UTC (rev 7916)
@@ -0,0 +1 @@
+debian/tmp/usr/share/doc/libsbml-*/matlab-api

Added: trunk/packages/libsbml/trunk/debian/libsbml5-matlab.install
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml5-matlab.install	                        (rev 0)
+++ trunk/packages/libsbml/trunk/debian/libsbml5-matlab.install	2011-09-24 09:37:42 UTC (rev 7916)
@@ -0,0 +1,5 @@
+usr/lib/TranslateSBML*
+usr/lib/OutputSBML*
+usr/lib/*.m
+etc/profile.d/libsbml-matlab.sh
+etc/csh/login.d/libsbml-matlab.csh

Modified: trunk/packages/libsbml/trunk/debian/rules
===================================================================
--- trunk/packages/libsbml/trunk/debian/rules	2011-09-23 19:36:10 UTC (rev 7915)
+++ trunk/packages/libsbml/trunk/debian/rules	2011-09-24 09:37:42 UTC (rev 7916)
@@ -43,7 +43,7 @@
 	cp -f /usr/share/misc/config.guess config.guess
 endif
 
-	./configure $(CROSS)	--prefix=/usr			\
+	./configure $(CROSS)	--prefix=/usr				\
 				--with-doxygen				\
 				--with-perl				\
 				--with-python				\
@@ -51,12 +51,13 @@
 				--with-swig				\
 				--with-ruby				\
 				--with-octave				\
+				--with-matlab				\
 				--enable-layout				\
 				--with-csharp				\
 				--mandir=\$${prefix}/share/man		\
 				--infodir=\$${prefix}/share/info	\
 				CFLAGS="$(CFLAGS)"			\
-				LDFLAGS="-Wl,-z,defs"		     	
+				LDFLAGS="-Wl,-z,defs"			
 
 build: build-stamp
 
@@ -86,6 +87,8 @@
 	dh_installdirs
 
 	# Add here commands to install the package into debian/libsbml.
+	mkdir -p $(debtmp)/etc
+	cp -a debian/etc $(debtmp)
 	$(MAKE) install-docs DESTDIR=$(debtmp)
 	$(MAKE) install DESTDIR=$(debtmp)
 	find $(debtmp)/usr/lib/python2.6/ -type d -name site-packages -exec mv {} $(debtmp)/usr/lib/python2.6/dist-packages \; || true
@@ -118,7 +121,7 @@
 	dh_makeclilibs -i -V
 	dh_installcligac -i
 	dh_perl
-	dh_pysupport
+	dh_python2 --no-guessing-versions
 	dh_installdeb
 	dh_shlibdeps
 	dh_gencontrol




More information about the debian-med-commit mailing list