Commit graph

279 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
Aleix Pol
28faa9983d Fix dbus service file
Ensure the generated Exec path is the absolute path instead of a
relative one.
2014-11-24 18:33:37 +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
58cfa83bcc don't crash on incoming notifications
this needs to be a QApplication as it uses widgets
2014-11-10 15:52:02 +01: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
Aleix Pol
21ab5a4f81 Merge branch 'master' into frameworks
Mostly kDebug -> qCDebug
Also some KCmdLineArgs -> QCommandLineParser

Conflicts:
	cli/kdeconnect-cli.cpp
	core/CMakeLists.txt
	core/backends/lan/lanlinkprovider.cpp
	core/daemon.cpp
	core/pluginloader.cpp
	interfaces/CMakeLists.txt
	kio/kiokdeconnect.cpp
	plugins/mousepad/CMakeLists.txt
	plugins/mousepad/mousepadplugin.h
	plugins/mpriscontrol/mpriscontrolplugin.cpp
	plugins/sftp/sftpplugin.cpp
2014-11-04 19:12:29 +01:00
l10n daemon script
3b192ea18e SVN_SILENT made messages (.desktop file) 2014-11-02 04:01:28 +00: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
Àlex Fiestas
677f650216 Removed K_EXPORT_PLUGIN, no longer needed
With kf5 this is not longer needed. removing it!
2014-09-22 02:40:51 +02:00
Àlex Fiestas
51b8fd34b8 Remove unused KStandardDirs include from kded 2014-09-22 01:24:03 +02:00
Àlex Fiestas
ba08b593f9 Remove trailing spaces from kded.cpp/h 2014-09-21 23:01:08 +02:00
Àlex Fiestas
54a1e3e7bf Port kded.cpp from kDebug to qCDebug
Also using this opportunity to use a different namespace per component,
in this case kdeconnect.kded (instead of just kdeconnect).
2014-09-21 23:00:55 +02:00
Lukáš Tinkl
743f7548e0 i18n fixes 2014-09-08 03:09:18 +02:00
Lukáš Tinkl
408d8e4f3b don't create a bogus org.kde.org.kde.kdeconnect service on the bus 2014-09-07 17:54:58 +02:00
Elias Probst
16f2251019 Streamline internal naming (kdeconnect → org.kde.kdeconnect)
- correct PluginName in metadata
- correct plasmoid installation directory
- correct appName in aboutData
- remove trailing whitespace.

REVIEW: 119937
2014-08-26 01:37:35 +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
Albert Vaca
a303b73238 Merge branch 'master' into frameworks
Conflicts:
	cli/kdeconnect-cli.cpp
	core/CMakeLists.txt
	plasmoid/package/contents/ui/FullRepresentation.qml
	plugins/ping/pingplugin.cpp
2014-07-01 23:59:38 +02:00
Albert Vaca
cabb0f2f7b Simplified debug areas so we only have one, called "kdeconnect" 2014-07-01 01:26:08 +02:00
Albert Vaca
46ca1e7109 Fixed wordpress being used as organization name and exported to dbus
Reviewed by Aleix Pol
2014-06-27 18:34:49 +02:00
Aleix Pol
16aaa9f77c Merge branch 'master' into frameworks 2014-06-21 02:06:50 +02:00
l10n daemon script
c23b83ea09 SVN_SILENT made messages (.desktop file) 2014-06-19 04:30:11 +00: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
43a24ac12e Figure out Messages.sh after code refactoring
KDED is translated again
Rename the core's pot to kdeconnect-core.pot and make sure the library
loads the catalog when it's linked to.
Provide a separate translations file for all the plugins, together.

REVIEW: 118774
2014-06-17 18:45:47 +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
Alexandr Akulich
af70979095 Added some more const declaration.
Conflicts:
	libkdeconnect/devicesmodel.cpp
	libkdeconnect/devicesmodel.h
	libkdeconnect/notificationsmodel.cpp
	libkdeconnect/notificationsmodel.h
2014-06-14 14:32:30 +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
27483bc0c5 Inform other devices we don't trust them when they talk to us 2014-06-09 11:52:46 +02:00
Albert Vaca
78597637e7 Missing license file 2014-06-09 11:52:16 +02:00
Albert Vaca
11b86359fd Added a proper description to KAboutData 2014-06-09 10:31:25 +02:00
Antoni Bella Pérez
10d44d9b9c Fixed typo 2014-06-07 18:47:24 +02:00
Albert Vaca
e9a9d742d6 Fixed sftp plugin crashing when mounting
Removed sftp notificatons and some configuration options
Homogenized coding style
2014-06-07 18:34:48 +02:00
Stefan Werner
400cff1c9c PauseMusicPlugin now stops music when it can't pause (ie: streams) 2014-06-07 18:34:48 +02:00
Albert Vaca
6549da84be Incoming shared files can now be placed in device-dependent dirs. 2014-06-07 18:27:38 +02:00
Albert Vaca
e2e3785206 Trying to fix crashs at exit 2014-06-07 18:27:38 +02:00
Albert Vaca
5c66b891e2 Fixed bug with mixers not being correctly converted to dbus paths
BUG: 333709
2014-06-07 18:27:38 +02:00
Albert Vaca
0b98ec3cb0 Fixed a crash when no mixers or controls were abailable in KMix
BUG: 332153
2014-06-07 18:27:38 +02:00
l10n daemon script
4a28371412 SVN_SILENT made messages (.desktop file) 2014-06-07 04:18:43 +00:00
l10n daemon script
c641fd50c0 SVN_SILENT made messages (.desktop file) 2014-06-04 04:19:06 +00:00
l10n daemon script
ab3d38d677 SVN_SILENT made messages (.desktop file) 2014-05-31 04:21:12 +00:00
l10n daemon script
78efe7512c SVN_SILENT made messages (.desktop file) 2014-04-21 04:56:45 +00:00