sci-libs/hdf
General purpose library and format for storing scientific data
ChangeLog
commit a530bd48b06e0ee2ed444c5b1b3c62a24221ab71
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Sep 10 09:15:06 2026 +0200
sci-libs/hdf: clarify Fortran compatibility flag
commit ad0fc007f62fc66d65aeec771178f73a7878ad3c
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Sep 10 06:37:51 2026 +0200
sci-libs/hdf: trim 4.2.16 comment prose
commit 09f5e86b660b4cfdf4ca7ae8e14a3c251284d6b3
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Sep 10 04:50:09 2026 +0200
sci-libs/hdf: trim 4.3.1 comment prose
commit 0f904fa560c7440992b5717c27a13820fe7bb641
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Sep 10 01:12:12 2026 +0200
sci-libs/hdf: trim 4.4.0 comment prose
commit 7141d906d65a511f53a744ba3c50575f5aa43ac8
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Sep 10 11:33:22 2026 +0200
sci-libs/hdf: Keyword 4.4.0 for ~amd64
sci-physics/mantid-6.16.1.1-r1 requires HDF 4.4 and is keyworded for
~amd64 alongside this, so 4.4.0 has to be visible there too. The
subslot moves to 0/11 with the SONAME, so := consumers get rebuilt on
upgrade instead of being left linking the removed libdf.so.0.
commit 2f96ed10517768c8ee966cc579371232400da934
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Tue Sep 8 23:47:55 2026 +0200
sci-libs/hdf: Keyword 4.4.0 for ~arm64
commit 765eb696f27bd3e9aa3a7433708c9f096ade7453
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Tue Sep 8 23:33:27 2026 +0200
sci-libs/hdf: fix pkg-config metadata
Upstream writes a literal lib into libdir, and emits CMake imported targets
and absolute library paths where hdf.pc needs plain -l arguments.
commit cfd098cebe65cce24de38b40f72b4f00f9712f07
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Fri Sep 4 09:27:47 2026 +0200
sci-libs/hdf: add 4.4.0
Upstream removed the autotools build system in 4.4.0 -- no configure.ac,
no Makefile.am, no bootstrap left in the tarball -- so this is a port to
cmake.eclass rather than a version bump, and the 4.3.1 ebuild's
autotools scaffolding retires with it: the three configure.ac seds that
kept --enable-shared alive alongside --enable-fortran, the commence.am
rpath sed, the netcdf switches, and a .la cleanup a CMake build never
needs.
Ported against the installed 4.3.1 file list rather than by reading the
options, which is what surfaced the two silent gaps:
- HDF4_INSTALL_LIB_DIR and friends. HDF4 never consults GNUInstallDirs,
so the CMAKE_INSTALL_LIBDIR cmake.eclass sets is ignored, libraries
land in /usr/lib and the CMake package files in /usr/cmake. The first
is caught by multilib-strict; the second is not.
- HDF4_BUILD_UTILS, which defaults to OFF and is not implied by
HDF4_BUILD_TOOLS. Without it seventeen of the twenty-four binaries
4.3.1 shipped just disappear -- the raster, palette and GIF/JPEG
converters plus vshow and vmake. Their sources still ship, so nothing
warns.
Upstream removals, all deliberate: libdf becomes libhdf with the SONAME
moving 0 -> 11 (upstream's install(CODE) compat symlink silently
produces nothing, so SLOT gains a /11 subslot); hdf2netcdf.h and
hdf4_netcdf.h go with the netCDF interface, which RELEASE.txt records
being dropped from C and Fortran alike; h4redeploy was never ported to
CMake; and bugs_fixed.txt and misc_docs.txt are gone from the renamed
release_docs directory. In exchange there is now a pkg-config file and a
CMake package config.
The XDR note is rewritten rather than carried over. It stayed true --
still no libtirpc -- but for a new reason: 4.4.0 has no XDR sources at
all, because XDR existed to serve the netCDF-2 interface this release
removes.
Both in-tree consumers are capped at <sci-libs/hdf-4.4 in their own
commits. 4.4.0 adds a size_t out-parameter to Vgetname and Vgetclass,
and the vendored NeXus napi4 sources in sci-physics/mantid and
sci-libs/nexus[hdf4] both call the two-argument form, so they fail to
compile against it.
Shipped unkeyworded for that reason -- unmask the exact version to
install it, the way sci-physics/mantid is handled. It builds and
installs cleanly, so this is not a quality judgement; it is that a
version which cannot coexist with the two packages that consume it does
not belong in the normal ~arch upgrade path. The caps and the empty
KEYWORDS do different jobs: the caps stop a deliberate unmask from
breaking an installed consumer, the empty KEYWORDS stops anyone
arriving here without meaning to. Restore 4.3.1's keyword list once the
napi4 call sites are adapted.
commit 4e61c67f3d6dc2a03d32c8f3b73d505f3616c213
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat Jun 20 15:49:40 2026 +0200
sci-libs/hdf: Keyword 4.2.16 for ~arm64
commit 0a50623a072fccc711f339f570cac867cd9915ed
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Tue Jun 16 20:28:45 2026 +0200
sci-libs/hdf: Keyword 4.3.1 for ~arm64
aarch64-portable; no architecture-specific code.
commit e97de13a38b021846c6375f8f314c1e2dd7e23cc
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat May 9 22:33:26 2026 +0200
sci-libs/hdf: fix dead hdfgroup.org/hdf4.html HOMEPAGE
The HDF4 landing page moved from /hdf4.html to /solutions/hdf4/; the old URL returns
404. Update both versions for consistency.
commit 67b83d0b93c758932d18b9e618bd9ed4241fdfe9
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 29 16:33:45 2026 +0200
sci-libs/hdf: move 4.2.16 to GitHub tarball for SRC_URI uniformity
The hdf-wordpress-1.s3.amazonaws.com/manual/HDF4/.../src/ path is
now intermittently 403'ing and is in any case unauthoritative; the
canonical 4.2.x tag is hdf-4_2_16-2 on github.com/HDFGroup/hdf4.
Use ver_rs to derive the underscore form from PV, drop the trailing
-2 patchlevel into S=. Both 4.2.16 and 4.3.1 now fetch from the same
GitHub repo with matching naming conventions.
commit e738cabc3a4e9ad95804330c2f824a80ca0c5055
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 29 15:53:03 2026 +0200
sci-libs/hdf: add 4.3.1, switch to GitHub source
Upstream 4.3.x ships from GitHub (the s3 wordpress mirror is HTTP 403
now) and bundles its own XDR (mfhdf/libsrc/h4_xdr.c), so libtirpc is
no longer required at link time. Apply the existing fortran-shared
fix-ups via sed in src_prepare instead of a patch, since line numbers
drift between 4.2.x and 4.3.x. The autotools install rule for the
old in-tree examples is gone; copy HDF4Examples/ verbatim under
USE=examples so the flag remains useful.
Keep 4.2.16 alongside (still on the legacy s3 distfile path).
commit 92cc8000c8e38dbf069b68ca217af0873dcad1e4
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 22 22:31:20 2026 +0200
*/*: normalize personal-maintainer metadata.xml
Unify the three styles that had accumulated across the overlay
(pf-sources-style tab+email-only, bidict-style 2-space+name,
plus a handful of one-off indents) onto a single canonical form:
- DTD URL on https
- 2-space indentation
- <maintainer type="person"> with both <email> and
<name>Ivan S. Titov</name>
Only the Titov maintainer block is touched; co-maintainers and
::gentoo proxy-project maintainers in forked packages are left
as-is. 66 files changed; pkgcheck scan identical before and
after.
commit 3a1979a15a7889d8b0103b5b81ce3e458d1888f5
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 22 13:28:14 2026 +0200
sci-libs/hdf: local bump to 4.2.16 (gcc 15 fix)
::gentoo's sci-libs/hdf-4.2.15-r2 fails to compile on gcc 15 per
Gentoo bug 942866 (incompatible pointer type in xdrposix.c and K&R
function definitions elsewhere). The ::gentoo fix is stuck --
upstream 4.3.1 fails self-tests, 4.2.16 bump hasn't landed.
Imports Michael Uleysky's proposed ebuild from bug 957897 attachment
935615. Small cleanups vs the attachment: switched virtual/jpeg:0 to
media-libs/libjpeg-turbo:= (old virtual was deprecated in 2022),
sys-libs/zlib to virtual/zlib, collapsed the duplicated literal
version in SRC_URI into $ form, dropped Prefix keywords we don't
carry.
Needed to build sci-physics/mantid, which hard-requires HDF4 via
LegacyNexus. Drop once ::gentoo lands 4.2.16+.
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Sep 10 09:15:06 2026 +0200
sci-libs/hdf: clarify Fortran compatibility flag
commit ad0fc007f62fc66d65aeec771178f73a7878ad3c
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Sep 10 06:37:51 2026 +0200
sci-libs/hdf: trim 4.2.16 comment prose
commit 09f5e86b660b4cfdf4ca7ae8e14a3c251284d6b3
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Sep 10 04:50:09 2026 +0200
sci-libs/hdf: trim 4.3.1 comment prose
commit 0f904fa560c7440992b5717c27a13820fe7bb641
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Sep 10 01:12:12 2026 +0200
sci-libs/hdf: trim 4.4.0 comment prose
commit 7141d906d65a511f53a744ba3c50575f5aa43ac8
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Thu Sep 10 11:33:22 2026 +0200
sci-libs/hdf: Keyword 4.4.0 for ~amd64
sci-physics/mantid-6.16.1.1-r1 requires HDF 4.4 and is keyworded for
~amd64 alongside this, so 4.4.0 has to be visible there too. The
subslot moves to 0/11 with the SONAME, so := consumers get rebuilt on
upgrade instead of being left linking the removed libdf.so.0.
commit 2f96ed10517768c8ee966cc579371232400da934
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Tue Sep 8 23:47:55 2026 +0200
sci-libs/hdf: Keyword 4.4.0 for ~arm64
commit 765eb696f27bd3e9aa3a7433708c9f096ade7453
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Tue Sep 8 23:33:27 2026 +0200
sci-libs/hdf: fix pkg-config metadata
Upstream writes a literal lib into libdir, and emits CMake imported targets
and absolute library paths where hdf.pc needs plain -l arguments.
commit cfd098cebe65cce24de38b40f72b4f00f9712f07
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Fri Sep 4 09:27:47 2026 +0200
sci-libs/hdf: add 4.4.0
Upstream removed the autotools build system in 4.4.0 -- no configure.ac,
no Makefile.am, no bootstrap left in the tarball -- so this is a port to
cmake.eclass rather than a version bump, and the 4.3.1 ebuild's
autotools scaffolding retires with it: the three configure.ac seds that
kept --enable-shared alive alongside --enable-fortran, the commence.am
rpath sed, the netcdf switches, and a .la cleanup a CMake build never
needs.
Ported against the installed 4.3.1 file list rather than by reading the
options, which is what surfaced the two silent gaps:
- HDF4_INSTALL_LIB_DIR and friends. HDF4 never consults GNUInstallDirs,
so the CMAKE_INSTALL_LIBDIR cmake.eclass sets is ignored, libraries
land in /usr/lib and the CMake package files in /usr/cmake. The first
is caught by multilib-strict; the second is not.
- HDF4_BUILD_UTILS, which defaults to OFF and is not implied by
HDF4_BUILD_TOOLS. Without it seventeen of the twenty-four binaries
4.3.1 shipped just disappear -- the raster, palette and GIF/JPEG
converters plus vshow and vmake. Their sources still ship, so nothing
warns.
Upstream removals, all deliberate: libdf becomes libhdf with the SONAME
moving 0 -> 11 (upstream's install(CODE) compat symlink silently
produces nothing, so SLOT gains a /11 subslot); hdf2netcdf.h and
hdf4_netcdf.h go with the netCDF interface, which RELEASE.txt records
being dropped from C and Fortran alike; h4redeploy was never ported to
CMake; and bugs_fixed.txt and misc_docs.txt are gone from the renamed
release_docs directory. In exchange there is now a pkg-config file and a
CMake package config.
The XDR note is rewritten rather than carried over. It stayed true --
still no libtirpc -- but for a new reason: 4.4.0 has no XDR sources at
all, because XDR existed to serve the netCDF-2 interface this release
removes.
Both in-tree consumers are capped at <sci-libs/hdf-4.4 in their own
commits. 4.4.0 adds a size_t out-parameter to Vgetname and Vgetclass,
and the vendored NeXus napi4 sources in sci-physics/mantid and
sci-libs/nexus[hdf4] both call the two-argument form, so they fail to
compile against it.
Shipped unkeyworded for that reason -- unmask the exact version to
install it, the way sci-physics/mantid is handled. It builds and
installs cleanly, so this is not a quality judgement; it is that a
version which cannot coexist with the two packages that consume it does
not belong in the normal ~arch upgrade path. The caps and the empty
KEYWORDS do different jobs: the caps stop a deliberate unmask from
breaking an installed consumer, the empty KEYWORDS stops anyone
arriving here without meaning to. Restore 4.3.1's keyword list once the
napi4 call sites are adapted.
commit 4e61c67f3d6dc2a03d32c8f3b73d505f3616c213
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat Jun 20 15:49:40 2026 +0200
sci-libs/hdf: Keyword 4.2.16 for ~arm64
commit 0a50623a072fccc711f339f570cac867cd9915ed
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Tue Jun 16 20:28:45 2026 +0200
sci-libs/hdf: Keyword 4.3.1 for ~arm64
aarch64-portable; no architecture-specific code.
commit e97de13a38b021846c6375f8f314c1e2dd7e23cc
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat May 9 22:33:26 2026 +0200
sci-libs/hdf: fix dead hdfgroup.org/hdf4.html HOMEPAGE
The HDF4 landing page moved from /hdf4.html to /solutions/hdf4/; the old URL returns
404. Update both versions for consistency.
commit 67b83d0b93c758932d18b9e618bd9ed4241fdfe9
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 29 16:33:45 2026 +0200
sci-libs/hdf: move 4.2.16 to GitHub tarball for SRC_URI uniformity
The hdf-wordpress-1.s3.amazonaws.com/manual/HDF4/.../src/ path is
now intermittently 403'ing and is in any case unauthoritative; the
canonical 4.2.x tag is hdf-4_2_16-2 on github.com/HDFGroup/hdf4.
Use ver_rs to derive the underscore form from PV, drop the trailing
-2 patchlevel into S=. Both 4.2.16 and 4.3.1 now fetch from the same
GitHub repo with matching naming conventions.
commit e738cabc3a4e9ad95804330c2f824a80ca0c5055
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 29 15:53:03 2026 +0200
sci-libs/hdf: add 4.3.1, switch to GitHub source
Upstream 4.3.x ships from GitHub (the s3 wordpress mirror is HTTP 403
now) and bundles its own XDR (mfhdf/libsrc/h4_xdr.c), so libtirpc is
no longer required at link time. Apply the existing fortran-shared
fix-ups via sed in src_prepare instead of a patch, since line numbers
drift between 4.2.x and 4.3.x. The autotools install rule for the
old in-tree examples is gone; copy HDF4Examples/ verbatim under
USE=examples so the flag remains useful.
Keep 4.2.16 alongside (still on the legacy s3 distfile path).
commit 92cc8000c8e38dbf069b68ca217af0873dcad1e4
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 22 22:31:20 2026 +0200
*/*: normalize personal-maintainer metadata.xml
Unify the three styles that had accumulated across the overlay
(pf-sources-style tab+email-only, bidict-style 2-space+name,
plus a handful of one-off indents) onto a single canonical form:
- DTD URL on https
- 2-space indentation
- <maintainer type="person"> with both <email> and
<name>Ivan S. Titov</name>
Only the Titov maintainer block is touched; co-maintainers and
::gentoo proxy-project maintainers in forked packages are left
as-is. 66 files changed; pkgcheck scan identical before and
after.
commit 3a1979a15a7889d8b0103b5b81ce3e458d1888f5
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 22 13:28:14 2026 +0200
sci-libs/hdf: local bump to 4.2.16 (gcc 15 fix)
::gentoo's sci-libs/hdf-4.2.15-r2 fails to compile on gcc 15 per
Gentoo bug 942866 (incompatible pointer type in xdrposix.c and K&R
function definitions elsewhere). The ::gentoo fix is stuck --
upstream 4.3.1 fails self-tests, 4.2.16 bump hasn't landed.
Imports Michael Uleysky's proposed ebuild from bug 957897 attachment
935615. Small cleanups vs the attachment: switched virtual/jpeg:0 to
media-libs/libjpeg-turbo:= (old virtual was deprecated in 2022),
sys-libs/zlib to virtual/zlib, collapsed the duplicated literal
version in SRC_URI into $ form, dropped Prefix keywords we don't
carry.
Needed to build sci-physics/mantid, which hard-requires HDF4 via
LegacyNexus. Drop once ::gentoo lands 4.2.16+.


View
Download
Browse