Page MenuHomePhabricator

E on FreeBSDProject
ActivePublic

Details

Description

Try and make things more organized by creating a project to add in issues, this makes it easier to search for just FreeBSD issues. Also this opens doors to other users who enjoy using FreeBSD want to make E better.

Recent Activity

Tue, Jan 19

vtorri added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

@cederom what is the status of that task ?

Tue, Jan 19, 11:16 PM · Restricted Project, E on FreeBSD

Dec 22 2020

Peter2121 created T8870: EFL build failed with EFL-ONE option activated.
Dec 22 2020, 9:24 AM · E on FreeBSD

Dec 18 2020

cederom added a comment to T8868: Support Open SEATD+WLROOTS instead Linux-only-(e)LoginD/SystemD for Wayland.

Thank you @ProhtMeyhet :-)

Dec 18 2020, 3:50 PM · E on FreeBSD, efl
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

@raster you helped me a lot to get things done, and I am grateful for that, thank you, I do not want any shitstorm here, sorry, I do not want to destroy anything, no worries, I am just looking for a solution to make things portable as free and optional alternative to existing solution, preferably that could be selected with meson at build time. But existing solution is hardwired to only one OS out there, Linux, that creates its own standards ignoring the rest, thus becoming less and less open, while there are others solutions that make things work for everyone.

Dec 18 2020, 2:58 PM · Restricted Project, E on FreeBSD
ProhtMeyhet triaged T8868: Support Open SEATD+WLROOTS instead Linux-only-(e)LoginD/SystemD for Wayland as TODO priority.

See T6947 and @devilhorns branch which is outdated. I don't know the current state.

Dec 18 2020, 2:48 PM · E on FreeBSD, efl
ProhtMeyhet added projects to T8868: Support Open SEATD+WLROOTS instead Linux-only-(e)LoginD/SystemD for Wayland: efl, E on FreeBSD.
Dec 18 2020, 2:35 PM · E on FreeBSD, efl
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Fully agree - all functions and dependencies should be totally optional - except dependency on systemd is quite the opposite - it is a hard dependency on Linux OS and whole project portability blocker when it comes to Wayland - so anything new that makes E work with Wayland should be optional and portable :-)

Dec 18 2020, 12:24 PM · Restricted Project, E on FreeBSD
raster added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

FYI ... i'm very very very much against adding more dependencies. after decades of users complaining bitterly about needing any dependency.. any new dependency has to come as being totally optional OR a very very very good reason to use it. so basically don't expect existing logind code to change as the only deps it adds are those that are already on the system.

Dec 18 2020, 11:33 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

After discussion on WLROOTS GitHub [1] is seems that LIBSEAT would be better ELOGIND replacement rather than using whole wlroots :-)

Dec 18 2020, 5:39 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Thank you @devilhorns @raster I have asked this question on wlroots github the best place to get quick and reliable answer if we can use wlroots and our own renderer :-)

Dec 18 2020, 5:20 AM · Restricted Project, E on FreeBSD
raster added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

we can;'t use wlroots because it also includes a renderer of its own and that would mean we drop our own (evas) and that would essentially kill off all of e as everything u see is rendered by evas. as long as you have your own renderer something like wlroots is pretty much a no-go. i haven't looked in DETAIL though so maybe there is some way to bypass using the wlroots renderer but then this spiders out to other bits we then can't use etc. etc. etc. and eventually we find we use very little of it ans spend a lot of effort in impedance mismatch handling.

Dec 18 2020, 2:45 AM · Restricted Project, E on FreeBSD

Dec 17 2020

devilhorns added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

The question is why don't we use WLROOTS and SEATD so the project gets portable and does not contain hard references to Linux only solutions like systemd/logind? If we had that solution Enligthenment would already work using Wayland both on Linux and FreeBSD :-)

Do you know these solutions? Is it a lot of work to add another WL glue (wlroots+seatd)? Any sort of estimate form experienced developer would be nice to know :-)

Dec 17 2020, 11:10 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

The question is why don't we use WLROOTS and SEATD so the project gets portable and does not contain hard references to Linux only solutions like systemd/logind? If we had that solution Enligthenment would already work using Wayland both on Linux and FreeBSD :-)

Dec 17 2020, 10:09 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8867: drm enforces eeze.

Thank you guys! All is clear now. I will continue further discussion on https://phab.enlightenment.org/T8866 :-)

Dec 17 2020, 10:03 AM · Restricted Project, E on FreeBSD
devilhorns added a comment to T8867: drm enforces eeze.

Still the core question remains - if EEZE is a mandatory requirement for DRM? If not then DRM code does not respect meson configuration :-)

Dec 17 2020, 6:03 AM · Restricted Project, E on FreeBSD
devilhorns added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Currently, the DRM implementation in EFL is coded to use Eeze for discovery of the drm card and other devices. Systemd or elogind is also a requirement currently. As I do not use *BSD, I would be unable to code support for that (as I cannot test it), however if you would like to provide patches then I would be happy to review.

Dec 17 2020, 6:00 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Thank you @arrowdodger for the hint on ConsoleKit2 [ck]. I am a bit confused - is this elogind replacement? I have this installed already but this does not seem to solve my problem with E..

Dec 17 2020, 4:47 AM · Restricted Project, E on FreeBSD
arrowdodger added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

elogind has similar DBus interface with one that consolekit2 uses. The latter is present in our ports, so maybe you should try it.

Dec 17 2020, 12:18 AM · Restricted Project, E on FreeBSD

Dec 16 2020

cederom updated subscribers of T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Allright it turns out that E/EFL when it comes to Wayland it hardcoded with Linux's systemd/logind/elogind. This sux :-) But there is an alternative called SEATD that is portable by design works already on FreeBSD and Linux and it meant as replacement to elogind.

Dec 16 2020, 5:37 PM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

With the changes proposed above the package builds, it contains several modules, but it cannot connect to input and cannot open a device what ends in not being able to create a compositor. As I have mentioned above sway and wayfire works fine here so we need to work more :-)

Dec 16 2020, 12:29 PM · Restricted Project, E on FreeBSD
cederom updated subscribers of T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Hello @Peter2121 can you please take a look and give some hints on how to evade clone / unshare / setns which are Linux only syscalls? Details above :-)

Dec 16 2020, 11:43 AM · Restricted Project, E on FreeBSD
cederom updated subscribers of T8867: drm enforces eeze.

ACK! I also prefer to patch upstream/master :-)

Dec 16 2020, 11:34 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Then we have src/modules/wl_drm/e_mod_main.c:

../src/modules/wl_drm/e_mod_main.c:786:17: error: use of undeclared identifier 'KEY_F1'
       (code >= KEY_F1) && (code <= KEY_F8))
                ^
../src/modules/wl_drm/e_mod_main.c:786:37: error: use of undeclared identifier 'KEY_F8'
       (code >= KEY_F1) && (code <= KEY_F8))
                                    ^
../src/modules/wl_drm/e_mod_main.c:791:22: error: use of undeclared identifier 'KEY_F1'
        vt = (code - KEY_F1 + 1);
                     ^
Dec 16 2020, 11:20 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Some more problems in src/modules/xwayland/dnd.c:

../src/modules/xwayland/dnd.c:463:20: warning: implicit declaration of function 'socketpair' is invalid in C99 [-Wimplicit-function-declaration]
               if (socketpair(AF_UNIX, (SOCK_STREAM | SOCK_CLOEXEC), 0, fds) != 0)
                   ^
../src/modules/xwayland/dnd.c:463:41: error: use of undeclared identifier 'SOCK_STREAM'
               if (socketpair(AF_UNIX, (SOCK_STREAM | SOCK_CLOEXEC), 0, fds) != 0)
                                        ^
../src/modules/xwayland/dnd.c:463:55: error: use of undeclared identifier 'SOCK_CLOEXEC'
               if (socketpair(AF_UNIX, (SOCK_STREAM | SOCK_CLOEXEC), 0, fds) != 0)
                                                      ^
../src/modules/xwayland/dnd.c:463:31: error: use of undeclared identifier 'AF_UNIX'
               if (socketpair(AF_UNIX, (SOCK_STREAM | SOCK_CLOEXEC), 0, fds) != 0)
                              ^
6 warnings and 3 errors generated.
Dec 16 2020, 11:17 AM · Restricted Project, E on FreeBSD
Peter2121 added a comment to T8867: drm enforces eeze.

When do you plan to push the patches to master and would they get to a next release and when is the next release planned?

Dec 16 2020, 11:07 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8867: drm enforces eeze.

When do you plan to push the patches to master and would they get to a next release and when is the next release planned?

Dec 16 2020, 10:35 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8867: drm enforces eeze.

Still the core question remains - if EEZE is a mandatory requirement for DRM? If not then DRM code does not respect meson configuration :-)

Dec 16 2020, 10:27 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Now its time to fight some bugs in Enlightenment :-) It recognizes EFL to have Wayland support which is a great success because that was a blocker. Some new issues shows up when building E with Wayland support :-)

Dec 16 2020, 10:24 AM · Restricted Project, E on FreeBSD
cederom renamed T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm. from FreeBSD: EFL-1.25.1 wayland+drm. to FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..
Dec 16 2020, 10:21 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8867: drm enforces eeze.

