Bug 120441 - (request) bump dev-libs/nspr to 4.6.1
|
Bug#:
120441
|
Product: Gentoo Linux
|
Version: 2005.1
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: liquidx@gentoo.org
|
Reported By: h.mth@web.de
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: (request) bump dev-libs/nspr to 4.6.1
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-01-26 09:36 0000
|
It would be great to get this into portage with package.mask entry.
For future Mozilla applications to link to system nspr/nss.
Soon as this is added I will finish up the work on firefox/thunderbird to build
against nss/nspr packages in tree.
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.
either way is fine I was just working out the details quickly is all.
I am gonna have to make another modification to ebuild. Soon as it is ready I
will update it.
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.
Bumped in cvs, thanks!
Since it had no metadata, added crypto as a herd.
Alastair: feel free do add yourself as a maintainer.
Cheers
As for visibility: I don't think it's much important. If you disagree, please
reopen this bug.
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.
I have commited -r1 as it has many changes, I also p.masked as it should have
been to begin with.