View previous topic :: View next topic |
Author |
Message |
Maf Guru
Joined: 15 May 2005 Posts: 309
|
Posted: Fri Jun 29, 2018 10:41 pm Post subject: Why is libreoffice not modular? |
|
|
Hi guys, something tells me this has been answered already, but I found nothing, so I have to ask: Why the hell is libreoffice not modular? Are there any technical/political reasons for it? I'm pretty sick of having to recompile this monster as whole when all I have been using for years are Writer and Calc. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21672
|
Posted: Fri Jun 29, 2018 11:46 pm Post subject: |
|
|
In most cases, the Gentoo maintainers will not make substantial alterations to the upstream project. The likely explanation is that upstream does not support it, so the Gentoo maintainers would need to add it through distribution-specific patches. If the upstream build system is modular, then it may simply be that no one has cared enough to expose that functionality in the ebuild. In that case, it might be easy to change. |
|
Back to top |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
Posted: Sat Jun 30, 2018 12:20 am Post subject: |
|
|
Interesting question. I've just checked in Lubuntu 18.04 ( a.k.a. Bionic Beaver ) on my family's PC, and LibreOffice is modular:
Code: | $ apt -q list libreoffice* | grep installed
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libreoffice-avmedia-backend-gstreamer/bionic,now 1:6.0.3-0ubuntu1 amd64 [installed,automatic]
libreoffice-base/bionic,now 1:6.0.3-0ubuntu1 amd64 [installed]
libreoffice-base-core/bionic,now 1:6.0.3-0ubuntu1 amd64 [installed,automatic]
libreoffice-base-drivers/bionic,now 1:6.0.3-0ubuntu1 amd64 [installed,automatic]
libreoffice-calc/bionic,now 1:6.0.3-0ubuntu1 amd64 [installed]
libreoffice-common/bionic,bionic,now 1:6.0.3-0ubuntu1 all [installed]
libreoffice-core/bionic,now 1:6.0.3-0ubuntu1 amd64 [installed,automatic]
libreoffice-draw/bionic,now 1:6.0.3-0ubuntu1 amd64 [installed]
libreoffice-help-en-gb/bionic,bionic,now 1:6.0.3-0ubuntu1 all [installed]
libreoffice-help-en-us/bionic,bionic,now 1:6.0.3-0ubuntu1 all [installed]
libreoffice-help-es/bionic,bionic,now 1:6.0.3-0ubuntu1 all [installed]
libreoffice-help-pt/bionic,bionic,now 1:6.0.3-0ubuntu1 all [installed]
libreoffice-help-pt-br/bionic,bionic,now 1:6.0.3-0ubuntu1 all [installed]
libreoffice-impress/bionic,now 1:6.0.3-0ubuntu1 amd64 [installed]
libreoffice-java-common/bionic,bionic,now 1:6.0.3-0ubuntu1 all [installed,automatic]
libreoffice-l10n-en-gb/bionic,bionic,now 1:6.0.3-0ubuntu1 all [installed,automatic]
libreoffice-l10n-en-za/bionic,bionic,now 1:6.0.3-0ubuntu1 all [installed]
libreoffice-l10n-es/bionic,bionic,now 1:6.0.3-0ubuntu1 all [installed]
libreoffice-l10n-pt/bionic,bionic,now 1:6.0.3-0ubuntu1 all [installed]
libreoffice-l10n-pt-br/bionic,bionic,now 1:6.0.3-0ubuntu1 all [installed,automatic]
libreoffice-math/bionic,now 1:6.0.3-0ubuntu1 amd64 [installed,automatic]
libreoffice-sdbc-hsqldb/bionic,now 1:6.0.3-0ubuntu1 amd64 [installed,automatic]
libreoffice-style-galaxy/bionic,bionic,now 1:6.0.3-0ubuntu1 all [installed,automatic]
libreoffice-style-tango/bionic,bionic,now 1:6.0.3-0ubuntu1 all [installed,automatic]
libreoffice-writer/bionic,now 1:6.0.3-0ubuntu1 amd64 [installed] |
(That particular installation has British English, US English, Brazilian Portuguese and Castilian Spanish locales installed, hence the multiple help packages and l10n packages). _________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.
Fitzcarraldo's blog |
|
Back to top |
|
|
ulenrich Veteran
Joined: 10 Oct 2010 Posts: 1480
|
Posted: Sat Jun 30, 2018 4:08 am Post subject: Re: Why is libreoffice not modular? |
|
|
Maf wrote: | Hi guys, something tells me this has been answered already, but I found nothing, so I have to ask: Why the hell is libreoffice not modular? Are there any technical/political reasons for it? I'm pretty sick of having to recompile this monster as whole when all I have been using for years are Writer and Calc. |
To the point! Excellent idea!
The only flaw: Writer and Calc both are the big chunk to compile (I estimate more than 80%) |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21672
|
Posted: Sat Jun 30, 2018 4:52 am Post subject: |
|
|
Fitzcarraldo wrote: | Interesting question. I've just checked in Lubuntu 18.04 ( a.k.a. Bionic Beaver ) on my family's PC, and LibreOffice is modular: | Are you sure that is modular at build? Most of the binary distributions have the ability to build one upstream project, then generate a group of installable packages from the resulting build output. (This is something I wish Gentoo supported.) The Ubuntu maintainer may have run a monolithic build, then created separate debs for each of the major components. To be modular in Gentoo in the sense requested, it must be possible to instruct the build system to skip whole programs. |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Sat Jun 30, 2018 4:55 am Post subject: |
|
|
I'd wager that is something of a systemd/udev situation. The binaries may be easily separable but the build process is not. Just my speculation.
Would anyone care for a Jelly Baby? _________________ First things first, but not necessarily in that order.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Sat Jun 30, 2018 7:06 am Post subject: |
|
|
Fitzcarraldo wrote: | Interesting question. I've just checked in Lubuntu 18.04 ( a.k.a. Bionic Beaver ) on my family's PC, and LibreOffice is modular: |
Binary distributions split a lot - AFTER building. With LibreOffice, not even that is possible - a single binary is produced. So whatever Ubuntu does, it is not that, and you'll have to look at package file lists and sizes to know what their splitting actually means. localc, lowriter etc. are simply wrappers around the monolithic libreoffice binary... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|