Commit Graph
156 Commits
Author SHA1 Message Date
Caolán McNamara 00657aef09 migrate to boost::gettext
* all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl
* all .src files go away and the english source strings folded into the .hrc as NC_("context", "source string")
* ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching
  MODULE .mo files
* UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui
  goes from l10n target to normal one, so the res/lang.zips of UI files go away
* translation via Translation::get(hrc-define-key, imbued-std::locale)
* python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there
  to keep finding the .hrc file uniform) so magic numbers can go away there
* java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation
  mechanism
* en-US res files go away, their strings are now the .hrc keys in the source code
* remaining .res files are replaced by .mo files
* in .res/.ui-lang-zip files, the old scheme missing translations of strings
  results in inserting the english original so something can be found, now the
  standard fallback of using the english original from the source key is used, so
  partial translations shrink dramatically in size
* extract .hrc strings with hrcex which backs onto
   xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap
* extract .ui strings with uiex which backs onto
   xgettext --add-comments --no-wrap
* qtz for gettext translations is generated at runtime as ascii-ified crc32 of
   content + "|" + msgid
* [API CHANGE] remove deprecated binary .res resouce loader related uno apis
      com::sun::star::resource::OfficeResourceLoader
      com::sun::star::resource::XResourceBundleLoader
      com::sun::star::resource::XResourceBundle
    when translating strings via uno apis
      com.sun.star.resource.StringResourceWithLocation
    can continue to be used

Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a
2017-07-21 08:20:50 +01:00
Michael Stahl 4f56da239d scp2: remove all ComponentConditions that test Windows versions
Windows 7 (6.01) has all the features we want.

Change-Id: I96356b2decb26af526bceda8081875d418f17274
2017-06-02 16:34:54 +02:00
Caolán McNamara 17748081ba sdbcl is gone
Change-Id: Id9c7106d2674a661b16b7772f866b3d103bae327
2017-04-27 15:56:36 +01:00
Michael Stahl 2c78d4965a tdf#90753 scp2: move firebirdsdbc packages to AutoInstall
Change-Id: Ifabb9fa65115fcc1728fa16e142ef008834eedda
2017-01-09 16:43:29 +01:00
Matúš Kukan 5662817149 tdf#90753: AutoInstall postgresql-sdbc.ini as filelist
Change-Id: I908b549a14c702ce2c33de704b06d016036ccecb
Reviewed-on: https://gerrit.libreoffice.org/32394
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Matúš Kukan <matus@libreoffice.org>
2016-12-24 07:59:11 +00:00
Andras Timar b46c3e683c scp2: 'Minimal' key is unused, let's remove it from everywhere
Change-Id: I2c0d9c6870c52de85e288f4f70bc4d7c492e9987
Reviewed-on: https://gerrit.libreoffice.org/14361
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2015-02-08 08:06:10 +00:00
Michael Stahl 139a4b6229 scp2: move unx wrapper scripts to AutoInstall
Change-Id: I661656e486b088c28b78e5c3ed4fbe9945991097
2014-10-31 23:42:37 +01:00
Michael Stahl ee80cbb712 scp2: move base executables to AutoInstall
Change-Id: I772bbfc05d4f8fd38df7a75d3b0982c843be2524
2014-10-29 11:37:49 +01:00
Tor Lillqvist 6492c8576e Make the "Mac-like" or "canonical" app bundle structure always used on OS X
In other words, only executable files go in the MacOS folder. Dynamic
libraries and bundled frameworks (i.e., LibreOfficePython), and
nothing else, go in the Frameworks folder, and all other files go in
the Resources folder.

Especially, note that Java class files and rc (.ini) files also go in
Resources.

Such an app bundle structure is what Apple strongly suggests one
should use, and it has been hinted that future versions of code
signing and/or Gatekeeper will require such a structure.

There is still some ugliness thanks to traces of the historical
separation of URE from "the office". Like there are two separate
"unorc" files, one for URE, one for the LibreOffice application. IMHO,
this should be cleaned up, but is probably controversial.

(Eek! I now see there are actually *three* unorc files in the app
bundle. Not intentional. Need to fix that later.)

