Commit graph

367 commits

Author SHA1 Message Date
Tor Lillqvist
43d7604a23 Avoid reordering elements already in PATH for Cygwin
For instance: If we have /opt/lo/bin in PATH already in front of
/usr/bin, we don't want to put /usr/bin in front of it again.
2011-09-19 10:41:45 +03:00
Tor Lillqvist
410499bd40 Surely /usr/bin already is in PATH on Cygwin
It would be a weird PATH otherwise. (And if that is the case,
presumably there is a good reason for it, then, and we shouldn't force
/usr/bin there.)
2011-09-19 10:24:13 +03:00
Tor Lillqvist
f0d4c09228 Bin weird leftover from OOo's native MinGW thing
I don't see the need to explicitly prefix PATH with /usr/bin in the
generated 'bootstrap' file. Surely /usr/bin is in PATH anyway for any
sane setup, and if there are other directories in front of it in PATH,
that is then on purpose.
2011-09-19 09:50:17 +03:00
Tomas Chvatal
a7d38f57cc Revert "Remove once again the INSTALLDIR feature"
This reverts commit bf0ea5c4ee.

Those variables are used in bin/distro-install-*.
Unable to find any issue with both distro-install and dev-install so
reverting.
If something really does break it needs fixing. Reverting this is not
an option.
2011-09-18 11:04:29 +02:00
Stephan Bergmann
cf8a59c77a Removed no longer needed PROFULLSWITCH. 2011-09-16 13:50:07 +02:00
Andras Timar
caf8c8f423 typo fix 2011-09-13 11:08:28 +02:00
Norbert Thiebaud
9092f1f0d3 provide instructions to install a linreoffice-custom gnumake 2011-09-10 18:36:32 -05:00
Michael Meeks
f2cc639131 Add detection of stale / slow makes (for Windows) and warn about them. 2011-09-10 16:52:06 +02:00
Andras Timar
ae4ad0eabe extend branding options in configure 2011-09-01 09:39:11 +02:00
François Tigeot
dec4bf14c8 Remove the almost always empty '350' directory
It's better to use two completely separate source trees than to try to
build two different versions of LibreOffice in the same one
2011-08-30 16:43:01 +02:00
Tor Lillqvist
5007d5c543 MinGW cross-compilation improvements
Make sure the MINGW_FOO environment variables get set and propagated
to the build environment also in the MinGW cross-compilation case. The
OOo code used to do that for MinGW natively on Windows (under
Cygwin). (Which we don't intend to support.)

Now, whether the *use* of these variables in the various makefiles etc
is relevant any more remains to be seen. I suspect all that might well
be unnecessary, as we after all are capable of cross-build the code
using MinGW just fine currently with none of these MINGW_FOO being
set.

One place where at least MINGW_GCCDLL and MINGW_GXXDLL is needed,
though, is in scp2. We presumably do want to include these DLLs (the
shared libgcc and libstdc++) in the installation set, to the extent
the scp2 stuff can be used still in a MinGW cross-build context.
2011-08-29 20:39:01 +03:00
Matúš Kukan
a6bea2c8f6 we are not using this GLIBC variable 2011-08-29 16:35:09 +02:00
Tor Lillqvist
eefc25d1d2 Bin USE_MINGW
Its alternative values as used by OOo is irrelevant to us as we don't
intend to support building using MinGW on Windows itself. To us, MinGW
always means cross-compilation. For us it is enough to look at
$(OS)$(COM), and WNTGCC always implies cross-compilation.

(OOo on the other hand attempts to support use of the Cygwin gcc with
the -mno-cygwin option (which is practically considered an obsolete
option), the normal MinGW compiler (but still from Cygwin), but not
cros-compilation.)
2011-08-26 20:54:59 +03:00
Matúš Kukan
75fac98397 Add support for creating merged library.
This commit allows to set which libraries to merge
and creates merged library in tail_build if enabled.
This should save time when loading libraries in application
and also makes more sense for link-time optimization.

Signed-off-by: Michael Meeks <michael.meeks@novell.com>
2011-08-24 14:23:43 +01:00
Rene Engelhard
c02eaf4bb9 fix $JRELIBDIR/$JRETOOLKITDIR/$JRETHREADDIR for mips(el) (missing /jre) 2011-08-23 18:15:13 +02:00
Rene Engelhard
260088aaf0 export WORDS_BIGENDIAN in set_soenv and make graphite2 use it 2011-08-23 18:15:13 +02:00
François Tigeot
bf0ea5c4ee Remove once again the INSTALLDIR feature
It was reintroduced with a merge from the 3.4 branch
2011-08-23 14:50:49 +02:00
Tor Lillqvist
041b4805c9 Don't unset INCLUDE in each MSVC compilation, instead do it in Env.Host.sh 2011-08-23 15:05:57 +03:00
François Tigeot
7b4825af2c Enable CUPS unconditionally
It doesn't make sense to try to use anything else to print on *nix
systems these days
2011-08-22 21:11:18 +02:00
Matúš Kukan
fc41132306 enable using link-time optimization
This commit enables LTO for all shared libraries.
Build takes much longer. Use just with gcc-4.5 or later.
2011-08-22 12:54:53 +02:00
Norbert Thiebaud
d64bbd6bf8 detect gmake 3.81 and limit to -j1 unless num-cpu is explicitly set 2011-08-19 18:29:07 -05:00
Jan Holesovsky
3da919bb40 Implement AsmObject in gbuild (Windows only for now, stub for unxgcc).
This fixes the build of 'basic' on Windows.
2011-08-11 12:54:53 +02:00
Jordan Ayers
da1681af3a Remove --server mode and supporting code from build.pl. 2011-08-10 20:43:23 -05:00
Norbert Thiebaud
9b981cafaa Adjust the parallelism of tail_build to be max(max-process, num-cpus)
tail_build run mostly by itself and wrap a dozen of module,
using just MAXPROCESS for the parallelism force to limit NB_CPUS
in order to avoid a NB_CPUS x MAXPROCESS scenario.
This mitigate this problem, until we don;t need MAXPROCESS anymore
and NB_CPUS becomes the only driving force.
2011-08-09 15:52:50 -05:00
Norbert Thiebaud
49fa5b039d remove obsolete USE_CCACHE env. prefix ccache after C[C|XX] final eval 2011-08-07 20:09:24 -05:00
Kalman Szalai - KAMI
8c219766f1 Added Russian language Lightproof module
* Added module
* Remove versioned directories in scp2 module for Lightproof
2011-08-07 21:55:49 +02:00
Caolán McNamara
b83057f6a8 just check for support of -mno-avx 2011-08-04 17:05:45 +01:00
Tor Lillqvist
6b9a4d0917 Using X11 on MacOSX hasn't been supported for years 2011-08-01 01:46:14 +03:00
Miklos Vajna
832f7e574d set_soenv: remove reference to no longer existing program steps
Those were removed in commit 22d9caecc978a5739ddd1430fd26abe06454726c
already.
2011-07-31 16:51:28 +02:00
Joseph Powers
a60ce8b60d MacOS: Remove some of my changes.
tml didn't like some of them; plus, configure.in -> configure removes the
[] in if statements (atleast on my machine) so I have to use "test".

My CPATH & LIBRARY_PATH statements where unreliable; even after modifying
set_soenv.in to export them correctly. I'm currently exporting them before
the ./autogen.sh && make and things seem to work better; I'm still looking
for a better solution.
2011-07-30 17:05:32 -07:00
Joseph Powers
5e65406174 Mac OS: On 10.7, the standard search paths don't work.
Installing xCode 4.1 renames the xCode 3.2.6 directory to /Developer-old/;
however, the compiler gets confused and can't find the headers and libraries.
This patch just notifies the compiler where they are actually located.

Note: I'm assuming that people compiling on 10.7 aren't trying to generate
a PPC binary.
2011-07-29 08:36:03 -07:00
Jan Holesovsky
a95376174e Merge commit 'libreoffice-3.4.2.3'
Conflicts:
	Makefile.in
	configure.in
	instsetoo_native/util/makefile.mk
	instsetoo_native/util/openoffice.lst
	ooo.lst.in
	set_soenv.in
	solenv/inc/minor.mk
2011-07-28 18:33:58 +02:00
Norbert Thiebaud
b5e6d0a679 make -Wno-long-double usage conditional to gcc supporting it 2011-07-26 21:58:08 -05:00
Norbert Thiebaud
4220d91d4d oops lost the patch to export the MacOSX variable inset_soenv.in 2011-07-26 19:12:57 -05:00
Norbert Thiebaud
4f0c8067fa MacOSX configure options to support SDK and version min/max 2011-07-26 15:54:40 -05:00
Bjoern Michaelsen
13f4f7545f add dbumenugtk configure check 2011-07-26 16:05:52 +02:00
Tor Lillqvist
0368ac2adb Revert "no need for INPATH in WORKDIR anymore"
We do need to have the platform-specific part in WORKDIR, for
cross-compilation support.

This reverts commit 3c471c4a11fe58a6cd3dbf09099d9a1ecf60dd38.
2011-07-25 16:12:29 +03:00
Bjoern Michaelsen
276ba69ad2 no need for INPATH in WORKDIR anymore
* this has been obsoleted with commit 22d9caecc978a5739ddd1430fd26abe06454726c
2011-07-25 12:54:51 +02:00
Tor Lillqvist
76a27e577e Use fixed-name environment script and no source_soenv.sh
No longer call the script snippet LinuxX86Env.Set.sh,
MacOSXX86Env.Set.sh, etc, but always Env.Host.sh. No need for
source_soenv.sh then, which wouldn't have worked when cross-compiling
anyway.

(As before, when cross-compiling, the environment script snipppet for
the BUILD platform is called Env.Build.sh.)
2011-07-25 00:47:41 +03:00
Tor Lillqvist
15d5273c29 Bin pointless "nmake=dmake" alias, who needs that? 2011-07-25 00:27:11 +03:00
Bjoern Michaelsen
ae83b24660 Merge branch 'master' into feature/gnumake4 2011-07-24 19:22:58 +02:00
Bjoern Michaelsen
2819345cee bump workdir up a few levels 2011-07-23 15:59:33 +02:00
Caolán McNamara
d1f6403c9e ENABLE_DEBUG_STL isn't working out for us, too easy to mix with and without 2011-07-22 11:28:03 +01:00
Tor Lillqvist
3d12239031 Using -L/lib and -L/usr/lib on MacOSX builds is unnecessary and wrong
As we build against the MacOSX 10.4 SDK we should certainly not link
against any libraries of the build OS, which could well be 10.5, 10.6
or 10.7.

Norbert verified that this works fine.
2011-07-21 22:20:05 +03:00
Bjoern Michaelsen
5012e466ce resyncing to master 2011-07-21 18:27:57 +02:00
Tor Lillqvist
649a3a4181 Propagate DISABLE_ACTIVEX also in the WNTGCC case 2011-07-21 17:43:39 +03:00
Matúš Kukan
6f0156d40c revert some mismerges in set_soenv.in 2011-07-21 10:38:18 +02:00
Mike Eberdt
fe6dcc2e1b accept x86_64 for FreeBSD as well 2011-07-12 09:08:37 +01:00
Petr Mladek
8124bdf39b better support for distro packaging
This is port from the build repo. The main differences are:

    + splits package-ooo into several scripts (bin/distro-install-*)

    + renames many variables to avoid OOO prefix and to better fit
      the variables produced by the current bootstrap configure.in

    + uses OOO_VENDOR from bootstrap/configure.in to add distro specific hacks;
      the conditions have been updated only for "Novell, inc."

    + install most of the desktop integration from sysui using
      sysui/desktop/share/create_tree.sh

    + do not install two extra templates:

         $OOINSTBASE/basis$VERSION/share/template/en-US/forms/resume.ott
         $OOINSTBASE/basis$VERSION/share/template/en-US/officorr/project-proposal.ott

      should get merged with other templates

    + do not install pyunorc-update64;

      it is needed only when you want to run 32-bit LO on 64-bit system;
      is anyone using it?

    + do not call install-dictionaries:
    + do not call build-galleries:

      is anyone using them?

    + do not install ootool and ooconfig

      is anyone using them? are they still working?

Signed-off-by: Michael Meeks <michael.meeks@novell.com>
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Bjoern Michaelsen <bjoern.michaelsen@gmail.com>
2011-07-11 20:30:31 +02:00
Tor Lillqvist
3f086957df Don't use -L /usr/lib when building for iOS 2011-07-09 13:37:20 +03:00