Skip to content

Commit

Permalink
make it start on harmattan
Browse files Browse the repository at this point in the history
  • Loading branch information
mzanetti committed Dec 21, 2013
1 parent 50b4e61 commit 4dd5cac
Show file tree
Hide file tree
Showing 32 changed files with 840 additions and 25 deletions.
4 changes: 4 additions & 0 deletions apps/harmattan/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ add_custom_target(shine_harmattan-qmlfiles ALL
COMMAND cp -r ${CMAKE_CURRENT_SOURCE_DIR}/qml ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS ${QMLFILES}
)

install(TARGETS shine_harmattan RUNTIME DESTINATION opt/shine/bin)
install(FILES ${QML_SRCS} DESTINATION opt/shine/qml/)
install(FILES shine_harmattan.desktop DESTINATION usr/share/applications/)
9 changes: 4 additions & 5 deletions apps/harmattan/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@ int main(int argc, char *argv[])

QDeclarativeView view;

// For easy running
QStringList imports = view.engine()->importPathList();
imports.append(QDir::currentPath() + "/../../plugin/");
imports.append("/opt/shine/plugins/");
view.engine()->setImportPathList(imports);

view.setSource(QUrl("qml/Shine.qml"));
view.setResizeMode(QDeclarativeView::SizeViewToRootObject);
view.show();
view.setSource(QUrl("/opt/shine/qml/Shine.qml"));
view.setResizeMode(QDeclarativeView::SizeRootObjectToView);
view.showFullscreen();


return app.exec();
Expand Down
31 changes: 31 additions & 0 deletions apps/harmattan/qml/ConnectingPage.qml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1
import com.nokia.meego 1.0

Page{

Column{
anchors.centerIn: parent
spacing: 10
width: parent.width * 0.75

TextField{
id: ipTextField
text: settings.ipaddress
width: parent.width

}

Button{
id: connectButton
text: "Connect"
anchors.horizontalCenter: parent.horizontalCenter
width: parent.width
onClicked:{
settings.ipaddress = ipTextField.text
client.connectToServer();
}
}
}

}
69 changes: 69 additions & 0 deletions apps/harmattan/qml/MainPage.qml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
import QtQuick 1.1
import com.nokia.meego 1.0
import QtMobility.systeminfo 1.1
import shine 1.0

Page {

orientationLock: PageOrientation.LockPortrait

tools:ToolBarLayout{
visible: true
ToolIcon {
platformIconId: "toolbar-view-menu"
onClicked: (myMenu.status == DialogStatus.Closed) ? myMenu.open() : myMenu.close()
}
}
Component {
id: button
Rectangle {
anchors.fill: parent
border.color: "black"
border.width: 1
color: "green"

}

}

Column {
anchors.fill: parent
anchors.margins: 20
spacing: 20

OnOffButton {
width: parent.width
height: parent.height / 5
}

MainButton{
text: "Ambilight"
onClicked: client.setLightMode(3);
width: parent.width
height: parent.height / 5
}

MainButton{
text: "Moodlight"
onClicked: {
client.setLightMode(2);
pageStack.push(Qt.createComponent("DetailsPage.qml"));
}
width: parent.width
height: parent.height / 5
}

MainButton{
text: "Remote"
onClicked: {
onClicked: pageStack.push(Qt.createComponent("SystemCommandPage.qml"))
}
width: parent.width
height: parent.height / 5
}


}


}
36 changes: 17 additions & 19 deletions apps/harmattan/qml/Shine.qml
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
import QtQuick 2.0
import Ubuntu.Components 0.1
import Ubuntu.Components.ListItems 0.1
import Ubuntu.Components.Popups 0.1
import QtQuick 1.1
import com.nokia.meego 1.0
import com.nokia.extras 1.1
import Hue 0.1

