Commit graph

30 commits

Author SHA1 Message Date
Àlex Fiestas
408533f25c Fix dbus activation by using configure_file + install
Instead of using CMake build in macros, install and configure the
service file the same way we do in many others KDE projects such ktp or
bluedevil.

This fixes the dbus activation in different ways:
-Makes it possible to install in different prefixes (not only /usr/lib)
-Replaces the binary with the correct path (taking into account prefix)
2014-12-09 22:27:16 +01:00
Àlex Fiestas
ffc74bf10b Add an alternative way of executing kdeconnectd via autostart
We are currently using KDED only to start the daemon which makes little
sense. The reason for this was so we can start/stop the service at will
via KDED startup interface.

This sucks, it is a horrible interface for starting/disabling kdeconnect
and makes us depend on KDED for no good reason.

So what this patch does is make use of XDG autostart which is supported
in all major desktops (GNOME/UNITY/XFACE/KDE...).

KDE has an interface to disable autostarted programs (although the
interface sucks).
2014-12-09 22:15:59 +01:00
Albert Vaca
2b13d0825c Merge branch 'master' into frameworks
Conflicts:
	kded/CMakeLists.txt
2014-11-22 09:29:05 -08:00
Albert Vaca
d8943f03ae Added dbus activation to org.kde.kdeconnect 2014-11-22 09:26:15 -08:00
Albert Vaca
a58fab4fb3 Merge branch 'master' into frameworks
Conflicts:
	cli/kdeconnect-cli.cpp
	core/device.cpp
	core/filetransferjob.cpp
	core/filetransferjob.h
	core/networkpackage.h
	kded/CMakeLists.txt
	plugins/share/shareplugin.cpp
	plugins/telephony/telephonyplugin.cpp
2014-11-11 21:40:54 -08:00
Lukáš Tinkl
809c1238cf fix notifications coming from phone
install into the right destination dir; this allows, among others,
to answer to the pairing request coming from the phone
2014-11-10 15:50:02 +01:00
Albert Vaca
7d3fe6239c Updating .notifyrc file 2014-11-09 20:36:45 -08:00
Àlex Fiestas
2e9ff61fcd Make kded compile without KDELibs4Support 2014-09-22 10:08:19 +02:00
Àlex Fiestas
c2f6956d93 Port kdeconnectd to KDBusServices and QGuiApp 2014-09-22 02:40:51 +02:00
Lukáš Tinkl
743f7548e0 i18n fixes 2014-09-08 03:09:18 +02:00
Martin Gräßlin
685e821d0a Set path to kdeconnectd executable through cmake
Libexec binaries need to be hardcoded, otherwise they are not found.
This commit creates a config file and sets the path there.

REVIEW: 119148
2014-07-07 18:24:29 +02:00
Aleix Pol
b618a64f51 Merge remote-tracking branch 'origin/master' into frameworks
Conflicts:
	cli/kdeconnect-cli.cpp
2014-06-18 02:46:14 +02:00
Albert Vaca
1f6cca406a Added a TODO 2014-06-17 22:21:31 +02:00
Aleix Pol
a1a560c469 First approach to a KF5 port of KDE Connect
Ported using KDELibs4Support, for a smaller delta, so we can keep
developing on master until we decide not to.

At the moment, it builds and installs but tests don't pass because
of a QCA2 initialization problem I didn't manage to debug yet.

CCMAIL: kdeconnect@kde.org
2014-06-16 20:02:07 +02:00
Aleix Pol
b88897847b Reorganize sources
We broke kded into core and kded, core contains the library with the backends
and plugins.
Also we renamed libkdeconnect to interfaces.
2014-06-14 15:22:40 +02:00
Aleix Pol
5c9d3a9d42 Make a new kdeconnectcore library
Solves the need of compiling device.cpp against all plugins. Also
networkpackage and others don't need to either.

REVIEW: 118742
2014-06-14 14:31:31 +02:00
Aleix Pol
1bda8043cd Remove unneeded libraries to link against
Now the kded doesn't compile everything, so it has less dependencies
2014-06-14 13:12:48 +02:00
Aleix Pol
846494f62a This wasn't meant to get in, according to Albert Vaca 2014-06-14 13:11:08 +02:00
Aleix Pol
e58145b20e Don't compile all kde connect in the kded
It's just launching a process.
2014-06-14 13:08:26 +02:00
Albert Vaca
d7e9a42a7b Moved unit tests together 2014-04-12 23:04:35 +02:00
Àlex Fiestas
71d339adea Added autotest for SocketLineReader
I want to re-write this class, so before I can do that I must
make sure that I don't break existing behavior.

The test basically sends  5 lines and then checks that those 5 lines
have been correctly identified.
2014-03-07 00:37:48 +01:00
Samoilenko Yuri
f83ad76a5f Daemon works now 2014-01-18 02:09:58 +04:00
Samoilenko Yuri
5ee45bce45 kded_kdeconnect splitted to module and daemon
kded_kdeconnect KDEDModule is a very simple daemon manager now, which allow to start/stop/restart
real daemon.

kdeconnectd is almost unmodified implementation of Daemon class wrapped with main() and QCoreApplication.
2014-01-17 17:58:53 +04:00
Albert Vaca
17f8ebb686 Added standalone binary to run kdeconnect without kded 2013-11-18 03:31:59 +01:00
Albert Vaca
6e5de6f437 qDebug -> kDebug with namespaces
Added 3 namespaces: kdeconnect_kded, kdeconnect_kcm and libkdeconnect
2013-11-06 22:16:55 +01:00
Albert Vaca
cf869dfd57 CMake now enforces QJson version 8.1 or greater 2013-10-29 17:46:57 +01:00
Albert Vaca
e20adde7fd Moved filetransferjob from filetransfer plugin to networkpackage 2013-09-24 14:10:25 +02:00
Albert Vaca
91949acaa5 Refactor: Moved devicelinks and linkproviders to backends 2013-09-09 18:35:56 +02:00
Albert Vaca
22392a4917 Rename cmakemacros.txt -> macros.cmake 2013-09-02 14:47:37 +02:00
Albert Vaca
36e5d41811 Renamed daemon -> kded 2013-09-02 03:23:34 +02:00
Renamed from daemon/CMakeLists.txt (Browse further)