Bug 251988 - devel/efl: wayland support
Summary: devel/efl: wayland support
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-enlightenment (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-20 14:45 UTC by Tomasz "CeDeROM" CEDRO
Modified: 2022-01-16 14:52 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (enlightenment)


Attachments
efl that builds with wayland enabled (but does not work) (4.72 KB, application/x-xz)
2020-12-20 14:46 UTC, Tomasz "CeDeROM" CEDRO
no flags Details
englightenment that builds with wayland support (but does not work) (5.11 KB, application/x-xz)
2020-12-20 14:46 UTC, Tomasz "CeDeROM" CEDRO
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz "CeDeROM" CEDRO 2020-12-20 14:45:30 UTC
Hello world :-)

Here goes devel/efl (1.25.1) and x11-wm/enlightenment (0.24.2) work in progress aimed at running on Wayland instead of X11 on FreeBSD. Two port files builds fine finally (some Linux headers need to be included for EFL though).

However Enlightenment is hardwired internally to systemd and elogind therefore so far it only works on Linux when it comes to Wayland. Alternative solution is to use SeatD/WLroots and implement portable wayland backend to Enlightenment.

https://phab.enlightenment.org/T8866

Best regards :-)
Tomek
Comment 1 Tomasz "CeDeROM" CEDRO 2020-12-20 14:46:16 UTC
Created attachment 220750 [details]
efl that builds with wayland enabled (but does not work)
Comment 2 Tomasz "CeDeROM" CEDRO 2020-12-20 14:46:54 UTC
Created attachment 220751 [details]
englightenment that builds with wayland support (but does not work)
Comment 3 Tomasz "CeDeROM" CEDRO 2020-12-20 14:50:05 UTC
By the way I have finally learned how to send patches to upstream efl/e with arcanits+phab so if you have something to patch just let me know I can send them :-)

https://git.enlightenment.org/
Comment 4 Jan Beich freebsd_committer freebsd_triage 2020-12-26 07:30:08 UTC
Have you tried https://reviews.freebsd.org/D18754 and something like the following?

-#define SYSTEMD_DBUS_NAME                       "org.freedesktop.login1"
-#define SYSTEMD_DBUS_PATH                       "/org/freedesktop/login1"
-#define SYSTEMD_DBUS_INTERFACE                  "org.freedesktop.login1.Manager"
+#define SYSTEMD_DBUS_NAME                       "org.freedesktop.ConsoleKit"
+#define SYSTEMD_DBUS_PATH                       "/org/freedesktop/ConsoleKit/Manager"
+#define SYSTEMD_DBUS_INTERFACE                  "org.freedesktop.ConsoleKit.Manager"
Comment 5 Tomasz "CeDeROM" CEDRO 2022-01-16 14:52:44 UTC
As this one is still opened, I made EFL to build with EFL Wayland support on FreeBSD. But there is a hardcode to Linux only SystemD. To overcome this a portable part elogind needs to be implemented on BSD in the first place.