Commit graph

464 commits

Author SHA1 Message Date
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
Tor Lillqvist
7c46fa4494 Most likely pointless to pass -I $COMPATH/include when using gcc
Surely gcc finds its default header location anyway.
2011-07-03 16:47:19 +03:00
Caolán McNamara
e214780d71 fix stray define 2011-06-30 11:32:27 +01:00
Caolán McNamara
4e674ab45b make cairo an unconditional requirement for text rendering 2011-06-30 11:32:27 +01:00
Tor Lillqvist
bb4e01086c Don't use FLIPCMD when cross-compiling from Unix 2011-06-23 01:46:11 +03:00
Caolán McNamara
9574f268a8 add FONTCONFIG_[LIBS|CFLAGS] 2011-06-22 12:43:33 +01:00
Petr Mladek
17466b2d28 fix configure without the optional translations module 2011-06-22 12:05:19 +02:00
Tor Lillqvist
67e1946064 Disable ATL when compiling with MinGW 2011-06-21 00:40:19 +03:00
Bjoern Michaelsen
81a1c065fd Merge branch 'master' into feature/gnumake4
Conflicts:
	Repository.mk
	RepositoryFixes.mk
	configure
	configure.in
	set_soenv.in
	solenv/config/sdev300.ini
	solenv/gbuild/ComponentTarget.mk
	solenv/gbuild/CppunitTest.mk
	solenv/gbuild/CustomTarget.mk
	solenv/gbuild/Deliver.mk
	solenv/gbuild/Executable.mk
	solenv/gbuild/JavaClassSet.mk
	solenv/gbuild/Library.mk
	solenv/gbuild/LinkTarget.mk
	solenv/gbuild/StaticLibrary.mk
	solenv/gbuild/TargetLocations.mk
	solenv/gbuild/gbuild.mk
	solenv/gbuild/platform/linux.mk
	solenv/gbuild/platform/macosx.mk
	solenv/gbuild/platform/solaris.mk
	solenv/gbuild/platform/windows.mk
	solenv/gbuild/platform/winmingw.mk
	solenv/gbuild/templates/Executable.mk
	solenv/gbuild/templates/Library.mk
	solenv/inc/libs.mk
	solenv/inc/unxobsd.mk
2011-06-19 11:36:52 +02:00
David Tardon
510737a54a enable libstdc++'s debug mode with --enable-debug 2011-06-18 17:20:10 +02:00
Tor Lillqvist
e17aac891e Temporary hack can be binned now 2011-06-18 16:51:32 +03:00
Michael Stahl
b2fab435e6 gnumake4: set_soenv.in: do not generate tcsh environment file [hg:7ac1d3e8f1fa] 2011-06-17 18:20:52 +02:00
Michael Stahl
00610e27d1 gnumake4: #i117687#: do not source *Env.Set.sh in bootstrap [hg:3c81abff5843] 2011-06-17 18:17:20 +02:00
Philipp Lohmann [pl]
54c611fa45 ooo340fixes: #i117804# differentiate between ENABLE_CAIRO and ENABLE_CAIRO_CANVAS [hg:e09be3339384] 2011-06-17 13:51:41 +02:00
Jan Holesovsky
e3d5d7185d Merge remote-tracking branch 'origin/libreoffice-3-4'
Conflicts:
	Makefile.in
	bootstrap.1
	configure.in
	solenv/inc/minor.mk
2011-06-17 13:44:18 +02:00
Jan Holesovsky
d75defa37f Make the online update service configurable (via --enable-online-update).
Signed-off-by: Petr Mladek <pmladek@suse.cz>
2011-06-17 11:45:12 +02:00
Robert Nagy
ba62ce46c8 only fetch external tarballs if --disable-fetch-external is not defined 2011-06-15 12:55:51 +02:00
Robert Nagy
6fdc8ae0d1 only fetch external tarballs if --disable-fetch-external is not defined 2011-06-15 12:51:41 +02:00
Michael Meeks
fc328a31e8 first cut of gtk3 auto-detection, and autoconf-foo 2011-06-14 12:28:52 +01:00
Tor Lillqvist
5f92c3275a Add FOR_BUILD variant of SYSTEM_LIBXSLT and use it to decide which xsltproc to run 2011-06-14 00:53:34 +03:00
Tor Lillqvist
0957430c12 Don't use undefined variable 2011-06-10 00:46:15 +03:00
Tor Lillqvist
e59b18c6ec Propagate also SYSBASE to the build environment 2011-06-09 23:17:34 +03:00
Tor Lillqvist
354f25c64a Compare CROSS_COMPILING explicitly to YES 2011-06-08 11:46:06 +03:00
Fridrich Štrba
6f6d51d86c Allow system libvisio when asked nicely 2011-06-06 12:49:32 +02:00
Tor Lillqvist
aa961bb6ca Bin the --with-icu-native-build-root option 2011-06-05 01:24:52 +03:00
Tor Lillqvist
f206336a25 Rehash of cross-compilation ideas
Like in my previous plan, when cross-compiling we run the same
configure script separately for a native build configuration on the
build platform, in a temporary subdirectory.

