Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#68285 - [obs-studio] several plugins missing due to lack of git submodules

Attached to Project: Community Packages
Opened by Daniel Martí (mvdan) - Friday, 16 October 2020, 19:05 GMT
Last edited by Jonathan Steel (jsteel) - Friday, 23 October 2020, 08:54 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jonathan Steel (jsteel)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

The build is done directly from the git tag archive, which doesn't include initialized git submodules. Since it doesn't include the .git folder either, a 'git submodule init' wouldn't work either.

See https://github.com/obsproject/obs-studio/blob/master/.gitmodules.

For example, the obs-browser plugin is included via a submodule, but /usr/lib/obs-plugins/obs-browser.so is missing from the package file list. You can tell that the plugin should really be built and packaged for Linux because the release https://github.com/obsproject/obs-studio/releases/tag/26.0.2 references it:

> Linux: Fixed an issue where the browser source could crash when browsing files [cg2121]

I think replacing the source tarball with git clones would be enough, as per https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git_submodules.

Additional info:
* package version(s): 26.0.2-2
This task depends upon

Closed by  Jonathan Steel (jsteel)
Friday, 23 October 2020, 08:54 GMT
Reason for closing:  Upstream
Comment by Jonathan Steel (jsteel) - Thursday, 22 October 2020, 17:00 GMT
I did look into this and commented here  FS#66008 
Comment by Daniel Martí (mvdan) - Thursday, 22 October 2020, 20:15 GMT
Thanks - I did find that issue a little after filing this issue. It's unfortunate that there's no clear indication that this package does not include the browser plugin by design. Perhaps that detail could be added to the package description. Or perhaps keep an open bug with "browser plugin" in its title, and clearly pointing people towards alternatives like obs-studio-git.

Also, did you notice that there are other git submodules? I imagine it's likely that at least one other submodule would affect the build.
Comment by Jonathan Steel (jsteel) - Friday, 23 October 2020, 08:54 GMT
The fact that they don't include this in their release, and to get it working requires a dated version of cef makes me feel this is not well supported. I'm not sure why we should take it seriously if upstream are not. I suggest taking this issue upstream; as soon as it is part of their release and working with the latest releases of their dependencies, Arch will naturally absorb it.

Loading...