[Bug 227509] graphics/mesa-libs: make WAYLAND default on

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 227509] graphics/mesa-libs: make WAYLAND default on

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227509

            Bug ID: 227509
           Summary: graphics/mesa-libs: make WAYLAND default on
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: [hidden email]
          Reporter: [hidden email]
                CC: [hidden email]
          Assignee: [hidden email]
             Flags: maintainer-feedback?([hidden email])

Created attachment 192508
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192508&action=edit
add WAYLAND to OPTIONS_DEFAULT

Hi there

kde@ would like (read "needs") the wayland parts of mesa-libs to be able to
import the Plasma 5 desktop into FreeBSD (even for the X11 based session).

Otherwise it will be impossible to provide official binary packages, as
libEGL-parts are missing in the standard  mesa-libs package.


I'd would be great if this could be changed :)



mfg Tobias

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

maintainer-feedback requested: [Bug 227509] graphics/mesa-libs: make WAYLAND default on

bugzilla-noreply
Bugzilla Automation <[hidden email]> has asked freebsd-x11 mailing list
<[hidden email]> for maintainer-feedback:
Bug 227509: graphics/mesa-libs: make WAYLAND default on
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227509



--- Description ---
Hi there

kde@ would like (read "needs") the wayland parts of mesa-libs to be able to
import the Plasma 5 desktop into FreeBSD (even for the X11 based session).

Otherwise it will be impossible to provide official binary packages, as
libEGL-parts are missing in the standard  mesa-libs package.


I'd would be great if this could be changed :)



mfg Tobias
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227509] graphics/mesa-libs: make WAYLAND default on

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227509

Greg V <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from Greg V <[hidden email]> ---
Hi, I support this change very much, but also please look at bug 227423.
libwayland-egl lives in the official libwayland distribution since 1.15! The
patch I posted there enables qt5-wayland to be built by default.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227509] graphics/mesa-libs: make WAYLAND default on

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227509

Niclas Zeising <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #2 from Niclas Zeising <[hidden email]> ---
This needs more thought, since I don't want to add wayland dependencies by
default to mesa.  One idea is to separate out the wayland bits of mesa into a
separate port.  I haven't looked at the details right now though.
We also have to ensure that we don't break platforms without llvm, since
wayland requires llvm, at least according to comments in the makefile.

This needs further discussion.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227509] graphics/mesa-libs: make WAYLAND default on

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227509

--- Comment #3 from Greg V <[hidden email]> ---
(In reply to Niclas Zeising from comment #2)

Gallium (required for EGL) depends on LLVM, not Wayland.

This is handled in the current port correctly. Please read it carefully:

https://github.com/freebsd/freebsd-ports/blob/d334f82120c2749ac67a9df2c3d8d8f354ac5447/graphics/mesa-libs/Makefile#L26-L40

EGL *is* already enabled by default on platforms with LLVM. Adding Wayland
support to EGL/DRI2 wouldn't mess with anything else.

graphics/wayland is a small dependency, 1mb on amd64, and pretty much all the
desktop things depend on it.

You can't "separate out the wayland bits". libgbm is linked to
libwayland-server, libEGL to both -server and -client. You could make a
nowayland flavor for people hell bent on saving one megabyte of disk space :)

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227509] graphics/mesa-libs: make WAYLAND default on

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227509

--- Comment #4 from Tobias C. Berner <[hidden email]> ---
Sorry, I had my wires crossed a bit. In fact we should be able to build the X11
part of Plasma5 without this change.

But I none the less think, that this change is very non-invasive and does more
good than bad :)

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227509] graphics/mesa-libs: make WAYLAND default on

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227509

Denis Polygalov <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #5 from Denis Polygalov <[hidden email]> ---
(In reply to Greg V from comment #3)

Hi Greg,
related to Niclas Zeising's idea to "separate wayland bits from mesa-libs".

To my knowledge currently it is impossible to install/use
anything Wayland-related without Xorg installed because
mesa-libs pulls a lot of Xorg-related stuff as dependencies.

So this is not only about saving few megabytes on a disk but also
about removing garb... eh.. dark legacy (Xorg) from system...
Do you think it is the right way to keep Wayland(compositor part)
tightly tied to libX11/Xorg?

Maybe it is somehow possible to make a noXorg flavor
for people hell bent on getting rid of Xorg? :)

Regards,
Denis

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 227509] graphics/mesa-libs: make WAYLAND default on

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227509

--- Comment #6 from Greg V <[hidden email]> ---
(In reply to Denis Polygalov from comment #5)
Oh yeah, that should definitely be possible.

With the Meson build system (see
https://github.com/myfreeweb/freebsd-ports-dank/blob/master/graphics/mesa-dev/Makefile
for an alternative mesa port using it), you should be able to pass
-Dplatforms=wayland,drm,surfaceless -Dglx=disabled and get an X-free build. Of
course something similar is possible with the old configure script.

So it shouldn't be too hard to have port options for X11 and WAYLAND and
default|nox11|nowayland flavors that set these options.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"