[Libreoffice-commits] .: configure.in postprocess/prj scp2/source

Miklos Vajna vmiklos at kemper.freedesktop.org
Thu Aug 11 15:18:23 PDT 2011


 configure.in                         |   18 +++++++++++++++++-
 postprocess/prj/build.lst            |    2 +-
 scp2/source/base/file_base.scp       |    2 ++
 scp2/source/calc/file_calc.scp       |    2 ++
 scp2/source/draw/file_draw.scp       |    2 ++
 scp2/source/impress/file_impress.scp |    2 ++
 scp2/source/math/file_math.scp       |    2 ++
 scp2/source/ooo/file_ooo.scp         |    2 ++
 scp2/source/writer/file_writer.scp   |    2 ++
 9 files changed, 32 insertions(+), 2 deletions(-)

New commits:
commit 44cc719a462ca76a691b64ac286503186f8ec9ed
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Thu Aug 11 18:36:53 2011 +0200

    Make the help repo optional

diff --git a/configure.in b/configure.in
index 0b44e89..81cb9a8 100755
--- a/configure.in
+++ b/configure.in
@@ -1019,6 +1019,12 @@ AC_ARG_WITH(gxx_include_path,
     ],
 ,)
 
+AC_ARG_WITH(help,
+    AS_HELP_STRING([--with-help],
+        [Enable the build of help.
+
+         To build without help, use --without-help.]))
+
 AC_ARG_WITH(java,
     AS_HELP_STRING([--with-java],
         [Specify the name of the Java interpreter command. Typically "java"
@@ -1368,7 +1374,7 @@ AC_ARG_WITH(macosx-version-max-allowed,
 
 BUILD_TYPE="LibO"
 SCPDEFS=""
-GIT_REPO_NAMES="help"
+GIT_REPO_NAMES=""
 
 echo "********************************************************************"
 echo "*"
@@ -2283,6 +2289,16 @@ else
 fi
 AC_SUBST(WITH_BINFILTER)
 
+AC_MSG_CHECKING([whether to build help])
+if test "$with_help" != "no" -a $_os != iOS -a $_os != Android; then
+    AC_MSG_RESULT([yes])
+    BUILD_TYPE="$BUILD_TYPE HELP"
+    SCPDEFS="$SCPDEFS -DWITH_HELP"
+    GIT_REPO_NAMES="$GIT_REPO_NAMES help"
+else
+    AC_MSG_RESULT([no])
+fi
+
 dnl Enable ugly pieces of code we're better off without
 dnl ===================================================================
 if test "$enable_ugly" = "yes"; then
diff --git a/postprocess/prj/build.lst b/postprocess/prj/build.lst
index 05b7f32..77c56cd 100644
--- a/postprocess/prj/build.lst
+++ b/postprocess/prj/build.lst
@@ -1,4 +1,4 @@
-po      postprocess     ::      accessibility DESKTOP:automation basctl bean BINFILTER:binfilter configmgr CRASHREP:crashrep CT2N:ct2n DESKTOP:desktop dtrans embeddedobj embedserv EPM:epm eventattacher DESKTOP:extensions extras filter fpicker DESKTOP:helpcontent2 io LIBRSVG:librsvg lingucomponent lotuswordpro MATHMLDTD:MathMLDTD ODK:odk officecfg package psprint_config remotebridges scaddins sccomp scp2 scripting DESKTOP:setup_native sysui testtools ucb UnoControls ure wizards xmerge xmlsecurity MORE_FONTS:more_fonts DICTIONARIES:dictionaries PYUNO:pyuno readlicense_oo DESKTOP:unodevtools JFREEREPORT:jfreereport REPORTBUILDER:reportbuilder LANGUAGETOOL:languagetool SDEXT:sdext SWEXT:swext oox MYSQLC:mysqlc NLPSOLVER:nlpsolver STLPORT:stlport LIBXSLT:libxslt tail_build NULL
+po      postprocess     ::      accessibility DESKTOP:automation basctl bean BINFILTER:binfilter configmgr CRASHREP:crashrep CT2N:ct2n DESKTOP:desktop dtrans embeddedobj embedserv EPM:epm eventattacher DESKTOP:extensions extras filter fpicker HELP:helpcontent2 io LIBRSVG:librsvg lingucomponent lotuswordpro MATHMLDTD:MathMLDTD ODK:odk officecfg package psprint_config remotebridges scaddins sccomp scp2 scripting DESKTOP:setup_native sysui testtools ucb UnoControls ure wizards xmerge xmlsecurity MORE_FONTS:more_fonts DICTIONARIES:dictionaries PYUNO:pyuno readlicense_oo DESKTOP:unodevtools JFREEREPORT:jfreereport REPORTBUILDER:reportbuilder LANGUAGETOOL:languagetool SDEXT:sdext SWEXT:swext oox MYSQLC:mysqlc NLPSOLVER:nlpsolver STLPORT:stlport LIBXSLT:libxslt tail_build NULL
 po	postprocess			    	usr1	-	all	po_mkout NULL
 po	postprocess\checkxml		nmake	-	all	po_checkxml NULL
 po	postprocess\checkdeliver	nmake	-	all	po_checkdlv NULL
diff --git a/scp2/source/base/file_base.scp b/scp2/source/base/file_base.scp
index 4da10dd..dbab1f4 100644
--- a/scp2/source/base/file_base.scp
+++ b/scp2/source/base/file_base.scp
@@ -72,12 +72,14 @@ STD_RES_FILE( gid_File_Res_Rptui, rptui)
 
 STD_LIB_FILE( gid_File_Lib_Rptxml, rptxml )
 
+#if defined WITH_HELP
 File gid_File_Help_Sdatabase_Zip
     Dir = gid_Dir_Help_Isolanguage;
     ARCHIVE_TXT_FILE_BODY_HELPPACK;
     EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG(sdatabase);
     Patchfiles = (); 
 End
+#endif
 
 File gid_File_Share_Registry_Base_Xcd
     TXT_FILE_BODY;
diff --git a/scp2/source/calc/file_calc.scp b/scp2/source/calc/file_calc.scp
index b1fd14b..a2f1fdb 100644
--- a/scp2/source/calc/file_calc.scp
+++ b/scp2/source/calc/file_calc.scp
@@ -65,12 +65,14 @@ STD_RES_FILE( gid_File_Res_Date, date)
 
 STD_RES_FILE( gid_File_Res_Sc, sc )
 
+#if defined WITH_HELP
 File gid_File_Help_Scalc_Zip
     Dir = gid_Dir_Help_Isolanguage;
     ARCHIVE_TXT_FILE_BODY_HELPPACK;
     EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG(scalc);
     Patchfiles = ();
 End
+#endif
 
 // new user interface configuration files
 /*
diff --git a/scp2/source/draw/file_draw.scp b/scp2/source/draw/file_draw.scp
index ed5aa45..975b600 100644
--- a/scp2/source/draw/file_draw.scp
+++ b/scp2/source/draw/file_draw.scp
@@ -34,12 +34,14 @@ File gid_File_Share_Registry_Draw_Xcd
     Name = "draw.xcd";
 End
 
+#if defined WITH_HELP
 File gid_File_Help_Sdraw_Zip
     Dir = gid_Dir_Help_Isolanguage;
     ARCHIVE_TXT_FILE_BODY_HELPPACK;
     EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG(sdraw);
     Patchfiles = (); 
 End
+#endif
 
 File gid_File_Exe_Sdraw
     BIN_FILE_BODY;
diff --git a/scp2/source/impress/file_impress.scp b/scp2/source/impress/file_impress.scp
index 1e75942..074a479 100644
--- a/scp2/source/impress/file_impress.scp
+++ b/scp2/source/impress/file_impress.scp
@@ -44,12 +44,14 @@ File gid_File_Share_Registry_Impress_Xcd
     Name = "impress.xcd";
 End
 
+#if defined WITH_HELP
 File gid_File_Help_Simpress_Zip
     Dir = gid_Dir_Help_Isolanguage;
     ARCHIVE_TXT_FILE_BODY_HELPPACK;
     EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG(simpress);
     Patchfiles = (); 
 End
+#endif
 
 File gid_File_Exe_Simpress
     BIN_FILE_BODY;
diff --git a/scp2/source/math/file_math.scp b/scp2/source/math/file_math.scp
index c554296..8265088 100644
--- a/scp2/source/math/file_math.scp
+++ b/scp2/source/math/file_math.scp
@@ -50,12 +50,14 @@ File gid_File_Share_Registry_Math_Xcd
     Name = "math.xcd";
 End
 
+#if defined WITH_HELP
 File gid_File_Help_Smath_Zip
     Dir = gid_Dir_Help_Isolanguage;
     ARCHIVE_TXT_FILE_BODY_HELPPACK;
     EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG(smath);
     Patchfiles = ();
 End
+#endif
 
 File gid_File_Exe_Smath
     BIN_FILE_BODY;
diff --git a/scp2/source/ooo/file_ooo.scp b/scp2/source/ooo/file_ooo.scp
index fb85ddf..d48bba1 100644
--- a/scp2/source/ooo/file_ooo.scp
+++ b/scp2/source/ooo/file_ooo.scp
@@ -351,6 +351,7 @@ STD_FILTER_FILE( gid_File_Filter_Iti, iti)
 
 STD_RES_FILE( gid_File_Res_Eps, eps )
 
+#if defined WITH_HELP
 File gid_File_Help_Common_Zip
     Dir = gid_Dir_Help_Isolanguage;
     ARCHIVE_TXT_FILE_BODY_HELPPACK;
@@ -376,6 +377,7 @@ File gid_File_Help_Schart_Zip
     ARCHIVE_TXT_FILE_BODY_HELPPACK;
     EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG(schart);
 End
+#endif
 
 #if defined WNT
 
diff --git a/scp2/source/writer/file_writer.scp b/scp2/source/writer/file_writer.scp
index ea65024..a1ae5ca 100644
--- a/scp2/source/writer/file_writer.scp
+++ b/scp2/source/writer/file_writer.scp
@@ -53,12 +53,14 @@ File gid_File_Exe_Sweb
 End
 #endif
 
+#if defined WITH_HELP
 File gid_File_Help_Swriter_Zip
     Dir = gid_Dir_Help_Isolanguage;
     ARCHIVE_TXT_FILE_BODY_HELPPACK;
     EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG(swriter);
     Patchfiles = ();
 End
+#endif
 
 /*
 File gid_File_Share_Config_Sofficecfg_Writer_Menubar_Xml


More information about the Libreoffice-commits mailing list