diff options
author | avilla <avilla@FreeBSD.org> | 2011-10-17 08:03:42 +0800 |
---|---|---|
committer | avilla <avilla@FreeBSD.org> | 2011-10-17 08:03:42 +0800 |
commit | 18f8d6818a2205ed543432ae7b736e36bb0b1ab5 (patch) | |
tree | a38d8a80d7330fafe33e6504e265797c7db5c8ee /astro/marble/files | |
parent | 7e1a35526ca99e8f9cc466c562f4184911eb911c (diff) | |
download | freebsd-ports-gnome-18f8d6818a2205ed543432ae7b736e36bb0b1ab5.tar.gz freebsd-ports-gnome-18f8d6818a2205ed543432ae7b736e36bb0b1ab5.tar.zst freebsd-ports-gnome-18f8d6818a2205ed543432ae7b736e36bb0b1ab5.zip |
The KDE/FreeBSD team is pleased to announce KDE Software Compilation
4.7.2. The official release notes can be found at:
http://kde.org/announcements/announce-4.7.2.php
This release ships with many improvements. Read more about them here:
http://FreeBSD.kde.org/news.php#itemKDESC472availableinports
We'd like to say thanks to all testers and contributors, especially to
lwhsu@ for his effort on hosting our test packages.
PR: 156293 [1]
159219 [2]
160164 [3]
Submitted by: Oleg Sidorkin <osidorkin@gmail.com> [1]
Alvaro Castillo <gobledb@gmail.com> [2]
dkeav04@gmail.com [3]
Tested by: exp-run via pav
Diffstat (limited to 'astro/marble/files')
-rw-r--r-- | astro/marble/files/patch-src-plugins-positionprovider-gpsd-GpsdConnection.cpp | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/astro/marble/files/patch-src-plugins-positionprovider-gpsd-GpsdConnection.cpp b/astro/marble/files/patch-src-plugins-positionprovider-gpsd-GpsdConnection.cpp deleted file mode 100644 index 58546cdcdd21..000000000000 --- a/astro/marble/files/patch-src-plugins-positionprovider-gpsd-GpsdConnection.cpp +++ /dev/null @@ -1,64 +0,0 @@ ---- ./src/plugins/positionprovider/gpsd/GpsdConnection.cpp.orig 2011-03-22 18:32:49.000000000 +0300 -+++ ./src/plugins/positionprovider/gpsd/GpsdConnection.cpp 2011-03-22 19:24:18.000000000 +0300 -@@ -18,7 +18,8 @@ - - GpsdConnection::GpsdConnection( QObject* parent ) - : QObject( parent ), -- m_timer( 0 ) -+ m_timer( 0 ), -+ m_gpsd("localhost", DEFAULT_GPSD_PORT) - { - connect( &m_timer, SIGNAL( timeout() ), this, SLOT( update() ) ); - } -@@ -26,15 +27,15 @@ - void GpsdConnection::initialize() - { - m_timer.stop(); -- gps_data_t* data = m_gpsd.open(); -- if ( data ) { -+#if 0 /* I don't see error handling in the new libgpsmm API */ -+ if ( m_gpsd.to_user != NULL ) { -+#endif - m_status = PositionProviderStatusAcquiring; - emit statusChanged( m_status ); - --#if defined( GPSD_API_MAJOR_VERSION ) && ( GPSD_API_MAJOR_VERSION >= 3 ) && defined( WATCH_ENABLE ) - m_gpsd.stream( WATCH_ENABLE ); --#endif - m_timer.start( 1000 ); -+#if 0 - } - else { - // There is also gps_errstr() for libgps version >= 2.90, -@@ -68,28 +69,17 @@ - - mDebug() << "Connection to gpsd failed, no position info available: " << m_error; - } -+#endif - } - - void GpsdConnection::update() - { --#if defined( GPSD_API_MAJOR_VERSION ) && ( GPSD_API_MAJOR_VERSION >= 3 ) && defined( PACKET_SET ) -- if ( m_gpsd.waiting() ) { -- gps_data_t* data = m_gpsd.poll(); -+ if ( m_gpsd.waiting(5000000) ) { -+ gps_data_t* data = m_gpsd.read(); - if ( data && data->set & PACKET_SET ) { - emit gpsdInfo( *data ); - } - } --#else -- gps_data_t* data = m_gpsd.query( "o" ); -- -- if ( data ) { -- emit gpsdInfo( *data ); -- } -- else if ( m_status != PositionProviderStatusAcquiring ) { -- mDebug() << "Lost connection to gpsd, trying to re-open."; -- initialize(); -- } --#endif - } - - QString GpsdConnection::error() const |