Commit graph

230 commits

Author SHA1 Message Date
Stephan Bergmann
a6d6d1c24b CLANGPLUGIN_CPPFLAGS did not actually work
...it just appeared to work on machines that happen to have /usr/bin/clang.  So
hoist CLANGDIR/CLANGBUILD from compilerplugins/Makefile-clang.mk to configure.ac
instead.

Change-Id: Ie5d9c6bb8e9d0caa1583d78c8693f06b69873095
2012-12-07 16:09:26 +01:00
Fridrich Štrba
ebff822d93 Add --enable-windows-build-signing option
Change-Id: I9630a486043c97aa9e31873c63f807cedb869a24
2012-12-07 09:40:39 +01:00
Noel Grandin
6d77e0cb15 Bug 57917 - --enable-ext-oooblogger does not work with Python 3
Remove the oooblogger extension. It is unmaintained and the original
author (caolan) wants it dead.

Change-Id: Iff89f5badbb74f465c57e068a9e1acbbc13bc235
2012-12-06 11:14:24 +02:00
Mathias Michel
a0c53a961a First fix for fdo#56902
Restrict moz to windows, and build vars also
impacts nss, connectivity

Change-Id: I27aae1398f3f8a4d046c2c7805d64bc7523c7282
Reviewed-on: https://gerrit.libreoffice.org/1233
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2012-12-04 10:53:36 +00:00
Petr Mladek
4497b12f58 add --with-extra-buildid configure option
It can be used to show extra build indentification in the about dialog
just under the version string.

The plan is to show information about tinderboxes and make the life easier
for QA guys.

Change-Id: I4714a34cf13492c7bb92798b4b6d11385093f223
2012-11-29 18:34:07 +01:00
Jan Holesovsky
332bd4296e MinGW: Bundle also the libpoppler-*.dll
Change-Id: I181e408e7bc585d93fbeb2ce76a32bc350845c91
2012-11-28 17:04:20 +01:00
Matúš Kukan
33a6f88180 bin --enable-oxygenoffice; it does nothing
Change-Id: Ibac9b92f5833253d6485009e0ea8ea11f2b8ed91
2012-11-28 16:33:00 +01:00
Matúš Kukan
df50d2dcfe download few tarballs directly without md5sum in name
..and add few fixes, like:
* use 'set -o pipefail' to fail meaningfully
* include download.lst at the end of config_host.mk
* MOZ_ZIP_* do not have md5sum, do not check for it

Change-Id: I23759aa2f5fdd55b662588fdb0a31568a686aef7
2012-11-27 22:40:25 +01:00
Matúš Kukan
e80393462d support for --with-all-tarballs
- this is needed for packaging, so that all possible tarballs can be
  available in the complete source package

Do not define tarball names in configure. Move the variables into
download.lst, which is going to be included in config_host.mk.
We already have conditions for getting tarballs in Makefile.fetch.

Change-Id: I160aff6426a253814eea07d2467e4942478f653a
2012-11-27 22:40:24 +01:00
Matúš Kukan
bec854077c move check for wget and md5sum to configure
Change-Id: I1951f25ddff112e8184c90006cd6e87a1c02a930
2012-11-27 22:40:21 +01:00
Michael Stahl
9d921baa17 clean up PYTHON related version etc. variables:
- configure defines PYTHON_VERSION, PYTHON_VERSION_MAJOR,
  PYTHON_VERSION_MINOR
- remove pyversion.Makefile

Change-Id: I19ac8df18a520ad56bf63ea038dc0769b8249d0b
2012-11-27 16:57:19 +01:00
Stephan Bergmann
49313b0626 Make python3 work with custom VALGRIND_CFLAGS
Change-Id: Ia4b08a1b20bf46af4d06c0478ed8e795ee543703
2012-11-27 15:35:02 +01:00
David Ostrovsky
47cf2c9441 restore --enable-symbols option
Currently there are 4 different debug options:
--enable-dbgutil (the recommended one)
--enable-debug
--enable-selective-debuginfo
--enable-symbols (for advanced users only)

