2004-02-05 17:10:37 +00:00
/*************************************************************************
*
2008-04-10 08:48:31 +00:00
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2011-05-07 17:39:13 -07:00
*
2010-02-12 15:01:35 +01:00
* Copyright 2000, 2010 Oracle and/or its affiliates.
2004-02-05 17:10:37 +00:00
*
2008-04-10 08:48:31 +00:00
* OpenOffice.org - a multi-platform office productivity suite
2004-02-05 17:10:37 +00:00
*
2008-04-10 08:48:31 +00:00
* This file is part of OpenOffice.org.
2004-02-05 17:10:37 +00:00
*
2008-04-10 08:48:31 +00:00
* 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.
2004-02-05 17:10:37 +00:00
*
2008-04-10 08:48:31 +00:00
* 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).
2004-02-05 17:10:37 +00:00
*
2008-04-10 08:48:31 +00:00
* 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.
2004-02-05 17:10:37 +00:00
*
************************************************************************/
#include "macros.inc"
2011-03-13 16:07:50 +01:00
#ifndef DISABLE_PYUNO
2013-02-19 15:21:23 +01:00
File gid_File_Py_Pythonscript
TXT_FILE_BODY;
Dir = gid_Brand_Dir_Program;
Name = "pythonscript.py";
Styles = (PACKED);
End
File gid_File_Rdb_Scriptproviderforpython
TXT_FILE_BODY;
Dir = gid_Brand_Dir_Program_Services;
Name = "scriptproviderforpython.rdb";
Styles = (PACKED);
End
2004-02-05 17:10:37 +00:00
File gid_File_Lib_Pyuno
2011-11-30 16:48:22 +01:00
LIB_FILE_BODY;
2004-02-05 17:10:37 +00:00
#ifdef UNX
Name = STRING(CONCAT2(libpyuno,UNXSUFFIX));
2013-04-20 00:51:21 +02:00
#else
#ifdef MSVC_PKG_DEBUG_RUNTIME
Name = "pyuno_d.pyd";
2004-02-05 17:10:37 +00:00
#else
2009-04-22 14:05:37 +00:00
Name = "pyuno.pyd";
2013-04-20 00:51:21 +02:00
#endif // MSVC_PKG_DEBUG_RUNTIME
2004-02-05 17:10:37 +00:00
#endif
2011-10-20 20:44:32 +02:00
Dir = gid_Brand_Dir_Program;
2004-02-05 17:10:37 +00:00
Styles = (PACKED);
End
2013-04-20 17:46:19 -03:00
STD_LIB_FILE( gid_File_Lib_Pythonloader, pythonloader )
2004-02-05 17:10:37 +00:00
File gid_File_Py_Unohelper
TXT_FILE_BODY;
2011-10-20 20:44:32 +02:00
Dir = gid_Brand_Dir_Program;
2013-02-21 20:40:59 -05:00
Name = "pyuno/unohelper.py";
2004-02-05 17:10:37 +00:00
Styles = (PACKED);
End
File gid_File_Py_Uno
TXT_FILE_BODY;
2011-10-20 20:44:32 +02:00
Dir = gid_Brand_Dir_Program;
2013-02-21 20:40:59 -05:00
Name = "pyuno/uno.py";
2004-02-05 17:10:37 +00:00
Styles = (PACKED);
End
File gid_File_Py_Pythonloader
TXT_FILE_BODY;
2011-10-20 20:44:32 +02:00
Dir = gid_Brand_Dir_Program;
2013-02-21 20:40:59 -05:00
Name = "pyuno/pythonloader.py";
2004-02-05 17:10:37 +00:00
Styles = (PACKED);
End
2005-01-25 12:00:46 +00:00
#ifndef SYSTEM_PYTHON
2012-05-27 22:50:41 +02:00
File gid_File_Py_Bin_Python
BIN_FILE_BODY;
Name = EXENAME(pyuno/python);
Dir = gid_Brand_Dir_Program;
Styles = (PACKED);
End
#ifndef MACOSX
Directory gid_Dir_Py_PythonCore
ParentID = gid_Brand_Dir_Program;
HostName = STRING(CONCAT2(python-core-,PYVERSION));
End
Directory gid_Dir_Py_PythonCore_Lib
ParentID = gid_Dir_Py_PythonCore;
HostName = "lib";
End
#endif
2004-02-05 17:10:37 +00:00
File gid_File_Py_Python_Core
2013-04-21 14:34:50 +02:00
//FIXME the binaries and libs in the package need x bit but USE_INTERNAL_RIGHTS does not work so set BIN_FILE_BODY here as a temporary hack which makes everything executable
BIN_FILE_BODY;
Dir = FILELIST_DIR;
Name = "python3.filelist";
Styles = (FILELIST,USE_INTERNAL_RIGHTS);
2004-02-05 17:10:37 +00:00
End
2005-11-11 08:54:51 +00:00
2012-05-27 22:50:41 +02:00
#ifdef WNT
Directory gid_Dir_Py_PythonCore_Bin
ParentID = gid_Dir_Py_PythonCore;
HostName = "bin";
End
#endif
2013-04-21 14:34:50 +02:00
#endif // SYSTEM_PYTHON
2004-02-05 17:10:37 +00:00
2004-02-10 16:46:31 +00:00
//Scripting Framework Python example scripts
File gid_File_Scripts_Python
2013-04-19 00:15:12 +02:00
Dir = FILELIST_DIR;
2011-05-07 17:39:13 -07:00
TXT_FILE_BODY;
2013-04-19 00:15:12 +02:00
Styles = (FILELIST);
Name = "scripting_ScriptsPython.filelist";
2004-02-10 16:46:31 +00:00
End
2004-07-05 12:19:01 +00:00
// Scripting Framework Python configuration settings
2009-08-04 10:36:31 +02:00
File gid_File_Share_Registry_Pyuno_Xcd
2004-07-05 12:19:01 +00:00
TXT_FILE_BODY;
Styles = (PACKED);
2011-10-07 21:12:30 +02:00
Dir = gid_Brand_Dir_Share_Registry;
2009-08-04 10:36:31 +02:00
Name = "pyuno.xcd";
2004-07-05 12:19:01 +00:00
End
2005-01-25 12:00:46 +00:00
#ifndef SYSTEM_PYTHON
2013-04-21 14:34:50 +02:00
#ifdef MACOSX
2010-06-04 11:05:31 +02:00
//directory entries solely to be able to create the symlinks
Directory gid_Dir_PythonFramework
2011-10-20 20:44:32 +02:00
ParentID = gid_Brand_Dir_Program;
2012-11-17 00:35:35 +01:00
HostName = "LibreOfficePython.framework";
2010-06-04 11:05:31 +02:00
End
Directory gid_Dir_PythonFramework_Versions
ParentID = gid_Dir_PythonFramework;
HostName = "Versions";
End
Directory gid_Dir_PythonFramework_Versions_ver
ParentID = gid_Dir_PythonFramework_Versions;
HostName = STRING(PYMAJMIN);
End
Directory gid_Dir_PythonFramework_Versions_ver_bin
ParentID = gid_Dir_PythonFramework_Versions_ver;
HostName = "bin";
End
Directory gid_Dir_PythonFramework_Versions_ver_lib
ParentID = gid_Dir_PythonFramework_Versions_ver;
HostName = "lib";
End
2012-11-17 00:35:35 +01:00
Directory gid_Dir_PythonFramework_Versions_ver_lib_pkgconfig
ParentID = gid_Dir_PythonFramework_Versions_ver_lib;
HostName = "pkgconfig";
End
2010-06-04 11:05:31 +02:00
Directory gid_Dir_PythonFramework_Versions_ver_lib_pythonver
ParentID = gid_Dir_PythonFramework_Versions_ver_lib;
HostName = STRING(CONCAT2(python,PYMAJMIN));
End
Directory gid_Dir_PythonFramework_Versions_ver_lib_pythonver_config
ParentID = gid_Dir_PythonFramework_Versions_ver_lib_pythonver;
2012-11-17 00:35:35 +01:00
HostName = STRING(CONCAT3(config-,PYMAJMIN,m));
2010-06-04 11:05:31 +02:00
End
2012-11-17 00:35:35 +01:00
Unixlink gid_Unixlink_Python_Headers
2010-06-04 11:05:31 +02:00
BIN_FILE_BODY;
Dir = gid_Dir_PythonFramework;
2012-11-17 00:35:35 +01:00
Name = "Headers";
Target = "Versions/Current/Headers";
2010-06-04 11:05:31 +02:00
Styles = ();
End
2012-11-17 00:35:35 +01:00
Unixlink gid_Unixlink_Python_LibreOfficePython
2010-06-04 11:05:31 +02:00
BIN_FILE_BODY;
2012-11-17 00:35:35 +01:00
Dir = gid_Dir_PythonFramework;
Name = "LibreOfficePython";
Target = "Versions/Current/LibreOfficePython";
2010-06-04 11:05:31 +02:00
Styles = ();
End
2012-11-17 00:35:35 +01:00
Unixlink gid_Unixlink_Python_Resources
BIN_FILE_BODY;
Dir = gid_Dir_PythonFramework;
Name = "Resources";
Target = "Versions/Current/Resources";
Styles = ();
End
Unixlink gid_Unixlink_Python_Versions_Current
BIN_FILE_BODY;
Dir = gid_Dir_PythonFramework_Versions;
Name = "Current";
Target = STRING(PYMAJMIN);
Styles = ();
End
Unixlink gid_Unixlink_Python_Versions_ver_Headers
BIN_FILE_BODY;
Dir = gid_Dir_PythonFramework_Versions_ver;
Name = "Headers";
Target = STRING(CONCAT3(include/python,PYMAJMIN,m));
Styles = ();
End
Unixlink gid_Unixlink_Python_bin_idle
2010-06-04 11:05:31 +02:00
BIN_FILE_BODY;
Dir = gid_Dir_PythonFramework_Versions_ver_bin;
2012-11-17 00:35:35 +01:00
Name = "idle3";
Target = STRING(CONCAT2(idle,PYMAJMIN));
2010-06-04 11:05:31 +02:00
Styles = ();
End
2012-11-17 00:35:35 +01:00
Unixlink gid_Unixlink_Python_bin_pydoc
2010-06-04 11:05:31 +02:00
BIN_FILE_BODY;
Dir = gid_Dir_PythonFramework_Versions_ver_bin;
2012-11-17 00:35:35 +01:00
Name = "pydoc3";
Target = STRING(CONCAT2(pydoc,PYMAJMIN));
2010-06-04 11:05:31 +02:00
Styles = ();
End
Unixlink gid_Unixlink_Python_bin_python
BIN_FILE_BODY;
Dir = gid_Dir_PythonFramework_Versions_ver_bin;
2012-11-17 00:35:35 +01:00
Name = "python3";
2010-06-04 11:05:31 +02:00
Target = STRING(CONCAT2(python,PYMAJMIN));
Styles = ();
End
Unixlink gid_Unixlink_Python_bin_pythonconfig
BIN_FILE_BODY;
Dir = gid_Dir_PythonFramework_Versions_ver_bin;
2012-11-17 00:35:35 +01:00
Name = "python3-config";
2010-06-04 11:05:31 +02:00
Target = STRING(CONCAT3(python,PYMAJMIN,-config));
Styles = ();
End
2012-11-17 00:35:35 +01:00
Unixlink gid_Unixlink_Python_bin_pythonw
2010-06-04 11:05:31 +02:00
BIN_FILE_BODY;
Dir = gid_Dir_PythonFramework_Versions_ver_bin;
2012-11-17 00:35:35 +01:00
Name = "pythonw3";
Target = STRING(CONCAT2(pythonw,PYMAJMIN));
2010-06-04 11:05:31 +02:00
Styles = ();
End
2012-11-17 00:35:35 +01:00
Unixlink gid_Unixlink_Python_bin_pyvenv
2010-06-04 11:05:31 +02:00
BIN_FILE_BODY;
Dir = gid_Dir_PythonFramework_Versions_ver_bin;
2012-11-17 00:35:35 +01:00
Name = "pyvenv";
Target = STRING(CONCAT2(pyvenv-,PYMAJMIN));
2010-06-04 11:05:31 +02:00
Styles = ();
End
2012-11-17 00:35:35 +01:00
Unixlink gid_Unixlink_Python_libpython
2010-06-04 11:05:31 +02:00
BIN_FILE_BODY;
2012-11-17 00:35:35 +01:00
Dir = gid_Dir_PythonFramework_Versions_ver_lib;
Name = STRING(CONCAT3(libpython,PYMAJMIN,.dylib));
Target = "../LibreOfficePython";
2010-06-04 11:05:31 +02:00
Styles = ();
End
2012-11-17 00:35:35 +01:00
Unixlink gid_Unixlink_Python_libpython_m
BIN_FILE_BODY;
Dir = gid_Dir_PythonFramework_Versions_ver_lib;
Name = STRING(CONCAT3(libpython,PYMAJMIN,m.dylib));
Target = "../LibreOfficePython";
Styles = ();
End
Unixlink gid_Unixlink_Python_pkgconfig
BIN_FILE_BODY;
Dir = gid_Dir_PythonFramework_Versions_ver_lib_pkgconfig;
Name = "python3.pc";
Target = STRING(CONCAT3(python-,PYMAJMIN,.pc));
Styles = ();
End
Unixlink gid_Unixlink_Python_pkgconfig_m
BIN_FILE_BODY;
Dir = gid_Dir_PythonFramework_Versions_ver_lib_pkgconfig;
Name = STRING(CONCAT3(python-,PYMAJMIN,m.pc));
Target = STRING(CONCAT3(python-,PYMAJMIN,.pc));
Styles = ();
End
Unixlink gid_Unixlink_Python_libpython_config_a
2010-06-04 11:05:31 +02:00
BIN_FILE_BODY;
Dir = gid_Dir_PythonFramework_Versions_ver_lib_pythonver_config;
2012-11-17 00:35:35 +01:00
Name = STRING(CONCAT3(libpython,PYMAJMIN,.a));
Target = "../../../LibreOfficePython";
Styles = ();
End
Unixlink gid_Unixlink_Python_libpython_config_dylib
BIN_FILE_BODY;
Dir = gid_Dir_PythonFramework_Versions_ver_lib_pythonver_config;
Name = STRING(CONCAT3(libpython,PYMAJMIN,.dylib));
Target = "../../../LibreOfficePython";
Styles = ();
End
Unixlink gid_Unixlink_Python_libpython_m_config_a
BIN_FILE_BODY;
Dir = gid_Dir_PythonFramework_Versions_ver_lib_pythonver_config;
Name = STRING(CONCAT3(libpython,PYMAJMIN,m.a));
Target = "../../../LibreOfficePython";
Styles = ();
End
Unixlink gid_Unixlink_Python_libpython_m_config_dylib
BIN_FILE_BODY;
Dir = gid_Dir_PythonFramework_Versions_ver_lib_pythonver_config;
Name = STRING(CONCAT3(libpython,PYMAJMIN,m.dylib));
Target = "../../../LibreOfficePython";
2010-06-04 11:05:31 +02:00
Styles = ();
End
#endif //MACOSX
2012-06-18 00:04:19 +02:00
#endif //SYSTEM_PYTHON
2004-02-05 17:10:37 +00:00
2004-02-10 16:46:31 +00:00
#ifdef UNX
2012-02-06 15:51:52 +01:00
// pyuno.so even on Mac OS X, because it is a python module
2004-02-05 17:10:37 +00:00
File gid_File_Pyuno
2011-11-30 16:48:22 +01:00
LIB_FILE_BODY;
2006-01-16 14:57:11 +00:00
Name = "pyuno.so";
2011-10-20 20:44:32 +02:00
Dir = gid_Brand_Dir_Program;
2004-02-05 17:10:37 +00:00
Styles = (PACKED);
End
#endif
2004-11-15 12:16:02 +00:00
2012-06-18 00:04:19 +02:00
#ifdef MINGW_SYSTEM_PYTHON
// python_wrapper.exe
File gid_File_Py_Bin_Python
BIN_FILE_BODY;
Name = EXENAME(pyuno/python);
Dir = gid_Brand_Dir_Program;
Styles = (PACKED);
End
Directory gid_Dir_Py_PythonCore
ParentID = gid_Brand_Dir_Program;
HostName = STRING(CONCAT2(python-core-,PYVERSION));
End
Directory gid_Dir_Py_PythonCore_Lib
ParentID = gid_Dir_Py_PythonCore;
HostName = "lib";
End
File gid_File_Py_Python_Core
TXT_FILE_BODY;
Dir = gid_Dir_Py_PythonCore_Lib;
Name = STRING(CONCAT3(python-core-,PYVERSION,.zip));
Styles = (ARCHIVE);
End
Directory gid_Dir_Py_PythonCore_Bin
ParentID = gid_Dir_Py_PythonCore;
2012-06-22 13:56:30 +02:00
HostName = "bin";
2012-06-18 00:04:19 +02:00
End
File gid_File_Py_Python_Bin
BIN_FILE_BODY;
Dir = gid_Dir_Py_PythonCore_Bin;
Name = EXENAME(python);
Styles = (PACKED);
End
#endif //MINGW_SYSTEM_PYTHON
2011-03-13 16:07:50 +01:00
// DISABLE_PYUNO
#endif