Commit Graph

1292 Commits

Author SHA1 Message Date
e8f09adf5b fix setup_native localization for mac
Change-Id: Ifcd3a96e1e0d53bb7dabb3e8cda1846ca2d262be
2013-02-13 17:13:31 -05:00
dbb60dd9ae fix exported DLL function names for all CustomActions
Change-Id: I1c15003acfb4d1c49c990a247629c70c4dcc3bd3
2013-02-13 12:12:21 +01:00
eb6fa6be75 remove thesaurus indexer CustomAction
It was never integrated and used. If we made the effort to integrate it,
Windows installer would be a few megabytes smaller, because indexes of
thesauri would be generated in install time (instead of packaging
pre-generated indexes).

However, the cons are:
* untested
* presumably slows down instal process which is slow already
* adds complexity to installer which is too complex already
* indexes will not be there in case of administrative install (QA)
* bad experiences with CustomActions that manipulate the installed
  application (various, weird permission problems)

Change-Id: I3989b835b1250718bc03107a3807d091e7a9aa0e
2013-02-13 12:12:20 +01:00
283ad1f83f Fix typo to make --enable-online-update build again. 2013-02-12 17:33:13 +01:00
6842be374c It's better to use fclose on a not null handle
Change-Id: I609270e269a0905818d6a2b4f44cb9a034099346
2013-02-12 16:31:28 +01:00
f5c015bb55 More setup_native fixes for --enable-epm Linux/RPM post gbuild'ification
Change-Id: I27e0e68ebc27dd89c254793e670d0bf5f48fe57e
2013-02-12 11:21:44 +01:00
8eaac1d731 don't duplicate code for msvc and gcc
Change-Id: I65f33f31fb31ad5b2373bbc08865ca5b358d7ce0
2013-02-12 08:34:39 +01:00
684951f146 msvc needs instooofiltmsi too
Change-Id: I343bedcfb588bfd3fbfea572e7ce24c77c0b8178
2013-02-11 17:00:20 -05:00
33b838a449 stdcall and declspec(dllexport) don't play nicely together
Change-Id: I56da76771790cb6824ac3d01072d9143cb580741
2013-02-11 16:57:06 -05:00
ebb263856c Make instsetoo_native build again on mingw
Change-Id: I62d8ae0da7e98d4c2196b4d41e06ffe0b3a046f8
2013-02-11 21:22:22 +01:00
67fbad1d1d Make setup_native build again for --enable-epm Linux/RPM
Change-Id: Idf526227c90fd2614650770b172bb69b432a76c6
2013-02-11 17:49:26 +01:00
aa2450cb51 advertised shotrcuts
The main goal of this patch was to simplify things. The LibreOffice
version that goes to Intel AppUp use advertsied shourtcuts, because
it is what Intel AppUp Center requires. We can reduce complexity a
bit, if we use advertised shortcuts in normal builds, too.