Now use a fixed name "CONF-FOR-BUILD" for that subdirectory, so that
it is easy to edit out that path component from those build
environment variables that contain it.

Pass more of the native build environment variables up to the main
configure and propagate those to the build environment suffixed with
_FOR_BUILD: INPATH, OUTPATH OUTDIR, PATH, SOLARINC, SOLARLIB,
WORKDIR. Whether these all will actually be needed remains to be seen,
the set can be reduced later.

The environment setting file (*Env.Set.sh) for the native build is
copied here to the top directory under the name Env.Build.sh, and the
environment variables set in it that contain pathnames are modified to
point directly to this top directory, not the temporary CONF-FOR-BUILD
subdirectory.

When doing a cross-compiling build, we first do a build of the
necessary build-time tools for the build platform. This is done in the
same source tree. As the directories where build results are stored
include the platform specification (OUTPATH or in some cases INPATH),
there should be no clashes.

Don't run the download script from ./bootstrap(.1). We are running it
from Makefile already anyway often enough. This could also do with
some clean-up; the ./g -f clone phase is a bit slow, I am not sure if
it really is necessary every time? Also, we should not overwrite
ooo.lst if its contents isn't changing.

Use INPATH_FOR_BUILD in SOLARBINDIR so that the self-built tools like
idlc that we run are for the build platform, not the host
platform.

Attempt to get rid of the makefile.rc and makefile.mk files. Surely it
should be enough with just Makefile(.in) (and then GNUmakefile.mk for
its own so far special gbuild purposes). Instead of invoking dmake to
do "clean" or "distclean" from Makefile(.in), we already just do the
same directly in Makefile(.in). This way we don't need to first build
dmake in order to be able to do a make clean, which will then finally
clean out dmake again;)

Ideally I would like to get rid of bootstrap(.1), too. It should be
possible to merge its tasks into configure(.in) or Makefile(.in) as
appropriate.

And actually, maybe also what set_soenv(.in) does could well be merged
into configure(.in)?
2011-06-04 19:08:44 +03:00
Tor Lillqvist
4b93f8cdc7 Simplify zip and unzip checks 2011-06-02 02:40:32 +03:00
Tor Lillqvist
cf8989c140 Unify librsvg options into --enable-librsvg=no/auto/system/internal 2011-06-02 01:01:34 +03:00
Jan Holesovsky
6a29b48bf5 Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/bootstrap 2011-05-31 10:46:15 +02:00
Jan Holesovsky
07c1d34ec7 Merge commit 'libreoffice-3.4.0.2'
Conflicts:
	configure.in
	distro-configs/LibreOfficeMacOSX.conf
	distro-configs/OxygenOfficeLinux.conf
	distro-configs/OxygenOfficeWin32.conf
	download
	instsetoo_native/util/openoffice.lst
	ooo.lst.in
	set_soenv.in
	solenv/bin/modules/installer/download.pm
	solenv/gbuild/CppunitTest.mk
	solenv/inc/minor.mk
	solenv/inc/settings.mk
