[DebianGIS-dev] openstreetmap-map-icons_0.0.0.20080706-1_i386.changes REJECTED

2008-07-08 Thread Mark Hymers
Dear Maintainer,

This package has been rejected because the debian/copyright file is incomplete.
Specifically, it is missing the license for the CMake files included within it:

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions  
 
are met:
 

 
1. Redistributions of source code must retain the copyright 
 
   notice, this list of conditions and the following disclaimer.
 
2. Redistributions in binary form must reproduce the copyright  
 
   notice, this list of conditions and the following disclaimer in the  
 
   documentation and/or other materials provided with the distribution. 
 
3. The name of the author may not be used to endorse or promote products
 
   derived from this software without specific prior written permission. 

Please add the license and any copyright holder information to debian/copyright
and re-upload.

Thanks,



===

If you don't understand why your files were rejected, or if the
override file requires editing, reply to this email.

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel


Bug#871506: libhdf5-java package does not contain jar

2017-08-08 Thread Mark Hymers
Package: libhdf5-java
Version: 1.10.0-patch1+docs-3
Severity: grave
Justification: renders package unusable

Hi,

I have just discovered that the libhdf5-java package fails to ship
the jarhdf5.jar file.  This makes the HDF5 java bindings unusable
(this came up whilst trying to compile the newly released hdfview).

The problem seems to be the use of $(upstreamversion) to rename
the jar file in the install rule and also that jh_installlibs
is not being called.

I've hacked around it for now by changing the dh_install_java
rule in debian/rules to contain:

dh_install_java: build_serial
mv debian/build-serial/java/src/jarhdf5-*.jar 
debian/build-serial/java/src/jarhdf5.jar
jh_installlibs

which ensures that the jar is shipped - this may not be the
solution which you want to use.

This problem affects stable as well as unstable (as it's the same
version).

Thanks,

Mark

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


Bug#871510: libhdf4: Please consider shipping java bindings

2017-08-08 Thread Mark Hymers
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 000..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 000..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)
___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel