summaryrefslogtreecommitdiff
path: root/testing/kdeedu
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-07-11 18:35:04 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-07-11 18:35:04 +0000
commit1a1b748f1738b1989a834d75b1623be21bf9bab5 (patch)
treed99e645120dc197bc3bcbcd96b1bb89e4e68bf4f /testing/kdeedu
parent139460a7a8b085588b699c488fd19b166db18a74 (diff)
Mon Jul 11 18:34:51 UTC 2011
Diffstat (limited to 'testing/kdeedu')
-rw-r--r--testing/kdeedu/PKGBUILD273
-rw-r--r--testing/kdeedu/gpsd-2.96.patch43
-rw-r--r--testing/kdeedu/kdeedu.install11
-rw-r--r--testing/kdeedu/remove-libkdeedu-libscience.patch10
4 files changed, 0 insertions, 337 deletions
diff --git a/testing/kdeedu/PKGBUILD b/testing/kdeedu/PKGBUILD
deleted file mode 100644
index b12e6a06c..000000000
--- a/testing/kdeedu/PKGBUILD
+++ /dev/null
@@ -1,273 +0,0 @@
-# $Id: PKGBUILD 127099 2011-06-10 17:21:18Z andrea $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Pierre Schmitz <pierre@archlinux.de>
-
-pkgbase=kdeedu
-pkgname=('kdeedu-blinken'
- 'kdeedu-cantor'
- 'kdeedu-kalgebra'
- 'kdeedu-kalzium'
- 'kdeedu-kanagram'
- 'kdeedu-kbruch'
- 'kdeedu-kgeography'
- 'kdeedu-khangman'
- 'kdeedu-kig'
- 'kdeedu-kiten'
- 'kdeedu-klettres'
- 'kdeedu-kmplot'
- 'kdeedu-kstars'
- 'kdeedu-ktouch'
- 'kdeedu-kturtle'
- 'kdeedu-kwordquiz'
- 'kdeedu-libkdeedu'
- 'kdeedu-marble'
- 'kdeedu-parley'
- 'kdeedu-rocs'
- 'kdeedu-step')
-pkgver=4.6.4
-pkgrel=2
-arch=('i686' 'x86_64')
-url='http://www.kde.org'
-license=('GPL' 'LGPL' 'FDL')
-groups=('kde' 'kdeedu')
-makedepends=('pkgconfig' 'cmake' 'automoc4' 'ocaml' 'facile' 'cfitsio' 'gpsd'
- 'kdebase-runtime' 'libqalculate' 'gsl' 'boost' 'libindi' 'r' 'libspectre'
- 'python2' 'avogadro')
-source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2"
- 'gpsd-2.96.patch'
- 'remove-libkdeedu-libscience.patch')
-sha1sums=('c58c2afbedccfa12d25e47202da995940cc9acb4'
- 'fd6b6b81945d951bb6ad0bb735df33c11bb2008e'
- 'cd4e18f2b30d42f6e2bcc518ad72fd49839fd8dc')
-
-build() {
- cd ${srcdir}/${pkgbase}-${pkgver}
- patch -Np1 -i ${srcdir}/gpsd-2.96.patch
- patch -p1 -i ${srcdir}/remove-libkdeedu-libscience.patch
-
- cd ${srcdir}
- mkdir build
- cd build
- cmake ../${pkgbase}-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SKIP_RPATH=OFF \
- -DCMAKE_INSTALL_PREFIX=/usr
- make
-}
-
-package_kdeedu-blinken() {
- pkgdesc='A memory enhancement game'
- depends=('kdebase-runtime' 'kdeedu-libkdeedu')
- install='kdeedu.install'
- cd $srcdir/build/blinken
- make DESTDIR=$pkgdir install
- cd $srcdir/build/blinken/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeedu-cantor() {
- pkgdesc='KDE Frontend to Mathematical Software'
- depends=('kdeedu-libkdeedu' 'libspectre')
- optdepends=('kdeedu-kalgebra: backend'
- 'maxima: backend'
- 'r: backend')
- install='kdeedu.install'
- cd $srcdir/build/cantor
- make DESTDIR=$pkgdir install
- cd $srcdir/build/cantor/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeedu-kalgebra() {
- pkgdesc='Math Expression Solver and Plotter'
- depends=('kdebase-runtime')
- install='kdeedu.install'
- cd $srcdir/build/kalgebra
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kalgebra/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeedu-kalzium() {
- pkgdesc='KDE Periodic Table of Elements'
- depends=('kdebase-runtime' 'kdeedu-libkdeedu' 'avogadro')
- install='kdeedu.install'
- cd $srcdir/build/kalzium
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kalzium/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeedu-kanagram() {
- pkgdesc='KDE Letter Order Game'
- depends=('kdebase-runtime' 'kdeedu-libkdeedu')
- install='kdeedu.install'
- cd $srcdir/build/kanagram
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kanagram/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeedu-kbruch() {
- pkgdesc='Practice exercises with fractions'
- depends=('kdelibs' 'kdebase-runtime')
- install='kdeedu.install'
- cd $srcdir/build/kbruch
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kbruch/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeedu-kgeography() {
- pkgdesc='A Geography Learning Program'
- depends=('kdebase-runtime')
- install='kdeedu.install'
- cd $srcdir/build/kgeography
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kgeography/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeedu-khangman() {
- pkgdesc='KDE Hangman Game'
- depends=('kdebase-runtime' 'kdeedu-libkdeedu')
- install='kdeedu.install'
- cd $srcdir/build/khangman
- make DESTDIR=$pkgdir install
- cd $srcdir/build/khangman/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeedu-kig() {
- pkgdesc='Explore Geometric Constructions'
- depends=('kdebase-runtime' 'boost-libs' 'python2')
- install='kdeedu.install'
- cd $srcdir/build/kig
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kig/doc
- make DESTDIR=$pkgdir install
-
- # Use the python2 executable
- sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' ${pkgdir}/usr/bin/pykig.py
-}
-
-package_kdeedu-kiten() {
- pkgdesc='Japanese Reference and Study Tool'
- depends=('kdebase-runtime')
- install='kdeedu.install'
- cd $srcdir/build/kiten
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kiten/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeedu-klettres() {
- pkgdesc='a KDE program to learn the alphabet'
- depends=('kdebase-runtime')
- install='kdeedu.install'
- cd $srcdir/build/klettres
- make DESTDIR=$pkgdir install
- cd $srcdir/build/klettres/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeedu-kmplot() {
- pkgdesc='Function Plotter'
- depends=('kdebase-runtime')
- install='kdeedu.install'
- cd $srcdir/build/kmplot
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kmplot/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeedu-kstars() {
- pkgdesc='Desktop Planetarium'
- depends=('kdebase-runtime' 'libindi')
- install='kdeedu.install'
- cd $srcdir/build/kstars
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kstars/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeedu-ktouch() {
- pkgdesc='Touch Typing Tutor'
- depends=('kdebase-runtime')
- install='kdeedu.install'
- cd $srcdir/build/ktouch
- make DESTDIR=$pkgdir install
- cd $srcdir/build/ktouch/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeedu-kturtle() {
- pkgdesc='Educational Programming Environment'
- depends=('kdebase-runtime')
- install='kdeedu.install'
- cd $srcdir/build/kturtle
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kturtle/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeedu-kwordquiz() {
- pkgdesc='A flashcard and vocabulary learning program'
- depends=('kdebase-runtime' 'kdeedu-libkdeedu')
- install='kdeedu.install'
- cd $srcdir/build/kwordquiz
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kwordquiz/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeedu-libkdeedu() {
- pkgdesc='Support library for KDE Educational Software'
- groups=()
- depends=('kdelibs')
- install='kdeedu.install'
- replaces=('kdeedu-data')
- conflicts=('kdeedu-data')
- cd $srcdir/build/libkdeedu
- make DESTDIR=$pkgdir install
-}
-
-package_kdeedu-marble() {
- pkgdesc='Desktop Globe'
- depends=('kdebase-runtime' 'gpsd')
- install='kdeedu.install'
- cd $srcdir/build/marble
- make DESTDIR=$pkgdir install
- cd $srcdir/build/marble/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeedu-parley() {
- pkgdesc='Vocabulary Trainer'
- depends=('kdebase-runtime' 'kdeedu-libkdeedu' 'kdebindings-python')
- install='kdeedu.install'
- cd $srcdir/build/parley
- make DESTDIR=$pkgdir install
- cd $srcdir/build/parley/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeedu-rocs() {
- pkgdesc='Graph Theory Tool for Professors and Students.'
- depends=('kdebase-runtime' 'kdeedu-libkdeedu')
- install='kdeedu.install'
- cd $srcdir/build/rocs
- make DESTDIR=$pkgdir install
- cd $srcdir/build/rocs/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdeedu-step() {
- pkgdesc='Simulate physics experiments'
- depends=('kdebase-runtime' 'gsl' 'libqalculate')
- install='kdeedu.install'
- cd $srcdir/build/step
- make DESTDIR=$pkgdir install
- cd $srcdir/build/step/doc
- make DESTDIR=$pkgdir install
-}
diff --git a/testing/kdeedu/gpsd-2.96.patch b/testing/kdeedu/gpsd-2.96.patch
deleted file mode 100644
index ec515e99d..000000000
--- a/testing/kdeedu/gpsd-2.96.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-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 );
- }
diff --git a/testing/kdeedu/kdeedu.install b/testing/kdeedu/kdeedu.install
deleted file mode 100644
index e70c054ec..000000000
--- a/testing/kdeedu/kdeedu.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/testing/kdeedu/remove-libkdeedu-libscience.patch b/testing/kdeedu/remove-libkdeedu-libscience.patch
deleted file mode 100644
index a8643d49f..000000000
--- a/testing/kdeedu/remove-libkdeedu-libscience.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- kdeedu-4.6.4/libkdeedu/CMakeLists.txt~ 2011-06-10 16:59:34.922935038 +0000
-+++ kdeedu-4.6.4/libkdeedu/CMakeLists.txt 2011-06-10 16:59:56.279802081 +0000
-@@ -8,7 +8,6 @@
-
- add_subdirectory(keduvocdocument)
- add_subdirectory(kdeeduui)
--add_subdirectory(libscience)
- add_subdirectory(data)
- #add_subdirectory(widgets)
- add_subdirectory(qtmmlwidget)