So far, I was able to use the following interdiff to seemingly make the package suit my needs. Please consider applying its relevant portions to the Debian package.
--cut-- diff -u hdf-eos4-2.16v1.00.dfsg.1/debian/control hdf-eos4-2.16v1.00.dfsg.1/debian/control --- hdf-eos4-2.16v1.00.dfsg.1/debian/control +++ hdf-eos4-2.16v1.00.dfsg.1/debian/control @@ -4,13 +4,12 @@ Maintainer: Alastair McKinstry <mckins...@debian.org> Standards-Version: 3.8.3 Homepage: http://www.hdfeos.org -Build-Depends: cdbs, debhelper (>> 7), dh-buildinfo, gfortran, libhdf4g-dev, libjpeg62-dev, zlib1g-dev, libgctp-dev, chrpath, autoconf, automake +Build-Depends: cdbs, debhelper (>> 7), dh-buildinfo, gfortran, libhdf4g-dev, libjpeg62-dev, zlib1g-dev, libgctp-dev, chrpath, autoconf, automake, libtool Build-Conflicts: autoconf2.13 Package: libhdfeos0 Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} -Conflicts: libhe5-hdfeos0 Description: Earth Observation System extensions to HDF4 HDF-EOS4 is a software library designed built on HDF4 to support EOS-specific data structures, namely Grid, Point, and Swath. The new data structures @@ -24,7 +23,6 @@ Architecture: any Section: libdevel Depends: libhdfeos0 (= ${binary:Version}), ${misc:Depends} -Conflicts: libhe5-hdfeos0 Recommends: pkg-config Description: Development files for the HDF-EOS4 library HDF-EOS4 is a software library designed built on HDF4 to support EOS-specific diff -u hdf-eos4-2.16v1.00.dfsg.1/debian/changelog hdf-eos4-2.16v1.00.dfsg.1/debian/changelog --- hdf-eos4-2.16v1.00.dfsg.1/debian/changelog +++ hdf-eos4-2.16v1.00.dfsg.1/debian/changelog @@ -1,3 +1,24 @@ +hdf-eos4 (2.16v1.00.dfsg.1-2.is+0.3) 1gray-misc; urgency=low + + * Hack debian/rules so that make check will find all the necessary + Fortran sources. + + -- Ivan Shmakov <i...@main.uusia.org> Tue, 10 Nov 2009 21:14:23 +0600 + +hdf-eos4 (2.16v1.00.dfsg.1-2.is+0.2) unstable; urgency=low + + * Clear CFLAGS. + + -- Ivan Shmakov <i...@main.uusia.org> Tue, 10 Nov 2009 20:23:20 +0600 + +hdf-eos4 (2.16v1.00.dfsg.1-2.is+0.1) 1gray-misc; urgency=low + + * Added -Df2cFortran to CPPFLAGS. Closes: #555411. + * Removed Conflicts: libhe5-hdfeos0. Closes: #555523. + * Added Build-Depends: libtool. Closes: #555152. + + -- Ivan Shmakov <i...@main.uusia.org> Tue, 10 Nov 2009 13:12:52 +0600 + hdf-eos4 (2.16v1.00.dfsg.1-2) unstable; urgency=low * Add autoconf, asutomake dependencies for autoreconf. Closes: #546352. diff -u hdf-eos4-2.16v1.00.dfsg.1/debian/rules hdf-eos4-2.16v1.00.dfsg.1/debian/rules --- hdf-eos4-2.16v1.00.dfsg.1/debian/rules +++ hdf-eos4-2.16v1.00.dfsg.1/debian/rules @@ -7,7 +7,9 @@ DEB_MAKE_CHECK_TARGET := check DEB_MAKE_CLEAN_TARGET := clean distclean maintainer-clean DEB_CONFIGURE_EXTRA_FLAGS := --enable-shared --with-pic -DEB_CONFIGURE_SCRIPT_ENV += CFLAGS="-I/usr/include/hdf " +DEB_CONFIGURE_SCRIPT_ENV += \ + CFLAGS="" \ + CPPFLAGS="-Df2cFortran -I/usr/include/hdf" clean:: [ ! -f Makefile ] || $(MAKE) distclean @@ -15,6 +17,9 @@ makebuilddir/libhdfeos-dev:: # Needed for the pthreads tests cp samples/simple.txt testdrivers/threads + ## FIXME: a sort of hack + ln -sf -- testswath.f testdrivers/swath/testswath77.f + ln -sf -- testpoint.f testdrivers/point/testpoint77.f autoreconf configure/libhdfeos0:: --cut-- BTW, I wasn't able to build i386 binaries: the # pbuilder build process has failed with: --cut-- rm -f Swath_2.hdf Swathc_Test.hdf Swathf_Test.hdf testswathf.txt ./testswath_f90 *** glibc detected *** /tmp/buildd/hdf-eos4-2.16v1.00.dfsg.1/testdrivers/swath/.libs/lt-testswath_f90: free(): invalid next size (fast): 0x087adbe0 *** ======= Backtrace: ========= /lib/libc.so.6[0x55897af5] /lib/libc.so.6(cfree+0x9c)[0x558993ac] /tmp/buildd/hdf-eos4-2.16v1.00.dfsg.1/src/.libs/libhdfeos.so.0(swinqimaps_+0xff)[0x555b78fe] /tmp/buildd/hdf-eos4-2.16v1.00.dfsg.1/testdrivers/swath/.libs/lt-testswath_f90[0x80558b8] /tmp/buildd/hdf-eos4-2.16v1.00.dfsg.1/testdrivers/swath/.libs/lt-testswath_f90[0x805c2c9] /lib/libc.so.6(__libc_start_main+0xe5)[0x558437a5] /tmp/buildd/hdf-eos4-2.16v1.00.dfsg.1/testdrivers/swath/.libs/lt-testswath_f90[0x80491e1] ======= Memory map: ======== --cut-- Please note that the building of the Debian package doesn't include building of the Fortran programs below testdrivers/, so I'm not yet sure that it's I who's responsive for this failure. I've put the resulting the source and amd64 binary packages at: http://waterlily.ipv6.uusia.org/~ivan/mini-dinstall/1gray-misc/source/hdf-eos4_2.16v1.00.dfsg.1-2.is+0.3.diff.gz http://waterlily.ipv6.uusia.org/~ivan/mini-dinstall/1gray-misc/source/hdf-eos4_2.16v1.00.dfsg.1-2.is+0.3.dsc http://waterlily.ipv6.uusia.org/~ivan/mini-dinstall/1gray-misc/amd64/libhdfeos-dev_2.16v1.00.dfsg.1-2.is+0.3_amd64.deb http://waterlily.ipv6.uusia.org/~ivan/mini-dinstall/1gray-misc/amd64/libhdfeos0_2.16v1.00.dfsg.1-2.is+0.3_amd64.deb --cut: /etc/apt/sources.list -- deb http://waterlily.ip.uusia.org/~ivan/mini-dinstall/ 1gray-misc/$(ARCH)/ deb http://waterlily.ip.uusia.org/~ivan/mini-dinstall/ 1gray-misc/all/ deb-src http://waterlily.ip.uusia.org/~ivan/mini-dinstall/ 1gray-misc/source/ --cut: /etc/apt/sources.list -- TIA. -- FSF associate member #7257 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org