Commit graph

298 commits

Author SHA1 Message Date
Michael Stahl
54ba172dc1 configure: find the MSVC debug runtime libraries
... and copy them to solver bin in "external"

Change-Id: I6850495d1abb848a3f6b17de6518d05890b13c32
2013-04-15 15:26:31 +02:00
Andres Gomez
48d49759a4 neon: honor --disable-openssl and use GNUTLS
On --disable-openssl, the bundled neon library
will link against GNUTLS + gcrypt instead of
OpenSSL.

Change-Id: I5b3f09cd1003aefde0478aaab026536c962212c4
Reviewed-on: https://gerrit.libreoffice.org/3330
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-13 10:49:46 +00:00
Andres Gomez
e3f607e766 build: new --disable-openssl flag
Most of the components included in LibreOffice
already support alternative TLS libraries (e.g.
NSS, GnuTLS).

Change-Id: If00c348046fdbc88156f3d89c25e874e7e9bd04c
Reviewed-on: https://gerrit.libreoffice.org/3328
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-13 10:47:27 +00:00
Matúš Kukan
3fdb77f082 add new urelibs library merging some libraries from ure/lib/
There is no configure switch for this, URELIBS must be set.

This commit changes strategy to link also libraries being merged.
We need them for build tools like idlc, cppumaker, .., so the tools can
link against them now. This avoids circular dependencies.

Change-Id: Ic49e18ecbeaff84d4f5a7fafe8b1fbf45ed18c9b
2013-04-10 22:52:56 +02:00
David Tardon
19d263f095 one variable to rule them all
one variable to find them,
one variable to deliver them all and into filelist put them,
in $INSTDIR where the installer searches.

Change-Id: I989f578f0ed6f9ef9167522249b36d95c15bfd1b
2013-04-10 17:05:44 +02:00
Miguel Gomez
4be242ce6b Allow selecting the tls backend to use in oox from configure
Change-Id: Ie82afb1f22caa0b02ddac256e2a0c2a49f19bb15
Reviewed-on: https://gerrit.libreoffice.org/3173
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-04-10 08:36:51 +00:00
Peter Foley
b97cade918 Supress warnings about unset classpath
I get the below warning for every single jar file without this patch.
warning: [options] bootstrap class path not set in conjunction with
-source 1.5
1 warning

Change-Id: I71c01aeea993640f1ec86fe1d8a977656861358d
2013-04-07 12:14:36 -04:00
David Tardon
bba6e9ebeb allow Package to install to other dir than $OUTDIR
This is preparatory work for creating installation directly by gbuild.

Change-Id: I1b11db37c76ff781731845650169f39cb78fe820
Reviewed-on: https://gerrit.libreoffice.org/3189
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-05 23:33:29 +00:00
Luboš Luňák
598d3228cd remove HAVE_SFINAE_ANONYMOUS_BROKEN
Since we no longer support the old Apple SDK using gcc-4.0.1, we can
remove the cruft to work around its problems. Woohoo.

Change-Id: Idf275e76449443f1f0314e75dab993f213a77eb7
2013-04-04 13:44:30 +02:00
Michael Stahl
70fcfeedca Revert "use -isystem instead of -I for 3rd party headers"
This reverts commit 151abb8b2b.

Unfortunately has the side effect that it will prevent GCC from
generating makefile dependencies for headers from bundled external
libraries, which breaks incremental builds horribly.
(Retain the uses in configure for real system headers).

Conflicts:
	RepositoryExternal.mk
	configure.ac

