Commit Graph

539 Commits

Author SHA1 Message Date
29c4a88e01 Revert "--with-lang=ALL build exceeds maximum # of files in CAB"
This reverts commit 3bfac473a1b1dfb2210ec07245e649697679bd83.

With Matus Kukan's work, which packs .ui files into .zip archives,
file count is reduced dramatically. Multiple .cab files won't be a
problem in theory, but unfortunately both .cab files had the same
disk id 'DISK1' and it caused problems with MSP patch generation.
2014-08-23 17:40:36 +02:00
3251450cbd --with-lang=ALL build exceeds maximum # of files in CAB
so don't limit the installer to one single file, but use 2 instead

Change-Id: I6fb22d217e1afe71143f0b3a5999e54eec190ddd
2013-11-25 13:41:09 +01:00
edb0626a37 define module, not file
Change-Id: Ie828de19cc35228cd332ecbb5e11f2edb281bad8
2013-11-22 16:57:25 +01:00
45d4b9b5e3 renamed ku* to kmr-Latn*, fdo#63460
Change-Id: I8069657d8829a0315c704e884a1cf15b26e02eb8
2013-11-18 22:23:37 +01:00
7b3133ad88 instsetoo_native: shouldn't need instdir in include path
get_Source_Directory_For_Files_From_Includepathlist already
has a special hack to find all the files in instdir so ideally it should
not be necessary to put these directories on the include path.

Clean up readlicense_oo to make that possible; also copying license.txt
as-is to LICENSE on Unix but first converting it on WNT is rather silly...

Change-Id: I95f30bc5e0b7ca73c50156a7ce0131640185778c
Reviewed-on: https://gerrit.libreoffice.org/6613
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-11-08 04:03:31 -06:00
2203611500 installer: remove (now unnecessary) shlxthdlpath
Change-Id: Ic84cdc33f470ce3ed143d86add04a422f8b9e365
Reviewed-on: https://gerrit.libreoffice.org/6614
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-11-08 04:03:22 -06:00
dd08ef89d5 Hack to find instdir/*/LibreOffice.app/Contents/LICENSE.html on Mac OS X
Change-Id: I3f2b12534b6d83e4ae2c2a61a6f81ddf8cdad2cc
2013-10-31 21:50:29 +01:00
5d8f48c81e solver doesn't solve anything...
... it is an abbreviation of "Solar Version".

Since nobody can remember that:

remove OUTDIR OUTDIR_FOR_BUILD SOLARVER SOLARVERSION solarpath
and any mention thereof.

Change-Id: Idb3031c4f25a76ac05b22ec67e3ca3e1e8e512ad
Reviewed-on: https://gerrit.libreoffice.org/6515
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-10-31 15:42:24 +00:00
704451d95d gbuild: add ExtensionPackage class
Change-Id: I65ca50ccc512e35a5b95c2482f3a8833d1a7294b
2013-10-31 10:42:24 +01:00
daa2f80bca gbuild: InstallScript: use scripts from WORKDIR
Change-Id: I741edcabf86801f77ff58bc42a81372053c7901b
2013-10-31 10:42:24 +01:00
fa424af27e readlicense_oo: stop delivering files to OUTDIR
- remove Package_readme, use generated files from WORKDIR via include
  path
- Package_license and Package_files deliver to INSTDIR
- split up Package_odk_shared_readme to have extra Package for
  generated files
- gb_Extension_LICENSEFILE_DEFAULT points to INSTDIR

Change-Id: I019d3431e30d982e887ae0000c755e0d61f98893
2013-10-31 10:42:24 +01:00
2a0a670945 setup_native: remove Package_scripts_generated
... instead add an include path to the installer.

Change-Id: I5650d5d1d84620a04a9a92825733f3927da2053d
2013-10-31 10:42:23 +01:00
862b9390b4 setup_native: find all static files in source/packinfo
... and move the OSX specific files there too so we don't need several
include paths.

Change-Id: I9368e12d4cf85da3795939b51540eaf7f5d0a7d3
2013-10-31 10:42:22 +01:00
9c40b2d67c sysui: remove Package_desktop
... put the CustomTarget dir on the search path instead.

Change-Id: I2888e10bfa58d3c5b0f39958328efb14c3ce92a9
2013-10-31 10:42:21 +01:00
5503a68395 cli_ure: remove CLI version Packages
Tweak the installer so it reads the included files from SRCDIR.

Change-Id: Ic4d3d2c003c2d0c5aebea6dd32f5989f3d4f04e4
2013-10-30 00:01:36 +01:00
359472b2b5 Remove *_Test product, so cppunittester can be NONE again
...as per #libreoffice-dev IRC:

Sep 19 10:32:24 <mst__> sberg, moggi  why the hell is that thing named
  "cppunit/cppunittester" and inside a subdir?  it's obstructing my attempt to
  put it in $(INSTDIR)/program
Sep 19 10:33:28 <mst__> (... and if you wonder "wtf does it have to do with
  INSTDIR" you have never heard of awesome LibreOffice_Test installset.... not
  that i would know who needs it :)
Sep 19 10:36:36 <sberg> mst__, it is in a subdir of solver/*/bin so that on
  Windows it would not accidentally have picked DLLs next to itself instead of
  the module-local DLLs it was supposed to test (back when we had module-local
  output trees)
Sep 19 10:37:02 <mst__> sberg, ahh hysteric reasons then, /me renames it
Sep 19 10:37:55 <tml> mst__, if nobody you know uses LibreOffice_Test, just kill
  it?
Sep 19 10:38:59 <sberg> mst__, tml, LibreOffice_Test was conceived by pmladek
  and/or kendy, IIRC
Sep 19 10:40:31 * kendy does not remember anything about it :-)
Sep 19 10:42:17 <sberg> wasn't that something so users (or QA people?) could
  easily run the smoketest against an installation, to see whether the
  installation is any good at all, by installing that LibreOffice_Test alongside
  the installation proper?
Sep 19 10:43:26 <sberg> mst__, ...and I'd unscientifically vote to kill it
Sep 19 11:34:23 <pmladek> mst__, sberg: I have created the LibreOffice_Test
  package for one QA guy. He does not longer work on LO. I am not sure if anyone
  else started to use it. So, I think that it can be killed.

Oct 17 18:18:07 <tml_> sberg: have you ever noticed that when you try to
  actually run instdir/unxmacxi/LibreOfficeDev.app , the system actually tries
  to run cppunittester inside the app bundle (it says so in the crash report)
  (it crashes because cppunittester requires a specialized DYLIB_LIBRARY_PATH
  apparently)
Oct 17 18:19:29 <tml_> I suspect that the system when cppunittester as part of
  the build process is run from inside instdir (i.e. inside an app bundle) the
  system "caches" this false knowledge, and thinks that the executable of the
  app bundle is cppunittester...
Oct 17 18:19:36 <sberg> tml_, no, never noticed; with "run
  instdir/unxmacxi/LibreOfficeDev.app" you mean calling "open
  instdir/unxmacxi/LibreOfficeDev.app"?  (I always call
  .app/Contenst/MacOS/program explicitly)
Oct 17 18:19:52 <tml_> yes, I mean "open instdir/..."
Oct 17 18:20:53 <tml_> some googling tells me that at least years ago, the
  CFBundleExecutable key in the Info.plist is ignored if it is manually changed,
  so I guess similar caching of mapping between an app bundle and which
  executable to actually run happens in this case
Oct 17 18:23:17 <tml_> and last year somebody even claims "And while on Mountain
  Lion, CFBundleExecutable seems to be a no-op", which would be odd, surely
  there must be widely used apps that have several executables inside the MacOS
  directory; how would the system know which one to run when the app is run?
Oct 17 18:24:38 <tml_> hmm, apparently the code that handles this might be open
  source even, http://www.opensource.apple.com/source/CF/CF-744.18/CFBundle.c
Oct 17 18:25:52 <tml_> some mention of "caches" there yes, my guesses might be
  right
Oct 17 18:27:05 <tml_> if I cp -R instdir/unxmacxi/LibreOffice.app foo.app and
  open foo.app, it works fine
Oct 17 18:28:33 <tml_> anyway, I guess it would be cleaner to have cppunittester
  somewhere else even without this problem
Oct 17 18:37:09 <sberg> tml_, yes, IIRC having cppunittester in instdir was a
  misguided mst decision, because that odd LibreOffice_Test product (that
  pmladek said nobody needs any longer anyway) includes it; I think consensus
  was to kill LibreOffice_Test and move cppunittester where all the other NONE
  executables are, but looks like nobody executed
Oct 17 18:37:55 <tml_> ah ok, so mst should know what needs to be done? good, no
  need for me to try to hack this now then
Oct 17 18:38:19 <sberg> tml_, I'll do the cleanup tomorrow, unless somebody
  beats me

This removes smoketest/losmoketest et al along with the *_Test product, as they
seem to not make sense without it anyway.  smoketest/Executable_libtest.mk
appears to be a test that could also be run during the build, and only ended up
in the *_Test product by accident, so I left it untouched for now.

Change-Id: I8024472c909fe0a885eb08ef4d3777f8a9e1f7c8
2013-10-18 14:44:47 +02:00
7493956f7b fix building debs with epm (find libgetuid.so in instdir)
70c35265f517ef372cb739d4cc64499abf57a838 and
f89cce877cc0480e00ee226780dec887f9d0063a moved most stuff to instdir,
but forgot about epm and deb-builds. libgetuid.so that is needed to
build the debs is in instdir/ure/lib, but that wasn't added to the list
of include paths.

Change-Id: Iaf3f8cb2f6329dd66fe9f3862fd71f2037813d97
Reviewed-on: https://gerrit.libreoffice.org/6142
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-09 13:21:57 +00:00
f67d166b30 remove run-time replacement of %WRITERCOMPATIBILITYVERSIONOOO11
Instead hard-code OpenOffice.org 1.1 as the value, since StarOffice and
StarSuite are irrelevant.

Change-Id: I9ab3d1cf38cf64cd4e440b3ae43158f748ead7d2
2013-10-01 18:03:37 +02:00
bbbc51e931 Create a proper Info.plist for the OS X app bundle already in configure
After recent instdir changes the SCPZIP_REPLACE thing was not used any
more for Info.plist, so all the ${FOO} things were left in Info.plist
unexpanded with predictably wonky results, a non-working app.

Instead just expand it from the configure script.

While at it, use a correct CFBundleShortVersionString: only three
integers should be in that.

Also, hardcode FILEFORMATNAME as OpenOffice.org and FILEFORMATVERSION
as 1.0, and drop the "variables", as that is what those "variables"
*means*. They were used to refer to the OOo 1.0 formats. (It would
have been utterly wrong to define them as something else, like another
product name and a newer version number, in openoffice.lst, so
pointless to have them there.)

Drop the meaningless BUILDIDCWS.

Change-Id: I4030aa060b78e8b3fb812a6362869996e8db7d3d
2013-09-24 02:00:52 +03:00
f89cce877c installer: search files in INSTDIR
INSTDIR has everything that will be installed anyway, so ideally the
file search patch should only be INSTDIR + whatever is needed to get the
Package file lists; especially WORKDIR seems inappropriate there.

The exception is extension .oxt files which apparently are not in
INSTDIR; not sure what to do about those.

Change-Id: I2477c25ab9fcf953fae9c219e76c467e14729cda
2013-09-12 00:20:39 +02:00
b6cd9d8d50 changed all 'sh' language to 'sr-Latn'
Change-Id: Iafadaea87501bc3675eaf2856b5050a7e3ecaa37
2013-09-10 23:22:25 +02:00
2c1f814d36 change PRODUCTNAME for --enable-dbgutil build
The previous commit changed several nodes in main.xcd from
LibreOfficeDev to LibreOffice; revert that.

Change-Id: Ib1c114a0716a6a930c52c9c9a9144154fcb3934d
2013-09-09 22:09:07 +02:00
8d4cd07515 renamed ca-XV to ca-valencia and activated ca-ES-valencia, fdo#59867 related
Build Catalan-Valencian as ca-valencia instead of ca-XV private-use.

Introduced LANGUAGE_CATALAN_VALENCIAN 0x0803 mapping to ca-ES-valencia,
preserving old ca-XV and qcv-ES mappings to now
LANGUAGE_CATALAN_VALENCIAN and LANGUAGE_OBSOLETE_USER_CATALAN_VALENCIAN
0x8003 to ca-ES-valencia.

Removed special !bUserInterfaceSelection treatment from
MsLangId::getReplacementForObsoleteLanguage() and added the usual
obsolete replacement instead.

Change-Id: I2fdd8b0bac55d4b4ae2cbf3c3645f09fefec9b6e
2013-09-04 12:27:10 +02:00
9a6d5f15af fdo#65975: do not put MSVC 64bit runtimes in solver/bin
Apparently causes problems for some people.

Unfortunately the scp2 entries are "non-standard" so i've had to add
another variable to let the installer find it.

