[SCM] Free finite element code with object oriented architecture branch, master, updated. upstream/2.3_20130211.git1920710-17-g8bc6de1

Anton Gladky gladky.anton at gmail.com
Fri Apr 26 19:57:57 UTC 2013


The following commit has been merged in the master branch:
commit 8bc6de18469a5291d9435067ef44f170613be678
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Fri Apr 26 21:57:13 2013 +0200

    Some packaging updates. Not describing them, because the package was not uploaded yet.

diff --git a/debian/control b/debian/control
index a538c76..10a3ddd 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,8 @@ Section: science
 Priority: extra
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Václav Šmilauer <eudoxos at arcig.cz>, Anton Gladky <gladk at debian.org>
-Build-Depends: debhelper, cmake, python-dev, mpi-default-dev, libvtk5-dev, 
- libparmetis-dev, libboost-python-dev, liblapack-dev, doxygen, graphviz
+Build-Depends: debhelper (>=9), cmake, python-dev, mpi-default-dev, libvtk5-dev, 
+ libboost-python-dev, liblapack-dev, doxygen, graphviz
 Standards-Version: 3.9.4
 Homepage: http://www.oofem.org
 Vcs-Git: git://git.debian.org/git/debian-science/packages/oofem.git
@@ -12,7 +12,7 @@ Vcs-Browser: http://git.debian.org/?p=debian-science/packages/oofem.git
 
 Package: oofem
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, liboofem2 (= ${binary:Version})
 Description: Object Oriented Finite Element Solver
  OOFEM is free finite element code with object oriented architecture for
  solving mechanical, transport and fluid mechanics problems that operates
@@ -25,7 +25,9 @@ Description: Object Oriented Finite Element Solver
  This package contains the main binary of oofem.
 
 Package: oofem-doc
+Section: doc
 Architecture: all
+Depends: ${misc:Depends}
 Description: Object Oriented Finite Element Solver
  OOFEM is free finite element code with object oriented architecture for
  solving mechanical, transport and fluid mechanics problems that operates
@@ -36,3 +38,20 @@ Description: Object Oriented Finite Element Solver
  future development.
  .
  This package contains documentation.
