Commit Graph

140 Commits

Author SHA1 Message Date
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
Andras Timar
78234602ce LibreLogo integration (extension -> normal code)
While efforts have been made to make LibreLogo work with Python 3.3,
there are still a few bugs, for example large Logo programs do not run
correctly and Translate button does not work. Bugfixing is in progress.

Change-Id: I4227ff86084f51047861897189d2317322296139
2012-11-28 21:22:47 +01:00
Michael Stahl
38a22a9026 Switch from python to python3
Mac specific parts of patch by:
Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>

Change-Id: I90ef17c6f5a678230539a80ab999fa5344e4fc8f
2012-11-27 12:45:23 +01:00
Andras Timar
48d7e996a2 Long URL does not fit into installer dialog
Change-Id: Iebefcca082a733e26072c5cc0ab0510b9eb2c509
2012-09-09 12:37:04 +02:00
David Tardon
20b2d07bde add missing quotes
Change-Id: Ic93eebd5fbad25479560e56cd3a2c1da035da45d
2012-06-22 13:57:36 +02:00
David Ostrovsky
d712218cc0 fixing pyuno bridge on mingw: packaging system-python
Change-Id: Ib46248d217b0161dc20dde0274842bd7381f0cda
2012-06-22 13:11:41 +02:00
Michael Meeks
b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
David Ostrovsky
e16ac69372 gbuild migration: pyuno module
Change-Id: I7f923a5622214f7540a789bcdd93bf6fd1d166db
2012-06-14 11:40:23 +02:00
David Tardon
cdf8d40394 gbuildize scp2
Change-Id: If9a0906a76943160cfdbd647b26a801bc4389615
2012-05-29 07:34:18 +02:00
Stephan Bergmann
2ea723e8ce Revert "Mac OS X uses .dylib and not .so for python modules."
This reverts commit b53a86a567.
Conflicts:
	scp2/source/python/file_python.scp

I assume that the file *shall* be named .so on Mac OS X after all, and that it
actually being named .dylib was a mistake introduced with
a09ce46818 and reverted with
0b1be1ce0e.
2012-02-06 15:53:46 +01:00
Stephan Bergmann
75d215d473 Fix typo and clean up. 2011-12-16 09:53:31 +01:00
Thorsten Behrens
13087fc6a1 Python mailmerge stuff is now inside mailmerge.zip 2011-12-07 17:43:42 +01:00
Petr Mladek
2578d13ea8 add exectuable rights for libraries on Linux
RPM strips debuginfo packages from libraries only when they have
execuateble rights

It does not fix permissions of the prebuilt mozilla libraries; scp2 defines
the same permissions for all files inside the mozruntime.zip archive.
Unfortuantely, it icludes libraries and data files togetger.
2011-12-01 18:43:49 +01:00
Norbert Thiebaud
e4610ffd2d remove PCH support in dmake-module 2011-11-27 12:26:12 -06:00
Andras Timar
b338e513f7 change URL pointing to openoffice.org domain - fdo#39734 2011-11-19 22:43:33 +01:00
Stephan Bergmann
0559950864 Made ooinstall more deterministic, fixed Mac OS X Python module dependencies. 2011-11-01 11:17:07 +01:00
Stephan Bergmann
fecde94354 Undo basis/brand split: moved Python from basis to brand.
The Windows-only code in pyuno/zipcore/python.cxx may still need fixing.
2011-10-20 23:04:12 +02:00