In this table the properties of each option is shown:
----------------------------------------
options\properties | O | S | D | T | U |
----------------------------------------
production-code    | x | - | - | - | - |
----------------------------------------
--enable-symbols   | x | x | - | - | - |
----------------------------------------
--enable-debug     | - | x | x | x | - |
----------------------------------------
--enable-dbgutil   | - | x | x | x | x |
----------------------------------------

where
O: optimization
S: debug symbols
D: debug STL
T: trace facility
U: additional debug utility (object counting)

Note:
--enable-selective-debuginfo has the same properties as --enable-debug

Change-Id: Ib8a28c6162f47526d6bb33f81f53835cd11894b2
2012-11-23 23:42:39 +00:00
Tor Lillqvist
1781da99f6 Add experimental --disable-export configure option
Even for an Android (or iOS, presumably) app with just viewer
functionality, some export code gets included in the single .so or
executable.

For now, when we know that we are producing only viewer apps for
Android and iOS anyway, it might be a good idea to be able to
carefully bypass some particularly pathological places in the code
that generate large amounts of code and/or data that is useless in a
viewer app.

Change-Id: I59b97024ff2855e7bbe53d6ec8782797705f61d8
2012-11-23 14:03:23 +02:00
David Tardon
f1035c1660 fdo#55435 orcus needs Boost.System with recent Boost
Change-Id: I2df230e0ca6293131ceaf9211fb301165981ab86
2012-11-23 06:51:17 +01:00
Tor Lillqvist
f5bdeec992 Use xcrun when available to run install_name_tool
This hopefully should help in situations like Jonathan Aquilina's,
where /usr/bin/install_name_tool does not correspond to the tool-chain
used (but is from an earlier version of Xcode).

Change-Id: I5b4ca9e5e163fb4a84967577d2146cdbe8344f03
2012-11-22 12:23:18 +02:00
Stephan Bergmann
ea91c7d90d Turn presenter screen from bundled extension to plain code
The immediate trigger was 5e5c11c664 "fdo#42070
Fix RTL support in presenter console" causing build failures on Mac OS X when
linking the extension against vcl, but there should be more benefits of going
from a bundled-anyway extension to plain code.  (Not the least to get rid of the
com.sun.star.drawing.XPresenterHelper hack.)

To avoid unnecessary confusion between the newly plain code and any instance of
the old extension still installed (per-user or shared), I renamed all relevant
identifiers as follows:
* UNO implementation com.sun.star.comp.Draw.framework.PresenterScreenJob ->
  org.libreoffice.comp.PresenterScreenJob
* UNO implementation com.sun.star.sdext.presenter.PresenterProtocolHandler ->
  org.libreoffice.comp.PresenterScreenProtocolHandler
* protocol handler schema vnd.com.sun.star.comp.PresenterScreen ->
  vnd.org.libreoffice.presenterscreen
* configuration schema /org.openoffice.Office.extension.PresenterScreen ->
  /org.openoffice.Office.PresenterScreen (it appears this contains little to no
  user-changeable data anyway, so not migrating it to a new user profile due to
  the schema name change should not be problematic)
* job ID onDocumentOpenedJob -> org.libreoffice.PresenterScreen

Even with these precautions, having the presenter screen installed both as plain
code and as a (per-user or shared) extension still leads to a crash when
activating presentation mode (likely due to how both codes want to take control
of the screen).  To mitigate this, existing installations of the extension are
explicitly not migrated to new user profiles.

