Package Details: hdfview 3.1.0-1

Git Clone URL: https://aur.archlinux.org/hdfview.git (read-only, click to copy)
Package Base: hdfview
Description: a GUI browser for reading hdf5 files
Upstream URL: https://www.hdfgroup.org/downloads/hdfview/
Licenses: custom
Conflicts: hdfview-beta
Replaces: hdfview-beta
Submitter: eleftg
Maintainer: eleftg (MartinDiehl, chrisjbillington)
Last Packager: eleftg
Votes: 6
Popularity: 0.29
First Submitted: 2017-10-17 18:54
Last Updated: 2019-10-27 12:26

Latest Comments

1 2 3 Next › Last »

chrisjbillington commented on 2019-10-28 14:33

Interesting, sure if you want to share a screenshot I'll look at it...what DE/WM are you on? I'm on gnome-shell and don't see the issue on X or Wayland, regardless of my GTK theme (which HDFview appears to respect). Also, does the problem occur with the hdfview-bin package?

eleftg commented on 2019-10-28 14:22

@chrisjbillington All dialogs are white. Clicking on any item of the menu bar (like Help >> About... for instance) yields a white dialog. The only non-white things are the fields. I will add a link with screenshots if you're interested.

It's still jdk11-openjdk. I've always only used LTS java versions to build this package.

chrisjbillington commented on 2019-10-28 14:13

@eleftg Which interface boxes are white for you? What java are you using? I'm not seeing any issues with jre11 which is the version the prebuilt HDFView comes with.

If HDFview only works with a particular java version, perhaps we should have it depend on that version and work out how to have it launch with the correct one without it having to be the default java environment.

MartinDiehl commented on 2019-10-28 05:38

@eleftg

strange that your interface boxes are white. Maybe it is related to an incompatibility of the jdk. hdfview brings its own version and the system version might differ.

eleftg commented on 2019-10-27 12:30

Upgraded.

Thank you both for your contributions.

I think there are still a few hiccups (the interface dialogs are all white) but at least the package builds for now and it's a base for a start.

MartinDiehl commented on 2019-10-27 07:54

@chrisjbillington nice, works also for me (i.e. openjdk 13)

chrisjbillington commented on 2019-10-26 19:51

I'm able to build on openjdk 11 with the following PKGBUILD:

https://drive.google.com/open?id=1igAdJA3VVd_mciiRip1gusJqRU05cTIw

I have to admit it's not 100 % clear to me what these modifications to build.xml are doing, though it all looks like not bundling things that don't need to be bundled. I was able to remove the "--ignore-missing-dep" option and it still seems to build.

I've also made hdfview-bin which installs the prebuilt binaries from the HDF group without trying to unbundle anything. Obviously building from source is preferable, but since I have no idea whether this build actually works with HDF4 or different versions of Java, it might be useful to have a fallback as provided by the HDF group.

MartinDiehl commented on 2019-10-25 06:28

@eleftg: Thanks!

could be indeed related to openjdk11. I use the most recent version:

pacman -Q | grep jdk jdk-openjdk 13.u33-1 jre-openjdk 13.u33-1 jre-openjdk-headless 13.u33-1

Unfortunately, the --ignore-missing-deps option was required for me to avoid a long list of dependencies that caused trouble.

eleftg commented on 2019-10-24 23:12

