--- libcgns-2.5.4.orig/debian/libcgns2.install +++ libcgns-2.5.4/debian/libcgns2.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib*.so.* --- libcgns-2.5.4.orig/debian/libcgns-dev.install +++ libcgns-2.5.4/debian/libcgns-dev.install @@ -0,0 +1,2 @@ +debian/tmp/usr/include +debian/tmp/usr/lib/lib*.so --- libcgns-2.5.4.orig/debian/TODO +++ libcgns-2.5.4/debian/TODO @@ -0,0 +1 @@ +Package the lib as static too --- libcgns-2.5.4.orig/debian/destdir.diff +++ libcgns-2.5.4/debian/destdir.diff @@ -0,0 +1,26 @@ +--- cgnslib_2.5.orig/Makefile.in 2008-01-19 04:45:16.000000000 +0100 ++++ cgnslib_2.5/Makefile.in 2008-10-16 00:31:07.000000000 +0200 +@@ -75,15 +75,16 @@ + -$(RM) config.log config.status Makefile + + install : $(CGNSLIB) +- $(INSTALL_DATA) cgnslib.h $(INCLUDEDIR)/cgnslib.h +- $(INSTALL_DATA) cgnslib_f.h $(INCLUDEDIR)/cgnslib_f.h +- $(INSTALL_DATA) cgnswin_f.h $(INCLUDEDIR)/cgnswin_f.h +- $(INSTALL_DATA) $(CGNSLIB) $(LIBDIR)/$(INSTLIB) ++ $(INSTALL_DATA) -D cgnslib.h $(DESTDIR)/$(INCLUDEDIR)/cgnslib.h ++ $(INSTALL_DATA) -D cgnslib_f.h $(DESTDIR)/$(INCLUDEDIR)/cgnslib_f.h ++ $(INSTALL_DATA) -D cgnswin_f.h $(DESTDIR)/$(INCLUDEDIR)/cgnswin_f.h ++ $(INSTALL_DATA) -D $(CGNSLIB) $(DESTDIR)/$(LIBDIR)/$(INSTLIB).2.0.0 ++ (cd $(DESTDIR)/$(LIBDIR)/; ln -s $(INSTLIB).2.0.0 $(INSTLIB); ln -s $(INSTLIB).2.0.0 $(INSTLIB).2) + + uninstall : +- -$(RM) $(INCLUDEDIR)/cgnslib.h +- -$(RM) $(INCLUDEDIR)/cgnslib_f.h +- -$(RM) $(INCLUDEDIR)/cgnswin_f.h ++ -$(RM) $(DESTDIR)/$(INCLUDEDIR)/cgnslib.h ++ -$(RM) $(DESTDIR)/$(INCLUDEDIR)/cgnslib_f.h ++ -$(RM) $(DESTDIR)/$(INCLUDEDIR)/cgnswin_f.h + -$(RM) $(LIBDIR)/$(INSTLIB) + + #---------- mid-level library --- libcgns-2.5.4.orig/debian/control +++ libcgns-2.5.4/debian/control @@ -0,0 +1,71 @@ +Source: libcgns +Section: libs +Priority: optional +Maintainer: Debian Science Team +Uploaders: Sylvestre Ledru +Build-Depends: debhelper (>= 7), autotools-dev, cdbs, quilt, + libhdf5-serial-dev, chrpath +Standards-Version: 3.8.3 +Homepage: http://cgns.sourceforge.net/ +Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/libcgns/ +Vcs-Browser: http://svn.debian.org/viewsvn/debian-science/packages/libcgns/ + +Package: libcgns-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, libcgns2 (= ${binary:Version}), ${misc:Depends} +Description: CFD General Notation System library + The CFD General Notation System (CGNS) provides a general, portable, and + extensible standard for the storage and retrieval of computational fluid + dynamics (CFD) analysis data. It consists of a collection of conventions, and + free and open software implementing those conventions. It is self-descriptive, + machine-independent, well-documented, and administered by an international + steering committee. It is also an American Institute of Aeronautics and + Astronautics (AIAA) Recommended Practice. + . + This package contains the development files needed to compile software to + use the libcgns API. + +Package: libcgns2 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: CFD General Notation System library + The CFD General Notation System (CGNS) provides a general, portable, and + extensible standard for the storage and retrieval of computational fluid + dynamics (CFD) analysis data. It consists of a collection of conventions, and + free and open software implementing those conventions. It is self-descriptive, + machine-independent, well-documented, and administered by an international + steering committee. It is also an American Institute of Aeronautics and + Astronautics (AIAA) Recommended Practice. + +Package: libcgns2-dbg +Section: debug +Priority: extra +Architecture: any +Depends: libcgns2 (= ${binary:Version}), ${misc:Depends} +Description: CFD General Notation System library + The CFD General Notation System (CGNS) provides a general, portable, and + extensible standard for the storage and retrieval of computational fluid + dynamics (CFD) analysis data. It consists of a collection of conventions, and + free and open software implementing those conventions. It is self-descriptive, + machine-independent, well-documented, and administered by an international + steering committee. It is also an American Institute of Aeronautics and + Astronautics (AIAA) Recommended Practice. + . + This package contains the debugging symbols of the library. + +Package: cgns-convert +Section: science +Priority: extra +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: CFD General Notation System - Conversion tools + The CFD General Notation System (CGNS) provides a general, portable, and + extensible standard for the storage and retrieval of computational fluid + dynamics (CFD) analysis data. It consists of a collection of conventions, and + free and open software implementing those conventions. It is self-descriptive, + machine-independent, well-documented, and administered by an international + steering committee. It is also an American Institute of Aeronautics and + Astronautics (AIAA) Recommended Practice. + . + This package contains the adf2hdf, hdf2adf tools. --- libcgns-2.5.4.orig/debian/copyright +++ libcgns-2.5.4/debian/copyright @@ -0,0 +1,29 @@ +This package was debianized by Sylvestre Ledru on +Wed, 08 Oct 2008 22:38:20 +0200. + +It was downloaded from . + +Copyright: (C) 2003-2008 Bruce Wedan + +License: + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product documentation + would be appreciated but is not required. + + 2. Altered source versions must be plainly marked as such, and must not + be misrepresented as being the original software. + + 3. This notice may not be removed or altered from any source distribution. + +The Debian packaging is (C) 2008, Sylvestre Ledru and +is licensed under the LGPL, see `/usr/share/common-licenses/LGPL'. --- libcgns-2.5.4.orig/debian/orig-tar.sh +++ libcgns-2.5.4/debian/orig-tar.sh @@ -0,0 +1,11 @@ +#!/bin/sh -e + +# called by uscan with '--upstream-version' + +# move to directory 'tarballs' +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout + mv $3 $origDir + echo "moved $3 to $origDir" +fi + --- libcgns-2.5.4.orig/debian/rules +++ libcgns-2.5.4/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f +# Copyright 2008 Sylvestre Ledru + +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 + +DEB_CONFIGURE_NORMAL_ARGS += --enable-shared=all --with-hdf5=/usr --enable-64bit \ + --with-szip --enable-lfs --enable-debug + + +install/libcgns-dev:: + for file in $(DEB_DESTDIR)/usr/lib/* ; do \ + chrpath -d $$file; \ + done + +get-orig-source: + uscan --force-download --rename --- libcgns-2.5.4.orig/debian/cgns-convert.install +++ libcgns-2.5.4/debian/cgns-convert.install @@ -0,0 +1 @@ +debian/tmp/usr/bin/* --- libcgns-2.5.4.orig/debian/docs +++ libcgns-2.5.4/debian/docs @@ -0,0 +1 @@ +README --- libcgns-2.5.4.orig/debian/watch +++ libcgns-2.5.4/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/cgns/cgnslib_(.*)-(\d+)\.tar\.gz debian debian/orig-tar.sh --- libcgns-2.5.4.orig/debian/changelog +++ libcgns-2.5.4/debian/changelog @@ -0,0 +1,39 @@ +libcgns (2.5.4-1) unstable; urgency=low + + * New upstream release + * Change of my email address since I am now DD + * Removal of Torsten on his request + * Standards-Version updated to 3.8.3 + * DM-Upload-Allowed removed + * Wrong profile in ADFH.c on function H5Acreate (wrongProfile.diff) + + -- Sylvestre Ledru Sat, 12 Sep 2009 18:34:22 +0200 + +libcgns (2.5.3-3) unstable; urgency=low + + * Fix a typo (Convertion => Conversion) (Closes: #534151) + * Standards-Version updated to 3.8.2 + + -- Sylvestre Ledru Mon, 22 Jun 2009 16:45:49 +0200 + +libcgns (2.5.3-2) unstable; urgency=low + + [ Oliver Borm ] + * Install more needed header files. + * Package the adf2hdf and hdf2adf converters into cgns-convert + * Link the libcgns against libhdf5 + + [ Sylvestre Ledru ] + * Merge the different changes of Oliver Borm (Closes: #529971) + * Standards-Version updated to 3.8.1 + * Strip adf2hdf and hdf2adf binaries + * ${misc:Depends} added to make lintian happy + + -- Sylvestre Ledru Tue, 09 Jun 2009 16:10:47 +0200 + +libcgns (2.5.3-1) unstable; urgency=low + + * Initial release (Closes: #501924) + + -- Sylvestre Ledru Wed, 08 Oct 2008 22:38:20 +0200 + --- libcgns-2.5.4.orig/debian/patches/destdir.diff +++ libcgns-2.5.4/debian/patches/destdir.diff @@ -0,0 +1,31 @@ +--- cgnslib_2.5.orig/Makefile.in 2008-01-19 04:45:16.000000000 +0100 ++++ cgnslib_2.5/Makefile.in 2008-10-16 00:31:07.000000000 +0200 +@@ -75,15 +75,21 @@ + -$(RM) config.log config.status Makefile + + install : $(CGNSLIB) +- $(INSTALL_DATA) cgnslib.h $(INCLUDEDIR)/cgnslib.h +- $(INSTALL_DATA) cgnslib_f.h $(INCLUDEDIR)/cgnslib_f.h +- $(INSTALL_DATA) cgnswin_f.h $(INCLUDEDIR)/cgnswin_f.h +- $(INSTALL_DATA) $(CGNSLIB) $(LIBDIR)/$(INSTLIB) ++ $(INSTALL_DATA) -D cgnslib.h $(DESTDIR)/$(INCLUDEDIR)/cgnslib.h ++ $(INSTALL_DATA) -D cgnslib_f.h $(DESTDIR)/$(INCLUDEDIR)/cgnslib_f.h ++ $(INSTALL_DATA) -D cgnswin_f.h $(DESTDIR)/$(INCLUDEDIR)/cgnswin_f.h ++ $(INSTALL_DATA) -D cgns_header.h $(DESTDIR)/$(INCLUDEDIR)/cgns_header.h ++ $(INSTALL_DATA) -D adfh/ADF.h $(DESTDIR)/$(INCLUDEDIR)/adfh/ADF.h ++ $(INSTALL_DATA) -D adfh/ADFH.h $(DESTDIR)/$(INCLUDEDIR)/adfh/ADFH.h ++ $(INSTALL_DATA) -D $(CGNSLIB) $(DESTDIR)/$(LIBDIR)/$(INSTLIB).2.0.0 ++ $(INSTALL_DATA) -s -D $(OBJDIR)/adf2hdf$(EXE) $(DESTDIR)/usr/bin/adf2hdf$(EXE) ++ $(INSTALL_DATA) -s -D $(OBJDIR)/hdf2adf$(EXE) $(DESTDIR)/usr/bin/hdf2adf$(EXE) ++ (cd $(DESTDIR)/$(LIBDIR)/; ln -s $(INSTLIB).2.0.0 $(INSTLIB); ln -s $(INSTLIB).2.0.0 $(INSTLIB).2) + + uninstall : +- -$(RM) $(INCLUDEDIR)/cgnslib.h +- -$(RM) $(INCLUDEDIR)/cgnslib_f.h +- -$(RM) $(INCLUDEDIR)/cgnswin_f.h ++ -$(RM) $(DESTDIR)/$(INCLUDEDIR)/cgnslib.h ++ -$(RM) $(DESTDIR)/$(INCLUDEDIR)/cgnslib_f.h ++ -$(RM) $(DESTDIR)/$(INCLUDEDIR)/cgnswin_f.h + -$(RM) $(LIBDIR)/$(INSTLIB) + + #---------- mid-level library --- libcgns-2.5.4.orig/debian/patches/series +++ libcgns-2.5.4/debian/patches/series @@ -0,0 +1,5 @@ +destdir.diff +soname.diff +version.diff +wrongProfile.diff + --- libcgns-2.5.4.orig/debian/patches/soname.diff +++ libcgns-2.5.4/debian/patches/soname.diff @@ -0,0 +1,40 @@ +--- cgnslib_2.5.orig/configure.in 2008-01-19 04:45:16.000000000 +0100 ++++ cgnslib_2.5/configure.in 2008-10-15 22:58:22.000000000 +0200 +@@ -423,7 +423,7 @@ + shared=no + else + CFGFLAGS="-fPIC $CFGFLAGS" +- AR="\$(CC) -shared $SYSCFLAGS -Wl,-rpath,$cgnsdir/\$(SYSTEM)" ++ AR="\$(CC) -shared $SYSCFLAGS -Wl,-soname,libcgns.so.2 -lhdf5" + LIBEXT=so + fi + fi +@@ -478,7 +478,7 @@ + test -z "$hdf5dir" && \ + AC_MSG_ERROR(need specify the HDF5 directory with --with-hdf5=DIR) + if test -f "$hdf5dir/include/hdf5.h"; then +- HDF5INC=-I$hdf5dir/include ++ HDF5INC="-I$hdf5dir/include -I/usr/lib/openmpi/include" + for a in $exts ; do + if test -f $hdf5dir/lib/libhdf5.$a; then + HDF5LIB=$hdf5dir/lib/libhdf5.$a +--- cgnslib_2.5.orig/configure 2008-01-19 04:45:16.000000000 +0100 ++++ cgnslib_2.5/configure 2008-10-15 23:11:41.000000000 +0200 +@@ -2048,7 +2048,7 @@ + shared=no + else + CFGFLAGS="-fPIC $CFGFLAGS" +- AR="\$(CC) -shared $SYSCFLAGS -Wl,-rpath,$cgnsdir/\$(SYSTEM)" ++ AR="\$(CC) -shared $SYSCFLAGS -Wl,-soname,libcgns.so.2 -lhdf5" + LIBEXT=so + fi + fi +@@ -2143,7 +2143,7 @@ + test -z "$hdf5dir" && \ + { echo "configure: error: need specify the HDF5 directory with --with-hdf5=DIR" 1>&2; exit 1; } + if test -f "$hdf5dir/include/hdf5.h"; then +- HDF5INC=-I$hdf5dir/include ++ HDF5INC="-I$hdf5dir/include -I/usr/lib/openmpi/include" + for a in $exts ; do + if test -f $hdf5dir/lib/libhdf5.$a; then + HDF5LIB=$hdf5dir/lib/libhdf5.$a --- libcgns-2.5.4.orig/debian/patches/version.diff +++ libcgns-2.5.4/debian/patches/version.diff @@ -0,0 +1,11 @@ +--- cgnslib_2.5.orig/make.defs.in 2006-10-03 01:06:41.000000000 +0200 ++++ cgnslib_2.5/make.defs.in 2008-10-15 23:49:36.000000000 +0200 +@@ -34,7 +34,7 @@ + O = @OBJEXT@ + A = @LIBEXT@ + EXE = @EXEEXT@ +-LIBCGNS = @SYSTEM@/libcgns.@LIBEXT@ ++LIBCGNS = @SYSTEM@/libcgns.@LIBEXT@.2 + + #------------------------------------------------------------------------ + # CC - C compiler --- libcgns-2.5.4.orig/debian/patches/wrongProfile.diff +++ libcgns-2.5.4/debian/patches/wrongProfile.diff @@ -0,0 +1,29 @@ +--- cgnslib_2.5.orig/adfh/ADFH.c 2009-08-31 23:56:39.000000000 +0200 ++++ cgnslib_2.5/adfh/ADFH.c 2009-10-04 11:52:43.000000000 +0200 +@@ -393,7 +393,7 @@ + return 1; + } + +- aid = H5Acreate(id, name, tid, sid, H5P_DEFAULT, H5P_DEFAULT); ++ aid = H5Acreate(id, name, tid, sid, H5P_DEFAULT); + if (aid < 0) { + H5Tclose(tid); + H5Sclose(sid); +@@ -427,7 +427,7 @@ + return 1; + } + +- aid = H5Acreate(id, name, H5T_NATIVE_CHAR, sid, H5P_DEFAULT, H5P_DEFAULT); ++ aid = H5Acreate(id, name, H5T_NATIVE_CHAR, sid, H5P_DEFAULT); + if (aid < 0) { + H5Sclose(sid); + set_error(ADFH_ERR_ACREATE, err); +@@ -554,7 +554,7 @@ + return 1; + } + +- aid = H5Acreate(id, name, H5T_NATIVE_INT, sid, H5P_DEFAULT, H5P_DEFAULT); ++ aid = H5Acreate(id, name, H5T_NATIVE_INT, sid, H5P_DEFAULT); + if (aid < 0) { + H5Sclose(sid); + set_error(ADFH_ERR_ACREATE, err);