[arch-commits] Commit in kdeedu-marble/repos (6 files)

Andrea Scarpino andrea at archlinux.org
Wed Oct 5 15:09:58 EDT 2011


    Date: Wednesday, October 5, 2011 @ 15:09:58
  Author: andrea
Revision: 139925

db-move: moved kdeedu-marble from [staging] to [extra] (i686)

Added:
  kdeedu-marble/repos/extra-i686/PKGBUILD
    (from rev 139891, kdeedu-marble/repos/staging-i686/PKGBUILD)
  kdeedu-marble/repos/extra-i686/kdeedu-marble.install
    (from rev 139891, kdeedu-marble/repos/staging-i686/kdeedu-marble.install)
Deleted:
  kdeedu-marble/repos/extra-i686/PKGBUILD
  kdeedu-marble/repos/extra-i686/gpsd3.patch
  kdeedu-marble/repos/extra-i686/kdeedu-marble.install
  kdeedu-marble/repos/staging-i686/

-----------------------+
 PKGBUILD              |   69 ++++++++++++++++++++++--------------------------
 gpsd3.patch           |   42 -----------------------------
 kdeedu-marble.install |   24 ++++++++--------
 3 files changed, 44 insertions(+), 91 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2011-10-05 19:09:56 UTC (rev 139924)
+++ extra-i686/PKGBUILD	2011-10-05 19:09:58 UTC (rev 139925)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=kdeedu-marble
-pkgver=4.7.1
-pkgrel=1
-pkgdesc="Desktop Globe"
-url="http://kde.org/applications/education/marble/"
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-groups=('kde' 'kdeedu')
-depends=('kdebase-runtime')
-makedepends=('cmake' 'automoc4' 'gpsd')
-optdepends=('gpsd: gps support')
-install=${pkgname}.install
-source=("http://download.kde.org/stable/${pkgver}/src/marble-${pkgver}.tar.bz2"
-        'gpsd3.patch')
-sha1sums=('71c9ccd884495b34c8af4f7c432ca8942dfaa9dd'
-          '3916dd6307109d70d0dd538de913c91eede81d78')
-
-build() {
-  cd "${srcdir}"/marble-${pkgver}
-  patch -p1 -i "${srcdir}"/gpsd3.patch
-
-  cd "${srcdir}"
-  mkdir build
-  cd build
-  cmake ../marble-${pkgver} \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr
-  make
-}
-
-package() {
-  cd "${srcdir}"/build
-  make DESTDIR="${pkgdir}" install
-}

Copied: kdeedu-marble/repos/extra-i686/PKGBUILD (from rev 139891, kdeedu-marble/repos/staging-i686/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2011-10-05 19:09:58 UTC (rev 139925)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-marble
+pkgver=4.7.2
+pkgrel=1
+pkgdesc="Desktop Globe"
+url="http://kde.org/applications/education/marble/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4' 'gpsd')
+optdepends=('gpsd: gps support')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/marble-${pkgver}.tar.bz2")
+sha1sums=('2b6353ff589d66dcf95a3eb79059275f620e03b2')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../marble-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Deleted: extra-i686/gpsd3.patch
===================================================================
--- extra-i686/gpsd3.patch	2011-10-05 19:09:56 UTC (rev 139924)
+++ extra-i686/gpsd3.patch	2011-10-05 19:09:58 UTC (rev 139925)
@@ -1,42 +0,0 @@
-diff -up marble-4.7.0/src/plugins/positionprovider/gpsd/GpsdConnection.cpp.orig marble-4.7.0/src/plugins/positionprovider/gpsd/GpsdConnection.cpp
---- marble-4.7.0/src/plugins/positionprovider/gpsd/GpsdConnection.cpp.orig	2011-05-20 15:34:41.000000000 -0500
-+++ marble-4.7.0/src/plugins/positionprovider/gpsd/GpsdConnection.cpp	2011-08-24 13:38:37.050200241 -0500
-@@ -20,6 +20,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 )
- {
-     m_oldLocale = setlocale( LC_NUMERIC, NULL );
-@@ -35,7 +38,11 @@ GpsdConnection::~GpsdConnection()
- 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 );
-@@ -82,8 +89,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 );
-         }

Deleted: extra-i686/kdeedu-marble.install
===================================================================
--- extra-i686/kdeedu-marble.install	2011-10-05 19:09:56 UTC (rev 139924)
+++ extra-i686/kdeedu-marble.install	2011-10-05 19:09:58 UTC (rev 139925)
@@ -1,12 +0,0 @@
-post_install() {
-	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-    update-desktop-database -q
-}
-
-post_upgrade() {
-	post_install
-}
-
-post_remove() {
-	post_install
-}

Copied: kdeedu-marble/repos/extra-i686/kdeedu-marble.install (from rev 139891, kdeedu-marble/repos/staging-i686/kdeedu-marble.install)
===================================================================
--- extra-i686/kdeedu-marble.install	                        (rev 0)
+++ extra-i686/kdeedu-marble.install	2011-10-05 19:09:58 UTC (rev 139925)
@@ -0,0 +1,12 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list