Compare commits

...
27 Commits
Author SHA1 Message Date
hnzio e7a05bef48 Add Resolve update helper
CI / Flatpak CI (Resolve) (push) Canceled after 0s
CI / Flatpak CI (ResolveStudio) (push) Canceled after 0s
2026-09-07 12:40:15 +02:00
pobthebuilder 000efab2df Update .gitignore 2026-03-01 15:42:58 -05:00
pobthebuilder b7e3e597d5 Update github CI actions 2026-03-01 14:53:09 -05:00
Damillora 24469d5fab feat: fd.o Runtime 25.08 2026-03-01 11:43:30 -05:00
Tim Friedrich Brüggemann f1ac26ac7a feat: Add xdg-run/gvfs for accessing SMB-mounted dirs 2026-03-01 11:40:53 -05:00
pobthebuilder 45123c7b54 Update README.md 2026-03-01 11:37:57 -05:00
Pob 9c3bea495b Update README.md 2026-03-01 11:23:26 -05:00
pobthebuilder f06aa9c6ce Add support for IOPlugin extensions 2026-03-01 11:08:52 -05:00
Pob 7a358256d2 Merge pull request #50 from IverCoder/main
Rearrange filesystem permissions
2026-02-22 16:35:42 -05:00
Pob 8a27259d24 Merge branch 'main' into main 2026-02-22 16:34:54 -05:00
pobthebuilder c2afef00d8 avoid LD_PRELOAD where not required 2026-02-21 20:23:07 -05:00
pobthebuilder a15695a6c5 don't force OCL implementation, allow Resolve to choose. 2026-02-21 20:22:33 -05:00
RobotRoss 444a9adf71 Update com.blackmagic.Resolve.yaml 2026-02-21 14:31:32 -05:00
RobotRoss 529e12f7f2 Update com.blackmagic.ResolveStudio.yaml 2026-02-21 14:30:58 -05:00
RobotRoss 91a2ec90ba Add more launch options 2026-02-21 13:45:26 -05:00
RobotRoss 77da45c2ef Add more options 2026-02-21 13:45:26 -05:00
RobotRoss 400d7a1c6c Add option to collect logs to desktop file 2026-02-21 13:45:26 -05:00
Pob 01e886c846 Merge pull request #39 from Cameo007/main
Move to Freedesktop SDK 24.08 & Fixed typo in README.md
2026-02-21 13:38:14 -05:00
Pob e80fe6f166 Merge pull request #49 from RobotRoss/patch-8
Add support for USB license keys
2026-02-21 13:37:21 -05:00
Pob 8f96ec0d43 Merge pull request #55 from Damillora/application-support-directories
Create directories required by latest versions of DaVinci Resolve
2026-02-21 13:29:30 -05:00
Damillora 6d11bf8242 Create directories required by latest versions of DaVinci Resolve
Fixes pobthebuilder/resolve-flatpak#53

DaVinci Resolve will try to create additional directories in its installation directory, which is read-only because it is running on Flatpak.
Those needs to be created when building the Flatpak.
2025-10-04 16:20:13 +07:00
Ross Brown 15b8d2d23c Update README.md
Add section on udev rules needed by Resolve Studio
2025-05-23 16:51:34 +01:00
Ross Brown 4a674b2ced Add support for USB licence keys
USB device vendor defined to attempt to avoid USB-related crashes Resolve is known to have.
2025-02-14 18:09:57 +00:00
Pascal Dietrich 9bb86724ca Merge branch 'pobthebuilder:main' into main 2024-11-19 16:53:38 +01:00
Pascal Dietrich a80496b610 Update README.md
For the free version it should be
`flatpak --user install resolve-repo com.blackmagic.Resolve`
instead of
`flatpak --user install resolve-repo com.blackmagic.ResolveStudio`
2024-11-02 11:09:00 +01:00
Pascal Dietrich c4dd3910cd Update com.blackmagic.ResolveStudio.yaml
Adjusted Freedesktop Runtime version to 24.08
2024-11-02 10:19:34 +01:00
Pascal Dietrich cb2541da0e Update com.blackmagic.Resolve.yaml
Adjusted Freedesktop Runtime version to 24.08
2024-11-02 10:19:12 +01:00
10 changed files with 180 additions and 11 deletions

