From 84e6f64ef43b065d9101c8e4957eb6ad68dbbe7b Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Mon, 26 Jan 2009 18:25:13 +0100 Subject: Add modify packages that don't cross compile (unzip, nspr, fontconfig, curl, squid) properly --- dev-libs/nspr/ChangeLog | 420 +++++++++++++++++++++ dev-libs/nspr/Manifest | 13 + dev-libs/nspr/files/nspr-4.6.1-config-1.patch | 11 + dev-libs/nspr/files/nspr-4.6.1-config.patch | 89 +++++ .../nspr/files/nspr-4.6.1-gcc-visibility.patch | 15 + dev-libs/nspr/files/nspr-4.6.1-lang.patch | 41 ++ dev-libs/nspr/files/nspr-4.6.1-prtime.patch | 26 ++ dev-libs/nspr/files/nspr-4.7.0-prtime.patch | 26 ++ dev-libs/nspr/files/nspr.pc.in | 10 + dev-libs/nspr/metadata.xml | 5 + dev-libs/nspr/nspr-4.6.8.ebuild | 95 +++++ dev-libs/nspr/nspr-4.7.1.ebuild | 88 +++++ 12 files changed, 839 insertions(+) create mode 100644 dev-libs/nspr/ChangeLog create mode 100644 dev-libs/nspr/Manifest create mode 100644 dev-libs/nspr/files/nspr-4.6.1-config-1.patch create mode 100644 dev-libs/nspr/files/nspr-4.6.1-config.patch create mode 100644 dev-libs/nspr/files/nspr-4.6.1-gcc-visibility.patch create mode 100644 dev-libs/nspr/files/nspr-4.6.1-lang.patch create mode 100644 dev-libs/nspr/files/nspr-4.6.1-prtime.patch create mode 100644 dev-libs/nspr/files/nspr-4.7.0-prtime.patch create mode 100644 dev-libs/nspr/files/nspr.pc.in create mode 100644 dev-libs/nspr/metadata.xml create mode 100644 dev-libs/nspr/nspr-4.6.8.ebuild create mode 100644 dev-libs/nspr/nspr-4.7.1.ebuild (limited to 'dev-libs') diff --git a/dev-libs/nspr/ChangeLog b/dev-libs/nspr/ChangeLog new file mode 100644 index 00000000..061a0335 --- /dev/null +++ b/dev-libs/nspr/ChangeLog @@ -0,0 +1,420 @@ +# ChangeLog for dev-libs/nspr +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/ChangeLog,v 1.107 2008/09/26 06:20:11 armin76 Exp $ + + 26 Sep 2008; Raúl Porcel nspr-4.6.8.ebuild: + arm stable + + 13 Aug 2008; Raúl Porcel -nspr-4.7.ebuild, + -nspr-4.7.1_beta2.ebuild, nspr-4.7.1.ebuild: + Respect LDFLAGS, bug #181790, remove old + +*nspr-4.7.1 (11 May 2008) + + 11 May 2008; Raúl Porcel +nspr-4.7.1.ebuild: + Version bump + + 30 Apr 2008; Raúl Porcel nspr-4.6.8.ebuild, + nspr-4.7.ebuild, nspr-4.7.1_beta2.ebuild: + Add CC and CXX to make + + 02 Apr 2008; Raúl Porcel -nspr-4.7.1_beta1.ebuild, + nspr-4.7.1_beta2.ebuild: + Restore keywords, remove old + + 26 Mar 2008; Markus Meier nspr-4.6.8.ebuild: + amd64 stable, bug #213601 + + 23 Mar 2008; nixnut nspr-4.6.8.ebuild: + Stable on ppc wrt bug 213601 + + 22 Mar 2008; Brent Baude nspr-4.6.8.ebuild: + Marking nspr-4.6.8 ppc64 for bug 213601 + + 17 Mar 2008; Jeroen Roovers nspr-4.6.8.ebuild: + Stable for HPPA (bug #213601). + +*nspr-4.7.1_beta2 (17 Mar 2008) + + 17 Mar 2008; Raúl Porcel nspr-4.6.7.ebuild, + nspr-4.6.8.ebuild, nspr-4.7.ebuild, nspr-4.7.1_beta1.ebuild, + +nspr-4.7.1_beta2.ebuild: + Version bump, fix LICENSE, thanks to zlin + + 16 Mar 2008; Raúl Porcel nspr-4.6.8.ebuild: + alpha/ia64/sparc/x86 stable + +*nspr-4.7.1_beta1 (25 Feb 2008) + + 25 Feb 2008; Raúl Porcel +nspr-4.7.1_beta1.ebuild: + Version bump + + 14 Feb 2008; Raúl Porcel nspr-4.6.7.ebuild, + nspr-4.6.8.ebuild, nspr-4.7.ebuild: + Fix bug #210041, bug #210039, thanks to vapier + +*nspr-4.7 (11 Feb 2008) +*nspr-4.6.8 (11 Feb 2008) + + 11 Feb 2008; Raúl Porcel +nspr-4.6.8.ebuild, + +nspr-4.7.ebuild, -nspr-4.7.0_pre20080129.ebuild: + Version bump + +*nspr-4.7.0_pre20080129 (31 Jan 2008) + + 31 Jan 2008; Raúl Porcel + -nspr-4.7.0_pre20071016.ebuild, -nspr-4.7.0_pre20071218.ebuild, + -nspr-4.7.0_pre20080113.ebuild, -nspr-4.7.0_pre20080120.ebuild, + +nspr-4.7.0_pre20080129.ebuild: + Version bump, remove old + +*nspr-4.7.0_pre20080120 (24 Jan 2008) + + 24 Jan 2008; Raúl Porcel + +nspr-4.7.0_pre20080120.ebuild: + Version bump + +*nspr-4.7.0_pre20080113 (18 Jan 2008) + + 18 Jan 2008; Raúl Porcel + +nspr-4.7.0_pre20080113.ebuild: + Version bump + +*nspr-4.7.0_pre20071218 (22 Dec 2007) + + 22 Dec 2007; Raúl Porcel + +nspr-4.7.0_pre20071218.ebuild: + Version bump + + 18 Dec 2007; Raúl Porcel -nspr-4.6.5-r1.ebuild: + old + + 17 Dec 2007; Stuart Longland nspr-4.6.5-r1.ebuild, + nspr-4.6.7.ebuild, nspr-4.7.0_pre20071016.ebuild: + Mark 4.6.7 stable on MIPS. Fix quoting issues in all versions. + +*nspr-4.7.0_pre20071016 (12 Dec 2007) + + 12 Dec 2007; Raúl Porcel + +files/nspr-4.7.0-prtime.patch, -nspr-4.6.6.ebuild, + +nspr-4.7.0_pre20071016.ebuild: + Version bump, remove old + + 15 Aug 2007; Christoph Mende nspr-4.6.7.ebuild: + Stable on amd64 wrt bug #188158 + + 14 Aug 2007; Markus Rothe nspr-4.6.7.ebuild: + Stable on ppc64; bug #188158 + + 13 Aug 2007; Jeroen Roovers nspr-4.6.7.ebuild: + Stable for HPPA (bug #188158). + + 09 Aug 2007; Gustavo Zacarias nspr-4.6.7.ebuild: + Stable on sparc wrt #188158 + + 09 Aug 2007; Tobias Scherbaum nspr-4.6.7.ebuild: + ppc stable, bug #188158 + + 08 Aug 2007; Raúl Porcel nspr-4.6.7.ebuild: + alpha/ia64/x86 stable wrt #188158 + +*nspr-4.6.7 (08 Jul 2007) + + 08 Jul 2007; Raúl Porcel +nspr-4.6.7.ebuild: + Version bump + + 20 Apr 2007; Raúl Porcel + -files/nspr-4.3-amd64.patch, -files/nspr-4.4.1-hppa.patch, + -files/nspr-4.4.1-ppc64.patch, -files/nspr-4.6.3-fbsd62.patch, + -nspr-4.6.3.ebuild, -nspr-4.6.3-r1.ebuild, -nspr-4.6.4.ebuild, + -nspr-4.6.4-r3.ebuild: + Cleanup + + 20 Apr 2007; Stuart Longland nspr-4.6.5-r1.ebuild: + Tested and marked stable on mips as per bug #169751 + + 11 Mar 2007; Bryan Østergaard nspr-4.6.5-r1.ebuild: + Stable on Alpha + IA64. + +*nspr-4.6.6 (09 Mar 2007) + + 09 Mar 2007; Raúl Porcel +nspr-4.6.6.ebuild: + Version bump + + 08 Mar 2007; Tobias Scherbaum + nspr-4.6.5-r1.ebuild: + Stable on ppc wrt bug #169751. + + 08 Mar 2007; Marien Zwart Manifest: + Recommit Manifest that was broken by cvs problems. + + 08 Mar 2007; Steve Dibb nspr-4.6.3.ebuild, + nspr-4.6.3-r1.ebuild, nspr-4.6.4.ebuild, nspr-4.6.4-r3.ebuild: + Adding multilib to inheritance + + 08 Mar 2007; Steve Dibb nspr-4.6.5-r1.ebuild: + amd64 stable, bug 169751 + + 08 Mar 2007; Gustavo Zacarias nspr-4.6.5-r1.ebuild: + Stable on sparc wrt #169751 + + 07 Mar 2007; Markus Rothe nspr-4.6.5-r1.ebuild: + Stable on ppc64; bug #169751 + + 07 Mar 2007; Raúl Porcel nspr-4.6.5-r1.ebuild: + license change, bug 150118 + + 07 Mar 2007; Jeroen Roovers nspr-4.6.5-r1.ebuild: + Stable for HPPA (bug #169751). + + 07 Mar 2007; Raúl Porcel nspr-4.6.5-r1.ebuild: + x86 stable wrt bug 169751 + +*nspr-4.6.5-r1 (07 Feb 2007) +*nspr-4.6.4-r3 (07 Feb 2007) + + 07 Feb 2007; Raúl Porcel -nspr-4.6.4-r2.ebuild, + +nspr-4.6.4-r3.ebuild, -nspr-4.6.5.ebuild, +nspr-4.6.5-r1.ebuild: + Fix pkgconfig file correctly, thanks to plaes from IRC for testing this + +*nspr-4.6.5 (07 Feb 2007) +*nspr-4.6.4-r2 (07 Feb 2007) + + 07 Feb 2007; Raúl Porcel + -files/nspr-4.6.4-config-2.patch, -nspr-4.6.4-r1.ebuild, + +nspr-4.6.4-r2.ebuild, +nspr-4.6.5.ebuild: + remove broken ebuild, bug 165542. Version bump, remove gnuconfig_update + usage, bug 160184. Thanks to plaes at IRC for testing it. + + 05 Feb 2007; Raúl Porcel -nspr-4.1.2.ebuild, + -nspr-4.3.ebuild, -nspr-4.4.1.ebuild, -nspr-4.4.1-r2.ebuild, + -nspr-4.6.1-r2.ebuild, -nspr-4.6.1-r3.ebuild, -nspr-4.6.2.ebuild: + drop old + + 04 Feb 2007; Alexander H. Færøy nspr-4.6.3.ebuild: + Stable on MIPS; bug #148284 + + 28 Jan 2007; Raúl Porcel metadata.xml: + Move to mozilla herd, bug 160313 + +*nspr-4.6.4-r1 (05 Jan 2007) + + 05 Jan 2007; Alon Bar-Lev + +files/nspr-4.6.4-config-2.patch, +nspr-4.6.4-r1.ebuild: + Remove gnuconfig eclass usage, bug#160184 + +*nspr-4.6.4 (21 Dec 2006) + + 21 Dec 2006; Alon Bar-Lev +nspr-4.6.4.ebuild: + Version bump, closes bug#158707, thanks to Walter Meinl + +*nspr-4.6.3-r1 (10 Oct 2006) + + 10 Oct 2006; Robin H. Johnson +nspr-4.6.3-r1.ebuild: + Bug #150731, use_enable debug to fix an upstream crash. + + 27 Sep 2006; Bryan Østergaard nspr-4.6.3.ebuild: + Stable on ia64. + + 27 Sep 2006; Fernando J. Pereda nspr-4.6.3.ebuild: + Stable on alpha wrt bug #148284 + + 26 Sep 2006; Diego Pettenò + files/nspr-4.6.3-fbsd62.patch: + Simplify patch as per upstrem bug #354305. + + 26 Sep 2006; Diego Pettenò + +files/nspr-4.6.3-fbsd62.patch, nspr-4.6.3.ebuild: + Add patch to build on FreeBSD 6.2. + + 21 Sep 2006; Tobias Scherbaum nspr-4.6.3.ebuild: + hppa stable, bug #148284 + + 21 Sep 2006; Tobias Scherbaum nspr-4.6.3.ebuild: + ppc stable, bug #148284 + + 21 Sep 2006; Gustavo Zacarias nspr-4.6.3.ebuild: + Stable on sparc wrt security #148284 + + 20 Sep 2006; nspr-4.6.3.ebuild: + Stable on x86, security bug #148284. + + 20 Sep 2006; nspr-4.6.3.ebuild: + stable on amd64 wrt bug 148284 + + 20 Sep 2006; Markus Rothe nspr-4.6.3.ebuild: + Stable on ppc64; bug #148284 + +*nspr-4.6.3 (16 Sep 2006) + + 16 Sep 2006; Stefan Schweizer +nspr-4.6.3.ebuild: + version bump, security bug 147652 + + 12 Jul 2006; Aron Griffis nspr-4.6.2.ebuild: + Mark 4.6.2 stable on ia64. #134798 + + 07 Jul 2006; Diego Pettenò nspr-4.6.2.ebuild: + Add ~x86-fbsd keyword. + +*nspr-4.6.2 (02 Jun 2006) + + 02 Jun 2006; Jory A. Pratt +nspr-4.6.2.ebuild: + revision bump + +*nspr-4.6.1-r3 (23 Feb 2006) + + 23 Feb 2006; +files/nspr-4.6.1-prtime.patch, + -nspr-4.6.1-r1.ebuild, +nspr-4.6.1-r3.ebuild: + fix to prtime for sparc and other archs + +*nspr-4.6.1-r2 (09 Feb 2006) + + 09 Feb 2006; +files/nspr-4.6.1-config-1.patch, + +nspr-4.6.1-r2.ebuild: + rpath fix/hack + + 08 Feb 2006; +files/nspr-4.6.1-lang.patch, + nspr-4.6.1-r1.ebuild: + Locales fixed thanks to vapier bug #121999 + +*nspr-4.6.1-r1 (30 Jan 2006) + + 30 Jan 2006; +files/nspr-4.6.1-config.patch, + +files/nspr-4.6.1-gcc-visibility.patch, -nspr-4.6.1.ebuild, + +nspr-4.6.1-r1.ebuild: + full changes for nspr-config, revision bump + +*nspr-4.6.1 (26 Jan 2006) + + 26 Jan 2006; Marcelo Goes +files/nspr.pc.in, + +metadata.xml, +nspr-4.6.1.ebuild: + 4.6.1 version bump for bug 120441. Added crypto as a herd. + + 25 Sep 2005; Mike Frysinger nspr-4.4.1-r2.ebuild: + Touchup ebuild and run gnuconfig #99975 by Yuri Vasilevski. + + 22 Aug 2005; Diego Pettenò nspr-4.4.1-r2.ebuild: + Unbreak on Gentoo/FreeBSD, use cp -R instead of cp -r (-L option is not + valid with the latter). + + 04 Feb 2005; Stephen P. Becker nspr-4.4.1-r2.ebuild: + stable on mips + + 28 Jan 2005; Joseph Jezak nspr-4.4.1-r2.ebuild: + Marked ppc stable. + + 20 Jan 2005; Aron Griffis nspr-4.4.1-r2.ebuild: + stable on ia64 + + 23 Dec 2004; Guy Martin nspr-4.4.1-r2.ebuild: + Stable on hppa. + + 20 Dec 2004; Bryan Østergaard nspr-4.4.1-r2.ebuild: + Stable on alpha. + + 17 Dec 2004; Markus Rothe nspr-4.4.1-r2.ebuild: + Added patch to let nss compile on ppc64 + + 17 Dec 2004; Markus Rothe nspr-4.4.1-r2.ebuild: + Stable on ppc64 + + 15 Dec 2004; Gustavo Zacarias nspr-4.4.1-r2.ebuild: + Stable on sparc + + 24 Nov 2004; Travis Tilley nspr-4.4.1-r2.ebuild: + marked stable on amd64 since this fixes the last bug keeping gnome 2.8 from + stable + +*nspr-4.4.1-r2 (24 Nov 2004) + + 24 Nov 2004; Travis Tilley -nspr-4.4.1-r1.ebuild, + +nspr-4.4.1-r2.ebuild: + get_libdir-ized and made libnspr actually install to /usr/$(get_libdir)/nspr + +*nspr-4.4.1-r1 (15 Nov 2004) + + 15 Nov 2004; Alastair Tse +nspr-4.4.1-r1.ebuild: + adding /etc/env.d entry to get around (#71004) + + 19 Sep 2004; Martin Schlemmer nspr-4.4.1.ebuild: + Do not install libs in /usr/bin. + + 14 Aug 2004; Tom Gall nspr-4.4.1.ebuild: + stable on ppc64, bug #58170 + + 28 Jul 2004; nspr-4.4.1.ebuild: + stable on ia64 + + 07 Jul 2004; Travis Tilley nspr-4.4.1.ebuild: + stable on amd64 + + 01 Jul 2004; Jeremy Huddleston nspr-4.1.2.ebuild, + nspr-4.3.ebuild, nspr-4.4.1.ebuild: + virtual/glibc -> virtual/libc + + 30 Apr 2004; Stephen P. Becker nspr-4.3.ebuild: + Stable on mips. + + 06 Apr 2004; Guy Martin : + Added a build-fix patch for hppa. + + 14 Mar 2004; Michael Sterrett nspr-4.1.2.ebuild, + nspr-4.3.ebuild, nspr-4.4.1.ebuild: + Don't assign default to S; header fix + + 07 Mar 2004; Stephen P. Becker nspr-4.4.1.ebuild: + Added ~mips keyword. + + 16 Feb 2004; Joshua Kinard nspr-4.3.ebuild: + Added ~mips to keywords + + 27 Jan 2004; Aron Griffis nspr-4.4.1.ebuild: + add ~ia64 + + 09 Jan 2004; Aron Griffis nspr-4.4.1.ebuild: + stable on alpha + +*nspr-4.4.1 (04 Jan 2004) + + 04 Jan 2004; Daniel Ahlberg nspr-4.4.1.ebuild: + Version bump. + + 04 Jan 2004; Daniel Ahlberg nspr-4.3.ebuild: + Update SRC_URI. + + 13 Nov 2003; Brad House nspr-4.3.ebuild, + files/nspr-4.3-amd64.patch: + amd64 patch from caleb@webninja.com + + 05 Sep 2003; Jason Wever nspr-4.3.ebuild: + Marked stable for sparc. + + 31 Jul 2003; Don Seiler ; nspr-4.3.ebuild: + Bumping to stable on ppc for gaim-encryption. + + 19 Jul 2003; Alastair Tse nspr-4.3.ebuild: + express to stable because evo 1.4.3 needs it + + 11 Jul 2003; Will Woods nspr-4.3.ebuild: + Added ~alpha to KEYWORDS + + 11 Jul 2003; Bartosch Pixa nspr-4.3.ebuild: + set ~ppc in keywords + +*nspr-4.3 (08 Jul 2003) + + 19 Nov 2003; Guy Martin nspr-4.3.ebuild : + Added hppa to KEYWORDS. + + 08 Jul 2003; Alastair Tse nspr-4.3.ebuild: + version bump, fixes duplicate fstat symbol in library. + + 06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords + +*nspr-4.1.2 ( 10 Feb 2002 ) + + 10 Feb 2002; Karl Trygve Kalleberg ChangeLog files/digest-nspr-4.1.2 nspr-4.1.2.ebuild : + + Netscape Portable Runtime (NSPR) provides a platform-neutral API for system + level and libc like functions. The API is used in the Mozilla client, many + of Netscape/AOL/iPlanet's and other software offerings. diff --git a/dev-libs/nspr/Manifest b/dev-libs/nspr/Manifest new file mode 100644 index 00000000..639839e1 --- /dev/null +++ b/dev-libs/nspr/Manifest @@ -0,0 +1,13 @@ +AUX nspr-4.6.1-config-1.patch 565 RMD160 62fef94c85f636249c83cb6f4a7cc00a71adf3f6 SHA1 51f8e14107dc2edc951377991e9a7d08757d0f91 SHA256 9ed8fd15102ef3de6d837d40ec5d73aef0ea45bf9059b4cf5ff1f47b6a519ed6 +AUX nspr-4.6.1-config.patch 2722 RMD160 75701d5dbdd25a05a3bb43539bfa5f5ea850aabd SHA1 e8deaea05baf51eb6795db4e89ab89162d5d4632 SHA256 01bba00a314375cbb056c4e26e059515a6a0df92c62229799abca9f3fa9c7842 +AUX nspr-4.6.1-gcc-visibility.patch 594 RMD160 90d12fb89d8c23880d6a9c2018cddb100e1c0fb9 SHA1 f3a247214c67f0b019885d75fa8d572c508b6dee SHA256 1a8f18ecff6d28b0ce92a3d59e4eb844d79e9d25eed401e6dc66c33b03f59613 +AUX nspr-4.6.1-lang.patch 1718 RMD160 6c3fb440f4b4004289de3f65b996936bcfcbaa45 SHA1 a5ae7b8c95204279fbcb1ac46a242448aa5a894d SHA256 326f5f9d020e73a6ed8e949124eb075f21d856d0b099b8d04035ecc937cd35fb +AUX nspr-4.6.1-prtime.patch 1003 RMD160 20a8efaffdaf51d55566c14ebac1f40d3f22303b SHA1 090ca70eec5bd202686b718e3a6a247f1f58556a SHA256 54ed12024f4fd65bb911279faab18665b00429c7d0811c7485d4ff5c2c436237 +AUX nspr-4.7.0-prtime.patch 964 RMD160 a963c21fb1ce5e8913d3c41753ca37b24e80798d SHA1 b47ffa12022ea83b738e5d847e61cca026ec7f07 SHA256 3fd4f3c68257dced021c0bfa00245d0da2d6c64205135b1cc89f96a3375dffc7 +AUX nspr.pc.in 250 RMD160 4b09e190d343398d26568ed0dce821f951128782 SHA1 edcc81bcdb0618418aaa0d3fb82a3d0475b9098a SHA256 af16b4d93fe4615572ea1af025ff7b56763c734a4d946bb20abd62b032e08639 +DIST nspr-4.6.8.tar.gz 1313108 RMD160 da8b77c3b386adb82467613e0bcdbdf5f68369ea SHA1 ca0d7a940e1cf6cf6bd63680fedf090195d0b460 SHA256 47750e6a99e2570fa2119f21d5d201174282679352379a565e3e5a80453e48b1 +DIST nspr-4.7.1.tar.bz2 980527 RMD160 9eeb7c64ddee51a4647a9a518c02161a3937d2c0 SHA1 126d9507c6a05d547e61da49701618b61555b1b4 SHA256 3816016e1dc99e08d03a5fd8c1ee8657f69e7035d2503756a78bd833c3393957 +EBUILD nspr-4.6.8.ebuild 2728 RMD160 ae71ef8cf0bee0ee1ab37334329507e42bb2777a SHA1 6ca08873090170805f5a7a23a8f07fc57f7d9509 SHA256 4e5bd2f248b71e3b79f5e38e2c10a395590dc645c573d35fbc64c6c07660002d +EBUILD nspr-4.7.1.ebuild 2324 RMD160 c99fbc30dc3440d1a6ce8d9157214286a7eb5e7b SHA1 6a53662e98dad5f3f6d0a774c1d1a1a90cada43c SHA256 30d148d6d39c058b5c0d1d1bd410b443f2c74bfe8083562b09b5fdf64ee28bc1 +MISC ChangeLog 13794 RMD160 b60e325357794acc3bf6ae6317f3d70c7c0a4642 SHA1 4549379c6e8607f43a01fec2d5891f5edf2ddb52 SHA256 b5dca616b47a1f078954c2b1fdf69a1d2b5a2d4c6887390feb0c4d2bcb86f85f +MISC metadata.xml 160 RMD160 d5a9f0bf8989621c2bde30facb53bcae00aba709 SHA1 5015c07af2083f20f9552d7fb11afb5ea69af345 SHA256 0cc5126362a12cee42ec1197c528a804cf36859329dd2c6d9225726831d14b8b diff --git a/dev-libs/nspr/files/nspr-4.6.1-config-1.patch b/dev-libs/nspr/files/nspr-4.6.1-config-1.patch new file mode 100644 index 00000000..a7d53615 --- /dev/null +++ b/dev-libs/nspr/files/nspr-4.6.1-config-1.patch @@ -0,0 +1,11 @@ +--- mozilla/nsprpub/configure.orig 2006-01-14 22:41:37.000000000 +0000 ++++ mozilla/nsprpub/configure 2006-01-14 22:49:14.000000000 +0000 +@@ -3893,7 +3893,7 @@ + PR_MD_CSRCS=linux.c + MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@' + DSO_CFLAGS=-fPIC +- DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)' ++ DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@).$(MOD_MINOR_VERSION)' + _OPTIMIZE_FLAGS=-O2 + _DEBUG_FLAGS="-g -fno-inline" # most people on linux use gcc/gdb, and that + # combo is not yet good at debugging inlined diff --git a/dev-libs/nspr/files/nspr-4.6.1-config.patch b/dev-libs/nspr/files/nspr-4.6.1-config.patch new file mode 100644 index 00000000..ffbbf1ad --- /dev/null +++ b/dev-libs/nspr/files/nspr-4.6.1-config.patch @@ -0,0 +1,89 @@ +--- mozilla/nsprpub/lib/libc/src/Makefile.in.orig 2005-06-01 14:28:26.000000000 +0000 ++++ mozilla/nsprpub/lib/libc/src/Makefile.in 2006-01-15 02:50:39.000000000 +0000 +@@ -112,6 +112,10 @@ + MKSHLIB += -R '$$ORIGIN' + endif + ++ifeq ($(OS_ARCH), Linux) ++DSO_LDOPTS +=-Wl,-R,'$$ORIGIN' ++endif ++ + ifeq ($(OS_ARCH),OS2) + MAPFILE = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION).def + GARBAGE += $(MAPFILE) +--- mozilla/nsprpub/lib/ds/Makefile.in.orig 2005-06-01 14:28:25.000000000 +0000 ++++ mozilla/nsprpub/lib/ds/Makefile.in 2006-01-15 02:52:30.000000000 +0000 +@@ -102,6 +102,10 @@ + MKSHLIB += -R '$$ORIGIN' + endif + ++ifeq ($(OS_ARCH), Linux) ++DSO_LDOPTS += -Wl,-R,'$$ORIGIN' ++endif ++ + ifeq ($(OS_ARCH),OS2) + MAPFILE = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION).def + GARBAGE += $(MAPFILE) +--- mozilla/nsprpub/pr/src/Makefile.in.orig 2005-06-01 14:28:27.000000000 +0000 ++++ mozilla/nsprpub/pr/src/Makefile.in 2006-01-15 03:29:36.000000000 +0000 +@@ -168,6 +168,7 @@ + else + OS_LIBS = -ldl + endif ++DSO_LDOPTS +=-Wl,-R,'$$ORIGIN' + endif + + ifeq ($(OS_ARCH),HP-UX) +--- mozilla/nsprpub/config/Makefile.in.orig 2005-06-01 14:28:23.000000000 +0000 ++++ mozilla/nsprpub/config/Makefile.in 2006-01-15 04:13:42.000000000 +0000 +@@ -54,7 +54,7 @@ + # because it is included by every makefile. + DIST_GARBAGE = nsprincl.mk nsprincl.sh nspr-config + +-RELEASE_BINS = nspr-config ++RELEASE_BINS = nspr-config nspr.pc + + include $(topsrcdir)/config/config.mk + +@@ -139,6 +139,7 @@ + + export:: $(TARGETS) + rm -f $(dist_bindir)/nspr-config ++ rm -f $(dist_bindir)/nspr.pc + + ifdef WRAP_SYSTEM_INCLUDES + export:: +--- mozilla/nsprpub/config/nspr.pc.in.orig 1970-01-01 00:00:00.000000000 +0000 ++++ mozilla/nsprpub/config/nspr.pc.in 2006-01-15 04:12:23.000000000 +0000 +@@ -0,0 +1,10 @@ ++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} -lplds4 -lplc4 -lnspr4 @OS_LIBS@ -Wl,-R${libdir} ++Cflags: -I${includedir} +--- mozilla/nsprpub/configure.orig 2006-01-15 04:17:59.000000000 +0000 ++++ mozilla/nsprpub/configure 2006-01-15 04:21:35.000000000 +0000 +@@ -5899,6 +5899,7 @@ + config/nsprincl.mk + config/nsprincl.sh + config/nspr-config ++config/nspr.pc + lib/Makefile + lib/ds/Makefile + lib/libc/Makefile +--- mozilla/nsprpub/config/nspr-config.in.orig 2005-05-11 00:53:41.000000000 +0000 ++++ mozilla/nsprpub/config/nspr-config.in 2006-01-15 06:37:58.000000000 +0000 +@@ -122,7 +122,7 @@ + fi + + if test "$echo_libs" = "yes"; then +- libdirs=-L$libdir ++ libdirs="-Wl,-R$libdir -L$libdir" + if test -n "$lib_plds"; then + libdirs="$libdirs -lplds${major_version}" + fi 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 new file mode 100644 index 00000000..a741c3b3 --- /dev/null +++ b/dev-libs/nspr/files/nspr-4.6.1-gcc-visibility.patch @@ -0,0 +1,15 @@ +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-lang.patch b/dev-libs/nspr/files/nspr-4.6.1-lang.patch new file mode 100644 index 00000000..46fe15b8 --- /dev/null +++ b/dev-libs/nspr/files/nspr-4.6.1-lang.patch @@ -0,0 +1,41 @@ +The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in +option parsing, it may break. + +http://bugs.gentoo.org/103483 + +--- mozilla/nsprpub/configure ++++ mozilla/nsprpub/configure +@@ -54,6 +54,16 @@ + infodir='${prefix}/info' + mandir='${prefix}/man' + ++# NLS nuisances. ++# Only set these to C if already set. These must not be set unconditionally ++# because not all systems understand e.g. LANG=C (notably SCO). ++# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! ++# Non-C LC_CTYPE values break the ctype check. ++if test "${LANG+set}" = set; then LANG=C; export LANG; fi ++if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi ++if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi ++if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi ++ + # Initialize some other variables. + subdirs= + MFLAGS= MAKEFLAGS= +@@ -452,16 +463,6 @@ + esac + done + +-# NLS nuisances. +-# Only set these to C if already set. These must not be set unconditionally +-# because not all systems understand e.g. LANG=C (notably SCO). +-# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! +-# Non-C LC_CTYPE values break the ctype check. +-if test "${LANG+set}" = set; then LANG=C; export LANG; fi +-if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi +-if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi +-if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi +- + # confdefs.h avoids OS command line length limits that DEFS can exceed. + rm -rf conftest* confdefs.h + # AIX cpp loses on an empty file, so make sure it contains at least a newline. diff --git a/dev-libs/nspr/files/nspr-4.6.1-prtime.patch b/dev-libs/nspr/files/nspr-4.6.1-prtime.patch new file mode 100644 index 00000000..4839838f --- /dev/null +++ b/dev-libs/nspr/files/nspr-4.6.1-prtime.patch @@ -0,0 +1,26 @@ +--- 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.7.0-prtime.patch b/dev-libs/nspr/files/nspr-4.7.0-prtime.patch new file mode 100644 index 00000000..ac509ef2 --- /dev/null +++ b/dev-libs/nspr/files/nspr-4.7.0-prtime.patch @@ -0,0 +1,26 @@ +--- mozilla/nsprpub/pr/src/misc/prtime.c.orig 2007-09-14 19:41:08.000000000 +0200 ++++ mozilla/nsprpub/pr/src/misc/prtime.c 2007-09-14 19:42:17.000000000 +0200 +@@ -1536,7 +1536,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; + } + } +@@ -1578,11 +1578,12 @@ + struct tm localTime; + time_t secs; + +- PR_ASSERT(result->tm_month > -1 && ++ if (!(result->tm_month > -1 && + result->tm_mday > 0 && + result->tm_hour > -1 && + result->tm_min > -1 && +- result->tm_sec > -1); ++ result->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.pc.in b/dev-libs/nspr/files/nspr.pc.in new file mode 100644 index 00000000..26607901 --- /dev/null +++ b/dev-libs/nspr/files/nspr.pc.in @@ -0,0 +1,10 @@ +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/metadata.xml b/dev-libs/nspr/metadata.xml new file mode 100644 index 00000000..74d92579 --- /dev/null +++ b/dev-libs/nspr/metadata.xml @@ -0,0 +1,5 @@ + + + +mozilla + diff --git a/dev-libs/nspr/nspr-4.6.8.ebuild b/dev-libs/nspr/nspr-4.6.8.ebuild new file mode 100644 index 00000000..417d3c60 --- /dev/null +++ b/dev-libs/nspr/nspr-4.6.8.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2008 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.10 2008/09/26 06:20:11 armin76 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="" + +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 "FAIL";; + 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 fucked, 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.1.ebuild b/dev-libs/nspr/nspr-4.7.1.ebuild new file mode 100644 index 00000000..681481db --- /dev/null +++ b/dev-libs/nspr/nspr-4.7.1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.7.1.ebuild,v 1.2 2008/08/13 16:57:20 armin76 Exp $ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Netscape Portable Runtime" +HOMEPAGE="http://www.mozilla.org/projects/nspr/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +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" + +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 "FAIL";; + 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 fucked, 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 +} -- cgit v1.2.3