Change-Id: Ia35a753c83cb592137232428ab897a640e7ccc1f
2013-02-11 14:32:19 +01:00
5f2cfb8dc5 Revert "replace '$<' with '$%' as it was meant here"
This reverts commit ef300e2dc3ac163cff14d659cc6e2154221c1a4e.
2013-02-10 13:45:06 +01:00
a92ae7280e Revert "fix fake-db-1.0-0.noarch.rpm: swap target with prerequisite"
This reverts commit ef45fe7ff055692ec43bb5d6a438fb6ec29a9004.
2013-02-10 13:44:56 +01:00
03b9ff533b Module_setup_native: include Package_ulf.mk
Change-Id: I023363a81af4909f3914354b082dfc2f0315e097
2013-02-10 11:51:02 +01:00
ba811adbe9 Package_ulf.mk: remove superfluous mac dir
Change-Id: Ib91eec962105fffeae9d563c18ff9192a90137c0
2013-02-10 11:24:51 +01:00
514d4bf561 wintools: fix uncomplete source file path
Change-Id: I1869dc0ac2356a0d9c18dd7958a291dcbdaf14f3
2013-02-10 10:33:17 +01:00
ef300e2dc3 replace '$<' with '$%' as it was meant here
Change-Id: I760eff2a3a1cb28a1a4e47368b7919a0feacad18
2013-02-10 10:14:40 +01:00
4de0eb702f '$(PERL)' is missing in command line
Change-Id: I00bb54e868e777de219ecbe7ef48c250627449bb
2013-02-10 10:05:37 +01:00
ef45fe7ff0 fix fake-db-1.0-0.noarch.rpm: swap target with prerequisite
Change-Id: I3c2940d3d6f64bcef5f9169654138170bda49d4d
2013-02-10 10:00:30 +01:00
e7014ca47b Fix Resource leak: ddf
Change-Id: I4361b4f4670a0437c8220d2e7f92f2ffbe0cc479
Reviewed-on: https://gerrit.libreoffice.org/2057
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-09 22:43:46 +00:00
4261757fc6 convert setup_native to gbuild and add to tail_build
Change-Id: Ie12338dada22c59d55d89ed9611bb1a958b04223
Reviewed-on: https://gerrit.libreoffice.org/2063
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-02-09 20:41:19 +00:00
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
bb94a059f6 Actually remove it
Change-Id: I519e4cfb7821644f243e0c4770f74f6ee6657168
2013-02-01 14:36:09 +02:00
4e4bbb913e linuxpatchscript.sh is surely something we don't use 2013-02-01 10:26:03 +02:00
953a75d2db Remove mention of osx_install_patch.applescript from here, too 2013-02-01 09:59:03 +02:00
1caf6ef7b7 Remove unused osx_install_patch.applescript 2013-02-01 09:56:38 +02:00
0701e1ab56 remove CopyEditionData CustomAction
It is not entirely clear what this CustomAction was supposed to do, but
program\edition directory is not present in LibreOffice, therefore this
feature is useless.

Change-Id: Icfcd9c5f88da28e171329d951956baaa42908fd0
2013-01-30 15:25:07 +01:00
cf4ca99234 remove DotNetCheck CustomAction
We do not need to call a dll function for a simple version check.

Change-Id: If82b06a61f10dbfe3eb92b6fe495e6d800c57aff
2013-01-30 15:25:05 +01:00
d14c765b6e remove CopyExtensionData CustomAction
It copied *.oxt from [SourceDir]\extension to TARGETDIR\share\extension\install.
One might think that *.oxt files there get installed automagically at first start,
but no, it does not happen. This feature looks useless.

Change-Id: I5ce583f3b46f5e4e962449790bdce70f99aa135b
2013-01-30 15:25:04 +01:00
030124d836 remove CustomAction ExecutePostUninstallScript
I think this CustomAction is unnecessary, providing that we do
not use Star Division home-made PATCH technology. I have never
seen this CustomAction used in any OpenOffice.org/LibreOffice builds.

Change-Id: I62f3b5a3ef8a9686f018ca1af52689954262e830
2013-01-30 15:25:02 +01:00
bc20ba9cd6 convert SetAdminInstallProperty CustomAction to type 51
It does not make sense to call a dll function to set a single property to 1.

Change-Id: I4e3cb35d2d3b644805d1d7573c9bf1dc45befbd4
2013-01-30 15:25:00 +01:00
e0ea85f61a we don't build language packs on Windows
Change-Id: I672886764e9451a983b823ec3666f126b758bd1e
2013-01-30 15:24:57 +01:00
55fc2b96bb Revert "fix for fdo#39632 : Consolidate GetMsiProperty()"
This reverts commit 95ee7d9cd3a0b0f397def8e607759c81feb8c592.
2013-01-27 20:34:31 +01:00
2d70b928a9 Revert "chmod 644"
This reverts commit bf8e8e8bd03647632ed0b55c2b983a4d16cee40e.
2013-01-27 20:34:29 +01:00
7bc44705c0 still not enough boost_header
Change-Id: Ic0ee933fbee7368f0af2573ea33a5ce33f4043c4
2013-01-27 01:50:56 +01:00
bf8e8e8bd0 chmod 644
Change-Id: Idc06412b8be705ba0cd5695257fd961864e2ad6a
2013-01-23 12:30:42 +01:00
95ee7d9cd3 fix for fdo#39632 : Consolidate GetMsiProperty()
And did it also for GetMsiProp() and *MsiProperty()
Reworked some conditions related to that.

