[hdf-eos5] 02/04: Debian 5.1.15-5

Alastair McKinstry mckinstry at moszumanska.debian.org
Tue Aug 18 15:48:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch debian/master
in repository hdf-eos5.

commit 2fbdec4683997574ab282f0345bd1cd0f7386149
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Mon Aug 17 01:07:57 2015 +0100

    Debian 5.1.15-5
---
 debian/changelog                     | 109 +++++++++++++++++++++++++++++++++++
 debian/compat                        |   1 +
 debian/control                       |  37 ++++++++++++
 debian/copyright                     |  10 ++++
 debian/libhe5-hdfeos-dev.dirs        |   2 +
 debian/libhe5-hdfeos-dev.install     |  10 ++++
 debian/libhe5-hdfeos-dev.links       |   1 +
 debian/libhe5-hdfeos0.docs           |   1 +
 debian/libhe5-hdfeos0.postinst       |  10 ++++
 debian/libhe5-hdfeos0.postrm         |  10 ++++
 debian/libhe5-hdfeos0.shlibs         |   1 +
 debian/patches/configure.patch       |  18 ++++++
 debian/patches/gctp_remove.patch     |  41 +++++++++++++
 debian/patches/hdf5_transition.patch |  17 ++++++
 debian/patches/hdf_hl.patch          |  31 ++++++++++
 debian/patches/libtool_fixes.patch   |  18 ++++++
 debian/patches/pkg-config.patch      |  33 +++++++++++
 debian/patches/pthreads.patch        |  18 ++++++
 debian/patches/series                |   8 +++
 debian/patches/szip_fix.patch        |  25 ++++++++
 debian/rules                         |  41 +++++++++++++
 debian/source/format                 |   1 +
 debian/source/lintian-overrides      |   0
 debian/source/options                |   1 +
 debian/watch                         |   8 +++
 25 files changed, 452 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2314d49
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,109 @@
+hdf-eos5 (5.1.15.dfsg.1-5) experimental; urgency=medium
+
+  * build against hdf5-1.8.15
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Sun, 16 Aug 2015 00:57:59 +0100
+
+hdf-eos5 (5.1.15.dfsg.1-4) unstable; urgency=medium
+
+  * Force rebuild against hdf5 libs in unstable 
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Thu, 14 Aug 2014 09:52:53 +0100
+
+hdf-eos5 (5.1.15.dfsg.1-3) unstable; urgency=low
+
+  [ Gilles Filippini ]
+  * Support hdf5 1.8.13 new packaging layout. Closes: #756671.
+  * Fix patch libtool_fixes.patch to not drop predefined LDFLAGS.
+
+  [ Alastair McKinstry ]
+  * Cleanup of debian/rules, removing unused defintions and includes.
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Fri, 01 Aug 2014 10:20:37 +0100
+
+hdf-eos5 (5.1.15.dfsg.1-2) unstable; urgency=medium
+
+  * Fix for missing function H5_EHHEisHE5 : misplaced ifdef
+  * Link against -lpthread 
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Tue, 08 Jul 2014 12:59:35 +0100
+
+hdf-eos5 (5.1.15.dfsg.1-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Standards-Version: 3.9.5
+  * Remove (now unnecessary) Pre-Depends for Multi-Arch. 
+  * Use debhelper 9; DH_COMPAT=9; remove lintian warning.
+  * Use 'xz' compression. 
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Sun, 15 Jun 2014 05:12:12 +0100
+
+hdf-eos5 (5.1.14+dfsg.1-1) unstable; urgency=low
+
+  * New upstream release. Rebuild Closes: #680400.
+  * Move to Standards-Version: 3.9.3
+  * Add version mangling to watch file.
+  * Remove Multi-Arch: same from -dev package. Closes: #670002.
+  * Remove broken links in -dev package.
+  * -lgctp removed by hdl_hl.patch hard-coding LIBS. Add -lgctp back.
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Fri, 14 Sep 2012 18:50:19 +0100
+
+hdf-eos5 (5.1.13.dfsg.1-3) unstable; urgency=low
+
+  * Ensure libhdfeos5 is linked against hdf5_hl. Closes: #658310.
+  * Ditto: Add to pkg-config file.
+  * Add lintian-override for debhelper version 9 warning. 
+  * Add DEP-3 headers to patches.
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Mon, 13 Feb 2012 14:43:12 +0000
+
+hdf-eos5 (5.1.13.dfsg.1-2) unstable; urgency=low
+
+  * Remove incorrect Multi-Arch: same for -dev package. Closes: 658055.
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Sat, 04 Feb 2012 14:46:29 +0000
+
+hdf-eos5 (5.1.13.dfsg.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Patch for HDF5-1.8.8 transition added. Use old API. Closes: #657198.
+  * Fix  pkg-config prefix setting. Closes: #574260.
+  * Multi-Arch.
+  * Move from CDBS to debhelper
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Sun, 29 Jan 2012 21:09:03 +0000
+
+hdf-eos5 (5.1.12.dfsg.2-3) unstable; urgency=low
+
+  * Move to Standards-Version: 3.9.2
+  * Transition build-dep libjpeg62-dev ->  libjpeg-dev. Closes: #634139. 
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Sat, 16 Jul 2011 11:15:12 +0100
+
+hdf-eos5 (5.1.12.dfsg.2-2) unstable; urgency=low
+
+  * Remove quilt bits; rely on format 3.0 to apply patches. Closes:  #560055, #560063
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Tue, 08 Dec 2009 20:15:25 +0000
+
+hdf-eos5 (5.1.12.dfsg.2-1) unstable; urgency=low
+
+  * Switch to source format 3.0 (quilt) 
+  * Add underscores to fortran library names. Closes: #555642. 
+  * Add autoconf dependency, as we now call autoreconf.
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Sun, 06 Dec 2009 22:04:45 +0000
+
+hdf-eos5 (5.1.12-dfsg-1) unstable; urgency=low
+
+  * Added DEB_AUTO_UPDATE_LIBTOOL := pre to rules; dependency on libtool.
+  * Remove Gctp sources, and replace with calls to libgctp0d. 
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Mon, 17 Aug 2009 23:07:29 +0100
+
+hdf-eos5 (5.1.12-1) unstable; urgency=low
+
+  * Initial Debian release. Closes: #530247.
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Sat, 23 May 2009 13:18:28 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..8d8cb84
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,37 @@
+Source: hdf-eos5
+Section: libs
+Priority: optional
+Maintainer: Alastair McKinstry <mckinstry at debian.org>
+Standards-Version: 3.9.6
+Homepage: http://www.hdfeos.org
+Build-Depends: debhelper (>= 9), dh-buildinfo, gfortran, 
+  libhdf5-serial-dev | libhdf5-dev, libjpeg-dev, 
+  zlib1g-dev, autotools-dev, libtool, libgctp-dev, chrpath, autoconf, automake, dh-autoreconf
+
+Package: libhe5-hdfeos0
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Earth Observation System extensions to HDF5
+ HDF-EOS5 is a software library designed built on HDF5 to support EOS-specific
+ data structures, namely Grid, Point, and Swath. The new data structures 
+ are constructed from standard HDF data objects, using EOS conventions, through
+ the use of a software library [1,4]. A key feature of HDF-EOS files is that
+ instrument-independent services, such as subsetting by geolocation, can be
+ applied to the files across a wide variety of data products. 
+ The library is extensible and new data structures can be added.
+
+Package: libhe5-hdfeos-dev
+Architecture: any
+Section: libdevel
+Depends: libhe5-hdfeos0 (= ${binary:Version}), ${misc:Depends}
+Recommends: pkg-config
+Description:  Development files for the HDF-EOS5 library
+ HDF-EOS5 is a software library designed built on HDF5 to support EOS-specific
+ data structures, namely Grid, Point, and Swath. The new data structures 
+ are constructed from standard HDF data objects, using EOS conventions, through
+ the use of a software library. A key feature of HDF-EOS files is that
+ instrument-independent services, such as subsetting by geolocation, can be
+ applied to the files across a wide variety of data products. 
+ .
+ This package contains include files and static libraries for HDF-EOS5.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3c1f34a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,10 @@
+This package was debianised by Alastair McKinstry <mckinstry at debian.org>,
+23 May 2009.
+
+Copyright (C) 1996 Hughes and Applied Research Corporation
+
+Permission to use, modify, and distribute this software and its documentation
+for any purpose without fee is hereby granted, provided that the above
+copyright notice appear in all copies and that both that copyright notice and
+this permission notice appear in supporting documentation.
+
diff --git a/debian/libhe5-hdfeos-dev.dirs b/debian/libhe5-hdfeos-dev.dirs
new file mode 100644
index 0000000..3a4b547
--- /dev/null
+++ b/debian/libhe5-hdfeos-dev.dirs
@@ -0,0 +1,2 @@
+/usr/include/hdf-eos5
+/usr/share/doc/libhe5-hdfeos-dev/examples
diff --git a/debian/libhe5-hdfeos-dev.install b/debian/libhe5-hdfeos-dev.install
new file mode 100644
index 0000000..1544ff3
--- /dev/null
+++ b/debian/libhe5-hdfeos-dev.install
@@ -0,0 +1,10 @@
+include/cfortHdf.h usr/include/hdf-eos5
+include/cproj.h  usr/include/hdf-eos5
+include/ease.h   usr/include/hdf-eos5
+include/HE5_config.h   usr/include/hdf-eos5
+include/HE5_GctpFunc.h   usr/include/hdf-eos5
+include/HE5_HdfEosDef.h   usr/include/hdf-eos5
+include/isin.h   usr/include/hdf-eos5
+include/proj.h   usr/include/hdf-eos5
+include/tutils.h usr/include/hdf-eos5
+
diff --git a/debian/libhe5-hdfeos-dev.links b/debian/libhe5-hdfeos-dev.links
new file mode 100644
index 0000000..9948671
--- /dev/null
+++ b/debian/libhe5-hdfeos-dev.links
@@ -0,0 +1 @@
+/usr/lib/libhe5_hdfeos.so.0.0.0	/usr/lib/libhe5_hdfeos.so
diff --git a/debian/libhe5-hdfeos0.docs b/debian/libhe5-hdfeos0.docs
new file mode 100644
index 0000000..2a11805
--- /dev/null
+++ b/debian/libhe5-hdfeos0.docs
@@ -0,0 +1 @@
+doc/HDFEOS-DEFINITION.TXT
diff --git a/debian/libhe5-hdfeos0.postinst b/debian/libhe5-hdfeos0.postinst
new file mode 100644
index 0000000..aaae191
--- /dev/null
+++ b/debian/libhe5-hdfeos0.postinst
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+    ldconfig
+fi
+
+#DEBHELPER#
+
diff --git a/debian/libhe5-hdfeos0.postrm b/debian/libhe5-hdfeos0.postrm
new file mode 100644
index 0000000..4494c20
--- /dev/null
+++ b/debian/libhe5-hdfeos0.postrm
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "remove" ]; then
+    ldconfig
+fi
+
+#DEBHELPER#
+
diff --git a/debian/libhe5-hdfeos0.shlibs b/debian/libhe5-hdfeos0.shlibs
new file mode 100644
index 0000000..8fe4b94
--- /dev/null
+++ b/debian/libhe5-hdfeos0.shlibs
@@ -0,0 +1 @@
+libhe5_hdfeos 0 libhe5-hdfeos0
diff --git a/debian/patches/configure.patch b/debian/patches/configure.patch
new file mode 100644
index 0000000..ba35666
--- /dev/null
+++ b/debian/patches/configure.patch
@@ -0,0 +1,18 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: Configure changes: enable shared libs
+Last-Updated: 2012-02-13
+Forwarded: no
+
+Index: hdf-eos5-5.1.13.dfsg.1/configure.ac
+===================================================================
+--- hdf-eos5-5.1.13.dfsg.1.orig/configure.ac	2012-01-29 19:52:54.000000000 +0000
++++ hdf-eos5-5.1.13.dfsg.1/configure.ac	2012-01-29 19:52:58.000000000 +0000
+@@ -14,7 +14,7 @@
+ AM_MAINTAINER_MODE
+ 
+ # Disable shared libraries (for now)
+-AC_DISABLE_SHARED
++# AC_DISABLE_SHARED
+ 
+ AM_PROG_LIBTOOL
+ 
diff --git a/debian/patches/gctp_remove.patch b/debian/patches/gctp_remove.patch
new file mode 100644
index 0000000..4b600d6
--- /dev/null
+++ b/debian/patches/gctp_remove.patch
@@ -0,0 +1,41 @@
+Description: Don't use internal gctp; link the Debian version.
+Author: Alastair McKinstry <mckinstry at debian.org>
+Last-Updated: 2009-12-07
+Forwarded: no
+
+Index: hdf-eos5-5.1.12-dfsg/Makefile.am
+===================================================================
+--- hdf-eos5-5.1.12-dfsg.orig/Makefile.am	2009-12-07 12:56:45.000000000 +0000
++++ hdf-eos5-5.1.12-dfsg/Makefile.am	2009-12-07 12:58:15.000000000 +0000
+@@ -17,5 +17,5 @@
+ INCLUDE=
+ endif
+ 
+-SUBDIRS=gctp src $(INCLUDE) samples $(TESTDRIVERS)
++SUBDIRS=src $(INCLUDE) samples $(TESTDRIVERS)
+ 
+Index: hdf-eos5-5.1.12-dfsg/config/include.am
+===================================================================
+--- hdf-eos5-5.1.12-dfsg.orig/config/include.am	2009-12-07 12:56:45.000000000 +0000
++++ hdf-eos5-5.1.12-dfsg/config/include.am	2009-12-07 12:58:15.000000000 +0000
+@@ -4,5 +4,5 @@
+ ## shared definitions.
+ 
+ LIBHDFEOS5=$(top_builddir)/src/libhe5_hdfeos.la
+-LIBGCTP=$(top_builddir)/gctp/src/libGctp.la
++LIBGCTP=-lgctp
+ 
+Index: hdf-eos5-5.1.12-dfsg/configure.ac
+===================================================================
+--- hdf-eos5-5.1.12-dfsg.orig/configure.ac	2009-12-07 12:58:15.000000000 +0000
++++ hdf-eos5-5.1.12-dfsg/configure.ac	2009-12-07 12:58:15.000000000 +0000
+@@ -592,9 +592,6 @@
+ AC_CONFIG_FILES([Makefile
+                  include/Makefile
+                  src/Makefile
+-                 gctp/Makefile
+-                 gctp/include/Makefile
+-                 gctp/src/Makefile
+                  samples/Makefile
+ 		 hdf-eos5.pc])
+ 
diff --git a/debian/patches/hdf5_transition.patch b/debian/patches/hdf5_transition.patch
new file mode 100644
index 0000000..2e6a54d
--- /dev/null
+++ b/debian/patches/hdf5_transition.patch
@@ -0,0 +1,17 @@
+Description: Fix needed to build with hdf5-1.8.8
+Author: Alastair McKinstry <mckinstry at debian.org>
+Last-Upated: 2012-01-19
+Forwarded: no
+
+Index: hdf-eos5-5.1.13.dfsg.1/include/HE5_HdfEosDef.h
+===================================================================
+--- hdf-eos5-5.1.13.dfsg.1.orig/include/HE5_HdfEosDef.h	2012-01-25 10:14:39.000000000 +0000
++++ hdf-eos5-5.1.13.dfsg.1/include/HE5_HdfEosDef.h	2012-01-29 21:28:00.000000000 +0000
+@@ -24,6 +24,7 @@
+ #ifndef HE5_HDFEOSDEF_H_
+ #define HE5_HDFEOSDEF_H_
+ 
++#define H5_USE_16_API 1
+ #include <hdf5.h>
+ 
+ #ifdef H5_USE_16_API
diff --git a/debian/patches/hdf_hl.patch b/debian/patches/hdf_hl.patch
new file mode 100644
index 0000000..dc3dd30
--- /dev/null
+++ b/debian/patches/hdf_hl.patch
@@ -0,0 +1,31 @@
+Description: Ensure lib is linked agaisnt hdf5_hl.
+Author: Alastair McKinstry <mckinstry at debian.org>
+Bug-Debian: http://bugs.debian.org/658310
+Last-Updated: 2012-09-15
+Forwarded: no
+
+Index: hdf-eos5-5.1.13.dfsg.1/samples/Makefile.am
+===================================================================
+--- hdf-eos5-5.1.13.dfsg.1.orig/samples/Makefile.am	2012-02-12 21:52:30.000000000 +0000
++++ hdf-eos5-5.1.13.dfsg.1/samples/Makefile.am	2012-02-13 13:54:52.000000000 +0000
+@@ -7,7 +7,7 @@
+ # Link against GCTP library and HDF-EOS5
+ INCLUDES=-I$(top_srcdir)/include -I$(top_srcdir)/gctp/include
+ 
+-LDADD=$(LIBHDFEOS5) $(LIBGCTP)
++LDADD=$(LIBHDFEOS5) -lgctp -lhdf5_hl
+ 
+ # The sample programs to be built when the user types 'make check'
+ check_PROGRAMS=he5_gd_datainfo he5_gd_defexternalfld he5_gd_definefields     \
+Index: hdf-eos5-5.1.13.dfsg.1/src/Makefile.am
+===================================================================
+--- hdf-eos5-5.1.13.dfsg.1.orig/src/Makefile.am	2012-02-13 13:54:52.000000000 +0000
++++ hdf-eos5-5.1.13.dfsg.1/src/Makefile.am	2012-02-13 14:00:03.000000000 +0000
+@@ -11,6 +11,7 @@
+ # Set LDFLAGS to allow the HDF-EOS library to use extern variables from
+ # HDF5
+ LDFLAGS+= -shrext .so 
++LIBS= -lgctp -lhdf5_hl -lhdf5 -lm 
+ 
+ # Build HDF-EOS5
+ lib_LTLIBRARIES=libhe5_hdfeos.la
diff --git a/debian/patches/libtool_fixes.patch b/debian/patches/libtool_fixes.patch
new file mode 100644
index 0000000..c6be379
--- /dev/null
+++ b/debian/patches/libtool_fixes.patch
@@ -0,0 +1,18 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: Fix to  build shared library correctly on Debian.
+Last-Updated: 2012-01-09
+Forwarded: no
+
+Index: hdf-eos5-5.1.13.dfsg.1/src/Makefile.am
+===================================================================
+--- hdf-eos5-5.1.13.dfsg.1.orig/src/Makefile.am	2012-01-25 10:14:39.000000000 +0000
++++ hdf-eos5-5.1.13.dfsg.1/src/Makefile.am	2012-01-29 19:47:36.000000000 +0000
+@@ -10,7 +10,7 @@
+ 
+ # Set LDFLAGS to allow the HDF-EOS library to use extern variables from
+ # HDF5
+-LDFLAGS=-Wl,-single_module
++LDFLAGS+= -shrext .so 
+ 
+ # Build HDF-EOS5
+ lib_LTLIBRARIES=libhe5_hdfeos.la
diff --git a/debian/patches/pkg-config.patch b/debian/patches/pkg-config.patch
new file mode 100644
index 0000000..2ae7a49
--- /dev/null
+++ b/debian/patches/pkg-config.patch
@@ -0,0 +1,33 @@
+Description: Add pkg-config  file for hdfeos5 package.
+Author: Alastair McKinstry <mckinstry at debian.org>
+Forwarded: no
+Last-Updated: 2012-02-12
+
+diff -Nur -x '*.orig' -x '*~' hdf-eos5/configure.ac hdf-eos5.new/configure.ac
+--- hdf-eos5/configure.ac	2007-03-29 17:58:59.000000000 +0100
++++ hdf-eos5.new/configure.ac	2009-06-01 14:44:36.000000000 +0100
+@@ -327,7 +327,8 @@
+                  gctp/Makefile
+                  gctp/include/Makefile
+                  gctp/src/Makefile
+-                 samples/Makefile])
++                 samples/Makefile
++		 hdf-eos5.pc])
+ 
+ if test "X$TESTDRIVERS_DIR" = "Xyes"; then
+   AC_CONFIG_FILES([ testdrivers/Makefile
+diff -Nur -x '*.orig' -x '*~' hdf-eos5/hdf-eos5.pc.in hdf-eos5.new/hdf-eos5.pc.in
+--- hdf-eos5/hdf-eos5.pc.in	1970-01-01 01:00:00.000000000 +0100
++++ hdf-eos5.new/hdf-eos5.pc.in	2009-06-01 14:44:36.000000000 +0100
+@@ -0,0 +1,11 @@
++prefix=@prefix@
++exec_prefix=${prefix}
++libdir=@libdir@
++includedir=${prefix}/include/hdf-eos5
++
++Name: HDF-EOS 5
++Description: Earth System Observation datatypes for HDF5
++Version: @VERSION@
++Requires: gctp
++Libs: -L${libdir} -lhe5_hdfeos -lgctp
++Libs.private: -lhe5_hdfeos -lhdf_hl -lhdf5 -lgctp -ljpeg -lz -lpthread 
diff --git a/debian/patches/pthreads.patch b/debian/patches/pthreads.patch
new file mode 100644
index 0000000..e7c8295
--- /dev/null
+++ b/debian/patches/pthreads.patch
@@ -0,0 +1,18 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: Correctly link pthreads on Linux systems
+Last-Updated: 2012-01-25
+Forwarded: no
+
+Index: hdf-eos5-5.1.13.dfsg.1/testdrivers/threads/Makefile.am
+===================================================================
+--- hdf-eos5-5.1.13.dfsg.1.orig/testdrivers/threads/Makefile.am	2012-01-25 10:14:39.000000000 +0000
++++ hdf-eos5-5.1.13.dfsg.1/testdrivers/threads/Makefile.am	2012-01-29 22:17:36.000000000 +0000
+@@ -7,7 +7,7 @@
+ ## This directory shouldn't be built unless configure detects that the
+ ## pthread library is present. 
+ INCLUDES=-I$(top_srcdir)/include
+-LDADD=$(LIBHDFEOS5) $(LIBGCTP) pthread
++LDADD=$(LIBHDFEOS5) $(LIBGCTP) -lpthread
+ 
+ # Programs to build when user types 'make check'.
+ # Each of these is build from a single *.c file.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..824f125
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,8 @@
+szip_fix.patch
+pthreads.patch
+pkg-config.patch
+configure.patch
+gctp_remove.patch
+libtool_fixes.patch
+hdf5_transition.patch
+hdf_hl.patch
diff --git a/debian/patches/szip_fix.patch b/debian/patches/szip_fix.patch
new file mode 100644
index 0000000..8ee3e31
--- /dev/null
+++ b/debian/patches/szip_fix.patch
@@ -0,0 +1,25 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: Fix new fn HE4_EHHEisHE4 accidentally inside ifdef for SZIP
+Last-Updated: 2014-07-08
+Forwarded: yes
+
+Index: hdf-eos5-5.1.15.dfsg.1/src/EHapi.c
+===================================================================
+--- hdf-eos5-5.1.15.dfsg.1.orig/src/EHapi.c
++++ hdf-eos5-5.1.15.dfsg.1/src/EHapi.c
+@@ -11379,6 +11379,7 @@ int HE5_szip_can_encode(void )
+   return(-1);
+ }
+ 
++#endif /* H5_HAVE_FILTER_SZIP */
+ 
+ 
+ /*----------------------------------------------------------------------------|
+@@ -11509,7 +11510,6 @@ HE5_EHHEisHE5(char *filename)
+     }
+ }
+ 
+-#endif /* H5_HAVE_FILTER_SZIP */
+ 
+ 
+ #ifndef __cplusplus
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..6551caf
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,41 @@
+#!/usr/bin/make -f
+
+# Comment out this line for debugging
+# export DH_VERBOSE:=1
+
+# The magic rule for debhelper
+%:
+	dh $@ --with autoreconf
+
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+LIBDIR:=/usr/lib/$(DEB_HOST_MULTIARCH)
+
+
+# Disable checks: known bad test case ignored this release
+DEB_CONFIGURE_EXTRA_FLAGS :=  --enable-shared --with-pic
+
+ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial/libhdf5.so),)
+  DEB_CONFIGURE_EXTRA_FLAGS += --with-hdf5=/usr/include/hdf5/serial,/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial
+endif
+
+export DEB_CFLAGS_MAINT_APPEND=-D_HDFEOS5_THREADSAFE -Df2cFortran
+export DEB_LDFLAGS_MAINT_APPEND=-lpthread
+
+override_dh_auto_configure:
+	dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS)
+	# Needed for the pthreads tests
+	cp  samples/simple.txt testdrivers/threads
+
+override_dh_auto_test:
+	echo "Tests disabled in this version - known ok failures"
+
+override_dh_auto_install:
+	dh_auto_install
+	mkdir -p debian/libhe5-hdfeos-dev/${LIBDIR}/pkgconfig debian/libhe5-hdfeos0/${LIBDIR}
+	mv hdf-eos5.pc debian/libhe5-hdfeos-dev/${LIBDIR}/pkgconfig
+	mv debian/tmp/${LIBDIR}/libhe5_hdfeos.so.0.0.0  debian/libhe5-hdfeos0/${LIBDIR}
+	cp debian/tmp/usr/lib/*/*.a debian/libhe5-hdfeos-dev/${LIBDIR}
+	cp -a samples/* debian/libhe5-hdfeos-dev/usr/share/doc/libhe5-hdfeos-dev/examples
+	chmod -x debian/libhe5-hdfeos-dev/usr/share/doc/libhe5-hdfeos-dev/examples/*
+	dh_link -p libhe5-hdfeos-dev ${LIBDIR}/libhe5_hdfeos.so.0.0.0 ${LIBDIR}/libhe5_hdfeos.so
+	dh_link -p libhe5-hdfeos0   ${LIBDIR}/libhe5_hdfeos.so.0.0.0 ${LIBDIR}/libhe5_hdfeos.so.0
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..e69de29
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..b7bc1f2
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+compression = "xz"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..abbdffe
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,8 @@
+ # format version number, currently 3; this line is compulsory!
+version=3
+
+# This the format for an FTP site:
+# Full-site-with-pattern  [Version  [Action]]
+opts=dversionmangle=s/\+dfsg\.\d+$// \
+ftp://edhs1.gsfc.nasa.gov/edhs/hdfeos5/latest_release/HDF-EOS5\.(.*)\.tar\.Z \
+	debian uupdate

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/hdf-eos5.git



More information about the debian-science-commits mailing list