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

bindings: Relative paths, overridable #458

Merged
merged 4 commits into from Mar 23, 2020
Merged

bindings: Relative paths, overridable #458

merged 4 commits into from Mar 23, 2020

Conversation

ferdnyc
Copy link
Contributor

@ferdnyc ferdnyc commented Mar 9, 2020

This is an attempt to fix the install paths for the bindings files, in particular the Ruby bindings which have been installing to an absolute path (which causes problems when building as non-root). In addition, the Gitlab builder scripts were moving Python artifacts from their installed locations to ${CMAKE_INSTALL_PREFIX}/python, which is just silly.

Now, PYTHON_MODULE_PATH or RUBY_MODULE_PATH can be defined on the CMake command line, and they'll override the detection process. (They're interpreted relative to the install prefix, so just -DPYTHON_MODULE_PATH=python recreates the previous scripted output.

In addition, the module paths on Windows and MacOS default to simply "python" or "ruby" instead of bothering with detection, since we don't install on the system there anyway.

@ferdnyc ferdnyc added the build Issues related to compiling or installing libopenshot and its dependencies label Mar 9, 2020
@codecov-io
Copy link

Codecov Report

Merging #458 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #458   +/-   ##
========================================
  Coverage    43.22%   43.22%           
========================================
  Files          130      130           
  Lines        12932    12932           
========================================
  Hits          5590     5590           
  Misses        7342     7342

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f1e5c9c...f5ab99f. Read the comment docs.

@ferdnyc
Copy link
Contributor Author

ferdnyc commented Mar 23, 2020

If the Gitlab builders like this, I'm probably going to merge it along with #469, so the bindings can stop being a pain point in our build/install process.

@ferdnyc
Copy link
Contributor Author

ferdnyc commented Mar 23, 2020

Everything wound up where it was meant to, on all four platforms. Merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues related to compiling or installing libopenshot and its dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants