diff --git a/examples/touch/org.nemomobile.notify.service b/examples/touch/org.nemomobile.notify.service new file mode 100644 index 0000000..d26946a --- /dev/null +++ b/examples/touch/org.nemomobile.notify.service @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=org.nemomobile.notify +Exec=/usr/bin/glacier-components diff --git a/examples/touch/touch.pro b/examples/touch/touch.pro index 685c612..121eae0 100644 --- a/examples/touch/touch.pro +++ b/examples/touch/touch.pro @@ -41,7 +41,10 @@ OTHER_FILES += $$qml.files desktop.path = /usr/share/applications desktop.files = glacier-components.desktop -INSTALLS += desktop target qml mainqml images +systemd_dbus_service.path = $${INSTALL_ROOT}/usr/share/dbus-1/services +systemd_dbus_service.files = org.nemomobile.notify.service + +INSTALLS += desktop target qml mainqml images systemd_dbus_service SOURCES += \ src/main.cpp diff --git a/rpm/qtquickcontrols-nemo.spec b/rpm/qtquickcontrols-nemo.spec index 7167e72..be8b142 100644 --- a/rpm/qtquickcontrols-nemo.spec +++ b/rpm/qtquickcontrols-nemo.spec @@ -78,4 +78,4 @@ desktop-file-install --delete-original \ %{_datadir}/glacier-components %{_datadir}/glacier-sizeview %{_datadir}/applications/*.desktop - +%{_datadir}/dbus-1/services/org.nemomobile.notify.service