Download raw body.
NEW: archivers/libaec
On Fri, Jul 04, 2025 at 09:06:53PM +0200, Marco van Hulten wrote:
> On Fri Jul 4, 2025 at 7:38 PM CEST, Stuart Henderson wrote:
> > On 2025/07/03 17:44, Marco van Hulten wrote:
> >> On Thu, 3 Jul 2025 17:41:30 +0200 Marco van Hulten wrote:
> >> > Hello,
> >> >
> >> > Attached is a new port of a compression algorithm library, which is a
> >> > drop-in replacement of Szip, needed for GRIB files, which are generated
> >> > by some atmospheric models.
> >> >
> >> > Martin Reindl was okay to link math/hdf5 to it (after he's back from
> >> > holidays). In turn, geo/cdo (recently submitted port that links to
> >> > hdf5) can then have GRIB support. This widens the use scope of CDO.
> >>
> >> Please, ignore the previous tgz file.
> >>
> >> Attached is the updated and correct one.
> >>
> >> Marco
> >
> > Version numbers for the installed libraries should start at 0.0
> > i.e.
> >
> > SHARED_LIBS += aec 0.0 # 1.4
> > SHARED_LIBS += sz 0.0 # 2.1
> >
> > otherwise ok sthen
>
> Thanks for checking. Update with those lines attached.
>
> Marco
Hi,
here is the update for hdf5 to use szip+aec as I/O filter.
Examples are moved to an own project.
Looking for more tests + feedback.
-m
Index: Makefile
===================================================================
RCS file: /cvs/ports/math/hdf5/Makefile,v
retrieving revision 1.28
diff -u -p -r1.28 Makefile
--- Makefile 10 Jan 2025 18:03:44 -0000 1.28
+++ Makefile 29 Jul 2025 06:30:47 -0000
@@ -3,19 +3,18 @@ ONLY_FOR_ARCHS = ${GCC49_ARCHS}
COMMENT = Hierarchical Data Format 5 Technology suite
-V = 1.14.4.3
+V = 1.14.6
DISTNAME = hdf5-${V}
GH_ACCOUNT = HDFGroup
GH_PROJECT = hdf5
GH_TAGNAME = ${DISTNAME:S/-/_/g}
-REVISION = 0
-SHARED_LIBS += hdf5 7.0 # 314.0
-SHARED_LIBS += hdf5_cpp 11.0 # 310.4
-SHARED_LIBS += hdf5_hl 6.0 # 310.4
-SHARED_LIBS += hdf5_hl_cpp 7.0 # 3104.
-SHARED_LIBS += hdf5_fortran 4.0 # 313.0
-SHARED_LIBS += hdf5hl_fortran 3.0 # 310.4
+SHARED_LIBS += hdf5 8.0 # 315.1
+SHARED_LIBS += hdf5_cpp 12.0 # 310.6
+SHARED_LIBS += hdf5_hl 7.0 # 310.6
+SHARED_LIBS += hdf5_hl_cpp 8.0 # 310.6
+SHARED_LIBS += hdf5_fortran 5.0 # 313.2
+SHARED_LIBS += hdf5hl_fortran 4.0 # 310.6
CATEGORIES = math
@@ -33,13 +32,15 @@ COMPILER = base-clang ports-gcc base-gc
# for h5fuse.sh
RUN_DEPENDS += shells/bash
+BUILD_DEPENDS += archivers/libaec
+
MODULES = fortran
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --enable-cxx \
--enable-fortran \
FC=egfortran \
- --with-examplesdir=${PREFIX}/share/examples/hdf5
+ --with-szlib=${PREFIX}/include,${PREFIX}/lib
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hdf5
Index: distinfo
===================================================================
RCS file: /cvs/ports/math/hdf5/distinfo,v
retrieving revision 1.15
diff -u -p -r1.15 distinfo
--- distinfo 6 Sep 2024 14:21:12 -0000 1.15
+++ distinfo 29 Jul 2025 06:30:47 -0000
@@ -1,2 +1,2 @@
-SHA256 (hdf5-1.14.4.3.tar.gz) = aQwdt7oP7U/6xhcJI2Z1/9mdldGR6JIO55xY1+fqM2E=
-SIZE (hdf5-1.14.4.3.tar.gz) = 36923567
+SHA256 (hdf5-1.14.6.tar.gz) = Ce4cZxqHQBpSAcBhBmUPYrre6lo7OUHpseLh4IMXNX8=
+SIZE (hdf5-1.14.6.tar.gz) = 39195022
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/math/hdf5/pkg/PLIST,v
retrieving revision 1.12
diff -u -p -r1.12 PLIST
--- pkg/PLIST 6 Sep 2024 14:21:12 -0000 1.12
+++ pkg/PLIST 29 Jul 2025 06:30:47 -0000
@@ -176,108 +176,3 @@ lib/libhdf5hl_fortran.la
@lib lib/libhdf5hl_fortran.so.${LIBhdf5hl_fortran_VERSION}
share/doc/hdf5/
share/doc/hdf5/COPYING
-share/examples/hdf5/
-share/examples/hdf5/README
-share/examples/hdf5/c/
-share/examples/hdf5/c++/
-share/examples/hdf5/c++/chunks.cpp
-share/examples/hdf5/c++/compound.cpp
-share/examples/hdf5/c++/create.cpp
-share/examples/hdf5/c++/extend_ds.cpp
-share/examples/hdf5/c++/h5group.cpp
-share/examples/hdf5/c++/h5tutr_cmprss.cpp
-share/examples/hdf5/c++/h5tutr_crtatt.cpp
-share/examples/hdf5/c++/h5tutr_crtdat.cpp
-share/examples/hdf5/c++/h5tutr_crtgrp.cpp
-share/examples/hdf5/c++/h5tutr_crtgrpar.cpp
-share/examples/hdf5/c++/h5tutr_crtgrpd.cpp
-share/examples/hdf5/c++/h5tutr_extend.cpp
-share/examples/hdf5/c++/h5tutr_rdwt.cpp
-share/examples/hdf5/c++/h5tutr_subset.cpp
-share/examples/hdf5/c++/readdata.cpp
-share/examples/hdf5/c++/run-c++-ex.sh
-share/examples/hdf5/c++/writedata.cpp
-share/examples/hdf5/c/h5_attribute.c
-share/examples/hdf5/c/h5_chunk_read.c
-share/examples/hdf5/c/h5_cmprss.c
-share/examples/hdf5/c/h5_compound.c
-share/examples/hdf5/c/h5_crtatt.c
-share/examples/hdf5/c/h5_crtdat.c
-share/examples/hdf5/c/h5_crtgrp.c
-share/examples/hdf5/c/h5_crtgrpar.c
-share/examples/hdf5/c/h5_crtgrpd.c
-share/examples/hdf5/c/h5_debug_trace.c
-share/examples/hdf5/c/h5_drivers.c
-share/examples/hdf5/c/h5_elink_unix2win.c
-share/examples/hdf5/c/h5_extend.c
-share/examples/hdf5/c/h5_extend_write.c
-share/examples/hdf5/c/h5_extlink.c
-share/examples/hdf5/c/h5_group.c
-share/examples/hdf5/c/h5_mount.c
-share/examples/hdf5/c/h5_rdwt.c
-share/examples/hdf5/c/h5_read.c
-share/examples/hdf5/c/h5_ref2reg_deprec.c
-share/examples/hdf5/c/h5_ref_compat.c
-share/examples/hdf5/c/h5_ref_extern.c
-share/examples/hdf5/c/h5_reference_deprec.c
-share/examples/hdf5/c/h5_select.c
-share/examples/hdf5/c/h5_shared_mesg.c
-share/examples/hdf5/c/h5_subset.c
-share/examples/hdf5/c/h5_write.c
-share/examples/hdf5/c/run-c-ex.sh
-share/examples/hdf5/fortran/
-share/examples/hdf5/fortran/compound.f90
-share/examples/hdf5/fortran/compound_complex_fortran2003.f90
-share/examples/hdf5/fortran/compound_fortran2003.f90
-share/examples/hdf5/fortran/h5_cmprss.f90
-share/examples/hdf5/fortran/h5_crtatt.f90
-share/examples/hdf5/fortran/h5_crtdat.f90
-share/examples/hdf5/fortran/h5_crtgrp.f90
-share/examples/hdf5/fortran/h5_crtgrpar.f90
-share/examples/hdf5/fortran/h5_crtgrpd.f90
-share/examples/hdf5/fortran/h5_extend.f90
-share/examples/hdf5/fortran/h5_rdwt.f90
-share/examples/hdf5/fortran/h5_subset.f90
-share/examples/hdf5/fortran/hyperslab.f90
-share/examples/hdf5/fortran/mountexample.f90
-share/examples/hdf5/fortran/nested_derived_type.f90
-share/examples/hdf5/fortran/ph5example.f90
-share/examples/hdf5/fortran/refobjexample.f90
-share/examples/hdf5/fortran/refregexample.f90
-share/examples/hdf5/fortran/run-fortran-ex.sh
-share/examples/hdf5/fortran/rwdset_fortran2003.f90
-share/examples/hdf5/fortran/selectele.f90
-share/examples/hdf5/hl/
-share/examples/hdf5/hl/c/
-share/examples/hdf5/hl/c++/
-share/examples/hdf5/hl/c++/ptExampleFL.cpp
-share/examples/hdf5/hl/c++/run-hlc++-ex.sh
-share/examples/hdf5/hl/c/ex_ds1.c
-share/examples/hdf5/hl/c/ex_image1.c
-share/examples/hdf5/hl/c/ex_image2.c
-share/examples/hdf5/hl/c/ex_lite1.c
-share/examples/hdf5/hl/c/ex_lite2.c
-share/examples/hdf5/hl/c/ex_lite3.c
-share/examples/hdf5/hl/c/ex_table_01.c
-share/examples/hdf5/hl/c/ex_table_02.c
-share/examples/hdf5/hl/c/ex_table_03.c
-share/examples/hdf5/hl/c/ex_table_04.c
-share/examples/hdf5/hl/c/ex_table_05.c
-share/examples/hdf5/hl/c/ex_table_06.c
-share/examples/hdf5/hl/c/ex_table_07.c
-share/examples/hdf5/hl/c/ex_table_08.c
-share/examples/hdf5/hl/c/ex_table_09.c
-share/examples/hdf5/hl/c/ex_table_10.c
-share/examples/hdf5/hl/c/ex_table_11.c
-share/examples/hdf5/hl/c/ex_table_12.c
-share/examples/hdf5/hl/c/image24pixel.txt
-share/examples/hdf5/hl/c/image8.txt
-share/examples/hdf5/hl/c/pal_rgb.h
-share/examples/hdf5/hl/c/ptExampleFL.c
-share/examples/hdf5/hl/c/run-hlc-ex.sh
-share/examples/hdf5/hl/fortran/
-share/examples/hdf5/hl/fortran/ex_ds1.f90
-share/examples/hdf5/hl/fortran/exlite.f90
-share/examples/hdf5/hl/fortran/run-hlfortran-ex.sh
-share/examples/hdf5/hl/run-hl-ex.sh
-share/examples/hdf5/run-all-ex.sh
NEW: archivers/libaec