Commit Graph
156 Commits
Author SHA1 Message Date
Michael Stahl c18d3f8823 add --disable-librelogo to disable LibreLogo at build time
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>
2021-01-19 13:55:08 +01:00
Stephan Bergmann 8646ab97dc Remove MinGW support
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>
2017-02-10 18:01:27 +00:00
David Tardon 9b01428b1f final solution of the ARCHIVE question
Change-Id: I70da65e08c75cd732000597a09ed113b3075c5a8
2016-06-01 14:55:27 +02:00
Andras Timar 3aeeacccce scp2: fix --disable-python
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-05-18 09:14:58 +00:00
Michael Stahl dedaf74392 scp2: move python librelogo packages to AutoInstall
Change-Id: Ib70d1510bac2eb6bd5491f3177191ad5a8aebe2d
2015-02-28 22:28:56 +01:00
Michael Stahl 62eb3bf472 scp2: move python packages to AutoInstall
Change-Id: I1444e114e5cdbe794d79f40edebc32cb0229a4b5
2015-02-28 22:28:56 +01:00
Michael Stahl 8c53af6fb8 scp2: move python scriptprovider package to AutoInstall
Change-Id: I7e7f74ffbfd9edc4d8d4b3ca13d9a2f0d97dcbf4
2015-02-28 22:28:56 +01:00
Andras Timar b46c3e683c scp2: 'Minimal' key is unused, let's remove it from everywhere
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>
2015-02-08 08:06:10 +00:00
Stephan Bergmann a756b783e3 Use Package_pyuno_pythonloader_ini for install
Change-Id: Ia4f06beea2e16b6a0235c87ae47cec8430cd1f40
2014-11-26 17:21:12 +01:00
Stephan Bergmann 167ff1e731 Mac OS X: Add back into installset LibreOffice.app/Contents/MacOS/ files
...that were erroneously removed with 6492c8576e
"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-11-05 13:07:28 +01:00
Michael Stahl 368729decb scp2: move python executables to AutoInstall
Change-Id: I94919f11150f39148219afc613ced99f74c539c0
2014-10-29 11:37:49 +01:00
Tor Lillqvist 6492c8576e Make the "Mac-like" or "canonical" app bundle structure always used on OS X
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-09-09 13:55:23 +03:00
Tor Lillqvist 26cfc797fa When ENABLE_MACOSX_MACLIKE_APP_STRUCTURE put only binaries in the MacOS dir
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-08-15 08:56:59 +03:00
Michael Stahl f01aa96eab scp2: move python libraries to AutoInstall
Change-Id: Ib89daf3e608fd995845062eae2a7a33149964844
2014-07-20 20:59:17 +02:00
Rene Engelhard 2f531243f3 fix pyuno.so install to correctly end up in gid_Module_Pyuno
... as the (empty in this case) auto_python_ALL makes the second entry
ignored

Change-Id: I1b39595b3ab8da429f45f49098d6fc7bdc4c1cba
2014-05-31 20:31:17 +02:00
Michael Stahl 720ca8e1a9 scp2: move python3 to AutoInstall
Change-Id: I6ca298bb51fd707bcda7eabc607307701a0722ac
2014-03-18 22:18:10 +01:00
Matúš Kukan a01fabf705 scp2: Fix one more 'Name' path.
It is under #ifdef MINGW_SYSTEM_PYTHON, so nobody noticed.

