Commit graph

37 commits

Author SHA1 Message Date
Andrew Marshall e3e58cdc76 davinci-resolve: 18.6.4 -> 18.6.5
Release notes: https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=196226
2024-02-25 13:36:04 -05:00
Orivej Desh (NixOS) 055d532341
Merge pull request #278738 from amarshall/resolve-studio-improve
davinci-resolve-studio: Automatically create license dir
2024-02-09 08:16:30 +00:00
Orivej Desh a219e438d0 davinci-resolve: add street to fix build
Fixes build after #274007

Without the street the build fails with:

downloadid is f38fc270c4c040bea4782182d0fbb367
resolveurl is Error: Must register to be able to perform the download
curl: (3) URL rejected: Malformed input to a URL function
2024-01-09 06:03:26 +00:00
Andrew Marshall c1162ca560 davinci-resolve-studio: Automatically create license dir
Only needed for studio variant. Previously, `extraPreBwrapCmds` did not
exist. Now that it does, we can use it. See message in commit
fe45cd375a for context.
2024-01-04 13:01:32 -05:00
Ryan Lahfa ebc0d8f681
Merge pull request #274007 from edolstra/remove-home-address
davinci-resolve: Remove address
2024-01-02 06:05:23 +01:00
Eelco Dolstra ab382f47ef davinci-resolve: Remove address
Let's not include people's addresses in the repo.
2023-12-13 15:41:26 +01:00
Andrew Marshall 8d09a79fa4 davinci-resolve{,-studio}: 18.6.3 -> 18.6.4 2023-12-11 10:35:40 -05:00
Peder Bergebakken Sundt 669b964ecf
Merge pull request #255577 from amarshall/davinci-resolve
davinci-resolve: 18.5.1 -> 18.6.2; add studio variant; various improvements
2023-12-02 13:35:43 +01:00
h7x4 41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
Andrew Marshall f1361c5089 davinci-resolve: fix runtime error
See https://github.com/NixOS/nixpkgs/issues/265476

This is a hack that effectively undoes
https://github.com/NixOS/nixpkgs/pull/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.
2023-11-19 13:40:26 -05:00
Adam Joseph c7e0f6b905 treewide: s_targetPlatform_hostPlatform_ in non-compiler packages
stdenv.targetPlatform really shouldn't be used by software that
doesn't generate or manipulate binaries.  I reviewed all uses of
targetPlatform outside of pkgs/development/compilers and pkgs/stdenv
and replaced those which weren't involved in something which fits
these criteria.
2023-11-17 08:07:34 +00:00
Andrew Marshall 304b1bd679 davinci-resolve: 18.6.2 -> 18.6.3 2023-11-16 22:26:45 -05:00
Andrew Marshall b01f295eb2 davinci-resolve: 18.6 -> 18.6.2 2023-11-16 17:03:51 -05:00
Andrew Marshall c63eb5c260 davinci-resolve: fix missing version in meta
See https://github.com/NixOS/nixpkgs/issues/253232
2023-11-16 17:03:51 -05:00
Andrew Marshall 5cfab80f9a davinci-resolve: dynamically get downloadid
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.
2023-11-16 17:03:51 -05:00
Andrew Marshall fe45cd375a davinci-resolve: add studioVariant
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.
2023-11-16 17:03:51 -05:00
Andrew Marshall 7b93c209ef davinci-resolve: fail fast if filename is incorrect
`appimage-run` fails silently if the file does not exist. This made it
easy to have mismatches that lead to non-obvious build errors.
2023-11-16 17:03:50 -05:00
Andrew Marshall 8e2b31fedb davinci-resolve: passthru underlying drv
Otherwise getting it is…non-trivial.
2023-11-16 17:03:50 -05:00
Andrew Marshall b8698e3189 davinci-resolve: 18.5.1 -> 18.6
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.
2023-11-16 17:03:50 -05:00
davidak 481a1cd60d
Merge pull request #253231 from davidak/davinci-resolve-update
davinci-resolve: 18.1.4 -> 18.5.1
2023-09-17 04:14:03 +02:00
Peder Bergebakken Sundt 5564a6d912 davinci-resolve: fix platforms 2023-09-08 18:10:44 +00:00
davidak 79cfd23065 davinci-resolve: 18.1.4 -> 18.5.1 2023-09-04 09:36:37 +02:00
Jan Malakhovski b358ebd870 treewide: replace setSourceRoot = "sourceRoot=$PWD" and similar with sourceRoot = "." 2023-08-12 08:29:55 +00:00
tnichols217 9bca13980f davinci-resolve: remove host header restrictions for blob download 2023-08-02 05:15:19 +08:00
tnichols217 384a9eeee4 davinci-resolve: update payload request and URL of download 2023-07-31 04:35:49 +08:00
Yuu Yin e0d25a0528
davinci-resolve: add missing dependencies to 18.1.4
Added dependencies according with given Salman Abuhaimed's gist.
Resorted dependencies alphabetically.

References:
- https://github.com/NixOS/nixpkgs/issues/238026#issuecomment-1597664788
- https://gist.github.com/BKSalman/53dc4a4bd3eb3989f88ce25b66d82853

Co-authored-by: Salman Abuhaimed <85521119+BKSalman@users.noreply.github.com>
2023-06-29 23:35:18 +00:00
Yuu Yin c4319ac59e
davinci-resolve: 17.4.3 -> 18.1.4 2023-06-29 22:49:52 +00:00
Joshua Campbell c5bf4b91e8 davinci-resolve: override appimage-run to use buildFHSEnvChroot 2023-05-04 10:37:42 -07:00
Atemu f63a12f296 tree-wide: buildFHSUserEnv -> buildFHSEnv 2023-04-16 10:15:13 +02:00
Joshua Campbell 9325558ea0 davinci-resolve: adding aprutil and linking libcypto
Davinci complained that libcrypt.so.1 was missing so linked libcrypto.so.1.0
libcryt had a dependency on aprutil
2023-03-29 14:31:49 -07:00
Martin Weinelt 30e84e2f81
Merge pull request #206930 from brcha/davinci_resolve_fix_qt_plugins
davinci-resolve: fix when QT_PLUGIN_PATH already exists in the env
2023-01-27 01:12:42 +00:00
Artturin 2eeb34c273 treewide: {build,host,target}Platform -> stdenv.{build,host,target}Platform 2023-01-09 21:13:22 +02:00
Filip Brcic 543fe428d2
davinci-resolve: fix when QT_PLUGIN_PATH already exists in the env 2022-12-19 22:48:21 +01:00
davidak 0dac320a0b davinci-resolve: add missing libcrypt.so.1 2022-10-26 05:12:37 +02:00
Artturin 47194d8ddb davinci-resolve: dont use a alias 2022-04-27 16:31:15 +03:00
Ulrik Strid b652b434a4 davinci-resolve: unbreak 2022-04-02 17:56:11 +02:00
davidak 36e9995603 davinci-resolve: init at 17.4.3
Co-authored-by: Thiago Franco de Moraes <totonixsame@gmail.com>
2022-04-02 01:24:01 +02:00