Buildfile: /builder/hdfview/src/hdfview-3.1.0/build.xml
     [echo]
     [echo]      Application:      HDFView 3.1.0
     [echo]      Build File:       /builder/hdfview/src/hdfview-3.1.0/build.xml
     [echo]
     [echo]      Run by:           george
     [echo]      Build Dir:        build
     [echo]      Base Dir:         /builder/hdfview/src/hdfview-3.1.0
     [echo]      Dist Dir:         build/dist
     [echo]      Java Home:        /usr/lib/jvm/java-11-openjdk
     [echo]      Classpath:        /builder/hdfview/src/hdfview-3.1.0/lib/fits.jar:/builder/hdfview/src/hdfview-3.1.0/lib/netcdf.jar:/opt/hdf4/lib/jarhdf-4.2.14.jar:/usr/lib/jarhdf5-1.10.5.jar:/builder/hdfview/src/hdfview-3.1.0/lib/ext/swt/linux/x86_64/swt.jar:/builder/hdfview/src/hdfview-3.1.0/lib/ext/swt/common-image-3.3.2.jar:/builder/hdfview/src/hdfview-3.1.0/lib/ext/swt/common-io-3.3.2.jar:/builder/hdfview/src/hdfview-3.1.0/lib/ext/swt/common-lang-3.3.2.jar:/builder/hdfview/src/hdfview-3.1.0/lib/ext/swt/commons-logging-1.2.jar:/builder/hdfview/src/hdfview-3.1.0/lib/ext/swt/commons-logging.jar:/builder/hdfview/src/hdfview-3.1.0/lib/ext/swt/imageio-core-3.3.2.jar:/builder/hdfview/src/hdfview-3.1.0/lib/ext/swt/imageio-metadata-3.3.2.jar:/builder/hdfview/src/hdfview-3.1.0/lib/ext/swt/imageio-tiff-3.3.2.jar:/builder/hdfview/src/hdfview-3.1.0/lib/ext/swt/org.eclipse.core.commands.jar:/builder/hdfview/src/hdfview-3.1.0/lib/ext/swt/org.eclipse.equinox.common.jar:/builder/hdfview/src/hdfview-3.1.0/lib/ext/swt/org.eclipse.jface.jar:/builder/hdfview/src/hdfview-3.1.0/lib/ext/swt/org.eclipse.nebula.widgets.nattable.core.jar:/builder/hdfview/src/hdfview-3.1.0/lib/ext/swt/org.eclipse.osgi.jar:/builder/hdfview/src/hdfview-3.1.0/lib/ext/swt/org.eclipse.ui.workbench.jar:/builder/hdfview/src/hdfview-3.1.0/lib/slf4j-api-1.7.25.jar:/builder/hdfview/src/hdfview-3.1.0/lib/extra/slf4j-simple-1.7.25.jar
     [echo]      HDF libpath:      /opt/hdf4/lib,/usr/lib
     [echo]      HDF-Java version: 4.2.14:1.10.5
     [echo]      HDF4 version:     4.2.14
     [echo]      HDF5 version:     1.10.5
     [echo]      Operating System: Linux 4.19.80-1-lts amd64
     [echo]      Debug Build:      true
     [echo]
Trying to override old definition of task jlink

clean-package:

compileobj:
    [mkdir] Created dir: /builder/hdfview/src/hdfview-3.1.0/build/classes
    [mkdir] Created dir: /builder/hdfview/src/hdfview-3.1.0/build/classes/hdf
     [copy] Copying 1 file to /builder/hdfview/src/hdfview-3.1.0/build
    [javac] Compiling 1 source file to /builder/hdfview/src/hdfview-3.1.0/build/classes
    [javac] Compiling 12 source files to /builder/hdfview/src/hdfview-3.1.0/build/classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/h5/H5CompoundDS.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [copy] Copying 2 files to /builder/hdfview/src/hdfview-3.1.0/build/classes

compilehdf4:
    [javac] Compiling 6 source files to /builder/hdfview/src/hdfview-3.1.0/build/classes
    [javac] Note: /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/h4/H4Vdata.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

compilespc:
    [javac] Compiling 8 source files to /builder/hdfview/src/hdfview-3.1.0/build/classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

compilehdf5:

compile:
    [javac] Compiling 58 source files to /builder/hdfview/src/hdfview-3.1.0/build/classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: /builder/hdfview/src/hdfview-3.1.0/src/hdf/view/ImageView/DefaultImageView.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [copy] Copying 55 files to /builder/hdfview/src/hdfview-3.1.0/build/classes

objectjar:
    [mkdir] Created dir: /builder/hdfview/src/hdfview-3.1.0/build/jar
      [jar] Building jar: /builder/hdfview/src/hdfview-3.1.0/build/jar/hdfobject.jar

jar:
      [jar] Building jar: /builder/hdfview/src/hdfview-3.1.0/build/jar/HDFView.jar

