Bug 258175 - astro/geographiclib: Update to 1.52
Summary: astro/geographiclib: Update to 1.52
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Rainer Hurling
URL: https://sourceforge.net/p/geographicl...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-30 23:10 UTC by Tatsuki Makino
Modified: 2021-09-01 08:08 UTC (History)
3 users (show)

See Also:


Attachments
patch for astro/geographiclib (5.22 KB, patch)
2021-08-30 23:10 UTC, Tatsuki Makino
tatsuki_makino: maintainer-approval+
Details | Diff
poudriere log (423.48 KB, text/plain)
2021-08-30 23:11 UTC, Tatsuki Makino
no flags Details
pet portclippy with sorted Makefile (11.13 KB, patch)
2021-08-31 10:15 UTC, Rainer Hurling
tatsuki_makino: maintainer-approval-
Details | Diff
patch for astro/geographiclib (7.33 KB, patch)
2021-09-01 00:52 UTC, Tatsuki Makino
tatsuki_makino: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tatsuki Makino 2021-08-30 23:10:23 UTC
Created attachment 227560 [details]
patch for astro/geographiclib

GeographicLib has been updated to version 1.52.

News of the release
https://sourceforge.net/p/geographiclib/news/2021/06/geographiclib-152-released-2021-06-22/

The option PREC5 is still broken. (The default is PREC2.)
Comment 1 Tatsuki Makino 2021-08-30 23:11:13 UTC
Created attachment 227561 [details]
poudriere log
Comment 2 Fernando Apesteguía freebsd_committer freebsd_triage 2021-08-31 07:58:57 UTC
^Triage: If there is a changelog or release notes URL available for this version, please add it to the URL field.

^Triage: Maintainer-feedback flag (+) not required unless requested (?) first.


Thanks!
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2021-08-31 07:59:47 UTC
Mid-air collision with Rainer :-)
Comment 4 Rainer Hurling freebsd_committer freebsd_triage 2021-08-31 10:15:06 UTC
Created attachment 227568 [details]
pet portclippy with sorted Makefile

Thanks for the patch!

I tested on Poudriere and a real life box and it seems fine so far :D

portclippy complains about the sorting of some Makefile vars. If it would be ok for you, I would commit the Makefile as sorted in the new patch. 

Please have a look and give a short feedback, many thanks ;)
Comment 5 Tatsuki Makino 2021-09-01 00:52:45 UTC
Created attachment 227580 [details]
patch for astro/geographiclib

Removed line breaks in block splitting so that it is similar to the many ports that have not follow portclippy yet. portlint says looks fine.
The \ escapes for line break have been reverted to some extent because of the following semantic changes.

EX_A=   ---> \
        <--- The spaces between here are replaced by 2 space characters.
EX_B=   --->\
        <--- The spaces between here are replaced by 1 space character.
Comment 6 Tatsuki Makino 2021-09-01 00:55:28 UTC
Comment on attachment 227568 [details]
pet portclippy with sorted Makefile

attachment 227580 [details] is recommended.
Comment 7 Rainer Hurling freebsd_committer freebsd_triage 2021-09-01 04:32:15 UTC
(In reply to Tatsuki Makino from comment #6)
I agree with the retraction of these backslashes of course ;)

However, the backslashes were only changed between different "-e ' " blocks of the sed command, so this should have no effect on the replacements. Or is it different in the x-tool-plist target?
Comment 8 Tatsuki Makino 2021-09-01 06:13:05 UTC
(In reply to Rainer Hurling from comment #7)

There will be one more space character in the command echoed by make :)
it is because newlines are converted to a single space character and echoed.
All space and tab characters from the beginning of the line will be deleted.
And, not that it matters, but the line following the escaped newline (which indented lines with 2 levels of tabs) doesn't actually need to be indented :)

This is simply a matter of visual appearance :)
However, I thought that if the official automatic formatter does not ask for a correction, then why bother changing it this time? portlint also says looks fine.
Comment 9 Rainer Hurling freebsd_committer freebsd_triage 2021-09-01 06:24:16 UTC
(In reply to Tatsuki Makino from comment #8)

As said before, your reasoning is perfectly fine with me ;)

Ok, so I think we are ready now to commit your latest patch, aren't we?
Comment 10 Tatsuki Makino 2021-09-01 07:45:32 UTC
(In reply to Rainer Hurling from comment #9)

Yes. There is no problem on my end.
poudriere output exactly the same log as the attachment 227561 [details] except for the time and the version of poudriere.
Comment 11 commit-hook freebsd_committer freebsd_triage 2021-09-01 08:02:24 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=24157ac4123f41a696c5f4511709e932f3afe06d

commit 24157ac4123f41a696c5f4511709e932f3afe06d
Author:     Tatsuki Makino <tatsuki_makino@hotmail.com>
AuthorDate: 2021-09-01 06:44:32 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2021-09-01 08:00:30 +0000

    astro/geographiclib: Update to 1.52

    Changelog: https://sourceforge.net/p/geographiclib/news/2021/06/geographiclib-152-released-2021-06-22/

    PR:             258175

 astro/geographiclib/Makefile                       | 50 +++++++++++-----------
 astro/geographiclib/distinfo                       |  6 +--
 astro/geographiclib/files/patch-CMakeLists.txt     |  2 +-
 .../geographiclib/files/patch-cmake_CMakeLists.txt |  4 +-
 astro/geographiclib/pkg-plist                      |  7 +--
 5 files changed, 36 insertions(+), 33 deletions(-)
Comment 12 Rainer Hurling freebsd_committer freebsd_triage 2021-09-01 08:06:44 UTC
Committed :)

Thanks for your fast responses.
Comment 13 Tatsuki Makino 2021-09-01 08:08:05 UTC
(In reply to Rainer Hurling from comment #12)

Thank you very much.