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

Kalman "" Szalai kami911 at kemper.freedesktop.org
Sat Oct 30 11:00:49 PDT 2010


 configure.in                                    |   17 +++++++++++++++++
 scp2/source/extensions/directory_extensions.scp |   15 +++++++++++++--
 scp2/source/extensions/file_extensions.scp      |   17 +++++++++++++++--
 scp2/source/extensions/module_extensions.scp    |   21 +++++++++++++++++++--
 scp2/source/extensions/module_extensions.ulf    |   10 ++++++++--
 5 files changed, 72 insertions(+), 8 deletions(-)

New commits:
commit e1a6dd9c464a4dfc1f95618acf6d85e059c5d773
Author: Kalman Szalai - KAMI <kami911 at gmail.com>
Date:   Sat Oct 30 19:57:14 2010 +0200

    Adding Diagram extension
    
    Diagram is an OpenOffice.org Draw and Impress extension that creates your favorite diagrams with few clicks.
    http://wiki.services.openoffice.org/wiki/Diagram_Extension

diff --git a/configure.in b/configure.in
index 9b6872f..29dd71d 100644
--- a/configure.in
+++ b/configure.in
@@ -897,6 +897,11 @@ AC_ARG_WITH(watch-window,
   --with-watch-window      Integrate Watch Window extension to Calc],
 ,)
 
+AC_ARG_WITH(diagram,
+[
+  --with-diagram      Integrate Diagram extension],
+,)
+
 AC_ARG_WITH(google-docs,
 [
   --with-google-docs      Download and integrate Google Documents extension.],
@@ -6814,6 +6819,18 @@ fi
 AC_SUBST(WITH_WATCH_WINDOW_EXTENSION)
 
 dnl ===================================================================
+dnl Test whether to include Diagram extension
+dnl ===================================================================
+AC_MSG_CHECKING([for Diagram extension integration])
+if test "z$with_diagram" = "z" -o "z$with_diagram" = "zno" ; then
+  AC_MSG_RESULT([no])
+else
+  AC_MSG_RESULT([yes])
+  SCPDEFS="$SCPDEFS -DWITH_EXTENSION_DIAGRAM"
+fi
+AC_SUBST(WITH_DIAGRAM_EXTENSION)
+
+dnl ===================================================================
 dnl Test whether to include ConvertTextToNumber extension
 dnl ===================================================================
 AC_MSG_CHECKING([for ConvertTextToNumber extension integration])
diff --git a/scp2/source/extensions/directory_extensions.scp b/scp2/source/extensions/directory_extensions.scp
index abcf3b8..1dc5090 100644
--- a/scp2/source/extensions/directory_extensions.scp
+++ b/scp2/source/extensions/directory_extensions.scp
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: directory_extensions.scp,v $
  *
- *  $Revision: 1.0 $
+ *  $Revision: 1.1 $
  *
- *  last change: $Author: KAMI $ $Date: 2010/08/12 21:29:17 $
+ *  last change: $Author: KAMI $ $Date: 2010/10/30 19:40:10 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 3.
@@ -154,6 +154,17 @@ End
 
 #endif
 
+/* ** Diagram ** */
+
+#ifdef WITH_EXTENSION_DIAGRAM
+
+Directory gid_Brand_Dir_Share_Extensions_Diagram
+	ParentID = gid_Brand_Dir_Share_Extensions;
+	DosName = "Diagram";
+End
+
+#endif
+
 /* ** Google Docs ** */
 
 #ifdef WITH_EXTENSION_GOOGLE_DOCS
diff --git a/scp2/source/extensions/file_extensions.scp b/scp2/source/extensions/file_extensions.scp
index 7128b2b..8a8c61d 100644
--- a/scp2/source/extensions/file_extensions.scp
+++ b/scp2/source/extensions/file_extensions.scp
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: file_extensions.scp,v $
  *
- *  $Revision: 1.2 $
+ *  $Revision: 1.3 $
  *
- *  last change: $Author: KAMI $ $Date: 2010/08/010 23:58:39 $
+ *  last change: $Author: KAMI $ $Date: 2010/10/30 19:40:10 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 3.
@@ -181,6 +181,19 @@ End
 
 #endif
 
+/* ** Diagram ** */
+
+#ifdef WITH_EXTENSION_DIAGRAM
+
+File gid_File_Oxt_Diagram
+    TXT_FILE_BODY;
+    Styles = (PACKED, ARCHIVE);
+    Dir = gid_Brand_Dir_Share_Extensions_Diagram;
+    Name = "Diagram.oxt";
+End
+
+#endif
+
 /* ** Google Docs ** */
 
 #ifdef WITH_EXTENSION_GOOGLE_DOCS
diff --git a/scp2/source/extensions/module_extensions.scp b/scp2/source/extensions/module_extensions.scp
index 557ad3d..d8b68f5 100644
--- a/scp2/source/extensions/module_extensions.scp
+++ b/scp2/source/extensions/module_extensions.scp
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: module_accessories.scp,v $
  *
- *  $Revision: 1.0 $
+ *  $Revision: 1.1 $
  *
- *  last change: $Author: KAMI $ $Date: 2006/02/18 14:50:39 $
+ *  last change: $Author: KAMI $ $Date: 2010/10/30 19:40:10 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 3.
@@ -228,6 +228,23 @@ End
 #endif
 #endif
 
+/* ** Diagram ** */
+
+#ifdef WITH_EXTENSION_DIAGRAM
+#ifdef WITH_EXTENSION_INTEGRATION
+Module gid_Module_Optional_Extensions_Diagram
+    PackageInfo = "packinfo_extensions.txt";
+    MOD_NAME_DESC(MODULE_OPTIONAL_EXTENSIONS_DIAGRAM);
+    ParentID = gid_Module_Optional_Extensions;
+    Files = (
+        gid_File_Oxt_Diagram );
+    Minimal = NO;
+    Default = YES;
+    Styles = ( );
+End
+#endif
+#endif
+
 /* ** Google Docs ** */
 
 #ifdef WITH_EXTENSION_GOOGLE_DOCS
diff --git a/scp2/source/extensions/module_extensions.ulf b/scp2/source/extensions/module_extensions.ulf
index 971c1a7..b77751a 100644
--- a/scp2/source/extensions/module_extensions.ulf
+++ b/scp2/source/extensions/module_extensions.ulf
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: module_accessories.ulf,v $
  *
- *  $Revision: 1.0 $
+ *  $Revision: 1.1 $
  *
- *  last change: $Author: KAMI $ $Date: 2006/02/18 14:50:39 $
+ *  last change: $Author: KAMI $ $Date: 2010/10/30 19:40:10 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 3.
@@ -105,6 +105,12 @@ en-US = "Watch Window"
 [STR_DESC_MODULE_OPTIONAL_EXTENSIONS_WATCH_WINDOW]
 en-US = "Watch Window"
 
+[STR_NAME_MODULE_OPTIONAL_EXTENSIONS_DIAGRAM]
+en-US = "Diagram"
+
+[STR_DESC_MODULE_OPTIONAL_EXTENSIONS_DIAGRAM]
+en-US = "Diagram"
+
 [STR_NAME_MODULE_OPTIONAL_EXTENSIONS_GOOGLE_DOCS]
 en-US = "Google Docs & Zoho"
 


More information about the Libreoffice-commits mailing list