I've installed multimedia/kodi to my RPi - it requires raspberrypi-userland. I want to install print/hplip and it requires mesa-libs. But it's impossible: - mesa-libs-17.3.1 conflicts with raspberrypi-userland-20161026 on /usr/local/include/EGL/egl.h
What about this report?
(In reply to Zsolt Udvari from comment #1) Sorry for the late reply. Nothing much I can do, pkg still lacks the "provides/requires" feature...
USES=gl can probably follow USES=jpeg example by providing a way to override graphics/mesa-libs dependency.
Created attachment 205725 [details] New prefix to raspberrypi_userland
This conflict is preventing the use of hardware accelerated support in an X environment. Xine, vlc, gstreamer, mpv, ... Like it or not, the Raspberry Pi family of computers are one of the most popular arm machines today. The new opengl driver can be useful in the future with a more powerful hardware, but for now, this is the better option (and the only one in BSD?) for playing HD video, and through gstreamer, playing videos on a web browser with an acceptable quality. Vlc has a new driver that integrates perfectly the player with the X environment. I'm attaching patches for raspberrypi-userland and for omxplayer to use LOCALBASE/share/vc as the prefix of the userland, adding -I with this path to omxplayer and adding a message to advise the user to change LD_LIBRARY_PATH. If this is accepted, I'll correct the other ports that can use raspberrypi-userland.
Created attachment 214912 [details] (naive) libglvnd support Does this help? Apply bug 246767 first. Disclaimer: I've never had Raspberry Pi. Besides, Mesa already has some drivers for Raspberry Pi.
Comment on attachment 214912 [details] (naive) libglvnd support Nevermind, libglvnd doesn't provide DISPMANX_ELEMENT_HANDLE_T and EGL_DISPMANX_WINDOW_T in <EGL/eglplatform.h> which is required by multimedia/omxplayer.
(In reply to Jan Beich from comment #6) My RPi went awry so I can't test it.
Created attachment 234432 [details] misc/raspberrypi-userland: move libraries to ${LOCALBASE}/share/vc I've taken the patch from attachment #205725 [details] of comment #4 and slightly touched it up. I've also added a patch to multimedia/libcec (see bug #264431) so it uses the correct library. It might be nice if sunpoet@ could check this. While at this, I noticed that multimedia/libcec has a library dependency on Python at runtime, so maybe USES=python:build should be changed to USES=python. Tested misc/raspberrypi-userland, multimedia/omxplayer, and multimedia/libcec with Poudriere on armv7 FreeBSD 13. --- [PATCH] misc/raspberrypi-userland: move libraries to ${LOCALBASE}/share/vc The port installs a bunch of OpenGL libraries with conflict with libglvnd and friends. Move the Raspberry Pi specific libraries to a different prefix so they don't conflict. Also update dependent ports so they can find these libraries. Reported by: Zsolt Udvari <uzsolt@uzsolt.hu> PR: 225053 Co-Authored-by: adr <adr@sdf.org>
(In reply to Robert Clausecker from comment #9) Thanks Robert. If resolution of this issue depends on (should be committed after), resolution of bug 264431 please add it to this issues 'Depends On' field. Also if the original patch by adr@ is obsoleted by yours, let us know so we can mark it as such ^Triage: Port is unmaintained, approval set in comment 9 is: Approved by: portmgr (blanket: unmaintained port)
(In reply to Kubilay Kocak from comment #10) Yes, attachment #205725 [details] is obsoleted by #234432. Note that the patch also touches two other ports to fix some paths in these. One of these ports is maintained by sunpoet@, the other one is unmaintained. As for the "DependsOn", it's exactly the other way round: attachment #234432 [details] also fixes bug #264431.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=20a2ff573498fb0c81360ca7f032ce7d5fb4e980 commit 20a2ff573498fb0c81360ca7f032ce7d5fb4e980 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-06-16 14:02:34 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-06-16 14:02:34 +0000 misc/raspberrypi-userland: Avoid CONFLICTS with mesa-libs - Bump PORTREVISION for package change PR: 225053 Submitted by: Robert Clausecker <fuz@fuz.su> misc/raspberrypi-userland/Makefile | 15 +- misc/raspberrypi-userland/pkg-message (new) | 3 + misc/raspberrypi-userland/pkg-plist | 566 +++++++++++----------- multimedia/libcec/Makefile | 3 +- multimedia/omxplayer/Makefile | 2 +- multimedia/omxplayer/files/patch-Makefile | 4 +- multimedia/omxplayer/files/patch-Makefile.include | 4 +- 7 files changed, 300 insertions(+), 297 deletions(-)
Committed. Thanks!