r37056 - in /packages/getfem++/trunk/debian: changelog control patches/addgetfempath.diff patches/disableXaccess.diff patches/series rules scilab-getfem++.install

sylvestre at users.alioth.debian.org sylvestre at users.alioth.debian.org
Tue Nov 30 00:32:01 UTC 2010


Author: sylvestre
Date: Tue Nov 30 00:32:01 2010
New Revision: 37056

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=37056
Log:
+  * Increase the soname (Closes: #591514)
+  * Standards-Version updated to version 3.9.1
+  * Creation of the scilab-getfem++ package

Added:
    packages/getfem++/trunk/debian/patches/addgetfempath.diff
    packages/getfem++/trunk/debian/patches/disableXaccess.diff
    packages/getfem++/trunk/debian/scilab-getfem++.install
Modified:
    packages/getfem++/trunk/debian/changelog
    packages/getfem++/trunk/debian/control
    packages/getfem++/trunk/debian/patches/series
    packages/getfem++/trunk/debian/rules

Modified: packages/getfem++/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/getfem%2B%2B/trunk/debian/changelog?rev=37056&op=diff
==============================================================================
--- packages/getfem++/trunk/debian/changelog (original)
+++ packages/getfem++/trunk/debian/changelog Tue Nov 30 00:32:01 2010
@@ -1,9 +1,15 @@
-getfem++ (4.1.1-1) unstable; urgency=low
+getfem++ (4.1.1-1) experimental; urgency=low
 
+  * Team upload
   * New upstream release
+  * Increase the soname (Closes: #591514)
+  * Standards-Version updated to version 3.9.1
+  * Creation of the scilab-getfem++ package
+
+  [ Konstantinos Poulios ]
   * Remove redundant checks for mumps in the configure script
 
- -- Konstantinos Poulios <poulios.konstantinos at gmail.com>  Wed, 17 Nov 2010 08:44:59 +0100
+ -- Sylvestre Ledru <sylvestre at debian.org>  Tue, 30 Nov 2010 00:34:22 +0100
 
 getfem++ (4.1-1) unstable; urgency=low
 

Modified: packages/getfem++/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/getfem%2B%2B/trunk/debian/control?rev=37056&op=diff
==============================================================================
--- packages/getfem++/trunk/debian/control (original)
+++ packages/getfem++/trunk/debian/control Tue Nov 30 00:32:01 2010
@@ -6,9 +6,10 @@
     autotools-dev, libtool, automake, autoconf,
     libblas-dev, libboost-dev, libqhull-dev,
     libsuperlu3-dev, libmumps-seq-dev, libmuparser-dev,
-    python-numpy, python-scipy, python-all-dev, python-support (>= 1.0.4)
+    python-numpy, python-scipy, python-all-dev, python-support (>= 1.0.4),
+    scilab-include, scilab
 XS-Python-Version: all
-Standards-Version: 3.9.0
+Standards-Version: 3.9.1
 Section: libs
 Homepage: http://home.gna.org/getfem/
 Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/getfem++/
@@ -77,3 +78,16 @@
  and for arbitrary dimension.
  .
  This package contains the Python interface to GETFEM++.
+
+
+Package: scilab-getfem++
+Section: scilab
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends},
+    libgetfem4++ (= ${binary:Version}), scilab
+Description: Scilab interface to the GETFEM++ generic finite element library
+ GETFEM++ is a library allowing the computation of any elementary matrix (even
+ for mixed finite element methods) on the largest class of methods and elements,
+ and for arbitrary dimension.
+ .
+ This package contains the Scilab interface to GETFEM++.

Added: packages/getfem++/trunk/debian/patches/addgetfempath.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/getfem%2B%2B/trunk/debian/patches/addgetfempath.diff?rev=37056&op=file
==============================================================================
--- packages/getfem++/trunk/debian/patches/addgetfempath.diff (added)
+++ packages/getfem++/trunk/debian/patches/addgetfempath.diff Tue Nov 30 00:32:01 2010
@@ -1,0 +1,14 @@
+Index: getfem++-4.1.1/interface/src/scilab/sci_gateway/c/loader.sce
+===================================================================
+--- getfem++-4.1.1.orig/interface/src/scilab/sci_gateway/c/loader.sce	2010-11-30 00:26:35.000000000 +0100
++++ getfem++-4.1.1/interface/src/scilab/sci_gateway/c/loader.sce	2010-11-30 00:27:48.000000000 +0100
+@@ -1,6 +1,9 @@
+ // This file is released into the public domain
+ // Generated by builder.sce : Please, do not edit this file
+ //
++a=ls("/usr//lib/libgetfem.so*");
++link(a(1));
++clear a;
+ libscigetfem_c_path = get_file_path('loader.sce');
+ link(libscigetfem_c_path+'/../../src/c/libsp_get.so');
+ list_functions = [             'gf_util';

Added: packages/getfem++/trunk/debian/patches/disableXaccess.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/getfem%2B%2B/trunk/debian/patches/disableXaccess.diff?rev=37056&op=file
==============================================================================
--- packages/getfem++/trunk/debian/patches/disableXaccess.diff (added)
+++ packages/getfem++/trunk/debian/patches/disableXaccess.diff Tue Nov 30 00:32:01 2010
@@ -1,0 +1,19 @@
+Index: getfem++-4.1.1/interface/src/scilab/Makefile.am
+===================================================================
+--- getfem++-4.1.1.orig/interface/src/scilab/Makefile.am	2010-11-29 23:20:09.000000000 +0100
++++ getfem++-4.1.1/interface/src/scilab/Makefile.am	2010-11-29 23:20:18.000000000 +0100
+@@ -395,7 +395,7 @@
+ .NOTPARALLEL: *
+ 
+ all:
+-	@SCILAB_EXE@ -nw -nb -f $(scilabbuilddir)/makefile_builder.sce
++	SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 @SCILAB_EXE@ -nw -nb -f $(scilabbuilddir)/makefile_builder.sce
+ 
+ install:
+ 	$(mkinstalldirs) $(toolboxdir)/demos
+@@ -466,4 +466,4 @@
+ 	@INSTALL@ -D -m 644 -t $(toolboxdir)/ $(scilabbasedir)
+ 
+ clean:
+-	@SCILAB_EXE@ -nw -nb -f $(scilabbuilddir)/makefile_cleaner.sce
++	SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 @SCILAB_EXE@ -nw -nb -f $(scilabbuilddir)/makefile_cleaner.sce

Modified: packages/getfem++/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/getfem%2B%2B/trunk/debian/patches/series?rev=37056&op=diff
==============================================================================
--- packages/getfem++/trunk/debian/patches/series (original)
+++ packages/getfem++/trunk/debian/patches/series Tue Nov 30 00:32:01 2010
@@ -1,1 +1,3 @@
 fix-mumps-checks-configure.patch
+disableXaccess.diff
+addgetfempath.diff

Modified: packages/getfem++/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/getfem%2B%2B/trunk/debian/rules?rev=37056&op=diff
==============================================================================
--- packages/getfem++/trunk/debian/rules (original)
+++ packages/getfem++/trunk/debian/rules Tue Nov 30 00:32:01 2010
@@ -27,8 +27,18 @@
 		--enable-boost --enable-shared --with-pic \
 		--enable-python --enable-muparser \
 		--disable-matlab --disable-superlu \
+		--enable-scilab --with-scilab-toolbox-dir=$(CURDIR)/debian/tmp/usr/lib/scilab-getfem++/ \
 		--with-mumps="-lsmumps_seq -ldmumps_seq -lcmumps_seq -lzmumps_seq -lpord_seq" \
 		CFLAGS="$(CFLAGS)"
+
+# shared library versions, option 1
+version=4.1.1
+major=5
+# 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)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
 
 configure: configure-stamp
 configure-stamp:
@@ -72,6 +82,10 @@
 
 	# Add here commands to install the package into debian/tmp
 	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+	mkdir -p $(CURDIR)/debian/scilab-getfem++/usr/share/scilab/contrib/
+	cd $(CURDIR)/debian/scilab-getfem++/usr/share/scilab/contrib/; \
+	rm -f scilab-getfem++; \
+	ln -s ../../../lib/scilab-getfem++/ getfem++
 
 
 # Build architecture-independent files here.
@@ -106,7 +120,7 @@
 	dh_pysupport --package=python-getfem++
 	dh_makeshlibs -a
 	dh_installdeb -a
-	dh_shlibdeps -a
+	LD_LIBRARY_PATH=$(LD_LIBRARY_PATH):$(CURDIR)/debian/tmp/usr/lib/ dh_shlibdeps -a -- --ignore-missing-info
 	dh_gencontrol -a
 	dh_md5sums -a
 	dh_builddeb -a

Added: packages/getfem++/trunk/debian/scilab-getfem++.install
URL: http://svn.debian.org/wsvn/debian-science/packages/getfem%2B%2B/trunk/debian/scilab-getfem%2B%2B.install?rev=37056&op=file
==============================================================================
--- packages/getfem++/trunk/debian/scilab-getfem++.install (added)
+++ packages/getfem++/trunk/debian/scilab-getfem++.install Tue Nov 30 00:32:01 2010
@@ -1,0 +1,1 @@
+usr/lib/scilab-getfem++/




More information about the debian-science-commits mailing list