summaryrefslogtreecommitdiff
path: root/scp2
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2010-12-09 13:17:41 +0100
committerMichael Meeks <michael.meeks@novell.com>2010-12-09 15:55:47 +0000
commit51f3f391a455180a50723e052c20304e535d2963 (patch)
tree660481871736b41f1ab72b9c6285fdf8c38efc79 /scp2
parent81ecad8d9a96fd1fa366eb3f82d1d9763a2a84d8 (diff)
v3 of the configure.in/scp2 patch to allow selecting themes
DOH, here comes v3, I left a debug output in configure.in in v2, otherwise no change. Sorry Sebastian >From 6c379488250f5a3349dfc2d805f70a0f084fe07d Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth <Sebastian@SSpaeth.de> Date: Thu, 9 Dec 2010 12:23:55 +0100 Subject: [PATCHv3] Introduce an --enable-theme="theme1 theme2..." option By default, we include all defaults as before, but if given, we can limit the number of included themes with e.g. --enable-theme="oxygen tango". This is passed through set_soenv and sets the environment variable ENABLE_THEMES="...." which can be used by the packimages makefile in the postprocess repository. It also adds defines in the form of THEME_OXYGEN that are being used in the scp2 module to decide if we should install the theme file or not. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'scp2')
-rw-r--r--scp2/source/ooo/file_ooo.scp8
1 files changed, 8 insertions, 0 deletions
diff --git a/scp2/source/ooo/file_ooo.scp b/scp2/source/ooo/file_ooo.scp
index 002eef4953e5..efdcdea99750 100644
--- a/scp2/source/ooo/file_ooo.scp
+++ b/scp2/source/ooo/file_ooo.scp
@@ -1849,33 +1849,41 @@ File gid_File_Images_Zip
Styles = (PACKED);
End
+#ifdef THEME_CRYSTAL
File gid_File_ImagesCrystal_Zip
TXT_FILE_BODY;
Dir = gid_Dir_Share_Config;
Name = "images_crystal.zip";
Styles = (PACKED);
End
+#endif
+#ifdef THEME_OXYGEN
File gid_File_ImagesOxygen_Zip
TXT_FILE_BODY;
Dir = gid_Dir_Share_Config;
Name = "images_oxygen.zip";
Styles = (PACKED);
End
+#endif
+#ifdef THEME_HICONTRAST
File gid_File_ImagesHicontrast_Zip
TXT_FILE_BODY;
Dir = gid_Dir_Share_Config;
Name = "images_hicontrast.zip";
Styles = (PACKED);
End
+#endif
+#ifdef THEME_TANGO
File gid_File_ImagesTango_Zip
TXT_FILE_BODY;
Dir = gid_Dir_Share_Config;
Name = "images_tango.zip";
Styles = (PACKED);
End
+#endif
File gid_File_ImagesClassic8_Zip
TXT_FILE_BODY;