Change-Id: I149db1d402fa18bdc470f90dee846cfb5158237e
2013-04-01 13:01:16 +02:00
Peter Foley
ce9bf0f868 upgrade icu to 51.1
Change-Id: I1c0d5ca4b2f88ca48225fcdbeb978f27fa91f7a6
Reviewed-on: https://gerrit.libreoffice.org/2953
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Peter Foley <pefoley2@verizon.net>
2013-03-30 14:23:14 +00:00
Tor Lillqvist
ab7ac5884c Use <config_features.h> instead of -DDISABLE_EXTENSIONS
Change-Id: I4fe5cd27b77d44b9b33af0ae3c3754e3b85c2ca3
2013-03-27 13:02:22 +02:00
Matúš Kukan
1e14293ef7 config_host.mk: L10N_MODULE is not used
Change-Id: Iab125e0e0dfac70d630d15301aba511150692f39
2013-03-27 00:40:10 +01:00
Stephan Bergmann
d3f7d05d1b Clean up OOO_SHELL
...which is no longer used.  Also, use the detected BASH value in Makefile.in
instead of re-detecting there.  (Though setting SHELL in Makefile.in is likely
bogus anyway, cf. "this is overridden by solenv/gbuild/gubild.mk [...] i don't
know what needs the 'SHELL=bash' in top-level makefile",
<http://lists.freedesktop.org/archives/libreoffice/2013-March/048552.html> "Re:
need help with shell / configure.")

Change-Id: I09c8b5eb9fb1244321d1fb998bb78e458e8ebf37
2013-03-26 17:21:46 +01:00
Peter Foley
4dd7010c00 don't build postgresql just to parse the makefiles
When running module-deps.pl postgresql gets built just so that
libpq-flags.mk can be included. Since we already have all the necessary
libraries, add them explicitly and avoid this.

Change-Id: Icd94fc215ecb26c95f9ae3c14625bf819bf3c5c3
2013-03-26 11:39:37 -04:00
Luboš Luňák
151abb8b2b use -isystem instead of -I for 3rd party headers
This should avoid gcc warnings in external code we don't care about,
so there'll be no need to fix them for WaE.

Change-Id: I629dc2672c075908294609249183f27ad2984325
2013-03-20 11:34:18 +01:00
Fridrich Štrba
790a36d299 Creating a libmwaw module for library parsing various old Mac file-formats
Change-Id: I367dfa309a30a5b55de1d59e632d0dbcf5dc6dbb
Reviewed-on: https://gerrit.libreoffice.org/2662
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-13 09:16:06 +00:00
Matúš Kukan
7062b4e0df configure: clean unused _FOR_BUILD variables
Change-Id: Ie236bbe4122fa5686a8d4c6050b5e14f354a5bb3
2013-03-12 11:36:54 +01:00
Matúš Kukan
e482672b58 use system python for building if possible
Also simplifies configure, hopefully without any mistake;)

Change-Id: I5c6c53fbee06cd1ecccf878a5c080274bfd950c1
Reviewed-on: https://gerrit.libreoffice.org/2563
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-03-12 08:10:49 +00:00
Rene Engelhard
ea5909eb57 adapt config_host.mk.in/scp2/mysqlc to MARIADBC
Change-Id: Id60fc25405a3879e64bd5f2ff637c655ba7dfc78
2013-03-10 14:11:23 +01:00
Fridrich Štrba
cad422afb7 Adding libmariadb module for internal mariadb (work in progress)
Change-Id: If2cf9ff21120e29a149903e8eab849d97fa0c2c9
2013-03-06 16:33:25 +01:00
Matúš Kukan
be46157bb2 clean SOLARLIB post dmake removal
I think it should die completely but openbsd and solaris still use it.
Probably just setting LDFLAGS should be enough for them ?

Also SOLARINC_FOR_BUILD and SOLARLIB_FOR_BUILD are not used anywhere.

Change-Id: I1c11981f859876af8b90e8ba60fce2820b354022
2013-03-06 12:39:23 +01:00
Fridrich Štrba
1bf4306c39 Switch from libmysqlc library to mariadb-native-client
Change-Id: I867918bbb61b289e1ad8752e6f46705af6e85b7c
2013-03-06 11:46:04 +01:00
Fridrich Štrba
8ecb2c52a6 If Mozab is built, look for VS2005 dlls
Change-Id: Id5585ff27af8e743adbecbdad3587db9224a394b
2013-03-04 17:29:52 +01:00
Peter Foley
d79bdca7e4 fix build on android with gcc 4.7
See https://code.google.com/p/android/issues/detail?id=41770

