Skip to content

Commit

Permalink
adding makeconfig into sailfish RPM package
Browse files Browse the repository at this point in the history
  • Loading branch information
rinigus committed Jul 3, 2016
1 parent bb7a2a8 commit d89961b
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
File renamed without changes.
14 changes: 7 additions & 7 deletions qml/HelpText.qml
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,16 @@ configuration to get it detected.</p>
<h3>Make configuration using a helper script</h3>
<p>The helper script requires python2.7 .</p>
<p>The helper script requires python2.7, which should be installed as dependency in Sailfish .</p>
<p>Get the helper script from the GUI source tree in GitHub:
<a href=https://github.com/rinigus/systemdatascope/blob/master/tools/makeconfig.py>
https://github.com/rinigus/systemdatascope/blob/master/tools/makeconfig.py
</a> .</p>
<a href=https://github.com/rinigus/systemdatascope/blob/master/tools/systemdatascope-makeconfig>
https://github.com/rinigus/systemdatascope/blob/master/tools/systemdatascope-makeconfig.py
</a> . In Sailfish, the script is installed as a part of a RPM package. </p>
<p>Run script:</p>
<p><tt>python makeconfig.py /tmp/collectd/Jolla > myconf.json </tt></p>
<p><tt>systemdatascope-makeconfig /tmp/collectd/Jolla > myconf.json </tt></p>
<p>where the first argument is the directory with collectd
datasets. Check the configuration by looking into the generated
Expand All @@ -120,8 +120,8 @@ reload it again in Settings.</p>
<p>Some configurations would be provided online. At present, there
is a configuration for Nexus 4 running Sailfish at GitHub in GUI
source tree under configs:
<a href=https://github.com/rinigus/systemdatascope/blob/master/configs/default.json>
https://github.com/rinigus/systemdatascope/blob/master/configs/default.json</a></p>
<a href=https://github.com/rinigus/systemdatascope/blob/master/configs/sfos-n4.json>
https://github.com/rinigus/systemdatascope/blob/master/configs/sfos-n4.json</a></p>
<p>To load the configuration given online, insert URL in Settings
and press Load button. Loading is performed using QML
Expand Down
1 change: 1 addition & 0 deletions rpm/systemdatascope.spec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Source100: systemdatascope.yaml
Requires: sailfishsilica-qt5 >= 0.10.9
Requires: rrdtool
Requires: collectd
Requires: python
BuildRequires: pkgconfig(sailfishapp) >= 1.0.2
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Qml)
Expand Down
1 change: 1 addition & 0 deletions rpm/systemdatascope.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Requires:
- sailfishsilica-qt5 >= 0.10.9
- rrdtool
- collectd
- python

# All installed files
Files:
Expand Down
4 changes: 4 additions & 0 deletions systemdatascope_silica.pro
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ qml.files = qml/*.qml qml/Platform qml/Platform.silica
qml.path = /usr/share/$${TARGET}
INSTALLS += qml

confscript.files = tools/systemdatascope-makeconfig
confscript.path = /usr/bin
INSTALLS += confscript

CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT

DEFINES += APP_VERSION=\\\"$$VERSION\\\"
Expand Down
File renamed without changes.

0 comments on commit d89961b

Please sign in to comment.