summaryrefslogtreecommitdiff
path: root/scp2/source/gnome
diff options
context:
space:
mode:
Diffstat (limited to 'scp2/source/gnome')
-rw-r--r--scp2/source/gnome/file_gnome.scp63
-rw-r--r--scp2/source/gnome/makefile.mk71
-rw-r--r--scp2/source/gnome/module_gnome.scp58
-rw-r--r--scp2/source/gnome/module_gnome.ulf33
4 files changed, 225 insertions, 0 deletions
diff --git a/scp2/source/gnome/file_gnome.scp b/scp2/source/gnome/file_gnome.scp
new file mode 100644
index 000000000000..d48915072742
--- /dev/null
+++ b/scp2/source/gnome/file_gnome.scp
@@ -0,0 +1,63 @@
+/*************************************************************************
+ *
+ * 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"
+
+#ifdef ENABLE_GIO
+File gid_File_Lib_GIO
+ TXT_FILE_BODY;
+ Styles = (PACKED);
+ Dir = SCP2_OOO_BIN_DIR;
+ Name = STRING(CONCAT2(ucpgio1.uno,UNXSUFFIX));
+End
+#endif
+
+#ifdef ENABLE_GNOMEVFS
+File gid_File_Lib_Gnomevfs
+ TXT_FILE_BODY;
+ Styles = (PACKED);
+ Dir = SCP2_OOO_BIN_DIR;
+ Name = STRING(CONCAT2(ucpgvfs1.uno,UNXSUFFIX));
+End
+#endif
+
+#if (defined ENABLE_GNOMEVFS && defined ENABLE_LOCKDOWN) || defined ENABLE_GIO
+File gid_File_Share_Registry_Gnome_Xcd
+ TXT_FILE_BODY;
+ Styles = (PACKED);
+ Dir = gid_Dir_Share_Registry;
+ Name = "gnome.xcd";
+End
+#endif
+
+#ifdef ENABLE_GCONF
+File gid_File_Lib_Gconfbe
+ TXT_FILE_BODY;
+ Styles = (PACKED);
+ Dir = SCP2_OOO_BIN_DIR;
+ Name = STRING(CONCAT2(gconfbe1.uno,UNXSUFFIX));
+End
+#endif
diff --git a/scp2/source/gnome/makefile.mk b/scp2/source/gnome/makefile.mk
new file mode 100644
index 000000000000..185915353a5a
--- /dev/null
+++ b/scp2/source/gnome/makefile.mk
@@ -0,0 +1,71 @@
+#*************************************************************************
+#
+# 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.
+#
+#*************************************************************************
+
+PRJ=..$/..
+
+PRJPCH=
+
+PRJNAME=scp2
+TARGET=gnome
+TARGETTYPE=CUI
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : settings.mk
+
+SCP_PRODUCT_TYPE=osl
+
+.IF "$(ENABLE_GCONF)"!="" || "$(ENABLE_GNOMEVFS)"!="" || "$(ENABLE_GIO)"!=""
+
+.IF "$(ENABLE_GCONF)" != ""
+SCPDEFS+=-DENABLE_GCONF
+.ENDIF
+
+.IF "$(ENABLE_LOCKDOWN)" == "YES"
+SCPDEFS+=-DENABLE_LOCKDOWN
+.ENDIF
+
+.IF "$(ENABLE_GNOMEVFS)" != ""
+SCPDEFS+=-DENABLE_GNOMEVFS
+.ENDIF
+
+.IF "$(ENABLE_GIO)" != ""
+SCPDEFS+=-DENABLE_GIO
+.ENDIF
+
+PARFILES = \
+ module_gnome.par \
+ file_gnome.par
+
+ULFFILES= \
+ module_gnome.ulf
+
+.ENDIF
+
+# --- File ---------------------------------------------------------
+
+.INCLUDE : target.mk
diff --git a/scp2/source/gnome/module_gnome.scp b/scp2/source/gnome/module_gnome.scp
new file mode 100644
index 000000000000..f9df5c8969a1
--- /dev/null
+++ b/scp2/source/gnome/module_gnome.scp
@@ -0,0 +1,58 @@
+/*************************************************************************
+ *
+ * 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"
+
+Module gid_Module_Optional_Gnome
+ ParentID = gid_Module_Optional;
+ Default = YES;
+ PackageInfo = "packinfo_office.txt";
+ MOD_NAME_DESC(MODULE_OPTIONAL_GNOME);
+#ifdef UNX
+ Styles = ();
+#else
+ Styles = (DONTSHOWINUSERINSTALL);
+#endif
+#ifdef ENABLE_GNOMEVFS
+ XpdCheckSolaris = "SUNWgnome-vfs";
+#endif
+ Files = (
+#ifdef ENABLE_GNOMEVFS
+ gid_File_Lib_Gnomevfs, gid_File_Bin_Gnome_Set_Default_Application,
+#endif
+#ifdef ENABLE_GIO
+ gid_File_Lib_GIO,
+#endif
+#ifdef ENABLE_GCONF
+ gid_File_Lib_Gconfbe
+#endif
+#if (defined ENABLE_GNOMEVFS && defined ENABLE_LOCKDOWN) || defined ENABLE_GIO
+ gid_File_Share_Registry_Gnome_Xcd
+#endif
+ );
+End
+
diff --git a/scp2/source/gnome/module_gnome.ulf b/scp2/source/gnome/module_gnome.ulf
new file mode 100644
index 000000000000..e39d1c626cb4
--- /dev/null
+++ b/scp2/source/gnome/module_gnome.ulf
@@ -0,0 +1,33 @@
+/*************************************************************************
+ *
+ * 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.
+ *
+ ************************************************************************/
+
+[STR_NAME_MODULE_OPTIONAL_GNOME]
+en-US = "GNOME Integration"
+
+[STR_DESC_MODULE_OPTIONAL_GNOME]
+en-US = "System integration of %PRODUCTNAME %PRODUCTVERSION into Gnome Desktop Environment."
+