mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 13:38:45 +02:00
[splash] Rename solar plugin to space-flares
We're trying to keep a distinction between plugin and theme.
This commit is contained in:
parent
3cd5b5f2e0
commit
c56ce86f78
5 changed files with 13 additions and 13 deletions
|
|
@ -205,7 +205,7 @@ AC_OUTPUT([Makefile
|
|||
src/plugins/splash/fade-in/Makefile
|
||||
src/plugins/splash/text/Makefile
|
||||
src/plugins/splash/details/Makefile
|
||||
src/plugins/splash/solar/Makefile
|
||||
src/plugins/splash/space-flares/Makefile
|
||||
src/plugins/splash/two-step/Makefile
|
||||
src/plugins/controls/Makefile
|
||||
src/plugins/controls/label/Makefile
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
SUBDIRS = throbgress fade-in text details solar two-step
|
||||
SUBDIRS = throbgress fade-in text details space-flares two-step
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
if ADD_DEFAULT_PLUGIN_LINK
|
||||
|
|
|
|||
|
|
@ -7,18 +7,18 @@ INCLUDES = -I$(top_srcdir) \
|
|||
-I$(srcdir)
|
||||
|
||||
plugindir = $(libdir)/plymouth
|
||||
plugin_LTLIBRARIES = solar.la
|
||||
plugin_LTLIBRARIES = space-flares.la
|
||||
|
||||
solar_la_CFLAGS = $(PLYMOUTH_CFLAGS) \
|
||||
space_flares_la_CFLAGS = $(PLYMOUTH_CFLAGS) \
|
||||
-DPLYMOUTH_IMAGE_DIR=\"$(datadir)/plymouth/\" \
|
||||
-DPLYMOUTH_LOGO_FILE=\"$(logofile)\" \
|
||||
-DPLYMOUTH_BACKGROUND_COLOR=$(background_color) \
|
||||
-DPLYMOUTH_BACKGROUND_END_COLOR=$(background_end_color) \
|
||||
-DPLYMOUTH_BACKGROUND_START_COLOR=$(background_start_color)
|
||||
solar_la_LDFLAGS = -module -avoid-version -export-dynamic
|
||||
solar_la_LIBADD = $(PLYMOUTH_LIBS) \
|
||||
space_flares_la_LDFLAGS = -module -avoid-version -export-dynamic
|
||||
space_flares_la_LIBADD = $(PLYMOUTH_LIBS) \
|
||||
../../../libply/libply.la \
|
||||
../../../libplybootsplash/libplybootsplash.la
|
||||
solar_la_SOURCES = $(srcdir)/plugin.c
|
||||
space_flares_la_SOURCES = $(srcdir)/plugin.c
|
||||
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
|
@ -220,7 +220,7 @@ create_plugin (ply_key_file_t *key_file)
|
|||
|
||||
plugin->logo_image = ply_image_new (PLYMOUTH_LOGO_FILE);
|
||||
|
||||
image_dir = ply_key_file_get_value (key_file, "solar", "ImageDir");
|
||||
image_dir = ply_key_file_get_value (key_file, "space-flares", "ImageDir");
|
||||
|
||||
asprintf (&image_path, "%s/lock.png", image_dir);
|
||||
plugin->lock_image = ply_image_new (image_path);
|
||||
|
|
@ -935,7 +935,7 @@ on_boot_progress (ply_boot_splash_plugin_t *plugin,
|
|||
}
|
||||
|
||||
void
|
||||
setup_solar (ply_boot_splash_plugin_t *plugin);
|
||||
setup_scene (ply_boot_splash_plugin_t *plugin);
|
||||
|
||||
static void
|
||||
start_animation (ply_boot_splash_plugin_t *plugin)
|
||||
|
|
@ -951,7 +951,7 @@ start_animation (ply_boot_splash_plugin_t *plugin)
|
|||
ply_frame_buffer_get_size (plugin->frame_buffer, &area);
|
||||
|
||||
plugin->now = ply_get_timestamp ();
|
||||
setup_solar (plugin);
|
||||
setup_scene (plugin);
|
||||
ply_window_draw_area (plugin->window, area.x, area.y, area.width, area.height);
|
||||
|
||||
if (plugin->mode == PLY_BOOT_SPLASH_MODE_SHUTDOWN)
|
||||
|
|
@ -1235,7 +1235,7 @@ void highlight_image (ply_image_t *highlighted_image, ply_image_t *orig_image, i
|
|||
|
||||
}
|
||||
void
|
||||
setup_solar (ply_boot_splash_plugin_t *plugin)
|
||||
setup_scene (ply_boot_splash_plugin_t *plugin)
|
||||
{
|
||||
ply_frame_buffer_area_t screen_area;
|
||||
sprite_t *sprite;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
[Plymouth Theme]
|
||||
Name=Solar
|
||||
Description=Space theme with violent flaring blue star
|
||||
ModuleName=solar
|
||||
ModuleName=space-flares
|
||||
|
||||
[solar]
|
||||
[space-flares]
|
||||
ImageDir=@PLYMOUTH_THEME_PATH@/solar
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue