Re: [2/2] [new port] multimedia/obs-studio
[email protected] Wed, 05 Aug 2026 06:00:02 +0000
| Newsgroups | gmane.os.openbsd.ports |
|---|---|
| Message-ID | <63H6YNDegDwkQd790wHTFYVlJP-qKK_NDYPZ6-NzAGJi-AkGyBPblDSpxVEcvXtOpEOgC-6njcfV2UZCBGE6_ygGCx0l4076ILtJnXHYSnA=@protonmail.com> |
P=C3=A5 tirsdag 4. august 2026 kl. 14:29, skrev Daniil Ryvkin <[email protected]>: > On Sun, Aug 02, 2026 at 07:28:36PM +0100, Stuart Henderson wrote: > > On 2026/08/02 19:50, Daniil Ryvkin wrote: > > > On Wed, Jul 29, 2026 at 05:32:51PM +0100, Stuart Henderson wrote: > > > > > =09libuuid found via file(GLOB) in the OpenBSD cmake file > > > > > =09libGL found via file(GLOB) in libobs-opengl patch > > > > > > > > I don't understand this, what's wrong with -lGL -luuid? > > > > > > > > > > > > > > I tried -lGL and -luuid, but on OpenBSD there are no unversioned .so = symlinks for these libraries - only versioned files > > > (libGL.so.19.2, libuuid.so.14.1). The linker fails with "unable to fi= nd library -lGL". CMake's own find_library() finds the versioned > > > files fine, but generating -lGL as a link flag does not work. > > > > > > I think file(GLOB) is the right approach here. > > > > Absolutely isn't. It is probably just missing -L/usr/X11R6 -L/usr/local= /lib > > on the command line. > > > > You were right, adding -L to the linker flags was all that was needed. > Rebuilt/tested on current/amd64 with privsep. Removed devel/simde and obs-studio. $ cd /usr/ports/multimedia/obs-studio/ && make clean=3Dall clean && make bu= ild package test ; make port-lib-depends-check check-shlib-syms clean No regression tests for obs-studio-32.1.2 /usr/local/lib/libobs-frontend-api.so.0.0 --> /usr/ports/pobj/obs-studio-32= .1.2/fake-amd64/usr/local/lib/libobs-frontend-api.so.0.0 No dynamic export changes /usr/local/lib/libobs-opengl.so.0.0 --> /usr/ports/pobj/obs-studio-32.1.2/f= ake-amd64/usr/local/lib/libobs-opengl.so.0.0 No dynamic export changes /usr/local/lib/libobs-scripting.so.0.0 --> /usr/ports/pobj/obs-studio-32.1.= 2/fake-amd64/usr/local/lib/libobs-scripting.so.0.0 No dynamic export changes /usr/local/lib/libobs.so.0.0 --> /usr/ports/pobj/obs-studio-32.1.2/fake-amd= 64/usr/local/lib/libobs.so.0.0 No dynamic export changes -- # TRUSTED_PKG_PATH=3D/usr/ports/packages/amd64/all/ pkg_add -Dsnap obs-stud= io obs-studio-32.1.2: ok Running tags: ok New and changed readme(s): =09/usr/local/share/doc/pkg-readmes/obs-studio --- +obs-studio-32.1.2 ------------------- When running under a Wayland compositor, OBS must be started with: $ obs --platform xcb Qt6 defaults to the Wayland platform, which currently fails to initialize OpenGL on OpenBSD. Using --platform xcb forces X11/XWayland. -- No nits or grammar/spelling in this revision either I can find. Makes sense to put simde in TUPLE for now if it could break bulk builds. Built fine. From fastfetch: CPU: Intel(R) Core(TM) i5-3340M (2) @ 2.70 GHz GPU: Intel(R) HD Graphics 4000 (IVB GT2) [Integrated] -- Did a preview of dolphin-emu, citra-qt, and pcsx2-qt (--platform xcb) on sway. Was able to capture gameplay. Rather nice. Was able to capture mpv(xwayland) and even xconsole too. A bit slow on my potato but serviceable. Not versed in this software so that is what I tried. Think this works well with in the current limitations. Let me know if any other testing could help get this in before 8.0-stable. Thanks again for porting this and sticking with it during the review process. I bet many will be excited for this to hit the binary ftp servers. Hope this helps. Happy hacking. May you all stay cool and hydrated. -- yaydn