javadoc:
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/Attribute.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/CompoundDS.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/CompoundDataFormat.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/DataFormat.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/Dataset.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/Datatype.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/FileFormat.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/Group.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/HObject.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/MetaDataContainer.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/ScalarDS.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/Utils.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/h4/H4Datatype.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/h4/H4File.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/h4/H4GRImage.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/h4/H4Group.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/h4/H4SDS.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/h4/H4Vdata.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/h5/H5CompoundDS.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/h5/H5Datatype.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/h5/H5File.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/h5/H5Group.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/h5/H5Link.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/h5/H5ScalarDS.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/object/h5/H5Utils.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/view/Chart.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/view/DefaultFileFilter.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/view/HDFView.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/view/Tools.java...
  [javadoc] Loading source file /builder/hdfview/src/hdfview-3.1.0/src/hdf/view/ViewProperties.java...
  [javadoc] Constructing Javadoc information...
  [javadoc] Creating destination directory: "/builder/hdfview/src/hdfview-3.1.0/build/javadocs/"
  [javadoc] Standard Doclet version 11.0.4
  [javadoc] Building tree for all the packages and classes...
  [javadoc] Building index for all the packages and classes...
  [javadoc] Building index for all classes...
  [javadoc] Building index for all classes...

deployWindows:

deployUnix:
    [mkdir] Created dir: /builder/hdfview/src/hdfview-3.1.0/build/HDF_Group/HDFView/3.1.0
    [mkdir] Created dir: /builder/hdfview/src/hdfview-3.1.0/build/HDF_Group/HDFView/3.1.0/lib
    [mkdir] Created dir: /builder/hdfview/src/hdfview-3.1.0/build/HDF_Group/HDFView/3.1.0/lib/extra
    [mkdir] Created dir: /builder/hdfview/src/hdfview-3.1.0/build/HDF_Group/HDFView/3.1.0/share
    [mkdir] Created dir: /builder/hdfview/src/hdfview-3.1.0/build/HDF_Group/HDFView/3.1.0/share/samples
    [mkdir] Created dir: /builder/hdfview/src/hdfview-3.1.0/build/HDF_Group/HDFView/3.1.0/share/doc
     [copy] Copying 28 files to /builder/hdfview/src/hdfview-3.1.0/build/HDF_Group/HDFView/3.1.0/lib
     [copy] Copying 2 files to /builder/hdfview/src/hdfview-3.1.0/build/HDF_Group/HDFView/3.1.0/lib/extra
     [echo] Bundling JRE with jdeps and jlink...
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
    [apply] Result: 2
     [copy] Copying 1 file to /builder/hdfview/src/hdfview-3.1.0/build
   [delete] Deleting: /builder/hdfview/src/hdfview-3.1.0/build/jdeps.pre
     [echo] List of generated module dependencies: Error: unknown option: --ignore-missing-deps,Usage: jdeps <options> <path ...>],use --help for a list of possible options
     [exec] Error: Module Usage: jdeps <options> <path ...>] not found
     [exec] Result: 1
     [copy] Copying 1 file to /builder/hdfview/src/hdfview-3.1.0/build/HDF_Group/HDFView/3.1.0
     [copy] Copying 166 files to /builder/hdfview/src/hdfview-3.1.0/build/HDF_Group/HDFView/3.1.0/share/doc/javadocs
     [copy] Copying 3 files to /builder/hdfview/src/hdfview-3.1.0/build/HDF_Group/HDFView/3.1.0/share/doc
     [copy] Copying 9 files to /builder/hdfview/src/hdfview-3.1.0/build/HDF_Group/HDFView/3.1.0/share/samples

deployMac:

deploy:

createWindowsInstaller:

createUnixInstaller:
    [mkdir] Created dir: /builder/hdfview/src/hdfview-3.1.0/build/dist
     [copy] Copying 1 file to /builder/hdfview/src/hdfview-3.1.0/build/dist

BUILD FAILED
/builder/hdfview/src/hdfview-3.1.0/build.xml:1564: /builder/hdfview/src/hdfview-3.1.0/build/HDF_Group/HDFView/3.1.0/jre does not exist.

Total time: 18 seconds
==> ERROR: A failure occurred in build().
    Aborting...

For the time being, the suggested PKGBUILD fails to build on my box (with openjdk-11). Seems to be an issue with --ignore-missing-deps. Will look into it further...

eleftg commented on 2019-10-24 13:39

Back from holidays. I am going to integrate the proposed changes as soon as I get back from work (in a matter of hours).

Thanks @MartinDiehl