Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Modular OpenOffice
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  

Should there be modular OpenOffice ebuilds?
Yes
84%
 84%  [ 138 ]
No
6%
 6%  [ 10 ]
Don't Care
9%
 9%  [ 16 ]
Total Votes : 164

Author Message
aidy
l33t
l33t


Joined: 07 Apr 2005
Posts: 915

PostPosted: Thu Aug 10, 2006 10:29 pm    Post subject: Reply with quote

it's certainly possible, in ubuntu for example, you can uninstall the components you don't want
Back to top
View user's profile Send private message
tuxmagi
n00b
n00b


Joined: 22 Oct 2004
Posts: 68
Location: Providence, RI

PostPosted: Thu Aug 10, 2006 11:30 pm    Post subject: Reply with quote

Aidy wrote:
it's certainly possible, in ubuntu for example, you can uninstall the components you don't want


The difference in doing it in Gentoo is that we will actually be selecting which components to compile and not compile. Ubuntu and other binary distros have the whole suite already built and it is a trivial thing to not install certain binaries. Hence, I would guess that editing the ebuild for openoffice-bin could accomplish the modular goal that we are looking for. Doing it for the source ebuild would be more difficult.
_________________
An introductory exercise in differential geometry: Is Middle Earth flat? (My Igloo)
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3221

PostPosted: Fri Aug 11, 2006 3:19 am    Post subject: Reply with quote

tuxmagi wrote:
Aidy wrote:
it's certainly possible, in ubuntu for example, you can uninstall the components you don't want


The difference in doing it in Gentoo is that we will actually be selecting which components to compile and not compile. Ubuntu and other binary distros have the whole suite already built and it is a trivial thing to not install certain binaries. Hence, I would guess that editing the ebuild for openoffice-bin could accomplish the modular goal that we are looking for. Doing it for the source ebuild would be more difficult.
I agree, this is a key point.

Assuming you only wanted to install oowriter, I'm curious if the binaries they install actually remove the bloat that oocalc, ooimpress, etc. has, or if Ubuntu simple doesn't install the other executables.

Either way, we have openoffice-bin, maybe a we can split up the binaries and offer those if the source is too difficult to modularize.


EDIT: I kinda anwsered my own question. I found this site that details the Ubuntu OO build:
http://packages.ubuntu.com/hoary/editors/openoffice.org2
You can click on the package and see the files it contains.

I think it would be pretty simple for gentoo to provide similar binaries. I know I personally never use oodraw, ooweb, and things like that.
Back to top
View user's profile Send private message
sageman
Guru
Guru


Joined: 04 May 2005
Posts: 363
Location: New Hampshire

PostPosted: Fri Aug 11, 2006 12:21 pm    Post subject: Reply with quote

mikegpitt wrote:

Either way, we have openoffice-bin, maybe a we can split up the binaries and offer those if the source is too difficult to modularize.


Well, that'd definitely be a start.

Was KDE's source split upstream? Or was it just easier to do for some reason (like it was simply passing data to configure or there were alreadly seperate makefiles for the different parts or what?).

I think, once I have some time, I want to look at the whole OO compile stage. However, I really want to get Frets on Fire (https://forums.gentoo.org/viewtopic-t-487526-highlight-frets.html) working first.
_________________
Carlton Stedman
Gentoo Metalheads on Last.fm: http://www.last.fm/group/Gentoo+Metalheads
Back to top
View user's profile Send private message
SeeksTheMoon
Apprentice
Apprentice


Joined: 24 Sep 2003
Posts: 163

PostPosted: Sat Aug 12, 2006 12:51 am    Post subject: Reply with quote

OO uses it's own python. Maybe with a modular OO it's possible to use the system install of python too.
Back to top
View user's profile Send private message
tuxmagi
n00b
n00b


Joined: 22 Oct 2004
Posts: 68
Location: Providence, RI

PostPosted: Sat Aug 12, 2006 12:55 am    Post subject: Build Troubles Reply with quote

I ran into some unexpected delays while preparing to dissect the OpenOffice install process. Some of the dependencies failed installation (I didn't even have xorg install on the box yet). I'm working to clean up these problems as soon as possible and then I'll start tackling OpenOffice.
_________________
An introductory exercise in differential geometry: Is Middle Earth flat? (My Igloo)
Back to top
View user's profile Send private message
gentoo_lan
l33t
l33t


Joined: 08 Sep 2004
Posts: 890
Location: Charles Town, WV

PostPosted: Sat Aug 12, 2006 3:04 am    Post subject: Reply with quote

runningwithscissors wrote:
Icer wrote:

You want this quickly into dev's attention? Then file a bug. That should do it. :D



https://bugs.gentoo.org/show_bug.cgi?id=103378

So, don't bother.


The only way the devs will do it is if someone does the work for them and develops a patch for splitting the ebuild.
Back to top
View user's profile Send private message
StarDragon
Guru
Guru


Joined: 19 Jun 2005
Posts: 390
Location: tEXas

PostPosted: Mon Aug 14, 2006 4:10 am    Post subject: Reply with quote

That would totally rock!

It makes sense too! Thanks guys, its ideas like these that keep Open Source moving forward. 8)
_________________
"After all, a person's a person, no matter how small."--Horton Hears A Who!
Back to top
View user's profile Send private message
Q-collective
Advocate
Advocate


Joined: 22 Mar 2004
Posts: 2056

PostPosted: Mon Aug 14, 2006 4:13 am    Post subject: Reply with quote

StarDragon wrote:
That would totally rock!

It makes sense too! Thanks guys, its ideas like these that keep Open Source moving forward. 8)