+
+Package: liboofem2
+Architecture: any
+Pre-Depends: ${misc:Pre-Depends}
+Multi-Arch: same
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Object Oriented Finite Element Solver
+ OOFEM is free finite element code with object oriented architecture for
+ solving mechanical, transport and fluid mechanics problems that operates
+ on various platforms.
+ .
+ The aim of this project is to develop efficient and robust tool for FEM
+ computations as well as to provide modular and extensible environment for
+ future development.
+ .
+ This package contains the shared library of oofem.
+
diff --git a/debian/liboofem2.install b/debian/liboofem2.install
new file mode 100644
index 0000000..d512b64
--- /dev/null
+++ b/debian/liboofem2.install
@@ -0,0 +1 @@
+usr/lib/*/liboofem.so.*
diff --git a/debian/oofem-doc.doc-base b/debian/oofem-doc.doc-base
index 1db2093..ab4fcae 100644
--- a/debian/oofem-doc.doc-base
+++ b/debian/oofem-doc.doc-base
@@ -1,9 +1,9 @@
-Document: oofem
+Document: oofem-html
 Title: Oofem Reference Manual
 Author: Bořek Patzák
 Abstract: Reference manual for oofem
-Section: science
+Section: Science/Engineering
 
 Format: HTML
-Index: /usr/share/doc/oofem/html/index.html
-Files: /usr/share/doc/oofem/html/*.html
+Index: /usr/share/doc/oofem-doc/html/index.html
+Files: /usr/share/doc/oofem-doc/html/*.html
diff --git a/debian/oofem-doc.links b/debian/oofem-doc.links
new file mode 100644
index 0000000..8d92339
--- /dev/null
+++ b/debian/oofem-doc.links
@@ -0,0 +1 @@
+usr/share/javascript/jquery/jquery.js usr/share/doc/oofem-doc/html/jquery.js
diff --git a/debian/oofem.1 b/debian/oofem.1
new file mode 100644
index 0000000..5848d4d
--- /dev/null
+++ b/debian/oofem.1
@@ -0,0 +1,57 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.41.2.
+.TH OOFEM "1" "April 2013" "oofem " "User Commands"
+.SH NAME
+oofem \- free finite element code with object oriented architecture for solving mechanical, transport and fluid mechanics problems.
+.SH OPTIONS
+
+.TP
+\fB\-v\fR
+prints oofem version
+.TP
+\fB\-f\fR
+(string) input file name
+.TP
+\fB\-r\fR
+(int) restarts analysis from given step
+.HP
+\fB\-ar\fR (int) restarts adaptive analysis from given step
+.TP
+\fB\-l\fR
+(int) sets treshold for log messages (Errors=0, Warnings=1,
+.IP
+Relevant=2, Info=3, Debug=4)
+.HP
+\fB\-rn\fR turns on renumbering
+.HP
+\fB\-qo\fR (string) redirects the standard output stream to given file
+.HP
+\fB\-qe\fR (string) redirects the standard error stream to given file
+.TP
+\fB\-c\fR
+creates context file for each solution step
+.SH COPYRIGHT
+Copyright \(co 1994\-2013 Borek Patzak
+.br
+This is free software; see the source for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+.PP
+OOFEM version 2.2 (x86_64\-Linux, fm;tm;sm;openmp;LAPACK;VTK)
+of Apr 26 2013 on imfd7036
+.PP
+.br
+Copyright \(co 1994\-2013 Borek Patzak
+.br
+This is free software; see the source for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+.SH "SEE ALSO"
+The full documentation for
+.B oofem
+is maintained as a Texinfo manual.  If the
+.B info
+and
+.B oofem
+programs are properly installed at your site, the command
+.IP
+.B info oofem
+.PP
+should give you access to the complete manual.
diff --git a/debian/oofem.install b/debian/oofem.install
index 73752c9..e772481 100644
--- a/debian/oofem.install
+++ b/debian/oofem.install
@@ -1 +1 @@
-usr
+usr/bin
diff --git a/debian/oofem.manpages b/debian/oofem.manpages
new file mode 100644
index 0000000..b5a4b6e
--- /dev/null
+++ b/debian/oofem.manpages
@@ -0,0 +1 @@
+debian/oofem.1
diff --git a/debian/patches/fis_shared_version.patch b/debian/patches/fis_shared_version.patch
new file mode 100644
index 0000000..fadc8a5
--- /dev/null
+++ b/debian/patches/fis_shared_version.patch
@@ -0,0 +1,33 @@
+Description: Fix so-version and install path of shared library
+Author: Anton Gladky <gladk at debian.org> 
+Last-Update: 2013-04-26
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,11 +1,12 @@
++project (oofem)
+ cmake_minimum_required (VERSION 2.8.7) # >= 2.8.8 necessary for $<TARGET_OBJECTS:objlib>
+ include (CheckSymbolExists)
+ include (CheckCXXSymbolExists)
+ include (CheckIncludeFiles)
+ include (CheckIncludeFileCXX)
+ include (CheckCXXSourceCompiles)
++include (GNUInstallDirs)
+ 
+-project (oofem)
+ set (oofem_VERSION_MAJOR 2)
+ set (oofem_VERSION_MINOR 2)
+ set (oofem_VERSION_PATCH 0) # Unused
+@@ -430,8 +431,10 @@
+         ${LIBS} 
+         )
+     target_link_libraries (liboofem ${EXT_LIBS})
+-    set_target_properties (liboofem PROPERTIES OUTPUT_NAME oofem)
+-    install (TARGETS liboofem DESTINATION lib)
++    set_target_properties (liboofem PROPERTIES OUTPUT_NAME oofem
++                          VERSION ${oofem_VERSION_MAJOR}.${oofem_VERSION_MINOR}.${oofem_VERSION_PATCH}
++                          SOVERSION ${oofem_VERSION_MAJOR})
++    install (TARGETS liboofem DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ else ()
+     set (USE_STATIC_LIB ON)
+ endif ()
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..808402c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fis_shared_version.patch
diff --git a/debian/rules b/debian/rules
index 9259a76..689e775 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,19 +8,32 @@ extra_flags += \
 -DUSE_SHARED_LIB=ON \
 -DUSE_OPENMP=ON \
 -DUSE_VTK=ON \
--DUSE_PYTHON_BINDINGS=ON \
--DUSE_PARMETIS=ON \
 -DUSE_LAPACK=ON \
 
-#
 #-DUSE_PARALLEL=ON \
-#
 #-DUSE_TRIANGLE=ON \
 #-DUSE_PETSC=ON \
 #-DUSE_SLEPC=ON \
+#-DUSE_PYTHON_BINDINGS=OFF \
+#-DUSE_PARMETIS=OFF \
 
 override_dh_auto_configure:
-	rm tests/sm/crtest11.in; rm tests/sm/crtest10.in; rm tests/tmsm/test04_nltrans_incr.in; rm tests/tm/cemhyd01.in; rm tests/tm/cemhyd02.in; rm tests/sm/patch101.in 
+	rm tests/sm/trussb3_relax.in
+	rm tests/sm/trussb3_creep.in
+	rm tests/sm/planestress_j2.in
+	rm tests/fm/patch02.in
+	rm tests/fm/patch03.in
+	rm tests/fm/patch05.in
+	rm tests/tm/simpleMultiscaleDarcy.in
+	rm tests/tm/cemhyd01.in
+	rm tests/tm/cemhyd02.in
+	rm tests/sm/layered_libeam2d.in
+	rm tests/sm/incrlinstatic_isimposed.in
+	rm tests/tmsm/nonstat_nonlin_02.in
+	rm tests/tmsm/nltrans_incr.in
+	rm tests/benchmark/concrete_3point.in
+	rm tests/benchmark/steel1.in
+	rm tests/benchmark/j2mat.in
 	dh_auto_configure -- $(extra_flags)
 
 #override_dh_auto_test:
@@ -30,3 +43,10 @@ override_dh_auto_build:
 	cd $(BUILDDIR); make apidoc
 
 
+#	rm tests/sm/crtest11.in
+#	rm tests/sm/crtest10.in
+#	rm tests/tmsm/test04_nltrans_incr.in
+#	rm tests/tm/cemhyd01.in
+#	rm tests/tm/cemhyd02.in
+#	rm tests/sm/patch101.in
+#	rm tests/sm/patch101.in
diff --git a/debian/scripts/get_orig_src.sh b/debian/scripts/get_orig_src.sh
index 297218d..3511858 100755
--- a/debian/scripts/get_orig_src.sh
+++ b/debian/scripts/get_orig_src.sh
@@ -24,8 +24,8 @@ GIT_DAT=${GIT_DAT:0:10}
 GIT_DAT=$(echo $GIT_DAT | sed 's/-//g')
 
 VER_DEB=0~$GIT_DAT.git$GIT_REV
-FOLDER_NAME=oofem-2.3~$GIT_DAT.git$GIT_REV
-TARBALL_NAME=oofem_2.3~$GIT_DAT.git$GIT_REV.orig.tar.xz
+FOLDER_NAME=oofem-2.2~$GIT_DAT.git$GIT_REV
+TARBALL_NAME=oofem_2.2~$GIT_DAT.git$GIT_REV.orig.tar.xz
 
 echo $VER_DEB
 echo $FOLDER_NAME

-- 
Free finite element code with object oriented architecture



More information about the debian-science-commits mailing list