Add Ubuntu dpkg package
@ -143,8 +143,3 @@ HEADERS += \
|
|||||||
configuration/mqttpolicy.h \
|
configuration/mqttpolicy.h \
|
||||||
configuration/mqttpolicies.h \
|
configuration/mqttpolicies.h \
|
||||||
models/devicemodel.h
|
models/devicemodel.h
|
||||||
|
|
||||||
unix {
|
|
||||||
target.path = /usr/lib
|
|
||||||
INSTALLS += target
|
|
||||||
}
|
|
||||||
|
|||||||
@ -7,9 +7,6 @@ CONFIG += staticlib
|
|||||||
QT -= gui
|
QT -= gui
|
||||||
QT += network
|
QT += network
|
||||||
|
|
||||||
target.path = /usr/lib/$$system('dpkg-architecture -q DEB_HOST_MULTIARCH')
|
|
||||||
INSTALLS += target
|
|
||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
types/types.h \
|
types/types.h \
|
||||||
types/vendor.h \
|
types/vendor.h \
|
||||||
@ -100,11 +97,3 @@ SOURCES += \
|
|||||||
types/repeatingoption.cpp \
|
types/repeatingoption.cpp \
|
||||||
types/tag.cpp \
|
types/tag.cpp \
|
||||||
types/tags.cpp
|
types/tags.cpp
|
||||||
|
|
||||||
# install header file with relative subdirectory
|
|
||||||
for(header, HEADERS) {
|
|
||||||
path = /usr/include/nymea-common/$${dirname(header)}
|
|
||||||
eval(headers_$${path}.files += $${header})
|
|
||||||
eval(headers_$${path}.path = $${path})
|
|
||||||
eval(INSTALLS *= headers_$${path})
|
|
||||||
}
|
|
||||||
|
|||||||
@ -69,15 +69,28 @@ osxbundle.commands += hdiutil convert nymea-app_writable.dmg -format UDRO -o ../
|
|||||||
osxbundle.commands += rm nymea-app.dmg nymea-app_writable.dmg
|
osxbundle.commands += rm nymea-app.dmg nymea-app_writable.dmg
|
||||||
QMAKE_EXTRA_TARGETS += osxbundle
|
QMAKE_EXTRA_TARGETS += osxbundle
|
||||||
|
|
||||||
# Linux desktop (snap package)
|
# Generic linux desktop
|
||||||
linux:!android: {
|
linux:!android: {
|
||||||
desktopfile.files = packaging/linux/nymea-app.desktop
|
desktopfile.files = packaging/linux-common/nymea-app.desktop
|
||||||
desktopfile.path = /usr/share/applications/
|
desktopfile.path = /usr/share/applications/
|
||||||
icons.files = packaging/linux/icons
|
icons.files = packaging/linux-common/icons/
|
||||||
icons.path = /usr/share/
|
icons.path = /usr/share/
|
||||||
INSTALLS += desktopfile icons
|
INSTALLS += desktopfile icons
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Linux desktop (snap package)
|
||||||
|
snap: {
|
||||||
|
desktopfile.files = packaging/linux/nymea-app.desktop
|
||||||
|
desktopfile.path = /usr/share/applications/
|
||||||
|
INSTALLS += desktopfile
|
||||||
|
}
|
||||||
|
|
||||||
|
click: {
|
||||||
|
ubuntu_files.path += /
|
||||||
|
ubuntu_files.files += manifest.json nymea-app.apparmor nymea-app.desktop packaging/android/appicon.svg
|
||||||
|
INSTALLS += ubuntu_files
|
||||||
|
}
|
||||||
|
|
||||||
# Translations support
|
# Translations support
|
||||||
TRANSLATIONS += $$files($$absolute_path(nymea-app)/translations/*.ts, true)
|
TRANSLATIONS += $$files($$absolute_path(nymea-app)/translations/*.ts, true)
|
||||||
system("lrelease $$TRANSLATIONS")
|
system("lrelease $$TRANSLATIONS")
|
||||||
|
|||||||
@ -122,10 +122,6 @@ ios: {
|
|||||||
QMAKE_MAC_XCODE_SETTINGS += IOS_ENTITLEMENTS
|
QMAKE_MAC_XCODE_SETTINGS += IOS_ENTITLEMENTS
|
||||||
}
|
}
|
||||||
|
|
||||||
ubuntu_files.path += /
|
|
||||||
ubuntu_files.files += ../manifest.json ../nymea-app.apparmor ../nymea-app.desktop ../packaging/android/appicon.svg
|
|
||||||
INSTALLS += ubuntu_files
|
|
||||||
|
|
||||||
BR=$$BRANDING
|
BR=$$BRANDING
|
||||||
!equals(BR, "") {
|
!equals(BR, "") {
|
||||||
DEFINES += BRANDING=\\\"$${BR}\\\"
|
DEFINES += BRANDING=\\\"$${BR}\\\"
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 531 B After Width: | Height: | Size: 531 B |
|
Before Width: | Height: | Size: 692 B After Width: | Height: | Size: 692 B |
|
Before Width: | Height: | Size: 742 B After Width: | Height: | Size: 742 B |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
18
packaging/linux-common/nymea-app-kiosk.service
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=nymea frontend app
|
||||||
|
Documentation=https://github.com/guh/mea
|
||||||
|
After=network.target
|
||||||
|
Wants=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
User = nymea
|
||||||
|
Group = nymea
|
||||||
|
ExecStart = /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/nymea-app --fullscreen -- :0 -nolisten tcp vt7
|
||||||
|
StandardOutput=journal
|
||||||
|
StandardError=journal
|
||||||
|
Restart=on-failure
|
||||||
|
Type=simple
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
555
packaging/linux-common/nymea-app-plain.svg
Normal file
@ -0,0 +1,555 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
version="1.1"
|
||||||
|
id="svg2"
|
||||||
|
height="256"
|
||||||
|
width="256">
|
||||||
|
<defs
|
||||||
|
id="defs4">
|
||||||
|
<linearGradient
|
||||||
|
y2="262.58051"
|
||||||
|
x2="441.68719"
|
||||||
|
y1="171.88429"
|
||||||
|
x1="369.02579"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="SVGID_1_">
|
||||||
|
<stop
|
||||||
|
id="stop46"
|
||||||
|
style="stop-color:#7CC099"
|
||||||
|
offset="0.1296" />
|
||||||
|
<stop
|
||||||
|
id="stop48"
|
||||||
|
style="stop-color:#6FB594"
|
||||||
|
offset="0.3785" />
|
||||||
|
<stop
|
||||||
|
id="stop50"
|
||||||
|
style="stop-color:#4E9688"
|
||||||
|
offset="0.835" />
|
||||||
|
<stop
|
||||||
|
id="stop52"
|
||||||
|
style="stop-color:#408A83"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient
|
||||||
|
gradientTransform="matrix(0.9669,0.2553,-0.2553,0.9669,-399.6603,-163.1002)"
|
||||||
|
y2="154.45329"
|
||||||
|
x2="918.56207"
|
||||||
|
y1="154.45329"
|
||||||
|
x1="936.13898"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="SVGID_2_">
|
||||||
|
<stop
|
||||||
|
id="stop61"
|
||||||
|
style="stop-color:#DBE6E0"
|
||||||
|
offset="0" />
|
||||||
|
<stop
|
||||||
|
id="stop63"
|
||||||
|
style="stop-color:#BCDED3"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient
|
||||||
|
y2="243.37801"
|
||||||
|
x2="442.73761"
|
||||||
|
y1="201.9489"
|
||||||
|
x1="451.01599"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="SVGID_3_">
|
||||||
|
<stop
|
||||||
|
id="stop72"
|
||||||
|
style="stop-color:#7CC099"
|
||||||
|
offset="0" />
|
||||||
|
<stop
|
||||||
|
id="stop74"
|
||||||
|
style="stop-color:#78BC98"
|
||||||
|
offset="0.2568" />
|
||||||
|
<stop
|
||||||
|
id="stop76"
|
||||||
|
style="stop-color:#6CB193"
|
||||||
|
offset="0.5165" />
|
||||||
|
<stop
|
||||||
|
id="stop78"
|
||||||
|
style="stop-color:#589F8C"
|
||||||
|
offset="0.7767" />
|
||||||
|
<stop
|
||||||
|
id="stop80"
|
||||||
|
style="stop-color:#408A83"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient
|
||||||
|
y2="234.5722"
|
||||||
|
x2="457.47629"
|
||||||
|
y1="234.5722"
|
||||||
|
x1="457.62369"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="SVGID_4_">
|
||||||
|
<stop
|
||||||
|
id="stop87"
|
||||||
|
style="stop-color:#DBE6E0"
|
||||||
|
offset="0" />
|
||||||
|
<stop
|
||||||
|
id="stop89"
|
||||||
|
style="stop-color:#BCDED3"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient
|
||||||
|
y2="223.4929"
|
||||||
|
x2="457.62369"
|
||||||
|
y1="223.4929"
|
||||||
|
x1="467.88159"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="SVGID_5_">
|
||||||
|
<stop
|
||||||
|
id="stop96"
|
||||||
|
style="stop-color:#DBE6E0"
|
||||||
|
offset="0" />
|
||||||
|
<stop
|
||||||
|
id="stop98"
|
||||||
|
style="stop-color:#BCDED3"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient
|
||||||
|
y2="235.823"
|
||||||
|
x2="452.43719"
|
||||||
|
y1="235.823"
|
||||||
|
x1="457.47629"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="SVGID_6_">
|
||||||
|
<stop
|
||||||
|
id="stop105"
|
||||||
|
style="stop-color:#DBE6E0"
|
||||||
|
offset="0" />
|
||||||
|
<stop
|
||||||
|
id="stop107"
|
||||||
|
style="stop-color:#BCDED3"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient
|
||||||
|
y2="227.27921"
|
||||||
|
x2="460.47461"
|
||||||
|
y1="227.27921"
|
||||||
|
x1="452.19159"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="SVGID_7_">
|
||||||
|
<stop
|
||||||
|
id="stop112"
|
||||||
|
style="stop-color:#6AA583"
|
||||||
|
offset="0" />
|
||||||
|
<stop
|
||||||
|
id="stop114"
|
||||||
|
style="stop-color:#4C9E96"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient
|
||||||
|
gradientTransform="matrix(0.9997,0.0227,-0.0227,0.9997,-36.4014,-7.9207)"
|
||||||
|
y2="283.95389"
|
||||||
|
x2="455.23529"
|
||||||
|
y1="268.90411"
|
||||||
|
x1="473.17111"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="SVGID_8_">
|
||||||
|
<stop
|
||||||
|
id="stop119"
|
||||||
|
style="stop-color:#7CC099"
|
||||||
|
offset="0" />
|
||||||
|
<stop
|
||||||
|
id="stop121"
|
||||||
|
style="stop-color:#57BAAE"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient
|
||||||
|
gradientTransform="matrix(0.9997,0.0227,-0.0227,0.9997,-36.4014,-7.9207)"
|
||||||
|
y2="274.66199"
|
||||||
|
x2="470.95151"
|
||||||
|
y1="274.66199"
|
||||||
|
x1="447.13129"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="SVGID_9_">
|
||||||
|
<stop
|
||||||
|
id="stop126"
|
||||||
|
style="stop-color:#7CC099"
|
||||||
|
offset="0" />
|
||||||
|
<stop
|
||||||
|
id="stop128"
|
||||||
|
style="stop-color:#76BA97"
|
||||||
|
offset="0.2327" />
|
||||||
|
<stop
|
||||||
|
id="stop130"
|
||||||
|
style="stop-color:#65AB90"
|
||||||
|
offset="0.5485" />
|
||||||
|
<stop
|
||||||
|
id="stop132"
|
||||||
|
style="stop-color:#489186"
|
||||||
|
offset="0.9106" />
|
||||||
|
<stop
|
||||||
|
id="stop134"
|
||||||
|
style="stop-color:#408A83"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient
|
||||||
|
y2="252.7919"
|
||||||
|
x2="422.0509"
|
||||||
|
y1="260.93829"
|
||||||
|
x1="415.2153"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="SVGID_10_">
|
||||||
|
<stop
|
||||||
|
id="stop141"
|
||||||
|
style="stop-color:#4C9E96"
|
||||||
|
offset="0" />
|
||||||
|
<stop
|
||||||
|
id="stop143"
|
||||||
|
style="stop-color:#489790"
|
||||||
|
offset="0.4859" />
|
||||||
|
<stop
|
||||||
|
id="stop145"
|
||||||
|
style="stop-color:#408A83"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient
|
||||||
|
y2="239.4308"
|
||||||
|
x2="393.7475"
|
||||||
|
y1="203.1666"
|
||||||
|
x1="425.60641"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="SVGID_11_">
|
||||||
|
<stop
|
||||||
|
id="stop152"
|
||||||
|
style="stop-color:#7CC099"
|
||||||
|
offset="0" />
|
||||||
|
<stop
|
||||||
|
id="stop154"
|
||||||
|
style="stop-color:#77BF9C"
|
||||||
|
offset="0.3183" />
|
||||||
|
<stop
|
||||||
|
id="stop156"
|
||||||
|
style="stop-color:#6ABDA3"
|
||||||
|
offset="0.6757" />
|
||||||
|
<stop
|
||||||
|
id="stop158"
|
||||||
|
style="stop-color:#57BAAE"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
</defs>
|
||||||
|
<metadata
|
||||||
|
id="metadata7">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title></dc:title>
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<g
|
||||||
|
transform="translate(-143.41788,-709.27353)"
|
||||||
|
id="layer1">
|
||||||
|
<g
|
||||||
|
id="g41"
|
||||||
|
transform="matrix(1.4440786,0,0,1.4440786,-333.76137,493.00519)">
|
||||||
|
<g
|
||||||
|
id="g43">
|
||||||
|
<linearGradient
|
||||||
|
y2="262.58051"
|
||||||
|
x2="441.68719"
|
||||||
|
y1="171.88429"
|
||||||
|
x1="369.02579"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="linearGradient3548">
|
||||||
|
<stop
|
||||||
|
id="stop3550"
|
||||||
|
style="stop-color:#7CC099"
|
||||||
|
offset="0.1296" />
|
||||||
|
<stop
|
||||||
|
id="stop3552"
|
||||||
|
style="stop-color:#6FB594"
|
||||||
|
offset="0.3785" />
|
||||||
|
<stop
|
||||||
|
id="stop3554"
|
||||||
|
style="stop-color:#4E9688"
|
||||||
|
offset="0.835" />
|
||||||
|
<stop
|
||||||
|
id="stop3556"
|
||||||
|
style="stop-color:#408A83"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<path
|
||||||
|
id="path54"
|
||||||
|
d="m 433.7,212.6 c -5.9,-10.1 -19,-17.9 -27.5,-21 -8.5,-3.2 -18,-10.1 -18,-10.1 -7.5,-5 -9.7,-9 -13.7,-14 -1.2,2.6 -2.2,5.8 -3,9.6 1.8,3.1 8.7,13.4 28.1,21.5 1.7,0.7 6.9,2.8 7,2.9 l 6.5,2.6 -6.7,-1.9 c -0.2,-0.1 -5.5,-1.6 -7.3,-2.2 -17.3,-6.3 -25,-15.1 -28,-19.9 -0.8,4.9 -1.1,10.6 -0.7,16.5 5.2,4.7 14,11 26.9,15.4 0.9,0.3 3.6,1.3 3.6,1.3 l 3.4,1.2 -3.5,-0.5 c -0.1,0 -3,-0.4 -4,-0.6 -12.1,-2.9 -20.5,-8.4 -26.1,-13.3 0.5,4.3 1.4,8.6 2.8,13 0.3,1 0.7,2.1 1.1,3 4.4,2 9.6,3.9 15.4,5.2 1.1,0.2 4.3,1.1 4.3,1.1 l 3.8,1 -4,-0.2 c -0.1,0 -3.4,-0.2 -4.5,-0.4 -5.1,-0.7 -9.8,-2 -13.9,-3.6 6.6,13.7 18.8,21.4 35.2,27.5 18.7,7 19.4,25 19.4,25 0,0 5.1,-3.8 9.6,-18.4 5.1,-16.2 -0.3,-30.6 -6.2,-40.7 z"
|
||||||
|
style="fill:url(#SVGID_1_)" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g56">
|
||||||
|
<g
|
||||||
|
id="g58">
|
||||||
|
<linearGradient
|
||||||
|
gradientTransform="matrix(0.9669,0.2553,-0.2553,0.9669,-399.6603,-163.1002)"
|
||||||
|
y2="154.45329"
|
||||||
|
x2="918.56207"
|
||||||
|
y1="154.45329"
|
||||||
|
x1="936.13898"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="linearGradient3561">
|
||||||
|
<stop
|
||||||
|
id="stop3563"
|
||||||
|
style="stop-color:#DBE6E0"
|
||||||
|
offset="0" />
|
||||||
|
<stop
|
||||||
|
id="stop3565"
|
||||||
|
style="stop-color:#BCDED3"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<path
|
||||||
|
id="path65"
|
||||||
|
d="m 458.6,233.8 c 4.9,-3.6 6.9,-7.8 8.5,-12.5 0.7,-2.1 1.3,-5 0.3,-8.1 -0.8,-2.5 -6.5,-6.2 -11.2,-4.7 -5.1,1.7 -6.1,8.1 -6.5,10.9 -0.6,4.3 0.4,10.9 2.8,17.6 -0.1,0 2.1,-0.2 6.1,-3.2 z"
|
||||||
|
style="fill:url(#SVGID_2_)" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g67">
|
||||||
|
<g
|
||||||
|
id="g69">
|
||||||
|
<linearGradient
|
||||||
|
y2="243.37801"
|
||||||
|
x2="442.73761"
|
||||||
|
y1="201.9489"
|
||||||
|
x1="451.01599"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="linearGradient3570">
|
||||||
|
<stop
|
||||||
|
id="stop3572"
|
||||||
|
style="stop-color:#7CC099"
|
||||||
|
offset="0" />
|
||||||
|
<stop
|
||||||
|
id="stop3574"
|
||||||
|
style="stop-color:#78BC98"
|
||||||
|
offset="0.2568" />
|
||||||
|
<stop
|
||||||
|
id="stop3576"
|
||||||
|
style="stop-color:#6CB193"
|
||||||
|
offset="0.5165" />
|
||||||
|
<stop
|
||||||
|
id="stop3578"
|
||||||
|
style="stop-color:#589F8C"
|
||||||
|
offset="0.7767" />
|
||||||
|
<stop
|
||||||
|
id="stop3580"
|
||||||
|
style="stop-color:#408A83"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<path
|
||||||
|
id="path82"
|
||||||
|
d="m 449.7,219.4 c 0.4,-2.8 1.4,-9.2 6.5,-10.9 4.2,-1.4 9.3,1.5 10.8,3.9 -1.5,-3.9 -5.6,-6.6 -9,-8.3 -4.8,-2.5 -10.8,-2.9 -15.7,-1.7 -4.6,1.1 -7,3.6 -10.9,6.9 0.8,1.1 1.6,2.2 2.2,3.3 4.6,8 9,18.6 8.2,30.6 3,-5 9.7,-6.1 10.6,-6.2 -2.4,-6.6 -3.4,-13.3 -2.7,-17.6 z"
|
||||||
|
style="fill:url(#SVGID_3_)" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g84">
|
||||||
|
<linearGradient
|
||||||
|
y2="234.5722"
|
||||||
|
x2="457.47629"
|
||||||
|
y1="234.5722"
|
||||||
|
x1="457.62369"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="linearGradient3584">
|
||||||
|
<stop
|
||||||
|
id="stop3586"
|
||||||
|
style="stop-color:#DBE6E0"
|
||||||
|
offset="0" />
|
||||||
|
<stop
|
||||||
|
id="stop3588"
|
||||||
|
style="stop-color:#BCDED3"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<path
|
||||||
|
id="path91"
|
||||||
|
d="m 457.6,234.5 c -0.1,0 -0.1,0.1 -0.1,0.1 0,0 0.1,0 0.1,-0.1 z"
|
||||||
|
style="fill:url(#SVGID_4_)" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g93">
|
||||||
|
<linearGradient
|
||||||
|
y2="223.4929"
|
||||||
|
x2="457.62369"
|
||||||
|
y1="223.4929"
|
||||||
|
x1="467.88159"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="linearGradient3592">
|
||||||
|
<stop
|
||||||
|
id="stop3594"
|
||||||
|
style="stop-color:#DBE6E0"
|
||||||
|
offset="0" />
|
||||||
|
<stop
|
||||||
|
id="stop3596"
|
||||||
|
style="stop-color:#BCDED3"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<path
|
||||||
|
id="path100"
|
||||||
|
d="m 467.4,213.2 c -0.1,-0.2 -0.2,-0.5 -0.4,-0.8 0.7,1.7 0.8,3.7 0.1,5.9 -1.5,4.9 -1.8,7.1 -6.1,12.9 -1,1.3 -2.2,2.4 -3.4,3.2 0.3,-0.2 0.6,-0.4 1,-0.7 4.9,-3.6 6.9,-7.8 8.5,-12.5 0.7,-2 1.2,-4.9 0.3,-8 z"
|
||||||
|
style="fill:url(#SVGID_5_)" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g102">
|
||||||
|
<linearGradient
|
||||||
|
y2="235.823"
|
||||||
|
x2="452.43719"
|
||||||
|
y1="235.823"
|
||||||
|
x1="457.47629"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="linearGradient3600">
|
||||||
|
<stop
|
||||||
|
id="stop3602"
|
||||||
|
style="stop-color:#DBE6E0"
|
||||||
|
offset="0" />
|
||||||
|
<stop
|
||||||
|
id="stop3604"
|
||||||
|
style="stop-color:#BCDED3"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<path
|
||||||
|
id="path109"
|
||||||
|
d="m 452.4,237 c 0,0 0,0 0,0 0,0 1.8,-0.2 5,-2.4 -2.5,1.7 -4.9,2.4 -4.9,2.4 0,0 0,0 -0.1,0 z"
|
||||||
|
style="fill:url(#SVGID_6_)" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<linearGradient
|
||||||
|
y2="227.27921"
|
||||||
|
x2="460.47461"
|
||||||
|
y1="227.27921"
|
||||||
|
x1="452.19159"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="linearGradient3607">
|
||||||
|
<stop
|
||||||
|
id="stop3609"
|
||||||
|
style="stop-color:#6AA583"
|
||||||
|
offset="0" />
|
||||||
|
<stop
|
||||||
|
id="stop3611"
|
||||||
|
style="stop-color:#4C9E96"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<path
|
||||||
|
id="path116"
|
||||||
|
d="m 458.2,217.6 c -1,-0.3 -2,0 -2.8,0.6 -0.2,0.3 -0.3,0.6 -0.4,0.9 -0.4,1.6 0.5,3.3 2.2,3.7 0.7,0.2 1.3,0.1 1.9,-0.1 -0.9,6.9 -5.9,12.4 -6.9,13.5 0.1,0.4 0.2,0.5 0.2,0.7 0.3,0 0.4,-0.1 0.9,-0.2 1.7,-1.9 6.7,-7.9 7,-15.5 0.5,-1.5 -0.5,-3.1 -2.1,-3.6 z"
|
||||||
|
style="fill:url(#SVGID_7_)" />
|
||||||
|
</g>
|
||||||
|
<linearGradient
|
||||||
|
gradientTransform="matrix(0.9997,0.0227,-0.0227,0.9997,-36.4014,-7.9207)"
|
||||||
|
y2="283.95389"
|
||||||
|
x2="455.23529"
|
||||||
|
y1="268.90411"
|
||||||
|
x1="473.17111"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="linearGradient3614">
|
||||||
|
<stop
|
||||||
|
id="stop3616"
|
||||||
|
style="stop-color:#7CC099"
|
||||||
|
offset="0" />
|
||||||
|
<stop
|
||||||
|
id="stop3618"
|
||||||
|
style="stop-color:#57BAAE"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<path
|
||||||
|
id="path123"
|
||||||
|
d="m 405.5,261.4 c 1.5,12.7 7.5,31.7 27.8,47.9 0,0 10.1,-15.4 0.4,-32.5 -9.7,-17.1 -23.8,-22.7 -28.8,-24.5 -0.2,3.6 0.4,6.8 0.6,9.1 z"
|
||||||
|
style="fill:url(#SVGID_8_)" />
|
||||||
|
<linearGradient
|
||||||
|
gradientTransform="matrix(0.9997,0.0227,-0.0227,0.9997,-36.4014,-7.9207)"
|
||||||
|
y2="274.66199"
|
||||||
|
x2="470.95151"
|
||||||
|
y1="274.66199"
|
||||||
|
x1="447.13129"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="linearGradient3621">
|
||||||
|
<stop
|
||||||
|
id="stop3623"
|
||||||
|
style="stop-color:#7CC099"
|
||||||
|
offset="0" />
|
||||||
|
<stop
|
||||||
|
id="stop3625"
|
||||||
|
style="stop-color:#76BA97"
|
||||||
|
offset="0.2327" />
|
||||||
|
<stop
|
||||||
|
id="stop3627"
|
||||||
|
style="stop-color:#65AB90"
|
||||||
|
offset="0.5485" />
|
||||||
|
<stop
|
||||||
|
id="stop3629"
|
||||||
|
style="stop-color:#489186"
|
||||||
|
offset="0.9106" />
|
||||||
|
<stop
|
||||||
|
id="stop3631"
|
||||||
|
style="stop-color:#408A83"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<path
|
||||||
|
id="path136"
|
||||||
|
d="m 423.7,272.8 c -5.7,-10 -12.8,-16.8 -18.8,-20.5 -0.1,3.2 0.4,7 0.6,9.1 1.2,10.8 5.8,26.1 19.6,40.4 2.4,-5.5 5.5,-16.8 -1.4,-29 z"
|
||||||
|
style="fill:url(#SVGID_9_)" />
|
||||||
|
<g
|
||||||
|
id="g138">
|
||||||
|
<linearGradient
|
||||||
|
y2="252.7919"
|
||||||
|
x2="422.0509"
|
||||||
|
y1="260.93829"
|
||||||
|
x1="415.2153"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="linearGradient3635">
|
||||||
|
<stop
|
||||||
|
id="stop3637"
|
||||||
|
style="stop-color:#4C9E96"
|
||||||
|
offset="0" />
|
||||||
|
<stop
|
||||||
|
id="stop3639"
|
||||||
|
style="stop-color:#489790"
|
||||||
|
offset="0.4859" />
|
||||||
|
<stop
|
||||||
|
id="stop3641"
|
||||||
|
style="stop-color:#408A83"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<path
|
||||||
|
id="path147"
|
||||||
|
d="m 411.9,246.7 c -2,-0.8 -4.9,-1.6 -6.8,-2.4 -0.3,2.5 -0.2,5.1 -0.2,8.1 4.4,1.6 16.1,6.2 25.5,19.3 0,-0.1 0,-0.2 0,-0.3 -0.2,-2.3 -1.1,-18.3 -18.5,-24.7 z"
|
||||||
|
style="fill:url(#SVGID_10_)" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g149">
|
||||||
|
<linearGradient
|
||||||
|
y2="239.4308"
|
||||||
|
x2="393.7475"
|
||||||
|
y1="203.1666"
|
||||||
|
x1="425.60641"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
id="linearGradient3645">
|
||||||
|
<stop
|
||||||
|
id="stop3647"
|
||||||
|
style="stop-color:#7CC099"
|
||||||
|
offset="0" />
|
||||||
|
<stop
|
||||||
|
id="stop3649"
|
||||||
|
style="stop-color:#77BF9C"
|
||||||
|
offset="0.3183" />
|
||||||
|
<stop
|
||||||
|
id="stop3651"
|
||||||
|
style="stop-color:#6ABDA3"
|
||||||
|
offset="0.6757" />
|
||||||
|
<stop
|
||||||
|
id="stop3653"
|
||||||
|
style="stop-color:#57BAAE"
|
||||||
|
offset="1" />
|
||||||
|
</linearGradient>
|
||||||
|
<path
|
||||||
|
id="path160"
|
||||||
|
d="m 433.7,212.6 c -5.9,-10.1 -19,-17.9 -27.5,-21 -8.5,-3.2 -18,-10.1 -18,-10.1 -2.1,-1.4 -3.8,-2.7 -5.2,-4 -0.4,3.6 -0.6,7.5 -0.4,11.6 4.2,3.2 9.7,6.5 16.9,9.5 1.7,0.7 6.9,2.8 7,2.9 l 6.5,2.6 -6.7,-1.9 c -0.2,-0.1 -5.5,-1.6 -7.3,-2.2 -6.8,-2.5 -12.1,-5.3 -16.2,-8.2 0.4,5 1.3,10.1 2.9,15.2 3.4,1.8 7.2,3.4 11.6,4.9 0.9,0.3 3.6,1.3 3.6,1.3 l 3.4,1.2 -3.5,-0.5 c -0.1,0 -3,-0.4 -4,-0.6 -3.7,-0.9 -7,-2 -10,-3.3 1.9,4.8 4.4,8.8 7.4,12.3 0.1,0 0.1,0 0.1,0 l 3.8,1 -3.2,-0.2 c 6.9,7.7 16.3,13.3 26.3,21.3 13.5,10.8 9.2,27.2 9.2,27.2 0,0 0.8,-0.6 1.5,-1.5 1.8,-2.1 5.1,-7 8.1,-16.9 5,-16.1 -0.4,-30.5 -6.3,-40.6 z"
|
||||||
|
style="fill:url(#SVGID_11_)" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 17 KiB |
@ -1,7 +1,7 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=nymea:app
|
Name=nymea:app
|
||||||
Comment=A client application for nymea
|
Comment=A client application for nymea
|
||||||
Icon=${SNAP}/usr/share/icons/hicolor/256x256/apps/nymea-app.png
|
Icon=/usr/share/icons/hicolor/256x256/apps/nymea-app.png
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
Exec=nymea-app
|
Exec=nymea-app
|
||||||
15
packaging/linux-common/nymea-app.service
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=nymea frontend app
|
||||||
|
Documentation=https://github.com/guh/mea
|
||||||
|
After=network.target
|
||||||
|
Wants=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/mea -platform webgl
|
||||||
|
StandardOutput=journal
|
||||||
|
StandardError=journal
|
||||||
|
Restart=on-failure
|
||||||
|
Type=simple
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
3
packaging/ubuntu/README
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
To build a ubuntu package (dpkg), link the debian folder to the
|
||||||
|
top level of the repository and run dpkg-buildpackage or your
|
||||||
|
favorite wrapper on it.
|
||||||
5
packaging/ubuntu/debian/changelog
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
nymea-app (1.0.112) bionic; urgency=medium
|
||||||
|
|
||||||
|
* Initial release.
|
||||||
|
|
||||||
|
-- Michael Zanetti <michael.zanetti@guh.io> Sun, 14 Apr 2019 23:06:13 +0200
|
||||||
1
packaging/ubuntu/debian/compat
Normal file
@ -0,0 +1 @@
|
|||||||
|
9
|
||||||
45
packaging/ubuntu/debian/control
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
Source: nymea-app
|
||||||
|
Section: utils
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Michael Zanetti <michael.zanetti@nymea.io>
|
||||||
|
Standards-Version: 3.9.7
|
||||||
|
Homepage: https://nymea.io
|
||||||
|
Vcs-Git: https://github.com/guh/guh.git
|
||||||
|
Build-Depends: debhelper (>= 9.0.0),
|
||||||
|
dpkg-dev (>= 1.16.1~),
|
||||||
|
libavahi-client-dev,
|
||||||
|
libavahi-common-dev,
|
||||||
|
libqt5charts5-dev,
|
||||||
|
libqt5svg5-dev,
|
||||||
|
libqt5websockets5-dev,
|
||||||
|
qtbase5-dev,
|
||||||
|
qtconnectivity5-dev,
|
||||||
|
qtdeclarative5-dev,
|
||||||
|
|
||||||
|
Package: nymea-app
|
||||||
|
Architecture: any
|
||||||
|
Section: tools
|
||||||
|
Multi-Arch: same
|
||||||
|
Depends: ${shlibs:Depends},
|
||||||
|
${misc:Depends},
|
||||||
|
libqt5network5,
|
||||||
|
libqt5gui5,
|
||||||
|
libqt5websockets5,
|
||||||
|
libqt5bluetooth5,
|
||||||
|
qml-module-qt-labs-settings,
|
||||||
|
qml-module-qtquick-controls2,
|
||||||
|
qml-module-qtquick-layouts,
|
||||||
|
qml-module-qtquick-window2,
|
||||||
|
qml-module-qtquick2,
|
||||||
|
xinit,
|
||||||
|
Suggests: nymea,
|
||||||
|
network-manager
|
||||||
|
Description: An open source IoT server - daemon
|
||||||
|
The nymea daemon is a plugin based IoT (Internet of Things) server. The
|
||||||
|
server works like a translator for devices, things and services and
|
||||||
|
allows them to interact.
|
||||||
|
With the powerful rule engine you are able to connect any device available
|
||||||
|
in the system and create individual scenes and behaviors for your environment.
|
||||||
|
.
|
||||||
|
This package will install nymea:app.
|
||||||
|
|
||||||
1
packaging/ubuntu/debian/nymea-app.install
Normal file
@ -0,0 +1 @@
|
|||||||
|
packaging/linux-common/nymea-app-kiosk.service /lib/systemd/system/
|
||||||
25
packaging/ubuntu/debian/rules
Executable file
@ -0,0 +1,25 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
# -*- makefile -*-
|
||||||
|
|
||||||
|
export DH_VERBOSE=1
|
||||||
|
|
||||||
|
#DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
||||||
|
|
||||||
|
#PREPROCESS_FILES := $(wildcard debian/*.in)
|
||||||
|
|
||||||
|
#$(PREPROCESS_FILES:.in=): %: %.in
|
||||||
|
# sed 's,/@DEB_HOST_MULTIARCH@,$(DEB_HOST_MULTIARCH:%=/%),g' $< > $@
|
||||||
|
|
||||||
|
|
||||||
|
#override_dh_install: $(PREPROCESS_FILES:.in=)
|
||||||
|
# dh_install
|
||||||
|
|
||||||
|
#override_dh_auto_test:
|
||||||
|
# LD_LIBRARY_PATH=`pwd`/libnymea-mqtt/ dh_auto_test
|
||||||
|
|
||||||
|
#override_dh_auto_clean:
|
||||||
|
# dh_auto_clean
|
||||||
|
# rm -rf $(PREPROCESS_FILES:.in=)
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@ --buildsystem=qmake --parallel
|
||||||