Actually, I think it was the logical next step when the Gentoo devs announced the KDE splitted ebuilds.
Back to top
View user's profile Send private message
enderandrew
l33t
l33t


Joined: 25 Oct 2005
Posts: 731

PostPosted: Mon Aug 14, 2006 4:55 am    Post subject: Re: Build Troubles Reply with quote

tuxmagi wrote:
I ran into some unexpected delays while preparing to dissect the OpenOffice install process. Some of the dependencies failed installation (I didn't even have xorg install on the box yet). I'm working to clean up these problems as soon as possible and then I'll start tackling OpenOffice.


You're a good man, Charlie Brown.
_________________
Nihilism makes me smile.
Back to top
View user's profile Send private message
runningwithscissors
Guru
Guru


Joined: 21 Apr 2006
Posts: 454
Location: the third world

PostPosted: Mon Aug 14, 2006 5:01 am    Post subject: Reply with quote

Q-collective wrote:

Actually, I think it was the logical next step when the Gentoo devs announced the KDE splitted ebuilds.


I think that was because KDE packages were available as seperate source packages from upstream. I don't think that is the case with OO.org
_________________
At some stage, the Hindus locked on to the nation destroying concepts like ahimsa (non-violence), shanti (peace), satya (truth) — the ‘ass’ syndrome.
Back to top
View user's profile Send private message
Q-collective
Advocate
Advocate


Joined: 22 Mar 2004
Posts: 2056

PostPosted: Mon Aug 14, 2006 5:35 am    Post subject: Reply with quote

runningwithscissors wrote:
Q-collective wrote:

Actually, I think it was the logical next step when the Gentoo devs announced the KDE splitted ebuilds.


I think that was because KDE packages were available as seperate source packages from upstream. I don't think that is the case with OO.org

I certainly can't find a seperate konqueror, konsole or kstars package upstream. What are you talking about?
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3221

PostPosted: Mon Aug 14, 2006 7:12 am    Post subject: Reply with quote

Q-collective wrote:

I certainly can't find a seperate konqueror, konsole or kstars package upstream. What are you talking about?
Well kstars is here: http://edu.kde.org/kstars/ as a seperate d/l, although the others you mentioned are released as part of KDE.

I've played with the KDE source before, and I think a key difference is that KDE is logically broken into components when you view the source (konq dir, konsole dir, etc.), making it less of a daunting task when breaking it up. OO IMHO would be very difficult to pull apart. (Unless you just go the binary approach, as mentioned above.)
Back to top
View user's profile Send private message
tuxmagi
n00b
n00b


Joined: 22 Oct 2004
Posts: 68
Location: Providence, RI

PostPosted: Fri Aug 18, 2006 3:32 am    Post subject: Modular openoffice-bin Stage 1 Reply with quote

I've made an ebuild that allows the user to select what to install from writer, calc, math, draw, and impress using USE flags. This is the first ebuild I've ever really edited, so bear with me. Anyway, here's what I have so far: http://igloo.serveblog.net/other/openoffice-bin-2.0.3.ebuild

It really doesn't save much disk space or install time. If anybody more familiar with the OpenOffice.org installation process could figure if any of the core* files could be excluded, it would be quite helpful.
_________________
An introductory exercise in differential geometry: Is Middle Earth flat? (My Igloo)
Back to top
View user's profile Send private message
Dralnu
Veteran
Veteran


Joined: 24 May 2006
Posts: 1919

PostPosted: Fri Aug 18, 2006 4:06 am    Post subject: Reply with quote

From my knowledge, KDE was split by the Gentoo devs, but I havn't messed with the code, and some people use an obscure function-naming system that is a pain to handle (look over the Smaug 1.4a code. update.c is a nightmare to read unless you know what is where).

If other distros have, say, RPMs of split/modular OOo, then doesn't Gentoo have an rpm2tgz program?

Maybe we should start asking the people who do the coding for OOo to split it themselves (and in the proccess, clean up the code since it seems to be needed), since I think that no one will really complain about a split OOo (cept people who use it all, but that I don't think is often).

As for reading the bug report, well, I'm keeping quiet on that.
_________________
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3221

PostPosted: Mon Apr 02, 2007 4:41 am    Post subject: Reply with quote

Just sending an update to this thread. It looks like the new OOo ebuilds are written in such a way where making it more modular seems simple.

Code:
for i in base calc core01 core02 core03 core03u core04 core04u core05 core05u core06 core07 core08 core09 core10 draw emailmerge impress math writer graphicfilter pyuno testtool xsltfilter ; do


Looks like you can pull out some of those components that aren't needed if you only wanted part of OOo. The key I suppose is to figure out which of those components are needed to run the various core OOo programs.
Back to top
View user's profile Send private message
sian
Apprentice
Apprentice


Joined: 26 Jan 2004
Posts: 288

PostPosted: Mon Mar 30, 2009 7:14 pm    Post subject: Modular OpenOffice Reply with quote

It would be nice to install only what we need in Ooo. For example, Calc and Writer but not all the others like base
_________________
Kernel : 2.6.32 - E17 - OpenRC-0.61 - gcc-4.4.3
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2674
Location: here, there or in transit

PostPosted: Tue Mar 31, 2009 1:38 am    Post subject: Reply with quote

If wishes were fishes, ....
Merged above post here.
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
BeteNoire
Veteran
Veteran


Joined: 25 Sep 2005
Posts: 1827

PostPosted: Fri Sep 11, 2009 2:15 pm    Post subject: Reply with quote

How long has it been since first post in this thread been wrote?

And what have been done to get modular Openoffice in Gentoo, when other distros have it?

Why am I to install whole huge package:
Code:
qsize -fm openoffice-bin
app-office/openoffice-bin-3.1.1: 4141 files, 448 non-files, 367 MB


if I use only oowriter?

Of course OO should be modular!
_________________
powered by power plant
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2045
Location: Germany

PostPosted: Fri Sep 11, 2009 7:00 pm    Post subject: Reply with quote

impossible.

Or let me phrase it differently:

tell this upstream.

ooo is big fat monlithic block. oowrite&draw,calc are all the same binary.

So go and tell it to SUN. And they will probably ignore you. Because SUN ignores user wishes&needs on a regular basis.
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2045
Location: Germany

PostPosted: Fri Sep 11, 2009 7:02 pm    Post subject: Reply with quote

BeteNoire wrote:
How long has it been since first post in this thread been wrote?

And what have been done to get modular Openoffice in Gentoo, when other distros have it?

Why am I to install whole huge package:
Code:
qsize -fm openoffice-bin
app-office/openoffice-bin-3.1.1: 4141 files, 448 non-files, 367 MB


if I use only oowriter?

Of course OO should be modular!


go to /usr/lib64/openoffice/program/

and then cat swriter, scalc and sdraw.

see?

what you demand is IMPOSSIBLE.
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Back to top
View user's profile Send private message
BeteNoire
Veteran
Veteran


Joined: 25 Sep 2005
Posts: 1827

PostPosted: Sat Sep 12, 2009 1:18 am    Post subject: Reply with quote

energyman76b wrote:
impossible.

Yeah, rite.
energyman76b wrote:
tell this upstream.

Tell this to Debian users. They've got modular OO.
_________________
powered by power plant
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2045
Location: Germany

PostPosted: Sat Sep 12, 2009 7:22 am    Post subject: Reply with quote

BeteNoire wrote:
energyman76b wrote:
impossible.

Yeah, rite.
energyman76b wrote:
tell this upstream.

Tell this to Debian users. They've got modular OO.


oh really - or are just the symlinks not created.
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Back to top
View user's profile Send private message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1691
Location: Switzerland (Romandie)

PostPosted: Wed Dec 02, 2009 7:28 pm    Post subject: Re: Let the Games Begin Reply with quote

tuxmagi wrote:
Does OpenOffice source compile for AMD64 yet?

Of course. I always compile it from the sources because the result run faster and is more stable.
Back to top
View user's profile Send private message
few
Guru
Guru


Joined: 03 Mar 2008
Posts: 448

PostPosted: Wed Dec 02, 2009 7:52 pm    Post subject: Reply with quote

Sorry if someone already said this. Splitting OpenOffice is (as it has already been said too many times) pointless. OpenOffice is not a collection of many independent applications, but many applications that share most parts. That means you would have to compile almost everything anyways and you would save at most some disk space (but not even as much as you might expect). So please, not another thread about this...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
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