--- madlib-1.3.0.orig/Benchmarks/meshInfo/main.cc +++ madlib-1.3.0/Benchmarks/meshInfo/main.cc @@ -12,6 +12,7 @@ #include "MAdLib.h" +#include #include using std::cout; #include --- madlib-1.3.0.orig/Benchmarks/moveIt/main.cc +++ madlib-1.3.0/Benchmarks/moveIt/main.cc @@ -21,6 +21,7 @@ #include "MAdLib.h" +#include #include #include #include --- madlib-1.3.0.orig/Common/MAdResourceManager.cc +++ madlib-1.3.0/Common/MAdResourceManager.cc @@ -14,6 +14,7 @@ #include "MAdMessage.h" #include +#include #ifdef PARALLEL #include --- madlib-1.3.0.orig/config.guess +++ madlib-1.3.0/config.guess @@ -1,10 +1,10 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 # Free Software Foundation, Inc. -timestamp='2008-01-23' +timestamp='2009-06-10' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -170,7 +170,7 @@ arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep __ELF__ >/dev/null + | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? @@ -324,6 +324,9 @@ case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; + s390x:SunOS:*:*) + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; @@ -331,7 +334,20 @@ echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + eval $set_cc_for_build + SUN_ARCH="i386" + # If there is a compiler, see if it is configured for 64-bit objects. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. + # This test works for both compilers. + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + SUN_ARCH="x86_64" + fi + fi + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize @@ -640,7 +656,7 @@ # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | - grep __LP64__ >/dev/null + grep -q __LP64__ then HP_ARCH="hppa2.0w" else @@ -796,7 +812,7 @@ x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; - EM64T | authenticamd) + EM64T | authenticamd | genuineintel) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) @@ -806,6 +822,9 @@ [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; + 8664:Windows_NT:*) + echo x86_64-pc-mks + exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we @@ -866,40 +885,17 @@ m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; - mips:Linux:*:*) + mips:Linux:*:* | mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU - #undef mips - #undef mipsel + #undef ${UNAME_MACHINE} + #undef ${UNAME_MACHINE}el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mipsel + CPU=${UNAME_MACHINE}el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips - #else - CPU= - #endif - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } - ;; - mips64:Linux:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #undef CPU - #undef mips64 - #undef mips64el - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mips64el - #else - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips64 + CPU=${UNAME_MACHINE} #else CPU= #endif @@ -931,10 +927,13 @@ EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac - objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null + objdump --private-headers /bin/sh | grep -q ld.so.1 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} exit ;; + padre:Linux:*:*) + echo sparc-unknown-linux-gnu + exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in @@ -982,17 +981,6 @@ elf32-i386) TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" ;; - a.out-i386-linux) - echo "${UNAME_MACHINE}-pc-linux-gnuaout" - exit ;; - coff-i386) - echo "${UNAME_MACHINE}-pc-linux-gnucoff" - exit ;; - "") - # Either a pre-BFD a.out linker (linux-gnuoldld) or - # one that does not give us useful --help. - echo "${UNAME_MACHINE}-pc-linux-gnuoldld" - exit ;; esac # Determine whether the default compiler is a.out or elf eval $set_cc_for_build @@ -1058,7 +1046,7 @@ i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) @@ -1102,8 +1090,11 @@ pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about - # the processor, so we play safe by assuming i386. - echo i386-pc-msdosdjgpp + # the processor, so we play safe by assuming i586. + # Note: whatever this is, it MUST be the same as what config.sub + # prints for the "djgpp" host, or else GDB configury will decide that + # this is a cross-build. + echo i586-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 @@ -1141,6 +1132,16 @@ 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; + NCR*:*:4.2:* | MPRAS*:*:4.2:*) + OS_REL='.3' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; @@ -1153,7 +1154,7 @@ rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) @@ -1216,6 +1217,9 @@ BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; + BePC:Haiku:*:*) # Haiku running on Intel PC compatible. + echo i586-pc-haiku + exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; @@ -1324,6 +1328,9 @@ i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; + i*86:AROS:*:*) + echo ${UNAME_MACHINE}-pc-aros + exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 --- madlib-1.3.0.orig/config.sub +++ madlib-1.3.0/config.sub @@ -1,10 +1,10 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 # Free Software Foundation, Inc. -timestamp='2008-01-16' +timestamp='2009-06-11' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -122,6 +122,7 @@ case $maybe_os in nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ + kopensolaris*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` @@ -152,6 +153,9 @@ os= basic_machine=$1 ;; + -bluegene*) + os=-cnk + ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 @@ -249,13 +253,16 @@ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ + | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ - | maxq | mb | microblaze | mcore | mep \ + | maxq | mb | microblaze | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ - | mips64vr | mips64vrel \ + | mips64octeon | mips64octeonel \ | mips64orion | mips64orionel \ + | mips64r5900 | mips64r5900el \ + | mips64vr | mips64vrel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ @@ -268,6 +275,7 @@ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ + | moxie \ | mt \ | msp430 \ | nios | nios2 \ @@ -277,7 +285,7 @@ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ | score \ - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ @@ -286,7 +294,7 @@ | v850 | v850e \ | we32k \ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ - | z8k) + | z8k | z80) basic_machine=$basic_machine-unknown ;; m6811 | m68hc11 | m6812 | m68hc12) @@ -329,14 +337,17 @@ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ + | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | maxq-* | mcore-* \ + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ - | mips64vr-* | mips64vrel-* \ + | mips64octeon-* | mips64octeonel-* \ | mips64orion-* | mips64orionel-* \ + | mips64r5900-* | mips64r5900el-* \ + | mips64vr-* | mips64vrel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ @@ -358,20 +369,20 @@ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ - | z8k-*) + | z8k-* | z80-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) @@ -439,6 +450,10 @@ basic_machine=m68k-apollo os=-bsd ;; + aros) + basic_machine=i386-pc + os=-aros + ;; aux) basic_machine=m68k-apple os=-aux @@ -455,10 +470,18 @@ basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; + bluegene*) + basic_machine=powerpc-ibm + os=-cnk + ;; c90) basic_machine=c90-cray os=-unicos ;; + cegcc) + basic_machine=arm-unknown + os=-cegcc + ;; convex-c1) basic_machine=c1-convex os=-bsd @@ -526,6 +549,10 @@ basic_machine=m88k-motorola os=-sysv3 ;; + dicos) + basic_machine=i686-pc + os=-dicos + ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp @@ -1128,6 +1155,10 @@ basic_machine=z8k-unknown os=-sim ;; + z80-*-coff) + basic_machine=z80-unknown + os=-sim + ;; none) basic_machine=none-none os=-none @@ -1166,7 +1197,7 @@ we32k) basic_machine=we32k-att ;; - sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) @@ -1236,10 +1267,11 @@ # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ + | -kopensolaris* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* \ + | -aos* | -aros* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ @@ -1248,7 +1280,7 @@ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ - | -chorusos* | -chorusrdb* \ + | -chorusos* | -chorusrdb* | -cegcc* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ @@ -1388,6 +1420,9 @@ -zvmoe) os=-zvmoe ;; + -dicos*) + os=-dicos + ;; -none) ;; *) @@ -1585,7 +1620,7 @@ -sunos*) vendor=sun ;; - -aix*) + -cnk*|-aix*) vendor=ibm ;; -beos*) --- madlib-1.3.0.orig/debian/README.Debian +++ madlib-1.3.0/debian/README.Debian @@ -0,0 +1,9 @@ +madlib for Debian +----------------- + +The header files are in /usr/include/MAdLib. + +In order to link yor own code with MAdLib use the following link flags + -lMAdLib -llapack -lblas -lm + + -- Christophe Prud'homme , Tue, 4 Aug 2009 08:36:30 +0200 --- madlib-1.3.0.orig/debian/changelog +++ madlib-1.3.0/debian/changelog @@ -0,0 +1,37 @@ +madlib (1.3.0-2.2) unstable; urgency=medium + + * Non maintainer upload by the Reproducible Builds team. + * No source change upload to rebuild on buildd with .buildinfo files. + + -- Holger Levsen Sun, 03 Jan 2021 13:42:59 +0100 + +madlib (1.3.0-2.1) unstable; urgency=low + + * Non maintainer upload. + * Fix build failure with GCC 4.7. Closes: #667267. + + -- Matthias Klose Tue, 17 Apr 2012 08:37:01 +0200 + +madlib (1.3.0-2) unstable; urgency=low + + [Christophe Prud'homme] + * Bug fix: "FTBFS with GCC 4.4: missing #include", thanks to Martin + Michlmayr (Closes: #553702). + * Bug fix: "long description no sentence", thanks to Gerfried Fuchs + (Closes: #553245). + + -- Christophe Prud'homme Sun, 20 Dec 2009 20:25:07 +0100 + +madlib (1.3.0-1) unstable; urgency=low + + [ Christophe Prud'homme ] + * New upstream release + + -- Christophe Prud'homme Sat, 17 Oct 2009 20:53:16 +0200 + +madlib (1.2.3-1) unstable; urgency=low + + [ Christophe Prud'homme ] + * Initial release (Closes: #539861)) + + -- Christophe Prud'homme Sun, 11 Oct 2009 16:25:53 +0200 --- madlib-1.3.0.orig/debian/compat +++ madlib-1.3.0/debian/compat @@ -0,0 +1 @@ +7 --- madlib-1.3.0.orig/debian/control +++ madlib-1.3.0/debian/control @@ -0,0 +1,113 @@ +Source: madlib +Section: math +Priority: extra +Maintainer: Christophe Prud'homme +Build-Depends: cdbs, debhelper (>= 7), quilt, autotools-dev, libblas-dev | libblas-3gf.so, liblapack-dev | liblapack-3gf.so +Standards-Version: 3.8.3 +Homepage: http://www.madlib.be +Vcs-Git: git://alioth.debian.org/git/pkg-scicomp/madlib.git +Vcs-Browser: http://git.debian.org/?p=pkg-scicomp/madlib.git + +Package: libmadlib +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: mesh adaptation library + This package contains the dynamic libraries for MAdLib. + . + MAdLib is a library that performs global node repositioning and mesh + adaptation by local mesh modifications on tetrahedral or triangular + meshes. It is designed to frequently adapt the mesh in transient + computations. MAdLib is written in C++. + . + The adaptation procedure is driven by two objectives: + . + - make the edge lengths as close as possible to a (non-homogenous) + prescribed length, + . + - maintain a satisfying element quality everywhere. + . + MAdLib can be used in transient computations in order to maintain a + satisfying element quality (moving boundaries, multiphase flows with + interface tracking, ...) or/and to apply selective refinements and + coarsenings (error estimators based, interface capturing: shocks, + free surfaces, ...). + + +Package: libmadlib-dev +Section: libdevel +Architecture: any +Depends: libmadlib, ${shlibs:Depends}, ${misc:Depends} +Description: mesh adaptation library + This package contains the development files (headers, so and static + libraries) for MAdLib. + . + MAdLib is a library that performs global node repositioning and mesh + adaptation by local mesh modifications on tetrahedral or triangular + meshes. It is designed to frequently adapt the mesh in transient + computations. MAdLib is written in C++. + . + The adaptation procedure is driven by two objectives: + . + - make the edge lengths as close as possible to a (non-homogenous) + prescribed length, + . + - maintain a satisfying element quality everywhere. + . + MAdLib can be used in transient computations in order to maintain a + satisfying element quality (moving boundaries, multiphase flows with + interface tracking, ...) or/and to apply selective refinements and + coarsenings (error estimators based, interface capturing: shocks, + free surfaces, ...). + +Package: libmadlib-dbg +Section: debug +Architecture: any +Depends: libmadlib, ${shlibs:Depends}, ${misc:Depends} +Description: mesh adaptation library + This package contains the debug symbols for MAdLib. + . + MAdLib is a library that performs global node repositioning and mesh + adaptation by local mesh modifications on tetrahedral or triangular + meshes. It is designed to frequently adapt the mesh in transient + computations. MAdLib is written in C++. + . + The adaptation procedure is driven by two objectives: + . + - make the edge lengths as close as possible to a (non-homogenous) + prescribed length, + . + - maintain a satisfying element quality everywhere. + . + MAdLib can be used in transient computations in order to maintain a + satisfying element quality (moving boundaries, multiphase flows with + interface tracking, ...) or/and to apply selective refinements and + coarsenings (error estimators based, interface capturing: shocks, + free surfaces, ...). + + +Package: madlib-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Description: mesh adaptation library + This package contains the documentation, Examples and tutorial for + MAdLib. + . + MAdLib is a library that performs global node repositioning and mesh + adaptation by local mesh modifications on tetrahedral or triangular + meshes. It is designed to frequently adapt the mesh in transient + computations. MAdLib is written in C++. + . + The adaptation procedure is driven by two objectives: + . + - make the edge lengths as close as possible to a (non-homogenous) + prescribed length, + . + - maintain a satisfying element quality everywhere. + . + MAdLib can be used in transient computations in order to maintain a + satisfying element quality (moving boundaries, multiphase flows with + interface tracking, ...) or/and to apply selective refinements and + coarsenings (error estimators based, interface capturing: shocks, + free surfaces, ...). --- madlib-1.3.0.orig/debian/copyright +++ madlib-1.3.0/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Christophe Prud'homme on +Tue, 04 Aug 2009 07:26:08 +0200. + +It was downloaded from + +Upstream Authors: + + Jean-François Remacle , + Gaëtan Compere + +Copyright: + + (C) 2008-2009 by the Université catholique de Louvain (UCL), Belgium + + +License: + + /usr/share/common-licenses/LGPL-3 + +The Debian packaging is: + + Copyright (C) 2009 Christophe Prud'homme + +and is licensed under the GPL version 3, +see `/usr/share/common-licenses/GPL-3'. + + +ANN (in Contrib/ANN) /usr/share/common-licenses/LGPL-2 +Mathex (in Contrib/Mathex) /usr/share/common-licenses/LGPL-2 + --- madlib-1.3.0.orig/debian/libmadlib-dev.install +++ madlib-1.3.0/debian/libmadlib-dev.install @@ -0,0 +1,5 @@ +debian/tmp/usr/include +debian/tmp/usr/lib/*.so +debian/tmp/usr/lib/lib*.la /usr/lib +debian/tmp/usr/lib/lib*.a /usr/lib +MAdConfig.h /usr/include/MAdLib --- madlib-1.3.0.orig/debian/libmadlib.install +++ madlib-1.3.0/debian/libmadlib.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/lib*.so.0* /usr/lib + --- madlib-1.3.0.orig/debian/madlib-doc.examples +++ madlib-1.3.0/debian/madlib-doc.examples @@ -0,0 +1,4 @@ +Tutorial +variables + + --- madlib-1.3.0.orig/debian/patches/gcc44.patch +++ madlib-1.3.0/debian/patches/gcc44.patch @@ -0,0 +1,120 @@ +Index: madlib/Mesh/MshTags.h +=================================================================== +--- madlib.orig/Mesh/MshTags.h 2009-12-20 20:18:38.000000000 +0100 ++++ madlib/Mesh/MshTags.h 2009-12-20 20:18:46.000000000 +0100 +@@ -1,9 +1,9 @@ +-// -*- C++ -*- ++// -*- C++ -*- + // ------------------------------------------------------------------- + // MAdLib - Copyright (C) 2008-2009 Universite catholique de Louvain + // +-// See the Copyright.txt and License.txt files for license information. +-// You should have received a copy of these files along with MAdLib. ++// See the Copyright.txt and License.txt files for license information. ++// You should have received a copy of these files along with MAdLib. + // If not, see + // + // Please report all bugs and problems to +@@ -14,6 +14,7 @@ + #ifndef MSHTAGS__H + #define MSHTAGS__H + ++#include + #include + #include + +@@ -91,7 +92,7 @@ + case MSH_TET_35 : return 35; + case MSH_TET_34 : return 34; + case MSH_TET_56 : return 56; +- default: ++ default: + printf("Error (MshTags.h): Unknown type of element %d\n", type); + } + return 0; +@@ -102,38 +103,38 @@ + { + switch (type) { + case MSH_PNT : return 0; +- case MSH_LIN_2 : +- case MSH_LIN_3 : +- case MSH_LIN_4 : +- case MSH_LIN_5 : ++ case MSH_LIN_2 : ++ case MSH_LIN_3 : ++ case MSH_LIN_4 : ++ case MSH_LIN_5 : + case MSH_LIN_6 : return 1; +- case MSH_TRI_3 : +- case MSH_TRI_6 : +- case MSH_TRI_9 : +- case MSH_TRI_10 : +- case MSH_TRI_12 : +- case MSH_TRI_15 : +- case MSH_TRI_15I : +- case MSH_TRI_21 : +- case MSH_QUA_4 : +- case MSH_QUA_8 : ++ case MSH_TRI_3 : ++ case MSH_TRI_6 : ++ case MSH_TRI_9 : ++ case MSH_TRI_10 : ++ case MSH_TRI_12 : ++ case MSH_TRI_15 : ++ case MSH_TRI_15I : ++ case MSH_TRI_21 : ++ case MSH_QUA_4 : ++ case MSH_QUA_8 : + case MSH_QUA_9 : return 2; +- case MSH_TET_4 : +- case MSH_TET_10 : +- case MSH_HEX_8 : +- case MSH_HEX_20 : +- case MSH_HEX_27 : +- case MSH_PRI_6 : +- case MSH_PRI_15 : +- case MSH_PRI_18 : +- case MSH_PYR_5 : +- case MSH_PYR_13 : +- case MSH_PYR_14 : +- case MSH_TET_20 : +- case MSH_TET_35 : +- case MSH_TET_34 : ++ case MSH_TET_4 : ++ case MSH_TET_10 : ++ case MSH_HEX_8 : ++ case MSH_HEX_20 : ++ case MSH_HEX_27 : ++ case MSH_PRI_6 : ++ case MSH_PRI_15 : ++ case MSH_PRI_18 : ++ case MSH_PYR_5 : ++ case MSH_PYR_13 : ++ case MSH_PYR_14 : ++ case MSH_TET_20 : ++ case MSH_TET_35 : ++ case MSH_TET_34 : + case MSH_TET_56 : return 3; +- default: ++ default: + printf("Error (MshTags.h): Unknown type of element %d\n", type); + } + return -1; +@@ -143,7 +144,7 @@ + std::string getElementName(int type) { + + std::string name; +- ++ + switch (type) { + case MSH_PNT : name = "Point"; break; + case MSH_LIN_2 : name = "Linear edge"; break; +@@ -180,7 +181,7 @@ + default: + std::stringstream ss; break; + ss << "Unknown type of element (tag " << type << ")"; break; +- name = ss.str(); ++ name = ss.str(); + } + return name; + } --- madlib-1.3.0.orig/debian/patches/series +++ madlib-1.3.0/debian/patches/series @@ -0,0 +1 @@ +gcc44.patch --- madlib-1.3.0.orig/debian/rules +++ madlib-1.3.0/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +# Add here any variable or target overrides you need. +DEB_CONFIGURE_EXTRA_FLAGS := \ + --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info\ + --enable-ann --enable-benchmarks + +DEB_STRIPPED_UPSTREAM_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed -n -e 's/\.*$$//p') +MADLIB_VERSION=$(DEB_STRIPPED_UPSTREAM_VERSION) + +clean:: + -rm Contrib/mathex/mathex.o + -rm config.log + -rm config.status + -rm Benchmarks/checkMesh/Makefile Benchmarks/meshInfo/Makefile Benchmarks/moveIt/Makefile Benchmarks/optimize/Makefile Contrib/ANN/Makefile/Makefile + +get-orig-source: + uscan --force-download --rename --verbose --upstream-version $(MADLIB_VERSION) + -mv ../madlib_$(MADLIB_VERSION).orig.tar.gz ../tarballs; --- madlib-1.3.0.orig/debian/watch +++ madlib-1.3.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sites.uclouvain.be/madlib/sources/madlib-([\d.]+)\.tar\.gz