Open meisenzahl opened 3 years ago
This doesn't actually install the packages, correct?
It seems you just append them to a list, and then this list isn't used anywhere.
@davidmhewitt correct.
I will rearrange the views. The SoftwareView
should be the last to be displayed, then install the software and display a progress bar.
Is there an easy way to install apt packages via Vala and check the progress?
@jlnr
I'm not sure what the best way to word this is, but in my opinion it would be helpful to point out where these codecs are going to be used. Just Music/Movie apps?
Given this installs gst bad/ugly and libav, it will also pull down all of ffmpeg and its deps along with plenty of other useful codecs. So anything that uses GStreamer will have the codecs show up in the registry and be able to use them. Additionally there are plenty of apps that use ffmpeg directly and check for it at runtime, like Firefox.
Will this affect flatpak'd third-party apps?
No, Flatpak toolchains are completely isolated, usually applications pull down the org.freedesktop.Platform.ffmpeg-full
extension during installation.
For devices that use WiFi to connect to the internet, the likelihood of being connected during this initial setup period is pretty low, so this page won't work. I wonder if we should detect an internet connection and only show the page if there is one.
And depending on the thoughts of @elementary/ux , maybe it would make sense to show it on the next login (if there was an internet connection then), if it was missed the first time?
Yeah we need a network connection step in initial setup before we can do this
I guess since we expect apps to be flatpak, we don't show debs in AppCenter anymore, we only need to pull down the flatpak extension here
I guess since we expect apps to be flatpak, we don't show debs in AppCenter anymore, we only need to pull down the flatpak extension here
But, we use the system or user installation? Do extensions on system installation works with apps on user installation?
I tried to refactor this branch to install org.freedesktop.Platform.ffmpeg-full
as Flatpak runtime.
Videos would use version 22.08 of org.freedesktop.Platform.ffmpeg-full
as an extension if available: https://github.com/elementary/videos/blob/2.9.0/io.elementary.videos.yml#L24
Videos is installed system-wide. To test if the runtime effects the capability of Videos to play other video formats I installed org.freedesktop.Platform.ffmpeg-full
system-wide (flatpak install --system runtime/org.freedesktop.Platform.ffmpeg-full/x86_64/22.08
):
Name | Application ID | Version | Branch | Origin | Installation |
---|---|---|---|---|---|
Videos | io.elementary.videos | 2.9.0 | stable | appcenter | system |
ffmpeg-full | org.freedesktop.Platform.ffmpeg-full | 22.08 | freedesktop | system |
I tested if the installation of the extension affects which video formats can be played:
format | without runtime | with runtime |
---|---|---|
AVI | ❌ | ❌ |
MOV | ❌ | ❌ |
MP4 | ❌ | ❌ |
OGG | ✅ | ✅ |
WMV | ❌ | ❌ |
WEBM | ✅ | ✅ |
I tested this after the installation of the extension and a reboot of my device. Unfortunately, this makes no difference.
@Marukesu @alatiera do you have any other ideas about what the issue could be?
Seems like something goes wrong with the videos flatpak, I will need to debug it to investigate if the extension gets mounted, etc. I will try to find some time to do so during the weekend or else sometime next week
Fixes https://github.com/elementary/initial-setup/issues/91