Discussion:
compile/install Libreoffice Writer only
jb
2012-10-07 05:11:50 UTC
Permalink
Hi,
is there a way to do that right now in ports (config, make options) ?
Or would that require separate source packaging per component ?
jb
Polytropon
2012-10-07 11:37:07 UTC
Permalink
Post by jb
Hi,
is there a way to do that right now in ports (config, make options) ?
Or would that require separate source packaging per component ?
I'm not aware that this is possible, as LibreOffice (like
OpenOffice) is designed as an "integrated package" containing
various interconnected parts of office productivity programs.
So I assume it's not easy to build _only_ one component.

In case you are intending to "just" install a text processing
program, try AbiWord. It is the TP designed to be used with
Gnome, but builds independently (even though it requires lots
of Gtk dependencies). If installed, you will "only" have the
text processing program -- no spreadsheet, no database, no
presentation graphics. It's a quite versatile program and can
even read outdated MICROS~1 memory garbage formats. :-)
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
jb
2012-10-07 12:12:17 UTC
Permalink
Post by Polytropon
Post by jb
Hi,
is there a way to do that right now in ports (config, make options) ?
Or would that require separate source packaging per component ?
I'm not aware that this is possible, as LibreOffice (like
OpenOffice) is designed as an "integrated package" containing
various interconnected parts of office productivity programs.
So I assume it's not easy to build _only_ one component.
...
It is possible - those Linux lollipops offer such in some distros, prepackaged.
I hope that FB's office team finds time to figure it out.
It would benefit FB-based OSs to reasonably customize their CDs.
jb
Polytropon
2012-10-07 15:01:15 UTC
Permalink
Post by jb
Post by Polytropon
Post by jb
Hi,
is there a way to do that right now in ports (config, make options) ?
Or would that require separate source packaging per component ?
I'm not aware that this is possible, as LibreOffice (like
OpenOffice) is designed as an "integrated package" containing
various interconnected parts of office productivity programs.
So I assume it's not easy to build _only_ one component.
...
It is possible - those Linux lollipops offer such in some distros, prepackaged.
Interesting, I didn't think that was possible. Does this come
with a _separated_ build for all the components that have such
a corresponding package, or is it simply not containing the
binaries for the "other" components?

For example, you could build a whole OO or LO suite and just
have one selected binary installed, but that wouldn't be very
precise regarding the question "Writer only"...

If it would be possible to have the components as separate
ports in FreeBSD it would be helpful for selectively installing
stuff, e. g. if only one or two components of the office suite
are really needed (or allowed!) to be _built_ and installed.
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
jb
2012-10-07 15:44:15 UTC
Permalink
Post by Polytropon
Post by jb
Post by Polytropon
Post by jb
Hi,
is there a way to do that right now in ports (config, make options) ?
Or would that require separate source packaging per component ?
I'm not aware that this is possible, as LibreOffice (like
OpenOffice) is designed as an "integrated package" containing
various interconnected parts of office productivity programs.
So I assume it's not easy to build _only_ one component.
...
It is possible - those Linux lollipops offer such in some distros, prepackaged.
Interesting, I didn't think that was possible. Does this come
with a _separated_ build for all the components that have such
a corresponding package, or is it simply not containing the
binaries for the "other" components?
...
For example, in Archlinux these are separate builds/packages:

libreoffice-common

libreoffice-base
libreoffice-calc
libreoffice-draw
libreoffice-impress
libreoffice-writer

libreoffice-sdk
libreoffice-sdk-doc

libreoffice-extension-nlpsolver
libreoffice-extension-pdfimport
libreoffice-extension-presentation-minimizer
libreoffice-extension-presenter-screen
libreoffice-gnome
libreoffice-kde4
libreoffice-math
libreoffice-postgresql-connector
libreoffice-scripting-javascript
...

So, there is a lot of functionality thru modularity.

For example, in CentOS (clone of RedHat) I can install libreoffice-writer
only, which pulls libreoffice-common, and perhaps some extension packages
(if so configured).
jb
Walter Hurry
2012-10-07 22:37:18 UTC
Permalink
Post by jb
Post by jb
Post by Polytropon
Post by jb
Hi,
is there a way to do that right now in ports (config, make options) ?
Or would that require separate source packaging per component ?
I'm not aware that this is possible, as LibreOffice (like
OpenOffice) is designed as an "integrated package" containing
various interconnected parts of office productivity programs.
So I assume it's not easy to build _only_ one component.
...
It is possible - those Linux lollipops offer such in some distros, prepackaged.
Interesting, I didn't think that was possible. Does this come with a
_separated_ build for all the components that have such a corresponding
package, or is it simply not containing the binaries for the "other"
components?
...
libreoffice-common
libreoffice-base libreoffice-calc libreoffice-draw libreoffice-impress
libreoffice-writer
libreoffice-sdk libreoffice-sdk-doc
libreoffice-extension-nlpsolver libreoffice-extension-pdfimport
libreoffice-extension-presentation-minimizer
libreoffice-extension-presenter-screen libreoffice-gnome
libreoffice-kde4 libreoffice-math libreoffice-postgresql-connector
libreoffice-scripting-javascript ...
So, there is a lot of functionality thru modularity.
For example, in CentOS (clone of RedHat) I can install
libreoffice-writer only, which pulls libreoffice-common, and perhaps
some extension packages (if so configured).
Yes, but libreoffice-common is essentially the whole thing; libreoffice-
base, libreoffice-calc, libreoffice-draw, libreoffice-impress and
libreoffice-writer are (relatively) small front ends.

To all intents and purposes, Polytropon is right.
jb
2012-10-07 23:11:12 UTC
Permalink
Post by Walter Hurry
...
Yes, but libreoffice-common is essentially the whole thing; libreoffice-
base, libreoffice-calc, libreoffice-draw, libreoffice-impress and
libreoffice-writer are (relatively) small front ends.
To all intents and purposes, Polytropon is right.
...
Installed Size:
libreoffice-common 224.7 MB
libreoffice-base 7.2 MB
libreoffice-calc 17.9 MB
libreoffice-draw 48.0 KB
libreoffice-impress 732.0 KB
libreoffice-writer 11.2 MB
libreoffice-sdk 26.2 MB
libreoffice-sdk-doc 104.8 MB
and not counting many other extensions.

It may be relevant saving perhaps 100 MB when you compose CD functionality,
and you want to offer Libreoffice Writer on it.

Besides that, there is always a chance that one can look into the splits more
deeply and discover that it can be done differently (better ?) and make
libreoffice-common leaner, and offer some more stuff as separate packages or
extensions packages.
Who knows what FB office boyz could do with it if they really wanted.

Anyway, the objective would be to be able to install each of components
individually, as needed.
jb
jb
2012-10-08 12:57:48 UTC
Permalink
...
A follow up.
I e-mailed FB office boyz and received a response, which is safe to share
with the list:

"
Baptiste Daroussin ***@freebsd.org

This is almost not doable for many reason:

1/ the ports itself will be over complicated to only allow compiler some part of
libreoffice imho (that is the main reason I didn't make it at first

2/ splitting the build won't give you much

3/ what linux distributions do it splitting the result of the build, not the
build itself, and the ports tree does not allow this for the moment.

regards,
Bapt
"

Well, if you have an opinion make it count now when this stuff is discussed.
jb

Continue reading on narkive:
Loading...