[Marble-devel] Review Request: First version of flightgear position provider plugin
Ralf Habacker
ralf.habacker at gmail.com
Fri May 4 09:57:41 UTC 2012
> On April 30, 2012, 3:09 p.m., Dennis Nienhüser wrote:
> > src/plugins/positionprovider/flightgear/FlightGearPositionProviderPlugin.cpp, line 144
> > <http://git.reviewboard.kde.org/r/104736/diff/3/?file=58673#file58673line144>
> >
> > I read this as #ifndef NMEA_TUD_FEED being a version check for nmealib <= 0.5.3.
> >
> > Wouldn't the following work as well?
> >
> > qreal elevation = m_info.elv;
> > #ifndef NMEA_TUD_FEED
> > elevation *= 0.3048;
> > #endif
> >
> > The advantage is that you don't create a "foreign" #define
> >
>
> Ralf Habacker wrote:
> > I read this as #ifndef NMEA_TUD_FEED being a version check for nmealib <= 0.5.3.
> yes, because nmealib do not have a dedicated version macro.
>
> > The advantage is that you don't create a "foreign" #define
> what about moving this hack completly to nmealib ? I added a related patch at
> https://projects.kde.org/projects/kdesupport/emerge/repository/revisions/master/changes/portage/win32libs-sources/nmealib-src/0009-feet-unit-elevation-fix.patch
>
>
>
> Dennis Nienhüser wrote:
> That'd be even better of course. Is the project still active? IIRC the last commit to their sourceforge repository was about four years ago.
>
>
> Ralf Habacker wrote:
> I tried to contact the maintainer two weeks ago without any response until now :-(
>
> Maybe this project could be overtaken.
>
> On windows this patches are part of the distribution build system, may be this could be done similar on unix/linux. At least with opensuse I know that patches are part of source rpm packages.
>
>
> Maybe this project could be overtaken
http://sourceforge.net/apps/trac/sourceforge/wiki/Abandoned%20Project%20Takeovers
- Ralf
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104736/#review13077
-----------------------------------------------------------
On May 3, 2012, 9:57 a.m., Ralf Habacker wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/104736/
> -----------------------------------------------------------
>
> (Updated May 3, 2012, 9:57 a.m.)
>
>
> Review request for Marble.
>
>
> Description
> -------
>
> When selecting the plugin in the current location panel it starts listen on an udp socket (localhost:5500), which is the default port flightgear uses for exporting map display information. The data send to this port is build as gps data in nmea format.
>
> The plugin depends on the mnea library http://nmea.sourceforge.net/. The presence of this library is checked on configure time. Building of this plugins only happens when this library is available.
>
> On windows the nmea library has been added to the KDE on windows build enviroment.
>
>
> This addresses bug 298785.
> http://bugs.kde.org/show_bug.cgi?id=298785
>
>
> Diffs
> -----
>
> Findnmealib.cmake PRE-CREATION
> src/plugins/positionprovider/CMakeLists.txt bebe774
> src/plugins/positionprovider/flightgear/CMakeLists.txt PRE-CREATION
> src/plugins/positionprovider/flightgear/FlightGearPositionProviderPlugin.h PRE-CREATION
> src/plugins/positionprovider/flightgear/FlightGearPositionProviderPlugin.cpp PRE-CREATION
>
> Diff: http://git.reviewboard.kde.org/r/104736/diff/
>
>
> Testing
> -------
>
> succesfull build and tested on windows 7 with msvc 2010 in debug and release mode
>
>
> Thanks,
>
> Ralf Habacker
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20120504/c9dbb563/attachment-0001.html>
More information about the Marble-devel
mailing list