MainView {
width: units.gu(50)
height: units.gu(75)
PageStackWindow {
id: appWindow

Tabs {
anchors.fill: parent

Tab {
title: "Lights"
LightsPage {
initialPage: Qt.createComponent("ConnectingPage.qml")

Connections{
target: client
onConnectionChanged:{
print("connection changed",client.isConnected)
if(client.isConnected){
pageStack.push(mainPage)
}else{
pageStack.pop(null)
}
}
}

Tab {
title: "Groups"
GroupsPage {

}
}
MainPage {
id: mainPage
}
}
2 changes: 1 addition & 1 deletion apps/harmattan/shine_harmattan.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Version=1.0
Type=Application
Terminal=false
Name=shine
Exec=/usr/bin/single-instance /opt/shine/bin/shine
Exec=/usr/bin/single-instance /opt/shine/bin/shine_harmattan
Icon=/usr/share/icons/hicolor/80x80/apps/shine80.png
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
Expand Down
5 changes: 5 additions & 0 deletions plugin/Hue/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@ add_custom_target(hueplugin-qmlfiles ALL
COMMAND cp ${QML_SRCS} ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS ${QMLFILES}
)

if(HARMATTAN_BUILD)
install(TARGETS hueplugin LIBRARY DESTINATION opt/shine/plugins/Hue/)
install(FILES ${QML_SRCS} DESTINATION opt/shine/plugins/Hue/)
endif()
2 changes: 2 additions & 0 deletions plugin/Hue/hueplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,6 @@ void HuePlugin::initializeEngine(QDeclarativeEngine *engine, const char *uri)
{
engine->rootContext()->setContextProperty("hueBridge", HueBridgeConnection::instance());
}

Q_EXPORT_PLUGIN2(Hue, HuePlugin)
#endif
6 changes: 6 additions & 0 deletions qtc_packaging/debian_harmattan/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
The Debian Package xbmcremote
----------------------------

Comments regarding the Package

-- unknown <micha@unknown> Tue, 21 Jun 2011 18:57:39 +0200
5 changes: 5 additions & 0 deletions qtc_packaging/debian_harmattan/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
shine (0.1.0-harmattan0) unstable; urgency=low

* Initial release

-- Michael Zanetti <michael_zanetti@gmx.net> Sun, 20 Nov 2011 21:04:39 +0100
1 change: 1 addition & 0 deletions qtc_packaging/debian_harmattan/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7
15 changes: 15 additions & 0 deletions qtc_packaging/debian_harmattan/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Source: shine
Section: user/multimedia
Priority: optional
Maintainer: Michael Zanetti <michael_zanetti@gmx.net>
Build-Depends: debhelper (>= 5), libqt4-dev
Standards-Version: 3.7.3
Homepage: <insert the upstream URL, if relevant>

Package: shine
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: foobar
foobar
XSBC-Maemo-Display-Name: shine
XB-Maemo-Icon-26: iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAsSwAALEsBpT2WqQAAE/5JREFUeJzlm2l0HNWVx3+1dLd6l2Qt3mRZyPuCCcZ4PJ4MhnG8BAcCYQnZhpMJhDUHz2RgyAxkIITAnAQCJITABBhCICEJYUtsIMeAjWULW0Dk3ZLxItvC2tXq7uqu7c2H7i51S90tyXaSD7l16hy7q9579/7ffff9760n+BsX6c/V8XOLDl6iuuUHJZnaU+lHCGHaCXHn57fXfe906ZYtpwWA5xYevErx8hwAAvr3WyS7xeno2hHVLxGqV1ADqf/bOk9c9V7dtafa70kD8OzC1qWKV34XoKPBPFU9TkrKz1JQfRKWLl740nv1V55MH2MG4JlzWu5WPPIdXU0mtn4yQ/55pGqJirDp/NKW+qqxtBsTAM8ubREdW/46sz1aqVqiYmniM//8/ozXRvP+qAB46ty9DZjSku4PrVPT7i8krpBE2RyZrzTMHNG+EV94eskeq2enkM3Y6Qtqgvx9Sad5U6parHD1lllFOy368Mklu62ORls+VUUEdvqysDGxsRDYOUBIyMgoWbeKlL5ORaoWK3x1y+yCnRR88Pg5Oxv694klxknOvMDGwsQggUECC4OLfl5D7SdDuFwuFEVBlmUkScK2bWzbxjRNDMNg3fVHOfh6FJUS3JSg4kFCPmkwqs5V+NrWuXkbF+zxsU/sEN1/ssc8mMDGIIlGPzpxrt8zh0AgQCAQwOPxoKoqkiQhScOHFkJgWRaGYaBpGgMDA/zphY/ZeHsXXkJ48DueMRaRZChbIP/6+qb5Vwx7lq/BY4ubRee2sRkvEJjoROlChGNcs3keVVVVBINBVFVFlse2koQQ2LZNI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Dt88/FxkoQarp/xI9Ld5xzxQRgQ2JjESdKJxnCQ9rPzyVKbOqCQUChEMBp3vjRmWGIlEiEQivPF8KycOWKmkiQm4Kc0iQGOXcI3GuiM3je2wNMDqKY+I/jbfSQ06KCLN+BMYxDCIYBLFQsPGQGAjoaBQgoofF0FcBFHwIeMqcJpk9BKuibPuyM1jPy6fkVU1j4jI0VMFIVvEkDQ5k/Jm/23A6fnDidDkOOvbbpJBKrhdjGqkVTUPi8gx/1h3nb+qhCbHWN/2jRHtG1WUW9/2DSlQHf91cFLs1DX7M4t3XILgpKgYjfFwEr62cvJDwrYkYh+Pmir8RcQd0PGEdRJHe4ZtdcXkpBfbikk/FADxDj+2ecp/VnTSEpg4AMAbx245KVtOOdqsmvaQx4qLBICwJeId/oIHk06HlJRrKJ7UBAtT+eIfO24e5fnm/HLaNf1U9aNVQtJ/Jcli2dBntqFgGQrCkhC2jLAlECDJqaOvkmwjq7ZjYE5bIR0Slli7oWPtS6db579p+X+/x6EDkXr9GwAAAABJRU5ErkJggg==
36 changes: 36 additions & 0 deletions qtc_packaging/debian_harmattan/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
This package was debianized by Michael Zanetti <michael_zanetti@gmx.net> on
Sat, 09 Apr 2011 18:13:12 +0200.

Upstream Author(s):

Michael Zanetti <michael_zanetti@gmx.net>

Copyright:

<Copyright (C) 2011 Michael Zanetti>

License:

This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this package; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.

The Debian packaging is (C) 2011, unknown <micha@unknown> and
is licensed under the GPL, see above.


# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.
8 changes: 8 additions & 0 deletions qtc_packaging/debian_harmattan/files
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
shine_0.1.0-harmattan0_armel.deb user/multimedia optional
shine_0.1.0-harmattan0_armel.deb user/multimedia optional
shine_0.1.0-harmattan0_armel.deb user/multimedia optional
shine_0.1.0-harmattan0_armel.deb user/multimedia optional
shine_0.1.0-harmattan0_armel.deb user/multimedia optional
shine_0.1.0-harmattan0_armel.deb user/multimedia optional
shine_0.1.0-harmattan0_armel.deb user/multimedia optional
shine_0.1.0-harmattan0_armel.deb user/multimedia optional
Empty file.
93 changes: 93 additions & 0 deletions qtc_packaging/debian_harmattan/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
#!/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





configure: configure-stamp
configure-stamp:
dh_testdir
# Uncomment this line for use without Qt Creator
# qmake PREFIX=/usr

touch configure-stamp


build: build-stamp

build-stamp: configure-stamp
dh_testdir

# Add here commands to compile the package.
# Uncomment this line for use without Qt Creator
# $(MAKE)
#docbook-to-man debian/xbmcremote.sgml > xbmcremote.1

touch $@

clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp

# Add here commands to clean up after the build process.
#$(MAKE) clean

dh_clean

install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs

# Add here commands to install the package into debian/xbmcremote.
$(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/shine install


# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.

# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installexamples
# dh_install
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_python
# dh_installinit
# dh_installcron
# dh_installinfo
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
# dh_perl
# dh_makeshlibs
dh_installdeb
dh_shlibdeps # Uncomment this line for use without Qt Creator
dh_gencontrol
dh_md5sums
dh_builddeb

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
Loading

0 comments on commit 4dd5cac

Please sign in to comment.