--- cgnsfoam-1732.orig/debian/control +++ cgnsfoam-1732/debian/control @@ -0,0 +1,13 @@ +Source: cgnsfoam +Section: science +Priority: extra +Maintainer: Oliver Borm +Build-Depends: cdbs, debhelper (>= 7), libcgns-dev, libcgnsoo-3.0-dev, + openfoam-dev-1.5-dev | openfoam-dev, binutils-dev +Standards-Version: 3.8.4 + +Package: cgnsfoam-of15dev +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, openfoam-dev-1.5-dev +Description: a conversion tool from cgns to openfoam mesh format + conversion from cgns to openfoam format and vice versa --- cgnsfoam-1732.orig/debian/compat +++ cgnsfoam-1732/debian/compat @@ -0,0 +1 @@ +7 --- cgnsfoam-1732.orig/debian/changelog +++ cgnsfoam-1732/debian/changelog @@ -0,0 +1,23 @@ +cgnsfoam (1732-1ppa2~lucid1) lucid; urgency=low + + * Clean up rules file + + -- Oliver Borm Mon, 17 May 2010 20:57:30 +0200 + +cgnsfoam (1732-1ppa1~lucid1) lucid; urgency=low + + * Version bump for Lucid + + -- Oliver Borm Fri, 14 May 2010 09:53:44 +0200 + +cgnsfoam (2009.08.03-1~ppa3~intrepid1) intrepid; urgency=low + + * Fixed FTBFS error + + -- Oliver Borm Mon, 03 Aug 2009 17:01:03 +0200 + +cgnsfoam (2009.08.03-1~ppa1~intrepid1) intrepid; urgency=low + + * Initial release + + -- Oliver Borm Mon, 03 Aug 2009 17:01:03 +0200 --- cgnsfoam-1732.orig/debian/rules +++ cgnsfoam-1732/debian/rules @@ -0,0 +1,24 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +MY_OF = OpenFOAM-1.5-dev +TMP_DIR = tmpbuild-$(MY_OF)/bin +DESTDIR = $(DEB_DESTDIR)/usr/lib/$(MY_OF)/applications/bin + +clean:: + @. /usr/lib/$(MY_OF)/etc/bashrc; \ + rm -rf tmpbuild-$(MY_OF); \ + ./Allclean + +build/cgnsfoam-of15dev:: + @. /usr/lib/$(MY_OF)/etc/bashrc; \ + mkdir -p $(TMP_DIR); \ + export FOAM_USER_APPBIN=$(CURDIR)/$(TMP_DIR); \ + ./Allwmake + +install/cgnsfoam-of15dev:: + install -d $(DESTDIR) + install -m755 $(TMP_DIR)/* $(DESTDIR) --- cgnsfoam-1732.orig/debian/copyright +++ cgnsfoam-1732/debian/copyright @@ -0,0 +1,33 @@ +This package was debianized by Oliver Borm on +Mon, 03 Aug 2009 17:01:03 +0200. + +It was downloaded from http://openfoam-extend.svn.sourceforge.net/viewvc/openfoam-extend/trunk/Breeder_1.5/OSIG/TurboMachinery/applications.tar.gz?view=tar + +Upstream Author(s): + + Martin Beaudoin, Hydro-Quebec - IREQ + Robert Magnan, Hydro-Quebec - IREQ + +Copyright: + + Copyright (C) 2005 Martin Beaudoin + 2007 Robert Magnan + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +The Debian packaging is (C) 2009, Oliver Borm and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- cgnsfoam-1732.orig/debian/patches/01cgnsfoam-compile.patch +++ cgnsfoam-1732/debian/patches/01cgnsfoam-compile.patch @@ -0,0 +1,45 @@ +diff -urN cgnsfoam.orig/utilities/mesh/conversion/cgnsToFoam/Make/options cgnsfoam/utilities/mesh/conversion/cgnsToFoam/Make/options +--- cgnsfoam.orig/utilities/mesh/conversion/cgnsToFoam/Make/options 2009-02-19 13:18:42.000000000 +0100 ++++ cgnsfoam/utilities/mesh/conversion/cgnsToFoam/Make/options 2009-02-19 16:13:36.000000000 +0100 +@@ -17,8 +17,8 @@ + // Eventually, those packages will get integrated to the main OpenFOAM version + // In the meantime, we hardcode those values, using relative paths to $PWD. + +-LIBCGNSOOHOME=$(PWD)/../../../../../src/libcgnsoo_3.0/platforms/$(WM_OPTIONS) +-CGNSLIBHOME=$(PWD)/../../../../../src/cgnslib_2.5/platforms/$(WM_OPTIONS) ++LIBCGNSOOHOME=/usr ++CGNSLIBHOME=/usr + + LINKEXE+=-Wl,-rpath=$(LIBCGNSOOHOME)/lib + +@@ -32,6 +35,6 @@ + EXE_LIBS = \ + -L$(WM_PROJECT_USER_DIR)/lib/$(WM_OPTIONS) -lOpenFOAM -lfiniteVolume\ + -L$(LIBCGNSOOHOME)/lib -lcgnsoo3 \ +- -L$(CGNSLIBHOME)/lib -lcgns_2.5 \ ++ -L$(CGNSLIBHOME)/lib -lcgns \ + -lmeshTools \ + -ldynamicMesh +diff -urN cgnsfoam.orig/utilities/postProcessing/dataConversion/foamToCGNS/Make/options cgnsfoam/utilities/postProcessing/dataConversion/foamToCGNS/Make/options +--- cgnsfoam.orig/utilities/postProcessing/dataConversion/foamToCGNS/Make/options 2009-02-19 13:18:42.000000000 +0100 ++++ cgnsfoam/utilities/postProcessing/dataConversion/foamToCGNS/Make/options 2009-02-19 16:13:33.000000000 +0100 +@@ -6,8 +6,8 @@ + // Eventually, those packages will get integrated to the main OpenFOAM version + // In the meantime, we hardcode those values, using relative paths to $PWD. + +-LIBCGNSOOHOME=$(PWD)/../../../../../src/libcgnsoo_3.0/platforms/$(WM_OPTIONS) +-CGNSLIBHOME=$(PWD)/../../../../../src/cgnslib_2.5/platforms/$(WM_OPTIONS) ++LIBCGNSOOHOME=/usr ++CGNSLIBHOME=/usr + + LINKEXE+=-Wl,-rpath=$(LIBCGNSOOHOME)/lib + +@@ -25,7 +28,7 @@ + EXE_LIBS = \ + -lOpenFOAM \ + -L$(LIBCGNSOOHOME)/lib -lcgnsoo3 \ +- -L$(CGNSLIBHOME)/lib -lcgns_2.5 \ ++ -L$(CGNSLIBHOME)/lib -lcgns \ + -lincompressibleRASModels \ + -lincompressibleTransportModels \ + -lfiniteVolume