[Libreoffice-commits] .: scp2/source setup_native/source

Fridrich Strba fridrich at kemper.freedesktop.org
Wed Feb 22 01:12:55 PST 2012


 scp2/source/ooo/makefile.mk                   |    1 
 scp2/source/ooo/stdlib.scp                    |   59 ++++++++++++++++++++++++++
 scp2/source/ooo/ure.scp                       |   30 -------------
 setup_native/source/packinfo/packinfo_ure.txt |   12 +++++
 4 files changed, 72 insertions(+), 30 deletions(-)

New commits:
commit 91f255df4e526bc9045793b52005339eb5aba39f
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Wed Feb 22 10:12:42 2012 +0100

    Separate stdlib package (work in progress)

diff --git a/scp2/source/ooo/makefile.mk b/scp2/source/ooo/makefile.mk
index 244cf55..08ba316 100644
--- a/scp2/source/ooo/makefile.mk
+++ b/scp2/source/ooo/makefile.mk
@@ -328,6 +328,7 @@ PARFILES=                          \
         profile_ooo.par            \
         profileitem_ooo.par        \
         ure.par                    \
+        stdlib.par                 \
         ure_into_ooo.par           \
         ure_standalone.par         \
         common_brand.par           \
diff --git a/scp2/source/ooo/stdlib.scp b/scp2/source/ooo/stdlib.scp
new file mode 100644
index 0000000..700b35b
--- /dev/null
+++ b/scp2/source/ooo/stdlib.scp
@@ -0,0 +1,59 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ * 
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org.  If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#include "macros.inc"
+
+#if defined _gcc3 && !(defined FREEBSD || defined NETBSD || defined OPENBSD \
+	|| defined MACOSX || defined SYSTEM_STDLIBS || defined(WNT) || defined(DRAGONFLY))
+File gid_File_Dl_GccS
+    LIB_FILE_BODY;
+    Dir = SCP2_URE_DL_DIR;
+#ifdef AIX
+    Name = "libgcc_s.a";
+#else
+    Name = SCP2_URE_DL_VER("gcc_s", STRING(SHORTSTDC3));
+#endif
+    Styles = (PACKED, VERSION_INDEPENDENT_COMP_ID);
+    // CompID = "C601D04B-2194-4F1B-BB09-7B4930D6E1DB";
+End
+#endif
+
+#if defined _gcc3 && !(defined FREEBSD || defined NETBSD || defined OPENBSD \
+	|| defined MACOSX || defined SYSTEM_STDLIBS || defined(WNT) || defined(DRAGONFLY))
+File gid_File_Dl_Stdcpp
+    Dir = SCP2_URE_DL_DIR;
+    LIB_FILE_BODY;
+#ifdef AIX
+    Name = "libstdc++.a";
+#else
+    Name = SCP2_URE_DL_VER("stdc++", STRING(SHORTSTDCPP3));
+#endif
+    Styles = (PACKED, VERSION_INDEPENDENT_COMP_ID);
+    // CompID = "89740D6A-38EE-41AF-A6A2-A8F7ABBE4996";
+End
+#endif
+
diff --git a/scp2/source/ooo/ure.scp b/scp2/source/ooo/ure.scp
index 3667ed4..6993a79 100644
--- a/scp2/source/ooo/ure.scp
+++ b/scp2/source/ooo/ure.scp
@@ -880,36 +880,6 @@ File gid_File_Dl_Stlport
 End
 #endif
 
-#if defined _gcc3 && !(defined FREEBSD || defined NETBSD || defined OPENBSD \
-	|| defined MACOSX || defined SYSTEM_STDLIBS || defined(WNT) || defined(DRAGONFLY))
-File gid_File_Dl_GccS
-    LIB_FILE_BODY;
-    Dir = SCP2_URE_DL_DIR;
-#ifdef AIX
-    Name = "libgcc_s.a";
-#else
-    Name = SCP2_URE_DL_VER("gcc_s", STRING(SHORTSTDC3));
-#endif
-    Styles = (PACKED, VERSION_INDEPENDENT_COMP_ID);
-    // CompID = "C601D04B-2194-4F1B-BB09-7B4930D6E1DB";
-End
-#endif
-
-#if defined _gcc3 && !(defined FREEBSD || defined NETBSD || defined OPENBSD \
-	|| defined MACOSX || defined SYSTEM_STDLIBS || defined(WNT) || defined(DRAGONFLY))
-File gid_File_Dl_Stdcpp
-    Dir = SCP2_URE_DL_DIR;
-    LIB_FILE_BODY;
-#ifdef AIX
-    Name = "libstdc++.a";
-#else
-    Name = SCP2_URE_DL_VER("stdc++", STRING(SHORTSTDCPP3));
-#endif
-    Styles = (PACKED, VERSION_INDEPENDENT_COMP_ID);
-    // CompID = "89740D6A-38EE-41AF-A6A2-A8F7ABBE4996";
-End
-#endif
-
 #if defined(WNT) && defined( _gcc3 )
 
 #if defined(MINGW_GCCDLL)
diff --git a/setup_native/source/packinfo/packinfo_ure.txt b/setup_native/source/packinfo/packinfo_ure.txt
index a6c3435..a597d5f 100755
--- a/setup_native/source/packinfo/packinfo_ure.txt
+++ b/setup_native/source/packinfo/packinfo_ure.txt
@@ -50,3 +50,15 @@ description = "UNO Runtime Environment"
 destpath = "/opt"
 packageversion = "%UREPACKAGEVERSION"
 End
+
+Start
+module = "gid_Module_Optional_Stdlib"
+solarispackagename = "%SOLSUREPACKAGEPREFIX%BRANDPACKAGEVERSION-stdlib"
+packagename = "%UREPACKAGEPREFIX%BRANDPACKAGEVERSION-stdlib"
+copyright = "2012 by LibreOffice"
+solariscopyright = "solariscopyrightfile"
+vendor = "The Document Foundation"
+description = "UNO Runtime Environment"
+destpath = "/opt"
+packageversion = "%UREPACKAGEVERSION"
+End


More information about the Libreoffice-commits mailing list