Change-Id: Idcf235038deb5b8e1d061734993e9f31869b7606
2014-09-09 13:55:23 +03:00
Michael Stahl 5ac6c4818a scp2: move postgresqlsdbc libraries to AutoInstall
Change-Id: Ia96e85191d877ebfd7621f7aa572f29e6482716c
2014-07-20 20:59:17 +02:00
Michael Stahl ea9f2c7ce7 scp2: move reportbuilder libraries to AutoInstall
Change-Id: I3369b4c5c412741e82279db95cb517a8ae69b25c
2014-06-13 19:26:02 +02:00
Andrzej Hunt f01792dda1 scp2: move firebird into base.
Change-Id: I35f9b2dcb821bda0ea97de12a8ae8d27915f6b3e
2014-04-07 19:33:22 +01:00
Lionel Elie Mamane 45b1211d57 fdo#69309 rename share/registry/postgresqlsdbc.xcd to postgresql.xcd
Change-Id: Ie7c9200310ab24e4d2636849b133e515f266d5c9
2014-02-22 22:42:36 +01:00
Andras Timar 7d97ec9a3e fdo#65102 respect user's choice not to install desktop icon
Using advertised shortcuts -- inspired by Intel AppUp Centre's
requirement -- was not a good idea after all. I revert this,
and  I also revert the commit that actually disabled it in
default Windows builds.