No files matched your search

+5 -1
View File
@@ -15,12 +15,16 @@ jobs:
image: bilelmoussaoui/flatpak-github-actions:freedesktop-22.08
options: --privileged
steps:
- id: string
uses: ASzc/change-string-case-action@v6
with:
string: ${{ matrix.file }}
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1
with:
bundle: com.blackmagic.${{ matrix.file }}
bundle: ${{ steps.string.outputs.lowercase }}.flatpak
manifest-path: com.blackmagic.${{ matrix.file }}.yaml
cache-key: flatpak-builder-${{ matrix.file }}-${{ github.sha }}
+3 -2
View File
@@ -1,5 +1,6 @@
build-dir
.actrc
.build-dir
.idea
venv
repo
.repo
.flatpak-builder
+18
View File
@@ -53,6 +53,24 @@ flatpak build-bundle .repo resolve.flatpak com.blackmagic.ResolveStudio --runtim
4. Enjoy.
## udev rules (Resolve Studio)
On some distros, you may need to add udev rules to enable Resolve Studio to access your USB licence key, otherwise Resolve will segfault at the "Checking Licences..." splash screen. An example udev rule is below:
```
# Allow Flatpak apps to access USB devices with vendor ID 096e (Feitan Technologies), needed by DaVinci Resolve Studio when using USB licence keys
# Place this file in /etc/udev/rules.d/
# Recommended file name: 99-davinci-usb.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="096e", TAG+="uaccess"
SUBSYSTEM=="usb", ATTR{idVendor}=="096e", MODE="0664", GROUP="plugdev"
```
## Plugins
Davinci Resolve Flatpak now supports bundling IOPlugins as Flatpak Extensions so they can be trivially installed.
For an example; the publically available ffmpeg IOPlugin is available packaged as a Flatpak extension here:
https://github.com/pobthebuilder/resolve-ffmpeg-plugin-flatpak
## Finding explicit Download IDs (for download_resolve.sh)
#### Studio:
+48
View File
@@ -0,0 +1,48 @@
# DaVinci Resolve aktualisieren
Im Ordner `resolve-flatpak` ausfuehren:
```bash
./update-resolve.sh
```
Das Skript aktualisiert die Bauanleitung, baut die neueste stabile
Resolve-Version und aktualisiert danach die installierte Flatpak-Anwendung.
## Einzelne Schritte
Falls das Skript nicht funktioniert, koennen die folgenden Schritte einzeln
ausgefuehrt werden.
## 1. Bauanleitung aktualisieren
```bash
git fetch upstream main
git merge --no-edit upstream/main
git submodule update --init --recursive
```
## 2. Neueste stabile Resolve-Version bauen
```bash
flatpak-builder --install-deps-from=flathub --force-clean --repo=.repo .build-dir com.blackmagic.Resolve.yaml
```
Die neueste stabile Resolve-Version wird dabei automatisch ermittelt und
heruntergeladen. Der Vorgang kann laenger dauern.
## 3. Installierte Version aktualisieren
```bash
flatpak --user remote-modify --url="file://$(realpath .repo)" resolve-repo
flatpak --user update com.blackmagic.Resolve
```
Die erste Zeile stellt sicher, dass `resolve-repo` auf den `.repo`-Ordner in
diesem Projekt zeigt. Danach kann Resolve wie gewohnt gestartet werden.
## Installierte Version kontrollieren
```bash
flatpak info com.blackmagic.Resolve
```
+22
View File
@@ -0,0 +1,22 @@
[Desktop Entry]
Type=Application
Name=Davinci Resolve
Icon=com.blackmagic.Resolve
Exec=/app/bin/resolve.sh
Actions=GetLogs;PanelSetup;RAWPlayer;RAWSpeedTest;
[Desktop Action GetLogs]
Exec=/app/scripts/script.getlogs.v4
Name=Collect logs
[Desktop Action PanelSetup]
Exec="/app/DaVinci Resolve Panels Setup/DaVinci Resolve Panels Setup"
Name=Resolve Panels Setup
[Desktop Action RAWPlayer]
Exec=/app/BlackmagicRAWPlayer/BlackmagicRAWPlayer
Name=Blackmagic RAW Player
[Desktop Action RAWSpeedTest]
Exec=/app/BlackmagicRAWSpeedTest/BlackmagicRAWSpeedTest
Name=Blackmagic RAW Speed Test
+6 -3
View File
@@ -4,7 +4,7 @@
####
app-id: com.blackmagic.Resolve
runtime: org.freedesktop.Platform
runtime-version: &runtime-version '23.08'
runtime-version: &runtime-version '25.08'
sdk: org.freedesktop.Sdk
finish-args:
- --share=ipc
@@ -21,12 +21,15 @@ finish-args:
- --filesystem=xdg-videos
- --filesystem=/media
- --filesystem=/run/media
- --filesystem=xdg-run/gvfs
- --filesystem=/mnt
- --persist=.local/share/DaVinciResolve
- --persist=Videos/CacheClip
- --persist=Videos/.gallery
- --persist=Documents/BlackmagicDesign
- --env=LD_PRELOAD=/lib/x86_64-linux-gnu/libglib-2.0.so.0 /lib/x86_64-linux-gnu/libgio-2.0.so.0 /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 /lib/x86_64-linux-gnu/libgobject-2.0.so.0
- --env=RUSTICL_ENABLE=radeonsi,iris,nouveau
# - --env=OCL_ICD_VENDORS=rusticl.icd
command: /app/bin/resolve.sh
modules:
@@ -38,7 +41,7 @@ modules:
sources:
- type: git
url: https://github.com/besser82/libxcrypt.git
tag: v4.4.36
tag: v4.4.38
- name: onetbb
disabled: true
buildsystem: cmake-ninja
@@ -48,7 +51,7 @@ modules:
sources:
- type: git
url: https://github.com/oneapi-src/oneTBB
tag: v2021.11.0
tag: v2022.2.0
# #Build libcxx and ship as a library with Resolve as BM is outdated and segfaults on some setups. Disabled by default.
# - name: libcxx
# disabled: true
+22
View File
@@ -0,0 +1,22 @@
[Desktop Entry]
Type=Application
Name=Davinci Resolve Studio
Icon=com.blackmagic.ResolveStudio
Exec=/app/bin/resolve.sh
Actions=GetLogs;PanelSetup;RAWPlayer;RAWSpeedTest;
[Desktop Action GetLogs]
Exec=/app/scripts/script.getlogs.v4
Name=Collect logs
[Desktop Action PanelSetup]
Exec="/app/DaVinci Resolve Panels Setup/DaVinci Resolve Panels Setup"
Name=Resolve Panels Setup
[Desktop Action RAWPlayer]
Exec=/app/BlackmagicRAWPlayer/BlackmagicRAWPlayer
Name=Blackmagic RAW Player
[Desktop Action RAWSpeedTest]
Exec=/app/BlackmagicRAWSpeedTest/BlackmagicRAWSpeedTest
Name=Blackmagic RAW Speed Test
+14 -3
View File
@@ -4,14 +4,23 @@
####
app-id: com.blackmagic.ResolveStudio
runtime: org.freedesktop.Platform
runtime-version: &runtime-version '23.08'
runtime-version: &runtime-version '25.08'
sdk: org.freedesktop.Sdk
add-extensions:
com.blackmagic.ResolveStudio.ioplugin:
version: '1.0'
directory: IOPlugins
subdirectories: true
no-autodownload: true
autodelete: true
finish-args:
- --share=ipc
- --share=network
- --socket=pulseaudio
- --socket=x11
- --device=dri
- --device=usb
- --usb=vnd:096e
- --filesystem=xdg-desktop
- --filesystem=xdg-documents
- --filesystem=xdg-download
@@ -28,6 +37,8 @@ finish-args:
- --persist=Documents/BlackmagicDesign
# https://www.reddit.com/r/Fedora/comments/12z32r1/davinci_resolve_libpango_undefined_symbol_g/
# - --env=LD_PRELOAD=/lib/x86_64-linux-gnu/libglib-2.0.so.0 /lib/x86_64-linux-gnu/libgio-2.0.so.0 /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 /lib/x86_64-linux-gnu/libgobject-2.0.so.0
- --env=RUSTICL_ENABLE=radeonsi,iris,nouveau
# - --env=OCL_ICD_VENDORS=rusticl.icd
command: /app/bin/resolve.sh
modules:
@@ -40,7 +51,7 @@ modules:
sources:
- type: git
url: https://github.com/besser82/libxcrypt.git
tag: v4.4.36
tag: v4.4.38
- name: onetbb
disabled: true
buildsystem: cmake-ninja
@@ -50,7 +61,7 @@ modules:
sources:
- type: git
url: https://github.com/oneapi-src/oneTBB
tag: v2021.11.0
tag: v2022.2.0
#Build libcxx and ship as a library with Resolve as BM is outdated and segfaults on some setups. Disabled by default.
# - name: libcxx
# disabled: true
+6 -2
View File
@@ -46,8 +46,12 @@ find squashfs-root -type f -exec chmod a+r,u+w {} \;
find squashfs-root -type d -exec chmod a+rx,u+w {} \;
# Create directories
mkdir -p ${PREFIX}/easyDCP ${PREFIX}/scripts ${PREFIX}/share ${PREFIX}/Fairlight ${PREFIX}/share/applications ${PREFIX}/share/icons/hicolor/128x128/apps ${PREFIX}/share/icons/hicolor/256x256/apps
chmod 755 ${PREFIX}/easyDCP ${PREFIX}/scripts ${PREFIX}/share ${PREFIX}/Fairlight ${PREFIX}/share/applications ${PREFIX}/share/icons/hicolor/128x128/apps ${PREFIX}/share/icons/hicolor/256x256/apps
mkdir -p ${PREFIX}/easyDCP ${PREFIX}/scripts ${PREFIX}/share ${PREFIX}/Fairlight ${PREFIX}/share/applications ${PREFIX}/share/icons/hicolor/128x128/apps ${PREFIX}/share/icons/hicolor/256x256/apps "${PREFIX}/Apple Immersive/Calibration" "${PREFIX}/Extras"
chmod 755 ${PREFIX}/easyDCP ${PREFIX}/scripts ${PREFIX}/share ${PREFIX}/Fairlight ${PREFIX}/share/applications ${PREFIX}/share/icons/hicolor/128x128/apps ${PREFIX}/share/icons/hicolor/256x256/apps "${PREFIX}/Apple Immersive/Calibration" "${PREFIX}/Extras"
# For extension points
mkdir -p ${PREFIX}/IOPlugins
chmod 755 ${PREFIX}/IOPlugins
# Copy objects
cp -rp squashfs-root/bin ${PREFIX}/
+36
View File
@@ -0,0 +1,36 @@
#!/usr/bin/env bash
set -euo pipefail
project_dir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
cd "$project_dir"
echo "Aktualisiere die Flatpak-Bauanleitung ..."
source_remote=origin
if git remote get-url upstream >/dev/null 2>&1; then
source_remote=upstream
fi
git fetch "$source_remote" main
git merge --no-edit "$source_remote/main"
git submodule update --init --recursive
echo "Baue die neueste stabile Version von DaVinci Resolve ..."
flatpak-builder \
--install-deps-from=flathub \
--force-clean \
--repo=.repo \
.build-dir \
com.blackmagic.Resolve.yaml
echo "Verbinde Flatpak mit dem lokalen Repository ..."
repo_url="file://$(realpath .repo)"
if flatpak --user remotes --columns=name | grep -Fxq resolve-repo; then
flatpak --user remote-modify --url="$repo_url" resolve-repo
else
flatpak --user remote-add --no-gpg-verify resolve-repo "$repo_url"
fi
echo "Aktualisiere die installierte Anwendung ..."
flatpak --user update --noninteractive com.blackmagic.Resolve
echo "DaVinci Resolve wurde erfolgreich aktualisiert."