]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[splash] Rename spinfinity plugin to throbgress
authorRay Strode <rstrode@redhat.com>
Thu, 14 May 2009 14:10:27 +0000 (10:10 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 20 May 2009 21:27:53 +0000 (17:27 -0400)
It's the theme that makes it spinfinity,
not the plugin.  The plugin is more generic.

configure.ac
src/plugins/splash/Makefile.am
src/plugins/splash/throbgress/Makefile.am [moved from src/plugins/splash/spinfinity/Makefile.am with 82% similarity]
src/plugins/splash/throbgress/plugin.c [moved from src/plugins/splash/spinfinity/plugin.c with 99% similarity]
themes/spinfinity/spinfinity.plymouth.in

index 19da340e2b9969e0b87efcf00483a6526e1838eb..fb261914f0ebb693ca751023b30ad82c789ead6d 100644 (file)
@@ -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
index dda7f86c9f11374909912ddb6cd095404899bd38..5cb9ad63dba3d1b99b4556123e2dd4b2c4c38e7f 100644 (file)
@@ -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
similarity index 82%
rename from src/plugins/splash/spinfinity/Makefile.am
rename to src/plugins/splash/throbgress/Makefile.am
index 3b17c21b56a428ccba815b1f6f50994843f00d0c..c4ca0a8aa70a769d6401170be2ccbd1c755ce2ac 100644 (file)
@@ -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
similarity index 99%
rename from src/plugins/splash/spinfinity/plugin.c
rename to src/plugins/splash/throbgress/plugin.c
index df8c4418ff4b5bfbf601f9f70fa26767740f854e..604d40469104cdebd41126532ec312289e37fcd1 100644 (file)
@@ -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);
index 9c11c3bd3b5f7797c2efab7fa368e1d7eaf28a2f..d4a94690232ac5e96c1e8c7d37fa8a167b56bae1 100644 (file)
@@ -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