Skip to content

[Backport release-23.11] davinci-resolve: 18.5.1 -> 18.6.2; add studio variant; various improvements - #273578

Merged
pbsds merged 9 commits into
release-23.11from
backport-255577-to-release-23.11
Dec 17, 2023
Merged

pbsds merged 9 commits into
release-23.11from
backport-255577-to-release-23.11

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Bot-based backport to release-23.11, triggered by a label in #255577.

  • Before merging, ensure that this backport is acceptable for the release.
    • Even as a non-commiter, if you find that it is not acceptable, leave a comment.

Without libXt, shows popup on launch:

> Unable to load plugin: USD.plugin
>
> libXt.so.6: cannot open shared object file: No such file or directory

ultimately launches okay without it, but some feature would probably be
broken.

(cherry picked from commit b8698e3)
Otherwise getting it is…non-trivial.

(cherry picked from commit 8e2b31f)
`appimage-run` fails silently if the file does not exist. This made it
easy to have mismatches that lead to non-obvious build errors.

(cherry picked from commit 7b93c20)
Resolve wants to write the license to `./.license` in the drv store
path. This obviously fails as it is read-only. Conveniently this is a
Bubblewrap-based FHS env, so we can bind-mount a reasonable dir from
$HOME to this path instead. Unfortunately, the dir needs to exist before
launching, so it must be manually created presently e.g.

    mkdir -p ~/.local/share/DaVinciResolve/license

At least the error is fairly obvious:

> bwrap: Can't find source path /home/user/.local/share/DaVinciResolve/license: No such file or directory

Without making the license writable, license activation will always give
a generic error—the actual problem was found with strace.

(cherry picked from commit fe45cd3)
The downloads.json also includes metadata for older versions, so this
should be durable unless upstream breaks things. Some older downloads
appear to not include the “Update” suffix in the name, so match with or
without it.

(cherry picked from commit 5cfab80)
(cherry picked from commit b01f295)
(cherry picked from commit 304b1bd)
See #265476

This is a hack that effectively undoes
#263201 for just this derivation.
Really we should probably be doing a ton of autoPatchelf or something to
patch in our libs. Alas, this is “good enough” to un-break for now, I
think.

(cherry picked from commit f1361c5)
@ofborg ofborg Bot added the 8.has: package (new) This PR adds a new package label Dec 11, 2023
@ofborg
ofborg Bot requested a review from jshcmpbll December 11, 2023 19:12
@ofborg ofborg Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Dec 11, 2023
@delroth delroth added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Dec 14, 2023
@pbsds

pbsds commented Dec 17, 2023

Copy link
Copy Markdown
Member

Result of nixpkgs-review pr 273578 run on x86_64-linux 1

2 packages built:
  • davinci-resolve
  • davinci-resolve-studio

@pbsds
pbsds merged commit 1e2e384 into release-23.11 Dec 17, 2023
@emilylange
emilylange deleted the backport-255577-to-release-23.11 branch December 20, 2023 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants