plymouth/0002-Install-label-ft-plugin-into-initrd-if-available.patch

20 lines
1014 B
Diff
Raw Normal View History

Accepting request 840078 from home:qzhao:branches:Base:System - Update to version: 0.9.5+git20200921+20778f2: boot-server: Handle client disconnecting while trigger pending boot-server: Ref count the connections drm: Honor modes selected by the user through video= kernel cmdline argument use resolution of higher res monitor for window size autogoo: use /proc/self/fd/0 instead of /dev/stdin main: Don't bail out of load_settings if "Theme" is missing main: switch log file when switching mode main: fix mode changing before splash is shown two-step: Center message text within labels if labels are centered drm/kms probe speedups drm: Do not unnecessarily get output info twice ply-device-manager: Only consume one udev event at a time two-step: Do not jump to end-animation on halt/reboot if it is disabled two-step: Add UseEndAnimation setting script: add Image.Crop(x, y, width, height) ply-throbber: Do not redraw when we need to stop throbbing on free ply-keymap-icon: Do not draw on free ply-capslock-icon: Do not draw on free script: add missing unref() for system update func themes: Drop UseFirmwareBackground=true from spinner/bgrt firmware-upgrade settings Fix SetSystemUpdateFunction event-loop: Remove ply_trace calls around the disconnect handler ply-terminal-session: Not use grantpt when the system shut down. to avoid system hung up. build-goo: Remove vestigial remnants of old GDM integration code. OBS-URL: https://build.opensuse.org/request/show/840078 OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=273
2020-10-07 17:12:36 +02:00
diff -Nura plymouth-0.9.5+git20200921+20778f2/scripts/plymouth-populate-initrd.in plymouth-0.9.5+git20200921+20778f2_new/scripts/plymouth-populate-initrd.in
--- plymouth-0.9.5+git20200921+20778f2/scripts/plymouth-populate-initrd.in 2020-10-05 23:05:13.055563514 +0800
+++ plymouth-0.9.5+git20200921+20778f2_new/scripts/plymouth-populate-initrd.in 2020-10-05 23:08:35.098420945 +0800
@@ -461,6 +461,15 @@
Accepting request 684302 from home:qzhao:branches:Base:System - Update to version 0.9.4+git20181219.c8f1256: * ply-pixel-buffer: Fix right and bottom edge rendering of scaled buffers. * Add support for translating the user visible strings in some themes * Prefix Title and Subtitle theme config keywords with an underscore * Add new reboot and system-upgrade modes * main: Remove private ply_mode_t * two-step: Make ProgressBarShowPercentComplete a per mode setting * plymouthd.defaults: Change default ShowDelay to 0 * ply-boot-splash: Do not add ply_boot_splash_update_progress timeout multiple times * logging: Minor log-message fixes. Improve logging format. * themes: Update spinner and bgrt theme offline updates mode * two-step: Add a per mode setting to suppress messages. Add progress-bar support. Add MessageBelowAnimation option. Add per mode settings. Drop background_is_bgrt view_t member * ply-progress-bar: Allow caller to specify the widgets width and height. Allow choosing fore- and back-ground color. Redraw on percentage update. * boot-server: fix type confusion when allocating connection object * ply-device-manager: Handle change events for monitor hotplugging. Consume all events in one go. * drm: Stop limiting preferred-mode picking to UEFI systems. Reset mode on display-port connected outputs with a bad link-status. Implement handle_change_event. Ensure heads are mapped before flushing them. Allow calling create_heads_for_active_connectors multiple times. Allow calling ply_renderer_head_add_connector with existing connector_id. Limit backend->resources lifetime to within query_device. Store and keep all the outputs in the backend. Add get_output_info helper function Stop storing a pointer to drmModeConnector in ply_output_t Stop keeing a drmModeConnector instance around. Refactor ply_renderer_head_add_connector and ply_renderer_head_new - Rebase 0002-Install-label-ft-plugin-into-initrd-if-available.patch OBS-URL: https://build.opensuse.org/request/show/684302 OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=222
2019-03-12 14:03:43 +01:00
inst_recur "${PLYMOUTH_IMAGE_DIR}"
fi
+if [ -f "${PLYMOUTH_PLUGIN_PATH}/label-ft.so" ]; then
Accepting request 684302 from home:qzhao:branches:Base:System - Update to version 0.9.4+git20181219.c8f1256: * ply-pixel-buffer: Fix right and bottom edge rendering of scaled buffers. * Add support for translating the user visible strings in some themes * Prefix Title and Subtitle theme config keywords with an underscore * Add new reboot and system-upgrade modes * main: Remove private ply_mode_t * two-step: Make ProgressBarShowPercentComplete a per mode setting * plymouthd.defaults: Change default ShowDelay to 0 * ply-boot-splash: Do not add ply_boot_splash_update_progress timeout multiple times * logging: Minor log-message fixes. Improve logging format. * themes: Update spinner and bgrt theme offline updates mode * two-step: Add a per mode setting to suppress messages. Add progress-bar support. Add MessageBelowAnimation option. Add per mode settings. Drop background_is_bgrt view_t member * ply-progress-bar: Allow caller to specify the widgets width and height. Allow choosing fore- and back-ground color. Redraw on percentage update. * boot-server: fix type confusion when allocating connection object * ply-device-manager: Handle change events for monitor hotplugging. Consume all events in one go. * drm: Stop limiting preferred-mode picking to UEFI systems. Reset mode on display-port connected outputs with a bad link-status. Implement handle_change_event. Ensure heads are mapped before flushing them. Allow calling create_heads_for_active_connectors multiple times. Allow calling ply_renderer_head_add_connector with existing connector_id. Limit backend->resources lifetime to within query_device. Store and keep all the outputs in the backend. Add get_output_info helper function Stop storing a pointer to drmModeConnector in ply_output_t Stop keeing a drmModeConnector instance around. Refactor ply_renderer_head_add_connector and ply_renderer_head_new - Rebase 0002-Install-label-ft-plugin-into-initrd-if-available.patch OBS-URL: https://build.opensuse.org/request/show/684302 OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=222
2019-03-12 14:03:43 +01:00
+ inst ${PLYMOUTH_PLUGIN_PATH}/label-ft.so $INITRDDIR
+ font=$(fc-match -f %{file})
+ inst "$font" $INITRDDIR
+ # The label-ft plugin expects it at this location
+ mkdir -p $INITRDDIR/usr/share/fonts
+ ln -s "$font" $INITRDDIR/usr/share/fonts/Plymouth.ttf
+fi
+
Accepting request 840078 from home:qzhao:branches:Base:System - Update to version: 0.9.5+git20200921+20778f2: boot-server: Handle client disconnecting while trigger pending boot-server: Ref count the connections drm: Honor modes selected by the user through video= kernel cmdline argument use resolution of higher res monitor for window size autogoo: use /proc/self/fd/0 instead of /dev/stdin main: Don't bail out of load_settings if "Theme" is missing main: switch log file when switching mode main: fix mode changing before splash is shown two-step: Center message text within labels if labels are centered drm/kms probe speedups drm: Do not unnecessarily get output info twice ply-device-manager: Only consume one udev event at a time two-step: Do not jump to end-animation on halt/reboot if it is disabled two-step: Add UseEndAnimation setting script: add Image.Crop(x, y, width, height) ply-throbber: Do not redraw when we need to stop throbbing on free ply-keymap-icon: Do not draw on free ply-capslock-icon: Do not draw on free script: add missing unref() for system update func themes: Drop UseFirmwareBackground=true from spinner/bgrt firmware-upgrade settings Fix SetSystemUpdateFunction event-loop: Remove ply_trace calls around the disconnect handler ply-terminal-session: Not use grantpt when the system shut down. to avoid system hung up. build-goo: Remove vestigial remnants of old GDM integration code. OBS-URL: https://build.opensuse.org/request/show/840078 OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=273
2020-10-07 17:12:36 +02:00
if [ -L ${PLYMOUTH_SYSROOT}${PLYMOUTH_DATADIR}/plymouth/themes/default.plymouth ]; then
cp -a ${PLYMOUTH_SYSROOT}${PLYMOUTH_DATADIR}/plymouth/themes/default.plymouth $INITRDDIR${PLYMOUTH_DATADIR}/plymouth/themes
fi