Add debian-directory.
Anton Gladky
12 years ago
0 | getfem++ (4.0.0-4) unstable; urgency=low | |
1 | ||
2 | * Missing dependency on python-numpy | |
3 | * Standards-Version updated to 3.8.4 | |
4 | * Package moved to Debian Science | |
5 | * ${misc:Depends} missing for libgetfem++-dev | |
6 | ||
7 | -- Sylvestre Ledru <sylvestre@debian.org> Fri, 19 Mar 2010 15:21:51 +0100 | |
8 | ||
9 | getfem++ (4.0.0-3) unstable; urgency=low | |
10 | ||
11 | * Fix broken superlu interface in libgmm++-dev (Closes: #552709) | |
12 | ||
13 | -- Konstantinos Poulios <poulios.konstantinos@gmail.com> Tue, 22 Dec 2009 14:41:24 +0100 | |
14 | ||
15 | getfem++ (4.0.0-2) unstable; urgency=low | |
16 | ||
17 | * Rebuild with python-support (>= 1.0.4). See #549283. | |
18 | * debian/control (Build-Depends): add version restriction (>= 1.0.4) | |
19 | to python-support | |
20 | ||
21 | -- Konstantinos Poulios <poulios.konstantinos@gmail.com> Fri, 09 Oct 2009 12:51:52 +0200 | |
22 | ||
23 | getfem++ (4.0.0-1) unstable; urgency=low | |
24 | ||
25 | * Initial release (Closes: #453065) | |
26 | ||
27 | -- Konstantinos Poulios <poulios.konstantinos@gmail.com> Tue, 29 Sep 2009 13:34:52 +0200 |
0 | 7 |
0 | Source: getfem++ | |
1 | Priority: extra | |
2 | Maintainer: Debian Science Team <debian-science-maintainers@lists.alioth.debian.org> | |
3 | Uploaders: Konstantinos Poulios <poulios.konstantinos@gmail.com> | |
4 | Build-Depends: debhelper (>= 7), | |
5 | autotools-dev, libtool, automake, autoconf, quilt (>= 0.46-4), | |
6 | libblas-dev, libboost-dev, libqhull-dev, libsuperlu3-dev, | |
7 | python-numpy, python-all-dev, python-support (>= 1.0.4) | |
8 | XS-Python-Version: all | |
9 | Standards-Version: 3.8.4 | |
10 | Section: libs | |
11 | Homepage: http://home.gna.org/getfem/ | |
12 | Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/getfem++/ | |
13 | Vcs-Browser: http://svn.debian.org/wsvn/debian-science/packages/getfem++/ | |
14 | ||
15 | Package: libgetfem4++ | |
16 | Section: libs | |
17 | Architecture: any | |
18 | Depends: ${shlibs:Depends}, ${misc:Depends} | |
19 | Description: GETFEM++ generic finite element library | |
20 | GETFEM++ is a library allowing the computation of any elementary matrix (even | |
21 | for mixed finite element methods) on the largest class of methods and elements, | |
22 | and for arbitrary dimension. | |
23 | ||
24 | ||
25 | Package: libgetfem++-dbg | |
26 | Section: debug | |
27 | Architecture: any | |
28 | Depends: ${shlibs:Depends}, ${misc:Depends}, libgetfem4++ (= ${binary:Version}) | |
29 | Description: Debugging symbols for the GETFEM++ generic finite element library | |
30 | GETFEM++ is a library allowing the computation of any elementary matrix (even | |
31 | for mixed finite element methods) on the largest class of methods and elements, | |
32 | and for arbitrary dimension. | |
33 | . | |
34 | This package contains debugging files used to investigate problems with | |
35 | binaries included in the GETFEM++ packages. | |
36 | ||
37 | ||
38 | Package: libgetfem++-dev | |
39 | Section: libdevel | |
40 | Architecture: any | |
41 | Depends: ${misc:Depends}, libgetfem4++ (= ${binary:Version}), libboost-dev | |
42 | Description: Development files for the GETFEM++ generic finite element library | |
43 | GETFEM++ is a library allowing the computation of any elementary matrix (even | |
44 | for mixed finite element methods) on the largest class of methods and elements, | |
45 | and for arbitrary dimension. | |
46 | . | |
47 | This package contains development files for building software that uses the | |
48 | GETFEM++ library. | |
49 | ||
50 | ||
51 | Package: libgmm++-dev | |
52 | Section: libdevel | |
53 | Architecture: all | |
54 | Depends: ${shlibs:Depends}, ${misc:Depends} | |
55 | Description: Generic C++ template library for sparse, dense and skyline matrices | |
56 | GMM++ is a framework of pre-defined methods for matrix computation. It is built | |
57 | as a set of generic algorithms for any interfaced vector type or matrix type. | |
58 | . | |
59 | It can be viewed as a glue library allowing cooperation between several vector | |
60 | and matrix types. However, basic sparse, dense and skyline matrix/vector types | |
61 | are built-in, hence it can be used as a standalone linear algebra library. | |
62 | ||
63 | ||
64 | Package: python-getfem++ | |
65 | Section: python | |
66 | Architecture: any | |
67 | Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, | |
68 | libgetfem4++ (= ${binary:Version}), python-numpy | |
69 | XB-Python-Version: ${python:Versions} | |
70 | Provides: ${python:Provides} | |
71 | Description: Python interface to the GETFEM++ generic finite element library | |
72 | GETFEM++ is a library allowing the computation of any elementary matrix (even | |
73 | for mixed finite element methods) on the largest class of methods and elements, | |
74 | and for arbitrary dimension. | |
75 | . | |
76 | This package contains the Python interface to GETFEM++. |
0 | Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=REVISION | |
1 | Name: GETFEM++ | |
2 | Maintainer: Yves Renard <Yves.Renard@insa-lyon.fr> | |
3 | Julien Pommier <Julien.Pommier@insa-toulouse.fr> | |
4 | ||
5 | Source: http://home.gna.org/getfem/ | |
6 | ||
7 | Copyright: 1995-2009, Yves Renard <Yves.Renard@insa-lyon.fr> | |
8 | 2000-2009, Julien Pommier <Julien.Pommier@insa-toulouse.fr> | |
9 | 2001-2009, Jeremie Lasry | |
10 | 2002-2009, Vanessa Lleras | |
11 | 2002-2008, Michel SalaĆ¼n | |
12 | 2002-2008, Houari Khenous | |
13 | 2002-2008, Jean-Yves Heddebaut | |
14 | Thorsten Ottosen | |
15 | License: LGPL-2.1+ | |
16 | On Debian systems the full text of the GNU Lesser General Public | |
17 | License can be found in the `/usr/share/common-licenses/LGPL' | |
18 | file. | |
19 | ||
20 | Files: internal_tools/simplexification_refelt.cc | |
21 | Copyright: 2002-2009, Yves Renard <Yves.Renard@insa-lyon.fr> | |
22 | 2002-2009, Julien Pommier <Julien.Pommier@insa-toulouse.fr> | |
23 | License: LGPL-2.1 | |
24 | On Debian systems the full text of the GNU Lesser General Public | |
25 | License can be found in the `/usr/share/common-licenses/LGPL-2.1' | |
26 | file. | |
27 | ||
28 | Files: contrib/icare/icare.cc | |
29 | Copyright: 2002-2009, Michel FourniƩ | |
30 | 2002-2009, Nicolas Renon | |
31 | 2002-2009, Nicolas Roux | |
32 | License: LGPL-2.1 | |
33 | On Debian systems the full text of the GNU Lesser General Public | |
34 | License can be found in the `/usr/share/common-licenses/LGPL-2.1' | |
35 | file. | |
36 | ||
37 | Files: src/gmm/gmm_dense_lu.h | |
38 | src/gmm/gmm_precond_ildlt.h | |
39 | src/gmm/gmm_precond_ilu.h | |
40 | src/gmm/gmm_precond_mr_approx_inverse.h | |
41 | src/gmm/gmm_solver_bicgstab.h | |
42 | src/gmm/gmm_solver_cg.h | |
43 | src/gmm/gmm_solver_gmres.h | |
44 | src/gmm/gmm_solver_qmr.h | |
45 | Copyright: 1997-2001, The Trustees of Indiana University | |
46 | 1997-2008, Yves Renard | |
47 | License: BSD and LGPL-2.1+ | |
48 | On Debian systems the full text of the Berkeley software distribution | |
49 | License can be found in the `/usr/share/common-licenses/BSD' file. | |
50 | On Debian systems the full text of the GNU Lesser General Public | |
51 | License can be found in the `/usr/share/common-licenses/LGPL-2.1' | |
52 | file. | |
53 | ||
54 | Files: superlu/* | |
55 | Copyright: 1987-1990, John Gilbert | |
56 | 1992-1994, Univ. of Tennessee | |
57 | 1992-1994, NAG Ltd. | |
58 | 1992-1994, Courant Institute | |
59 | 1992-1994, Argonne National Lab | |
60 | 1992-1994, Rice University | |
61 | 1994, Xerox Corporation | |
62 | 1992-2003, Univ. of California Berkeley | |
63 | 1997-2003, Xerox Palo Alto Research Center | |
64 | 1997-2003, Lawrence Berkeley National Lab | |
65 | 1998-2003, University of Florida | |
66 | License: BSD and BSD/superlu and Xerox | |
67 | On Debian systems the full text of the Berkeley software distribution | |
68 | License can be found in the `/usr/share/common-licenses/BSD' file. | |
69 | ||
70 | Files: src/getfem_boost/* | |
71 | Copyright: 1999-2003, Beman Dawes | |
72 | 2001-2002, Peter Dimov | |
73 | 2002, David Abrahams | |
74 | License: Boost-1.0 | |
75 | ||
76 | Files: debian/* | |
77 | Copyright: 2009, Konstantinos Poulios | |
78 | License: GPL | |
79 | On Debian systems the full text of the GNU General Public | |
80 | License can be found in the `/usr/share/common-licenses/GPL' | |
81 | file. | |
82 | ||
83 | ||
84 | License: BSD/superlu | |
85 | The Regents of the University of California, through Lawrence Berkeley National | |
86 | Laboratory (subject to receipt of any required approvals from U.S. Dept. of | |
87 | Energy) | |
88 | ||
89 | All rights reserved. | |
90 | ||
91 | Redistribution and use in source and binary forms, with or without modification, | |
92 | are permitted provided that the following conditions are met: | |
93 | ||
94 | (1) Redistributions of source code must retain the above copyright notice, | |
95 | this list of conditions and the following disclaimer. | |
96 | (2) Redistributions in binary form must reproduce the above copyright notice, | |
97 | this list of conditions and the following disclaimer in the documentation | |
98 | and/or other materials provided with the distribution. | |
99 | (3) Neither the name of Lawrence Berkeley National Laboratory, U.S. Dept. of | |
100 | Energy nor the names of its contributors may be used to endorse or promote | |
101 | products derived from this software without specific prior written permission. | |
102 | ||
103 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS | |
104 | IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
105 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | |
106 | PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR | |
107 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | |
108 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | |
109 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | |
110 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | |
111 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | |
112 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | |
113 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
114 | ||
115 | ||
116 | License: Xerox | |
117 | Xerox Corporation. All rights reserved. | |
118 | ||
119 | THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY | |
120 | EXPRESSED OR IMPLIED. ANY USE IS AT YOUR OWN RISK. | |
121 | ||
122 | Permission is hereby granted to use or copy this program for any | |
123 | purpose, provided the above notices are retained on all copies. | |
124 | Permission to modify the code and to distribute modified code is | |
125 | granted, provided the above notices are retained, and a notice that | |
126 | the code was modified is included with the above copyright notice. | |
127 | ||
128 | ||
129 | License: Boost-1.0 | |
130 | Boost Software License - Version 1.0 - August 17th, 2003 | |
131 | ||
132 | Permission is hereby granted, free of charge, to any person or organization | |
133 | obtaining a copy of the software and accompanying documentation covered by | |
134 | this license (the "Software") to use, reproduce, display, distribute, | |
135 | execute, and transmit the Software, and to prepare derivative works of the | |
136 | Software, and to permit third-parties to whom the Software is furnished to | |
137 | do so, all subject to the following: | |
138 | ||
139 | The copyright notices in the Software and this entire statement, including | |
140 | the above license grant, this restriction and the following disclaimer, | |
141 | must be included in all copies of the Software, in whole or in part, and | |
142 | all derivative works of the Software, unless such copies or derivative | |
143 | works are solely in the form of machine-executable object code generated by | |
144 | a source language processor. | |
145 | ||
146 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
147 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
148 | FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT | |
149 | SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE | |
150 | FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, | |
151 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
152 | DEALINGS IN THE SOFTWARE. | |
153 |
0 | usr/bin/getfem-config | |
1 | usr/include/getfem | |
2 | usr/include/getfem_boost | |
3 | usr/lib/libgetfem.so | |
4 | usr/lib/libgetfem.a | |
5 | usr/lib/libgetfem.la |
0 | usr/lib/libgetfem.so.4* |
0 | usr/include/gmm/ |
0 | --- getfem-4.0.0/src/gmm/gmm_superlu_interface.h.orig 2009-02-21 17:29:49.000000000 +0100 | |
1 | +++ getfem-4.0.0/src/gmm/gmm_superlu_interface.h 2009-12-08 09:53:44.816055000 +0100 | |
2 | @@ -195,8 +195,8 @@ namespace gmm { | |
3 | StatInit(&stat); | |
4 | ||
5 | SuperMatrix SA, SL, SU, SB, SX; // SuperLU format. | |
6 | - Create_CompCol_Matrix(&SA, m, n, nz, csc_A.pr, | |
7 | - (int *)(csc_A.ir), (int *)(csc_A.jc)); | |
8 | + Create_CompCol_Matrix(&SA, m, n, nz, (double *)(&(csc_A.pr[0])), | |
9 | + (int *)(&(csc_A.ir[0])), (int *)(&(csc_A.jc[0]))); | |
10 | Create_Dense_Matrix(&SB, m, nrhs, &rhs[0], m); | |
11 | Create_Dense_Matrix(&SX, m, nrhs, &sol[0], m); | |
12 | memset(&SL,0,sizeof SL); | |
13 | @@ -314,9 +314,10 @@ namespace gmm { | |
14 | case 3 : options.ColPerm = COLAMD; break; | |
15 | } | |
16 | StatInit(&stat); | |
17 | - | |
18 | - Create_CompCol_Matrix(&SA, m, n, nz, csc_A.pr, | |
19 | - (int *)(csc_A.ir), (int *)(csc_A.jc)); | |
20 | + | |
21 | + Create_CompCol_Matrix(&SA, m, n, nz, (double *)(&(csc_A.pr[0])), | |
22 | + (int *)(&(csc_A.ir[0])), (int *)(&(csc_A.jc[0]))); | |
23 | + | |
24 | Create_Dense_Matrix(&SB, m, 0, &rhs[0], m); | |
25 | Create_Dense_Matrix(&SX, m, 0, &sol[0], m); | |
26 | memset(&SL,0,sizeof SL); |
0 | gmm_superlu_interface.patch |
0 | 2.5- |
0 | #!/usr/bin/make -f | |
1 | # -*- makefile -*- | |
2 | # Sample debian/rules that uses debhelper. | |
3 | # This file was originally written by Joey Hess and Craig Small. | |
4 | # As a special exception, when this file is copied by dh-make into a | |
5 | # dh-make output file, you may use that output file without restriction. | |
6 | # This special exception was added by Craig Small in version 0.37 of dh-make. | |
7 | ||
8 | # Uncomment this to turn on verbose mode. | |
9 | #export DH_VERBOSE=1 | |
10 | ||
11 | ||
12 | # These are used for cross-compiling and for saving the configure script | |
13 | # from having to guess our platform (since we know it already) | |
14 | DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) | |
15 | DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) | |
16 | ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) | |
17 | CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) | |
18 | else | |
19 | CROSS= --build $(DEB_BUILD_GNU_TYPE) | |
20 | endif | |
21 | ||
22 | ||
23 | PYVERS=$(shell pyversions -vr) | |
24 | ||
25 | configure_flags= $(CROSS) --prefix=/usr \ | |
26 | --enable-boost --enable-shared --with-pic \ | |
27 | --enable-python --disable-matlab --disable-superlu \ | |
28 | CFLAGS="$(CFLAGS)" | |
29 | ||
30 | ||
31 | # shared library versions, option 1 | |
32 | version=4.0.0 | |
33 | major=4 | |
34 | # option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so | |
35 | #version=`ls src/.libs/lib*.so.* | \ | |
36 | # awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` | |
37 | #major=`ls src/.libs/lib*.so.* | \ | |
38 | # awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` | |
39 | ||
40 | configure: configure-stamp | |
41 | configure-stamp: | |
42 | dh_testdir | |
43 | QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2 | |
44 | # Add here commands to configure the package. | |
45 | aclocal -I ./m4 | |
46 | libtoolize -f | |
47 | autoheader | |
48 | autoreconf | |
49 | autoconf | |
50 | automake -a --gnu `find . -name Makefile.am | sed -e 's@\./\(.*\)\.am@\1@g'` | |
51 | ./configure $(configure_flags) | |
52 | ||
53 | touch configure-stamp | |
54 | ||
55 | ||
56 | build: build-stamp | |
57 | build-stamp: configure-stamp | |
58 | dh_testdir | |
59 | ||
60 | # Add here commands to compile the package. | |
61 | $(MAKE) | |
62 | ||
63 | touch $@ | |
64 | ||
65 | clean: | |
66 | dh_testdir | |
67 | dh_testroot | |
68 | rm -f build-stamp configure-stamp | |
69 | QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2 | |
70 | ||
71 | # Add here commands to clean up after the build process. | |
72 | [ ! -f Makefile ] || $(MAKE) clean | |
73 | ||
74 | dh_clean | |
75 | ||
76 | install: build | |
77 | dh_testdir | |
78 | dh_testroot | |
79 | dh_prep | |
80 | dh_installdirs | |
81 | ||
82 | # Add here commands to install the package into debian/tmp | |
83 | $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install | |
84 | ||
85 | ||
86 | # Build architecture-independent files here. | |
87 | binary-indep: install | |
88 | dh_testdir | |
89 | dh_testroot | |
90 | dh_installchangelogs -i ChangeLog | |
91 | dh_installdocs -i | |
92 | dh_installexamples -i #not really needed | |
93 | dh_install -i --list-missing --sourcedir=debian/tmp | |
94 | # dh_installman -i | |
95 | dh_compress -i | |
96 | dh_fixperms -i | |
97 | dh_installdeb -i | |
98 | dh_gencontrol -i | |
99 | dh_md5sums -i | |
100 | dh_builddeb -i | |
101 | ||
102 | # Build architecture-dependent files here. | |
103 | binary-arch: install | |
104 | dh_testdir | |
105 | dh_testroot | |
106 | dh_installchangelogs -a ChangeLog | |
107 | dh_installdocs -a | |
108 | dh_installexamples -a #not really needed | |
109 | dh_install -a --list-missing --sourcedir=debian/tmp | |
110 | # dh_installman -a | |
111 | dh_link -a | |
112 | dh_strip -a --dbg-package=libgetfem++-dbg | |
113 | dh_compress -a | |
114 | dh_fixperms -a | |
115 | dh_pysupport --package=python-getfem++ | |
116 | dh_makeshlibs -a | |
117 | dh_installdeb -a | |
118 | dh_shlibdeps -a | |
119 | dh_gencontrol -a | |
120 | dh_md5sums -a | |
121 | dh_builddeb -a | |
122 | ||
123 | binary: binary-indep binary-arch | |
124 | ||
125 | .PHONY: build clean binary-indep binary-arch binary install configure |