summaryrefslogtreecommitdiff
path: root/scp2/source/python
AgeCommit message (Collapse)Author
2023-12-06Remove pyuno.xcd from build/packagingGabor Kelemen
cleanup after commit 80798b426bf7d5fa4616db1af608640cfbcd79fe Change-Id: I8d1712ac592a69ec0b9a5705d6a689e57062e347 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160300 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2023-01-27Remove support for AIXStephan Bergmann
As discussed in the mailing list thread starting at <https://lists.freedesktop.org/archives/libreoffice/2023-January/089808.html> "Plan to remove dead C++ UNO bridge implementations (bridges/source/cpp_uno/*)", the bridge implementation at bridges/source/cpp_uno/gcc3_aix_powerpc is apparently dead and should thus be removed. However, that was the only bridge implementation for AIX, which implies that support for the AIX platform as a whole is dead and should thus be removed. Change-Id: I96de3f7f97d4fd770ff78256f0ea435383688be9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146057 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-01-19add --disable-librelogo to disable LibreLogo at build timeMichael Stahl
Annoyingly the packinfo_*.txt don't support conditionals but we can work-around that with a little duplication. Change-Id: Id00a6831effcc63a917fc21d2cd201474fdb559d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109569 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2017-02-10Remove MinGW supportStephan Bergmann
In OOo times, there'd originally been efforts to allow building on Windows with MinGW. Later, in LO times, this has been shifted to an attempt of cross- compiling for Windows on Linux. That attempt can be considered abandoned, and the relevant code rotting. Due to this heritage, there are now three kinds of MinGW-specific code in LO: * Code from the original OOo native Windows effort that is no longer relevant for the LO cross-compilation effort, but has never been removed properly. * Code from the original OOo native Windows effort that is re-purposed for the LO cross-compilation effort. * Code that has been added specifially for the LO cross-compilation effort. All three kinds of code are removed. (An unrelated, remaining use of MinGW is for --enable-build-unowinreg, utilizing --with-mingw-cross-compiler, MINGWCXX, and MINGWSTRIP.) Change-Id: I49daad8669b4cbe49fa923050c4a4a6ff7dda568 Reviewed-on: https://gerrit.libreoffice.org/34127 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-06-01final solution of the ARCHIVE questionDavid Tardon
Change-Id: I70da65e08c75cd732000597a09ed113b3075c5a8
2015-05-18scp2: fix --disable-pythonAndras Timar
Change-Id: Iec27f9d9efb506d67de6bc20eb0a8eef46a58ebf Reviewed-on: https://gerrit.libreoffice.org/15778 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-02-28scp2: move python librelogo packages to AutoInstallMichael Stahl
Change-Id: Ib70d1510bac2eb6bd5491f3177191ad5a8aebe2d
2015-02-28scp2: move python packages to AutoInstallMichael Stahl
Change-Id: I1444e114e5cdbe794d79f40edebc32cb0229a4b5
2015-02-28scp2: move python scriptprovider package to AutoInstallMichael Stahl
Change-Id: I7e7f74ffbfd9edc4d8d4b3ca13d9a2f0d97dcbf4
2015-02-08scp2: 'Minimal' key is unused, let's remove it from everywhereAndras Timar
Change-Id: I2c0d9c6870c52de85e288f4f70bc4d7c492e9987 Reviewed-on: https://gerrit.libreoffice.org/14361 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-11-26Use Package_pyuno_pythonloader_ini for installStephan Bergmann
Change-Id: Ia4f06beea2e16b6a0235c87ae47cec8430cd1f40
2014-11-05Mac OS X: Add back into installset LibreOffice.app/Contents/MacOS/ filesStephan Bergmann
...that were erroneously removed with 6492c8576e0393f7ee548cd938e84c80e8d37127 "Make the 'Mac-like' or 'canonical' app bundle structure always used on OS X": * gengal script (ultimately calling gengal.bin); this script still needs adaption to the new LibreOffice.app layout, though! * python script (ultimately calling Python.app) * unoinfo script * unopkg symlink to unopkg.bin (which could be dropped for Mac by renaming unopkg.bin to just unopkg, similarly to soffice/soffice.bin) Change-Id: Ic3eb340a183388939b1c812faf7fb509c9f53a8a
2014-10-29scp2: move python executables to AutoInstallMichael Stahl
Change-Id: I94919f11150f39148219afc613ced99f74c539c0
2014-09-09Make the "Mac-like" or "canonical" app bundle structure always used on OS XTor Lillqvist
In other words, only executable files go in the MacOS folder. Dynamic libraries and bundled frameworks (i.e., LibreOfficePython), and nothing else, go in the Frameworks folder, and all other files go in the Resources folder. Especially, note that Java class files and rc (.ini) files also go in Resources. Such an app bundle structure is what Apple strongly suggests one should use, and it has been hinted that future versions of code signing and/or Gatekeeper will require such a structure. There is still some ugliness thanks to traces of the historical separation of URE from "the office". Like there are two separate "unorc" files, one for URE, one for the LibreOffice application. IMHO, this should be cleaned up, but is probably controversial. (Eek! I now see there are actually *three* unorc files in the app bundle. Not intentional. Need to fix that later.) Change-Id: Idcf235038deb5b8e1d061734993e9f31869b7606
2014-08-15When ENABLE_MACOSX_MACLIKE_APP_STRUCTURE put only binaries in the MacOS dirTor Lillqvist
The new code signing is more strict and enforces bundle structure harder, it seems. When ENABLE_MACOSX_MACLIKE_APP_STRUCTURE bypass the unoinfo and python shell scripts. If they actually are needed, will have to put them somewhere under Resources. Change-Id: I14a34936b78195746d2b88d25603952ce5309380
2014-07-20scp2: move python libraries to AutoInstallMichael Stahl
Change-Id: Ib89daf3e608fd995845062eae2a7a33149964844
2014-05-31fix pyuno.so install to correctly end up in gid_Module_PyunoRene Engelhard
... as the (empty in this case) auto_python_ALL makes the second entry ignored Change-Id: I1b39595b3ab8da429f45f49098d6fc7bdc4c1cba
2014-03-18scp2: move python3 to AutoInstallMichael Stahl
Change-Id: I6ca298bb51fd707bcda7eabc607307701a0722ac
2013-12-09scp2: Fix one more 'Name' path.Matúš Kukan
It is under #ifdef MINGW_SYSTEM_PYTHON, so nobody noticed. Change-Id: Idf48079e5533ef20fd37eef819c9ac2601833a14
2013-12-06scp2: hopefully fix Windows buildMatúš Kukan
Change-Id: Ib4ead1d64dc6b8e76bf2c7bf0f007e8962acb1e2
2013-10-12missing semicolonsAndras Timar
Change-Id: I06607610d6a593ad8bf2deb2affe2e40af158087
2013-10-12missing semicolonsAndras Timar
Change-Id: Ib1cf6ec8ffe622be887c7dd567d0b44eaf1a75e6
2013-10-12add name/description in order to avoid warnings in feature.pmAndras Timar
Change-Id: I291d4d969c73d39f3c02511cb7ea2dce27f163d6
2013-09-12installer: search files in INSTDIRMichael Stahl
INSTDIR has everything that will be installed anyway, so ideally the file search patch should only be INSTDIR + whatever is needed to get the Package file lists; especially WORKDIR seems inappropriate there. The exception is extension .oxt files which apparently are not in INSTDIR; not sure what to do about those. Change-Id: I2477c25ab9fcf953fae9c219e76c467e14729cda
2013-09-10gbuild: use xml .rdb files directly from workdirMatúš Kukan
Change-Id: I876a41dc77a59841c39b2c1fa43f22c20940dbf2
2013-09-09scp2: fix Windows build: python wrapper is an executable thereMichael Stahl
Change-Id: I9e9c0eee26ead63c508ddcd0dead60395e461aa5
2013-09-09pyuno: another filelist to make instdir betterMatúš Kukan
Change-Id: Ieda9b3847de3de8989eaafc542e60216baa1af4d
2013-09-09pyuno: install python scripts using filelistsMatúš Kukan
Change-Id: Ic7515acd14916cc36b59749059ed623cda906c23
2013-08-28Fix PYUNO_LOADER_PYTHONPATH for non-ENABLE_MACOSX_MACLIKE_APP_STRUCTUREStephan Bergmann
Change-Id: Ifc164b80466d3b847ce1214c28a1ba79fdfd690b
2013-08-18Further work on the "Mac-like app structure" optionTor Lillqvist
Lots of stuff still either ended up in the wrong place, or was looked up from the wrong place, or both. Fix most cases. Change-Id: I06ebbce207c219f3cd82b4387dd9b3fdb83420d4
2013-08-18Use subfolder names from <config_folders.h>Tor Lillqvist
Change all instances of hardcoded "program", "share" etc subfolder names to use those from <config_folders.h> instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-06-03re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1397337 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 Patches contributed by Andre Fischer Fixed getcsym.awk to handle #-comments that contain special regexp chars. http://svn.apache.org/viewvc?view=revision&revision=1230971 118778: Added ADDITIONAL_REPOSITORIES environment variable and its automatic setup in configure. http://svn.apache.org/viewvc?view=revision&revision=1232004 118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Herbert Duerr #i119168# use generic LICENSE file for langpacks and sdks http://svn.apache.org/viewvc?view=revision&revision=1310178 macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars http://svn.apache.org/viewvc?view=revision&revision=1183367 allow gbuild with empty sysroot on linux http://svn.apache.org/viewvc?view=revision&revision=1179186 Patches contributed by Ingo Schmidt native373: #164472# improvements for msi database http://svn.apache.org/viewvc?view=revision&revision=1167540 http://svn.apache.org/viewvc?view=revision&revision=1167539 Patches contributed by Jurgen Schmidt adapt setup package scripts to handle special DS_Store file for developer snapshot builds http://svn.apache.org/viewvc?view=revision&revision=1232430 imported patch extensions_i117681.patch http://svn.apache.org/viewvc?view=revision&revision=1172102 Patches contributed by Michael Stahl gbuild: RepositoryFixes.mk should be optional http://svn.apache.org/viewvc?view=revision&revision=1166123 xslt filter: remove the FLA horror wordml import filter: replace FLA usage with plain XSLT http://svn.apache.org/viewvc?view=revision&revision=1363727 Patch contributed by Oliver-Rainer Wittmann i#88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 Remove lots of OS2 conditionals, re-extract Rhino Java, unwind cppunit pieces, cleanup Mac image bits, remove coin-mp and re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand MPLv2 subset checking. Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
2013-05-28Optional pyuno module should have its own services/pyuno.rdbStephan Bergmann
...this e.g. changes the error message when trying to register an extension that contains an (actively registered) Python component but no pyuno is installed from "Binary URP bridge disposed during call" to a less frightening "The service com.sun.star.loader.Python cannot be instantiated." Change-Id: I10f2b36b11395559ee95ce659878222b5ea99c11
2013-05-16Entries for symlinks in the Python framework seem unnecessary nowTor Lillqvist
Change-Id: I63e0ceb42db5c561cafaae160259ee7f2658552c
2013-05-16Add the Versions/3.3/include/python3.3m directoryTor Lillqvist
Change-Id: If50acc088402487d8185198ee3841e3d82cd904c
2013-05-08Force create the symlinks-only dirsStephan Bergmann
Change-Id: I4610a2ff5bebd50dd2ee0020b575490c6c490968
2013-05-04install python scripting provider using filelistDavid Tardon
Change-Id: I9db93fd588f1cca9ce071d4ff14d5c9c699748a0
2013-05-04bin no longer necessary hackDavid Tardon
Change-Id: I54ca40343f4abe61aaea5520d27b4c82a2eeaf7a Reviewed-on: https://gerrit.libreoffice.org/3780 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-05-04install python framework using filelistDavid Tardon
Change-Id: Ib3a98d8268d0a1973d5f06b993c293fd41ba47e1 Reviewed-on: https://gerrit.libreoffice.org/3779 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-22replace python-core zip built in pyuno with direct use of PackageMichael Stahl
- python3: deliver files to INSTDIR, with same layout as instset and do not deliver .lib files - pyuno: remove obsolete python.bin targets - pyuno: remove usage of CustomTarget_zip for WNT and non-Mac UNX platforms (sadly it is apparently still needed for "system" python on MinGW) - scp2: use the python3 filelist There is still a problem here because the installer does not currently allow to preserve the executable bit on files in a filelist - RepositoryExternal: run python executable from INSTDIR and link against libraries in UnpackedTarball dir Change-Id: I931ca0a8be6ff40051b1ca50da1f0770e6057832 Reviewed-on: https://gerrit.libreoffice.org/3525 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-04-21pyuno.pyd must be called pyuno_d.pyd with MSVC debug runtimesMichael Stahl
Change-Id: I8ed937739d94bfc6316d9cb158870362a0b8b996
2013-04-21fdo#60949: Move more libs to OOOLIBSMarcos Paulo de Souza
Change-Id: Ibd45f7004f8eaa151b9a60d7369d396411f60a2b Reviewed-on: https://gerrit.libreoffice.org/3511 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-19fdo#63197: convert 3 out 4 from scripting partJulien Nabet
Change-Id: Ie359d0ef00f62dd3c2d1f1dfd86e115409438e76 Reviewed-on: https://gerrit.libreoffice.org/3470 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-15adapt all externals to build against MSVC debug runtimeMichael Stahl
Add patches and/or tweaks to the following modules: curl, cppunit, icu, lcms2, libxml2, libxslt, libxmlsec, lpsolve, nss, openssl, python3 lcms2 has an inconsistency where the .lib and the .dll don't agree on the .dll name. openssl gets a honorable mention because apparently it's undocumented custom build system can build with /MDd if one picks the right configuration but i couldn't figure out how to do that in an hour of trying, and just patched the release config instead. Change-Id: I7854a0fc85247e398d561b4f513d09fe2d1ebb3c
2013-04-14install librelogo using filelistsDavid Tardon
Change-Id: Iffd409c66608d4e67eee9e149f0063f09e0e4675
2013-03-12sync packinfo with scp2Andras Timar
Change-Id: Ie20dab628e089a97c16b91b080eda5e09bbbb46a
2013-03-12actually make new gid_Module_Script_Provider_For_Python being installedRene Engelhard
Change-Id: I3440a45465fa79d3ace0f04fd6036734c9caf00d
2013-03-11Script Provider For Python has to be a in a separate moduleAndras Timar
Change-Id: I6445108c049d6ee67df6b01966e1a047e169227c
2013-02-25fix helppack creation on windowsPeter Foley
Change-Id: I0242cc0adda1d12a9daac38bebe810aa38d2865b
2013-02-24instsetoo_native: convert to gbuildPeter Foley
Removes: * instsetoo_native/util/update.xml - gen_update_info.pl can be removed ? On Windows the binary artifacts are created now in: workdir/*/installation/LibreOffice_Dev/native/install/en-US/*.msi Change-Id: I1c82ea9cb9d297cdd0e4f4b9b44606259eeeed49 Reviewed-on: https://gerrit.libreoffice.org/2242 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>