Commit Graph

9 Commits

Author SHA1 Message Date
Jérémy Zurcher 5c2def50ca ecore_drm: fix out of source tree compilation
issue introduces by 10fa1b5

ecore_drm_private.h includes Eldbus.h
Eldbus.h includes Efl.h since 10fa1b5
2015-12-23 17:43:22 +01:00
Marcel Hollerbach 46e9eed2c4 build: replace libsystemd-{daemon, journal} with libsystemd
Summary:
since all the libs got merged into libsystemd in 209, we can just check
for libsystemd

Reviewers: cedric

Subscribers: stefan_schmidt, morlenxus

Differential Revision: https://phab.enlightenment.org/D2984
2015-08-25 10:52:47 +02:00
Stefan Schmidt ecceca8566 ecore/drm: Compile ecore_drm_logind.c without condition
Right now we excluded the file from the build if we did not find system-logind.
We are using some symbols from this file without any condition though:
lib/ecore_drm/.libs/libecore_drm.so: undefined reference to `_ecore_drm_logind_device_open_no_pending'
lib/ecore_drm/.libs/libecore_drm.so: undefined reference to `_ecore_drm_logind_connect'
lib/ecore_drm/.libs/libecore_drm.so: undefined reference to `_ecore_drm_logind_disconnect'
lib/ecore_drm/.libs/libecore_drm.so: undefined reference to `_ecore_drm_logind_device_close'

This comes from a Gentoo machine without systemd.

As the logind relevant parts are ifdef'ed in the code itself it is safe to build
this file in all cases and thus avoid the undefined references.

@fix
2015-02-13 10:12:25 +01:00
Chris Michael c9cee01f12 ecore-drm: Remove logind header file from build order
Summary: Since we removed the need for the logind header file, let's
remove that from the build order.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-26 08:37:08 -05:00
Stefan Schmidt 506d7de4a0 ecore_drm: Setup correct linker flags for usage with systemd-login
After the introduction of the non-systemd launcher the linking with systemd
enabled failed for me.

lib/ecore_drm/.libs/libecore_drm.so: undefined reference to `sd_pid_get_session'

Better we make sure that we actually setup the linker flags for the systemd use
case as well.
2014-12-10 15:09:44 +01:00
Seunghun Lee b10ab1a86f ecore-drm: added drm launcher that is allow to determine whether to launch with logind or root privilege.
Summary:
- allow to launch drm backend without systemd-logind with root privilege.
- allow to open drm device node via logind, not directly open it, in case exist systemd-logind.
- fixes issue that couldn't switch session, because ecore-drm couldn't drop master to drm device with no permission. (allow to switch session appropriate.)

Reviewers: gwanglim, devilhorns

Subscribers: torori, cedric

Differential Revision: https://phab.enlightenment.org/D1704
2014-12-09 09:36:42 -05:00
Chris Michael 5ce304ff84 ecore-drm: Add dbus file
Add internal source file for ecore_drm_dbus code

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-15 09:44:14 -04:00
Chris Michael 8b0fe68043 ecore-drm: Remove ecore_drm_launch binary from Makefile
We will no longer need the ecore_drm_launch binary for opening inputs

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-15 09:42:01 -04:00
Chris Michael 667702d1a5 ecore-drm: Add ecore-drm Makefile
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-06 11:17:26 +00:00