[gnome-screensaver] Fix install location of background slideshow



commit 9741de82c326ba3b3026b51071662d8e48636439
Author: William Jon McCann <jmccann redhat com>
Date:   Fri Aug 21 01:21:47 2009 -0400

    Fix install location of background slideshow

 data/images/cosmos/Makefile.am         |   15 ++++-
 data/images/cosmos/background-1.xml    |   92 --------------------------------
 data/images/cosmos/background-1.xml.in |   92 ++++++++++++++++++++++++++++++++
 3 files changed, 104 insertions(+), 95 deletions(-)
---
diff --git a/data/images/cosmos/Makefile.am b/data/images/cosmos/Makefile.am
index e60d7a1..2d66525 100644
--- a/data/images/cosmos/Makefile.am
+++ b/data/images/cosmos/Makefile.am
@@ -1,7 +1,6 @@
 NULL =
 
-imagesdir   = $(SLIDESHOW_COSMOS_DIR)
-images_DATA =			\
+BACKGROUNDS = \
 	cloud.jpg 		\
 	comet.jpg 		\
 	earth-horizon.jpg	\
@@ -11,12 +10,20 @@ images_DATA =			\
 	jupiter.jpg		\
 	sombrero.jpg		\
 	whirlpool.jpg		\
+	$(NULL)
+
+imagesdir   = $(SLIDESHOW_COSMOS_DIR)
+images_DATA =			\
+	$(BACKGROUNDS)		\
 	background-1.xml	\
 	$(NULL)
 
 cosmos.xml.in: cosmos.xml.in.in Makefile
 	$(edit) $< >$@
 
+background-1.xml: background-1.xml.in Makefile
+	$(edit) $< >$@
+
 metadata_in_files = cosmos.xml.in
 metadatadir = $(datadir)/gnome-background-properties
 metadata_DATA = $(metadata_in_files:.xml.in=.xml)
@@ -27,7 +34,8 @@ edit = sed \
 
 EXTRA_DIST =			\
 	CREDITS 		\
-	$(images_DATA)		\
+	$(BACKGROUNDS)		\
+	background-1.xml.in	\
 	cosmos.xml.in.in	\
 	$(NULL)
 
@@ -37,6 +45,7 @@ CLEANFILES = \
 
 DISTCLEANFILES = \
 	cosmos.xml			\
+	background-1.xml		\
 	$(NULL)
 
 MAINTAINERCLEANFILES =                  \
diff --git a/data/images/cosmos/background-1.xml.in b/data/images/cosmos/background-1.xml.in
new file mode 100644
index 0000000..e2b59c0
--- /dev/null
+++ b/data/images/cosmos/background-1.xml.in
@@ -0,0 +1,92 @@
+<background>
+  <starttime>
+    <year>2009</year>
+    <month>08</month>
+    <day>04</day>
+    <hour>00</hour>
+    <minute>00</minute>
+    <second>00</second>
+  </starttime>
+<!-- This animation will start at midnight. -->
+  <static>
+    <duration>1795.0</duration>
+    <file>@IMAGESDIR@/cloud.jpg</file>
+  </static>
+  <transition>
+    <duration>5.0</duration>
+    <from>@IMAGESDIR@/cloud.jpg</from>
+    <to>@IMAGESDIR@/comet.jpg</to>
+  </transition>
+  <static>
+    <duration>1795.0</duration>
+    <file>@IMAGESDIR@/comet.jpg</file>
+  </static>
+  <transition>
+    <duration>5.0</duration>
+    <from>@IMAGESDIR@/comet.jpg</from>
+    <to>@IMAGESDIR@/earth-horizon.jpg</to>
+  </transition>
+  <static>
+    <duration>1795.0</duration>
+    <file>@IMAGESDIR@/earth-horizon.jpg</file>
+  </static>
+  <transition>
+    <duration>5.0</duration>
+    <from>@IMAGESDIR@/earth-horizon.jpg</from>
+    <to>@IMAGESDIR@/earthrise.jpg</to>
+  </transition>
+  <static>
+    <duration>1795.0</duration>
+    <file>@IMAGESDIR@/earthrise.jpg</file>
+  </static>
+  <transition>
+    <duration>5.0</duration>
+    <from>@IMAGESDIR@/earthrise.jpg</from>
+    <to>@IMAGESDIR@/galaxy-ngc3370.jpg</to>
+  </transition>
+  <static>
+    <duration>1795.0</duration>
+    <file>@IMAGESDIR@/galaxy-ngc3370.jpg</file>
+  </static>
+  <transition>
+    <duration>5.0</duration>
+    <from>@IMAGESDIR@/galaxy-ngc3370.jpg</from>
+    <to>@IMAGESDIR@/helix-nebula.jpg</to>
+  </transition>
+  <static>
+    <duration>1795.0</duration>
+    <file>@IMAGESDIR@/helix-nebula.jpg</file>
+  </static>
+  <transition>
+    <duration>5.0</duration>
+    <from>@IMAGESDIR@/helix-nebula.jpg</from>
+    <to>@IMAGESDIR@/jupiter.jpg</to>
+  </transition>
+  <static>
+    <duration>1795.0</duration>
+    <file>@IMAGESDIR@/jupiter.jpg</file>
+  </static>
+  <transition>
+    <duration>5.0</duration>
+    <from>@IMAGESDIR@/jupiter.jpg</from>
+    <to>@IMAGESDIR@/sombrero.jpg</to>
+  </transition>
+  <static>
+    <duration>1795.0</duration>
+    <file>@IMAGESDIR@/sombrero.jpg</file>
+  </static>
+  <transition>
+    <duration>5.0</duration>
+    <from>@IMAGESDIR@/sombrero.jpg</from>
+    <to>@IMAGESDIR@/whirlpool.jpg</to>
+  </transition>
+  <static>
+    <duration>1795.0</duration>
+    <file>@IMAGESDIR@/whirlpool.jpg</file>
+  </static>
+  <transition>
+    <duration>5.0</duration>
+    <from>@IMAGESDIR@/whirlpool.jpg</from>
+    <to>@IMAGESDIR@/cloud.jpg</to>
+  </transition>
+</background>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]