2011-05-31 10:45:37 +02:00
Tor Lillqvist
a53ebd43ec No need to do anything with $HOME 2011-05-31 10:08:33 +03:00
Jan Holesovsky
e72584561e Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/bootstrap 2011-05-27 20:49:08 +02:00
Jan Holesovsky
ca907e0220 Merge remote-tracking branch 'origin/integration/dev300_m106'
Conflicts:
	Makefile.in
	Repository.mk
	autogen.sh
	bin/lo-commit-stat
	configure.in
	distro-configs/LibreOfficeOpenBSD.conf
	distro-configs/LibreOfficeWin32.conf
	instsetoo_native/util/openoffice.lst
	ooo.lst.in
	scp2/source/ooo/module_langpack.ulf
	set_soenv.in
	solenv/bin/ooinstall
	solenv/gbuild/CppunitTest.mk
	solenv/gbuild/Library.mk
	solenv/gbuild/LinkTarget.mk
	solenv/gbuild/TargetLocations.mk
	solenv/gbuild/platform/macosx.mk
	solenv/gbuild/platform/solaris.mk
	solenv/gbuild/platform/unxgcc.mk
	solenv/gbuild/platform/windows.mk
	solenv/inc/minor.mk
	solenv/inc/settings.mk
	tail_build/prj/makefile.mk
2011-05-27 20:39:04 +02:00
Caolán McNamara
de6b387500 ENABLE_DIRETX->ENABLE_DIRECTX 2011-05-26 14:06:18 +01:00
Tor Lillqvist
f52905162f Add --with-icu-native-build-root switch
Must be used when cross-compiling the bundled ICU. Will then be
forwarded to the ICU configury as its --with-cross-build switch.
2011-05-26 02:55:45 +03:00
Tor Lillqvist
5d50561735 Use the build OS xsltproc when cross-compiling 2011-05-24 02:48:19 +03:00
Tor Lillqvist
6c28e9e143 Set SOLARLIB also for MinGW (cross-)compilation
Set it as on Cygwin, and with the -L flags in the same order as for
Linux &co for consistency.
2011-05-23 17:33:48 +03:00
Robert Nagy
85822219bc use $GNUMAKE to print the build instructions 2011-05-23 09:25:00 +02:00
Robert Nagy
8ce2d816a1 use $GNUMAKE to print the build instructions 2011-05-23 09:24:04 +02:00
Francois Tigeot
6dad9edb9e Use a single shell source file for all NetBSD platforms
Finish cleaning up INPATH and OUTPATH.
2011-05-22 10:29:41 +02:00
Francois Tigeot
255ba80655 Use the same OUTPATH on all NetBSD architectures 2011-05-22 10:04:20 +02:00
Tor Lillqvist
3f56e8f87c Java tweaks for cross-compilation 2011-05-21 02:45:18 +03:00
Tor Lillqvist
c761ef3d41 Export NSIS_PATH also in the MinGW cross-compiling case
Actually NSIS_PATH is crack, it is actually the *directory* where the
makensis program is located, so why not simply just have a variable
with the full pathname to that instead (or just the command name, in
case it is in the default PATH anyway, like on openSUSE with
/usr/bin/makensis)? That would simplify the stuff in download.pm, too.
2011-05-19 22:55:17 +03:00
Robert Nagy
333fb1d408 handle amd64 and x86_64 for OpenBSD the same way 2011-05-19 12:26:44 +02:00
Tor Lillqvist
89b361c0a4 More cross-compiling work and cleanup
Re-introduce the old --with-mingw option but now called
--with-mingw-cross-compiler. Its purpose is now specifically to give
the cross-compiler used when building the ODK, if Java is enabled, and
if building the unowinreg.dll. It has now nothing to do with
cross-compiling LibreOffice itself.

