diff options
authorGeorge Eleftheriou2017-10-17 20:54:07 +0200
committerGeorge Eleftheriou2017-10-17 20:54:07 +0200
commitf5b8dc082fc9ef6e98d73000664aeaa745a7c779 (patch)
initial commit
-rw-r--r--HDFView.icobin0 -> 2238 bytes
5 files changed, 181 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..97d00214ba8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = hdfview
+ pkgdesc = a GUI browser for hdf5 files
+ pkgver = 2.14.0
+ pkgrel = 1
+ url =
+ arch = i686
+ arch = x86_64
+ license = custom
+ makedepends = apache-ant
+ depends = hdf-java
+ depends = java-environment
+ options = !strip
+ source =
+ source = HDFView.desktop
+ source = HDFView.ico
+ source = license
+ md5sums = 3dafb38490718d46e359d250c7bb2377
+ md5sums = 78b1eb484df4520d83bf9a20f39a65e3
+ md5sums = b86542f80203ea9f93f447fa7c20d25a
+ md5sums = db0de6079dd881781768d05de29c50e0
+pkgname = hdfview
diff --git a/HDFView.desktop b/HDFView.desktop
new file mode 100644
index 00000000000..551e67a2854
--- /dev/null
+++ b/HDFView.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Comment=HDFView is a GUI tool for browsing and editing HDF4 and HDF5 files.
diff --git a/HDFView.ico b/HDFView.ico
new file mode 100644
index 00000000000..b691e2e7a67
--- /dev/null
+++ b/HDFView.ico
Binary files differ
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..cd29927f97b
--- /dev/null
@@ -0,0 +1,60 @@
+# Maintainer : George Eleftheriou <eleftg>
+# Contributor : Martin Wimpress <>
+# Contributor : Nick Pope
+# Contributor : Bryce Nordgren <bnordgren at gmail dot com>
+pkgdesc="a GUI browser for hdf5 files"
+arch=('i686' 'x86_64')
+depends=('hdf-java' 'java-environment')
+ "${_pkgname}.desktop"
+ "${_pkgname}.ico"
+ license)
+ '78b1eb484df4520d83bf9a20f39a65e3'
+ 'b86542f80203ea9f93f447fa7c20d25a'
+ 'db0de6079dd881781768d05de29c50e0')
+prepare() {
+ cd "${pkgname}-${_pkgver}"
+ sed -i "s;hdf\.lib\.dir = \${env\.HDFLIBS}/lib;hdf\.lib\.dir = /opt/hdfjava-3\.3\.2/lib;"
+ sed -i '731s;<chmod perm="ugo+rx">;<chmod perm="ugo+rx" maxparallel="10">;' build.xml
+build() {
+ cd "${pkgname}-${_pkgver}"
+ ant package
+package() {
+ cd "${pkgname}-${_pkgver}"
+ mkdir "${pkgdir}/opt"
+ cp -a "build/dist/${_pkgname}-${pkgver}" "${pkgdir}/opt"
+ cd "${pkgdir}/opt"
+ # Make extraction non interactive
+ sed -i 's/interactive=TRUE/interactive=FALSE/' ${_pkgname}-${pkgver}
+ sed -i 's/cpack_skip_license=FALSE/cpack_skip_license=TRUE/' ${_pkgname}-${pkgver}
+ ./${_pkgname}-${pkgver}
+ rm "${_pkgname}-${pkgver}"
+ mkdir -p "${pkgdir}/usr/bin"
+ sed -i "s:JAVABIN=${pkgdir}/opt/${_pkgname}/${pkgver}/jre/bin:JAVABIN=/opt/${_pkgname}/${pkgver}/jre/bin:" "${_pkgname}/${pkgver}/${pkgname}.sh"
+ sed -i "s:INSTALLDIR=${pkgdir}/opt/${_pkgname}/${pkgver}:INSTALLDIR=/opt/${_pkgname}/${pkgver}:" "${_pkgname}/${pkgver}/${pkgname}.sh"
+ cp -a "${_pkgname}/${pkgver}/${pkgname}.sh" "${pkgdir}/usr/bin"
+ # Desktop files, icons, wrappers and license
+ install -D -m 644 "${srcdir}/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
+ install -D -m 644 "${srcdir}/${_pkgname}.ico" "${pkgdir}/usr/share/pixmaps/${_pkgname}.ico"
+ install -D -m 644 "${srcdir}/license" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
diff --git a/license b/license
new file mode 100644
index 00000000000..056c8f762de
--- /dev/null
+++ b/license
@@ -0,0 +1,89 @@
+Copyright Notice and License Terms for
+HDF Java Products
+HDF Java Products
+Copyright 2006-2011 by The HDF Group.
+NCSA HDF Java Products
+Copyright 1988-2006 by the Board of Trustees of the University of Illinois.
+All rights reserved.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted for any purpose (including commercial purposes)
+provided that the following conditions are met:
+1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions, and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions, and the following disclaimer in the documentation
+ and/or materials provided with the distribution.
+3. In addition, redistributions of modified forms of the source or binary
+ code must carry prominent notices stating that the original code was
+ changed and the date of the change.
+4. All publications or advertising materials mentioning features or use of
+ this software are asked, but not required, to acknowledge that it was
+ developed by The HDF Group and by the National Center for Supercomputing
+ Applications at the University of Illinois at Urbana-Champaign and
+ credit the contributors.
+5. Neither the name of The HDF Group, the name of the University, nor the
+ name of any Contributor may be used to endorse or promote products derived
+ from this software without specific prior written permission from The HDF
+ Group, the University, or the Contributor, respectively.
+shall The HDF Group or the Contributors be liable for any damages suffered
+by the users arising out of the use of this software, even if advised of
+the possibility of such damage.
+Contributors: National Center for Supercomputing Applications (NCSA) at
+the University of Illinois, Lawrence Livermore National Laboratory (LLNL),
+Sandia National Laboratories (SNL), Los Alamos National Laboratory (LANL),
+Fortner Software, Unidata Program Center (netCDF), The Independent JPEG
+Group (JPEG), Jean-loup Gailly and Mark Adler (gzip), and Digital Equipment
+Corporation (DEC).
+Portions of the HDF Java Products were developed with support from the
+University of California, Lawrence Livermore National Laboratory (UC LLNL).
+The following statement applies to those portions of the product
+and must be retained in any redistribution of source code, binaries,
+documentation, and/or accompanying materials:
+ This work was partially produced at the University of California,
+ Lawrence Livermore National Laboratory (UC LLNL) under contract no.
+ W-7405-ENG-48 (Contract 48) between the U.S. Department of Energy
+ (DOE) and The Regents of the University of California (University)
+ for the operation of UC LLNL.
+ This work was prepared as an account of work sponsored by an agency
+ of the United States Government. Neither the United States
+ Government nor the University of California nor any of their
+ employees, makes any warranty, express or implied, or assumes any
+ liability or responsibility for the accuracy, completeness, or
+ usefulness of any information, apparatus, product, or process
+ disclosed, or represents that its use would not infringe privately-
+ owned rights. Reference herein to any specific commercial products,
+ process, or service by trade name, trademark, manufacturer, or
+ otherwise, does not necessarily constitute or imply its endorsement,
+ recommendation, or favoring by the United States Government or the
+ University of California. The views and opinions of authors
+ expressed herein do not necessarily state or reflect those of the
+ United States Government or the University of California, and shall
+ not be used for advertising or product endorsement purposes.