[gnome-screensaver] Add a slideshow and backgrounds file for cosmos
- From: William Jon McCann <mccann src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-screensaver] Add a slideshow and backgrounds file for cosmos
- Date: Fri, 21 Aug 2009 01:57:36 +0000 (UTC)
commit eaa070179dc800f5d4dfdf2e5c6ccc8f974c29c4
Author: William Jon McCann <jmccann redhat com>
Date: Thu Aug 20 21:55:55 2009 -0400
Add a slideshow and backgrounds file for cosmos
Make it appear in the Appearances/Backgrounds tool.
Initial patch from mclasen redhat com
data/images/cosmos/Makefile.am | 23 +++++++++
data/images/cosmos/background-1.xml | 92 +++++++++++++++++++++++++++++++++++
data/images/cosmos/cosmos.xml.in.in | 11 ++++
3 files changed, 126 insertions(+), 0 deletions(-)
---
diff --git a/data/images/cosmos/Makefile.am b/data/images/cosmos/Makefile.am
index 4edaf47..cbbb00b 100644
--- a/data/images/cosmos/Makefile.am
+++ b/data/images/cosmos/Makefile.am
@@ -11,9 +11,32 @@ images_DATA = \
jupiter.jpg \
sombrero.jpg \
whirlpool.jpg \
+ background-1.xml \
$(NULL)
+cosmos.xml.in: cosmos.xml.in.in Makefile
+ $(edit) $< >$@
+
+metadata_in_files = cosmos.xml.in
+metadatadir = $(datadir)/gnome-background-properties
+metadata_DATA = $(metadata_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
+
+edit = sed \
+ -e 's|@IMAGESDIR[ ]|$(imagesdir)|g'
+
EXTRA_DIST = \
CREDITS \
$(images_DATA) \
+ cosmos.xml.in.in \
$(NULL)
+
+CLEANFILES = \
+ cosmos.xml.in \
+ $(NULL)
+
+MAINTAINERCLEANFILES = \
+ *~ \
+ Makefile.in \
+ cosmos.xml \
+ $(NULL)
\ No newline at end of file
diff --git a/data/images/cosmos/background-1.xml b/data/images/cosmos/background-1.xml
new file mode 100644
index 0000000..f795833
--- /dev/null
+++ b/data/images/cosmos/background-1.xml
@@ -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>/usr/share/pixmaps/backgrounds/cosmos/cloud.jpg</file>
+ </static>
+ <transition>
+ <duration>5.0</duration>
+ <from>/usr/share/pixmaps/backgrounds/cosmos/cloud.jpg</from>
+ <to>/usr/share/pixmaps/backgrounds/cosmos/comet.jpg</to>
+ </transition>
+ <static>
+ <duration>1795.0</duration>
+ <file>/usr/share/pixmaps/backgrounds/cosmos/comet.jpg</file>
+ </static>
+ <transition>
+ <duration>5.0</duration>
+ <from>/usr/share/pixmaps/backgrounds/cosmos/comet.jpg</from>
+ <to>/usr/share/pixmaps/backgrounds/cosmos/earth-horizon.jpg</to>
+ </transition>
+ <static>
+ <duration>1795.0</duration>
+ <file>/usr/share/pixmaps/backgrounds/cosmos/earth-horizon.jpg</file>
+ </static>
+ <transition>
+ <duration>5.0</duration>
+ <from>/usr/share/pixmaps/backgrounds/cosmos/earth-horizon.jpg</from>
+ <to>/usr/share/pixmaps/backgrounds/cosmos/earthrise.jpg</to>
+ </transition>
+ <static>
+ <duration>1795.0</duration>
+ <file>/usr/share/pixmaps/backgrounds/cosmos/earthrise.jpg</file>
+ </static>
+ <transition>
+ <duration>5.0</duration>
+ <from>/usr/share/pixmaps/backgrounds/cosmos/earthrise.jpg</from>
+ <to>/usr/share/pixmaps/backgrounds/cosmos/galaxy-ngc3370.jpg</to>
+ </transition>
+ <static>
+ <duration>1795.0</duration>
+ <file>/usr/share/pixmaps/backgrounds/cosmos/galaxy-ngc3370.jpg</file>
+ </static>
+ <transition>
+ <duration>5.0</duration>
+ <from>/usr/share/pixmaps/backgrounds/cosmos/galaxy-ngc3370.jpg</from>
+ <to>/usr/share/pixmaps/backgrounds/cosmos/helix-nebula.jpg</to>
+ </transition>
+ <static>
+ <duration>1795.0</duration>
+ <file>/usr/share/pixmaps/backgrounds/cosmos/helix-nebula.jpg</file>
+ </static>
+ <transition>
+ <duration>5.0</duration>
+ <from>/usr/share/pixmaps/backgrounds/cosmos/helix-nebula.jpg</from>
+ <to>/usr/share/pixmaps/backgrounds/cosmos/jupiter.jpg</to>
+ </transition>
+ <static>
+ <duration>1795.0</duration>
+ <file>/usr/share/pixmaps/backgrounds/cosmos/jupiter.jpg</file>
+ </static>
+ <transition>
+ <duration>5.0</duration>
+ <from>/usr/share/pixmaps/backgrounds/cosmos/jupiter.jpg</from>
+ <to>/usr/share/pixmaps/backgrounds/cosmos/sombrero.jpg</to>
+ </transition>
+ <static>
+ <duration>1795.0</duration>
+ <file>/usr/share/pixmaps/backgrounds/cosmos/sombrero.jpg</file>
+ </static>
+ <transition>
+ <duration>5.0</duration>
+ <from>/usr/share/pixmaps/backgrounds/cosmos/sombrero.jpg</from>
+ <to>/usr/share/pixmaps/backgrounds/cosmos/whirlpool.jpg</to>
+ </transition>
+ <static>
+ <duration>1795.0</duration>
+ <file>/usr/share/pixmaps/backgrounds/cosmos/whirlpool.jpg</file>
+ </static>
+ <transition>
+ <duration>5.0</duration>
+ <from>/usr/share/pixmaps/backgrounds/cosmos/whirlpool.jpg</from>
+ <to>/usr/share/pixmaps/backgrounds/cosmos/cloud.jpg</to>
+ </transition>
+</background>
diff --git a/data/images/cosmos/cosmos.xml.in.in b/data/images/cosmos/cosmos.xml.in.in
new file mode 100644
index 0000000..952f8b9
--- /dev/null
+++ b/data/images/cosmos/cosmos.xml.in.in
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
+<wallpapers>
+ <wallpaper deleted="false">
+ <!-- Translators: This is the name of a desktop background image that shows outer space images.
+ You might want to translate it into the equivalent words of your language -->
+ <_name>Cosmos</_name>
+ <filename>@IMAGESDIR@/background-1.xml</filename>
+ <options>zoom</options>
+ </wallpaper>
+</wallpapers>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]