Hi wen --

On 8/13/2022 5:40 AM, wen heping wrote:
> Hi,
> 
>    Here is a patch for astro/gnuastro to update to 0.18.
>    It build and run well on amd64-current system.
>    There are 9 tests fail in total 75 tests, while there are 
> 5 tests fail in 0.17 version.
> 
> 
> Cheers !
> wen 

Thanks for the diff. I think your diff might be a little incomplete. I
noticed that when I ran `make update-patches`, one of the patches
changed. I also noticed that some items were added to the PLIST when I
ran `make update-plist`.

While here, DISTNAME and PKGNAME are identical, so that can be simplified.

What do you think of the attached diff?

~Brian
Index: Makefile
===================================================================
RCS file: /cvs/ports/astro/gnuastro/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- Makefile    15 Jul 2022 08:48:42 -0000      1.8
+++ Makefile    13 Aug 2022 16:28:57 -0000
@@ -1,10 +1,8 @@
 COMMENT =      GNU Astronomy Utilities
-DISTNAME =     gnuastro-0.17
+DISTNAME =     gnuastro-0.18
 CATEGORIES =   astro
-PKGNAME =      gnuastro-0.17
-REVISION =     0
 
-SHARED_LIBS += gnuastro                  3.0 # 15.0
+SHARED_LIBS += gnuastro                  3.1 # 16.0
 
 HOMEPAGE =     https://www.gnu.org/software/gnuastro/
 MAINTAINER =   Brian Callahan <[email protected]>
Index: distinfo
===================================================================
RCS file: /cvs/ports/astro/gnuastro/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo    4 Jun 2022 11:01:43 -0000       1.6
+++ distinfo    13 Aug 2022 16:28:57 -0000
@@ -1,2 +1,2 @@
-SHA256 (gnuastro-0.17.tar.gz) = xBvtM8wkDOqXg/Q2dNfPR0R0ZgRm4QiPJZoLDKivaPU=
-SIZE (gnuastro-0.17.tar.gz) = 6283550
+SHA256 (gnuastro-0.18.tar.gz) = bKfiLhQFERdMbwL9+UitCL8/dB/k6YKNjBzfKnCtWec=
+SIZE (gnuastro-0.18.tar.gz) = 6754502
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/astro/gnuastro/patches/patch-configure,v
retrieving revision 1.6
diff -u -p -r1.6 patch-configure
--- patches/patch-configure     4 Jun 2022 11:01:43 -0000       1.6
+++ patches/patch-configure     13 Aug 2022 16:28:57 -0000
@@ -3,7 +3,7 @@ Remove hardcoded -O3
 Index: configure
 --- configure.orig
 +++ configure
-@@ -21239,7 +21239,7 @@ if test "x$enable_debug" = "xyes"
+@@ -21353,7 +21353,7 @@ if test "x$enable_debug" = "xyes"
  then :
    cflags_add="-g -O0"; enable_shared=no
  else $as_nop
@@ -12,7 +12,7 @@ Index: configure
  fi
  CFLAGS="-Wall $cflags_add $CFLAGS"
  CXXFLAGS="-Wall $cflags_add $CXXFLAGS"
-@@ -30528,7 +30528,7 @@ printf %s "checking for shell to use with libtool... "
+@@ -30660,7 +30660,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: pkg/PLIST
===================================================================
RCS file: /cvs/ports/astro/gnuastro/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST
--- pkg/PLIST   4 Jun 2022 11:01:44 -0000       1.6
+++ pkg/PLIST   13 Aug 2022 16:28:57 -0000
@@ -70,6 +70,10 @@ info/gnuastro-figures/flatplane.eps
 info/gnuastro-figures/flatplane.pdf
 info/gnuastro-figures/flatplane.png
 info/gnuastro-figures/flatplane.txt
+info/gnuastro-figures/gnuastro.eps
+info/gnuastro-figures/gnuastro.pdf
+info/gnuastro-figures/gnuastro.svg
+info/gnuastro-figures/gnuastro.txt
 info/gnuastro-figures/iandtime.eps
 info/gnuastro-figures/iandtime.pdf
 info/gnuastro-figures/iandtime.png

Reply via email to