[med-svn] r290 - in trunk/packages/libsbml/trunk/debian: . patches

panchoat-guest at alioth.debian.org panchoat-guest at alioth.debian.org
Mon May 21 03:34:37 UTC 2007


Author: panchoat-guest
Date: 2007-05-21 03:34:36 +0000 (Mon, 21 May 2007)
New Revision: 290

Modified:
   trunk/packages/libsbml/trunk/debian/changelog
   trunk/packages/libsbml/trunk/debian/control
   trunk/packages/libsbml/trunk/debian/libsbml-dev.install
   trunk/packages/libsbml/trunk/debian/patches/00list
   trunk/packages/libsbml/trunk/debian/rules
Log:
upstream update, remove all bindings temporary


Modified: trunk/packages/libsbml/trunk/debian/changelog
===================================================================
--- trunk/packages/libsbml/trunk/debian/changelog	2007-05-17 20:45:29 UTC (rev 289)
+++ trunk/packages/libsbml/trunk/debian/changelog	2007-05-21 03:34:36 UTC (rev 290)
@@ -1,3 +1,20 @@
+libsbml (3.0.0beta2-1) unstable; urgency=low
+
+  [ Changyan Xie ]
+  * Upstream upgrade.
+  * Remove all patches, since not neccessary now.
+  * Upstream seperate docs into another package, so this package can now be in
+    main section other than contrib. And also delete the libsbml-doc entry.
+  * New version contain no bindings except C/C++. so remove libsbml-java,
+    libsbml-perl, python-sbml entries.
+  * Add chmod u+x to configure and config/install-sh in debian/rules since dpatch 
+    cannot handle these.
+  * Add one dpatch to handle the soname absence.
+  * Change Build-Dep, remove bindings' requirements and correct the debhelper
+    compat version problem.
+
+ -- Changyan Xie <panchoat at gmail.com>  Sat, 19 May 2007 21:21:03 +0800
+
 libsbml (2.3.4-2) unstable; urgency=low
 
   [ Moriyoshi Koizumi ]

Modified: trunk/packages/libsbml/trunk/debian/control
===================================================================
--- trunk/packages/libsbml/trunk/debian/control	2007-05-17 20:45:29 UTC (rev 289)
+++ trunk/packages/libsbml/trunk/debian/control	2007-05-21 03:34:36 UTC (rev 290)
@@ -1,18 +1,16 @@
 Source: libsbml
 Priority: optional
 Maintainer: Steffen Moeller <moeller at pzr.uni-rostock.de>, Changyan Xie <panchoat at gmail.com>, Moriyoshi Koizumi <mozo at sfc.keio.ac.jp>
-Build-Depends: debhelper (>= 4.0.0), dpatch,
- autoconf, automake, libtool (>= 1.5.0), build-essential,
- libxerces23-dev | libxerces24-dev | libxerces25-dev | libxerces26-dev |
- libxerces27-dev, swig, python-dev, libperl-dev, java-compiler, fastjar,
- python-support (>= 0.3), tetex-bin, tetex-extra, latex2html, doxygen
+Build-Depends: debhelper (>= 5.0.0), dpatch,
+ autoconf, automake, libtool (>= 1.5.0), libxerces23-dev | libxerces24-dev | 
+ libxerces25-dev | libxerces26-dev | libxerces27-dev
 Standards-Version: 3.7.2
-Section: contrib/science
+Section: science
 XS-Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/libsbml/trunk/
 XS-Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/libsbml
 
 Package: libsbml-dev
-Section: contrib/devel
+Section: devel
 Architecture: any
 Depends: libsbml1 (=${Source-Version})
 Description: Development files for System Biology Markup Language Library
@@ -35,8 +33,8 @@
  .
  This package contain the development files.
 
-Package: libsbml1
-Section: contrib/libs
+Package: libsbml3
+Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: System Biology Markup Language Library
@@ -57,90 +55,10 @@
  The LibSBML code is very portable and is supported on Linux, Windows 
  (native), and Mac OS X.
 
