Project

General

Profile

Actions

Bug #9739

closed

Update flatpak runtime from 19.08 to 21.08

Added by Steven Falco about 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
02/04/2022
Due date:
% Done:

100%

Estimated time:
Chirp Version:
daily
Model affected:
Flatpak
Platform:
Linux
Debug Log:
I read the instructions above:

Description

Chirp flatpak currently uses the 19.08 runtime, but that runtime is deprecated.

I've been able to build the chirp flatpak with the 21.08 runtime. A small patch is needed, and I've come up with two different ways to make the build succeed. The basic issue with using runtime 21.08 is that the libxml component tries (and fails) to build with python3.9, so we have to tell it to use python2.7 instead.

In version1.patch, the approach is to modify the configure script within the libxml component. The modified configure script then looks for python2.7, finds it, and the build succeeds.

In version2.patch, the approach is to pass an option flag into the libxml configure script, telling it to look for python in /app rather than in /bin. By looking in /app, the configure script finds the correct python2.7, and the build succeeds.

My opinion is that version2.patch is cleaner, but either one would let us move off the deprecated 19.08 runtime.


Files

version1.patch (1.49 KB) version1.patch Steven Falco, 02/04/2022 09:35 PM
version2.patch (863 Bytes) version2.patch Steven Falco, 02/04/2022 09:35 PM
com.danplanet.chirp.yml (6.47 KB) com.danplanet.chirp.yml Flatpak build w libxml2 fix Tony Fuller, 03/03/2022 07:41 PM
Actions

Also available in: Atom PDF