Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split up notcurses/notcurses-core #1297

Merged
merged 25 commits into from
Jan 18, 2021
Merged

Split up notcurses/notcurses-core #1297

merged 25 commits into from
Jan 18, 2021

Conversation

dankamongmen
Copy link
Owner

Split out the multimedia code and the rest of the library. The latter goes into libnotcurses-core.so. The multimedia stuff goes into libnotcurses.so. libnotcurses.so is build for all three USE_MULTIMEDIA configurations, though in the case of none, it is merely shims returning failure. Applications which never need the multimedia code ought link against notcurses-core instead of notcurses, so that a multimedia-free build can lack libnotcurses.so in the future. Behavior ought be unchanged for existing programs. Closes #339.

@dankamongmen dankamongmen added the NOMERGE not ready for merge label Jan 17, 2021
@dankamongmen
Copy link
Owner Author

Don't merge yet; for some reason we stopped building FFmpeg symbols into libnotcurses.so properly (OIIO works fine, and FFmpeg did, like, five builds ago). We also don't seem to properly be inserting the USE_MULTIMEDIA=none shim implementation, causing notcurses-tester to fail.

@dankamongmen dankamongmen removed the NOMERGE not ready for merge label Jan 18, 2021
@dankamongmen
Copy link
Owner Author

I'm thinking I might redo the library constructors as weak symbol overrides, but this is the basic approach.

@dankamongmen dankamongmen merged commit 9112185 into master Jan 18, 2021
@dankamongmen dankamongmen deleted the dankamongmen/split branch January 18, 2021 19:10
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.

split out libnotcurses-minimal without ffmpeg linkage
1 participant