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

Build AppImages #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

TheAssassin
Copy link
Contributor

This PR adds a script that builds AppImages for decklink-debugger. This way, decklink-debugger can be run on virtually any Linux distro (given the DeckLink libraries are installed).

We could extend this PR to build AppImages on Travis CI for every commit automatically (continuous releases).

Another idea is to amend the build script to allow for easy bundling of the Blackmagic DeckLink drivers for private deployments.

@MaZderMind
Copy link
Contributor

When this gets merges, doesn't it need a .travis.yml to call travis/build-appimage.s?

@TheAssassin
Copy link
Contributor Author

@MaZderMind thinking about it, IIRC I didn't add one directly due to licensing issues. I'm pretty sure the BM libs may not be bundled, which wouldn't necessarily be a problem. The problem is how to get the Blackmagic SDK on the Travis build machines to be able to build the software and AppImages. I think there was a little chat about it, but we didn't come up with a solution. Ideas welcome.

@MaZderMind
Copy link
Contributor

MaZderMind commented Sep 27, 2018 via email

@TheAssassin
Copy link
Contributor Author

You told me that to use software, at least the blackmagic library packages must be installed anyway, as they provide a mandatory kernel module. So I guess we can safely assume that the blackmagic libs are installed anywhere the AppImage will be used (the SDK a.k.a. dev files are not needed in that scenario). That'd mean they could be excluded from the AppImage. The software would only be linked against the files, and then put in an AppImage. Wherever the AppImage is used, the system libs would be used then.

The question is whether the license of the blackmagic libraries allows for that, but I cannot imagine any scenario in which they could prohibit that. So I guess that'd be safe. But we could check their license. It'd be quite pointless if it'd prevent this, though.

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.

2 participants