The sdext/source/presenter/bitmaps/*.png files were moved to
icon-themes/galaxy/sd/res/presenterscreen-*.png and are now accessed via SdResId
(adding the relevant data to sd/source/ui/inc/res_bmp.hrc and
sd/source/ui/app/res_bmp.src; not sure whether these locations are already
ideal).

The code itself has been left mostly unchanged in sdext/source/presenter/, and
it still clumsily communicates with sd core code via XPresenterHelper.  There is
a lot of room for improvement here.

The help data is left untouched at sdext/source/presenter/help/ and needs to
be incorporated properly into helpcontent2 in a follow-up commit.

The --disable-ext-presenter-console configure switch is gone.

Change-Id: I71adb7ae6dcdbd1802151fce6e3871d8a2026332
2012-11-21 17:47:43 +01:00
Michael Meeks
d04ac66578 dung out berkeleydb gnumake / configure bits ... 2012-11-21 14:52:49 +00:00
Tor Lillqvist
e860c78e23 Use subset of ICU data in a bundled ICU
Change-Id: I71673271ec3e10d16f17f5640cbf6a90a1bfb9f4
2012-11-21 10:39:23 +02:00
Stephan Bergmann
a6139f6fe6 Key different browser plugin features to specific flags
This is a rework of f9059d4eee "Key all browser
plugin features to --enable-nsplugin."  The problem with that was that Mac OS X
supports pluging browser plugins into LO documents (which was originally
controlled by --enable-mozilla) but not plugging LO into browser windows (which
was originally controlled by --enable-nsplugin), so controlling the former with
the same switch as the latter did not actually work.

Thus I replaced the single ENABLE_NSPLUGIN feature flag with two dedicated ones,
ENABLE_NPAPI_FROM_BROWSER (for plugging browser plugins into LO documents) and
ENABLE_NPAPI_INTO_BROWSER (for plugging LO into browser windows).  The
--enable-nsplugin configure switch is gone completely, setting the feature flags
is always done fully automatically now.

Change-Id: Iecf706637465e865c987563b5de489fa90b4c904
2012-11-20 11:24:05 +01:00
Enrico Weigelt, metux ITS
0e682df529 renamed --enable-bluetooth to --enable-sdremote-bluetooth
The current configure option --enable-bluetooth is a bit misleading,
it doesn't really tell what it's actually for. Therefore renamed it,
so it's more clear that it's an sdremote backend using bluetooth.

Change-Id: Ia8b46ee001ea112b80521baa502dcab2bb7e83aa
Reviewed-on: https://gerrit.libreoffice.org/1086
Reviewed-by: Rene Engelhard <rene.engelhard.re@googlemail.com>
Tested-by: Rene Engelhard <rene.engelhard.re@googlemail.com>
2012-11-16 13:55:23 +00:00
Stephan Bergmann
13ef9dcc20 Rename "Mozilla headers" to "NPAPI headers" (incl. configure option name)
...to avoid confusion what that is actually about.  (Especially, it is
completely unrelated to --enable-mozilla.)

ATTENTION:  This renames the configure option --with-system-mozilla-headers to
--with-system-npapi-headers.

Change-Id: I48f3c79d69c4d4f445a94e7ddbeab06ea667becc
2012-11-15 18:15:43 +01:00
Bjoern Michaelsen
4e7f9650e2 remove ancient lo-menubar implementation now that we have the shiny new one
Change-Id: Ie5ea41e7376838ac7f2ebfbe0d703e6a28d8a8a9
2012-11-14 16:30:28 +01:00
Norbert Thiebaud
06b68aaf9b allow to override PARALLELISM and CHECK_PARALLELISM at make time
this allow for
CHECK_PARALLELISM=1 make check

Change-Id: Id7dee09440dda54588965a846f950176d2b4c671
2012-11-14 05:18:38 -06:00
Tor Lillqvist
97d8b88221 Revert "fdo#38878 upgrade xpdf to poppler"
Also revert my two minor follow-up popper commits.

Poppler doesn't build on Mac OS X. It uses fontconfig, and we don't
depend on that on the Mac.

There is a patch from 2009
http://lists.freedesktop.org/archives/poppler/2009-July/004932.html
(actual patch at
http://lists.freedesktop.org/archives/poppler/attachments/20090712/f3b154d0/attachment-0001.obj
) that makes poppler not use fontconfig on the Mac, but it was never
upstreamed.

And that patch uses the obsolete ATSUI API, which we want to stop
using in LO code, not introduce new uses of.

This reverts commit 39f9eb0d85.
This reverts commit 0941c21185.
This reverts commit a6e9bb4c7b.
2012-11-13 10:28:15 +02:00
Peter Foley
a6e9bb4c7b fdo#38878 upgrade xpdf to poppler
Change-Id: Ib908a3acba1faabeb411b4d1459968a362ee8029
Reviewed-on: https://gerrit.libreoffice.org/1036
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2012-11-13 07:29:34 +00:00
Eike Rathke
bfd8721577 fix gb_SPACE in LIBPNG_CFLAGS
Change-Id: I901390b39573f7cf8b3a8971e32e52e9d479d645
2012-11-12 12:55:53 +01:00
Luboš Luňák
136d8962d7 remove make-specific code from config_host.mk
Apparently some people still try to source it from shell (scripts).

Change-Id: If26a5c5eb83739d3ccce043afd095000d355a543
2012-11-09 17:53:13 +01:00
Michael Stahl
cedd9ebdd2 configure: define FOO_CFLAGS/FOO_LIBS so that they are never empty
This allows us to simply pass the already exported variables to invoked
configures, where the non-empty values will override the detection logic
there.

Change-Id: I7353a313814c58922e34843aeae380e5afa442ca
2012-11-09 17:37:01 +01:00
Norbert Thiebaud
060219ac1a binfilter.die.die.die
Change-Id: Ia3c103e4343d309b997ed37e33a382ffdfbddac3
Reviewed-on: https://gerrit.libreoffice.org/1014
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2012-11-09 07:58:02 +00:00
Peter Foley
f745212f96 convert lcms2 to gbuild
Change-Id: I96de6b20b2a68f0982a30d33359e9e9cda9e642c
2012-11-08 19:56:11 -05:00
Stefan Knorr
84ba49c55d Add more fonts
(PT Serif, Source Code Pro and Souce Sans Pro under OFL; Open Sans
under ALv2)

Change-Id: Ic783f0d5841cafce6dba60213b0a658978ff2cfd
Reviewed-on: https://gerrit.libreoffice.org/1007
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-11-08 21:04:16 +00:00
Matúš Kukan
f6abeab070 move more tarball names to configure
Change-Id: I10e3a1f9d375ded2087b7bbd9c3d98b35e7868be
2012-11-08 14:03:23 +01:00
Peter Foley
085346f80d convert lpsolve to gbuild
Change-Id: I0038b21a1b3bde4d8d3f5dd0092d15d858336680
Reviewed-on: https://gerrit.libreoffice.org/1002
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2012-11-07 22:33:48 +00:00
Tor Lillqvist
e10124b20e Goodbye gettext, glib, gdk-pixbuf, pango, libcroco, libgsf and librsvg
Now with librsvg no longer used, and liblangtag no longer using glib,
a bunch of bundled (in some configurations, always on some platforms)
3rd-party libraries are no longer needed.

Initial work by rene, continued by tml.

Change-Id: I76edd7aea5452e3487499f0b9ed9f767cf760194
2012-11-06 18:59:44 +02:00
Norbert Thiebaud
1b61693a15 Enough with that...
peter's gbuildifications caused and ocean of red, that
1/ was not followed up by any attempt by the author to fix
2/ I wasted a good part of the weekend to de-entangle with
only partial sucess

reverting the whole mess for now...
to be resubmited when a bit less borked...

This reverts commit c4c160a451.
This reverts commit faef2e51d0.
This reverts commit 057ce1fe29.
This reverts commit a7d34af344.
This reverts commit befae0ceb8.
This reverts commit 433b43bcd2.
This reverts commit 93e2c4a9d2.
2012-11-04 16:33:21 -06:00
Peter Foley
433b43bcd2 convert lcms2 to gbuild
Change-Id: I96de6b20b2a68f0982a30d33359e9e9cda9e642c
2012-11-04 09:02:09 -05:00
Peter Foley
93e2c4a9d2 convert lpsolve to gbuild
Change-Id: I0038b21a1b3bde4d8d3f5dd0092d15d858336680
2012-11-03 19:52:07 -04:00
Peter Foley
dd584cb4ea convert hyphen to gbuild
Change-Id: I55b3832128aa096eb44b67a26ec2afeb6c573604
2012-11-03 14:45:45 -04:00
Matúš Kukan
d281a19e1d these have been converted; use _tarball variables
Change-Id: I9215fbfaf5c2e5d40e7257cd52d8d9544599ea63
2012-11-03 00:24:23 +01:00
Christian Lohmaier
664012b313 remove GIT_REPO_NAMES (duplicated by GIT_NEEDED_SUBMODULES)
use plain copy instead of git-new-workdir when using --with-linked-git
configure switch (point it to your master copy of the core-repo)
also remove obsolete bin/create_bootstrap_links, bin/mkworkdir and
bin/repo-list[.in]

Change-Id: I37028badf2c46a24a3d628e80476efe4dd365d06
Reviewed-on: https://gerrit.libreoffice.org/912
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-10-31 16:29:12 +00:00
David Tardon
069704d390 fdo#55514 libgmodule is needed too
Change-Id: Icee2ffbe18ea732220f174cd4bf433ceb03d128b
2012-10-31 13:22:30 +01:00
David Tardon
a6f97a750d fdo#54327 put system nss dlls into the install set
Change-Id: Ie809bba726c4d17eac25d36381d93ea9781d74be
2012-10-31 13:22:29 +01:00
Matúš Kukan
ed0b160041 fix parallelism variables and let's have only --with-parallelism from now on
Rationale:
- it is advised to use max-jobs and num-cpus with the same value in wiki
- max-jobs was used only for lcms2 and few gbuild
  modules outside of tail_build anyway.

Also fixes:
- really use CHECK_PARALLELISM when meant to
- EXTMAXPROCESS is not defined in gbuild;
  use parent's jobservers in sub-make where possible

Change-Id: I501de732d223ce0c935081bd1d73da611d16ee88
Reviewed-on: https://gerrit.libreoffice.org/930
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2012-10-30 20:34:03 +00:00
David Tardon
5644397e44 fdo#55514 put liblangtag dll to install set
Change-Id: Ia2df651604358c70c0af129b5d60b149d2f1629e
2012-10-30 15:25:20 +01:00
Stephan Bergmann
14d45795b2 Setting CLASSPATH/XCLASSPATH appears to be a leftover
...from the old dmake and/or Hamburg-specific set up.

Change-Id: I441ce66dd91d353196cd9d1a9853720195a6fcdc
2012-10-29 17:32:51 +01:00
Peter Foley
0f075129c9 convert curl to gbuild
Change-Id: I8c038a0c59660f4fb672d71c08e6ee0b56c302ee
2012-10-29 12:25:53 -04:00
Peter Foley
2e4ab69246 convert hunspell to gbuild
Change-Id: I285292ca7f7252399c3898ca49f73727ab569fca
2012-10-28 14:23:32 -04:00
Matúš Kukan
c3a586a716 openldap: convert to gbuild
Change-Id: Ic1c4c58a09fd41bce78731e61349baa129f5e935
2012-10-28 15:16:19 +01:00
Matúš Kukan
51fca817e2 epm: convert to gbuild
Change-Id: I1548f3b9339163a7abab637acad620b50cfc3a26
2012-10-28 15:14:28 +01:00