[splash] Rename spinfinity plugin to throbgress

It's the theme that makes it spinfinity,
not the plugin.  The plugin is more generic.
calculate-0.9.5
Ray Strode 15 years ago
parent e2ed2b9812
commit 3cd5b5f2e0

@ -201,7 +201,7 @@ AC_OUTPUT([Makefile
src/plymouth-1.pc
src/plugins/Makefile
src/plugins/splash/Makefile
src/plugins/splash/spinfinity/Makefile
src/plugins/splash/throbgress/Makefile
src/plugins/splash/fade-in/Makefile
src/plugins/splash/text/Makefile
src/plugins/splash/details/Makefile

@ -1,4 +1,4 @@
SUBDIRS = spinfinity fade-in text details solar two-step
SUBDIRS = throbgress fade-in text details solar two-step
MAINTAINERCLEANFILES = Makefile.in
if ADD_DEFAULT_PLUGIN_LINK

@ -7,9 +7,9 @@ INCLUDES = -I$(top_srcdir) \
-I$(srcdir)
plugindir = $(libdir)/plymouth
plugin_LTLIBRARIES = spinfinity.la
plugin_LTLIBRARIES = throbgress.la
spinfinity_la_CFLAGS = $(PLYMOUTH_CFLAGS) \
throbgress_la_CFLAGS = $(PLYMOUTH_CFLAGS) \
-DPLYMOUTH_IMAGE_DIR=\"$(datadir)/plymouth/\" \
-DPLYMOUTH_TIME_DIR=\"$(localstatedir)/lib/plymouth/\"\
-DPLYMOUTH_LOGO_FILE=\"$(logofile)\" \
@ -17,10 +17,10 @@ spinfinity_la_CFLAGS = $(PLYMOUTH_CFLAGS) \
-DPLYMOUTH_BACKGROUND_END_COLOR=$(background_end_color) \
-DPLYMOUTH_BACKGROUND_START_COLOR=$(background_start_color)
spinfinity_la_LDFLAGS = -module -avoid-version -export-dynamic
spinfinity_la_LIBADD = $(PLYMOUTH_LIBS) \
throbgress_la_LDFLAGS = -module -avoid-version -export-dynamic
throbgress_la_LIBADD = $(PLYMOUTH_LIBS) \
../../../libply/libply.la \
../../../libplybootsplash/libplybootsplash.la
spinfinity_la_SOURCES = $(srcdir)/plugin.c
throbgress_la_SOURCES = $(srcdir)/plugin.c
MAINTAINERCLEANFILES = Makefile.in

@ -1,4 +1,4 @@
/* spinfinity.c - boot splash plugin
/* throbgress.c - boot splash plugin
*
* Copyright (C) 2007, 2008 Red Hat, Inc.
*
@ -111,7 +111,7 @@ create_plugin (ply_key_file_t *key_file)
plugin = calloc (1, sizeof (ply_boot_splash_plugin_t));
plugin->logo_image = ply_image_new (PLYMOUTH_LOGO_FILE);
image_dir = ply_key_file_get_value (key_file, "spinfinity", "ImageDir");
image_dir = ply_key_file_get_value (key_file, "throbgress", "ImageDir");
asprintf (&image_path, "%s/lock.png", image_dir);
plugin->lock_image = ply_image_new (image_path);

@ -1,7 +1,7 @@
[Plymouth Theme]
Name=Spinfinity
Description=Simple theme that shows a rotating infinity sign in the center of the screen
ModuleName=spinfinity
ModuleName=throbgress
[spinfinity]
[throbgress]
ImageDir=@PLYMOUTH_THEME_PATH@/spinfinity

Loading…
Cancel
Save