File splashy-0.3.13-fix-theme-path.patch of Package splashy
Index: splashy-0.3.13/doc/config.xml.in
===================================================================
--- splashy-0.3.13.orig/doc/config.xml.in
+++ splashy-0.3.13/doc/config.xml.in
@@ -2,10 +2,10 @@
<!-- Automatically generated by splashy_config. Do not edit -->
<splashy>
<!-- themes directory: conventional path @datarootdir@/splashy/themes -->
- <themes>@datarootdir@/splashy/themes</themes>
+ <themes>/usr/share/splashy/themes</themes>
<!-- current theme could be relative the themes defined above or full path -->
<current_theme>default</current_theme>
<!-- full path to theme to fall back in case of problems. DO NOT CHANGE -->
- <default_theme>@datarootdir@/splashy/themes/default</default_theme>
+ <default_theme>/usr/share/splashy/themes/default</default_theme>
<pid>/etc/splashy/splashy.pid</pid>
</splashy>
Index: splashy-0.3.13/src/xml_format.h.in
===================================================================
--- splashy-0.3.13.orig/src/xml_format.h.in
+++ splashy-0.3.13/src/xml_format.h.in
@@ -23,12 +23,12 @@
#define CONFIG_XML_FORMAT "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
<!-- Automatically generated by splashy_config. Do not edit -->\n\
<splashy>\n\
- <!-- themes directory: conventional path @datarootdir@/splashy/themes -->\n\
+ <!-- themes directory: conventional path /usr/share/splashy/themes -->\n\
<themes>%s</themes>\n\
<!-- current theme could be relative the themes defined above or full path -->\n\
<current_theme>%s</current_theme>\n\
<!-- full path to theme to fall back in case of problems. DO NOT CHANGE -->\n\
- <default_theme>@datarootdir@/splashy/themes/default</default_theme>\n\
+ <default_theme>/usr/share/splashy/themes/default</default_theme>\n\
<pid>%s</pid>\n\
</splashy>\n"