Change-Id: I7a01160369ed8dc401625c06760008341afcee67
2013-06-27 14:07:45 +02:00
d72e170d6a prefer filelist from GeneratedPackage over Package
This broke incremental builds on MacOS X in the past, where
Package/python3.filelist was created for some reason, so the installer
did not install the Python framework.

Change-Id: I290da24d6385eaf514cd9f7db92b1a959902dcae
2013-06-18 13:41:03 +02:00
b8e09de4e0 allow to install files from workdir
Change-Id: Id711489ac631291fc11fe7698e5a0a4719db99d7
2013-06-07 15:14:27 +02:00
cc1c3d183b added some more documentation
(cherry picked from commit 15bffb385486de2f0fd285e8d81860e85138dce6)

Conflicts:
	instsetoo_native/util/openoffice.lst.README

Change-Id: Icdfbab74f437aa1179d24c251ecf74a79e4e522d
2013-05-23 09:36:03 +01:00
553e0c7658 clean up include paths for installer
Change-Id: I03524cb562560921ea053ff81d6647664c912079
2013-05-05 13:35:57 +02:00
0fd330ec4d gbuild: add Package equiv. for copying whole dirs
This is in preparation for using doxygen to generate IDL docs. Because
the file names generated by doxygen are essentially random, it is not
possible to use a Package to deliver them. And we really do not want to
go back to using Zip, as unpacking slows the installation down.

Change-Id: I5f4aa6bf10c6aab30a5b1870e04dca723c123317
Reviewed-on: https://gerrit.libreoffice.org/3774
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-05-04 14:42:07 +00:00
5b77c93b28 remove unused product variables from Windows installer
OLDPRODUCT2 - it was a workaround for OOo 1.9, obsolete
SAMEPRODUCTS - same product have the same ProductCode, so installer detect it
anyway under normal circumstances. It is possible that a tester/developer tries
to install the same version with different ProductCode over an existing installation
(e.g. dailyes or RCs). Then we are in trouble. However, SAMEPRODUCTS was not in use.
Moreover, Windows Installer uses only the first three fields of the product version.
So we cannot make difference between e.g. 4.0.3.1 and 4.0.3.2, and this is the new versioning
scheme.
BETAPRODUCTS - LibreOffice have never used different upgrade code (BETAUPGRADECODE) for betas.
OLDPRODUCTSPATCH, SAMEPRODUCTSPATCH, NEWPRODUCTSPATCH - related to old Star Division patching
mechanism, they were commented out anyway.
STUBPRODUCTS, STUBUPGRADECODE - these look useless

Change-Id: I77d67b72e18fa6b3ba4182b99e198c42f247cea4
2013-04-30 01:23:35 -07:00
fdb6b39d68 fix installing for --enable-mergelibs
Use gid_File_Lib_Oox instead of auto_File_Lib_vcl which is not defined
in that case.
No idea what the code is about though.

