Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459872 - dev-libs/ecore and media-libs/evas automagically enable wayland
Summary: dev-libs/ecore and media-libs/evas automagically enable wayland
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: enlightenment+disabled
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-01 13:13 UTC by Dennis Schridde
Modified: 2013-04-02 17:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2013-03-01 13:13:00 UTC
dev-libs/ecore and media-libs/evas currently have no wayland useflags and thus wayland support is enabled automagically.

For ecore, this results in:
Optional Modules:
 Ecore Evas:
  Ecore_Evas...................: yes
    Wayland Shm................: no
    Wayland Egl................: no

While for evas the wayland engine is enabled, but would never run:
Engines:
  Wayland Shm................: yes
  Wayland Egl................: yes

This was pointed out to me on Freenode at #edevelop
Comment 1 Dennis Schridde 2013-03-01 13:19:39 UTC
Further, it needs REQUIRED_USE="wayland? ( gles )", otherwise you will get the following error when compiling evas:
evas_wl_main.c: In function 'eng_window_new':
evas_wl_main.c:197:18: error: 'Evas_Engine_GL_Context' has no member named 'egldisp'
Comment 2 Dennis Schridde 2013-03-01 13:27:52 UTC
And since there is currently no way to disable wayland support, this creates a problem. So at the very least we need a --disable-wayland in these ebuilds.
Comment 3 Dennis Schridde 2013-03-01 13:37:35 UTC
(In reply to comment #2)
> And since there is currently no way to disable wayland support, this creates
> a problem. So at the very least we need a --disable-wayland in these ebuilds.

The flags are actually named differently, and the dependency on gles needs to be respected, so this makes it:
  $(use gles && use_enable wayland wayland-egl)
  $(use_enable wayland wayland-shm)
Comment 4 Thomas Sachau gentoo-dev 2013-04-02 09:00:38 UTC
This should be fixed in evas-1.7.5-r1 and ecore-1.7.5-r1. Please test and report back.
Comment 5 Dennis Schridde 2013-04-02 13:38:41 UTC
(In reply to comment #4)
> This should be fixed in evas-1.7.5-r1 and ecore-1.7.5-r1. Please test and
> report back.

I tested USE="+wayland -gles" and it builds and runs. I did not test actual wayland support, though, because there is no display manager available in portage, yet.