2004-02-05 17:10:37 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 08:50:33 +00:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
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:50:33 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2004-02-05 17:10:37 +00:00
|
|
|
*
|
2008-04-10 08:50:33 +00:00
|
|
|
* This file is part of OpenOffice.org.
|
2004-02-05 17:10:37 +00:00
|
|
|
*
|
2008-04-10 08:50:33 +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:50:33 +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:50:33 +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
|
2004-02-05 17:10:37 +00:00
|
|
|
|
|
|
|
Profile gid_Profile_Pythonloader_Uno_Ini
|
2013-02-19 15:21:23 +01:00
|
|
|
ModuleID = gid_Module_Pyuno;
|
2004-02-05 17:10:37 +00:00
|
|
|
#ifdef UNX
|
|
|
|
Name = "pythonloader.unorc";
|
|
|
|
#else
|
|
|
|
Name = "pythonloader.uno.ini";
|
|
|
|
#endif
|
2011-10-20 20:44:32 +02:00
|
|
|
Dir = gid_Brand_Dir_Program;
|
2004-02-05 17:10:37 +00:00
|
|
|
Styles = (NETWORK);
|
|
|
|
End
|
|
|
|
|
2005-02-24 13:26:12 +00:00
|
|
|
#ifndef SYSTEM_PYTHON
|
2004-02-05 17:10:37 +00:00
|
|
|
ProfileItem gid_Profileitem_Pythonloader_Pythonhome
|
|
|
|
ProfileID = gid_Profile_Pythonloader_Uno_Ini;
|
2013-02-19 15:21:23 +01:00
|
|
|
ModuleID = gid_Module_Pyuno;
|
2004-02-05 17:10:37 +00:00
|
|
|
Section = "Bootstrap";
|
|
|
|
Order = 1;
|
2007-10-11 10:53:12 +00:00
|
|
|
Key = "PYUNO_LOADER_PYTHONHOME";
|
2010-06-04 11:05:31 +02:00
|
|
|
#ifdef MACOSX
|
2012-11-17 00:35:35 +01:00
|
|
|
Value = CONCAT2($ORIGIN,/LibreOfficePython.framework);
|
2010-06-04 11:05:31 +02:00
|
|
|
#else
|
2005-11-21 08:20:48 +00:00
|
|
|
Value = CONCAT2($ORIGIN/python-core-,PYVERSION);
|
2010-06-04 11:05:31 +02:00
|
|
|
#endif
|
2004-02-05 17:10:37 +00:00
|
|
|
End
|
2005-02-24 13:26:12 +00:00
|
|
|
#endif
|
2004-02-05 17:10:37 +00:00
|
|
|
|
|
|
|
ProfileItem gid_Profileitem_Pythonloader_Pythonpath
|
|
|
|
ProfileID = gid_Profile_Pythonloader_Uno_Ini;
|
2013-02-19 15:21:23 +01:00
|
|
|
ModuleID = gid_Module_Pyuno;
|
2004-02-05 17:10:37 +00:00
|
|
|
Section = "Bootstrap";
|
|
|
|
Order = 1;
|
2007-10-11 10:53:12 +00:00
|
|
|
Key = "PYUNO_LOADER_PYTHONPATH";
|
2005-02-24 13:26:12 +00:00
|
|
|
#ifdef SYSTEM_PYTHON
|
|
|
|
Value = "$ORIGIN";
|
|
|
|
#else
|
2004-02-05 17:10:37 +00:00
|
|
|
#ifdef UNX
|
2010-06-04 11:05:31 +02:00
|
|
|
#ifdef MACOSX
|
2012-11-17 00:35:35 +01:00
|
|
|
#define FRAMEWORKLIB CONCAT3($ORIGIN,/LibreOfficePython.framework/Versions/Current/lib/python,PYMAJMIN)
|
2010-06-04 11:05:31 +02:00
|
|
|
Value = CONCAT4(FRAMEWORKLIB FRAMEWORKLIB,
|
|
|
|
/lib-dynload FRAMEWORKLIB,
|
|
|
|
/lib-tk FRAMEWORKLIB,
|
|
|
|
/site-packages $ORIGIN);
|
|
|
|
#else
|
2006-03-22 09:57:50 +00:00
|
|
|
Value = CONCAT9($ORIGIN/python-core-,PYVERSION,
|
2005-11-21 08:20:48 +00:00
|
|
|
/lib $ORIGIN/python-core-,PYVERSION,
|
|
|
|
/lib/lib-dynload $ORIGIN/python-core-,PYVERSION,
|
2006-03-22 09:57:50 +00:00
|
|
|
/lib/lib-tk $ORIGIN/python-core-,PYVERSION,
|
|
|
|
/lib/site-packages $ORIGIN);
|
2010-06-04 11:05:31 +02:00
|
|
|
#endif
|
2004-02-05 17:10:37 +00:00
|
|
|
#else
|
2009-05-04 11:45:11 +00:00
|
|
|
#ifdef _gcc3
|
|
|
|
Value = STRING(CONCAT9($ORIGIN/python-core-,PYVERSION,
|
|
|
|
/lib $ORIGIN/python-core-,PYVERSION,
|
|
|
|
/lib/lib-dynload $ORIGIN/python-core-,PYVERSION,
|
|
|
|
/lib/lib-tk $ORIGIN/python-core-,PYVERSION,
|
|
|
|
/lib/site-packages $ORIGIN));
|
|
|
|
#else
|
2006-03-22 09:57:50 +00:00
|
|
|
Value = STRING(CONCAT5($ORIGIN/python-core-,PYVERSION,
|
|
|
|
/lib $ORIGIN/python-core-,PYVERSION,
|
|
|
|
/lib/site-packages $ORIGIN));
|
2009-05-04 11:45:11 +00:00
|
|
|
#endif
|
2004-02-05 17:10:37 +00:00
|
|
|
#endif
|
2005-02-24 13:26:12 +00:00
|
|
|
#endif
|
2004-02-05 17:10:37 +00:00
|
|
|
End
|
2011-03-13 16:07:50 +01:00
|
|
|
|
|
|
|
// DISABLE_PYUNO
|
|
|
|
#endif
|