Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24339 - gaim-encryption can use nss from mozilla
Summary: gaim-encryption can use nss from mozilla
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Brandon Low (RETIRED)
URL: http://gaim.sf.net
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-12 09:47 UTC by Jordan
Modified: 2003-07-14 07:51 UTC (History)
0 users

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


Attachments
an ebuild (gaim-0.64-r3.ebuild,2.18 KB, text/plain)
2003-07-12 10:31 UTC, Jordan
Details
new ebuild (gaim-0.64-r3.ebuild,2.25 KB, text/plain)
2003-07-12 16:45 UTC, Jordan
Details
even newer ebuild (gaim-0.64-r3.ebuild,2.33 KB, text/plain)
2003-07-12 17:15 UTC, Jordan
Details
oops...newest (gaim-0.64-r3.ebuild,2.31 KB, text/plain)
2003-07-12 17:18 UTC, Jordan
Details
a patch to gaim-0.64-r2. (diff,1.27 KB, patch)
2003-07-12 17:23 UTC, Jordan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jordan 2003-07-12 09:47:55 UTC
The new gaim-encryption 2.00beta1 wants nss and nspr as deps but they aren't
needed if mozilla is already providing them. It makes no sense to install a
second copy if mozilla already installed them. It states on
http://gaim-encryption.sourceforge.net/beta.html that the next version will look
specifically in xxx/mozilla/nss for include files but the current works if you
specify it manually. I havn't tried this yet but I'm about to.
Comment 1 Jordan 2003-07-12 10:31:04 UTC
Created attachment 14407 [details]
an ebuild

this is an ebuild I made. It finds the include files and passes configure, but
while compiling it fails with

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lnss3

which is one of the libraries it should find in /usr/lib/mozilla but it's not.
Comment 2 Jordan 2003-07-12 16:45:51 UTC
Created attachment 14416 [details]
new ebuild

This fixes the above problem. It all seems to be working now.
Comment 3 Jordan 2003-07-12 17:01:17 UTC
I don't think I'm doing the depend part right on the above ebuild. I have
( ssl? net-www/mozilla : dev-libs/nss )
which depends on mozilla if ssl is in USE but depends on nss if it's not. This isn't what I wanted. I'm not quite sure how to make it depend on mozilla, and if mozilla isn't installed, depend on nss, without a virtual/nss. Other then that the ebuild seems to work fine.
Comment 4 Jordan 2003-07-12 17:15:19 UTC
Created attachment 14420 [details]
even newer ebuild

This one sets a variable which is decided with has_version net-www/mozilla. If
returns true, it sets the variable to mozilla, if not, it makes it nss.
Comment 5 Jordan 2003-07-12 17:18:02 UTC
Created attachment 14421 [details]
oops...newest

I left something in the ebuild by accident which I was using for debugging...
Comment 6 Jordan 2003-07-12 17:23:13 UTC
Created attachment 14422 [details, diff]
a patch to gaim-0.64-r2.

this is just a patch version of the above to the gaim-0.64-r2 ebuild.
Comment 7 Brandon Low (RETIRED) gentoo-dev 2003-07-14 07:51:11 UTC
Sorry, but this kind of conditional for dependencies is UNACCEPTABLE and breaks caching.  We will be working out a way to deal with this WRT USE=mozilla and USE=ssl but.