1018 Commits

Author SHA1 Message Date
Michael Stahl
264c136697 configure: check for Python2 >= 2.6 as well
Change-Id: I568dc7c83cf60f2782ac730dc5efcb0e4b8de8a2
2012-11-26 23:14:34 +01:00
Rene Engelhard
7af306fb25 check for python >= 3.3 in configure when building with python3
Change-Id: If25d4d1d583caace32934d7a7230bb86330cfbed
2012-11-26 22:19:37 +01:00
Tor Lillqvist
febad365b8 Clarify --disable-export meaning
Change-Id: I7074ece89025f4a82c7ce1818576591f8852cd3c
2012-11-26 13:06:27 +02:00
Jan Holesovsky
7861bf081e Update to be able to at least start the MinGW build again.
Change-Id: I51a3cf81bf6ba4f0d50cb3f2ac52c2d220955b56
2012-11-25 12:46:50 +01:00
Stephan Bergmann
7bf64a5af4 Turn PDF import from bundled extension to plain code
No need for dirty hacks linking in basegfx objects statically any more.

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
UNO implementation identifiers from com.sun.star.comp.documents.* to
org.libreoffice.comp.documents.*.  Also, existing installations of the extension
are explicitly not migrated to new user profiles.

The xpdfimport executable is now in program/, its xpdfimport_err.pdf in
share/xpdfimport/.  To simplify finding the _err.pdf from xpdfimport, its full
pathname is now given as additional second argument to xpdfimport.  To find
xpdfimport executable from CppunitTest, CppunitTest creates a symlink from
solver's unittest/installation/program to solver's bin, so that
"$BRAND_BASE_DIR/program/xpdfimport" works there (as CppunitTest now sets
BRAND_BASE_DIR to solver's unittest/installation).

The sdext/source/pdfipmort/dialogs/ Basic stuff appeared to be unused (even
though it was included in the .oxt) and has been removed.

The --disable-ext-pdfimport configure switch is renamed to --disable-pdfimport.
Having it still conditional requires some pdf_Portable_Document_Format vs.
pdf_Portable_Document_Format_import foo in module filter.

Change-Id: Iee58c2f6187142a418decc9ea3a5df10eb7e0523
2012-11-24 23:21:37 +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
Jan Holesovsky
600e359786 Improve the error messages.
Change-Id: I1c5e2440e0d3c520221cc19bf2d6152970e156c1
2012-11-23 21:06:57 +01: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 5e5c11c664f67ff9fd1120905b09a32bea3b2f6c "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
Fridrich Štrba
ec6013c88a Revert "Xlib import via generic pkg-config"
It breaks our baseline Linux release builds where x11_extensions
headers are actually used.

This reverts commit 3f00bc6717964c2d4db26093b64a68f93c7de906.
2012-11-21 16:28:14 +01:00
Michael Meeks
d04ac66578 dung out berkeleydb gnumake / configure bits ... 2012-11-21 14:52:49 +00:00
Enrico Weigelt, metux ITS
3f00bc6717 Xlib import via generic pkg-config
Generic importing Xlib+friends via pkg-config, instead of scanning
through a list of directories. This is very helpful for non-standard
installation pathes and crosscompiling, as the generic pkg-config
infrastructure will handle it all.

Also dropping the obsolete bundled Xext headers.

Conflicts:
	vcl/prj/build.lst

Change-Id: I6ee381030ff9f1d2d83062a17ab55ad3d847a4c6
2012-11-21 14:30:11 +00:00
Matúš Kukan
93abcf4e4b get ICU_DATA_SUBSET_ZIP into ooo.lst when cross-compiling
Change-Id: I73ef1e331f3cec8e2769b177ec1767cf35fcb817
2012-11-21 15:02:50 +01:00
Matúš Kukan
e22be4a8e4 scp2: more cairo fixes
Change-Id: Icaaf0c8355d992fcf652c275ea1ebff98f6d3d58
2012-11-21 11:08:33 +01:00
Fridrich Štrba
d34ce24fb2 Uploading libvisio 0.0.21 release
We can now open ALL Visio file-formats that ever existed

Change-Id: Icfe91421c8ddbba206e2cc0ce59bf718883e5477
2012-11-21 10:56:02 +01:00
Tor Lillqvist
e860c78e23 Use subset of ICU data in a bundled ICU
Change-Id: I71673271ec3e10d16f17f5640cbf6a90a1bfb9f4
2012-11-21 10:39:23 +02:00
Luboš Luňák
7855aef5a5 we use gtk only for unix gui
Change-Id: Id783d15cd18a101ef137df0bbf59e472d4a0a490
2012-11-21 08:45:29 +01:00
Luboš Luňák
e8f1df149e cairo will be tested for with guibase unx even without gtk
Change-Id: I0f433e1fc42e3aff955867d8af3e4c1935794b7b
2012-11-21 08:45:29 +01:00
Matúš Kukan
d23764182c check harder whether to build cairo
Change-Id: Ica2b9f1535f92c1b1cbceb7ec99ea96696742568
2012-11-20 22:32:26 +01:00
Andras Timar
c75ed68f05 translations is a source-only module
Change-Id: Ib89ccdfe3646f68df6b483c54eb330c0b223c32a
2012-11-20 22:11:36 +01:00
Matúš Kukan
2cb7ba189d cairo: convert to gbuild
Change-Id: I1f3dd368a0d0b78b73df3baad214a1079bbbd1d3
Reviewed-on: https://gerrit.libreoffice.org/1144
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-11-20 20:36:42 +00:00
Stephan Bergmann
a6139f6fe6 Key different browser plugin features to specific flags
This is a rework of f9059d4eee8e53c0a6b531fff16e1fade58cb8b0 "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
Tor Lillqvist
96682a78cf Fix misleading comment
Change-Id: I70155825cb591b9ef60d82d81e2a51e9e25b96e4
2012-11-19 20:32:40 +02:00
Stephan Bergmann
f9059d4eee Key all browser plugin features to --enable-nsplugin
...instead of having them spread across --enable-nsplugin (plug LO into browser
windows) and --enable-mozilla (plug browser plugins into LO documents).  The
ultimate goal is to clean up the various configure options mentioning "mozilla"
and WITH_MOZILLA.

Change-Id: I6f4b1c3a5701424f586cc1e303af90c9d59a91b6
2012-11-19 17:41:01 +01:00
Mathias Michel
67fca36dbe Better handling of well-know prerequisites under windows
Add moz prebuilt & msvcrt80 copy

Change-Id: I335c25904c16db534a4878ff6a17db202eaef4f5
Reviewed-on: https://gerrit.libreoffice.org/1100
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-11-19 09:29:52 +00:00
Rene Engelhard
e3a8f17574 one more fix for ENABLE_SDREMOTE_BLUETOOTH logic
Change-Id: I291eb59b54410f24a1a4b227bea2b55d3e3355b7
2012-11-16 14:58:19 +01:00
Rene Engelhard
e4c0363a87 improve new enable_sdremote_bluetooth AC_MSG_CHECKING...
Change-Id: Ic63e5d9406b39006e76e3044213d58405e4fa557
2012-11-16 14:58:19 +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
Matúš Kukan
c06e51aa43 ooo.lst: add also tarballs needed for build platform
Change-Id: I121b9f8822afc379a619eaa52c5e050457f1d8c3
Reviewed-on: https://gerrit.libreoffice.org/1082
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2012-11-15 15:27:08 +00:00
Matúš Kukan
d106203216 remove duplication
Change-Id: I6a42370873708e4b016e75829064da6080acf811
2012-11-15 13:42:33 +01:00
Tomas Chvatal
c78d7a8a0e Drop the check for unordered_map.hxx
The check itself was always failing unless you added 0x to cxxflags
and we can safely assume the header to be there.
If the header fails during compile time it throws nice
error explaining what is going on anyway.

Change-Id: Iedff10f3b2562f731063107df7220efa124aca08
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-11-15 13:08:45 +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
Enrico Weigelt, metux ITS
8ea17cdae7 dropped obsolete --with-system-gettext configure option
Change-Id: Ia46cb802d40bb1ba199cf937f332c4b343bc22e9
Reviewed-on: https://gerrit.libreoffice.org/1060
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2012-11-14 13:19:43 +00:00
Tor Lillqvist
b537d0219f We need also PATH from the BUILD platform environment
Change-Id: I339760db569cefd43353a205b0c364f6c5976448
2012-11-14 14:24:54 +02:00
Tor Lillqvist
3d98192d1d Copy also bin/get_config_variables to the CONF-FOR-BUILD directory
Change-Id: Ifb9980257b639651c88c5ec65ba9362bccbca183
2012-11-14 13:24:46 +02:00
Norbert Thiebaud
7c319154f8 stop sourcing config_host wholesale, use get_config_variables instead
Change-Id: I1390da403a2f0aab0f4e8323daa9f2fad4ba2550
2012-11-14 05:18:37 -06:00
Fridrich Štrba
f3d2d9aaaf Upgrading postgresql to 9.2.1
Change-Id: If6e58db174159111dec9c6ab39258d757a3e6ba5
2012-11-13 17:12:31 +01: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 39f9eb0d856293a974e2f024b29dca20068af073.
This reverts commit 0941c211858416f6117548e093b428b64785f98a.
This reverts commit a6e9bb4c7bad649cb44efaeef67fa18090348c53.
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
Petr Mladek
bf83aaf609 bump version to 4.0.0.0.alpha0+
Change-Id: I04cb89d04ebebcaef2276813864f79365f6899fd
2012-11-12 12:33:37 +01:00
Caolán McNamara
592f1e5b04 bump to libexttextcat-3.4.0 for fixed Polish detection
now we are "post convert libexttextcat to gbuild" of
31219f0f97d081d94d927b5c3d08bb8677b22506 and no longer
need the deleted makefile.mk under windows

Change-Id: I1052ab7f6db28182c700f55b25ef897339dc69dd
2012-11-12 11:18:29 +00:00
Caolán McNamara
81a7805906 fiddle system-db test to link on RHEL-6
Change-Id: Ic256a10dd45123ae45024f4e77edd3214bc4c931
2012-11-12 11:18:29 +00:00
Miklos Vajna
13bfe67103 configure: don't pass --disable-mozilla around, it's the default already
Change-Id: I439db77e36af700b34ab9656704cdb3b3359c9ec
2012-11-11 12:14:26 +01:00
Matteo Casalin
e7037b2e7e Kill set_oenv remnants (by just renaming the required timestamp file)
Change-Id: I779128111a4f69235a4c8cc6510018fc61d1b24b
Reviewed-on: https://gerrit.libreoffice.org/1026
Tested-by: Tor Lillqvist <tml@iki.fi>
Reviewed-by: Tor Lillqvist <tml@iki.fi>
2012-11-11 08:05:14 +00:00
Michael Stahl
3bdb950f5e RepositoryExternal: fix gb_LinkTarget__use_valgrind
... which i've also managed to break, unaware of its existence.
Consolidate 2 different ways to use VALGRIND_CFLAGS.

Change-Id: I245c7a9a2b6bc904a227a15063cf5d8a2f64313c
2012-11-09 20:22:45 +01:00
Michael Stahl
d91c37274f configure: oops, let's try to fix that valgrind thing again...
Change-Id: I151aa45838edbaa713b40716e45a75e812b7c782
2012-11-09 19:59:04 +01:00
Michael Stahl
89f80c1671 configure: why not set up VALGRIND_CFLAGS all in one place
Also unbreaks the build because VALGRIND_CFLAGS is now never
empty with cedd9ebdd260e99e74ad54391c0d0b1d1ebd9891.

Change-Id: Ide5ca799b3656ccaff483ca05dbc18682136345f
2012-11-09 19:29:47 +01:00