--- gmsh-2.4.2.dfsg.orig/debian/gmsh.install +++ gmsh-2.4.2.dfsg/debian/gmsh.install @@ -0,0 +1,3 @@ +debian/gmsh16x16-smooth.xpm /usr/share/pixmaps +debian/gmsh.desktop /usr/share/applications + --- gmsh-2.4.2.dfsg.orig/debian/prerm +++ gmsh-2.4.2.dfsg/debian/prerm @@ -0,0 +1,7 @@ +#! /bin/sh + +set -e + +#DEBHELPER# + +exit 0; --- gmsh-2.4.2.dfsg.orig/debian/README.Debian +++ gmsh-2.4.2.dfsg/debian/README.Debian @@ -0,0 +1,51 @@ +gmsh for Debian +--------------- + +Gmsh is an academic 3D mesh generator with a simple enough interface. + +* Documentation +--------------- + +** GMSH reference manual +------------------------ + +The documentation is available in several formats + +[PDF] +/usr/share/doc/gmsh/gmsh.pdf + +[PS] +/usr/share/doc/gmsh/gmsh.ps.gz + +[Html] +/usr/share/doc/gmsh/html/gmsh.html + +** FAQ +------ + +A FAQ is also available here + +/usr/share/doc/gmsh/FAQ + +* Tutorials and Demos +--------------------- + +A tutorial is available in /usr/share/doc/gmsh/tutorial. +A few demos are available in /usr/share/doc/gmsh/demos. + +* Solvers +--------- +If you want to have examples on plugin your own solver to gmsh +have a look at the following two solvers ( C and perl ) + +/usr/share/doc/gmsh/utils/solvers + +* Converters +------------ + +You can find some converters from (autocad|maya|matlab) to gmsh format +in + +/usr/share/doc/gmsh/utils/converters + + -- Christophe Prud'homme , Wed Nov 17 09:17:28 2004 --- gmsh-2.4.2.dfsg.orig/debian/changelog +++ gmsh-2.4.2.dfsg/debian/changelog @@ -0,0 +1,601 @@ +gmsh (2.4.2.dfsg-1) unstable; urgency=low + + [Christophe Prud'homme] + * New upstream release + + solver code refactoring + + better IDE integration. + + -- Christophe Prud'homme Sun, 27 Sep 2009 17:36:40 +0200 + +gmsh (2.4.1.dfsg-1) unstable; urgency=low + + [Christophe Prud'homme] + * New upstream release + + fixed surface mesh orientation bug introduced in 2.4.0; + + mesh and graphics code refactoring; + + small usability enhancements and bug fixes. + + -- Christophe Prud'homme Wed, 02 Sep 2009 18:12:15 +0200 + +gmsh (2.4.0.dfsg-1) UNRELEASED; urgency=low + + [Christophe Prud'homme] + * New upstream release + + switched build system to CMake; + + optionally copy transfinite mesh constraints during geometry + transformations; + + bumped mesh version format to 2.1 (small change in the + $PhysicalNames section, where the group dimension is now required); + + ported most plugins to the new post-processing API; + + switched from MathEval to MathEx and Flu_Tree_Browser to Fl_Tree; + + small bug fixes and improvements all over the place. + * debian/rules: use cmake build system + * debian/control: tighten libcgns depends + * debian/rules: remove Tetgen {cxx,h} files in get-orig-source + * debian/rules: enable cgns + * debian/rules: update Standards-Version to 3.8.3 (no change) + + -- Christophe Prud'homme Fri, 28 Aug 2009 11:55:06 +0200 + +gmsh (2.3.1.dfsg-4) unstable; urgency=low + + [Christophe Prud'homme] + * Bug fix: "gmsh with cgns write support", thanks to Oliver Borm + (Closes: #529972). + * debian/rules: make sure that Gmsh is built with occ support on all + platforms thanks to Denis Barbier (#536435). + + -- Christophe Prud'homme Mon, 13 Jul 2009 15:49:21 +0200 + +gmsh (2.3.1.dfsg-3) unstable; urgency=low + + [Christophe Prud'homme] + * debian/control: Applied patch by Denis Barbier now that opencascade + builds on all arches and Build-depends on libopencascade-modeling-dev + * debian/{rules,control}: don't build with mpi support (it doesn't do + anything) + * debian/control: update Standards-Version to 3.8.2 (no changes) + * Added patch by Martin to fix gcc44 compilation failure + * Bug fix: "missing #include", thanks to Martin Michlmayr (Closes: + #525733). + + -- Christophe Prud'homme Fri, 10 Jul 2009 07:39:49 +0200 + +gmsh (2.3.1.dfsg-2) unstable; urgency=low + + * debian/{rules,control}: provide the prefix for blas/lapack libraries + and build-depends on blas and lapack + * debian/control: drop gsl build-depends. It is no more needed, use + blas/lapack instead + + -- Christophe Prud'homme Sat, 28 Mar 2009 12:38:50 +0100 + +gmsh (2.3.1.dfsg-1) unstable; urgency=low + + * New upstream release + + removed GSL dependency (Gmsh now simply uses Blas and Lapack); + + new per-window visibility; + + added support for composite window printing and background images; + + fixed string option affectation in parser; + + fixed surface mesh orientation for Open Cascade models; + + fixed random triangle orientations in Delaunay and Frontal + algorithms. + * debian/{control,rules}: Build with occ support only on amd64 and i386 + * debian/rules: find GMSH_VERSION automatically + * debian/{rules,control}: enable mpi support for amd64, i386, ia64 and + powerpc + + -- Christophe Prud'homme Fri, 20 Mar 2009 08:21:36 +0100 + +gmsh (2.3.0.dfsg-3) unstable; urgency=low + + * debian/: added prerm and postinst to get rid of two lintian errors + prerm-does-not-call-installdocs and postinst-does-not-call-installdocs + * debian/control: updated Standards-Version to 3.8.1, no changes + * debian/compat: updated dh compat to V7 + + -- Christophe Prud'homme Thu, 19 Mar 2009 09:29:02 +0100 + +gmsh (2.3.0.dfsg-2) unstable; urgency=low + + * debian/control: build-depends on libopencascade-dev + * debian/rules: compile with opencascade support as it is now in main + and no more in non-free + * Bug fix: "gmsh with libopencascade6.2 support", Thanks to Oliver Borm + (Closes: #506521). + + -- Christophe Prud'homme Mon, 16 Mar 2009 21:31:08 +0100 + +gmsh (2.3.0.dfsg-1) unstable; urgency=low + + * New upstream release + + major graphics and GUI code refactoring; + + new full-quad/hexa subdivision algorithm (removed + Mesh.RecombineAlgo); + + improved automatic transfinite corner selection (now also + for volumes); + + improved visibility browser; new automatic adaptive visualization + for high-order simplices; + + modified arrow size, clipping planes and transform options; many + improvements and + + bug fixes all over the place. + + -- Christophe Prud'homme Tue, 17 Feb 2009 10:12:27 +0100 + +gmsh (2.2.6.dfsg-2) unstable; urgency=low + + * debian/control: fixed lintian warning "debhelper-but-no-misc-depends" + * debian/watch: fixed lintian warning + "debian-watch-file-should-mangle-version" + + -- Christophe Prud'homme Wed, 07 Jan 2009 16:02:08 +0100 + +gmsh (2.2.6.dfsg-1) unstable; urgency=low + + * New upstream release + + better transfinite smoothing and automatic corner selection; + + fixed high order meshing crashes on Windows and Linux; + + new uniform mesh refinement; + + fixed various other small bugs. + + -- Christophe Prud'homme Mon, 01 Dec 2008 22:19:58 +0100 + +gmsh (2.2.5.dfsg-3) unstable; urgency=low + + [Christophe Prud'homme] + * debian/control: get rid of mpi + + -- Christophe Prud'homme Sat, 01 Nov 2008 18:19:49 +0100 + +gmsh (2.2.5.dfsg-2) unstable; urgency=low + + [Christophe Prud'homme] + * debian/control: do not depend on libhdf5-openmpi-dev but rather + libopenmpi-dev for now + + -- Christophe Prud'homme Sat, 01 Nov 2008 11:18:44 +0100 + +gmsh (2.2.5.dfsg-1) unstable; urgency=low + + * New upstream release + + Gmsh now requires FLTK 1.1.7 or above; + + Various small improvements (STL and VTK mesh IO, Netgen upgrade, + Visual C++ support, Fields); + + Bug fixes (pyramid interpolation, Chaco crashes). + + * New upstream release (2.2.4) + + integrated Metis and Chaco mesh partitioners (many thanks to Stephen + Guzik!); + + variables can now be deleted in geo files; + + added support for point datasets in model-based postprocessing views; + + small bug fixes. + * debian/{rules,control}: work towards med/hdf5 support + * debian/rules: modified get-orig-source to get rid of Metis and + generate a .dfsg tarball + * debian/README.source: added to document the changes in the Gmsh source + + -- Christophe Prud'homme Sat, 01 Nov 2008 08:33:32 +0100 + +gmsh (2.2.3-1) unstable; urgency=low + + [Christophe Prud'homme] + * new upstream release + + enhanced clipping interface; + + API cleanup; + + fixed various bugs (Plugin(Integrate), high order meshes, surface + info crash). + + -- Christophe Prud'homme Tue, 15 Jul 2008 09:41:53 +0200 + +gmsh (2.2.2-2) unstable; urgency=low + + [Christophe Prud'homme] + * remove occ support, it is non-free + + -- Christophe Prud'homme Wed, 02 Jul 2008 00:19:41 +0200 + +gmsh (2.2.2-1) unstable; urgency=low + + [Christophe Prud'homme] + * enable Open Cascade support in gmsh, build-depends on libopencascade-dev + * new upstream release (2.2.1 and 2.2.2 changelogs) + + added geometrical transformations on volumes; + + fixed bug in high order mesh generation; + + various small improvements (adaptive views, gui, code cleanup); + + bug fixes (high order meshes, Netgen interface). + * update Standards-Version to 3.8.0 (no change) + * remove obsolete dependencies libglu1-xorg-dev and tetex-bin + + -- Christophe Prud'homme Tue, 01 Jul 2008 10:53:12 +0200 + +gmsh (2.2.0-2) unstable; urgency=low + + [Christophe Prud'homme] + * Bug fix: "gmsh ships no .desktop", thanks to Vassilis Pandis (Closes: + #375770). Applied the Ubuntu patch. + + [Daniel Leidert] + * debian/control (Vcs-Svn): Fixed. + (Build-Depends): Use texlive instead of tetex-bin. + * debian/gmsh.doc-base (Section): Fixed accordingly to doc-base (>= 0.8.10). + * debian/rules: Removed some variable declarations, that lead to double + configuration and seem to be useless. + (build/gmsh): Try to avoid multiple runs by using a stamp. + (orig-tarball): Renamed to get-orig-source and changed to use uscan. + * debian/watch: Added. + + -- Christophe Prud'homme Sun, 18 May 2008 12:46:05 +0200 + +gmsh (2.2.0-1) unstable; urgency=low + + * New upstream release + + new model-based post-processing backend; + + added MED I/O for mesh and post-processing; + + fixed BDF vertex ordering for 2nd order elements; + + replaced Mesh.ConstrainedBackgroundMesh with + Mesh.CharacteristicLength{FromPoints,ExtendFromBoundary}; + + new Fields interface; + + control windows are now non-modal by default; + + new experimental 2D frontal algorithm; + + fixed various bugs. + * debian/control: build-dep on libgl1-mesa-dev|nvidia-glx-dev and + libglu1-xorg-dev + * debian/patches: no need for stdlib.patch anymore + * debian/control: renamed XS-Vcs-* to Vcs-* + + -- Christophe Prud'homme Sun, 20 Apr 2008 13:33:44 +0200 + +gmsh (2.1.1-2) unstable; urgency=low + + * Bug fix: "gmsh: FTBFS: Message.cpp:213: error: 'abort' was not + declared in this scope", thanks to Lucas Nussbaum (Closes: #474807). + + -- Christophe Prud'homme Thu, 10 Apr 2008 22:18:58 +0200 + +gmsh (2.1.1-1) unstable; urgency=low + + [ Christophe Prud'homme ] + * New upstream release 2.1.1 + + fixes the bugs discovered in 2.1.0 (second order meshes with quad + faces, view->combine with empty views, crash after initial mesh, + compilation problems). + * New upstream release 2.1.0 + + new post-processing database; + + complete rewrite of post-processing drawing code; + + improved surface mesh algorithms; + + improved STEP/IGES/BREP support; + + new 3D mesh optimization algorithm; + + new default native file choosers; + + fixed 'could not find extruded vertex' in extrusions; + + many improvements and bug fixes all over the place. + + + -- Christophe Prud'homme Sun, 02 Mar 2008 09:06:49 +0100 + +gmsh (2.0.8-4) unstable; urgency=low + + [ Christophe Prud'homme ] + * debian/control: depend on quilt and cdbs + * debian/rules: use quilt and cdbs + * Bug fix: "FTBFS with GCC 4.3: duplicate function parameters & co", + thanks to Martin Michlmayr (Closes: #454883). + * debian/control: update Standards-Version to 3.7.3 (no change) + + -- Christophe Prud'homme Sun, 16 Dec 2007 17:50:13 +0100 + +gmsh (2.0.8-3) unstable; urgency=low + + [ Christophe Prud'homme ] + * debian/control: added Homepage + * debian/menu: comply to new menu structure + + -- Christophe Prud'homme Sun, 14 Oct 2007 12:52:38 +0200 + +gmsh (2.0.8-2) unstable; urgency=low + + * debian/rules: use -O3 to compile gmsh + + -- Christophe Prud'homme Wed, 25 Jul 2007 10:20:57 +0200 + +gmsh (2.0.8-1) unstable; urgency=low + + [ Christophe Prud'homme ] + * New upstream release + + unused vertices are not saved in mesh files anymore; + + new plugin GUI; automatic GUI font size selection; + + renamed Plugin(DecomposeInSimplex) into Plugin(MakeSimplex); + + reintroduced enhanced Plugin(SphericalRaise); + + clarified meshing algo names; + + new option to save groups of nodes in UNV meshes; + + new background mesh infrastructure; + + many small improvements and small bug fixes. + + -- Christophe Prud'homme Sat, 14 Jul 2007 13:27:49 +0200 + +gmsh (2.0.7-1) unstable; urgency=low + + * New upstream release + * FTBFS with GCC 4.3: missing #includes + + -- Christophe Prud'homme Fri, 6 Apr 2007 17:46:03 +0200 + +gmsh (2.0.5-2) unstable; urgency=low + + * get rid of option -m32 that triggers segfaults + + -- Christophe Prud'homme Sun, 1 Apr 2007 11:30:43 +0200 + +gmsh (2.0.5-1) unstable; urgency=low + + * New upstream release + + -- Christophe Prud'homme Thu, 22 Mar 2007 13:41:10 +0100 + +gmsh (2.0.4-1) unstable; urgency=low + + * New upstream release + + [ Rafael Laboissiere ] + * debian/control: Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source + section + + -- Christophe Prud'homme Wed, 7 Mar 2007 07:44:51 +0100 + +gmsh (1.65.0-2) unstable; urgency=low + + * Bug fix: "gmsh - unreachable maintainer", thanks to Bastian Blank + (Closes: #367340). + * Bug fix: "gmsh - FTBFS: strip: Unable to recognise the format of the + input file", thanks to Bastian Blank (Closes: #367334). + + -- Christophe Prud'homme Mon, 15 May 2006 20:30:40 +0200 + +gmsh (1.65.0-1) unstable; urgency=low + + * New upstream release + + new Plugin(ExtractEdges) + + fixed compilation errors with gcc4.1 + + replaced Plugin(DisplacementRaise) and Plugin(SphericalRaise) with + the more flexible Plugin(Warp) + + better handling of discrete curves + + new Status command in parser + + added option to renumber nodes in .msh files + (to avoid holes in the numbering sequence) + + fixed 2 special cases in quad->prism extrusion + + fixed saving of 2nd order hexas with negative volume + + small bug fixes and cleanups. + * Bump Standards-Version to 3.7.2 (no changes) + + -- Christophe Prud'homme Sun, 14 May 2006 15:49:29 +0200 + +gmsh (1.64.1-3) unstable; urgency=low + + * Changed Maintainer to pkg-scicomp Alioth project and added myself to + the list of Uploaders + + -- Christophe Prud'homme Thu, 20 Apr 2006 14:15:56 +0200 + +gmsh (1.64.1-2) unstable; urgency=low + + * Bug fix: "gmsh: FTBFS: build depends on xlibmesa-glu-dev", thanks to + Roland Stigge (Closes: #363305). + + -- Christophe Prud'homme Wed, 19 Apr 2006 08:13:03 +0200 + +gmsh (1.64.1-1) unstable; urgency=low + + * New upstream release + + new Plugin(ExtractEdges) + + fixed compilation errors with gcc4.1 + + small cleanups. + * Bug fix: "Package explicitely build-depends on g++-3.4", thanks to + Matthias Klose (Closes: #342968). + * Bug fix: "FTBFS with G++ 4.1: conversion from 'int' to non-scalar + type...", thanks to Martin Michlmayr (Closes: #357558). + + -- Christophe Prud'homme Sat, 25 Mar 2006 13:09:38 +0100 + +gmsh (1.64.0-1) unstable; urgency=low + + * New upstream release + + various bug fixes and cleanups. + + -- Christophe Prud'homme Sun, 12 Mar 2006 10:37:14 +0100 + +gmsh (1.63.2-1) unstable; urgency=low + + * New upstream release + + post-processing views can now be exported as meshes + + improved background mesh handling (a lot faster, and more accurate) + + improved support for input images + + new Plugin(ExtractElements) + + small bug fixes and enhancements. + + -- Christophe Prud'homme Wed, 1 Feb 2006 08:11:36 +0100 + +gmsh (1.62.0-1) unstable; urgency=low + + * New upstream release + - new option to draw color gradients in the background. + - enhanced perspective projection mode. + - new "lasso" selection mode (same as "lasso" zoom, but in selection + mode). + - new "invert selection" button in the visibility browser. + - new snapping grid when adding points in the GUI. + - nicer normal smoothing. + - new extrude syntax (old syntax still available, but deprecated). + - various small bug fixes and enhancements. + + -- Christophe Prud'homme Mon, 16 Jan 2006 08:16:13 +0100 + +gmsh (1.61.3-3) unstable; urgency=low + + * Compile with g++ instead of g++-3.4 on arm + + -- Christophe Prud'homme Wed, 4 Jan 2006 10:37:24 +0100 + +gmsh (1.61.3-2) unstable; urgency=low + + * Bug fix: "Package explicitely build-depends on g++-3.4", thanks to + Matthias Klose (Closes: #342968). + * Bug fix: "gmsh: UNV output is broken", thanks to Denis Barbier + (Closes: #332491). + + -- Christophe Prud'homme Mon, 12 Dec 2005 08:59:13 +0100 + +gmsh (1.61.3-1) unstable; urgency=low + + * New upstream release + + * use default compiler on mips/mipsel and try to fix gmsh buildd on these arch + + -- Christophe Prud'homme Thu, 1 Dec 2005 22:30:27 +0100 + +gmsh (1.61.1-1) unstable; urgency=low + + * New upstream release + + -- Christophe Prud'homme Sat, 26 Nov 2005 11:27:08 +0100 + +gmsh (1.60.1-5) unstable; urgency=low + + * recompile with 4.0 and proper libgcc1/libstdc++ + + -- Christophe Prud'homme Tue, 22 Nov 2005 09:17:12 +0100 + +gmsh (1.60.1-4) unstable; urgency=low + + * define CC and CXX to be passed to configure to force gcc 3.4 for arm, + mips and mipsel + + -- Christophe Prud'homme Sun, 20 Nov 2005 14:17:52 +0100 + +gmsh (1.60.1-3) unstable; urgency=low + + * Bug fix: "gmsh: FTBFS: DVI file can't be opened", thanks to Roland + Stigge (Closes: #339967). + * Attempt to fix arm,mips and mipsel using gcc 3.4 instead of gcc 4 + + -- Christophe Prud'homme Sun, 20 Nov 2005 11:47:13 +0100 + +gmsh (1.60.1-2) unstable; urgency=low + + * Rebuilt with libfltk1.1. + * Updated to Standards-Version 3.6.2 (no changes). + * Bug fix: "gmsh: FTBFS: ISO C++ forbids declaration of 'Mesh' with no + type", thanks to Andreas Jochens (Closes: #324310). + * changed my email address to Debian one. + + -- Christophe Prud'homme Wed, 28 Sep 2005 11:42:54 +0200 + +gmsh (1.60.1-1) unstable; urgency=low + + * New upstream release + + -- Christophe Prud'homme Tue, 15 Mar 2005 20:51:45 +0100 + +gmsh (1.59.0-1) unstable; urgency=low + + * New upstream release + + -- Christophe Prud'homme Mon, 7 Feb 2005 20:45:33 +0100 + +gmsh (1.58.0-1) unstable; urgency=low + + * New upstream release + * Fixed lintian warning description-synopsis-starts-with-a-capital-letter + * Patch from A. Jochens does not apply cleanly. Applied it "by hand" and + submitted to upstream + + -- Christophe Prud'homme Wed, 12 Jan 2005 14:14:08 +0100 + +gmsh (1.56.3-2) unstable; urgency=low + + * Use and Build-depends on dpatch + * Added patch from Andreas Jochens for amd64/gcc-4.0. It + does not hurt to apply for gcc < 4.0. + * Bug fix: "gmsh: FTBFS (amd64/gcc-4.0): cast from 'void*' to 'int' + loses precision", thanks to Andreas Jochens (Closes: #286788). + + -- Christophe Prud'homme Tue, 11 Jan 2005 23:42:18 +0100 + +gmsh (1.56.3-1) unstable; urgency=low + + * New upstream release + + -- Christophe Prud'homme Wed, 17 Nov 2004 10:36:16 +0100 + +gmsh (1.55.4-1) unstable; urgency=low + + * New upstream release + + -- Christophe Prud'homme Mon, 4 Oct 2004 01:30:49 +0200 + +gmsh (1.54.1-3) unstable; urgency=low + + * make sure that if 'make' fails, it fails at the right place: modify + toplevel Makefile/compile with a 'set -e'. Thanks to Goswin von + Brederlow . + + -- Christophe Prud'homme Mon, 9 Aug 2004 09:07:41 +0200 + +gmsh (1.54.1-2) unstable; urgency=low + + * added a few files from doc/ : FAQ, VERSIONS, README.cvs and README.gui + + -- Christophe Prud'homme Sun, 18 Jul 2004 18:24:10 +0200 + +gmsh (1.54.1-1) unstable; urgency=low + + * New upstream release + + -- Christophe Prud'homme Sun, 18 Jul 2004 18:07:21 +0200 + +gmsh (1.52.0-1) unstable; urgency=low + + * New upstream release + * Depends on g++-3.3 + * Added FAQ from website + * added utils/converters and utils/solvers in /usr/share/doc/gmsh + + -- Christophe Prud'homme Thu, 6 May 2004 11:21:44 +0200 + +gmsh (1.51.4-6) unstable; urgency=low + + * added the demos and the tutorial + + -- Christophe Prud'homme Thu, 1 Apr 2004 08:50:39 +0200 + +gmsh (1.51.4-5) unstable; urgency=low + + * added tetex-bin and texinfo to Build-Depends (closes: #240445) + + -- Christophe Prud'homme Sat, 27 Mar 2004 21:54:10 +0100 + +gmsh (1.51.4-4) unstable; urgency=low + + * added xlibmesa-glu-dev to Build-Depends + + -- Christophe Prud'homme Sat, 27 Mar 2004 12:56:59 +0100 + +gmsh (1.51.4-3) unstable; urgency=low + + * updated Standards-Version to 3.6.1 + + -- Christophe Prud'homme Fri, 26 Mar 2004 10:37:32 +0100 + +gmsh (1.51.4-2) unstable; urgency=low + + * added libpng12-dev, libjpeg62-dev, zlib1g-dev in Build-Depends + * Fix Build-Depends, added xlibmesa-gl-dev (closes: #240147) + * removed the (implied) 'A' in the short desciption in the control file + * make sure that triangle from Jonathan Shewchuk is disabled using --disable-triangle + + -- Christophe Prud'homme Fri, 26 Mar 2004 10:15:01 +0100 + +gmsh (1.51.4-1) unstable; urgency=low + + * Initial Release. + + -- Christophe Prud'homme Tue, 9 Mar 2004 11:24:10 +0100 + --- gmsh-2.4.2.dfsg.orig/debian/gmsh16x16-smooth.xpm +++ gmsh-2.4.2.dfsg/debian/gmsh16x16-smooth.xpm @@ -0,0 +1,72 @@ +/* XPM */ +static char * gmsh16x16_smooth_xpm[] = { +"16 16 53 1", +" c None", +". c #C8C8C8", +"+ c #000000", +"@ c #D5D5D5", +"# c #E8E8E8", +"$ c #D6D6D6", +"% c #F2F2F2", +"& c #D7D7D7", +"* c #EAEAEA", +"= c #F4F4F4", +"- c #D9D9D9", +"; c #F6F6F6", +"> c #DADADA", +", c #EBEBEB", +"' c #F5F5F5", +") c #F8F8F8", +"! c #DCDCDC", +"~ c #DFDFDF", +"{ c #F7F7F7", +"] c #F9F9F9", +"^ c #EEEEEE", +"/ c #FAFAFA", +"( c #DEDEDE", +"_ c #E5E5E5", +": c #FCFCFC", +"< c #F0F0F0", +"[ c #C4C4C4", +"} c #202020", +"| c #060606", +"1 c #E6E6E6", +"2 c #F1F1F1", +"3 c #B5B5B5", +"4 c #919191", +"5 c #757575", +"6 c #6F6F6F", +"7 c #6C6C6C", +"8 c #646464", +"9 c #4A4A4A", +"0 c #2C2C2C", +"a c #141414", +"b c #020202", +"c c #464646", +"d c #373737", +"e c #353535", +"f c #343434", +"g c #323232", +"h c #313131", +"i c #303030", +"j c #2E2E2E", +"k c #2B2B2B", +"l c #2A2A2A", +"m c #222222", +"n c #0A0A0A", +" ", +" ", +" .+ ", +" @++ ", +" #$++ ", +" %&+++ ", +" *=-+++ ", +" %;>++++ ", +" ,')!++++ ", +" ~={]!+++++ ", +" ^;)/(++++++ ", +" _')/:~++++++ ", +" <)//=[}|+++++ ", +" 12$34567890ab+ ", +" cdefghij0klmn+", +" "}; --- gmsh-2.4.2.dfsg.orig/debian/control +++ gmsh-2.4.2.dfsg/debian/control @@ -0,0 +1,34 @@ +Source: gmsh +Section: math +Priority: optional +Maintainer: Debian Scientific Computing Team +Uploaders: Christophe Prud'homme +Build-Depends: debhelper (>= 7), quilt, cdbs, cmake, gfortran, libgl1-mesa-dev|nvidia-glx-dev, + libglu1-mesa-dev, libfltk1.1-dev (>=1.1.7), + libpng12-dev, libjpeg62-dev, zlib1g-dev, texlive, texinfo, + libopencascade-modeling-dev, + libcgns-dev (>= 2.5.3), + libblas-dev | libblas-3gf.so, liblapack-dev | liblapack-3gf.so +Standards-Version: 3.8.3 +Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/gmsh/trunk/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/gmsh/ +Homepage: http://www.geuz.org/gmsh/ + +Package: gmsh +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libcgns2 (>= 2.5.3) +Recommends: mpi-default-bin +Description: three-dimensional finite element mesh generator + Gmsh is an automatic 3D finite element mesh generator (primarily + Delaunay) with build-in CAD and post-processing facilities. Its + design goal is to provide a simple meshing tool for academic test + cases with parametric input and up to date visualization + capabilities. + . + Gmsh is built around four modules: geometry, mesh, solver and + post-processing. The specification of any input to these modules is + done either interactively using the graphical user interface or in + ASCII text files using Gmsh's own scripting language. + . + See Gmsh's reference manual for a more thorough overview of Gmsh's + capabilities. --- gmsh-2.4.2.dfsg.orig/debian/compat +++ gmsh-2.4.2.dfsg/debian/compat @@ -0,0 +1 @@ +7 --- gmsh-2.4.2.dfsg.orig/debian/gmsh.desktop +++ gmsh-2.4.2.dfsg/debian/gmsh.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Name=Gmsh Mesh Generator +GenericName=Gmsh +Comment=3-D finite element mesh generator +Exec=gmsh +Icon=gmsh16x16-smooth +Type=Application +Terminal=false +Categories=Education;Math;Science; --- gmsh-2.4.2.dfsg.orig/debian/watch +++ gmsh-2.4.2.dfsg/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=dversionmangle=s/\.dfsg// \ +http://www.geuz.org/gmsh/src/gmsh-([\d.]+)-source\.tgz --- gmsh-2.4.2.dfsg.orig/debian/gmsh.info +++ gmsh-2.4.2.dfsg/debian/gmsh.info @@ -0,0 +1 @@ +doc/texinfo/gmsh.info --- gmsh-2.4.2.dfsg.orig/debian/copyright +++ gmsh-2.4.2.dfsg/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Christophe Prud'homme on +Tue, 9 Mar 2004 11:24:10 +0100. + +It was downloaded from http://www.geuz.org/gmsh/#Download + +Upstream Authors: + +Christophe Geuzaine +Jean-Francois Remacle + +Copyright: + +/usr/share/common-licenses/GPL-2 + +Gmsh is copyright (C) 1997-2004 by C. Geuzaine and J.-F. Remacle and +is distributed under the terms of the GNU General Public License +(GPL). + +---------------------------------------------------------------------- +Chaco version 2.2 + +This software was developed by Bruce Hendrickson and Robert Leland +at Sandia National Laboratories under US Department of Energy +contract DE-AC04-76DP00789 and is copyrighted by Sandia Corporation. + +Gmsh - license info and modifications: + +Chaco is released under the GNU LGPL v2.1. +See http://www.sandia.gov/~bahendr/chaco.html for more info. + +Chaco has been slightly modified for integration into the Gmsh program. Most +changes are to 'main/interface.c'. Elsewhere, the 'printf' routine has been +defined as Gmsh_printf to write through a Gmsh Msg::Info. All other +modifications are tagged by 'Gmsh' and 'Gmsh - end' +---------------------------------------------------------------------- --- gmsh-2.4.2.dfsg.orig/debian/menu +++ gmsh-2.4.2.dfsg/debian/menu @@ -0,0 +1,6 @@ +?package(gmsh): \ + needs="X11" \ + section="Applications/Science/Engineering" \ + title="Gmsh" \ + command="/usr/bin/gmsh" \ + icon="/usr/share/pixmaps/gmsh16x16-smooth.xpm" --- gmsh-2.4.2.dfsg.orig/debian/README.source +++ gmsh-2.4.2.dfsg/debian/README.source @@ -0,0 +1,15 @@ +# -*- mode: readme-debian -*- + + +Removing Metis support +---------------------- + +The sources of Gmsh contain Metis, a non-free library, as a module +that can be disabled. To keep Gmsh clean, its sources are modified and +Metis has been removed from contrib/Metis. +The steps are documented in debian/rules in the get-orig-source rule. + +Also a quilt patch (see debian/patches) is available to fix a +compilation issue when using --disable-metis + + -- Christophe Prud'homme , Sat, 1 Nov 2008 08:34:47 +0100 --- gmsh-2.4.2.dfsg.orig/debian/postinst +++ gmsh-2.4.2.dfsg/debian/postinst @@ -0,0 +1,7 @@ +#! /bin/sh + +set -e + +#DEBHELPER# + +exit 0; --- gmsh-2.4.2.dfsg.orig/debian/gmsh.doc-base +++ gmsh-2.4.2.dfsg/debian/gmsh.doc-base @@ -0,0 +1,12 @@ +Document: gmsh +Title: Gmsh Reference Manual +Author: Christophe Geuzaine and Jean-François Remacle +Abstract: This is the reference manual for gmsh. +Section: Science/Mathematics + +Format: pdf +Files: /usr/share/doc/gmsh/gmsh.pdf + +Format: HTML +Index: /usr/share/doc/gmsh/gmsh.html +Files: /usr/share/doc/gmsh/gmsh.html --- gmsh-2.4.2.dfsg.orig/debian/rules +++ gmsh-2.4.2.dfsg/debian/rules @@ -0,0 +1,72 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses cdbs. Originaly written by Robert Millan. +# This file is public domain. + + +DEB_AUTO_CLEANUP_RCS := yes +DEB_MAKE_CLEAN_TARGET := clean +DEB_MAKE_BUILD_TARGET := default +DEB_COMPRESS_EXCLUDE := .pdf +DEB_MAKE_INSTALL_TARGET = install $(DEB_DESTDIR) + + +include /usr/share/cdbs/1/class/cmake.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +#ENABLE_MED=--enable-med +#ENABLE_MED=--disable-med + +#export CXX=g++-4.3 +#export CC=gcc-4.3 +#export CFLAGS= -O3 -I/usr/include/opencascade +#export CXXFLAGS= -O3 -I/usr/include/opencascade + +WITH_OCC=yes +WITH_MPI=no +ifeq ($(WITH_OCC),yes) + CFLAGS += -I/usr/include/opencascade -DHAVE_NO_OCC_CONFIG_H + CXXFLAGS += -I/usr/include/opencascade -DHAVE_NO_OCC_CONFIG_H + CPPFLAGS += -I/usr/include/opencascade -DHAVE_NO_OCC_CONFIG_H +endif +ifeq ($(WITH_MPI),yes) + CFLAGS += -I/usr/include/mpi -DOMPI_SKIP_MPICXX + CXXFLAGS += -I/usr/include/mpi -DOMPI_SKIP_MPICXX + CPPFLAGS += -I/usr/include/mpi -DOMPI_SKIP_MPICXX +endif + +# 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_MED) \ +# --enable-cgns=yes \ +# --enable-occ=$(WITH_OCC) \ +# --enable-mpi=$(WITH_MPI) \ +# --disable-metis --disable-tetgen \ +# --with-blas-lapack-prefix=/usr/lib + +DEB_CMAKE_EXTRA_FLAGS= \ + -DENABLE_METIS=OFF \ + -DENABLE_TETGEN=OFF + +DEB_STRIPPED_UPSTREAM_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed -n -e 's/\.dfsg.*$$//p') +GMSH_VERSION=$(DEB_STRIPPED_UPSTREAM_VERSION) + +build/gmsh:: + cd $(DEB_BUILDDIR) && $(MAKE) pdf html info + +install/gmsh:: + -rm debian/gmsh/usr/share/doc/gmsh/LICENSE.txt + +get-orig-source: + uscan --force-download --rename --verbose --upstream-version $(GMSH_VERSION) + tar xzf ../gmsh_$(GMSH_VERSION).orig.tar.gz + mv gmsh-$(GMSH_VERSION)-source gmsh-$(GMSH_VERSION).dfsg + cd gmsh-$(GMSH_VERSION).dfsg/contrib/Metis && rm *.c *.h + cd gmsh-$(GMSH_VERSION).dfsg/contrib/Tetgen && rm *.cxx *.h + tar czf gmsh_$(GMSH_VERSION).dfsg.orig.tar.gz gmsh-$(GMSH_VERSION).dfsg + rm -rf gmsh-$(GMSH_VERSION).dfsg + if test -d ../tarballs; then mv gmsh_$(GMSH_VERSION).dfsg.orig.tar.gz ../tarballs; fi --- gmsh-2.4.2.dfsg.orig/debian/patches/00list +++ gmsh-2.4.2.dfsg/debian/patches/00list @@ -0,0 +1 @@ +gcc44.patch --- gmsh-2.4.2.dfsg.orig/debian/patches/gcc44.patch +++ gmsh-2.4.2.dfsg/debian/patches/gcc44.patch @@ -0,0 +1,280 @@ +Index: gmsh-2.4.0.dfsg/Numeric/gmshLinearSystemCSR.cpp +=================================================================== +--- gmsh-2.4.0.dfsg.orig/Numeric/gmshLinearSystemCSR.cpp 2009-08-28 11:58:20.000000000 +0200 ++++ gmsh-2.4.0.dfsg/Numeric/gmshLinearSystemCSR.cpp 2009-08-28 12:00:32.000000000 +0200 +@@ -6,8 +6,9 @@ + #include "GmshConfig.h" + #include "GmshMessage.h" + #include "gmshLinearSystemCSR.h" +-#include +-#include ++#include ++#include ++#include + + #define SWAP(a,b) temp=(a);(a)=(b);(b)=temp; + #define SWAPI(a,b) tempi=(a);(a)=(b);(b)=tempi; +@@ -99,18 +100,18 @@ + delete _b; + delete something; + } +- ++ + if(_nbRows == 0){ +- a_ = 0; +- ai_ = 0; +- ptr_ = 0; +- jptr_ = 0; ++ a_ = 0; ++ ai_ = 0; ++ ptr_ = 0; ++ jptr_ = 0; + _b = 0; + _x = 0; + something = 0; + return; + } +- ++ + a_ = CSRList_Create (_nbRows, _nbRows, sizeof(double)); + ai_ = CSRList_Create (_nbRows, _nbRows, sizeof(INDEX_TYPE)); + ptr_ = CSRList_Create (_nbRows, _nbRows, sizeof(INDEX_TYPE)); +@@ -129,14 +130,14 @@ + + static void free_ivector(int *v, long nl, long nh) + { +- // free an int vector allocated with ivector() ++ // free an int vector allocated with ivector() + free((char*)(v+nl-1)); + } + + static int *ivector(long nl, long nh) + { +- // allocate an int vector with subscript range v[nl..nh] +- int *v; ++ // allocate an int vector with subscript range v[nl..nh] ++ int *v; + v=(int *)malloc((size_t) ((nh-nl+2)*sizeof(int))); + if (!v) fprintf(stderr, "allocation failure in ivector()\n"); + return v-nl+1; +@@ -159,7 +160,7 @@ + INDEX_TYPE tempi; + scalar a,temp; + int b,c; +- ++ + istack=ivector(1,NSTACK); + for (;;) { + if (ir-l < M_sort2) { +@@ -184,7 +185,7 @@ + ir=istack[jstack]; + l=istack[jstack-1]; + jstack -= 2; +- } ++ } + else { + k=(l+ir) >> 1; + SWAP(arr[k -1],arr[l+1 -1]) +@@ -233,7 +234,7 @@ + istack[jstack]=ir; + istack[jstack-1]=i; + ir=j-1; +- } ++ } + else { + istack[jstack]=j-1; + istack[jstack-1]=l; +@@ -244,11 +245,11 @@ + } + + template +-void sortColumns(int NbLines, +- int nnz, +- INDEX_TYPE *ptr, +- INDEX_TYPE *jptr, +- INDEX_TYPE *ai, ++void sortColumns(int NbLines, ++ int nnz, ++ INDEX_TYPE *ptr, ++ INDEX_TYPE *jptr, ++ INDEX_TYPE *ai, + scalar *a) + { + // replace pointers by lines +@@ -264,20 +265,20 @@ + ptr[_position_temp] = i; + if (_position == 0) break; + } +- } +- _sort2_xkws(nnz,a,ptr,ai); ++ } ++ _sort2_xkws(nnz,a,ptr,ai); + jptr[0] = 0; + for(int i=1;i<=NbLines;i++){ + jptr[i] = jptr[i-1] + count[i-1]; + } +- ++ + for(int i=0;isize(), + CSRList_Nbr(a_), + (INDEX_TYPE *) ptr_->array, +- (INDEX_TYPE *) jptr_->array, +- (INDEX_TYPE *) ai_->array, ++ (INDEX_TYPE *) jptr_->array, ++ (INDEX_TYPE *) ai_->array, + (double*) a_->array); + sorted = true; + +- gmm::csr_matrix_ref ++ gmm::csr_matrix_ref + ref((double*)a_->array, (INDEX_TYPE *) ai_->array, + (INDEX_TYPE *)jptr_->array, _b->size(), _b->size()); + gmm::csr_matrix M; +@@ -319,8 +320,8 @@ + sortColumns(_b->size(), + CSRList_Nbr(a_), + (INDEX_TYPE *) ptr_->array, +- (INDEX_TYPE *) jptr_->array, +- (INDEX_TYPE *) ai_->array, ++ (INDEX_TYPE *) jptr_->array, ++ (INDEX_TYPE *) ai_->array, + (double*) a_->array); + sorted = true; + +@@ -342,8 +343,8 @@ + sortColumns(_b->size(), + CSRList_Nbr(a_), + (INDEX_TYPE *) ptr_->array, +- (INDEX_TYPE *) jptr_->array, +- (INDEX_TYPE *) ai_->array, ++ (INDEX_TYPE *) jptr_->array, ++ (INDEX_TYPE *) ai_->array, + (double*) a_->array); + sorted = true; + +@@ -352,13 +353,13 @@ + myVeryCuteTaucsMatrix.rowind = (INDEX_TYPE*)jptr_->array; + myVeryCuteTaucsMatrix.colptr = (INDEX_TYPE*)ai_->array; + myVeryCuteTaucsMatrix.values.d = (double*) a_->array; +- char* options[] = { "taucs.factor.LLT=true", NULL }; +- int result = taucs_linsolve(&myVeryCuteTaucsMatrix, ++ char* options[] = { "taucs.factor.LLT=true", NULL }; ++ int result = taucs_linsolve(&myVeryCuteTaucsMatrix, + NULL, 1, &(*_x)[0],&(*_b)[0], +- options,NULL); ++ options,NULL); + if (result != TAUCS_SUCCESS){ + Msg::Error("Taucs Was Not Successfull"); +- } ++ } + return 1; + } + #endif +Index: gmsh-2.4.0.dfsg/Geo/GModelIO_CGNS.cpp +=================================================================== +--- gmsh-2.4.0.dfsg.orig/Geo/GModelIO_CGNS.cpp 2009-08-28 12:02:45.000000000 +0200 ++++ gmsh-2.4.0.dfsg/Geo/GModelIO_CGNS.cpp 2009-08-28 12:03:15.000000000 +0200 +@@ -24,6 +24,7 @@ + #define omp_destroy_lock(x) + #endif + ++#include + #include + #include // DBG + #include +@@ -101,9 +102,9 @@ + std::strncpy(name, s.c_str(), 32); + name[32] = '\0'; + } +- CGNSNameStr(const int d, const char *const fmt = "%d") ++ CGNSNameStr(const int d, const char *const fmt = "%d") + { +- std::sprintf(name, fmt, d); ++ sprintf(name, fmt, d); + } + CGNSNameStr(const CGNSNameStr& cgs) { std::strcpy(name, cgs.name); } + // Assignment +@@ -210,7 +211,7 @@ + * Purpose + * ======= + * +- * ++ * + * + * I/O + * === +@@ -449,7 +450,7 @@ + * zoneElemConn - (I) connectivity for the zone using gmsh node ordering + * (see MElement.h) + * (O) connectivity using CGNS node ordering +- * ++ * + ******************************************************************************/ + + void translateElementMSH2CGNS(ElementConnectivity *const zoneElemConn) +@@ -560,7 +561,7 @@ + ******************************************************************************/ + + void expand_name(std::string &s, const int index, const char *const name) +-{ ++{ + std::string::size_type r1 = s.find('&'); + // Look for and replace "&-&" sub-strings + while(r1 != std::string::npos) { +@@ -703,7 +704,7 @@ + * I/O + * === + * +- * model - (I) ++ * model - (I) + * zoneDefinition - (I) how to define a zone + * options - (I) CGNS specific options + * scalingFactor +@@ -722,7 +723,7 @@ + //--A task for a thread + + template +-struct ZoneTask ++struct ZoneTask + { + MZone zone; + CGNSNameStr zoneName; +@@ -734,7 +735,7 @@ + // processed + int indexInOwner; + ZoneTask() : status(0), indexInOwner(0) { } +- void change_status(const int _status) ++ void change_status(const int _status) + { + #pragma omp atomic + status = _status; +@@ -743,7 +744,7 @@ + + //--Information about a zone + +-struct ZoneInfo ++struct ZoneInfo + { + CGNSNameStr name; + int cgIndex; +@@ -848,7 +849,7 @@ + int cgIndexCoord; + dBuffer.resize(cgZoneSize[0]); + // x +- for(int i = 0; i != cgZoneSize[0]; ++i) ++ for(int i = 0; i != cgZoneSize[0]; ++i) + dBuffer[i] = writeZone->zoneVertVec[i]->x()*scalingFactor; + if(cg_coord_write(cgIndexFile, cgIndexBase, cgIndexZone, RealDouble, + "CoordinateX", &dBuffer[0], &cgIndexCoord)) --- gmsh-2.4.2.dfsg.orig/debian/patches/stdlib.patch +++ gmsh-2.4.2.dfsg/debian/patches/stdlib.patch @@ -0,0 +1,71 @@ +Index: gmsh-2.1.1/contrib/Netgen/libsrc/general/mystring.hpp +=================================================================== +--- gmsh-2.1.1.orig/contrib/Netgen/libsrc/general/mystring.hpp 2005-09-21 19:29:38.000000000 +0200 ++++ gmsh-2.1.1/contrib/Netgen/libsrc/general/mystring.hpp 2008-04-10 06:53:11.000000000 +0200 +@@ -19,6 +19,7 @@ + #ifndef MYSTRING__H + #define MYSTRING__H + ++ + class Point3d; + class Vec3d; + +Index: gmsh-2.1.1/contrib/Netgen/libsrc/general/symbolta.hpp +=================================================================== +--- gmsh-2.1.1.orig/contrib/Netgen/libsrc/general/symbolta.hpp 2008-02-22 07:49:34.000000000 +0100 ++++ gmsh-2.1.1/contrib/Netgen/libsrc/general/symbolta.hpp 2008-04-10 06:53:11.000000000 +0200 +@@ -1,6 +1,7 @@ + #ifndef FILE_SYMBOLTA + #define FILE_SYMBOLTA + ++#include + + /**************************************************************************/ + /* File: symbolta.hh */ +Index: gmsh-2.1.1/contrib/Netgen/libsrc/include/mystdlib.h +=================================================================== +--- gmsh-2.1.1.orig/contrib/Netgen/libsrc/include/mystdlib.h 2006-06-08 14:32:08.000000000 +0200 ++++ gmsh-2.1.1/contrib/Netgen/libsrc/include/mystdlib.h 2008-04-10 06:53:11.000000000 +0200 +@@ -1,6 +1,7 @@ + #ifndef FILE_MYSTDLIB + #define FILE_MYSTDLIB + ++#include + + #include + #include +Index: gmsh-2.1.1/contrib/Netgen/libsrc/opti/bfgs.cpp +=================================================================== +--- gmsh-2.1.1.orig/contrib/Netgen/libsrc/opti/bfgs.cpp 2005-09-21 19:29:38.000000000 +0200 ++++ gmsh-2.1.1/contrib/Netgen/libsrc/opti/bfgs.cpp 2008-04-10 06:53:11.000000000 +0200 +@@ -8,6 +8,7 @@ + /* */ + /***************************************************************************/ + ++#include + #include + #include + +Index: gmsh-2.1.1/contrib/Netgen/libsrc/opti/linopt.cpp +=================================================================== +--- gmsh-2.1.1.orig/contrib/Netgen/libsrc/opti/linopt.cpp 2005-09-21 19:29:38.000000000 +0200 ++++ gmsh-2.1.1/contrib/Netgen/libsrc/opti/linopt.cpp 2008-04-10 06:53:11.000000000 +0200 +@@ -1,3 +1,4 @@ ++#include + #include + #include + +Index: gmsh-2.1.1/Fltk/Message.cpp +=================================================================== +--- gmsh-2.1.1.orig/Fltk/Message.cpp 2008-04-10 06:53:39.000000000 +0200 ++++ gmsh-2.1.1/Fltk/Message.cpp 2008-04-10 06:53:57.000000000 +0200 +@@ -19,7 +19,8 @@ + // + // Please report all bugs and problems to . + +-#include ++#include ++#include + #include + #include "Message.h" + #include "GmshUI.h" --- gmsh-2.4.2.dfsg.orig/debian/patches/makefile.patch +++ gmsh-2.4.2.dfsg/debian/patches/makefile.patch @@ -0,0 +1,21 @@ +Index: gmsh-2.0.8/Makefile +=================================================================== +--- gmsh-2.0.8.orig/Makefile 2007-12-16 16:13:52.000000000 +0100 ++++ gmsh-2.0.8/Makefile 2007-12-16 16:14:14.000000000 +0100 +@@ -49,11 +49,11 @@ + rm -f bin/gmsh_i386 bin/gmsh_ppc + + install: variables +- mkdir -p ${bindir} +- cp -f bin/gmsh${EXEEXT} ${bindir} +- chmod 755 ${bindir}/gmsh${EXEEXT} +- mkdir -p ${mandir}/man1 +- cp -f doc/gmsh.1 ${mandir}/man1 ++# mkdir -p ${bindir} ++# cp -f bin/gmsh${EXEEXT} ${bindir} ++# chmod 755 ${bindir}/gmsh${EXEEXT} ++# mkdir -p ${mandir}/man1 ++# cp -f doc/gmsh.1 ${mandir}/man1 + + install-mac: variables package-mac + cp -rf gmsh-${GMSH_VERSION}/Gmsh.app /Applications --- gmsh-2.4.2.dfsg.orig/debian/patches/melement.patch +++ gmsh-2.4.2.dfsg/debian/patches/melement.patch @@ -0,0 +1,13 @@ +Index: gmsh-2.0.8/Geo/MElement.h +=================================================================== +--- gmsh-2.0.8.orig/Geo/MElement.h 2007-12-08 09:38:47.883984000 +0100 ++++ gmsh-2.0.8/Geo/MElement.h 2007-12-08 09:38:56.353719000 +0100 +@@ -289,7 +289,7 @@ + class MTriangle : public MElement { + protected: + MVertex *_v[3]; +- virtual void jac ( int order, MVertex *v[], double u, double v , double jac[2][2]) ; ++ virtual void jac ( int order, MVertex *vertex[], double u, double v , double jac[2][2]) ; + public : + MTriangle(MVertex *v0, MVertex *v1, MVertex *v2, int num=0, int part=0) + : MElement(num, part) --- gmsh-2.4.2.dfsg.orig/debian/patches/metis.patch +++ gmsh-2.4.2.dfsg/debian/patches/metis.patch @@ -0,0 +1,14 @@ +Index: gmsh-2.2.5/Mesh/Partition.cpp +=================================================================== +--- gmsh-2.2.5.orig/Mesh/Partition.cpp 2008-10-31 16:35:28.000000000 +0100 ++++ gmsh-2.2.5/Mesh/Partition.cpp 2008-10-31 16:35:37.000000000 +0100 +@@ -249,8 +249,8 @@ + for(int n = graph.getNumVertex(); n--;) ++(*p++); + } + } +- break; + #endif ++ break; + } + return ier; + --- gmsh-2.4.2.dfsg.orig/debian/patches/01_port_amd64_gcc40.dpatch +++ gmsh-2.4.2.dfsg/debian/patches/01_port_amd64_gcc40.dpatch @@ -0,0 +1,144 @@ +#! /bin/sh -e +## 01_port_amd64_gcc40.dpatch by Christophe Prud'homme +## using patch sent by Andreas Jochens +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch ${2:+-d $2}}" + +if [ $# -lt 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 +@DPATCH@ +diff -urN ../tmp-orig/gmsh-1.56.3/Common/Options.cpp ./Common/Options.cpp +--- ../tmp-orig/gmsh-1.56.3/Common/Options.cpp 2004-11-10 23:45:16.000000000 +0100 ++++ ./Common/Options.cpp 2004-12-22 08:39:14.656042608 +0100 +@@ -910,7 +910,7 @@ + CTX.gl_font_enum = FL_HELVETICA; + } + else +- CTX.gl_font_enum = (int)menu_font_names[index].user_data(); ++ CTX.gl_font_enum = (long)menu_font_names[index].user_data(); + } + if(WID && (action & GMSH_GUI)){ + WID->gen_choice[1]->value(index); +diff -urN ../tmp-orig/gmsh-1.56.3/Fltk/Callbacks.cpp ./Fltk/Callbacks.cpp +--- ../tmp-orig/gmsh-1.56.3/Fltk/Callbacks.cpp 2004-11-10 23:45:17.000000000 +0100 ++++ ./Fltk/Callbacks.cpp 2004-12-22 08:41:08.514733456 +0100 +@@ -2939,7 +2939,7 @@ + { + char file[256], tmp[256]; + static int init = 0, first[MAXSOLVERS]; +- int i, num = (int)data; ++ long i, num = (long)data; + + if(!init) { + for(i = 0; i < MAXSOLVERS; i++) +@@ -2967,7 +2967,7 @@ + void solver_file_open_cb(CALLBACK_ARGS) + { + char tmp[256]; +- int num = (int)data; ++ long num = (long)data; + sprintf(tmp, "*%s", SINFO[num].extension); + + // We allow to create the .pro file... Or should we add a "New file" +@@ -2988,7 +2988,7 @@ + void solver_file_edit_cb(CALLBACK_ARGS) + { + char prog[1024], file[1024], cmd[1024]; +- int num = (int)data; ++ long num = (long)data; + FixWindowsPath(CTX.editor, prog); + FixWindowsPath((char*)WID->solver[num].input[0]->value(), file); + _replace_multi_format(prog, file, cmd); +@@ -2997,7 +2997,7 @@ + + void solver_choose_mesh_cb(CALLBACK_ARGS) + { +- int num = (int)data; ++ long num = (long)data; + if(file_chooser(0, 0, "Open mesh file", "*.msh", 0)) + WID->solver[num].input[1]->value(file_chooser_get_name(1)); + } +@@ -3056,7 +3056,7 @@ + + void solver_kill_cb(CALLBACK_ARGS) + { +- int num = (int)data; ++ long num = (long)data; + if(SINFO[num].pid > 0) { + kill(SINFO[num].pid, 9); + Msg(INFO, "Killed %s pid %d", SINFO[num].name, SINFO[num].pid); +@@ -3066,7 +3066,7 @@ + + void solver_choose_executable_cb(CALLBACK_ARGS) + { +- int num = (int)data; ++ long num = (long)data; + if(file_chooser(0, 0, "Choose executable", + #if defined(WIN32) + "*.exe" +@@ -3079,7 +3079,7 @@ + + void solver_ok_cb(CALLBACK_ARGS) + { +- int num = (int)data; ++ long num = (long)data; + int retry = 0; + opt_solver_popup_messages(num, GMSH_SET, WID->solver[num].butt[0]->value()); + opt_solver_merge_views(num, GMSH_SET, WID->solver[num].butt[1]->value()); +@@ -3418,7 +3418,7 @@ + + void view_options_custom_cb(CALLBACK_ARGS) + { +- int custom = (int)data; ++ long custom = (long)data; + + if(custom){ + WID->view_value[31]->activate(); +@@ -3432,12 +3432,12 @@ + + void view_options_timestep_cb(CALLBACK_ARGS) + { +- int links = (int)opt_post_link(0, GMSH_GET, 0); ++ long links = (long)opt_post_link(0, GMSH_GET, 0); + for(int i = 0; i < List_Nbr(CTX.post.list); i++) { + if((links == 2 || links == 4) || + ((links == 1 || links == 3) && opt_view_visible(i, GMSH_GET, 0)) || + (links == 0 && i == (long int)data)) { +- opt_view_timestep(i, GMSH_SET, (int)((Fl_Value_Input *) w)->value()); ++ opt_view_timestep(i, GMSH_SET, (long)((Fl_Value_Input *) w)->value()); + } + } + Draw(); +@@ -3445,7 +3445,7 @@ + + void view_options_timestep_decr_cb(CALLBACK_ARGS) + { +- int links = (int)opt_post_link(0, GMSH_GET, 0); ++ long links = (long)opt_post_link(0, GMSH_GET, 0); + for(int i = 0; i < List_Nbr(CTX.post.list); i++) { + if((links == 2 || links == 4) || + ((links == 1 || links == 3) && opt_view_visible(i, GMSH_GET, 0)) || +@@ -3459,7 +3459,7 @@ + + void view_options_timestep_incr_cb(CALLBACK_ARGS) + { +- int links = (int)opt_post_link(0, GMSH_GET, 0); ++ long links = (long)opt_post_link(0, GMSH_GET, 0); + for(int i = 0; i < List_Nbr(CTX.post.list); i++) { + if((links == 2 || links == 4) || + ((links == 1 || links == 3) && opt_view_visible(i, GMSH_GET, 0)) ||