Correspondingly, the WITH_MINGW variable now has meaning only when
building LibreOffice for Windows: If using MinGW, whether natively on
Windows itself (which we as such don't intend to support, I hope), or
cross-compiling, it is set to "yes".

Automate and simplify the search for the MinGW cross-compiler when
intending to build unowinreg.dll on Unix.

Look for the usual tool-chain tools ar, nm, objdump, pkg-config,
ranlib, strip, and for Windows alto dlltool and windres using
AC_CHECK_TOOL so that the proper cross tools are found when
needed. Propagate to environment. As such these are not used except in
the MinGW mk files so far.

Other minor cleanups.
2011-05-18 18:56:58 +03:00
Tor Lillqvist
c9f99f4ec8 Rework how <db.h> is included 2011-05-18 11:13:43 +03:00
Tor Lillqvist
95760e349e MSVC followup fix for RC command line syntax 2011-05-18 03:19:02 +03:00
Tor Lillqvist
3d97229173 Make checks for db work when cross-compiling
When looking for the db,h header, use Autoconf mechanisms instead of
manual checks in hardcoded directories. So yeah, this means that you
need to make sure the correct -I flag is passed if you have db
installed in a weird place where the compiler doesn't find it.

Use checks that require only compiling, not running code. Nice.

Don't AC_SUBST variables that are not used.
2011-05-17 22:36:57 +03:00
Tor Lillqvist
84fbaed77d More cross-compiling work
AC_SUBST also EXEEXT_FOR_BUILD and use that in Makefile.in.

As winemv.set.sh is now called WindowsMSVCEnv.Set.sh, with capital E
and S like all the others, we can simplify the glob pattern for the
Set.sh file.

Don't attempt to download and/or run unpackers for dependencies
relevant only when using MSVC if using MinGW.

Misc other Windows host vs. build fixes.
2011-05-17 02:22:19 +03:00
Tor Lillqvist
85d44913ab Minor tweaks for cross-compiling
Still a long way from working, of course.

The configure script now runs to finish on Linux with --host=mingw32.

It is no longer an error if Windows SDK or DirectX SDK are not found
by the logic in the configure script. It might well be that the user
has included relevant -I and -L flags in CC or CXX that makes the
compilations work anyway, or something. We should not try to be too
clever and try to predict how the compiler or linker work in the
configure script.

We now define the FOO_FOR_BUILD environment variables in set_soenv.in
even when not cross-compiling (identically as the plain FOO ones in
that case, obviously). This should make some makefiles and stuff that
build tools to run on the build host a bit simpler.
2011-05-16 18:55:07 +03:00
Tor Lillqvist
699d119f78 Use current terminology and socket library
It's called the Windows SDK, not the Platform SDK. Link only with the
ws2_32 library, not the wsock32 one.
2011-05-16 16:01:30 +03:00
Tor Lillqvist
71c391a328 Set GUIBASE for Android 2011-05-16 00:51:42 +03:00
Tor Lillqvist
60dbfc13ee Use specific OS value for Android 2011-05-16 00:00:57 +03:00
Tor Lillqvist
30659f237f Initial baby steps for Android cross-compilation 2011-05-15 03:54:50 +03:00
Tor Lillqvist
89b315948c Rename the Windows env setting files to be in MixedCase, too 2011-05-15 03:54:48 +03:00
Tor Lillqvist
c552c7faf1 Fix from-scratch build breakage: Don't call realpath on Windows path
In a from-scratch build, when running the configure script, which then
runs the set_soenv script, the default_images symlink (that is passed
to this function in the form of a Windows path, for some reason) does
not exist yet, and realpath fails anyway. So don't bother calling
realpath on Windows paths.

Although I don't know whether it then will cause a problem that the
cygpath -m call won't be able to expand the symlink as it doesn't
exist anyway. This is a mess. And if cygpath -m expands symlinks
anyway, why is the realpath needed at all?
2011-05-15 03:41:58 +03:00
Tor Lillqvist
dc4d7d995b Kill obsolete STAR_FOO stuff 2011-05-15 00:37:04 +03:00
Tor Lillqvist
4c7f692682 Kill USE_NEW_SDK and adapt to it being always TRUE 2011-05-14 23:26:26 +03:00
Tor Lillqvist
a84c47186d Kill SET_EXCEPTIONS, not used anywhere as far as I could see 2011-05-14 23:14:05 +03:00
Tor Lillqvist
14a32cca5c Kill CDPATHx, not used anywhere as far as I could see 2011-05-14 23:04:24 +03:00
Tor Lillqvist
85373fe2e7 Kill BIG_SVX, not used anywhere as far as I could see 2011-05-14 22:55:09 +03:00
Tor Lillqvist
210fc3366a Kill build_deliver, not used anywhere as far as I could see 2011-05-14 22:43:13 +03:00
Tor Lillqvist
985bbdbc7d Kill "TF_FILTER"
No idea what it is, not used anywhere as far as I could see.
2011-05-14 22:40:25 +03:00
Tor Lillqvist
79173f64a1 Kill "NEW_JAR_PACK"
It was fixed as TRUE, so unconditionally change its uses according to
that.
2011-05-14 22:38:29 +03:00
Tor Lillqvist
6498fdaca7 Kill "BMP_WRITES_FLAG"
Not used anywhere as far as I can see.
2011-05-14 22:29:36 +03:00
Tor Lillqvist
4e011da922 Kill "BUILD_SOSL", some Hamburg thing 2011-05-14 22:02:30 +03:00
Tor Lillqvist
5f0b89e382 Kill "BUILD_SOSL_RELEASE"
No idea what it is, doesn't occur anywhere else in the sources.
2011-05-14 21:58:16 +03:00
Tor Lillqvist
2cba0cf4bc Kill "local solenv"
No idea in what circumstance one would want to use that.
2011-05-14 21:56:49 +03:00
Tor Lillqvist
025ca51745 Check more sizes and alignments and propagate to environment 2011-05-14 02:56:37 +03:00
Tor Lillqvist
a6e5ca0cc4 More cross-compiling work 2011-05-13 23:54:02 +03:00
Tor Lillqvist
414c15bbb2 Argh, it's just host, not host_alias 2011-05-13 20:36:31 +03:00
Tor Lillqvist
eaf8e0939a Some initial baby steps towards cross-compilation
And some baby steps for cross-compiling for iOS in particular.
2011-05-13 20:24:40 +03:00
Tor Lillqvist
11606530ee Use more meaningful option name
It's called the .NET Framework, so don't talk about "frame".

Also align Usage help printout better.
2011-05-13 15:07:54 +03:00
Kalman Szalai - KAMI
f36579d1af Fix oooblogger extension download mechanism
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2011-05-12 12:23:47 +02:00
Kalman Szalai - KAMI
c6b0efb648 Fix SUN Template extension configure, download, handling
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2011-05-12 12:22:35 +02:00
Kalman Szalai - KAMI
b04faf6398 Fix Ligthproof extension integration
* Fix configure and download support
* Extension naming scheme is: <md5>-<extension-name>_<version>.oxt
  - Renamed extensions
* Rename extension version number in download script and scp2 module

Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2011-05-12 12:22:13 +02:00
Tor Lillqvist
f33232a3ff Fix building of the 64-bit Windows Explorer extension, fdo#36950
Don't confuse the 64-bit Explorer extension with a 64-bit LibreOffice,
which is unfinished and highly experimental work. OOo has been
building and distributing a 64-bit Explorer extension since long, and
we should too. They used some secret Hamburg sauce when building it,
though, but hopefully now it works here, too.
2011-05-11 12:33:32 +03:00
Kalman Szalai - KAMI
9bb5f5314f Fix oooblogger extension download mechanism 2011-05-11 11:18:37 +02:00
Kalman Szalai - KAMI
9b756202ad Fix SUN Template extension configure, download, handling 2011-05-08 11:14:57 +02:00
Kalman Szalai - KAMI
68b8377eab Fix Ligthproof extension integration
* Fix configure and download support
* Extension naming scheme is: <md5>-<extension-name>_<version>.oxt
  - Renamed extensions
* Rename extension version number in download script and scp2 module
2011-05-08 10:25:25 +02:00
Kalman Szalai - KAMI
64dec765d8 Add copy and extract for extras and few extensions 2011-05-04 04:56:37 +02:00
Andras Timar
140e2dc70c introducing --enable-release-build configure switch - fdo#36437
and default is dev build
2011-04-30 22:09:17 +02:00
Andras Timar
0b4cfce98c do not ship non-localized helppacks 2011-04-29 16:41:49 +02:00
Andras Timar
a8b49b4b38 do not ship non-localized helppacks 2011-04-28 22:50:38 +02:00
Andras Timar
2f734f54a6 put L10N_MODULE definition to set_soenv instead of settings.mk
and remove alternative l10n locations from settings.mk
2011-04-28 18:12:39 +02:00
Bjoern Michaelsen
d941a0bf7c add --enable-lomenubar switch to configure 2011-04-28 10:02:25 +02:00
Bjoern Michaelsen
34f9d7b795 add --enable-lomenubar switch to configure 2011-04-28 01:44:09 +02:00
Michael Meeks
b41e01d92f initial uglification 2011-04-26 14:57:14 +01:00
Tor Lillqvist
97bfc27b4b Kill BrOffice, fdo#36262 2011-04-26 14:27:20 +03:00
Andras Timar
32352e1ce8 put L10N_MODULE definition to set_soenv instead of settings.mk
and remove alternative l10n locations from settings.mk
2011-04-26 10:27:13 +02:00
Kalman Szalai - KAMI
8898e7a9c4 Add copy and extract for extras and few extensions 2011-04-24 16:19:54 +02:00
Jan Holesovsky
fc1e9f253d Merge branch 'DEV300_m106' into libreoffice-3-4
Conflicts:
	Module_ooo.mk
	Repository.mk
	configure
	configure.in
	ooo.lst
	scp2/source/ooo/file_library_ooo.scp
	scp2/source/ooo/makefile.mk
	scp2/source/ooo/module_hidden_ooo.scp
	solenv/config/sdev300.ini
	solenv/config/ssolar.cmn
	solenv/gbuild/AllLangResTarget.mk
	solenv/gbuild/ComponentTarget.mk
	solenv/gbuild/CppunitTest.mk
	solenv/gbuild/Deliver.mk
	solenv/gbuild/JavaClassSet.mk
	solenv/gbuild/JunitTest.mk
	solenv/gbuild/Library.mk
	solenv/gbuild/LinkTarget.mk
	solenv/gbuild/Module.mk
	solenv/gbuild/Output.mk
	solenv/gbuild/SdiTarget.mk
	solenv/gbuild/TargetLocations.mk
	solenv/gbuild/gbuild.mk
	solenv/gbuild/platform/linux.mk
	solenv/gbuild/platform/macosx.mk
	solenv/gbuild/platform/solaris.mk
	solenv/gbuild/platform/windows.mk
	solenv/gbuild/platform/winmingw.mk
	solenv/inc/minor.mk
2011-04-22 15:07:18 +02:00
Tor Lillqvist
49313fa83b Fix from-scratch build breakage: Don't call realpath on Windows path
In a from-scratch build, when running the configure script, which then
runs the set_soenv script, the default_images symlink (that is passed
to this function in the form of a Windows path, for some reason) does
not exist yet, and realpath fails anyway. So don't bother calling
realpath on Windows paths.

Although I don't know whether it then will cause a problem that the
cygpath -m call won't be able to expand the symlink as it doesn't
exist anyway. This is a mess. And if cygpath -m expands symlinks
anyway, why is the realpath needed at all?
2011-04-18 12:43:20 +03:00
Jan Holesovsky
9d66573987 Don't override CC and CXX on Windows when set, handle ccache.
This is to allow use of ccache by specifying something like:

  export CC="ccache C:/path/to/cl.exe"
  export CXX="ccache C:/patch/to/cl.exe"

before running ./autogen.sh
2011-04-15 14:20:36 +02:00
Jan Holesovsky
15a1260bd7 Detect the prefix of the cl.exe -showIncludes output. 2011-04-15 14:20:36 +02:00
Tor Lillqvist
20ba3c4ae8 Kill OS/2 stuff 2011-04-15 14:08:09 +03:00
Francois Tigeot
08d49db2aa Remove CVER.
It is no longer used.
2011-04-14 13:41:19 +02:00
Caolán McNamara
0818377646 get rid of legacy libXaw usage 2011-04-12 13:14:16 +01:00
Francois Tigeot
19480ddf48 Remove the C52 define.
It corresponds to a version of a Solaris-specific compiler used in the
2000-2001 timeframe.
2011-04-08 13:28:02 +02:00
Tor Lillqvist
4fe951fde5 Remove ENABLE_PRESENTER_EXTRA_UI from here, too 2011-04-08 13:47:40 +03:00
Tor Lillqvist
df1e3fc991 Must export also WITH_AGFA_MONOTYPE_FONTS 2011-04-07 11:20:45 +03:00
Tor Lillqvist
2f9a326043 Must export also WITH_AGFA_MONOTYPE_FONTS 2011-04-07 11:19:48 +03:00
Francois Tigeot
4999d91ceb Use the same $outfile and $OUTPATH on all DragonFly architectures. 2011-04-04 21:27:10 +02:00
Ivo Hinkelmann
50628e59cb CWS-TOOLING: integrate CWS solaris11 2011-04-01 10:23:05 +02:00