Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932515 - media-libs/gst-plugins/base[gles2], media-plugins/gst-plugins-vaapi depend on media-libs/mesa[gles2]
Summary: media-libs/gst-plugins/base[gles2], media-plugins/gst-plugins-vaapi depend on...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
: 932512 932555 (view as bug list)
Depends on:
Blocks: 929992
  Show dependency tree
 
Reported: 2024-05-23 06:33 UTC by Johannes Penßel
Modified: 2024-05-23 17:27 UTC (History)
7 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 Johannes Penßel 2024-05-23 06:33:59 UTC
Starting with the 24.1 release series, media-libs/mesa enables gles2 by default and removes the corresponding USE-flag. However, media-plugins/gst-plugins-vaapi and media-libs/gst-plugins-base with USE=gles2 still explicitly depend on media-libs/mesa[gles2], which blocks the update.
Comment 1 NHO 2024-05-23 07:43:05 UTC
gui-apps/hypridle is also depends on media-libs/mesa[gles2]
Comment 2 Larry the Git Cow gentoo-dev 2024-05-23 13:31:03 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecf2c28739a234d72d95b44a709e706434b8314e

commit ecf2c28739a234d72d95b44a709e706434b8314e
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2024-05-23 13:29:21 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2024-05-23 13:30:56 +0000

    Revert "profiles: Remove outdated mask"
    
    This reverts commit c89941d77dfd679fc7b46d881b0bc4f4685a5a60.
    
    Reverse dependencies of media-libs/mesa need to be updated to handle the
    removal of IUSE=gles2.
    
    Bug: https://bugs.gentoo.org/932512
    Bug: https://bugs.gentoo.org/932515
    Bug: https://bugs.gentoo.org/929992
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 3 Matt Turner gentoo-dev 2024-05-23 13:32:21 UTC
*** Bug 932555 has been marked as a duplicate of this bug. ***
Comment 4 otherz 2024-05-23 14:16:13 UTC
in may case not posible to -gles2 because it is needed egl too and -egl create new conflicts see my pics.


https://i.imgur.com/7QV95sx.png
https://i.imgur.com/W1cs2gG.png
Comment 5 John Bowler 2024-05-23 15:16:48 UTC
(In reply to otherz from comment #4)
> in may case not posible to -gles2 because it is needed egl too and -egl
> create new conflicts

Several things in gst-plugins-base seem to require 'egl' and the fix is required for egl as well as gles2 at least when wayland is used.  This fixes the problems I had this morning in an overlay:

--- /usr/portage/media-libs/gst-plugins-base/gst-plugins-base-1.22.11.ebuild    2024-05-23 07:47:34.815638714 -0700
+++ /usr/overlay/media-libs/gst-plugins-base/gst-plugins-base-1.22.11-r1.ebuild 2024-05-23 08:08:54.914469026 -0700
@@ -43,7 +43,7 @@
 # Dependencies needed by opengl library and plugin (enabled via USE gles2 and/or opengl)
 # dmabuf automagic from libdrm headers (drm_fourcc.h) and EGL, so ensure it with USE=egl (platform independent header used only, thus no MULTILIB_USEDEP); provides dmabuf based upload/download/eglimage options
 GL_DEPS="
-       >=media-libs/mesa-9.0[egl(+)?,gbm(+)?,gles2?,wayland?,${MULTILIB_USEDEP}]
+       >=media-libs/mesa-24.1[gbm(+)?,wayland?,${MULTILIB_USEDEP}]
        egl? (
                x11-libs/libdrm
        )


Of course that's pretty crude; I couldn't see a way of specifying egl/gles2 just for mesa versions <24.1 and I don't know if the comment about gles2 now being on unconditionally also applies to egl.
Comment 6 Matt Turner gentoo-dev 2024-05-23 17:18:36 UTC
*** Bug 932512 has been marked as a duplicate of this bug. ***
Comment 7 Larry the Git Cow gentoo-dev 2024-05-23 17:27:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a98c46ed39cd48269d32f405f86cd71221190d5

commit 8a98c46ed39cd48269d32f405f86cd71221190d5
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2024-05-23 17:25:07 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2024-05-23 17:25:31 +0000

    media-plugins/gst-plugins-vaapi: Update mesa dependency
    
    Closes: https://bugs.gentoo.org/932515
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 ...gins-vaapi-1.22.11.ebuild => gst-plugins-vaapi-1.22.11-r1.ebuild} | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e001568b7c92ea9bb0914bc736f9a93a471a0a58

commit e001568b7c92ea9bb0914bc736f9a93a471a0a58
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2024-05-23 17:23:22 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2024-05-23 17:25:26 +0000

    media-libs/gst-plugins-base: Update mesa dependency
    
    Bug: https://bugs.gentoo.org/932515
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 ...lugins-base-1.22.11.ebuild => gst-plugins-base-1.22.11-r1.ebuild} | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)