[Libreoffice-commits] .: Branch 'feature/helppack' - scp2/inc scp2/source
Fridrich Strba
fridrich at kemper.freedesktop.org
Fri Dec 17 03:29:12 PST 2010
scp2/inc/macros.inc | 6 ++++++
scp2/source/base/file_base.scp | 1 -
scp2/source/impress/file_impress.scp | 3 +--
scp2/source/ooo/directory_ooo.scp | 4 ++++
scp2/source/templates/module_helppack.sct | 6 +++++-
5 files changed, 16 insertions(+), 4 deletions(-)
New commits:
commit 306df0d2c5852b0642d3aa7d5cd2c08b84e9e1f4
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date: Fri Dec 17 12:28:41 2010 +0100
Trying to conditionalize scp2 for helppack integration
diff --git a/scp2/inc/macros.inc b/scp2/inc/macros.inc
index 4344662..3fa2f8b 100644
--- a/scp2/inc/macros.inc
+++ b/scp2/inc/macros.inc
@@ -116,9 +116,15 @@
TXT_FILE_BODY; \
Styles = (ARCHIVE,PATCH)
+#ifdef WITH_HELPPACK_INTEGRATION
+#define ARCHIVE_TXT_FILE_BODY_HELPPACK \
+ TXT_FILE_BODY; \
+ Styles = (ARCHIVE,FORCEHELPPACK,LANGUAGEMODULE)
+#else
#define ARCHIVE_TXT_FILE_BODY_HELPPACK \
TXT_FILE_BODY; \
Styles = (ARCHIVE,HELPPACK,LANGUAGEMODULE)
+#endif
#define ARCHIVE_SUBST_FILE_BODY \
TXT_FILE_BODY; \
diff --git a/scp2/source/base/file_base.scp b/scp2/source/base/file_base.scp
index 14b9592..7a9fae3 100644
--- a/scp2/source/base/file_base.scp
+++ b/scp2/source/base/file_base.scp
@@ -77,7 +77,6 @@ File gid_File_Help_Sdatabase_Zip
ARCHIVE_TXT_FILE_BODY_HELPPACK;
EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG(sdatabase);
Patchfiles = ();
- Styles = (ACRHIVE,HELPPACK);
End
File gid_File_Share_Registry_Base_Xcd
diff --git a/scp2/source/impress/file_impress.scp b/scp2/source/impress/file_impress.scp
index 7793370..cda4495 100644
--- a/scp2/source/impress/file_impress.scp
+++ b/scp2/source/impress/file_impress.scp
@@ -46,8 +46,7 @@ End
File gid_File_Help_Simpress_Zip
Dir = gid_Dir_Help_Isolanguage;
- TXT_FILE_BODY;
- Styles = (ARCHIVE,DONT_OVERWRITE,HELPPACK);
+ ARCHIVE_TXT_FILE_BODY_HELPPACK;
EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG(simpress);
Patchfiles = ();
End
diff --git a/scp2/source/ooo/directory_ooo.scp b/scp2/source/ooo/directory_ooo.scp
index 941c70c..0e40367 100644
--- a/scp2/source/ooo/directory_ooo.scp
+++ b/scp2/source/ooo/directory_ooo.scp
@@ -1237,7 +1237,11 @@ End
Directory gid_Dir_Help_Isolanguage
ParentID = gid_Dir_Help;
DIR_ISOLANGUAGE_ALL_LANG;
+#ifdef WITH_HELPPACK_INTEGRATION
+ Styles = (FORCEHELPPACK);
+#else
Styles = (HELPPACK);
+#endif
End
#ifdef UNX
diff --git a/scp2/source/templates/module_helppack.sct b/scp2/source/templates/module_helppack.sct
index 32b4a7a..ac8779a 100644
--- a/scp2/source/templates/module_helppack.sct
+++ b/scp2/source/templates/module_helppack.sct
@@ -30,5 +30,9 @@ Module gid_Module_Helppack_Root_<LANGUAGE_>
Sortkey = "<SORTKEY>";
Language = "<LANGUAGE>";
MOD_NAME_DESC(MODULE_HELPPACK_<LANGUAGEBIG_>);
- Styles =(HELPPACK, SHOW_MULTILINGUAL_ONLY, USELANGUAGENAME, LANGUAGEMODULE);
+#ifdef WITH_HELPPACK_INTEGRATION
+ Styles =(FORCEHELPPACK, SHOW_MULTILINGUAL_ONLY, USELANGUAGENAME, LANGUAGEMODULE);
+#ifdef WITH_HELPPACK_INTEGRATION
+ Styles =(HELPPACK, HIDDEN_ROOT, USELANGUAGENAME, LANGUAGEMODULE);
+#endif
End
More information about the Libreoffice-commits
mailing list