3c4cdd397e
2006/01/07 22:17:48 jbu 1.10.26.2: RESYNC: (1.10-1.13); FILE MERGED 2006/01/07 20:03:01 jbu 1.10.26.1: #i54532# added officehelper.py (provided by Christian Junker)
192 lines
4.6 KiB
Text
192 lines
4.6 KiB
Text
/*************************************************************************
|
|
*
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
|
*
|
|
* $RCSfile: file_python.scp,v $
|
|
*
|
|
* $Revision: 1.16 $
|
|
*
|
|
* last change: $Author: obo $ $Date: 2006-03-22 10:56:59 $
|
|
*
|
|
* The Contents of this file are made available subject to
|
|
* the terms of GNU Lesser General Public License Version 2.1.
|
|
*
|
|
*
|
|
* GNU Lesser General Public License Version 2.1
|
|
* =============================================
|
|
* Copyright 2005 by Sun Microsystems, Inc.
|
|
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License version 2.1, as published by the Free Software Foundation.
|
|
*
|
|
* This library 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 for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
* MA 02111-1307 USA
|
|
*
|
|
************************************************************************/
|
|
|
|
#include "macros.inc"
|
|
|
|
File gid_File_Lib_Pyuno
|
|
TXT_FILE_BODY;
|
|
#ifdef UNX
|
|
Name = STRING(CONCAT2(libpyuno,UNXSUFFIX));
|
|
#else
|
|
Name = "pyuno.dll";
|
|
#endif
|
|
Dir = gid_Dir_Program;
|
|
Styles = (PACKED);
|
|
End
|
|
|
|
File gid_File_Lib_Pythonloader
|
|
TXT_FILE_BODY;
|
|
Dir = gid_Dir_Program;
|
|
#ifdef UNX
|
|
Name = STRING(CONCAT2(pythonloader.uno,UNXSUFFIX));
|
|
#else
|
|
Name = "pythonloader.uno.dll";
|
|
#endif
|
|
RegistryID = gid_Starregistry_Services_Rdb;
|
|
Styles = (PACKED,UNO_COMPONENT);
|
|
End
|
|
|
|
File gid_File_Py_Unohelper
|
|
TXT_FILE_BODY;
|
|
Dir = gid_Dir_Program;
|
|
Name = "unohelper.py";
|
|
Styles = (PACKED);
|
|
End
|
|
|
|
File gid_File_Py_Officehelper
|
|
TXT_FILE_BODY;
|
|
Dir = gid_Dir_Program;
|
|
Name = "officehelper.py";
|
|
Styles = (PACKED);
|
|
End
|
|
|
|
File gid_File_Py_Uno
|
|
TXT_FILE_BODY;
|
|
Dir = gid_Dir_Program;
|
|
Name = "uno.py";
|
|
Styles = (PACKED);
|
|
End
|
|
|
|
File gid_File_Py_Pythonloader
|
|
TXT_FILE_BODY;
|
|
Dir = gid_Dir_Program;
|
|
Name = "pythonloader.py";
|
|
Styles = (PACKED);
|
|
End
|
|
|
|
#ifndef SYSTEM_PYTHON
|
|
File gid_File_Py_Python_Core
|
|
TXT_FILE_BODY;
|
|
Dir = gid_Dir_Program;
|
|
Name = STRING(CONCAT3(python-core-,PYVERSION,.zip));
|
|
Styles = (ARCHIVE);
|
|
End
|
|
|
|
#ifdef UNX
|
|
File gid_File_Py_Python_Bin
|
|
BIN_FILE_BODY;
|
|
Dir = gid_Dir_Program;
|
|
Name = "python.bin";
|
|
Styles = (PACKED);
|
|
End
|
|
#endif
|
|
#endif
|
|
|
|
File gid_File_Pymailmerge
|
|
TXT_FILE_BODY;
|
|
Dir = gid_Dir_Program;
|
|
Name = "mailmerge.py";
|
|
RegistryID = gid_Starregistry_Services_Rdb;
|
|
Styles = (PACKED,UNO_COMPONENT);
|
|
End
|
|
|
|
File gid_File_Registry_Spool_Oo_Office_Writer_PyMailMerge_Xcu
|
|
TXT_FILE_BODY;
|
|
Dir = gid_Dir_Share_Registry_Modules_Oo_Office_Writer;
|
|
Name = "/registry/spool/org/openoffice/Office/Writer-javamail.xcu";
|
|
Styles = (PACKED,SCPZIP_REPLACE);
|
|
End
|
|
|
|
// substitute for the python Windows basic scripts
|
|
|
|
#ifdef WNT
|
|
|
|
File gid_File_Pythonmsi_Dll
|
|
TXT_FILE_BODY;
|
|
Dir = gid_Dir_Program;
|
|
Name = "pythonmsi.dll";
|
|
Styles = (PACKED, BINARYTABLE, BINARYTABLE_ONLY);
|
|
End
|
|
|
|
#endif
|
|
|
|
// Scripting Framework Python script proxy
|
|
|
|
File gid_File_Py_Pythonscript
|
|
TXT_FILE_BODY;
|
|
Dir = gid_Dir_Program;
|
|
Name = "pythonscript.py";
|
|
RegistryID = gid_Starregistry_Services_Rdb;
|
|
Styles = (PACKED,UNO_COMPONENT);
|
|
End
|
|
|
|
//Scripting Framework Python example scripts
|
|
|
|
File gid_File_Scripts_Python
|
|
TXT_FILE_BODY;
|
|
Styles = (ARCHIVE);
|
|
Dir = gid_Dir_Share_Scripts;
|
|
Name = "ScriptsPython.zip";
|
|
End
|
|
|
|
// Scripting Framework Python configuration settings
|
|
|
|
File gid_File_Registry_Spool_Oo_Scripting_Python_Xcu
|
|
TXT_FILE_BODY;
|
|
Styles = (PACKED);
|
|
Dir = gid_Dir_Share_Registry_Modules_Oo_Office_Scripting;
|
|
Name = "/registry/spool/org/openoffice/Office/Scripting-python.xcu";
|
|
End
|
|
|
|
#ifndef SYSTEM_PYTHON
|
|
File gid_File_Lib_Python_So
|
|
TXT_FILE_BODY;
|
|
Dir = gid_Dir_Program;
|
|
Name = STRING(PY_FULL_DLL_NAME);
|
|
Styles = (PACKED);
|
|
End
|
|
#endif
|
|
|
|
#ifdef UNX
|
|
|
|
// pyuno.so even on Mac OS X, because it is a python module
|
|
File gid_File_Pyuno
|
|
TXT_FILE_BODY;
|
|
Name = "pyuno.so";
|
|
Dir = gid_Dir_Program;
|
|
Styles = (PACKED);
|
|
End
|
|
|
|
#ifndef SYSTEM_PYTHON
|
|
File gid_File_Python_Sh
|
|
BIN_FILE_BODY;
|
|
Name = "python.sh";
|
|
Dir = gid_Dir_Program;
|
|
Styles = (PACKED);
|
|
End
|
|
#endif
|
|
|
|
#endif
|
|
|