Skip to content

Commit fc4aeb9

Browse files
authored
Merge pull request #17 from linuxserver/arch
rebase to arch
2 parents 18dc04c + e59c29f commit fc4aeb9

11 files changed

Lines changed: 56 additions & 46 deletions

File tree

.github/ISSUE_TEMPLATE/issue.bug.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ body:
5252
label: CPU architecture
5353
options:
5454
- x86-64
55+
- arm64
5556
validations:
5657
required: true
5758
- type: textarea

.github/workflows/external_trigger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY
3030
echo "> External trigger running off of master branch. To disable this trigger, add \`kdenlive_master\` into the Github organizational variable \`SKIP_EXTERNAL_TRIGGER\`." >> $GITHUB_STEP_SUMMARY
3131
printf "\n## Retrieving external version\n\n" >> $GITHUB_STEP_SUMMARY
32-
EXT_RELEASE=$(curl -s 'https://apps.kde.org/kdenlive/index.xml' | awk -F'[<>]' '{for(i=1; i<=NF; i++) if($i=="guid"){split($(i+1), a, "#"); print a[2]; exit}}')
32+
EXT_RELEASE=$(curl -sL https://archlinux.org/packages/extra/x86_64/kdenlive/ |awk -F'(<h2>kdenlive |</h2>)' '/<h2>/ {print $2}')
3333
echo "Type is \`custom_version_command\`" >> $GITHUB_STEP_SUMMARY
3434
if grep -q "^kdenlive_master_${EXT_RELEASE}" <<< "${SKIP_EXTERNAL_TRIGGER}"; then
3535
echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY

Dockerfile

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-selkies:ubuntunoble
3+
FROM ghcr.io/linuxserver/baseimage-selkies:arch
44

55
# set version label
66
ARG BUILD_DATE
@@ -13,39 +13,23 @@ LABEL maintainer="thelamer"
1313
ENV TITLE=Kdenlive \
1414
NO_GAMEPAD=true
1515

16-
ARG DEBIAN_FRONTEND="noninteractive"
17-
1816
RUN \
1917
echo "**** add icon ****" && \
2018
curl -o \
2119
/usr/share/selkies/www/icon.png \
2220
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/kdenlive-logo.png && \
2321
echo "**** install packages ****" && \
24-
if [ -z ${KDENLIVE_VERSION+x} ]; then \
25-
KDENLIVE_VERSION=$(curl -s 'https://apps.kde.org/kdenlive/index.xml' \
26-
| awk -F'[<>]' '{for(i=1; i<=NF; i++) if($i=="guid"){split($(i+1), a, "#"); print a[2]; exit}}'); \
27-
fi && \
28-
curl -o \
29-
/tmp/kdenlive.app -L \
30-
"https://download.kde.org/stable/kdenlive/$(echo "$KDENLIVE_VERSION" | sed 's/\.[^.]*$//')/linux/kdenlive-${KDENLIVE_VERSION}-x86_64.AppImage" && \
31-
cd /tmp && \
32-
chmod +x kdenlive.app && \
33-
./kdenlive.app --appimage-extract && \
34-
mv \
35-
squashfs-root \
36-
/opt/kdenlive && \
37-
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
22+
pacman -Sy --noconfirm --needed \
23+
kdenlive${KDENLIVE_VERSION:+=$KDENLIVE_VERSION} && \
3824
echo "**** cleanup ****" && \
3925
rm -rf \
40-
/config/.cache \
41-
/root/.cache \
4226
/tmp/* \
43-
/var/lib/apt/lists/* \
44-
/var/tmp/*
27+
/var/cache/pacman/pkg/* \
28+
/var/lib/pacman/sync/*
4529

4630
# add local files
4731
COPY /root /
4832

4933
# ports and volumes
50-
EXPOSE 3000
34+
EXPOSE 3001
5135
VOLUME /config

Dockerfile.aarch64

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# syntax=docker/dockerfile:1
2+
3+
FROM ghcr.io/linuxserver/baseimage-selkies:arm64v8-arch
4+
5+
# set version label
6+
ARG BUILD_DATE
7+
ARG VERSION
8+
ARG KDENLIVE_VERSION
9+
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
10+
LABEL maintainer="thelamer"
11+
12+
# app title
13+
ENV TITLE=Kdenlive \
14+
NO_GAMEPAD=true
15+
16+
RUN \
17+
echo "**** add icon ****" && \
18+
curl -o \
19+
/usr/share/selkies/www/icon.png \
20+
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/kdenlive-logo.png && \
21+
echo "**** install packages ****" && \
22+
pacman -Sy --noconfirm --needed \
23+
kdenlive${KDENLIVE_VERSION:+=$KDENLIVE_VERSION} && \
24+
echo "**** cleanup ****" && \
25+
rm -rf \
26+
/tmp/* \
27+
/var/cache/pacman/pkg/* \
28+
/var/lib/pacman/sync/*
29+
30+
# add local files
31+
COPY /root /
32+
33+
# ports and volumes
34+
EXPOSE 3001
35+
VOLUME /config

Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ pipeline {
2626
DOCKERHUB_IMAGE = 'linuxserver/kdenlive'
2727
DEV_DOCKERHUB_IMAGE = 'lsiodev/kdenlive'
2828
PR_DOCKERHUB_IMAGE = 'lspipepr/kdenlive'
29-
DIST_IMAGE = 'ubuntu'
30-
MULTIARCH = 'false'
29+
DIST_IMAGE = 'arch'
30+
MULTIARCH = 'true'
3131
CI = 'true'
3232
CI_WEB = 'true'
3333
CI_PORT = '3001'
@@ -147,7 +147,7 @@ pipeline {
147147
steps{
148148
script{
149149
env.EXT_RELEASE = sh(
150-
script: ''' curl -s 'https://apps.kde.org/kdenlive/index.xml' | awk -F'[<>]' '{for(i=1; i<=NF; i++) if($i=="guid"){split($(i+1), a, "#"); print a[2]; exit}}' ''',
150+
script: ''' curl -sL https://archlinux.org/packages/extra/x86_64/kdenlive/ |awk -F'(<h2>kdenlive |</h2>)' '/<h2>/ {print $2}' ''',
151151
returnStdout: true).trim()
152152
env.RELEASE_LINK = 'custom_command'
153153
}

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,12 @@ The architectures supported by this image are:
5252
| Architecture | Available | Tag |
5353
| :----: | :----: | ---- |
5454
| x86-64 || amd64-\<version tag\> |
55-
| arm64 | | |
55+
| arm64 | | arm64v8-\<version tag\> |
5656

5757
## Application Setup
5858

5959
The application can be accessed at:
6060

61-
* http://yourhost:3000/
6261
* https://yourhost:3001/
6362

6463
### Strict reverse proxies
@@ -221,8 +220,6 @@ services:
221220
kdenlive:
222221
image: lscr.io/linuxserver/kdenlive:latest
223222
container_name: kdenlive
224-
security_opt:
225-
- seccomp:unconfined #optional
226223
environment:
227224
- PUID=1000
228225
- PGID=1000
@@ -241,7 +238,6 @@ services:
241238
```bash
242239
docker run -d \
243240
--name=kdenlive \
244-
--security-opt seccomp=unconfined `#optional` \
245241
-e PUID=1000 \
246242
-e PGID=1000 \
247243
-e TZ=Etc/UTC \
@@ -266,7 +262,6 @@ Containers are configured using parameters passed at runtime (such as those abov
266262
| `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
267263
| `-v /config` | Users home directory in the container, stores local files and settings |
268264
| `--shm-size=` | This might be needed to prevent crashing |
269-
| `--security-opt seccomp=unconfined` | For Docker Engine only, this may be required depending on your Docker and storage configuration. |
270265

271266
## Environment variables from files (Docker secrets)
272267

@@ -430,6 +425,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
430425

431426
## Versions
432427

428+
* **22.09.25:** - Rebase to Arch latest Appimage no longer working on Deb distros. Build for arm64 again.
433429
* **06.08.25:** - Fix cpu bug, disable gamepad by default.
434430
* **12.07.25:** - Rebase to Selkies and use official AppImage, HTTPS IS NOW REQUIRED. Remove arm64 support.
435431
* **19.08.24:** - Rebase to noble. Use pypi and lsio wheels.

jenkins-vars.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
# jenkins variables
44
project_name: docker-kdenlive
5-
external_type: nai
5+
external_type: na
66
custom_version_command: |-
7-
curl -s 'https://apps.kde.org/kdenlive/index.xml' | awk -F'[<>]' '{for(i=1; i<=NF; i++) if($i=="guid"){split($(i+1), a, "#"); print a[2]; exit}}'
7+
curl -sL https://archlinux.org/packages/extra/x86_64/kdenlive/ |awk -F'(<h2>kdenlive |</h2>)' '/<h2>/ {print $2}'
88
release_type: stable
99
release_tag: latest
1010
ls_branch: master
@@ -17,8 +17,8 @@ repo_vars:
1717
- DOCKERHUB_IMAGE = 'linuxserver/kdenlive'
1818
- DEV_DOCKERHUB_IMAGE = 'lsiodev/kdenlive'
1919
- PR_DOCKERHUB_IMAGE = 'lspipepr/kdenlive'
20-
- DIST_IMAGE = 'ubuntu'
21-
- MULTIARCH = 'false'
20+
- DIST_IMAGE = 'arch'
21+
- MULTIARCH = 'true'
2222
- CI = 'true'
2323
- CI_WEB = 'true'
2424
- CI_PORT = '3001'

readme-vars.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ project_blurb_optional_extras_enabled: false
1111
# supported architectures
1212
available_architectures:
1313
- {arch: "{{ arch_x86_64 }}", tag: "latest"}
14+
- {arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
1415
# development version
1516
development_versions: false
1617
# container parameters
@@ -25,9 +26,6 @@ param_ports:
2526
- {external_port: "3001", internal_port: "3001", port_desc: "Kdenlive desktop gui HTTPS."}
2627
opt_custom_params:
2728
- {name: "shm-size", name_compose: "shm_size", value: "1gb", desc: "This might be needed to prevent crashing"}
28-
opt_security_opt_param: true
29-
opt_security_opt_param_vars:
30-
- {run_var: "seccomp=unconfined", compose_var: "seccomp:unconfined", desc: "For Docker Engine only, this may be required depending on your Docker and storage configuration."}
3129
# Selkies blurb settings
3230
selkies_blurb: true
3331
show_nvidia: true
@@ -36,7 +34,6 @@ app_setup_block_enabled: true
3634
app_setup_block: |
3735
The application can be accessed at:
3836
39-
* http://yourhost:3000/
4037
* https://yourhost:3001/
4138
# init diagram
4239
init_diagram: |
@@ -108,6 +105,7 @@ init_diagram: |
108105
"kdenlive:latest" <- Base Images
109106
# changelog
110107
changelogs:
108+
- {date: "22.09.25:", desc: "Rebase to Arch latest Appimage no longer working on Deb distros. Build for arm64 again."}
111109
- {date: "06.08.25:", desc: "Fix cpu bug, disable gamepad by default."}
112110
- {date: "12.07.25:", desc: "Rebase to Selkies and use official AppImage, HTTPS IS NOW REQUIRED. Remove arm64 support."}
113111
- {date: "19.08.24:", desc: "Rebase to noble. Use pypi and lsio wheels."}

root/defaults/autostart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
kdenlive
1+
dbus-launch kdenlive

root/defaults/menu.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<openbox_menu xmlns="http://openbox.org/3.4/menu">
33
<menu id="root-menu" label="MENU">
4-
<item label="Kdenlive" icon="/opt/kdenlive/usr/share/icons/hicolor/48x48/apps/kdenlive.png"><action name="Execute"><command>/usr/bin/kdenlive</command></action></item>
4+
<item label="Kdenlive" icon="/usr/share/icons/hicolor/32x32/apps/kdenlive.png"><action name="Execute"><command>dbus-launch /usr/bin/kdenlive</command></action></item>
55
<item label="xterm" icon="/usr/share/pixmaps/xterm-color_48x48.xpm"><action name="Execute"><command>/usr/bin/xterm</command></action></item>
66
</menu>
77
</openbox_menu>

0 commit comments

Comments
 (0)