Skip to content

Fixed missing videoInput.a in non-standard environments.#554

Open
GitBruno wants to merge 6 commits intoopenframeworks:bleedingfrom
ofrasp:bleeding
Open

Fixed missing videoInput.a in non-standard environments.#554
GitBruno wants to merge 6 commits intoopenframeworks:bleedingfrom
ofrasp:bleeding

Conversation

@GitBruno
Copy link
Copy Markdown

@GitBruno GitBruno commented Apr 24, 2026

Fixed missing videoInput.a in certain environments apothecary/formulas/videoInput.sh

Also let's not block running tests on forks ... Other checks are still in place. When we fork we will need to manually activate this anyway. So no incidental builds.

Also tidied videoInput.sh so CMakeLists does not come for a different repository.

…xt fetch

- Use single ofTheo repo
- Handle LIBRARY_SUFFIX in msys2 lib copy (libvideoInput*.a glob)
Any fork that has this workflow and pushes to master/bleeding gets its own releases. Which is fine
@danoli3
Copy link
Copy Markdown
Member

danoli3 commented Apr 24, 2026

Looks good for ci stuff

however the remove of Prepare in videoInput ?

# prepare the build environment, executed inside the lib src dir
function prepare() {
. "$DOWNLOADER_SCRIPT"
downloader ${CMAKE_LIST}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just confused about this removal was it not needed

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed any longer.

It was used to pull in a CMakeLists.txt from a forked repository. Probably because videoInput did not have this file at the time of code writing, either way for some reason they kept the ofTheo branch and only sourced the CMakeLists.txt from another forked repo. But as this file is now committed in ofTheo's repo so we should not overwrite it with the forked one.

The prepare() function itself is a standard apothecary formula hook, but it is not required for every formula to define it. It will not break because apothecary has a default fallback implementation.

@ofTheo
Copy link
Copy Markdown
Member

ofTheo commented Apr 24, 2026

Thanks @GitBruno

In the future can you do separate PRs for different features/fixes?
The fix for this issue is fairly small but it includes a lot of unrelated changes.

This is good to go from my perspective - with the exception of @danoli3 's question.

Thank you!

@GitBruno
Copy link
Copy Markdown
Author

Absolutely, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants