Download raw body.
[update]astro/gnuastro: update to 0.23
Hi,
Here is a patch for astro/gnuastro to update to 0.23.
It build and run well on my amd64-current system.
But there are 11 tests failed (while current version had only 9 tests
failed in all 75 tests ) in all 80 tests.
Cheers !
wen
Index: astro/gnuastro/Makefile
===================================================================
RCS file: /cvs/ports/astro/gnuastro/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- astro/gnuastro/Makefile 8 Jun 2025 08:44:42 -0000 1.17
+++ astro/gnuastro/Makefile 28 Jul 2025 07:46:21 -0000
@@ -1,11 +1,11 @@
USE_NOBTCFI-aarch64 = Yes# fortran
COMMENT = GNU Astronomy Utilities
-DISTNAME = gnuastro-0.18
+DISTNAME = gnuastro-0.23
CATEGORIES = astro
-REVISION = 6
-SHARED_LIBS += gnuastro 3.1 # 16.0
+SHARED_LIBS += gnuastro 3.1 # 21.0
+SHARED_LIBS += gnuastro_make 21.0 # 21.0
HOMEPAGE = https://www.gnu.org/software/gnuastro/
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
@@ -35,7 +35,7 @@ CONFIGURE_STYLE = gnu
USE_GMAKE = Yes
-FAKE_FLAGS = sysconfdir="${PREFIX}/share/examples/gnuastro"
+FAKE_FLAGS = sysconfdir="${PREFIX}/share/examples"
# Move bash completion file to the appropriate directory.
# Also, rename it to something more identifiable.
Index: astro/gnuastro/distinfo
===================================================================
RCS file: /cvs/ports/astro/gnuastro/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- astro/gnuastro/distinfo 14 Aug 2022 14:07:01 -0000 1.7
+++ astro/gnuastro/distinfo 28 Jul 2025 07:46:21 -0000
@@ -1,2 +1,2 @@
-SHA256 (gnuastro-0.18.tar.gz) = bKfiLhQFERdMbwL9+UitCL8/dB/k6YKNjBzfKnCtWec=
-SIZE (gnuastro-0.18.tar.gz) = 6754502
+SHA256 (gnuastro-0.23.tar.gz) = +X53X/tZgcY/it++lY/Ov5FHwT8OfpZAfd398zs/dwI=
+SIZE (gnuastro-0.23.tar.gz) = 7912291
Index: astro/gnuastro/patches/patch-configure
===================================================================
RCS file: /cvs/ports/astro/gnuastro/patches/patch-configure,v
retrieving revision 1.7
diff -u -p -r1.7 patch-configure
--- astro/gnuastro/patches/patch-configure 14 Aug 2022 14:07:01 -0000 1.7
+++ astro/gnuastro/patches/patch-configure 28 Jul 2025 07:46:21 -0000
@@ -3,16 +3,16 @@ Remove hardcoded -O3
Index: configure
--- configure.orig
+++ configure
-@@ -21353,7 +21353,7 @@ if test "x$enable_debug" = "xyes"
+@@ -22247,7 +22247,7 @@ if test "x$enable_debug" = "xyes"
then :
cflags_add="-g -O0"; enable_shared=no
- else $as_nop
-- cflags_add="-O3"
-+ cflags_add=""
+ else case e in #(
+- e) cflags_add="-O3" ;;
++ e) cflags_add="" ;;
+ esac
fi
CFLAGS="-Wall $cflags_add $CFLAGS"
- CXXFLAGS="-Wall $cflags_add $CXXFLAGS"
-@@ -30660,7 +30660,7 @@ printf %s "checking for shell to use with libtool... "
+@@ -31531,7 +31531,7 @@ printf %s "checking for shell to use with libtool... "
cprog=libtool_shell_test.c
printf "%s\n" "#include <stdio.h>" > $cprog
printf "%s\n" "int main(void){printf(\"success\\n\"); return 0;}" >> $cprog
Index: astro/gnuastro/pkg/PLIST
===================================================================
RCS file: /cvs/ports/astro/gnuastro/pkg/PLIST,v
retrieving revision 1.7
diff -u -p -r1.7 PLIST
--- astro/gnuastro/pkg/PLIST 14 Aug 2022 14:07:01 -0000 1.7
+++ astro/gnuastro/pkg/PLIST 28 Jul 2025 07:46:21 -0000
@@ -7,12 +7,13 @@
@bin bin/astfits
@bin bin/astmatch
@bin bin/astmkcatalog
-@bin bin/astmknoise
@bin bin/astmkprof
@bin bin/astnoisechisel
@bin bin/astquery
+bin/astscript-color-faint-gray
bin/astscript-ds9-region
bin/astscript-fits-view
+bin/astscript-pointing-simulate
bin/astscript-psf-scale-factor
bin/astscript-psf-select-stars
bin/astscript-psf-stamp
@@ -20,6 +21,7 @@ bin/astscript-psf-subtract
bin/astscript-psf-unite
bin/astscript-radial-profile
bin/astscript-sort-by-night
+bin/astscript-zeropoint
@bin bin/astsegment
@bin bin/aststatistics
@bin bin/asttable
@@ -30,6 +32,7 @@ include/gnuastro/array.h
include/gnuastro/binary.h
include/gnuastro/blank.h
include/gnuastro/box.h
+include/gnuastro/color.h
include/gnuastro/config.h
include/gnuastro/convolve.h
include/gnuastro/cosmology.h
@@ -37,6 +40,7 @@ include/gnuastro/data.h
include/gnuastro/dimension.h
include/gnuastro/ds9.h
include/gnuastro/eps.h
+include/gnuastro/fit.h
include/gnuastro/fits.h
include/gnuastro/git.h
include/gnuastro/interpolate.h
@@ -49,6 +53,7 @@ include/gnuastro/pdf.h
include/gnuastro/permutation.h
include/gnuastro/pointer.h
include/gnuastro/polygon.h
+include/gnuastro/pool.h
include/gnuastro/qsort.h
include/gnuastro/speclines.h
include/gnuastro/statistics.h
@@ -59,9 +64,14 @@ include/gnuastro/tile.h
include/gnuastro/txt.h
include/gnuastro/type.h
include/gnuastro/units.h
+include/gnuastro/warp.h
include/gnuastro/wcs.h
info/gnuastro-figures/
info/gnuastro-figures/README
+info/gnuastro-figures/color-names.eps
+info/gnuastro-figures/color-names.pdf
+info/gnuastro-figures/color-names.png
+info/gnuastro-figures/color-names.txt
info/gnuastro-figures/done.txt
info/gnuastro-figures/epicycles.eps
info/gnuastro-figures/epicycles.png
@@ -90,6 +100,9 @@ info/gnuastro-figures/sphereandplane.txt
@static-lib lib/libgnuastro.a
lib/libgnuastro.la
@lib lib/libgnuastro.so.${LIBgnuastro_VERSION}
+@static-lib lib/libgnuastro_make.a
+lib/libgnuastro_make.la
+@lib lib/libgnuastro_make.so.${LIBgnuastro_make_VERSION}
lib/pkgconfig/gnuastro.pc
@man man/man1/astarithmetic.1
@man man/man1/astbuildprog.1
@@ -100,12 +113,12 @@ lib/pkgconfig/gnuastro.pc
@man man/man1/astfits.1
@man man/man1/astmatch.1
@man man/man1/astmkcatalog.1
-@man man/man1/astmknoise.1
@man man/man1/astmkprof.1
@man man/man1/astnoisechisel.1
@man man/man1/astquery.1
@man man/man1/astscript-ds9-region.1
@man man/man1/astscript-fits-view.1
+@man man/man1/astscript-pointing-simulate.1
@man man/man1/astscript-psf-scale-factor.1
@man man/man1/astscript-psf-select-stars.1
@man man/man1/astscript-psf-stamp.1
@@ -113,6 +126,7 @@ lib/pkgconfig/gnuastro.pc
@man man/man1/astscript-psf-unite.1
@man man/man1/astscript-radial-profile.1
@man man/man1/astscript-sort-by-night.1
+@man man/man1/astscript-zeropoint.1
@man man/man1/astsegment.1
@man man/man1/aststatistics.1
@man man/man1/asttable.1
@@ -141,8 +155,6 @@ share/examples/gnuastro/astmatch.conf
@sample ${SYSCONFDIR}/astmatch.conf
share/examples/gnuastro/astmkcatalog.conf
@sample ${SYSCONFDIR}/astmkcatalog.conf
-share/examples/gnuastro/astmknoise.conf
-@sample ${SYSCONFDIR}/astmknoise.conf
share/examples/gnuastro/astmkprof-3d.conf
@sample ${SYSCONFDIR}/astmkprof-3d.conf
share/examples/gnuastro/astmkprof.conf
[update]astro/gnuastro: update to 0.23