-Package: python-sbml
-Section: contrib/python
-Provides: ${python:Provides}
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
-Description: System Biology Markup Language Library -- Python Binding
- 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.
- .
- LibSBML is written in ISO C and C++ but as a library it may be 
- used from all the programming languages listed to the left. In fact, 
- we strive to adhere to the natural idioms of each particular language
- to make the libSBML programming experience seamless. For example, SBML
- <listOf> elements behave like lists and sequences in Python, but 
- vectors in Matlab. Also, the C and C++ interfaces are completely 
- distinct (it's possible to program in pure C), but in C++ the C APIs 
- may be called without sacrifcing type safety.
- .
- The LibSBML code is very portable and is supported on Linux, Windows 
- (native), and Mac OS X.
- .
- This package contain the python binding of libsbml.
-
-Package: libsbml-java
-Section: contrib/libs
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: System Biology Markup Language Library -- Java Binding
- 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.
- .
- LibSBML is written in ISO C and C++ but as a library it may be 
- used from all the programming languages listed to the left. In fact, 
- we strive to adhere to the natural idioms of each particular language
- to make the libSBML programming experience seamless. For example, SBML
- <listOf> elements behave like lists and sequences in Python, but 
- vectors in Matlab. Also, the C and C++ interfaces are completely 
- distinct (it's possible to program in pure C), but in C++ the C APIs 
- may be called without sacrifcing type safety.
- .
- The LibSBML code is very portable and is supported on Linux, Windows 
- (native), and Mac OS X.
- .
- This Package contain the Java binding library.
-
-Package: libsbml-perl
-Section: contrib/perl
-Depends: ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends}, perl
-Architecture: any
-Description: System Biology Markup Language Library --Perl binding
- 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.
- .
- LibSBML is written in ISO C and C++ but as a library it may be 
- used from all the programming languages listed to the left. In fact, 
- we strive to adhere to the natural idioms of each particular language
- to make the libSBML programming experience seamless. For example, SBML
- <listOf> elements behave like lists and sequences in Python, but 
- vectors in Matlab. Also, the C and C++ interfaces are completely 
- distinct (it's possible to program in pure C), but in C++ the C APIs 
- may be called without sacrifcing type safety.
- .
- The LibSBML code is very portable and is supported on Linux, Windows 
- (native), and Mac OS X.
- .
- This package contain Perl binding.
-
-Package: libsbml-doc
-Section: devel
-Architecture: all
-Depends: 
-Description: HTML and PDF files for programming with libSBML
- Documentation for the development with libsbml.
-
 Package: libsbml-examples
 Section: contrib/doc
 Architecture: all
-Depends: libsbml-dev (= ${Source-Version})
+Depends: libsbml-dev (>= ${Source-Version})
 Description: System Biology Markup Language Library -- example files
  LibSBML is a library designed to help you read, write, manipulate, 
  translate, and validate SBML files and data streams. It is not an 

Modified: trunk/packages/libsbml/trunk/debian/libsbml-dev.install
===================================================================
--- trunk/packages/libsbml/trunk/debian/libsbml-dev.install	2007-05-17 20:45:29 UTC (rev 289)
+++ trunk/packages/libsbml/trunk/debian/libsbml-dev.install	2007-05-21 03:34:36 UTC (rev 290)
@@ -1,4 +1,2 @@
 usr/include/sbml/*
 usr/lib/libsbml.a
-usr/lib/libsbml.la
-usr/lib/libsbml.so

Modified: trunk/packages/libsbml/trunk/debian/patches/00list
===================================================================
--- trunk/packages/libsbml/trunk/debian/patches/00list	2007-05-17 20:45:29 UTC (rev 289)
+++ trunk/packages/libsbml/trunk/debian/patches/00list	2007-05-21 03:34:36 UTC (rev 290)
@@ -1,7 +1 @@
-01_extra_qualification.dpatch
-02_perl_man_install_dir.dpatch
-03_libtool_support.dpatch
-04_gcj_support.dpatch
-05_docs_destdir.dpatch
-06_matlab_support.dpatch
-07_swig_enum_oddity.dpatch
+01_add_soname_of_libsbml.dpatch

Modified: trunk/packages/libsbml/trunk/debian/rules
===================================================================
--- trunk/packages/libsbml/trunk/debian/rules	2007-05-17 20:45:29 UTC (rev 289)
+++ trunk/packages/libsbml/trunk/debian/rules	2007-05-21 03:34:36 UTC (rev 290)
@@ -25,8 +25,8 @@
 endif
 
 # shared library versions, option 1
-version=2.3.4
-major=2
+version=3.0.0
+major=3
 # option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
 #version=`ls src/.libs/lib*.so.* | \
 # awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
@@ -37,24 +37,19 @@
 patch: patch-stamp
 patch-stamp:
 	dpatch apply-all
-	libtoolize -c -f
-	aclocal -I config
-	autoconf
 	touch patch-stamp
 
 config.status: patch configure
 	dh_testdir
 	# Add here commands to configure the package.
 	CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+	chmod u+x configure
+	chmod u+x config/install-sh
 	./configure --host=$(DEB_HOST_GNU_TYPE) \
 	            --build=$(DEB_BUILD_GNU_TYPE) \
 	            --prefix=/usr \
 	            --mandir=\$${prefix}/share/man \
 	            --infodir=\$${prefix}/share/info \
-	            --with-swig=/usr \
-	            --with-perl=/usr \
-	            --with-python=/usr \
-	            --with-java=/usr
 
 build: build-stamp build-stamp-indep
 build-stamp: config.status
@@ -87,36 +82,8 @@
 	rm -f config.status
 	rm -f config.log
 	# Clean not sufficient for dpkg-sources diff
-	rm -rf docs/src/libsbml-manual/ docs/src/libsbml-manual.pdf docs/formatted/libsbml-manual.pdf debian/libsbml-java
-	dh_clean `find . -name "*.a" -o -name "*.la" -o -name "*pdf" -o -name "*.aux" -o -name "*.dvi" `
-#	rm -f src/bindings/java/Makefile \
-#	      src/bindings/java/libsbml_wrap.cpp \
-#	      src/bindings/java/javadoc.i \
-#	      src/bindings/lisp/libsbml-config.lisp \
-#	      src/bindings/lisp/Makefile \
-#	      src/bindings/lisp/libsbml-config-run.lisp \
-#	      src/bindings/lisp/build.lisp
-#	rm -f src/bindings/perl/Makefile.PL \
-#	      src/bindings/matlab/test/Makefile \
-#	      src/bindings/matlab/Makefile \
-#	      src/bindings/python/pydoc.i \
-#	      src/bindings/python/libsbml_wrap.cpp
-#	rm -f src/bindings/python/libsbml.py \
-#	      src/sbml/layout/test/Makefile \
-#	      src/sbml/layout/Makefile \
-#	      docs/src/tex/libsbmlextras.sty \
-#	      src/common/libsbml-package.h \
-#	      aclocal.m4
-#	rm -f win32/*/Makefile \
-#	      libsbml-2.3.4/ltmain.sh \
-#	      config.guess \
-#	      config.sub \
-#	      config/makefile-common-vars.mk
-#	rm -f ltmain.sh \
-#	      src/common/libsbml-config-unix.h \
-#	      configure \
-#	      acinclude.m4 
-
+	chmod u-x configure
+	chmod u-x config/install-sh
 install: build
 	dh_testdir
 	dh_testroot
@@ -124,7 +91,7 @@
 	dh_installdirs
 	# Add here commands to install the package into debian/tmp
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/
-	$(MAKE) install-docs DESTDIR=$(CURDIR)/debian/tmp/
+	mv $(CURDIR)/debian/tmp/usr/lib/libsbml.3.0.0.so $(CURDIR)/debian/tmp/usr/lib/libsbml.so.3.0.0
 
 # Build architecture-independent files here.
 binary-indep: build-indep install
@@ -138,13 +105,11 @@
 	dh_installchangelogs
 	dh_installdocs
 	dh_installexamples
-	dh_install -Xlibsbml-java --sourcedir=$(CURDIR)/debian/tmp
+	dh_install --sourcedir=$(CURDIR)/debian/tmp
 	dh_link
 	dh_strip
 	dh_compress
 	dh_fixperms
-	dh_perl
-	dh_pysupport
 	dh_makeshlibs
 	dh_installdeb
 	dh_shlibdeps




More information about the debian-med-commit mailing list