Change-Id: I1cd082361126db3d9aced3a878b19e7052514864
Reviewed-on: https://gerrit.libreoffice.org/1816
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2013-01-23 11:26:08 +00:00
2ce7bc907f Update default dictionaries set for Lithuanian (related to fdo#59380)
Change-Id: I42a2032e03035b0e45a800c068879e9820471dfc
Reviewed-on: https://gerrit.libreoffice.org/1776
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2013-01-22 19:01:07 +00:00
efddbb9409 fdo#59713 add Bosnian Hunspell dictionary
Change-Id: I84a561fe081040a56acd394b789e2ce1cb488457
2013-01-22 17:52:59 +01:00
b920a2a868 fdo#59370 Default dictionaries set for Russian UI
Change-Id: I38c5ae35291fb79f2a95f911ce2ff86234d5ee8a
2013-01-15 08:33:08 +01:00
44a715eebc fdo#59381 Default dictionaries set for Catalan UI
Change-Id: Ie207ed693847fc9791851e22eddb7b7e8ba76b41
2013-01-15 08:32:52 +01:00
0736a62dac fdo#59380 Default dictionaries set for Spanish UI
Change-Id: Idaa9afd9751c1272ea3dc1d621b8d40a8a7dbbd7
2013-01-15 08:32:37 +01:00
26c142ca5f Kill the ancient StarOffice "patch" concept
For Windows, superseded by Windows Installer patching (i.e., creating
.msp files), which is something completely different. (And quite hard
to get working... but still a saner approach, I think.)

For Linux, many distros use delta RPMs or similar, so no home-grown
LO-specific patching mechanism is needed.

Remove the -patch and -patchinc command-line options to
make_installer.pl and all code that was invoked only when using those.

Remove the PATCH and PATCH_ONLY flags in scp2.

Remove the patchmsi.dll Windows Installer custom action.

Change-Id: I09e949e601a969f88eff60067faa2352f4f89537
Reviewed-on: https://gerrit.libreoffice.org/1605
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-01-10 09:32:36 +00:00
d8385c2cfc Always default-select English dictionary
It was discovered that on a Russian Windows, by default only Russian and
German dictionaries would be installed, but no English dictionary.  This is
because since e2fac98819c00b4fb50f9de9d0f32d20092f3191 "fdo#53009: For msi
installer, only default-select a subset of dictionaries" only those dictionaries
mentioned in setup_native/source/packinfo/spellchecker_selection.txt were
default-selected, but it apparently was a misunderstanding that
spellcheker_selection.txt for many locales does not list "en" even though an
English dictionary should always be default-installed.

Quoting Andras Timar <atimar@suse.com>:  "AFAIK en-US localization with English
dictionaries is always installed in all 3 supported platforms by default.  On
Windows default install should always select en-US and English dictionaries.  If
it does not do so under certain circumstances, then it is a bug in my opinion.
We removed en-US entry from the spellchecker selection file for this very
reason.  It would have only bloated Mac and Linux langpacks."

So this fix simply makes sure that "en" is included in every line of the
generated spellchecker_selection.hxx that is used by
setup_native/source/win32/customactions/sellang/sellang.cxx to determine which
dictionaries to select by default.

Change-Id: I3db68585dc6269a7db2f6cbf6b79796dc09d05e8
2013-01-09 15:19:56 +01:00
c29098917a Get rid of (most uses of) GUI
GUI only takes values UNX or WNT, so it is fairly pointless. One can check
whether OS is WNT or not instead.

Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34
Reviewed-on: https://gerrit.libreoffice.org/1304
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-25 17:53:25 +00:00
a737ae58cc WaE: unreferenced local variable
Change-Id: If234ce4af0f988c135a90a98312e24e4d80ca92c
2012-12-25 13:32:22 +02:00
31f1a12ca5 LibreLogo should be an optional module
On Windows it is installed by default, but can be disabled in
the installer easily.

Change-Id: Ic820f08b51edf71eb09fd3533dc42b82bd06bb38
2012-12-12 00:10:26 +01:00
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
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