Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120441 - (request) bump dev-libs/nspr to 4.6.1
Summary: (request) bump dev-libs/nspr to 4.6.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 113548
  Show dependency tree
 
Reported: 2006-01-26 09:36 UTC by Hanno Zysik (geki)
Modified: 2006-01-30 09:57 UTC (History)
2 users (show)

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


Attachments
dev-libs/nspr-4.6.1.ebuild (nspr-4.6.1.ebuild,1.82 KB, text/plain)
2006-01-26 09:37 UTC, Hanno Zysik (geki)
Details
nspr.pc.in (nspr.pc.in,250 bytes, text/plain)
2006-01-26 09:40 UTC, Hanno Zysik (geki)
Details
updated for multilib systems. (nspr-4.6.1.ebuild,1.92 KB, text/plain)
2006-01-26 11:34 UTC, Jory A. Pratt
Details
fully working 64bit with proper multilib (nspr-4.6.1.ebuild,1.92 KB, text/plain)
2006-01-26 12:49 UTC, Jory A. Pratt
Details
amd64 patch (nspr-4.6.1-amd64.patch,242.93 KB, patch)
2006-01-26 13:30 UTC, Jory A. Pratt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Zysik (geki) 2006-01-26 09:36:37 UTC
This bump is necessary to get bug 120423 solved.
Comment 1 Hanno Zysik (geki) 2006-01-26 09:37:23 UTC
Created attachment 78183 [details]
dev-libs/nspr-4.6.1.ebuild
Comment 2 Hanno Zysik (geki) 2006-01-26 09:40:55 UTC
Created attachment 78185 [details]
nspr.pc.in
Comment 3 Hanno Zysik (geki) 2006-01-26 09:56:21 UTC
It would be great to get this into portage with package.mask entry.
For future Mozilla applications to link to system nspr/nss.
Comment 4 Jory A. Pratt 2006-01-26 10:59:26 UTC
Soon as this is added I will finish up the work on firefox/thunderbird to build against nss/nspr packages in tree.
Comment 5 Jory A. Pratt 2006-01-26 11:34:32 UTC
Created attachment 78204 [details]
updated for multilib systems.

Small changes for multilib systems.
Comment 6 Hanno Zysik (geki) 2006-01-26 11:47:57 UTC
Instead of:

	# create pkg-config file
	mkdir -p ${D}/usr/$(get_libdir)/pkgconfig/
	sed -e "s:@NSPR_VER@:${PV}:g" \
		< ${FILESDIR}/${PN}.pc.in \
		> ${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc \
		|| die "pkg-config file creation failed!"

	#correct lib dir in nspr.pc
	sed -i "s:libdir=/usr/lib/nspr:libdir=/usr/$(get_libdir)/nspr:g" \
		${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc || die "failed to correct nspr.pc"


We may do:

	# create pkg-config file
	mkdir -p ${D}/usr/$(get_libdir)/pkgconfig/
	sed -e "s:@NSPR_VER@:${PV}:g" \
		-e "s:^libdir=.*:libdir=/usr/$(get_libdir)/nspr:" \
		< ${FILESDIR}/${PN}.pc.in \
		> ${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc \
		|| die "pkg-config file creation failed!"

With dev-libs/nss likewise then.
Well, just a thought. You may do the way you like.
Comment 7 Jory A. Pratt 2006-01-26 12:02:28 UTC
either way is fine I was just working out the details quickly is all.
Comment 8 Jory A. Pratt 2006-01-26 12:38:55 UTC
I am gonna have to make another modification to ebuild. Soon as it is ready I will update it.
Comment 9 Jory A. Pratt 2006-01-26 12:49:14 UTC
Created attachment 78212 [details]
fully working 64bit with proper multilib

Aight this is the full working ebuild ppc64 might need a block to enable 64bit elf support.
Comment 10 Hanno Zysik (geki) 2006-01-26 12:58:35 UTC
We may want to enable visibility feature?
http://cvs.fedora.redhat.com/viewcvs/*checkout*/devel/nspr/nspr-4.6.1-gcc-visibility.patch
Comment 11 Jory A. Pratt 2006-01-26 13:30:00 UTC
Created attachment 78217 [details, diff]
amd64 patch

I seem to have forgotten it so here it is now! :-b
Comment 12 Jory A. Pratt 2006-01-26 13:44:58 UTC
I have managed to get these bumped in tree sooner then I thought possible. I will get to mozilla related products just as soon as I can, either next few days or sunday for sure.
Comment 13 Marcelo Goes (RETIRED) gentoo-dev 2006-01-26 13:45:39 UTC
Bumped in cvs, thanks!
Since it had no metadata, added crypto as a herd.
Alastair: feel free do add yourself as a maintainer.

Cheers
Comment 14 Marcelo Goes (RETIRED) gentoo-dev 2006-01-26 13:46:41 UTC
As for visibility: I don't think it's much important. If you disagree, please reopen this bug.
Comment 15 Hanno Zysik (geki) 2006-01-26 14:16:27 UTC
If I am not wrong it defines HAVE_VISIBILITY_PRAGMA.
At least for firefox build with gcc-4.1 here.
configure part looks same for nspr as firefox.

So that patch may be useless even.
Comment 16 Jory A. Pratt 2006-01-30 09:57:09 UTC
I have commited -r1 as it has many changes, I also p.masked as it should have been to begin with.