Commit graph

74 commits

Author SHA1 Message Date
Jools Wills
3a78644ca3 splashscreen - fix splashscreen ending early on rpi4 on Buster
Don't install the 05-splash.sh script to kill vlc on Raspberry Pi Buster and below. VLC on Buster on RPI4 will output to MMAL which can overlay on top of EmulatioStation.

Remove 05-splash.sh if already present on Buster.
2024-10-10 21:10:16 +01:00
Jools Wills
f15fd70f21 splashscreen - remove unneeded check/install in gui_splashscreen 2024-09-24 21:14:29 +01:00
Jools Wills
2db3e3a904 splashscreen - switch to vlc instead of omxiv / omxplayer
omxiv / omxplayer only works on the Raspberry Pi legacy and fkms drivers.

This change switches to vlc for both utilities, as it supports mmal output on the Raspberry Pi legacy drivers, and drm output on KMS on Raspberry Pi OS (bullseye).

Remove dependencies for omxplayer / omxiv / insserv

Switch code to use vlc.

Run asplashscreen as $user (not root).

Remove wait for dbus (no longer needed)

Save vlc pid and Exit vlc before launching emulationstation on KMS

Pin vlc version on Buster to version from archive.raspberrypi.org to stop it being overwritten with the vanilla Debian security release.

Enable on 64bit Raspberry Pi OS
2024-09-24 21:14:22 +01:00
G Derber
f7761fd635
Add ability to differentiate group ownership from user ownership. 2024-08-06 09:38:25 -04:00
s1eve-mcdichae1
4325d0ae6f splashscreen.sh: (QOL) updated menu interface
Updated wording to remove ambiguity.

Slightly reworked randomizer function.

Added mode label (custom, etc.) to randomizer menu title. (Eliminated `$random` var.)

Fixed path dialog on randomizer choices.

Enable splashscreen and disable randomizer on choosing default.
2022-05-23 16:55:24 -07:00
Jools Wills
5010c5fd69 Use rp_module_repo for some packages that don't install to md_build by default
Mostly drivers and supplementary packages - most install to md_inst which should be handled better now,
but also adjusted sixaxis to use md_build rather than a subfolder in md_build as it didn't seem to require it.
2021-02-15 23:54:13 +00:00
Jools Wills
acdb1ddac8 Switch to associative arrays for module data and storage
Previously all the module data was in indexed arrays with matching offsets.
Each scriptmodule folder had an initial index and it was incremented per module.

Many package functions expected an index. Indexes were never unique and could change
depending on added modules etc. We also had to convert between them and module IDs.

Now it's all done by module id. There is a numbered index of all modules found, that
increments which is used in the GUI setup menus. But it's not needed by any packaging functions.

md_idx is dropped and the few modules that used it for install checks etc now use md_id.

all packaging functions use the id.

retropie_packages.sh now accepts the module id only.
2021-01-07 05:10:02 +00:00
Jools Wills
ee58bdcf6d splashscreen - disable for rpi/aarch64 due to non working omxiv (no openmaxil library available) 2020-07-30 04:28:30 +01:00
Jools Wills
dd28f158fe splashscreen - include omxplayer dependency only on 32bit
* video playback won't work on rpi aarch64 but the splashscreen module can be installed
2020-07-30 04:28:30 +01:00
cmitu
c05ee35ec5 splashscreen: create user config on install/upgrade 2020-03-23 04:07:58 +00:00
cmitu
c0162d6628 splashscreen: add a separate configuration file and user configured duration 2020-03-22 18:47:20 +00:00
Jools Wills
f844b67f36 packages - added _autoupdate_ parameter to install then update on later calls
* add remove function to runcommand to remove mesa-drm
 * use _autoupdate_ for runcommand and splashscreen for dependent modules
2020-03-13 07:43:54 +00:00
Jools Wills
326dec56d2 updated all flags for supplementary modules 2020-02-22 08:23:30 +00:00
cmitu
40330280c4 splashscreen: added KMS/RPI4 support (2) 2020-02-04 18:07:18 +00:00
Conn O'Griofa
8826655e4b splashscreen: ensure splash is set to default if needed
If /etc/splashscreen.list is not present during enable, default will
not be set correctly due to typo in function called.
2017-12-26 03:45:40 +00:00
Jools Wills
518b888eab disable some modules (rpi1 / sdl1 etc) from the kms platform 2017-11-02 19:49:59 +00:00
Jools Wills
ca1d65f145 splashscreen - call install_bin_splashscreen from update hook
* ensures automatic migration to systemd startup if users just update RetroPie-Setup script without updating packages
2017-10-07 17:07:12 +01:00
Conn O'Griofa
60d6cce0d7 splashscreen: convert to systemd service
* Switch to systemd service to allow finer control of start sequence
* Add insserv to depends (not installed in Raspbian stretch lite image).
2017-10-05 15:09:44 +01:00
Jools Wills
da95bf3f14 added more noinstclean flags 2017-02-07 00:46:47 +00:00
Jools Wills
2dc7d6e693 splashscreen - plymouth changes - fixes #1861
* only disable plymouth when screensaver module is installed
 * enable plymouth when screensaver module is removed - not when it is just disabled