This reverts commit aa2450cb51.
This reverts commit b40012bd6d.
2013-10-25 07:32:52 -07:00
Michael Stahl 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
Matúš Kukan b469cd235b gbuild: use xml .rdb files directly from workdir
Change-Id: I876a41dc77a59841c39b2c1fa43f22c20940dbf2
2013-09-10 22:58:04 +02:00
Fridrich Štrba 4155bc56ad Shorten the idetifiers a bit not to be more the 32 chars
Change-Id: I5ee50ae740aa113670dad97067e78e063cca1a61
2013-07-26 11:35:26 +02:00
Fridrich Štrba 42b8705e7c Add some consistency to the world as we know it
Change-Id: Ib1720a1797facf783eee9524afef7fadcd986c6f
2013-07-25 14:17:14 +02:00
Fridrich Štrba 6205c58e26 Hopefully the last installement of my perl saga
Change-Id: I2d437062e3ce468591621e7323cacb13789edf06
2013-07-24 18:55:44 +02:00
Fridrich Štrba 20696b2a57 WIP: data for the new MsiShortcutProperty installer table
Change-Id: If421383abe95738b8247aebc5cf43b1eaa346c39
2013-07-24 14:41:16 +02:00
Jesús Corrius 19f3d9310c fdo#35785 LibreOffice's support of recent documents in Windows 7 broken
Change-Id: I916ba1335b0a0420f568ab9340632f273e3c9516
Reviewed-on: https://gerrit.libreoffice.org/4997
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-20 21:01:01 +00:00
Andrzej J.R. Hunt 35f0217921 Fix --disable-firebird-sdbc.
Change-Id: I040049b4c034858f4be4aa580a17fd8bb5986396
2013-07-16 16:40:16 +02:00
Andrzej J.R. Hunt 70e7e92755 Further firebird-sdbc windows build fixes.
Change-Id: I9cb0bbd45b19cb9ef6aa4b8f6d0538484060c6a0
2013-07-16 16:40:15 +02:00
Andrzej J.R. Hunt 304ab4488c Rename firebird-sdbc to firebird_sdbc to compile with latest master.
Change-Id: I56e3180095c8a1fa660e1e27588320bdce972952
2013-07-16 16:40:11 +02:00
Javier Fernandez 1e7d550ad8 fb-sdbc: installing lib and resources.
Change-Id: I2d7bf2b4308b9e52ebadd0d73f43baf469f506a6
2013-07-16 16:40:03 +02:00
Javier Fernandez f53228c59a Firebird: initial implementation of the skeleton driver.
Change-Id: I45087282fe7b7fc5bcebeeb2bbb79d0db1e043bd
2013-07-16 16:40:03 +02:00
David Tardon bd3aa69837 fdo#66072 do not end auto_*_ALL by a comma
Change-Id: I7d0fbe865cd10d0a3ef690e521d4752d6d7f3939
Reviewed-on: https://gerrit.libreoffice.org/4829
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-11 13:47:15 +00:00
Matúš Kukan 7a878f9c5f gbuild: s/AutoInstallLibs/AutoInstall/g
Change-Id: I582a841ea3b2a882cbdc1556058b007a8667024a
2013-06-10 20:03:02 +02:00
Matúš Kukan 74f5df9bac gbuild: rework AutoInstallLibs and autoinstall ure executables
Change-Id: I7312d94f90758d450a69410819c5e8c142756a47
2013-06-10 20:03:01 +02:00
Marcos Paulo de Souza 53070b048a fdo#60924 autoinstall - gbuild/scp2: add base module
Change-Id: Iee1000ff245c369446a9e671a3f7c637f76f989b
Reviewed-on: https://gerrit.libreoffice.org/4153
Reviewed-by: Matúš Kukan <matus.kukan@gmail.com>
Tested-by: Matúš Kukan <matus.kukan@gmail.com>
2013-06-06 12:46:10 +00:00
Michael Meeks 1e4422a4b4 re-base on ALv2 code. Includes:
Patches contributed by Mathias Bauer
        gnumake4 work variously
        http://svn.apache.org/viewvc?view=revision&revision=1394707
        http://svn.apache.org/viewvc?view=revision&revision=1394326
        http://svn.apache.org/viewvc?view=revision&revision=1397337
        http://svn.apache.org/viewvc?view=revision&revision=1397315
        http://svn.apache.org/viewvc?view=revision&revision=1396797

	Patches contributed by Andre Fischer
	Fixed getcsym.awk to handle #-comments that contain special regexp chars.
        http://svn.apache.org/viewvc?view=revision&revision=1230971
	118778: Added ADDITIONAL_REPOSITORIES environment variable and its
	automatic setup in configure.
        http://svn.apache.org/viewvc?view=revision&revision=1232004
	118160: Added external CoinMP library.
        http://svn.apache.org/viewvc?view=revision&revision=1233909

	Patches contributed by Herbert Duerr
	#i119168# use generic LICENSE file for langpacks and sdks
        http://svn.apache.org/viewvc?view=revision&revision=1310178
	macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars
        http://svn.apache.org/viewvc?view=revision&revision=1183367
	allow gbuild with empty sysroot on linux
        http://svn.apache.org/viewvc?view=revision&revision=1179186

	Patches contributed by Ingo Schmidt
	native373: #164472# improvements for msi database
        http://svn.apache.org/viewvc?view=revision&revision=1167540
        http://svn.apache.org/viewvc?view=revision&revision=1167539

	Patches contributed by Jurgen Schmidt
	adapt setup package scripts to handle special DS_Store file for
	developer snapshot builds
        http://svn.apache.org/viewvc?view=revision&revision=1232430
	imported patch extensions_i117681.patch
	http://svn.apache.org/viewvc?view=revision&revision=1172102

	Patches contributed by Michael Stahl
	gbuild: RepositoryFixes.mk should be optional
        http://svn.apache.org/viewvc?view=revision&revision=1166123
	xslt filter: remove the FLA horror
	wordml import filter: replace FLA usage with plain XSLT
	http://svn.apache.org/viewvc?view=revision&revision=1363727

	Patch contributed by Oliver-Rainer Wittmann
	i#88652: applied patch, remove unicows deps
	http://svn.apache.org/viewvc?view=revision&revision=1177585

    Remove lots of OS2 conditionals, re-extract Rhino Java, unwind
    cppunit pieces, cleanup Mac image bits, remove coin-mp and
    re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand
    MPLv2 subset checking.

Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
2013-06-03 11:41:36 +01:00
Tor Lillqvist f74e390ef2 Let's assume nobody needs the sbase, scalc etc scripts on OS X
It's always possible to run the soffice executable from the same
location with a --base, --calc etc command-line option instead.

