Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

OpenOffice in parts

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
Ch00k
n00b
n00b
User avatar
Posts: 55
Joined: Sat May 02, 2009 1:27 am

OpenOffice in parts

  • Quote

Post by Ch00k » Mon Jul 20, 2009 11:03 am

I need to install OpenOffice in parts (I need only Writer and Calc). I know that there is such a possibility with customized build from go-oo.org in Windows (you are allowed to choose which parts of OO to install). Is there such a possibility in Gentoo?
Top
i92guboj
Bodhisattva
Bodhisattva
User avatar
Posts: 10315
Joined: Tue Nov 30, 2004 8:17 pm
Location: Córdoba (Spain)

  • Quote

Post by i92guboj » Mon Jul 20, 2009 12:18 pm

Nope, there are not split ebuilds for openoffice, at least, nothing official (and I never heard of them on any overlay, but who knows).

From what I know, the core of openoffice is that monolithic that the benefit from compiling only a couple of the programs would be very little, since all the underlying code is shared anyway. I am not sure how complicated it would be. This has arised a few times on the past, but to tell the truth, it's been long since the last time I saw this same question, so maybe the situation has improved in which regards the OO modularity. But I have no real idea.

I guess that the real point (whatever the complexity of the problem is) is that no one cares enough to write the ebuilds and maintain them.
Top
Ch00k
n00b
n00b
User avatar
Posts: 55
Joined: Sat May 02, 2009 1:27 am

  • Quote

Post by Ch00k » Mon Jul 20, 2009 8:03 pm

I don't understand why is it such a big problem :) If Windows builds can manage split installations, an even rpm/deb/whatever else distro packages can, why Gentoo does not do it? Moreover, I disagree with you in the statement that OO.o code is so monolithic that it cannot be split (see above).
I'm considering opening a request to developers (just to ask for a reason why don't the provide split installs), will this bring any result, or shouldn't I bother doing this?
Thanks for the info anyway ;)
Top
i92guboj
Bodhisattva
Bodhisattva
User avatar
Posts: 10315
Joined: Tue Nov 30, 2004 8:17 pm
Location: Córdoba (Spain)

  • Quote

Post by i92guboj » Mon Jul 20, 2009 9:26 pm

Ch00k wrote:I don't understand why is it such a big problem :) If Windows builds can manage split installations, an even rpm/deb/whatever else distro packages can, why Gentoo does not do it? Moreover, I disagree with you in the statement that OO.o code is so monolithic that it cannot be split (see above).
That is really not relevant. As I said, it *could* be done. My whole point is whether you are going to gain something (besides several MB) that will justify the dev power required (when we are evidently lacking in other areas). At the end of the day, and as I said above, it all comes down to having or not developers that are interested in the feature. No one can force a developer to work on an area in which s/he has absolutely no interest, unless s/he's really bored.

Plus, modularity in the binary packages for windows or another linux distro has *nothing at all* to do with the modularity of the source code, which is what matters *here*, in Gentoo.
I'm considering opening a request to developers (just to ask for a reason why don't the provide split installs), will this bring any result, or shouldn't I bother doing this?
Thanks for the info anyway ;)
You could, but first I advice you to search the forums and bugs.gentoo.org first. I am sure that this question has arose several times in the past (how distant past I don't know). Like this one:

http://forums.gentoo.org/viewtopic-t-48 ... rt-25.html

Bear in mind that Gentoo is not a binary build, where you can easily split and package separate components. The nature of the source matters, and not to a little extent. There's very little point in splitting a package if to compile each individual component you have to build 99% of the sources of the package each time. In fact, it would be idiotic because to build all the separate components, or even just 2 of them, would take longer than building the whole suite. That is, unless the source can easily be split into separate and independent units in a sane and logical manner like kde can (i.e. OO-core + several other -smaller- packages).

Maintaining such a best in Gentoo is no candy either... It's a real pain considering the number of architectures and how the Gentoo users like to find a thousand ways to break an OS, and the OO build system is not the most solid around either.
Top
cwr
Veteran
Veteran
Posts: 1969
Joined: Sat Dec 17, 2005 11:17 am

  • Quote

Post by cwr » Tue Jul 21, 2009 11:17 am

The easiest way would be to install the whole of OpenOffice, using Gentoo's
binary ebuild, and then delete the parts you don't want.


Will
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

  • Quote

Post by Naib » Wed Jul 22, 2009 8:40 am

Ch00k wrote:I don't understand why is it such a big problem :) If Windows builds can manage split installations, an even rpm/deb/whatever else distro packages can, why Gentoo does not do it? Moreover, I disagree with you in the statement that OO.o code is so monolithic that it cannot be split (see above).
I'm considering opening a request to developers (just to ask for a reason why don't the provide split installs), will this bring any result, or shouldn't I bother doing this?
Thanks for the info anyway ;)
its a big problem because OOo is a monolithic build. All parts of all components have common core (like MS-Office 95 iirc).
What you are talking abt w.r.t. deb and windows is the ability to not install a handful of libraries - those libs that still would have had to have been built by debian/Ubuntu or windows...

openoffice.org-writer
depends on: openoffice.org-core

openoffice.org-calc
depends on: openoffice.org-core

...

Now go look at the file count and install size
writer: 21meg
dpkg -L openoffice.org-writer | wc -l
84


core:109 meg
dpkg -L openoffice.org-core | wc -l
227



Basically if you are building from source you have already gone out of your way to build the main part and those few libs specific for each "frontend" are just sugar.

sure maybe for OpenOffice-bin (with some USE flag's) but wtf for OpenOffice-src?
IF OOo ever sort out their fugly codebase and actually make it truely spit then sure but atm ...
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
mikegpitt
Advocate
Advocate
User avatar
Posts: 3224
Joined: Sat May 22, 2004 6:49 pm

  • Quote

Post by mikegpitt » Wed Jul 22, 2009 3:10 pm

You might achieve some of your desired effect by editing the openoffice-bin ebuild. You can eliminate some of the rpm's that are unpacked here:

Code: Select all

for i in base binfilter calc core01 core02 core03 core04 core05 core06 core07 draw graphicfilter images impress math ooofonts ooolinguistic pyuno testtool writer xsltfilter ; do
        rpm_unpack "${S}/${BASIS}-${i}-${MY_PV3}.${OOARCH}.rpm"
    done
I actually have done just that in the past, but never went too overboard.
Top
Post Reply

7 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic