Your message dated Wed, 23 Aug 2017 15:00:21 +0000
with message-id <e1dkx8n-0000sk...@fasolo.debian.org>
and subject line Bug#871510: fixed in libhdf4 4.2.13-2~exp1
has caused the Debian Bug report #871510,
regarding libhdf4: Please consider shipping java bindings
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
871510: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871510
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libhdf4
Version: 4.2.12-3
Severity: wishlist
Tags: patch


Hi,

Could you please consider shipping the libhdf4 Java bindings
which were added in (I think) 4.2.12?  These are necessary
in order to be able to build the new hdfview beta.

A preliminary packaging patch is attached to create the
packages.  I have build-tested this and the .jar and JNI
files get installed appropriately and the hdfview
build process seems to pick them up.

Thanks,

Mark
diff --git a/debian/control.in b/debian/control.in
index af8a223..fd026ac 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -9,6 +9,8 @@ Build-Depends: debhelper (>= 9),
                autotools-dev,
                bison,
                chrpath,
+               default-jdk-headless,
+               javahelper,
                flex,
                gfortran,
                libjpeg-dev,
@@ -60,6 +62,29 @@ Description: Hierarchical Data Format development files (embedded NetCDF)
  This package contains development stuff, including files and static
  library for the HDF package and some HDF API reference manpages.
 
+Package: @PACKAGE@-java
+Architecture: any
+Section: java
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${java:Depends},
+         @PACKAGE@-jni
+Description: Hierarchical Data Format development files (embedded NetCDF)
+ HDF is a multi-object file format for storing and transferring
+ graphical and numerical data mainly used in scientific computing. HDF
+ supports several different data models, including multidimensional
+ arrays, raster images, and tables.
+ Each defines a specific aggregate data type and provides an API for
+ reading, writing, and organizing the data and metadata. New data models
+ can be added by the HDF developers or users.
+ .
+ This package contains the java wrapper library for HDF4.
+
+Package: @PACKAGE@-jni
+Architecture: any
+Section: java
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: native library used by libhdf4-java
+ This package is only useful with libhdf4-java
+
 Package: @PACKAGE@g-dev
 Architecture: all
 Section: libdevel
diff --git a/debian/libhdf4-java.jlibs b/debian/libhdf4-java.jlibs
new file mode 100644
index 0000000..d1e3f8b
--- /dev/null
+++ b/debian/libhdf4-java.jlibs
@@ -0,0 +1 @@
+debian/tmp/usr/lib/jarhdf.jar
diff --git a/debian/libhdf4-jni.install.in b/debian/libhdf4-jni.install.in
new file mode 100644
index 0000000..097d57a
--- /dev/null
+++ b/debian/libhdf4-jni.install.in
@@ -0,0 +1 @@
+usr/lib/libhdf_java.so usr/lib/@MULTIARCH@/jni
diff --git a/debian/rules b/debian/rules
index e6a73bd..d84dcca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,7 @@
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+(debian|dfsg|ds|deb)[0-9]*.*//; s/^[0-9]://')
 
@@ -46,6 +47,7 @@ templates:
 		sed -e 's/@PACKAGE@/$(PACKAGE)/g' \
 		    -e 's/@SOVER@/$(SOVER)/g' \
 		    -e 's/@RELEASE@/$(RELEASE)/g' \
+		    -e 's/@MULTIARCH@/$(DEB_HOST_MULTIARCH)/g' \
 			$$TEMPLATE > `echo $$TEMPLATE | sed 's/.in$$//'` ; \
 	done
 
@@ -85,6 +87,7 @@ override_dh_auto_configure: templates
 	                     --libdir=/usr/lib \
 	                     --enable-shared \
 	                     --enable-fortran \
+			     --enable-java \
 	                     F77="$(F77)" CC="$(CC)" CXX="$(CXX)" \
 	                     CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
 
