diff options
author | Jory Pratt <anarchy@gentoo.org> | 2010-04-10 04:06:22 +0000 |
---|---|---|
committer | Jory Pratt <anarchy@gentoo.org> | 2010-04-10 04:06:22 +0000 |
commit | 01d0a1a8134f3868a88c5ba37cba951c3aba5f7a (patch) | |
tree | fac22ca77a8c503180c88cf5019b4419a0032bf5 /dev-libs/nspr | |
parent | remove stable ebuilds/files (diff) | |
download | gentoo-2-01d0a1a8134f3868a88c5ba37cba951c3aba5f7a.tar.gz gentoo-2-01d0a1a8134f3868a88c5ba37cba951c3aba5f7a.tar.bz2 gentoo-2-01d0a1a8134f3868a88c5ba37cba951c3aba5f7a.zip |
remove stable ebuilds/files
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/nspr')
-rw-r--r-- | dev-libs/nspr/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/nspr/files/nspr-4.6.1-gcc-visibility.patch | 15 | ||||
-rw-r--r-- | dev-libs/nspr/files/nspr-4.6.1-prtime.patch | 26 | ||||
-rw-r--r-- | dev-libs/nspr/files/nspr-4.8-pkgconfig-gentoo-1.patch | 126 | ||||
-rw-r--r-- | dev-libs/nspr/files/nspr-4.8-pkgconfig-gentoo.patch | 126 | ||||
-rw-r--r-- | dev-libs/nspr/files/nspr.pc.in | 10 | ||||
-rw-r--r-- | dev-libs/nspr/nspr-4.6.8.ebuild | 96 | ||||
-rw-r--r-- | dev-libs/nspr/nspr-4.7.3.ebuild | 89 | ||||
-rw-r--r-- | dev-libs/nspr/nspr-4.7.4.ebuild | 89 | ||||
-rw-r--r-- | dev-libs/nspr/nspr-4.8.2-r1.ebuild | 88 | ||||
-rw-r--r-- | dev-libs/nspr/nspr-4.8.2.ebuild | 88 | ||||
-rw-r--r-- | dev-libs/nspr/nspr-4.8.3-r3.ebuild | 87 |
12 files changed, 8 insertions, 841 deletions
diff --git a/dev-libs/nspr/ChangeLog b/dev-libs/nspr/ChangeLog index 6b514c098151..8017ee268d3b 100644 --- a/dev-libs/nspr/ChangeLog +++ b/dev-libs/nspr/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-libs/nspr # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/ChangeLog,v 1.137 2010/03/09 01:55:51 anarchy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/ChangeLog,v 1.138 2010/04/10 04:06:21 anarchy Exp $ + + 10 Apr 2010; <anarchy@gentoo.org> -files/nspr-4.6.1-gcc-visibility.patch, + -files/nspr-4.6.1-prtime.patch, -nspr-4.6.8.ebuild, -nspr-4.7.3.ebuild, + -nspr-4.7.4.ebuild, -nspr-4.8.2.ebuild, -nspr-4.8.2-r1.ebuild, + -nspr-4.8.3-r3.ebuild, -files/nspr-4.8-pkgconfig-gentoo.patch, + -files/nspr-4.8-pkgconfig-gentoo-1.patch, -files/nspr.pc.in: + remove stable ebuilds/files *nspr-4.8.4 (09 Mar 2010) diff --git a/dev-libs/nspr/files/nspr-4.6.1-gcc-visibility.patch b/dev-libs/nspr/files/nspr-4.6.1-gcc-visibility.patch deleted file mode 100644 index a741c3b3bbbb..000000000000 --- a/dev-libs/nspr/files/nspr-4.6.1-gcc-visibility.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: mozilla/nsprpub/pr/include/prtypes.h -diff -u mozilla/nsprpub/pr/include/prtypes.h:3.30 mozilla/nsprpub/pr/include/prtypes.h:3.30.2.1 ---- mozilla/nsprpub/pr/include/prtypes.h:3.30 Fri Apr 29 21:02:54 2005 -+++ mozilla/nsprpub/pr/include/prtypes.h Tue Jan 3 17:43:35 2006 -@@ -178,7 +178,9 @@ - - #else /* Unix */ - --#ifdef HAVE_VISIBILITY_PRAGMA -+/* GCC 3.3 and later support the visibility attribute. */ -+#if (__GNUC__ >= 4) || \ -+ (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) - #define PR_VISIBILITY_DEFAULT __attribute__((visibility("default"))) - #else - #define PR_VISIBILITY_DEFAULT diff --git a/dev-libs/nspr/files/nspr-4.6.1-prtime.patch b/dev-libs/nspr/files/nspr-4.6.1-prtime.patch deleted file mode 100644 index 4839838f2b06..000000000000 --- a/dev-libs/nspr/files/nspr-4.6.1-prtime.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- mozilla/nsprpub/pr/src/misc/prtime.c-orig 2004-04-25 10:01:01.000000000 -0500 -+++ mozilla/nsprpub/pr/src/misc/prtime.c 2006-02-23 12:07:35.098166000 -0600 -@@ -1509,7 +1509,7 @@ - case TT_EET: zone_offset = 2 * 60; break; - case TT_JST: zone_offset = 9 * 60; break; - default: -- PR_ASSERT (0); -+ return PR_FAILURE; - break; - } - } -@@ -1551,11 +1551,12 @@ - struct tm localTime; - time_t secs; - -- PR_ASSERT(tm.tm_month > -1 -+ if (!(tm.tm_month > -1 - && tm.tm_mday > 0 - && tm.tm_hour > -1 - && tm.tm_min > -1 -- && tm.tm_sec > -1); -+ && tm.tm_sec > -1)) -+ return PR_FAILURE; - - /* - * To obtain time_t from a tm structure representing the local diff --git a/dev-libs/nspr/files/nspr-4.8-pkgconfig-gentoo-1.patch b/dev-libs/nspr/files/nspr-4.8-pkgconfig-gentoo-1.patch deleted file mode 100644 index 95961e64fcdb..000000000000 --- a/dev-libs/nspr/files/nspr-4.8-pkgconfig-gentoo-1.patch +++ /dev/null @@ -1,126 +0,0 @@ -diff -urN nspr-4.8-orig/mozilla/nsprpub/config/config.mk nspr-4.8/mozilla/nsprpub/config/config.mk ---- nspr-4.8-orig/mozilla/nsprpub/config/config.mk 2009-09-12 00:43:47.678357452 -0500 -+++ nspr-4.8/mozilla/nsprpub/config/config.mk 2009-09-12 00:44:19.383381757 -0500 -@@ -162,3 +162,4 @@ - RELEASE_INCLUDE_DIR = $(RELEASE_DIR)/$(BUILD_NUMBER)/$(OBJDIR_NAME)/include - RELEASE_BIN_DIR = $(RELEASE_DIR)/$(BUILD_NUMBER)/$(OBJDIR_NAME)/bin - RELEASE_LIB_DIR = $(RELEASE_DIR)/$(BUILD_NUMBER)/$(OBJDIR_NAME)/lib -+RELEASE_PC_DIR = $(RELEASE_LIB_DIR)/pkgconfig -diff -urN nspr-4.8-orig/mozilla/nsprpub/config/Makefile.in nspr-4.8/mozilla/nsprpub/config/Makefile.in ---- nspr-4.8-orig/mozilla/nsprpub/config/Makefile.in 2009-09-12 00:43:47.678357452 -0500 -+++ nspr-4.8/mozilla/nsprpub/config/Makefile.in 2009-09-12 00:44:19.384379661 -0500 -@@ -52,9 +52,10 @@ - - # autoconf.mk must be deleted last (from the top-level directory) - # because it is included by every makefile. --DIST_GARBAGE = nsprincl.mk nsprincl.sh nspr-config -+DIST_GARBAGE = nsprincl.mk nsprincl.sh nspr-config nspr.pc - - RELEASE_BINS = nspr-config -+RELEASE_PC = nspr.pc - - include $(topsrcdir)/config/config.mk - -diff -urN nspr-4.8-orig/mozilla/nsprpub/config/nspr-config.in nspr-4.8/mozilla/nsprpub/config/nspr-config.in ---- nspr-4.8-orig/mozilla/nsprpub/config/nspr-config.in 2009-09-12 00:43:47.677356194 -0500 -+++ nspr-4.8/mozilla/nsprpub/config/nspr-config.in 2009-09-12 00:45:53.723359547 -0500 -@@ -92,13 +92,13 @@ - - # Set variables that may be dependent upon other variables - if test -z "$exec_prefix"; then -- exec_prefix=@exec_prefix@ -+ exec_prefix=`pkg-config --variable=exec_prefix nspr` - fi - if test -z "$includedir"; then -- includedir=@includedir@ -+ includedir=`pkg-config --variable=includedir nspr` - fi - if test -z "$libdir"; then -- libdir=@libdir@ -+ libdir=`pkg-config --variable=libdir nspr` - fi - - if test "$echo_prefix" = "yes"; then -diff -urN nspr-4.8-orig/mozilla/nsprpub/config/nspr.pc.in nspr-4.8/mozilla/nsprpub/config/nspr.pc.in ---- nspr-4.8-orig/mozilla/nsprpub/config/nspr.pc.in 1969-12-31 18:00:00.000000000 -0600 -+++ nspr-4.8/mozilla/nsprpub/config/nspr.pc.in 2009-09-12 00:44:19.410432811 -0500 -@@ -0,0 +1,11 @@ -+prefix=@prefix@ -+exec_prefix=@exec_prefix@ -+libdir=@libdir@ -+includedir=@includedir@ -+ -+Name: NSPR -+Description: The Netscape Portable Runtime -+Version: @MOD_MAJOR_VERSION@.@MOD_MINOR_VERSION@.@MOD_PATCH_VERSION@ -+Libs: -R${libdir} -L${libdir} -lplds@MOD_MAJOR_VERSION@ -lplc@MOD_MAJOR_VERSION@ -lnspr@MOD_MAJOR_VERSION@ -lpthread -+Cflags: -I${includedir} -+ -diff -urN nspr-4.8-orig/mozilla/nsprpub/config/rules.mk nspr-4.8/mozilla/nsprpub/config/rules.mk ---- nspr-4.8-orig/mozilla/nsprpub/config/rules.mk 2009-09-12 00:43:47.677356194 -0500 -+++ nspr-4.8/mozilla/nsprpub/config/rules.mk 2009-09-12 00:44:19.435517111 -0500 -@@ -211,7 +211,7 @@ - rm -rf $(wildcard *.OBJ *.OBJD) dist $(ALL_TRASH) $(DIST_GARBAGE) - +$(LOOP_OVER_DIRS) - --install:: $(RELEASE_BINS) $(RELEASE_HEADERS) $(RELEASE_LIBS) -+install:: $(RELEASE_BINS) $(RELEASE_HEADERS) $(RELEASE_LIBS) $(RELEASE_PC) - ifdef RELEASE_BINS - $(NSINSTALL) -t -m 0755 $(RELEASE_BINS) $(DESTDIR)$(bindir) - endif -@@ -221,6 +221,9 @@ - ifdef RELEASE_LIBS - $(NSINSTALL) -t -m 0755 $(RELEASE_LIBS) $(DESTDIR)$(libdir)/$(lib_subdir) - endif -+ifdef RELEASE_PC -+ $(NSINSTALL) -t -m 0644 $(RELEASE_PC) $(DESTDIR)$(libdir)/pkgconfig/ -+endif - +$(LOOP_OVER_DIRS) - - release:: export -@@ -272,6 +275,23 @@ - fi - cp $(RELEASE_HEADERS) $(RELEASE_HEADERS_DEST) - endif -+ifdef RELEASE_PC -+ @echo "Copying pkg-config files to release directory" -+ @if test -z "$(BUILD_NUMBER)"; then \ -+ echo "BUILD_NUMBER must be defined"; \ -+ false; \ -+ else \ -+ true; \ -+ fi -+ @if test ! -d $(RELEASE_PC_DEST); then \ -+ rm -rf $(RELEASE_PC_DEST); \ -+ $(NSINSTALL) -D $(RELEASE_PC_DEST);\ -+ else \ -+ true; \ -+ fi -+ cp $(RELEASE_PC) $(RELEASE_PC_DEST) -+endif -+ - +$(LOOP_OVER_DIRS) - - alltags: -diff -urN nspr-4.8-orig/mozilla/nsprpub/configure nspr-4.8/mozilla/nsprpub/configure ---- nspr-4.8-orig/mozilla/nsprpub/configure 2009-09-12 00:43:47.600359058 -0500 -+++ nspr-4.8/mozilla/nsprpub/configure 2009-09-12 00:44:19.444380569 -0500 -@@ -6037,6 +6037,7 @@ - config/nsprincl.mk - config/nsprincl.sh - config/nspr-config -+config/nspr.pc - lib/Makefile - lib/ds/Makefile - lib/libc/Makefile -diff -urN nspr-4.8-orig/mozilla/nsprpub/configure.in nspr-4.8/mozilla/nsprpub/configure.in ---- nspr-4.8-orig/mozilla/nsprpub/configure.in 2009-09-12 00:43:47.678357452 -0500 -+++ nspr-4.8/mozilla/nsprpub/configure.in 2009-09-12 00:44:19.451396074 -0500 -@@ -2871,6 +2871,7 @@ - config/nsprincl.mk - config/nsprincl.sh - config/nspr-config -+config/nspr.pc - lib/Makefile - lib/ds/Makefile - lib/libc/Makefile diff --git a/dev-libs/nspr/files/nspr-4.8-pkgconfig-gentoo.patch b/dev-libs/nspr/files/nspr-4.8-pkgconfig-gentoo.patch deleted file mode 100644 index 3309ae085feb..000000000000 --- a/dev-libs/nspr/files/nspr-4.8-pkgconfig-gentoo.patch +++ /dev/null @@ -1,126 +0,0 @@ -diff -urN nspr-4.8-orig/mozilla/nsprpub/config/config.mk nspr-4.8/mozilla/nsprpub/config/config.mk ---- nspr-4.8-orig/mozilla/nsprpub/config/config.mk 2009-09-12 00:43:47.678357452 -0500 -+++ nspr-4.8/mozilla/nsprpub/config/config.mk 2009-09-12 00:44:19.383381757 -0500 -@@ -162,3 +162,4 @@ - RELEASE_INCLUDE_DIR = $(RELEASE_DIR)/$(BUILD_NUMBER)/$(OBJDIR_NAME)/include - RELEASE_BIN_DIR = $(RELEASE_DIR)/$(BUILD_NUMBER)/$(OBJDIR_NAME)/bin - RELEASE_LIB_DIR = $(RELEASE_DIR)/$(BUILD_NUMBER)/$(OBJDIR_NAME)/lib -+RELEASE_PC_DIR = $(RELEASE_LIB_DIR)/pkgconfig -diff -urN nspr-4.8-orig/mozilla/nsprpub/config/Makefile.in nspr-4.8/mozilla/nsprpub/config/Makefile.in ---- nspr-4.8-orig/mozilla/nsprpub/config/Makefile.in 2009-09-12 00:43:47.678357452 -0500 -+++ nspr-4.8/mozilla/nsprpub/config/Makefile.in 2009-09-12 00:44:19.384379661 -0500 -@@ -52,9 +52,10 @@ - - # autoconf.mk must be deleted last (from the top-level directory) - # because it is included by every makefile. --DIST_GARBAGE = nsprincl.mk nsprincl.sh nspr-config -+DIST_GARBAGE = nsprincl.mk nsprincl.sh nspr-config nspr.pc - - RELEASE_BINS = nspr-config -+RELEASE_PC = nspr.pc - - include $(topsrcdir)/config/config.mk - -diff -urN nspr-4.8-orig/mozilla/nsprpub/config/nspr-config.in nspr-4.8/mozilla/nsprpub/config/nspr-config.in ---- nspr-4.8-orig/mozilla/nsprpub/config/nspr-config.in 2009-09-12 00:43:47.677356194 -0500 -+++ nspr-4.8/mozilla/nsprpub/config/nspr-config.in 2009-09-12 00:45:53.723359547 -0500 -@@ -92,13 +92,13 @@ - - # Set variables that may be dependent upon other variables - if test -z "$exec_prefix"; then -- exec_prefix=@exec_prefix@ -+ exec_prefix=`pkg-config --variable=exec_prefix nspr` - fi - if test -z "$includedir"; then -- includedir=@includedir@ -+ includedir=`pkg-config --variable=includedir nspr` - fi - if test -z "$libdir"; then -- libdir=@libdir@ -+ libdir=`pkg-config --variable=libdir nspr` - fi - - if test "$echo_prefix" = "yes"; then -diff -urN nspr-4.8-orig/mozilla/nsprpub/config/nspr.pc.in nspr-4.8/mozilla/nsprpub/config/nspr.pc.in ---- nspr-4.8-orig/mozilla/nsprpub/config/nspr.pc.in 1969-12-31 18:00:00.000000000 -0600 -+++ nspr-4.8/mozilla/nsprpub/config/nspr.pc.in 2009-09-12 00:44:19.410432811 -0500 -@@ -0,0 +1,11 @@ -+prefix=@prefix@ -+exec_prefix=@exec_prefix@ -+libdir=@libdir@ -+includedir=@includedir@ -+ -+Name: NSPR -+Description: The Netscape Portable Runtime -+Version: @MOD_MAJOR_VERSION@.@MOD_MINOR_VERSION@.@MOD_PATCH_VERSION@ -+Libs: -L${libdir} -lplds@MOD_MAJOR_VERSION@ -lplc@MOD_MAJOR_VERSION@ -lnspr@MOD_MAJOR_VERSION@ -lpthread -+Cflags: -I${includedir} -+ -diff -urN nspr-4.8-orig/mozilla/nsprpub/config/rules.mk nspr-4.8/mozilla/nsprpub/config/rules.mk ---- nspr-4.8-orig/mozilla/nsprpub/config/rules.mk 2009-09-12 00:43:47.677356194 -0500 -+++ nspr-4.8/mozilla/nsprpub/config/rules.mk 2009-09-12 00:44:19.435517111 -0500 -@@ -211,7 +211,7 @@ - rm -rf $(wildcard *.OBJ *.OBJD) dist $(ALL_TRASH) $(DIST_GARBAGE) - +$(LOOP_OVER_DIRS) - --install:: $(RELEASE_BINS) $(RELEASE_HEADERS) $(RELEASE_LIBS) -+install:: $(RELEASE_BINS) $(RELEASE_HEADERS) $(RELEASE_LIBS) $(RELEASE_PC) - ifdef RELEASE_BINS - $(NSINSTALL) -t -m 0755 $(RELEASE_BINS) $(DESTDIR)$(bindir) - endif -@@ -221,6 +221,9 @@ - ifdef RELEASE_LIBS - $(NSINSTALL) -t -m 0755 $(RELEASE_LIBS) $(DESTDIR)$(libdir)/$(lib_subdir) - endif -+ifdef RELEASE_PC -+ $(NSINSTALL) -t -m 0644 $(RELEASE_PC) $(DESTDIR)$(libdir)/pkgconfig/ -+endif - +$(LOOP_OVER_DIRS) - - release:: export -@@ -272,6 +275,23 @@ - fi - cp $(RELEASE_HEADERS) $(RELEASE_HEADERS_DEST) - endif -+ifdef RELEASE_PC -+ @echo "Copying pkg-config files to release directory" -+ @if test -z "$(BUILD_NUMBER)"; then \ -+ echo "BUILD_NUMBER must be defined"; \ -+ false; \ -+ else \ -+ true; \ -+ fi -+ @if test ! -d $(RELEASE_PC_DEST); then \ -+ rm -rf $(RELEASE_PC_DEST); \ -+ $(NSINSTALL) -D $(RELEASE_PC_DEST);\ -+ else \ -+ true; \ -+ fi -+ cp $(RELEASE_PC) $(RELEASE_PC_DEST) -+endif -+ - +$(LOOP_OVER_DIRS) - - alltags: -diff -urN nspr-4.8-orig/mozilla/nsprpub/configure nspr-4.8/mozilla/nsprpub/configure ---- nspr-4.8-orig/mozilla/nsprpub/configure 2009-09-12 00:43:47.600359058 -0500 -+++ nspr-4.8/mozilla/nsprpub/configure 2009-09-12 00:44:19.444380569 -0500 -@@ -6037,6 +6037,7 @@ - config/nsprincl.mk - config/nsprincl.sh - config/nspr-config -+config/nspr.pc - lib/Makefile - lib/ds/Makefile - lib/libc/Makefile -diff -urN nspr-4.8-orig/mozilla/nsprpub/configure.in nspr-4.8/mozilla/nsprpub/configure.in ---- nspr-4.8-orig/mozilla/nsprpub/configure.in 2009-09-12 00:43:47.678357452 -0500 -+++ nspr-4.8/mozilla/nsprpub/configure.in 2009-09-12 00:44:19.451396074 -0500 -@@ -2871,6 +2871,7 @@ - config/nsprincl.mk - config/nsprincl.sh - config/nspr-config -+config/nspr.pc - lib/Makefile - lib/ds/Makefile - lib/libc/Makefile diff --git a/dev-libs/nspr/files/nspr.pc.in b/dev-libs/nspr/files/nspr.pc.in deleted file mode 100644 index 266079015c4e..000000000000 --- a/dev-libs/nspr/files/nspr.pc.in +++ /dev/null @@ -1,10 +0,0 @@ -prefix=/usr -exec_prefix=/usr -libdir=/usr/lib/nspr -includedir=/usr/include - -Name: NSPR -Description: The Netscape Portable Runtime -Version: @NSPR_VER@ -Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 -lpthread -ldl -Wl,-R${libdir} -Cflags: -I${includedir}/nspr diff --git a/dev-libs/nspr/nspr-4.6.8.ebuild b/dev-libs/nspr/nspr-4.6.8.ebuild deleted file mode 100644 index ca4294519d34..000000000000 --- a/dev-libs/nspr/nspr-4.6.8.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.6.8.ebuild,v 1.13 2009/08/02 19:23:31 darkside Exp $ - -inherit eutils multilib toolchain-funcs - -DESCRIPTION="Netscape Portable Runtime" -HOMEPAGE="http://www.mozilla.org/projects/nspr/" -SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar.gz" - -LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="ipv6 debug" - -DEPEND="" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack ${A} - cd "${S}" - mkdir build inst - epatch "${FILESDIR}"/${PN}-4.6.1-config.patch - epatch "${FILESDIR}"/${PN}-4.6.1-config-1.patch - epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch - epatch "${FILESDIR}"/${PN}-4.6.1-prtime.patch -} - -src_compile() { - cd build - - echo > "${T}"/test.c - $(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o - case $(file "${T}"/test.o) in - *64-bit*) myconf="${myconf} --enable-64bit";; - *32-bit*) ;; - *) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";; - esac - - if use ipv6; then - myconf="${myconf} --enable-ipv6" - fi - - myconf="${myconf} --libdir=/usr/$(get_libdir)/nspr" - - ECONF_SOURCE="../mozilla/nsprpub" econf \ - $(use_enable debug) \ - ${myconf} || die "econf failed" - make CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die -} - -src_install () { - # Their build system is royally confusing, as usual - MINOR_VERSION=6 - cd "${S}/build" - make install - insinto /usr - doins -r dist/* - rm -rf "${D}"/usr/bin/lib*.so - - #removing includes/nspr/md as per fedora spec - # i.e a waste of space! - rm -rf "${D}/usr/include/nspr/md" - - # there have been /usr/lib/nspr changes (like the ldpath below), but never - # have I seen any libraries end up in this directory. lets fix that. - # note: I tried doing this fix via the build system. It wont work. - if [ ! -e "${D}/usr/lib/nspr" ] ; then - mkdir -p "${D}/usr/lib/nspr" - mv "${D}"/usr/lib/*so* "${D}/usr/lib/nspr" - mv "${D}"/usr/lib/*\.a "${D}/usr/lib/nspr" - fi - # and while we're at it, lets make it actually use the arch's libdir damnit - if [ "lib" != "$(get_libdir)" ] ; then - mv "${D}/usr/lib" "${D}/usr/$(get_libdir)" - fi - #and while at it move them to files with versions-ending - #and link them back :) - cd "${D}/usr/$(get_libdir)/nspr" - for file in *.so; do - mv ${file} ${file}.${MINOR_VERSION} - ln -s ${file}.${MINOR_VERSION} ${file} - done - # cope with libraries being in /usr/lib/nspr - dodir /etc/env.d - echo "LDPATH=/usr/$(get_libdir)/nspr" > "${D}/etc/env.d/08nspr" - - # install nspr-config - insinto /usr/bin - doins "${S}/build/config/nspr-config" - chmod a+x "${D}/usr/bin/nspr-config" - - # create pkg-config file - insinto /usr/$(get_libdir)/pkgconfig/ - doins "${S}/build/config/nspr.pc" -} diff --git a/dev-libs/nspr/nspr-4.7.3.ebuild b/dev-libs/nspr/nspr-4.7.3.ebuild deleted file mode 100644 index 309cf42679d7..000000000000 --- a/dev-libs/nspr/nspr-4.7.3.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.7.3.ebuild,v 1.10 2009/08/02 19:23:31 darkside Exp $ - -inherit eutils multilib toolchain-funcs - -DESCRIPTION="Netscape Portable Runtime" -HOMEPAGE="http://www.mozilla.org/projects/nspr/" -SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar.gz" - -LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="ipv6 debug" - -DEPEND=">=dev-db/sqlite-3.5" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack ${A} - cd "${S}" - mkdir build inst - epatch "${FILESDIR}"/${PN}-4.6.1-config.patch - epatch "${FILESDIR}"/${PN}-4.6.1-config-1.patch - epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch - epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch - - # Respect LDFLAGS - sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \ - mozilla/nsprpub/config/rules.mk -} - -src_compile() { - cd "${S}"/build - - echo > "${T}"/test.c - $(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o - case $(file "${T}"/test.o) in - *64-bit*) myconf="${myconf} --enable-64bit";; - *32-bit*) ;; - *) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";; - esac - - if use ipv6; then - myconf="${myconf} --enable-ipv6" - fi - - myconf="${myconf} --libdir=/usr/$(get_libdir)/nspr \ - --enable-system-sqlite" - - ECONF_SOURCE="../mozilla/nsprpub" econf \ - $(use_enable debug) \ - ${myconf} || die "econf failed" - make CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die -} - -src_install () { - # Their build system is royally confusing, as usual - MINOR_VERSION=7 - cd "${S}"/build - emake DESTDIR="${D}" install || die "emake install failed" - - cd "${D}"/usr/$(get_libdir)/nspr - for file in *.so; do - mv ${file} ${file}.${MINOR_VERSION} - ln -s ${file}.${MINOR_VERSION} ${file} - done - # cope with libraries being in /usr/lib/nspr - dodir /etc/env.d - echo "LDPATH=/usr/$(get_libdir)/nspr" > "${D}/etc/env.d/08nspr" - - # install nspr-config - dobin "${S}"/build/config/nspr-config - - # create pkg-config file - insinto /usr/$(get_libdir)/pkgconfig/ - doins "${S}"/build/config/nspr.pc - - # Remove stupid files in /usr/bin - rm "${D}"/usr/bin/{prerr.properties,nspr.pc} -} - -pkg_preinst() { - preserve_old_lib /usr/$(get_libdir)/nspr/lib{nspr,plc,plds}4.so.6 -} - -pkg_postinst() { - preserve_old_lib_notify /usr/$(get_libdir)/nspr/lib{nspr,plc,plds}4.so.6 -} diff --git a/dev-libs/nspr/nspr-4.7.4.ebuild b/dev-libs/nspr/nspr-4.7.4.ebuild deleted file mode 100644 index b93c10329cbf..000000000000 --- a/dev-libs/nspr/nspr-4.7.4.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.7.4.ebuild,v 1.8 2009/08/02 19:23:31 darkside Exp $ - -inherit eutils multilib toolchain-funcs - -DESCRIPTION="Netscape Portable Runtime" -HOMEPAGE="http://www.mozilla.org/projects/nspr/" -SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar.gz" - -LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="ipv6 debug" - -DEPEND=">=dev-db/sqlite-3.5" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack ${A} - cd "${S}" - mkdir build inst - epatch "${FILESDIR}"/${PN}-4.6.1-config.patch - epatch "${FILESDIR}"/${PN}-4.6.1-config-1.patch - epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch - epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch - - # Respect LDFLAGS - sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \ - mozilla/nsprpub/config/rules.mk -} - -src_compile() { - cd "${S}"/build - - echo > "${T}"/test.c - $(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o - case $(file "${T}"/test.o) in - *64-bit*) myconf="${myconf} --enable-64bit";; - *32-bit*) ;; - *) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";; - esac - - if use ipv6; then - myconf="${myconf} --enable-ipv6" - fi - - myconf="${myconf} --libdir=/usr/$(get_libdir)/nspr \ - --enable-system-sqlite" - - ECONF_SOURCE="../mozilla/nsprpub" econf \ - $(use_enable debug) \ - ${myconf} || die "econf failed" - make CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die -} - -src_install () { - # Their build system is royally confusing, as usual - MINOR_VERSION=7 - cd "${S}"/build - emake DESTDIR="${D}" install || die "emake install failed" - - cd "${D}"/usr/$(get_libdir)/nspr - for file in *.so; do - mv ${file} ${file}.${MINOR_VERSION} - ln -s ${file}.${MINOR_VERSION} ${file} - done - # cope with libraries being in /usr/lib/nspr - dodir /etc/env.d - echo "LDPATH=/usr/$(get_libdir)/nspr" > "${D}/etc/env.d/08nspr" - - # install nspr-config - dobin "${S}"/build/config/nspr-config - - # create pkg-config file - insinto /usr/$(get_libdir)/pkgconfig/ - doins "${S}"/build/config/nspr.pc - - # Remove stupid files in /usr/bin - rm "${D}"/usr/bin/{prerr.properties,nspr.pc} -} - -pkg_preinst() { - preserve_old_lib /usr/$(get_libdir)/nspr/lib{nspr,plc,plds}4.so.6 -} - -pkg_postinst() { - preserve_old_lib_notify /usr/$(get_libdir)/nspr/lib{nspr,plc,plds}4.so.6 -} diff --git a/dev-libs/nspr/nspr-4.8.2-r1.ebuild b/dev-libs/nspr/nspr-4.8.2-r1.ebuild deleted file mode 100644 index 6567363038c2..000000000000 --- a/dev-libs/nspr/nspr-4.8.2-r1.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.8.2-r1.ebuild,v 1.1 2010/01/27 02:08:23 anarchy Exp $ - -inherit eutils multilib toolchain-funcs versionator - -MIN_PV="$(get_version_component_range 2)" - -DESCRIPTION="Netscape Portable Runtime" -HOMEPAGE="http://www.mozilla.org/projects/nspr/" -SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar.gz" - -LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="ipv6 debug" - -DEPEND=">=dev-db/sqlite-3.5" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack ${A} - cd "${S}" - mkdir build inst - epatch "${FILESDIR}"/${PN}-4.8-config.patch - epatch "${FILESDIR}"/${PN}-4.6.1-config-1.patch - epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch - epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch - epatch "${FILESDIR}"/${PN}-4.8-pkgconfig-gentoo-1.patch - - # Respect LDFLAGS - sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \ - mozilla/nsprpub/config/rules.mk -} - -src_compile() { - cd "${S}"/build - - echo > "${T}"/test.c - $(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o - case $(file "${T}"/test.o) in - *64-bit*) myconf="${myconf} --enable-64bit";; - *32-bit*) ;; - *) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";; - esac - - myconf="${myconf} --libdir=/usr/$(get_libdir)/nspr \ - --enable-system-sqlite --with-mozilla --with-pthreads" - - ECONF_SOURCE="../mozilla/nsprpub" econf \ - $(use_enable ipv6) \ - $(use_enable debug) \ - ${myconf} || die "econf failed" - make CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die -} - -src_install () { - # Their build system is royally confusing, as usual - MINOR_VERSION=${MIN_PV} # Used for .so version - cd "${S}"/build - emake DESTDIR="${D}" install || die "emake install failed" - - cd "${D}"/usr/$(get_libdir)/nspr - for file in *.so; do - mv ${file} ${file}.${MINOR_VERSION} - ln -s ${file}.${MINOR_VERSION} ${file} - done - # cope with libraries being in /usr/lib/nspr - dodir /etc/env.d - echo "LDPATH=/usr/$(get_libdir)/nspr" > "${D}/etc/env.d/08nspr" - - # install nspr-config - dobin "${S}"/build/config/nspr-config - - # create pkg-config file - insinto /usr/$(get_libdir)/pkgconfig/ - doins "${S}"/build/config/nspr.pc - - # Remove stupid files in /usr/bin - rm "${D}"/usr/bin/prerr.properties -} - -pkg_postinst() { - ewarn - ewarn "Please make sure you run revdep-rebuild after upgrade." - ewarn "This is *extremely* important to ensure your system nspr works properly." - ewarn -} diff --git a/dev-libs/nspr/nspr-4.8.2.ebuild b/dev-libs/nspr/nspr-4.8.2.ebuild deleted file mode 100644 index ad67bd2af973..000000000000 --- a/dev-libs/nspr/nspr-4.8.2.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.8.2.ebuild,v 1.1 2009/11/30 15:07:32 anarchy Exp $ - -inherit eutils multilib toolchain-funcs versionator - -MIN_PV="$(get_version_component_range 2)" - -DESCRIPTION="Netscape Portable Runtime" -HOMEPAGE="http://www.mozilla.org/projects/nspr/" -SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar.gz" - -LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="ipv6 debug" - -DEPEND=">=dev-db/sqlite-3.5" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack ${A} - cd "${S}" - mkdir build inst - epatch "${FILESDIR}"/${PN}-4.8-config.patch - epatch "${FILESDIR}"/${PN}-4.6.1-config-1.patch - epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch - epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch - epatch "${FILESDIR}"/${PN}-4.8-pkgconfig-gentoo.patch - - # Respect LDFLAGS - sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \ - mozilla/nsprpub/config/rules.mk -} - -src_compile() { - cd "${S}"/build - - echo > "${T}"/test.c - $(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o - case $(file "${T}"/test.o) in - *64-bit*) myconf="${myconf} --enable-64bit";; - *32-bit*) ;; - *) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";; - esac - - myconf="${myconf} --libdir=/usr/$(get_libdir)/nspr \ - --enable-system-sqlite --with-mozilla --with-pthreads" - - ECONF_SOURCE="../mozilla/nsprpub" econf \ - $(use_enable ipv6) \ - $(use_enable debug) \ - ${myconf} || die "econf failed" - make CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die -} - -src_install () { - # Their build system is royally confusing, as usual - MINOR_VERSION=${MIN_PV} # Used for .so version - cd "${S}"/build - emake DESTDIR="${D}" install || die "emake install failed" - - cd "${D}"/usr/$(get_libdir)/nspr - for file in *.so; do - mv ${file} ${file}.${MINOR_VERSION} - ln -s ${file}.${MINOR_VERSION} ${file} - done - # cope with libraries being in /usr/lib/nspr - dodir /etc/env.d - echo "LDPATH=/usr/$(get_libdir)/nspr" > "${D}/etc/env.d/08nspr" - - # install nspr-config - dobin "${S}"/build/config/nspr-config - - # create pkg-config file - insinto /usr/$(get_libdir)/pkgconfig/ - doins "${S}"/build/config/nspr.pc - - # Remove stupid files in /usr/bin - rm "${D}"/usr/bin/prerr.properties -} - -pkg_postinst() { - ewarn - ewarn "Please make sure you run revdep-rebuild after upgrade." - ewarn "This is *extremely* important to ensure your system nspr works properly." - ewarn -} diff --git a/dev-libs/nspr/nspr-4.8.3-r3.ebuild b/dev-libs/nspr/nspr-4.8.3-r3.ebuild deleted file mode 100644 index 76aba563fd7a..000000000000 --- a/dev-libs/nspr/nspr-4.8.3-r3.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.8.3-r3.ebuild,v 1.1 2010/02/22 00:59:01 anarchy Exp $ - -inherit eutils multilib toolchain-funcs versionator - -MIN_PV="$(get_version_component_range 2)" - -DESCRIPTION="Netscape Portable Runtime" -HOMEPAGE="http://www.mozilla.org/projects/nspr/" -SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar.gz" - -LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="debug ipv6" - -src_unpack() { - unpack ${A} - cd "${S}" - mkdir build inst - epatch "${FILESDIR}"/${PN}-4.8-config.patch - epatch "${FILESDIR}"/${PN}-4.6.1-config-1.patch - epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch - epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch - epatch "${FILESDIR}"/${PN}-4.8-pkgconfig-gentoo-1.patch - - # Respect LDFLAGS - sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \ - mozilla/nsprpub/config/rules.mk -} - -src_compile() { - cd "${S}"/build - - echo > "${T}"/test.c - $(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o - case $(file "${T}"/test.o) in - *64-bit*) myconf="${myconf} --enable-64bit";; - *32-bit*) ;; - *) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";; - esac - - myconf="${myconf} --libdir=/usr/$(get_libdir)" - - ECONF_SOURCE="../mozilla/nsprpub" econf \ - $(use_enable debug) \ - $(use_enable !debug optimize) \ - $(use_enable ipv6) \ - ${myconf} || die "econf failed" - emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "failed to build" -} - -src_install () { - # Their build system is royally confusing, as usual - MINOR_VERSION=${MIN_PV} # Used for .so version - cd "${S}"/build - emake DESTDIR="${D}" install || die "emake install failed" - - cd "${D}"/usr/$(get_libdir) - for file in *.a; do - einfo "removing static libraries as upstream has requested!" - rm -f ${file} || die "failed to remove staic libraries." - done - - for file in *.so; do - mv ${file} ${file}.${MINOR_VERSION} || die "failed to mv files around" - ln -s ${file}.${MINOR_VERSION} ${file} || die "failed to symlink files." - done - - # install nspr-config - dobin "${S}"/build/config/nspr-config || die "failed to install nspr-config" - - # create pkg-config file - insinto /usr/$(get_libdir)/pkgconfig/ - doins "${S}"/build/config/nspr.pc || die "failed to insall nspr pkg-config file" - - # Remove stupid files in /usr/bin - rm -f "${D}"/usr/bin/prerr.properties || die "failed to cleanup unneeded files" -} - -pkg_postinst() { - ewarn - ewarn "Please make sure you run revdep-rebuild after upgrade." - ewarn "This is *extremely* important to ensure your system nspr works properly." - ewarn -} |