summaryrefslogtreecommitdiffstats
path: root/CoffeeTweed/build
diff options
context:
space:
mode:
Diffstat (limited to 'CoffeeTweed/build')
-rw-r--r--CoffeeTweed/build/build.pro27
-rw-r--r--CoffeeTweed/build/coffeetweed.desktop8
-rw-r--r--CoffeeTweed/build/debian/changelog5
-rw-r--r--CoffeeTweed/build/debian/compat1
-rw-r--r--CoffeeTweed/build/debian/control13
-rwxr-xr-xCoffeeTweed/build/debian/rules19
-rw-r--r--CoffeeTweed/build/icon-coffeetweed.pngbin0 -> 5784 bytes
-rw-r--r--CoffeeTweed/build/main.cpp36
-rw-r--r--CoffeeTweed/build/resource.qrc51
9 files changed, 160 insertions, 0 deletions
diff --git a/CoffeeTweed/build/build.pro b/CoffeeTweed/build/build.pro
new file mode 100644
index 0000000..36b2a4f
--- /dev/null
+++ b/CoffeeTweed/build/build.pro
@@ -0,0 +1,27 @@
+TEMPLATE = app
+TARGET = coffeetweed
+
+QT += declarative
+
+symbian {
+ LIBS += -lesock -lconnmon -lcone -lavkon
+
+ TARGET.UID3 = 0xe4431593
+ TARGET.EPOCHEAPSIZE = 0x20000 0x2000000
+
+ DEPLOYMENT.installer_header = 0xA000D7CE
+}
+
+linux-g++-maemo5 {
+ INSTALLS += desktop
+ desktop.path = /usr/share/applications/hildon
+ desktop.files = coffeetweed.desktop
+
+ INSTALLS += icon64
+ icon64.path = /usr/share/icons/hicolor/64x64/apps
+ icon64.files = icon-coffeetweed.png
+}
+
+SOURCES += main.cpp
+
+RESOURCES += resource.qrc
diff --git a/CoffeeTweed/build/coffeetweed.desktop b/CoffeeTweed/build/coffeetweed.desktop
new file mode 100644
index 0000000..dffb1d9
--- /dev/null
+++ b/CoffeeTweed/build/coffeetweed.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=Coffee Tweed
+Categories=Applications
+Exec=/usr/bin/coffeetweed
+Icon=coffeetweed
+X-Icon-path=/usr/share/pixmaps/
+X-Osso-Type=application/x-executable
diff --git a/CoffeeTweed/build/debian/changelog b/CoffeeTweed/build/debian/changelog
new file mode 100644
index 0000000..b477a1c
--- /dev/null
+++ b/CoffeeTweed/build/debian/changelog
@@ -0,0 +1,5 @@
+coffeetweed (0.1-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Adriano Rezende <adriano.rezende@openbossa.org> Thu, 25 Nov 2010 10:37:30 -0300
diff --git a/CoffeeTweed/build/debian/compat b/CoffeeTweed/build/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/CoffeeTweed/build/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/CoffeeTweed/build/debian/control b/CoffeeTweed/build/debian/control
new file mode 100644
index 0000000..c10dce0
--- /dev/null
+++ b/CoffeeTweed/build/debian/control
@@ -0,0 +1,13 @@
+Source: coffeetweed
+Section: user/Other
+Priority: extra
+Maintainer: Adriano Rezende <adriano.rezende@openbossa.org>
+Build-Depends: debhelper (>= 5), libqt4-experimental-dev
+Standards-Version: 3.8.4
+
+Package: coffeetweed
+Section: user/Other
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Coffee Tweed
+ Qt Quick demo.
diff --git a/CoffeeTweed/build/debian/rules b/CoffeeTweed/build/debian/rules
new file mode 100755
index 0000000..f62b045
--- /dev/null
+++ b/CoffeeTweed/build/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+DEB_BUILDDIR = debian/builddeb
+DEB_QMAKE_ARGS = $(CURDIR)/build.pro
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/qmake.mk
+
+clear::
+ rm -fr $(DEB_BUILDDIR)
diff --git a/CoffeeTweed/build/icon-coffeetweed.png b/CoffeeTweed/build/icon-coffeetweed.png
new file mode 100644
index 0000000..288227f
--- /dev/null
+++ b/CoffeeTweed/build/icon-coffeetweed.png
Binary files differ
diff --git a/CoffeeTweed/build/main.cpp b/CoffeeTweed/build/main.cpp
new file mode 100644
index 0000000..c766754
--- /dev/null
+++ b/CoffeeTweed/build/main.cpp
@@ -0,0 +1,36 @@
+#include <QApplication>
+#include <QDeclarativeView>
+#include <QDeclarativeEngine>
+
+#ifdef Q_OS_SYMBIAN
+#include <eikenv.h>
+#include <aknappui.h>
+#endif
+
+
+int main(int argc, char **argv)
+{
+ QApplication app(argc, argv);
+
+#ifdef Q_OS_SYMBIAN
+ // lock portrait mode for symbian
+ CAknAppUi *akn = dynamic_cast<CAknAppUi*>(CEikonEnv::Static()->AppUi());
+ TRAPD(error, if (akn) akn->SetOrientationL(CAknAppUi::EAppUiOrientationLandscape); );
+#endif
+
+ QDeclarativeView view;
+#ifdef Q_OS_SYMBIAN
+ view.setSource(QUrl("qrc:main_s60.qml"));
+#else
+ view.setSource(QUrl("qrc:main_n900.qml"));
+#endif
+ QObject::connect(view.engine(), SIGNAL(quit()), qApp, SLOT(quit()));
+
+#if defined(Q_OS_SYMBIAN) || defined(Q_WS_MAEMO_5)
+ view.showFullScreen();
+#else
+ view.show();
+#endif
+
+ return app.exec();
+}
diff --git a/CoffeeTweed/build/resource.qrc b/CoffeeTweed/build/resource.qrc
new file mode 100644
index 0000000..b21a3cf
--- /dev/null
+++ b/CoffeeTweed/build/resource.qrc
@@ -0,0 +1,51 @@
+<RCC>
+<qresource prefix="/">
+ <file>../content/Cup.qml</file>
+ <file>../content/TrayModel.qml</file>
+ <file>../content/images/n900/close.png</file>
+ <file>../content/images/n900/bt_add_off.png</file>
+ <file>../content/images/n900/taskbar_division.png</file>
+ <file>../content/images/n900/bt_add_on.png</file>
+ <file>../content/images/n900/empty_row2.png</file>
+ <file>../content/images/n900/taskbar_bg.png</file>
+ <file>../content/images/n900/cup_smoke.png</file>
+ <file>../content/images/n900/coffee_plate.png</file>
+ <file>../content/images/n900/empty_row1.png</file>
+ <file>../content/images/n900/cup_back.png</file>
+ <file>../content/images/n900/cup_empty.png</file>
+ <file>../content/images/n900/empty_row3.png</file>
+ <file>../content/images/n900/taskbar_placeholder.png</file>
+ <file>../content/images/n900/bt_remove_off.png</file>
+ <file>../content/images/n900/taskbar_home_bt.png</file>
+ <file>../content/images/n900/taskbar_close_bt.png</file>
+ <file>../content/images/n900/taskbar_options_bt.png</file>
+ <file>../content/images/n900/cup_full.png</file>
+ <file>../content/images/n900/cup_front.png</file>
+ <file>../content/images/n900/cup_blur.png</file>
+ <file>../content/images/n900/bt_remove_on.png</file>
+ <file>../content/images/n900/bg.png</file>
+ <file>../content/images/n900/cup_content.png</file>
+ <file>../content/images/s60/bt_add_off.png</file>
+ <file>../content/images/s60/bt_add_on.png</file>
+ <file>../content/images/s60/empty_row2.png</file>
+ <file>../content/images/s60/cup_smoke.png</file>
+ <file>../content/images/s60/coffee_plate.png</file>
+ <file>../content/images/s60/empty_row1.png</file>
+ <file>../content/images/s60/cup_back.png</file>
+ <file>../content/images/s60/cup_empty.png</file>
+ <file>../content/images/s60/empty_row3.png</file>
+ <file>../content/images/s60/bt_remove_off.png</file>
+ <file>../content/images/s60/cup_full.png</file>
+ <file>../content/images/s60/cup_front.png</file>
+ <file>../content/images/s60/cup_blur.png</file>
+ <file>../content/images/s60/bt_remove_on.png</file>
+ <file>../content/images/s60/bg.png</file>
+ <file>../content/images/s60/close.png</file>
+ <file>../content/images/s60/cup_content.png</file>
+ <file>../content/Tray.qml</file>
+ <file>../content/Button.qml</file>
+ <file>../content/CoffeeTweed.qml</file>
+ <file>../main_s60.qml</file>
+ <file>../main_n900.qml</file>
+</qresource>
+</RCC>