[Libreoffice] small problems with --enable-split-app-modules

Petr Mladek pmladek at suse.cz
Mon Jul 18 08:07:08 PDT 2011


Andreas Radke píše v Ne 17. 07. 2011 v 21:26 +0200:
> 1) I have to pass yes to the install process due to some overwritten
> files: yes | make DESTDIR=${srcdir}/fakeinstall distro-pack-install
> 
> Installer finished
[...] 
> Copying GNOME icons ..
> chmod: cannot operate on dangling symlink `/build/src/fakeinstall/usr/bin/libreoffice'
> /build/src/build
> mv: try to overwrite `base.desktop', overriding mode 0444 (r--r--r--)? j
> mv: try to overwrite `calc.desktop', overriding mode 0444 (r--r--r--)? j
> mv: try to overwrite `draw.desktop', overriding mode 0444 (r--r--r--)? j

This should get fixed by the attached
0001-distro-install-desktop-integration-work-with-normal-.patch.

Heh, this problem was not visible when I tested it as root.


> 2) the /usr/share/applications/base.desktop file goes not only into the "base" filelist but also into the common
> pkg file list. I had to remove it from the common pkg file list.

Great catch! This gets fixed by the attached 
0002-distro-install-desktop-integration-do-not-pack-libre.patch


> 3) I'm running into a build issue when using --with-lang="":
> Error: ../unxlngx6.pro/misc/sysui/dummy/localize.sdf 0 Bytes!
> Error: 1 damaged files encountered

I am unable toi reproduce this but I do not have a clean build tree at
hands. Anyway, --with-lang="" is needed for the en-US build on many
other locations, so it is the right way to go.

> I'm removing the --with-lang or add --with-lang="en-US" now to get 
> en-US langpack included. But there's no full langpack/helpfile file list created.
> Only the splitted files in orig/gid_Modules_... are there.

It should work better with the attached
0003-distro-install-fix-en-US-only-installation.patch

This probably does not fix the build problem in sysui. Though, it should
generate lang_en_US_list.txt file list even when using --with-lang=""

> Without any langpack installed I get this error that I can solve with installing 
> any other langpack from the rpms, but there's now en-US langpack:
> [andyrtr at workstation64 trunk]$ libreoffice 
> Missing vcl resource. This indicates that files vital to localization are missing. You might have a corrupt installation.
> terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'

Yup, it means that you do not have installed any lang pack files.

> Beside this this splitting looks working well, also all desktop integration seems to work.

Great to hear this. I expect that more problems might be found over
time. It was added too late, so some patches might be needed on top of
the final libreoffice-3.4.2.x source tarballs. Anyway, it is good to
have a common code base again.


Best Regards,
Petr


More information about the LibreOffice mailing list