From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denis@denix.org>
Date: Tue, 17 Mar 2009 14:32:59 -0400
Subject: rename packages/ to recipes/ per earlier agreement

See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
---
 recipes/insttrain/files/gcc3.patch   | 33 +++++++++++++++++++++++++++++++++
 recipes/insttrain/insttrain_1.0.5.bb | 20 ++++++++++++++++++++
 2 files changed, 53 insertions(+)
 create mode 100644 recipes/insttrain/files/gcc3.patch
 create mode 100644 recipes/insttrain/insttrain_1.0.5.bb

(limited to 'recipes/insttrain')

diff --git a/recipes/insttrain/files/gcc3.patch b/recipes/insttrain/files/gcc3.patch
new file mode 100644
index 0000000000..c2e2af0c5e
--- /dev/null
+++ b/recipes/insttrain/files/gcc3.patch
@@ -0,0 +1,33 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- src/top.cpp~gcc3
++++ src/top.cpp
+@@ -18,6 +18,7 @@
+ //static char rcsid[] = "$Id: top.cpp,v 1.1 2002/10/06 04:17:00 bjj Rel $";
+ 
+ #include "top.h"
++#include <qapplication.h>
+ #include <qmenubar.h>
+ #include <qpopupmenu.h>
+ #include <qframe.h>
+@@ -90,7 +91,7 @@
+ }
+ 
+ 
+-Top::Top(QWidget *parent = 0, const char *name = 0, WFlags f = WType_TopLevel)
++Top::Top(QWidget *parent, const char *name, WFlags f)
+ 	: QMainWindow(parent, name, f)
+ {
+ 	setCaption("Instrument Trainer");
+@@ -172,7 +173,7 @@
+ void
+ Top::Exit()
+ {
+-	exit(0);
++	qApp->quit();
+ }
+ 
+ void
diff --git a/recipes/insttrain/insttrain_1.0.5.bb b/recipes/insttrain/insttrain_1.0.5.bb
new file mode 100644
index 0000000000..7c163cbac3
--- /dev/null
+++ b/recipes/insttrain/insttrain_1.0.5.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "Simulates any 2 of: DG, CDI for VOR1, CDI for VOR2, ADF, RMI \
+while you drag an NDB, 2 VORs and an airplane around in an overhead view."
+SECTION = "opie/applications"
+LICENSE = "GPL"
+APPTYPE = "binary"
+APPDESKTOP = "../Qtopia/opt/QtPalmtop/apps/Applications"
+
+inherit opie
+
+SRC_URI = "http://www.Vanille.de/mirror/insttrain-${PV}.tgz \
+           file://gcc3.patch;patch=1"
+S = "${WORKDIR}/insttrain-${PV}/src"
+
+QMAKE_PROFILES = "rmi.pro"
+
+do_install() {
+	install -d ${D}${palmtopdir}/pics/
+	install -m 0644 ../Qtopia/opt/QtPalmtop/pics/*.png ${D}${palmtopdir}/pics/
+}
+
-- 
cgit v1.2.3