Change-Id: I675268a3490dd1421ecf1a82ede0db527d176744
2013-04-16 11:50:24 +02:00
48f0386111 instsetoo_native: gid_File_Lib_Vcl is now auto_File_Lib_vcl
Change-Id: Ie5404a378cc3bffdc3ba7a858814f3490fb82e3e
2013-04-15 14:53:27 +02:00
ca7cbe24cc use only major version for the system installation path on Windows (fdo#62303)
It means the LO-4.1.x will get installed into "LibreOffice 4"
instead of "LibreOffice 4.1"

Change-Id: Ideae670437fda9847d4ee3a86c4cab079d8da07a
2013-04-11 14:16:24 +02:00
9d54f0e1de add gbuild class PackageSet
This is intended for bundling filelists of multiple Packages together,
to simplify the scp2 configuration.

Change-Id: I6f700f691b37375a09a5400166aac80a8bb2a2b4
Reviewed-on: https://gerrit.libreoffice.org/3230
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-11 03:39:36 +00:00
3e8016ddc5 use filelist install method for udkapi and offapi
... so we can drop ZipUnoApi again.

Change-Id: Id5925b8c101cd7cb70614a9a26f328dec92db8fa
Reviewed-on: https://gerrit.libreoffice.org/3152
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-05 23:35:45 +00:00
e9b947a666 allow to put files listed in file into installation
With this in place, we can replace most of our Zips by Packages.
Extensions and Dictionaries are on the radar as well.

To move an installed file from zip to filelist, do:
1. Convert the Zip_foo.mk to Package_foo.mk :
   - change destination paths of all files to the same ones they have in
     the installation (you can find that in scp2)
   - use gb_Package_set_outdir to place the files under $INSTDIR, where
     they are expected.
2. Change the scp2 record:
   - change filename to <package-name>.filelist
   - replace ARCHIVE by FILELIST in Styles
   - change Dir to FILELIST_DIR.

Change-Id: Ie17d0765406081b03dcd44a6a23cf517f2067dd3
Reviewed-on: https://gerrit.libreoffice.org/3149
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-05 23:34:13 +00:00
911989ae03 add $OUTDIR/pck to search path for SDK product
... so it is possible to drop the copying-to-bin hack in ZipPackage.mk
and ZipUnoApi.mk .

Change-Id: Ic506e25a21003fca491d0902b5d8f282775da229
2013-03-31 20:39:20 +02:00
c1f8861c12 fixes for renaming LOdev builds to LibreOfficeDev
Follow-up to 16826147188bd78d67b97863226f903cc24add71 .
2013-03-03 13:59:34 +01:00
1682614718 rename LOdev builds to LibreOfficeDev
It is similar change that we did for the release builds.

Also fixes make-dev install on Windows.

Change-Id: I7d9a4bc2e7b14e79516acdfb90c709dbde1378ab
2013-03-01 16:48:29 +01:00
1d84e9d1d3 instsetoo_native: convert to gbuild
Removes:
 * instsetoo_native/util/update.xml
      - gen_update_info.pl can be removed ?

      On Windows the binary artifacts are created now in:
      workdir/*/installation/LibreOffice_Dev/native/install/en-US/*.msi

Change-Id: I1c82ea9cb9d297cdd0e4f4b9b44606259eeeed49
Reviewed-on: https://gerrit.libreoffice.org/2242
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-02-24 17:26:19 +00:00
4e6fd3b2b7 Update Branding for 4.0 (.1)
(c) Maxim Darak, Mirek Mazel 2013

Change-Id: I30fdb3234152e746e8a2a565310ab1b22115315c
Reviewed-on: https://gerrit.libreoffice.org/2236
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
2013-02-18 17:08:34 +00:00
8d12a195b1 use correct default values for the splash progressbar
they are not longer forced from configure

Change-Id: I8ea37b7233138de2900caf231762eefec0ba6563
2013-02-01 18:04:45 +01: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
e0ea85f61a we don't build language packs on Windows
Change-Id: I672886764e9451a983b823ec3666f126b758bd1e
2013-01-30 15:24:57 +01:00
8d16259c34 Consolidated branding in configure
Removed individual options (intro* and startcenter* + images) in favor of a folder with graceful fallback.
Grouped progress bar intro settings in a text file into the branding folder

Change-Id: Ib56b80e43c474a944ac79c0a842d66487e9f91d5
Reviewed-on: https://gerrit.libreoffice.org/1704
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
2013-01-30 11:12:11 +00:00
e024a8d88d installer: remove SHORT_PRODUCTEXTENSION
Currently PRODUCTEXTENSION does not have a value, which is unfortunate
because some places such as the soffice --help output and
utl::DocInfoHelper::GetGeneratorString() which creates the
meta:generator for ODF files (via Setup.xcu Product/ooSetupExtension)
write an incomplete version number.

Since there doesn't appear to be a point in having 2 variables here,
remove SHORT_ one and use PRODUCTEXTENSION consistently.

Change-Id: I5aac25bcedd785a098cba612643ea68fe19c77f0
2013-01-18 23:46:34 +01:00
9a5183ddad installer: remove SERVICETAG remnants of product registration
Change-Id: Ic87bb4666bcc4b28476dbfe2193a8330413547cf
2013-01-18 23:46:34 +01:00
33b05d5de7 there is no standalone URE installation
..I hope :-). URE is part of normal installation.
- removes script from scp2 and unused stuff from instsetoo_native.
- removes also OxygenOffice mentioned in openoffice.lst.

Change-Id: I1673c06aa84ae0eb2adda2df78a50a5c5d0761c1
2013-01-16 14:29:24 +01:00
47a95b1f16 Generate also the ABOUTBOXPRODUCTVERSIONSUFFIX from the AC_INIT
Change-Id: I9b7ce03daac7ae223cba1b8741042431aabe7f59
2013-01-16 12:28:48 +02:00
c59d371060 Remove unused variables
POSTVERSIONEXTENSIONUNIX and LONG_PRODUCTEXTENSION are not used anywhere

Change-Id: Id1f2db293fff134075b6658b738dc3be8d17a279
2013-01-16 12:28:48 +02:00