@@ -137,6 +140,16 @@ override_dh_auto_install:
 	                --builddirectory=debian/build-hdf4 \
 	                --destdir=$(DESTDIR)
 
+	mv $(DESTDIR)/usr/lib/jarhdf-*.jar \
+	   $(DESTDIR)/usr/lib/jarhdf.jar
+
+	rm -f $(DESTDIR)/usr/lib/libhdf_java.so
+
+	mv $(DESTDIR)/usr/lib/libhdf_java.so.0.0.0 \
+	   $(DESTDIR)/usr/lib/libhdf_java.so
+
+	jh_installlibs
+
 	dh_auto_install --sourcedirectory=HDF4_ALT \
 	                --builddirectory=debian/build-hdf4-alt \
 	                --destdir=$(DESTDIR_ALT)

--- End Message ---
--- Begin Message ---
Source: libhdf4
Source-Version: 4.2.13-2~exp1

We believe that the bug you reported is fixed in the latest version of
libhdf4, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 871...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bas Couwenberg <sebas...@debian.org> (supplier of updated libhdf4 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 08 Aug 2017 20:48:46 +0200
Source: libhdf4
Binary: libhdf4-0 libhdf4-dev libhdf4-0-alt libhdf4-alt-dev libhdf4-doc 
libhdf4-java libhdf4-jni hdf4-tools
Architecture: source amd64 all
Version: 4.2.13-2~exp1
Distribution: experimental
Urgency: medium
Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Changed-By: Bas Couwenberg <sebas...@debian.org>
Description:
 hdf4-tools - Hierarchical Data Format library -- runtime package
 libhdf4-0  - Hierarchical Data Format library (embedded NetCDF)
 libhdf4-0-alt - Hierarchical Data Format library (without NetCDF)
 libhdf4-alt-dev - Hierarchical Data Format development files (without NetCDF)
 libhdf4-dev - Hierarchical Data Format development files (embedded NetCDF)
 libhdf4-doc - Hierarchical Data Format library -- documentation
 libhdf4-java - Hierarchical Data Format library -- Java wrapper
 libhdf4-jni - Hierarchical Data Format library -- JNI library
Closes: 870079 871510
Changes:
 libhdf4 (4.2.13-2~exp1) experimental; urgency=medium
 .
   * Team upload.
   * Enable SZIP support.
     (closes: #870079)
   * Also build Java library.
     (closes: #871510)
Checksums-Sha1:
 6328b4a91cd72868963e260ce7ffd74385d8a931 2541 libhdf4_4.2.13-2~exp1.dsc
 ea9f1154f1487137d2319d9f556aaa78a07f4234 73148 
libhdf4_4.2.13-2~exp1.debian.tar.xz
 2add995c56eb81839917c0e55a19b6c6f0ccf8a4 554488 
hdf4-tools-dbgsym_4.2.13-2~exp1_amd64.deb
 ad645e89a734c3b72dd0718927bda5a09315b2d9 248860 
hdf4-tools_4.2.13-2~exp1_amd64.deb
 b6434b2b9847b8b338a86e0a4d7de55710d77ace 651658 
libhdf4-0-alt-dbgsym_4.2.13-2~exp1_amd64.deb
 d5e04fd154d84b0a45d90dcacc8da313582523aa 277076 
libhdf4-0-alt_4.2.13-2~exp1_amd64.deb
 f8753ce601b3990078e529a41741940977a6b96d 739310 
libhdf4-0-dbgsym_4.2.13-2~exp1_amd64.deb
 b9b51378275a21bf562bede18132a13b4ce04877 314016 
libhdf4-0_4.2.13-2~exp1_amd64.deb
 5573e7e551d127402a08e62700b73f513ddd0ee8 377984 
libhdf4-alt-dev_4.2.13-2~exp1_amd64.deb
 feb45fa6895d1868306eddea4fa24d711d432060 424892 
libhdf4-dev_4.2.13-2~exp1_amd64.deb
 058b63b3f31d4a11505cb64c5579170f8219b346 68538 
libhdf4-doc_4.2.13-2~exp1_all.deb
 cc13291a24aa7d6660160ba85908b49c95502c9c 43272 
libhdf4-java_4.2.13-2~exp1_amd64.deb
 93b6d8020a66cbb145d7fd42bb60db6ae8d5b64c 212844 
libhdf4-jni-dbgsym_4.2.13-2~exp1_amd64.deb
 f66086659a1404b3ceaf08071a590995c9fa6918 49976 
libhdf4-jni_4.2.13-2~exp1_amd64.deb
 067833218bd7cff3b4053e52bf4b499b125d3fca 11314 
libhdf4_4.2.13-2~exp1_amd64.buildinfo
Checksums-Sha256:
 ed7814d197755ff017ef4bc77df72b02a00ea37fc0bc0fa642dce2e7d0a6a0d6 2541 
libhdf4_4.2.13-2~exp1.dsc
 8da03947192f2239d0c0de2b550e12b38524f2d9a1c31dd067f93f2c85c80b16 73148 
libhdf4_4.2.13-2~exp1.debian.tar.xz
 d172da345517f711c6deacbdcd55bfab79c298b8d0ed3845bf1b70963f49de1b 554488 
hdf4-tools-dbgsym_4.2.13-2~exp1_amd64.deb
 1ad830dac3b7c1d395acec700e2e6b3dca9cb63303de3e6dd6c5d71dc392d617 248860 
hdf4-tools_4.2.13-2~exp1_amd64.deb
 19ed9ad8d1401fb45c0d6e4a933ba8333224707faf4ae64667e3cedc419a5198 651658 
libhdf4-0-alt-dbgsym_4.2.13-2~exp1_amd64.deb
 0be0b58af5abd0d72aa462539658f0c50728f26fb83703daddf94ac28f721f27 277076 
libhdf4-0-alt_4.2.13-2~exp1_amd64.deb
 2da0acd949b6c44940c010796db054ff60d83a5789a857f2a1ab14d7321de0f6 739310 
libhdf4-0-dbgsym_4.2.13-2~exp1_amd64.deb
 43f28896ff8b0a363d4856c5bdf0aa27cea9856af977155264d1019ecc5fc01e 314016 
libhdf4-0_4.2.13-2~exp1_amd64.deb
 e51137e1436601c61975748133666747879f863091c4e7eb91b3af41a278a98f 377984 
libhdf4-alt-dev_4.2.13-2~exp1_amd64.deb
 3aada9f56b7c440f1abd69a0e220d04fec7216eb47827368546e93f195059b8d 424892 
libhdf4-dev_4.2.13-2~exp1_amd64.deb
 1f476180ff6e3f0f17d4c0f1062373c73d8277c279a00fbe5cb1c7a4f9505382 68538 
libhdf4-doc_4.2.13-2~exp1_all.deb
 b4299ca0b833445d38ac49062ed7ff66ef4ade4f72e9018b412480f843645c1d 43272 
libhdf4-java_4.2.13-2~exp1_amd64.deb
 7840f9bbcba093195b7c19850d114cdcf176a5cfc0591f826390a8f3378841e1 212844 
libhdf4-jni-dbgsym_4.2.13-2~exp1_amd64.deb
 cb646e7108722eaef59d52e7c8730b457366f865efb9936e887946ad501408a6 49976 
libhdf4-jni_4.2.13-2~exp1_amd64.deb
 2473f29638ff27de62abac8f9db919405b3dd137322f1ef8a0bdd4d19a5ac944 11314 
libhdf4_4.2.13-2~exp1_amd64.buildinfo
Files:
 32bd7e311938b2e6392c74b7c8c356b9 2541 graphics optional 
libhdf4_4.2.13-2~exp1.dsc
 6c7a04a083a11b6ddc27844b2f330a05 73148 graphics optional 
libhdf4_4.2.13-2~exp1.debian.tar.xz
 04e6c770037ce471a1cbb6fefff4870f 554488 debug extra 
hdf4-tools-dbgsym_4.2.13-2~exp1_amd64.deb
 3430c569602e05dc57039a426b8d9bf7 248860 graphics optional 
hdf4-tools_4.2.13-2~exp1_amd64.deb
 e199c6cdbeaed2a0cbf88cbeb69adc60 651658 debug extra 
libhdf4-0-alt-dbgsym_4.2.13-2~exp1_amd64.deb
 978ed84d8ff45782c5ee688a8e9c7c7b 277076 libs extra 
libhdf4-0-alt_4.2.13-2~exp1_amd64.deb
 2bf1d04ccd32bf2a0597b08799573b60 739310 debug extra 
libhdf4-0-dbgsym_4.2.13-2~exp1_amd64.deb
 ad9226c1b77d1bf22b3f678019293fde 314016 libs optional 
libhdf4-0_4.2.13-2~exp1_amd64.deb
 13dcd4fb6b889ba805f0310c956e66f5 377984 libdevel extra 
libhdf4-alt-dev_4.2.13-2~exp1_amd64.deb
 0520d7f750cb9438807998ce3996fe7c 424892 libdevel optional 
libhdf4-dev_4.2.13-2~exp1_amd64.deb
 7d21546427a318caa768b408cac6bd60 68538 doc optional 
libhdf4-doc_4.2.13-2~exp1_all.deb
 5d22877b3e0a0a2fb46a81db049b575c 43272 java optional 
libhdf4-java_4.2.13-2~exp1_amd64.deb
 03413eaade924368a3de516ba090a708 212844 debug extra 
libhdf4-jni-dbgsym_4.2.13-2~exp1_amd64.deb
 f7c325cd2a069a127def64105412b760 49976 java optional 
libhdf4-jni_4.2.13-2~exp1_amd64.deb
 2c86ae86206536bea209ffe3525d40b6 11314 graphics optional 
libhdf4_4.2.13-2~exp1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAlmKG4kACgkQZ1DxCuiN
SvHx8xAAtCUbrdSNZL8DCiSuu1rJS6j2TQZk7bW6YUoH4vRkL474xU7OHgOakku0
tbrIF/EVQBq4dxt2NrKbIJ3cjU+kSBGI7Egh+fJZbjTJ0P91Rvpnc1ESHvI2D1UK
F8uHdpRsfHq3z+qmx/FR9GhsYGBUl4uTF9j/nc2F8WGBBpGHZ+YID7s7cESuRYKw
ZpptzBqnINyvoM4koxWVhxRRVnRtDogwC49kWNRYwSO983cGVllRQuglGPlJNhVq
+lWwSh82XCmY1rITr4UyOnF7GWJLY5Pejv+HPEyjh9DX1NZRy5nU47oaqZJqKwzn
0B/x/MF777tX2YWcl5YiYJV8UzuYEMgA1077HsA8twV1S2oRRkfvglOcnAQ/ECfQ
o4CKnEg3CJd572vdJoxXlIF7G6ffsgKOOKgmAt0uNUaht6YhPV3ggOhUjyOutn6l
VgWchr9BrrjUgK18Ui4snbcAIABYXrw94DlEdVzoqKKWG15E7x8tpKPun0Acj5iw
wv/XZtP42UxaDAQpsPlDOJCeflbLdWJ381fUinOd3z2VX9PFNMQ41q2Ee7MAgcO7
iDuES3ckDrYHmMPVzkm0HFu1lYhcoY8sof8SCV611EKDukQPhp8sABDTQGWHl1/L
ukj0YW2hGyyRQLKZkNnJbD9IXtsWsCi0D5tEdeU4BLQ/sC/Fl5M=
=9f72
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to