Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126184 - Openoffice-2.0.2 has wrong mozilla/firefox USE/DEPS for sparc
Summary: Openoffice-2.0.2 has wrong mozilla/firefox USE/DEPS for sparc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-14 10:24 UTC by Gustavo Zacarias (RETIRED)
Modified: 2006-05-03 12:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo Zacarias (RETIRED) gentoo-dev 2006-03-14 10:24:18 UTC
Openoffice-2.0.2 deps on firefox>=1.5 for USE=firefox and that's not even keyworded ~sparc so i had to remove the ~sparc keyword from OO-2.0.2.
Is 1.5 really necessary? It's quite broke on sparc so it's not an option ATM.
Masking firefox globally isn't too good either since other ebuilds use it too.
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2006-03-14 11:10:26 UTC
Last time I checked the gentoo-ebuilds for 1.0.x didnt provide all the necessary stuff to build the mozilla-connectivity in OOo but you might want to try out if this is already resolved.
Comment 2 Gustavo Zacarias (RETIRED) gentoo-dev 2006-03-20 07:39:12 UTC
It's still broken, and the firefox USE flag can't be masked since it's valid for other ebuilds.
Comment 3 Hanno Zysik (geki) 2006-03-20 08:40:34 UTC
AFAIK the mozilla/firefox depends are that high to throw in dev-libs/nspr and dev-libs/nss.

If I am wrong what else depends on the newer versions? Nothing I know about yet. :)

---
They do not need to be set to >=mozilla-1.7.12 or >=firefox-1.5-r9 in openoffice ebuild. Instead you could just add >=nspr-4.6.1-r1 and >=nss-3.11-r3 depends (both have ~sparc keywording) and lower mozilla/firefox version depends again.

ooo-build defaults to system nspr/nss if their pkgconfig files are there which are there with the latest versions of nspr/nss in portage. I did it this way in the days where mozilla/firefox wasn't able to link to system nspr/nss. I had no issues. No extra patch is needed for OOo.

The firefox plugin to read OOo documents in the browser still worked and the mozilla addressbook connectivity is not built with system mozilla/firefox anyway. Did that change? Not that I know.
Comment 4 Gustavo Zacarias (RETIRED) gentoo-dev 2006-03-22 04:48:42 UTC
Yes, it seems the OO build fails on nss/nspr stuff when building against firefox-1.0.x.
Question is, will ff-1.0.x build against the newer nss/nspr? And will it work?
Comment 5 Hanno Zysik (geki) 2006-03-22 05:05:40 UTC
ff-1.0.x supports --with-system-nspr but Mozilla herd won't touch that I guess.
So you cannot build ff-1.0.x against system nspr/nss.

But dev-libs/{nspr,nss} can coexist with firefox-{nspr,nss}.
OOo will do the magic.

Right now openoffice-2.0.2.ebuild looks like:
...
	mozilla? ( !firefox? ( >=www-client/mozilla-1.7.12 )
		firefox? ( >=www-client/mozilla-firefox-1.5-r9 ) )
...

Change it to:
...
	mozilla? ( !firefox? ( >=www-client/mozilla-1.7.5 )
		firefox? ( >=www-client/mozilla-firefox-1.0.7 )
		>=dev-libs/nspr-4.6.1-r1
		>=dev-libs/nss-3.11-r3 )
...

You will have a successful build.
Comment 6 Gustavo Zacarias (RETIRED) gentoo-dev 2006-03-22 05:08:18 UTC
I'll try, just be patient since it takes some time and i'm currently building/testing gnome 2.14 stuff. Thanks.
Comment 7 Jory A. Pratt 2006-03-30 19:47:39 UTC
(In reply to comment #5)
> ff-1.0.x supports --with-system-nspr but Mozilla herd won't touch that I guess.
> So you cannot build ff-1.0.x against system nspr/nss.

What most do not understand is in order to use system-nspr with firefox-1.0.x we would have to patch a fair deal, as we have already done in 1.5. firefox-1.0.8 is suppose to contain the patches needed to build against system-nspr if this is the case would be possible, stay tuned to find out :) 

Comment 8 Gustavo Zacarias (RETIRED) gentoo-dev 2006-05-03 12:40:47 UTC
2.0.2-r1 fixes this, back to ~sparc.