Flatpak Frequently Asked Questions:
> Why the name Flatpak? > > IKEA is a world-wide known brand whose success was partly built upon having developed and refined the idea of flatpacking their furniture, which allowed them huge cost savings and efficiencies compared to their competitors. So when we needed a new name for the packaging technology that had been developed by Alex Larsson, a native Swede, we thought that Flatpak would both be a nice play on his nationality and pay homage to the success of IKEA and at the same time send a strong signal about how revolutionary we thought this new packaging technology could be for the Linux desktop.
> ... like Snaps do ...
Do you have a link that describes this? The only part of snap's documentation I could find that describes something similar is https://snapcraft.io/docs/snap-store-metrics. But AFAICT it does not say that "Snaps send telemetry".
> So this should done via yml right.
Yes. You could of course also convert the rest of your manifest to json, but converting just this short section to yml is easier. If I didn't make a mistake (I didn't try it), it should look like this
- name: iproute2 make-install-args: - PREFIX=/app - CONFDIR=/app/share/iproute2 - SBINDIR=/app/bin sources: - type: archive url: https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-5.7.0.tar.xz sha256: 725dc7ba94aae54c6f8d4223ca055d9fb4fe89d6994b1c03bfb4411c4dd10f21 cleanup: - /include - /share/bash-completion - /share/man
You have modules under FlatpakOptions. I've no experience with Electron development, so I'm not exactly sure where this should be added and exactly how, but it should look approximately like this:
{ "FlatpakOptions": [ "modules": [ { "name": "iproute2", "make-install-args": [ "PREFIX=/app", "CONFDIR=/app/share/iproute2", "SBINDIR=/app/bin", ], "sources": [ { "type": "archive", "url": "https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-5.7.0.tar.xz", "sha256": "725dc7ba94aae54c6f8d4223ca055d9fb4fe89d6994b1c03bfb4411c4dd10f21" } ], "cleanup": [ "/include", "/share/bash-completion", "/share/man" ] } ] ] }
Which distro are you using? Did you install flatpak? Recent Fedora distros have Flatpak installed by default (i believe). Other distros you need to install.
Ubuntu: sudo apt install flatpak
Go to https://flatpak.org/setup/ and see how to install it for your distro.
We need to install
{
"name": "iproute2",
"make-install-args": [
"PREFIX=/app",
"CONFDIR=/app/share/iproute2",
"SBINDIR=/app/bin"
],
"sources": [
{
"type": "archive",
"url": "https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-5.7.0.tar.xz",
"sha256": "725dc7ba94aae54c6f8d4223ca055d9fb4fe89d6994b1c03bfb4411c4dd10f21"
}
],
"cleanup": [
"/include",
"/share/bash-completion",
"/share/man"
]
}
]
}
},
This module. So this should done via yml right.
now app failed to get ipaddress.
In electron package.json we have an option to add this modules
"makers": [
{
"name": "@electron-forge/maker-flatpak",
"config": {
"name": "OpenSpeedTest_Server",
"options": {
"categories": [
"Utility"
],
"icon": {
"512x512": "src/android-chrome-512x512.png"
}
},
"modules": [
{
"name": "zypak",
"sources": [
{
"type": "git",
"url": "https://github.com/refi64/zypak",
"tag": "v2021.02"
}
]
},
{
"name": "iproute2",
"make-install-args": [
"PREFIX=/app",
"CONFDIR=/app/share/iproute2",
"SBINDIR=/app/bin"
],
"sources": [
{
"type": "archive",
"url": "https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-5.7.0.tar.xz",
"sha256": "725dc7ba94aae54c6f8d4223ca055d9fb4fe89d6994b1c03bfb4411c4dd10f21"
}
],
"cleanup": [
"/include",
"/share/bash-completion",
"/share/man"
]
}
]
}
},
Sorry, I'm not really sure. You should visit the Flatpak matrix room or #flatpak libera.chart IRC channel and try asking there.
Also, try to see if there's an updated Flatpak version for your distro, it's a bit outdated. There should be apt repositories for Ubuntu and Debian with new releases, see flathub.org.
Oh! but it did work running the Appimage:
$ ./jitsi-meet-x86_64.AppImage --enable-features=WebRTCPipeWireCapturer
Like that, not as a flatpak.