Thank you! This helped me a lot and progressed into a state where whole EFL builds on FreeBSD with active WL+DRM configuration. I have some issues with Enlightenment but I hope to solve them soon. Wayland and hikari/sway works on FreeBSD so I hope to work with my E here too :-)

Dec 16 2020, 10:19 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Now I have this: ../src/modules/ecore_evas/engines/drm/ecore_evas_drm.c:23:11: fatal error: 'Evas_Engine_GL_Drm.h' file not found. I guess that header is part of EFL?

Dec 16 2020, 9:24 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

After fixing the EEZE build problems, following linux related problems occur for WL+DRM build on FreeBSD. Are these really necessary? Can they be provided with EFL? Should we add them to FreeBSD?

Dec 16 2020, 9:22 AM · Restricted Project, E on FreeBSD
Peter2121 added a comment to T8867: drm enforces eeze.

I prefer that netstar test it and pushed himself. It seems that he changed my patches. Anyway, before push it should be tested :)

Dec 16 2020, 9:22 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8867: drm enforces eeze.

Peter updated me with a hint that EEZE can build on FreeBSD when libmount is disabled in meson and following patch applied on top of EFL-1.25.1. This is true! Thank you! :-)

Dec 16 2020, 9:07 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

Replacing [engine_gl_drm] with [gl_deps] does seem to fix the meson issue [1] :-)

Dec 16 2020, 8:10 AM · Restricted Project, E on FreeBSD
cederom added a comment to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..

I have created a separate report for DRM enforcing EEZE although this EEZE is explicitly disabled with meson switch: https://phab.enlightenment.org/T8867

Dec 16 2020, 8:07 AM · Restricted Project, E on FreeBSD
cederom created T8867: drm enforces eeze.
Dec 16 2020, 8:06 AM · Restricted Project, E on FreeBSD

Dec 14 2020

cederom renamed T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm. from FreeBSD: EFL-1.25.1 wayland+drm meson eeze problem. to FreeBSD: EFL-1.25.1 wayland+drm..
Dec 14 2020, 1:57 PM · Restricted Project, E on FreeBSD
cederom updated the task description for T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..
Dec 14 2020, 1:39 PM · Restricted Project, E on FreeBSD
cederom renamed T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm. from FreeBSD: wayland+drm meson eeze problem. to FreeBSD: EFL-1.25.1 wayland+drm meson eeze problem..
Dec 14 2020, 1:38 PM · Restricted Project, E on FreeBSD
cederom added a project to T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm.: Restricted Project.
Dec 14 2020, 1:38 PM · Restricted Project, E on FreeBSD
cederom created T8866: FreeBSD: E-0.24.2 + EFL-1.25.1 + wayland + drm..
Dec 14 2020, 1:37 PM · Restricted Project, E on FreeBSD

Nov 30 2020

raster closed T8758: Cannot build EFL with -Dlua-interpreter=lua as Resolved.

actually i think this is just old and already long fixed as we have a macro for this:

Nov 30 2020, 2:43 AM · E on FreeBSD
raster added a comment to T8758: Cannot build EFL with -Dlua-interpreter=lua.

lua 5.2 is explicitly supported in efl. 5.1 and 5.2 are supported. .53 and newer are not and 5.0 and older are not. lua does regularly break api/abi - so we have to explicitly change code to adapt to new lua versions. you can see in meson.build in the top dir:

Nov 30 2020, 2:40 AM · E on FreeBSD

Oct 8 2020

ProhtMeyhet triaged T8717: File browsing problem on EFL (1.23.3) and E (0.23.1) as Normal priority.
Oct 8 2020, 9:47 AM · Restricted Project, E on FreeBSD
ProhtMeyhet added projects to T8717: File browsing problem on EFL (1.23.3) and E (0.23.1): E on FreeBSD, Restricted Project.
Oct 8 2020, 9:47 AM · Restricted Project, E on FreeBSD
ProhtMeyhet triaged T8758: Cannot build EFL with -Dlua-interpreter=lua as High priority.
Oct 8 2020, 9:14 AM · E on FreeBSD
ProhtMeyhet closed T6783: Please don't install the empty directory lib/evas/utils as Resolved.

Please reopen if not resolved.

Oct 8 2020, 8:38 AM · E on FreeBSD
ProhtMeyhet added a project to T8812: efreetd Segmentation fault on NetBSD: E on FreeBSD.

I blatantly put this under FreeBSD so maybe someone knows :-)

Oct 8 2020, 8:35 AM · E on FreeBSD

Sep 8 2020

arrowdodger added a comment to T6783: Please don't install the empty directory lib/evas/utils.

Seems to be fixed for 1.24.3.

Sep 8 2020, 9:49 PM · E on FreeBSD