Change-Id: I555c1e9b8b15afd78b07b1c7b12a0b37d1112f9a
2013-03-02 13:01:04 -05:00
Matúš Kukan
ee0dd36715 remove minor.mk
Hopefully all stays the same except for vcl/unx/gtk/a11y/atkutil.cxx.

Change-Id: I49108007ee6d045f045de86c8654efc7ca5fd3d0
Reviewed-on: https://gerrit.libreoffice.org/2491
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-03-02 16:02:39 +00:00
Bjoern Michaelsen
2b791f1cc5 remove dmake, build.pl, deliver.pl and zipdep.pl
This is writing history: LibreOffice builds in ONE non-recursive make process
with full dependencies. We will now be able to really move forward without the
old build system. A big 'Thank you!' goes out to everyone contributing to
solenv/gbuild, especially:

- David Tardon
- Norbert Thiebaud
- Tor Lillqvist
- Michael Stahl
- Matúš Kukan
- Stephan Bergmann
- Luboš Luňák
- Caolán McNamara
- Mathias Bauer
- Jan Holesovsky
- Peter Foley
- Andras Timar
- Hans-Joachim Lankenau

and all the heroes migrating all the modules of LibreOffice to gbuild.

By explicit request this commit has to be completed with this quote:

    I say we take off and nuke the entire site from orbit.
    It's the only way to be sure.

Hold on a second.
This installation has a substantial dollar value attached to it.

    They can bill me.

Change-Id: I72fa17cfb24fae00ca78cfe0eb5782c1788d2dcc
Reviewed-on: https://gerrit.libreoffice.org/2445
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Niko Rönkkö <ronkko@iki.fi>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-28 02:37:34 +00:00
Michael Stahl
8b8cd431c5 move generation of sal/typesizes.h to configure
Change-Id: I22d28044bde624b7cfd8537c5c1e2906cb5303fc
2013-02-27 17:09:44 +01:00
Stephan Bergmann
07aca2c696 Remove inadvertent execute bits again
Change-Id: If98d499a6faf8faa7e77c2fb1af634e464db881e
2013-02-26 09:38:32 +01:00
David Ostrovsky
d74c5e82a4 moz: clean up after gbuildification
Change-Id: I1cbb3a9f3f869e8df4dca5cc71f529949c81d544
2013-02-26 08:42:30 +01:00
Norbert Thiebaud
b30d961ab5 orphaned variable in config_host.mk.in
Change-Id: I6a6fd3e1e749b9a7adebdc4bf615e9b523b427bd
2013-02-21 13:20:57 -06:00
David Tardon
74a920c59f fdo#60907 export libmysql file name'
Change-Id: I294301e0f87924ac89c16c99f0549c98a7ea7da5
2013-02-20 12:46:34 +01:00
Caolán McNamara
138e5a0518 make it possible to build with system icu 4.2 (RHEL-6)
Change-Id: I69bf7bc33a619c4aa9483e2dc3d5540e4dfa7458
2013-02-19 15:42:14 +00:00
Bjoern Michaelsen
cac113602c rename SYSTEM_LIBWPG to SYSTEM_WPG to remove specialcasing
Change-Id: I7fe4da07852d538216b92b9350903b7022bdc9fa
2013-02-19 13:23:07 +01:00
Bjoern Michaelsen
3a3254a900 rename SYSTEM_LIBWPS to SYSTEM_WPS to remove specialcasing
Change-Id: I54880cd7d404692b8fee16c331c8e7a64508f52b
2013-02-19 13:23:06 +01:00
Bjoern Michaelsen
a4c80756ca rename SYSTEM_LIBMSPUB to SYSTEM_MSPUB to remove specialcasing
Change-Id: I06d6dec259f4e1d28d0fb13497097bbfae156b2f
2013-02-19 13:23:06 +01:00
Bjoern Michaelsen
fb455e5013 rename SYSTEM_LIBCDR to SYSTEM_CDR to remove specialcasing
Change-Id: I14bd9c0a4b9b55963da67102468d573f7132fab7
2013-02-19 13:23:06 +01:00
Bjoern Michaelsen
5de206a7fb rename SYSTEM_LIBWPD to SYSTEM_WPD to remove specialcasing
Change-Id: Ibc8178e2dd7209705cb752f9570e414483c319a7
2013-02-19 13:23:05 +01:00
Bjoern Michaelsen
fe8bcfa422 rename SYSTEM_LIBVISIO to SYSTEM_VISIO to remove specialcasing
Change-Id: Ib895be66ecb4c95a86696007fdda453d3a3b34e0
2013-02-19 13:23:05 +01:00
Bjoern Michaelsen
88ed6d1348 rename SYSTEM_LIBCMIS to SYSTEM_CMIS to remove specialcasing
Change-Id: I7fdf7fd285d6b8c584d8fe225729f15f3f9798ad
2013-02-19 13:23:05 +01:00
Fridrich Štrba
3708fe8434 Kill the --without-system-stdlibs option
Change-Id: I54bff2c8593995829857d30b38b8626a8c1a1a4f
2013-02-19 10:05:23 +01:00
Matúš Kukan
3717bbf31d remove zenity configure option
It has served well but it's useless nowadays.
build.pl is going to die anyway.