(That is not the normal way for Mac users to open an empty document
for the specific aspect of LibreOffice (Calc, Writer, etc) either.
Instead, the usual way (says cloph) is to keep a corresponding
template document in the Dock and click that.)

Change-Id: Iceea270c03a63f674e7dfdfa95117cb3bdd15184
Reviewed-on: https://gerrit.libreoffice.org/3930
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-17 10:47:11 +00:00
Michael Meeks 72e5d0c8fb Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-30 13:34:06 +01:00
Jesús 8d93373267 fdo#35785: LibreOffice is One for now
See developer mailing list for discussion, subject "LibreOffice is one or
several applications?"

Change-Id: I7a4a5a76f980eb458a2b6d4558a553b8508fd990
Reviewed-on: https://gerrit.libreoffice.org/3638
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-04-30 10:29:24 +00:00
Marcos Paulo de Souza 95f2f5f4d1 fdo#60949: Move the last libs to OOOLIBS
Change-Id: Ieec4edf41140f9c5af3dcc227c917b06157a26f3
Reviewed-on: https://gerrit.libreoffice.org/3561
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-04-24 17:40:51 +00:00
Michael Meeks 62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
David Tardon d23f8bb0ca gbuild: deliver help files as packages
Change-Id: I52904567d0c7434af3f013cad7c3d9a8a67ac9f2
Reviewed-on: https://gerrit.libreoffice.org/3384
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-15 05:26:21 +00:00
Rene Engelhard 83af55be71 install librpt* in the new gid_Module_Reportbuilder, not into Base...
Change-Id: I8e67108caaac379101173d49c957e7ec5c7652e4
2013-03-18 18:17:31 +01:00
Andras Timar 6851c5fd43 bin PATCH_SO_NAME crack
In VersionInfo of Windows executables the FileDescription property originally contained
80 times 'x' character. These executables were marked as PATCH_SO_NAME and later the
installer maker perl program replaced the xxxxxxxxxxx to the actual file description
which was defined in scp2. WHy was it good, I have no idea. The problem was that it
happened after postprocess, where we signed the binaries, thus diigital signature became
corrupted. It is better to give file descriptions via makefiles.

Change-Id: Id5ad4470bb7a6313b33fbba09d72d9a009163a89
2013-02-28 13:24:57 +01:00
Andras Timar 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
Andras Timar 0f33979fc8 .odb files do not have thumbnail image (related: fdo#53592)
Change-Id: Ib17bb0a2fc95207da69bfef11b2fab59aefa719d
2012-08-27 16:42:32 +02:00
Michael Meeks b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
Andras Timar 6d9be05a6f fdo#47805 rework handling of 64-bit registry entries
64-bit registry entries were entered via a custom action, which
did not always work. By default the custom action ran with user
privileges, which were not sufficient to write the registry.
It is not necessary to use custom actions for this task. Windows
installer supports it well.

Change-Id: Id65458c363c2b90b3e7d166b4c836bfb1ff19bf4
2012-06-05 13:42:14 +02:00
Jesús Corrius d554198328 Make Win32 LibO installable side by side with other StarOffice derivatives 2012-05-31 18:19:08 +02:00
Jesús Corrius f449c8223a fix VersionNT condition for AppUserModelID 2012-05-31 09:46:25 +02:00
Jesús Corrius 6aade607b8 Add FriendlyTypeNames to supported types 2012-05-31 09:39:39 +02:00
David Tardon cdf8d40394 gbuildize scp2
Change-Id: If9a0906a76943160cfdbd647b26a801bc4389615
2012-05-29 07:34:18 +02:00
Jesús Corrius 8521ad498e Use lowercase for the KindMap values instead of upper camel case 2012-05-22 13:35:12 +02:00
Jesús Corrius 19e5bf6c2f don't set registry keys for Windows Vista+ on other systems 2012-05-22 09:39:50 +02:00
Jesús Corrius 3cd1a896d4 Use Aplication User Model IDs for the native file types
Change-Id: I4941d97a8eb540bbf63320db83230707ced9f90f
2012-05-21 23:51:47 +02:00