Page MenuHomeFreeBSD

astro/gpsd: Update to 3.20

Authored by lbartoletti on Mar 2 2020, 12:30 PM.



astro/gpsd: Update to 3.20

[1] scons is py27 only and check py27 packages for a py37 port. I commented these tests in SConstruct since we already do it in our Makefile.

Test Plan
  • portlint: OK (looks fine.)
  • testport: OK (poudriere: 11/12/13, i386/amd64 tested)
  • tested with my ublox m8 and adafruit ultimate GPS chips

Diff Detail

rP FreeBSD ports repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

Build successfully:

  • astro/marble
  • comms/gpredict

To be fixed:

  • comms/direwolf
  • astro/foxtrotgps
  • astro/gpxloggerd

same error, with the new API: gps_read has two new parameters in API version 7. Simply change gps_read(&gpsdata) by gps_read(&gpsdata, NULL, 0)

Fixes astro/foxtrotgps, astro/gpxloggerd and comms/direwolf

  • add a function to convert timespec_to_double (astro/gpxloggerd, astro/foxtrotgps)
  • update gps_read function to the new API. gps_read(&gpsddata) to gps_read(&gpsdata, NULL, 0); (astro/foxtrotgps, astro/gpxloggerd and comms/direwolf)
  • replace unix_to_iso8601 by now_to_iso8601 (astro/gpxloggerd)
15 ↗(On Diff #69232)

^ does it only work with python 3.7?

lbartoletti added inline comments.
15 ↗(On Diff #69232)

Unfortunately for now, yes, since comms/py-serial and graphics/py-cairo are not flavored with py38

tcberner requested changes to this revision.Mar 8 2020, 6:55 PM
tcberner added inline comments.
58 ↗(On Diff #69232)

The patch is doubled :)

This revision now requires changes to proceed.Mar 8 2020, 6:55 PM

Looks good to me :) after you fix the patch.

lbartoletti marked an inline comment as done.

Fix SConstruct patch

This revision was not accepted when it landed; it landed in state Needs Review.Mar 11 2020, 8:26 AM
This revision was automatically updated to reflect the committed changes.