Change-Id: I7769528af7987e43fee8707ce5b4e2214d43c5b4
Reviewed-on: https://gerrit.libreoffice.org/2174
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-16 09:36:48 +00:00
Miklos Vajna
f6251134c9 configure: drop no longer working --with-linked-git option
--with-referenced-git works with submodules, --with-linked-git does not.
And I don't see a way to fix it, either.

Change-Id: Ib6cdb065a022665cd62e9fdc7fc37a9e916e50ad
Reviewed-on: https://gerrit.libreoffice.org/2165
Reviewed-by: Matúš Kukan <matus.kukan@gmail.com>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-02-15 20:11:26 +00:00
Rene Engelhard
a45b42b801 don't use -notimestanp when using gjdoc as javadoc
Change-Id: Ie729aaeaeff41838a435a043dec10c5016355187
2013-02-13 20:21:44 +01:00
Miklos Vajna
803137f471 configure: add --with-referenced-git option
This is similar to --with-linked-git, but:

1) It uses git submodule update --reference, so it works with submodules.

2) The created repo is a true git repo, except that its object database
reuses the referenced repo's objects, so it's a real speedup when e.g.
translations are enabled.

I intentionally didn't just fixed --with-linked-git, to make it clear
this is more like git clone --reference, not git-new-workdir.

Change-Id: I7c9584bce3670fd1e175b90aded2435cfe78056d
2013-02-09 19:21:53 +01:00
Tor Lillqvist
1651080f8a Add --enable-readonly-installset option
Not yet implemented in the code, but my idea is that any functionality
that modifies the system-wide installation will go away in this case.

Automatically set if --disable-externsions, or if building a sandboxed
LO for OS X.

Should probably be set automatically also when just building a signed
(but not necesssarily sandboxed) LO for OS X? Surely installing a
system-wide extension should count as tampering with the
app. Especially if we can make also extension (scripts) be signed (by
locating them in the Resources folder?)

Change-Id: Id654bfaa6331535a66eae1bc6531a756085a3f06
2013-02-05 22:53:52 +02:00
Tor Lillqvist
3c3a6f87bf This is supposed to be sorted
Change-Id: Id29ccc9c009f0db5f1ee7483c412bb18578c24d3
2013-02-05 22:53:52 +02:00
Peter Foley
856c075e93 convert libxslt to gbuild and add to tail_build
Change-Id: I16eb442fd65b3a2f3a44108f670fd364dc7a64c0
Reviewed-on: https://gerrit.libreoffice.org/1988
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
2013-02-05 19:47:04 +00:00
Tor Lillqvist
ebdd616580 Add option to set bundle identifier and use it when signing
Sign also all the dylibs and frameworks in the bundle.

Change-Id: I7f67b9d7eda0204b24e2ea2ef44a53fb8db0f8aa
2013-02-01 14:51:20 +02:00
Tor Lillqvist
b46e964064 Configury of OS X code signing and sandboxing
Change-Id: I7d63af2ddb67104daaddcb5f111e26269b9b5030
2013-02-01 14:51:19 +02:00