Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 274563 Details for
Bug 367571
kde-base/marble-4.7.0 does not work with sci-geosciences/gpsd-2.96
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Marble Patch for gpsd
marble-4.5.5-gpsd.patch (text/plain), 1.61 KB, created by
Carter Young
on 2011-05-25 04:41:06 UTC
(
hide
)
Description:
Marble Patch for gpsd
Filename:
MIME Type:
Creator:
Carter Young
Created:
2011-05-25 04:41:06 UTC
Size:
1.61 KB
patch
obsolete
>Index: kdeedu-4.5.5/marble/src/plugins/positionprovider/gpsd/GpsdConnection.cpp >=================================================================== >--- kdeedu-4.5.5.orig/marble/src/plugins/positionprovider/gpsd/GpsdConnection.cpp >+++ kdeedu-4.5.5/marble/src/plugins/positionprovider/gpsd/GpsdConnection.cpp >@@ -18,6 +18,9 @@ using namespace Marble; > > GpsdConnection::GpsdConnection( QObject* parent ) > : QObject( parent ), >+#if defined( GPSD_API_MAJOR_VERSION ) && ( GPSD_API_MAJOR_VERSION >= 5 ) >+ m_gpsd("localhost", DEFAULT_GPSD_PORT), >+#endif > m_timer( 0 ) > { > connect( &m_timer, SIGNAL( timeout() ), this, SLOT( update() ) ); >@@ -26,7 +29,11 @@ GpsdConnection::GpsdConnection( QObject* > void GpsdConnection::initialize() > { > m_timer.stop(); >+#if defined( GPSD_API_MAJOR_VERSION ) && ( GPSD_API_MAJOR_VERSION >= 5 ) >+ gps_data_t* data; >+#else > gps_data_t* data = m_gpsd.open(); >+#endif > if ( data ) { > m_status = PositionProviderStatusAcquiring; > emit statusChanged( m_status ); >@@ -73,8 +80,16 @@ void GpsdConnection::initialize() > void GpsdConnection::update() > { > #if defined( GPSD_API_MAJOR_VERSION ) && ( GPSD_API_MAJOR_VERSION >= 3 ) && defined( PACKET_SET ) >+#if defined( GPSD_API_MAJOR_VERSION ) && ( GPSD_API_MAJOR_VERSION >= 5 ) >+ if ( m_gpsd.waiting(0) ) { >+#else > if ( m_gpsd.waiting() ) { >+#endif >+#if defined( GPSD_API_MAJOR_VERSION ) && ( GPSD_API_MAJOR_VERSION >= 5 ) >+ gps_data_t* data = m_gpsd.read(); >+#else > gps_data_t* data = m_gpsd.poll(); >+#endif > if ( data && data->set & PACKET_SET ) { > emit gpsdInfo( *data ); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 367571
:
273693
| 274563 |
274565
|
276826
|
295395