Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89193 - Evolution and DS ebuilds that use the firefox-header (nspr/nss) suite
Summary: Evolution and DS ebuilds that use the firefox-header (nspr/nss) suite
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: GNOME Office (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on: 86070
Blocks:
  Show dependency tree
 
Reported: 2005-04-15 08:45 UTC by Qui Gon
Modified: 2006-01-07 12:14 UTC (History)
5 users (show)

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


Attachments
firefox based evolution dataserver (evolution-data-server-1.2.1-r1.ebuild,2.97 KB, text/plain)
2005-04-15 08:45 UTC, Qui Gon
Details
Evolution based on firefox (evolution-2.2.1.1-r1.ebuild,4.70 KB, text/plain)
2005-04-15 08:46 UTC, Qui Gon
Details
Patch to add Firefox support and fix outdated URL for Evolution homepage (evolution-2.2.1.1-add_firefox_support.patch,2.03 KB, patch)
2005-06-25 00:07 UTC, Ken
Details | Diff
Patch to support evolution-data-server using firefox nspr-headers (evolution-data-server-1.2.1.diff,1.36 KB, patch)
2005-06-25 04:27 UTC, Qui Gon
Details | Diff
evolution-2.3.8-r1.diff (evolution-2.3.8-r1.diff,1.91 KB, patch)
2005-08-26 05:17 UTC, Qui Gon
Details | Diff
evolution-data-server-1.3.7-r1.diff (evolution-data-server-1.3.7-r1.diff,1.72 KB, patch)
2005-08-26 05:19 UTC, Qui Gon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Qui Gon 2005-04-15 08:45:11 UTC
I was really sick of having nss and nspr installed additionally to firefox and so I added  my firefox to evolution's fan-list. :)

Reusing the firefox USE-tag.
Comment 1 Qui Gon 2005-04-15 08:45:48 UTC
Created attachment 56360 [details]
firefox based evolution dataserver
Comment 2 Qui Gon 2005-04-15 08:46:16 UTC
Created attachment 56361 [details]
Evolution based on firefox
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-04-15 10:34:41 UTC
Qui: If you attach something, a unified diff is preferred. The header is invalid, please read 
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3
Comment 4 Qui Gon 2005-04-15 11:04:26 UTC
You could have saved your comment and replace the header. Maybe you can file a bug report for my "faulty" header :rolleyes:
Comment 5 gad.kadosh 2005-06-04 11:18:30 UTC
Can it get into portage ?
Comment 6 Giacomo Perale 2005-06-05 08:43:30 UTC
besides, evolution 2.2.3 is out:
http://ftp.gnome.org/pub/GNOME/sources/evolution/2.2/evolution-2.2.3.news
Comment 7 Qui Gon 2005-06-05 08:50:05 UTC
If you want 2.2.3 then replace the version in the ebuild's name appropriately.
The ebuilds will still work and download the newest version.
Comment 8 Ken 2005-06-24 23:57:22 UTC
Maintainability using nested !<package>? conditionals becomes increasingly 
flakey. Maybe using the following will help to simplify things a bit (I've 
tested this successfully on my system for many packages):

    ssl? (
        || (
            mozilla? ( www-client/mozilla )
            mozilla-firefox? ( www-client/mozilla-firefox )
            ( >=dev-libs/nspr-4.4.1 >=dev-libs/nss-3.9.2 )
        )
    )

Then, on the command-line you can use any of the following:

Emerge evolution using mozilla-firefox:
  USE="+mozilla-firefox" emerge evolution

Emerge evolution using nspr and nss:
  USE="-mozilla-firefox -mozilla" emerge evolution

Emerges evolution using mozilla:
  USE="-mozilla-firefox +mozilla" emerge evolution
Comment 9 Ken 2005-06-25 00:07:46 UTC
Created attachment 61893 [details, diff]
Patch to add Firefox support and fix outdated URL for Evolution homepage

1. Uses ||() conditional, instead of many nested !<package>? conditionals.
2. Updated the new Evolution homepage on Novell's website.
Comment 10 Qui Gon 2005-06-25 04:19:57 UTC
Great work! This looks stable to me, which can be merged into portage.
Nonetheless I don't like 'mozilla-firefox' as USE-Flag. The epiphany-ebuilds
used 'firefox'.
Comment 11 Qui Gon 2005-06-25 04:27:44 UTC
Created attachment 61902 [details, diff]
Patch to support evolution-data-server using firefox nspr-headers

Evolution-Data-Server ebuild diff for use with firefox nspr/nss suite.

Usage as above, but includes 'firefox'-useflag.

You also need the firefox-ebuild, that supports nspr/nss headers, which can be
obtained here:
http://bugs.gentoo.org/show_bug.cgi?id=86070
Comment 12 Ken 2005-06-25 08:22:05 UTC
(In reply to comment #10)
> Great work! This looks stable to me, which can be merged into portage.
> Nonetheless I don't like 'mozilla-firefox' as USE-Flag. The epiphany-ebuilds
> used 'firefox'.

I used 'mozilla-firefox' because the Firefox package is called
'mozilla-firefox'. I used it for consistency with the portage tree.
Comment 13 Gergan Penkov 2005-08-01 08:11:53 UTC
I don't see the sense of this illusionary building against sth. 
After all, how could someone be sure that at run-time this will link against
firefox or mozilla, most probably on majority installations with this
10MozillaFirefox hack in /etc/env.d all libraries will resolve to firefox. You
could try it very simply ldd /usr/lib/evolution/2.2/libeutil.so.0.0.0, build
with firefox support try again, build it with mozilla support try again and with
standard support and again. You will be bemused, it will always link against
what stays on top of ld.so.conf. 
The ebuild should set the RPATH/RUNPATH tags to secure the runtime linking (I
think), otherwise it is simply a game of poker.
Comment 14 Qui Gon 2005-08-01 09:25:49 UTC
What you say does not make sense. I build against firefox' nspr-suite to save me
from installing the separate nss/nspr-suite. It does not link what is available.
It links what I tell configure to use and so it works.
You don't need to use it, why do you complain at all? Most others are happy...
Comment 15 Gergan Penkov 2005-08-14 08:25:18 UTC
Don't take me bad :)
Probably your way is the most correct (in the sense, what the remark was meant
to be understand), but altogether it is the unreliable way of doing it. 
There are also some bugs in your firefox-build (installing the binaries from
firefox nss/nspr collide with mozilla, and I don't think they are needed for the
evolution or evolution-data-server). 
You could look at the group of ebuilds at bug #100597, to see what I mean with
all this.
Comment 16 Qui Gon 2005-08-26 02:48:44 UTC
Yes, it actually is.

Nonetheless do us a favor and stop creating duplicate threads for everything
that we do here.
If you're not satisfied then create a diff or new ebuild and post it into
existing bugreports. Don't forget to give arguments for your changes or they
will certainly be ignored.

Also I don't recommend compiling against mozilla or firefox only but include the
nss/nspr package as well. Don't say there are bugs but tell us where the bugs are.
Comment 17 Qui Gon 2005-08-26 05:17:08 UTC
Created attachment 66910 [details, diff]
evolution-2.3.8-r1.diff

This diff extends the current (evolution-2.3.8) ebuild to compile against
firefox' ssl.
Comment 18 Qui Gon 2005-08-26 05:19:02 UTC
Created attachment 66911 [details, diff]
evolution-data-server-1.3.7-r1.diff

Same for evolution data server.. SSL bla ble...
Comment 19 Jory A. Pratt 2005-12-17 10:21:20 UTC
The nss headers will not be installed with firefox. We are gonna be removing the mozilla nss headers from the ebuild shortly as well, this is gonna force all packages that need nss/nspr to build against in tree packages and not against firefox/mozilla. 
Comment 20 Joe McCann (RETIRED) gentoo-dev 2006-01-07 10:37:49 UTC
closing as won't fix per mozilla teams decision to removie nss stuff from firefox ebuilds
Comment 21 Qui Gon 2006-01-07 12:14:26 UTC
Don't you think you are repeating nonsense way to much??