only disable plymouth in /boot/cmd
2017-01-27 23:34:29 +00:00
Jools Wills
3b77f09ff2 disable kodi / splashscreen on xbian 2017-01-10 03:33:39 +00:00
Jools Wills
79ea0bfa58 splashscreen - disable on mali 2016-12-22 08:03:15 +00:00
Jools Wills
3e8cc28eb5 splashscreen - only run configure_splashscreen from update hook if installed 2016-12-03 03:16:25 +00:00
Jools Wills
cb048eb866 splashscreen - disable plymouth in /boot/cmdline.txt. 2016-10-22 22:42:47 +01:00
Jools Wills
f5ffcfa631 add a new md_data variable for quick access to a modules additional data files 2016-10-19 21:56:38 +01:00
Jools Wills
6e6a2b7c0d disable kodi and splashscreen modules on osmc 2016-10-17 00:31:41 +01:00
Jools Wills
14cc370643 cosmetic - trailing whitespace 2016-09-27 23:05:40 +01:00
Jools Wills
e385457a7b cosmetic - remove trailing spaces in copyright 2016-08-11 03:23:30 +01:00
Jools Wills
a718ede1f3 fix very silly c&p error. Thanks herb 2016-06-19 23:34:15 +01:00
Jools Wills
b036be9eb2 splashscreen - fix default splashscreen path 2016-06-19 20:34:25 +01:00
Jools Wills
045b52aa1b splashscreen changes -
* switch to new repo - use new default splashscreen
 * allow downloading of new extra splashscreen repository
 * change find regexp to ignore all hidden files
2016-06-19 20:21:11 +01:00
Jools Wills
4dbb528fc1 splashscreens - default splashscreen name change to match new repo 2016-06-19 20:01:00 +01:00
Jools Wills
2e0135f6ff make splashscreen a main module so it can be removed 2016-06-07 13:01:24 +01:00
Jools Wills
8dd2069660 use config instead of conf 2016-06-06 22:08:36 +01:00
Jools Wills
889f8ecdfa Initial rewrite of the setup menu, including per package/module management
* rp_module_menus is no more - instead use rp_module_section with one of
   - core (core packages)
   - main (main packages - which will be installed by default in the image)
   - opt (optional packages)
   - exp (experimental packages)
   - driver (driver packages)
   - config (configuration packages / tools)

 * The setup menu organises the data based on the above sections. more could be added in the future if needed. Packages (internally modules), can be added / configured / removed individually, or as entire sections.

 * The setup menu will automatically detect if a binary is available to be installed. the nobin flag is no longer needed. modules that install directly from binary via aptInstall or via a prebuilt binary need to use an install_bin_ function instead of install_

 * rp_module_section of type "config" will have the "gui_" function called first if it's available, otherwise a standard depends/sources/build/install/configure will be called

 * configure is no longer used for "gui" configuration function - use gui_ instead. Had already started to move to this before, but now it is required.
2016-06-06 22:08:36 +01:00
Jools Wills
a89e923cd5 splashscreen - don't hardcode rootdir/datadir. 2016-05-14 19:04:31 +01:00
Jools Wills
d988d58e0a splashscreen - use extensions from splashscreen module in init.d script. add additional escaping of backslashes and pipes for sed in iniSet. 2016-05-14 18:44:04 +01:00
Jools Wills
2c0cc18572 splashscreen:
* addresses some of the points from https://github.com/RetroPie/RetroPie-Setup/pull/1480#issuecomment-219145076
 * make functions more standalone and simplify logic - eg choose_splashscreen just returns a splashscreen - setting / preview etc is handled in their own functions
 * put extensions into functions
 * paths for splashscreen locations is now handled in own function
2016-05-14 04:45:35 +01:00
wetriner
1ad9bcdcc8 Changed from a directory search to file search.
Added Preview options for images and videos.
Restructured menus.
Added a randomizer.
2016-05-12 16:37:12 -10:00
Jools Wills
95a8c4a472 use remove_ function for splashscreen 2016-02-22 14:30:34 +00:00
gizmo98
c9ab6544e1 x86: remove more modules
Wifi and bluetooth can be setup in a desktop environment. Splashscreen
can be setup with plymouth.
2016-01-10 14:51:33 +01:00
Jools Wills
3b561251eb move user splashscreen folder creation to install function 2015-12-20 03:22:25 +00:00
Jools Wills
417428cafb fix path name for user splashscreens in dialog 2015-12-20 03:18:03 +00:00
Jools Wills
3dcb5a919f splashscreen dialog title 2015-12-18 02:35:05 +00:00
Jools Wills
450c344f86 force +x on asplashscreen init.d script 2015-12-17 22:52:19 +00:00
Jools Wills
d7f843d473 copyright sp / minor wording tweak 2015-10-12 00:09:22 +01:00
Florian
db0dd30692 CHG: Updated copyright information. 2015-10-11 21:03:16 +02:00
Jools Wills
1d624cad34 run splashscreen depends if configuring and no splashscreens are installed (first run) 2015-09-11 02:39:26 +01:00
Jools Wills
543cd3b7f9 use $datadir/splashscreens for user splashscreens - keep our retropie distributed splashes separate 2015-08-26 01:20:25 +01:00
Jools Wills
e0fe064027 use insserv to disable asplashscreen 2015-08-10 02:01:23 +01:00