Change-Id: Idf48079e5533ef20fd37eef819c9ac2601833a14
2013-12-09 20:27:04 +01:00
Matúš Kukan dd02446dff scp2: hopefully fix Windows build
Change-Id: Ib4ead1d64dc6b8e76bf2c7bf0f007e8962acb1e2
2013-12-06 15:31:33 +01:00
Andras Timar 9e30d40756 missing semicolons
Change-Id: I06607610d6a593ad8bf2deb2affe2e40af158087
2013-10-12 19:31:30 +02:00
Andras Timar 79896c3a43 missing semicolons
Change-Id: Ib1cf6ec8ffe622be887c7dd567d0b44eaf1a75e6
2013-10-12 19:25:35 +02:00
Andras Timar 3f3d684430 add name/description in order to avoid warnings in feature.pm
Change-Id: I291d4d969c73d39f3c02511cb7ea2dce27f163d6
2013-10-12 16:54:37 +02:00
Michael Stahl f89cce877c installer: search files in INSTDIR
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-12 00:20:39 +02:00
Matúš Kukan b469cd235b gbuild: use xml .rdb files directly from workdir
Change-Id: I876a41dc77a59841c39b2c1fa43f22c20940dbf2
2013-09-10 22:58:04 +02:00
Michael Stahl c1e2e40b2c scp2: fix Windows build: python wrapper is an executable there
Change-Id: I9e9c0eee26ead63c508ddcd0dead60395e461aa5
2013-09-09 22:09:06 +02:00
Matúš Kukan 0ed6f8c28e pyuno: another filelist to make instdir better
Change-Id: Ieda9b3847de3de8989eaafc542e60216baa1af4d
2013-09-09 22:09:05 +02:00
Matúš Kukan 031fd222ac pyuno: install python scripts using filelists
Change-Id: Ic7515acd14916cc36b59749059ed623cda906c23
2013-09-09 22:08:59 +02:00
Stephan Bergmann e75e021413 Fix PYUNO_LOADER_PYTHONPATH for non-ENABLE_MACOSX_MACLIKE_APP_STRUCTURE
Change-Id: Ifc164b80466d3b847ce1214c28a1ba79fdfd690b
2013-08-28 10:05:14 +02:00
Tor Lillqvist 058a3d1c46 Further work on the "Mac-like app structure" option
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-18 21:11:16 +03:00
Tor Lillqvist c6a7300974 Use subfolder names from <config_folders.h>
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-08-18 21:11:16 +03:00
Michael Meeks 1e4422a4b4 re-base on ALv2 code. Includes:
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-06-03 11:41:36 +01:00
Stephan Bergmann 7b91e84c72 Optional pyuno module should have its own services/pyuno.rdb
...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-28 16:02:46 +02:00
Tor Lillqvist 32e7165285 Entries for symlinks in the Python framework seem unnecessary now
Change-Id: I63e0ceb42db5c561cafaae160259ee7f2658552c
2013-05-16 16:21:28 +03:00
Tor Lillqvist 87bdc30851 Add the Versions/3.3/include/python3.3m directory
Change-Id: If50acc088402487d8185198ee3841e3d82cd904c
2013-05-16 13:39:01 +03:00
Stephan Bergmann b1e88b0dd5 Force create the symlinks-only dirs
Change-Id: I4610a2ff5bebd50dd2ee0020b575490c6c490968
2013-05-08 08:44:50 +02:00
David Tardon 233e12168b install python scripting provider using filelist
Change-Id: I9db93fd588f1cca9ce071d4ff14d5c9c699748a0
2013-05-04 16:44:47 +02:00
David Tardon 0548520425 bin no longer necessary hack
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-04 14:43:20 +00:00
David Tardon 6cac17078c install python framework using filelist
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-05-04 14:43:03 +00:00
Michael Stahl b6bcbb675a replace python-core zip built in pyuno with direct use of Package
- 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-22 11:33:25 +00:00
Michael Stahl 849f87db1d pyuno.pyd must be called pyuno_d.pyd with MSVC debug runtimes
Change-Id: I8ed937739d94bfc6316d9cb158870362a0b8b996
2013-04-21 15:00:51 +02:00
Marcos Paulo de Souza 03a36ed0fb fdo#60949: Move more libs to OOOLIBS
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-21 05:53:10 +00:00
Julien Nabet 687a821e3b fdo#63197: convert 3 out 4 from scripting part
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-19 04:05:13 +00:00
Michael Stahl 4811c2dc9f adapt all externals to build against MSVC debug runtime
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-15 15:26:32 +02:00
David Tardon dcdc7bf552 install librelogo using filelists
Change-Id: Iffd409c66608d4e67eee9e149f0063f09e0e4675
2013-04-14 13:52:27 +02:00
Andras Timar 73510ca8b3 sync packinfo with scp2
Change-Id: Ie20dab628e089a97c16b91b080eda5e09bbbb46a
2013-03-12 10:21:02 +01:00
Rene Engelhard 3545b0398e actually make new gid_Module_Script_Provider_For_Python being installed
Change-Id: I3440a45465fa79d3ace0f04fd6036734c9caf00d
2013-03-12 00:05:08 +01:00
Andras Timar 28db5d7f27 Script Provider For Python has to be a in a separate module
Change-Id: I6445108c049d6ee67df6b01966e1a047e169227c
2013-03-11 19:52:27 +01:00
Peter Foley c0ef3bb114 fix helppack creation on windows
Change-Id: I0242cc0adda1d12a9daac38bebe810aa38d2865b
2013-02-25 19:20:30 -05:00
Peter Foley 1d84e9d1d3 instsetoo_native: convert to gbuild
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>
2013-02-24 17:26:19 +00:00
Andras Timar 83b4703137 fdo#49202 install the "Python-UNO Bridge" component on Windows unconditionally
Change-Id: I1d9d62b024c4442182d67d93915af0f793265ebd
2013-02-20 16:30:14 +01:00
Andras Timar 31f1a12ca5 LibreLogo should be an optional module
On Windows it is installed by default, but can be disabled in
the installer easily.

Change-Id: Ic820f08b51edf71eb09fd3533dc42b82bd06bb38
2012-12-12 00:10:26 +01:00