summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile7
-rw-r--r--common/bootsplash/theme.xml106
2 files changed, 113 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fd59123..32dd02e 100644
--- a/Makefile
+++ b/Makefile
@@ -67,6 +67,13 @@ install:
do \
ln -f -s vt0-$$d.cfg $(prefix)$(configdir)/bootsplash/themes/$$t/config/vt$$v-$$d.cfg; \
done; \
+ install -d $(prefix)/$(sharedir)/splashy/themes/$$t-$$d; \
+ cp -al $(prefix)$(sharedir)/bootsplash/themes/$$t/images/bootsplash-$$d.jpg $(prefix)/$(sharedir)/splashy/themes/$$t-$$d/background.jpg; \
+ if [ -e $(prefix)$(sharedir)/bootsplash/Mandriva-common/images/hibernate-$$d.jpg ]; then \
+ cp -al $(prefix)$(sharedir)/bootsplash/Mandriva-common/images/hibernate-$$d.jpg $(prefix)/$(sharedir)/splashy/themes/$$t-$$d/suspend.jpg; \
+ fi; \
+ ln -sf ../default/FreeSans.ttf $(prefix)/$(sharedir)/splashy/themes/$$t-$$d; \
+ perl -pe "s,\@THEME\@,$$t,g" common/bootsplash/theme.xml > $(prefix)/$(sharedir)/splashy/themes/$$t-$$d/theme.xml; \
done; \
rm -f $(prefix)$(configdir)/bootsplash/themes/$$t/config/*template.cfg ; \
chmod 644 $(prefix)$(configdir)/bootsplash/themes/$$t/config/*.cfg; \
diff --git a/common/bootsplash/theme.xml b/common/bootsplash/theme.xml
new file mode 100644
index 0000000..00e8b75
--- /dev/null
+++ b/common/bootsplash/theme.xml
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<splashy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://splashy.alioth.debian.org/schemas/1.1/theme.xsd">
+ <info>
+ <name>@THEME@</name>
+ <version>1.0</version>
+ <description>@THEME@ theme</description>
+ <urls>http://www.mandriva.com/</urls>
+ <author>Mandriva</author>
+ </info>
+ <progressbar>
+ <dimension>
+ <x>3</x>
+ <y>90</y>
+ <width>45</width>
+ <height>3</height>
+ </dimension>
+ <color>
+ <red>66</red>
+ <green>125</green>
+ <blue>198</blue>
+ <alpha>255</alpha>
+ </color>
+ <border>
+ <enable>yes</enable>
+ <color>
+ <red>0</red>
+ <green>0</green>
+ <blue>0</blue>
+ <alpha>255</alpha>
+ </color>
+ </border>
+ <background>
+ <color>
+ <red>239</red>
+ <green>243</green>
+ <blue>247</blue>
+ <alpha>255</alpha>
+ </color>
+ </background>
+ <direction>
+ <boot>forward</boot>
+ <shutdown>backward</shutdown>
+ <resume>forward</resume>
+ <suspend>backward</suspend>
+ </direction>
+ <visibility>
+ <boot>yes</boot>
+ <shutdown>yes</shutdown>
+ <resume>yes</resume>
+ <suspend>yes</suspend>
+ </visibility>
+ </progressbar>
+ <background>
+ <boot>background.jpg</boot>
+ <shutdown>background.jpg</shutdown>
+ <resume>suspend.jpg</resume>
+ <suspend>suspend.jpg</suspend>
+ <errorimg>background.jpg</errorimg>
+ <dimension>
+ <x>0</x>
+ <y>0</y>
+ <width>0</width>
+ <height>0</height>
+ </dimension>
+ </background>
+ <textbox>
+ <enable>yes</enable>
+ <dimension>
+ <x>20</x>
+ <y>50</y>
+ <width>60</width>
+ <height>40</height>
+ </dimension>
+ <color>
+ <red>0</red>
+ <green>0</green>
+ <blue>0</blue>
+ <alpha>127</alpha>
+ </color>
+ <border>
+ <enable>yes</enable>
+ <color>
+ <red>0</red>
+ <green>0</green>
+ <blue>0</blue>
+ <alpha>255</alpha>
+ </color>
+ </border>
+ <text>
+ <font>
+ <file>FreeSans.ttf</file>
+ <height>10</height>
+ </font>
+ <color>
+ <red>128</red>
+ <green>128</green>
+ <blue>32</blue>
+ <alpha>255</alpha>
+ </color>
+ </text>
+ </textbox>
+ <autoverboseonerror>no</autoverboseonerror>
+ <fadein>no</fadein>
+ <fadeout>no</fadeout>
+</splashy>