On Wed, Jul 24, 2019 at 11:48:13PM +0300, Kirill Bychkov wrote: > On Thu, June 20, 2019 10:08, Kirill Bychkov wrote: > > Hi! > > Long time ago I've started update of gpsd from 2.x to 3.x. > > Upstream moved from auto crap to scons so it gave me some > > headache. > > Before switching to new gpsd we need to prepare some ports > > which are linking against libgps because API has changed. > > Here are the diffs for foxtrotgps, geoclue and qlandkaretegt. > > Hi! > foxtrotgps and viking are both updatetd to latest upstream releases > which brings compatibility with gpsd-3.x. > geoclue and qlandkartegt should be the last ports incompatible with > new gpsd API. > Pathces for fixing them are attached. > OKs, objections? > > P.S. gpsd patch is also attached for review.
Ugh the scons madness. As for gpsd, i dont really understand the qt=no + qt_versioned=4, nor the use of the qt4 module. Is qt needed or not ? It appears in LIB_DEPENDS/WANTLIB because of the module ... but that seems extra: gpsd-x11-3.19(misc/gpsd,-x11): Extra: QtCore.10 As far as i understand it, if needed it should be possible to build against qt5 (that's what debian did in https://github.com/bzed/pkg-gpsd/commit/cbbe97a4181af81761efe6649f20d65454d4a8e4 for 3.17.4) so that should be preferred to qt4.. you removed the COMPILER line, was it on purpose ? same thing for the no_x11 pseudo flavor, if you remove it maybe some ports need to be amended. port-lib-depends-check also complains about LIB_DEPENDS devel/py-serial not needed for misc/gpsd,-main ? other than that, it seems gpsd is still able to read/access data from my usb gps, so that part looks good :) Thanks for working on it! Landry