Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pegasus: add new module and small updates #3881

Merged
merged 3 commits into from May 22, 2024
Merged

Conversation

cmitu
Copy link
Contributor

@cmitu cmitu commented Mar 7, 2024

Since the static binaries provided upstream are no longer working on newer RaspiOS or on 32bit ARM, create a standard scriptmodule to build Pegasus with pegasus-fe-dev. The new scriptmodule is meant to work similarly to the es/es-dev pair, only one can work at a time and they share a set of common functions. Note that due to the Qt5 version needed, the new scriptmodule is meant to be used on Debian 11/Ubuntu 22.04 and later.

Modified the original scriptmodule and added a theme download function, using @mmatyas's themes. More can be found at [2].

A 2nd commit adds pegasus-fe as an auto-start item, similar to Kodi/ES, while fixing the spelling of 'EmulationStation'.

Notes:

  • the pegasus-fe launcher doesn't need the previous TTY set-up, it's now handled by runcommand.
  • sometimes the /dev/dri/card0 is not the right card node since the order of the cardX inodes is not guaranteed.
    Find the right card node dynamically (see [1]) and tell Qt about it with a minimal config file used in the launcher

[1] https://forums.raspberrypi.com/viewtopic.php?t=351263
[2] https://github.com/mmatyas/pegasus-theme-gallery-db/blob/master/repos.txt

Closes #3586.

Copy link
Member

@joolswills joolswills left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

I would have done the "Emulation Station" -> EmulationStation wording in a separate commit as it's not related to the addition of the pegasus changes.

scriptmodules/supplementary/autostart.sh Outdated Show resolved Hide resolved
@cmitu
Copy link
Contributor Author

cmitu commented Mar 11, 2024

@joolswills I added the rename for ES in a separate commit.

Added Pegasus as alternative to Kodi and EmulationStation. The list of available auto-start front-ends is now dynamic, based on whether Kodi and Pegasus are available.
Since the static binaries provided upstream are no longer working on newer RaspiOS or on 32bit ARM, create a standard scriptmodule to build Pegasus with `pegasus-fe-dev`. The new scriptmodule is meant to work similarly to the `es`/`es-dev` pair, only one can work at a time and they share a set of common functions.

Modified the original scriptmodule and added a theme download function, using @mmatyas's themes. More can be found at [2].

Notes:
 * the `pegasus-fe` launcher doesn't need the previous TTY set-up, it's now handled by `runcommand`.
 * sometimes the `/dev/dri/card0` is not the right card node since the order of the `cardX` inodes is not guaranteed.
   Find the right card node dynamically (see [1]) and tell Qt about it with a minimal config file used in the launcher

[1] https://forums.raspberrypi.com/viewtopic.php?t=351263
[2] https://github.com/mmatyas/pegasus-theme-gallery-db/blob/master/repos.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants