ChangeLog

# ChangeLog for net-libs/xulrunner
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/ChangeLog,v 1.136 2008/07/19 10:06:17 dertobi123 Exp $

19 Jul 2008; Tobias Scherbaum
xulrunner-1.8.1.16.ebuild:
ppc stable, bug #231975

18 Jul 2008; Raúl Porcel xulrunner-1.9.0.1.ebuild:
Remove useless edit_makefiles

18 Jul 2008; Christian Faulhammer
xulrunner-1.8.1.16.ebuild:
stable x86, security bug 231975

18 Jul 2008; Jeroen Roovers xulrunner-1.8.1.16.ebuild:
Stable for HPPA (bug #231975).

17 Jul 2008; Markus Rothe xulrunner-1.8.1.16.ebuild:
Stable on ppc64; bug #231975

17 Jul 2008; Raúl Porcel xulrunner-1.8.1.16.ebuild:
alpha/ia64/sparc stable wrt #231975

*xulrunner-1.9.0.1 (17 Jul 2008)

17 Jul 2008; Raúl Porcel +xulrunner-1.9.0.1.ebuild:
Version bump

*xulrunner-1.8.1.16 (16 Jul 2008)

16 Jul 2008; Raúl Porcel +xulrunner-1.8.1.16.ebuild:
Version bump

05 Jul 2008; Brent Baude xulrunner-1.8.1.15.ebuild:
Marking xulrunner-1.8.1.15 ppc64 and ppc for bug 230567

04 Jul 2008; Markus Meier xulrunner-1.8.1.15.ebuild:
amd64 stable, bug #230567

04 Jul 2008; Raúl Porcel xulrunner-1.8.1.15.ebuild:
alpha/ia64/sparc stable wrt security #230567

04 Jul 2008; Jeroen Roovers xulrunner-1.8.1.15.ebuild:
Stable for HPPA (bug #230567).

04 Jul 2008; Christian Faulhammer
xulrunner-1.8.1.15.ebuild:
stable x86, security bug 230567

*xulrunner-1.8.1.15 (02 Jul 2008)

02 Jul 2008; Raúl Porcel +xulrunner-1.8.1.15.ebuild:
Version bump

29 Jun 2008; Petteri Räty
xulrunner-1.8.1.14.ebuild, xulrunner-1.9-r2.ebuild:
Call java-pkg-opt-2_pkg_setup in pkg_setup to fix bug #228715.

21 Jun 2008; Raúl Porcel xulrunner-1.8.1.14.ebuild:
Add check for pango and cairo to be built with X, bug #228801

20 Jun 2008; Raúl Porcel xulrunner-1.9-r2.ebuild:
Add check for pango and cairo to be built with X, bug #228451

20 Jun 2008; Raúl Porcel xulrunner-1.9-r2.ebuild:
Re-fix bug #228005

*xulrunner-1.9-r2 (20 Jun 2008)

20 Jun 2008; Raúl Porcel -xulrunner-1.9-r1.ebuild,
+xulrunner-1.9-r2.ebuild:
Don't use external sqlite, since it seems to give some problems, bug
#228305

*xulrunner-1.9-r1 (19 Jun 2008)

19 Jun 2008; Raúl Porcel -xulrunner-1.9.ebuild,
+xulrunner-1.9-r1.ebuild:
Revision bump so users get the changes, see the changelog to see whats
new

18 Jun 2008; Raúl Porcel xulrunner-1.9.ebuild:
Enable safe-browsing, bug #227983

18 Jun 2008; Raúl Porcel xulrunner-1.9.ebuild:
Fix dep on nss

18 Jun 2008; Raúl Porcel xulrunner-1.9.ebuild:
Bump patchset to fix bug #228005

*xulrunner-1.9 (17 Jun 2008)

17 Jun 2008; Raúl Porcel -xulrunner-1.9_rc3.ebuild,
+xulrunner-1.9.ebuild:
Version bump, wrt #227853, remove old

*xulrunner-1.9_rc3 (12 Jun 2008)

12 Jun 2008; Raúl Porcel -xulrunner-1.9_rc1.ebuild,
-xulrunner-1.9_rc2.ebuild, +xulrunner-1.9_rc3.ebuild:
Version bump, remove old

*xulrunner-1.9_rc2 (05 Jun 2008)

05 Jun 2008; Raúl Porcel +xulrunner-1.9_rc2.ebuild:
Version bump

21 May 2008; Raúl Porcel
-xulrunner-1.9_beta5-r1.ebuild:
old

20 May 2008; Raúl Porcel
xulrunner-1.9_beta5-r1.ebuild, xulrunner-1.9_rc1.ebuild:
Fix sqlite dep

17 May 2008; Raúl Porcel xulrunner-1.9_rc1.ebuild:
Raise nspr/nss dep

*xulrunner-1.9_rc1 (17 May 2008)

17 May 2008; Raúl Porcel +xulrunner-1.9_rc1.ebuild:
Version bump

22 Apr 2008; Tobias Scherbaum
xulrunner-1.8.1.14.ebuild:
ppc stable, bug #218065

*xulrunner-1.9_beta5-r1 (21 Apr 2008)

21 Apr 2008; Raúl Porcel
-xulrunner-1.9_beta5.ebuild, +xulrunner-1.9_beta5-r1.ebuild:
Fix symlink, thanks to hoffie for the report

19 Apr 2008; Markus Rothe xulrunner-1.8.1.14.ebuild:
Stable on ppc64; bug #218065

19 Apr 2008; Markus Meier xulrunner-1.8.1.14.ebuild:
amd64 stable, security bug #218065

18 Apr 2008; Raúl Porcel xulrunner-1.8.1.14.ebuild:
alpha/ia64/sparc/x86 stable wrt security #218065

18 Apr 2008; Jeroen Roovers xulrunner-1.8.1.14.ebuild:
Stable for HPPA (bug #218065).

*xulrunner-1.8.1.14 (17 Apr 2008)

17 Apr 2008; Raúl Porcel +xulrunner-1.8.1.14.ebuild:
Version bump

*xulrunner-1.9_beta5 (08 Apr 2008)

08 Apr 2008; Raúl Porcel -xulrunner-1.8.1.12.ebuild,
+xulrunner-1.9_beta5.ebuild:
Add 1.9

28 Mar 2008; Jeroen Roovers xulrunner-1.8.1.13.ebuild:
Stable for HPPA (bug #214816).

27 Mar 2008; Brent Baude xulrunner-1.8.1.13.ebuild:
Marking xulrunner-1.8.1.13 ppc64 and ppc for bug 214816

27 Mar 2008; Raúl Porcel xulrunner-1.8.1.13.ebuild:
alpha/ia64/sparc stable wrt #214816

27 Mar 2008; Markus Meier xulrunner-1.8.1.13.ebuild:
amd64/x86 stable, security bug #214816

*xulrunner-1.8.1.13 (26 Mar 2008)

26 Mar 2008; Raúl Porcel +xulrunner-1.8.1.13.ebuild:
Version bump

18 Mar 2008; Raúl Porcel xulrunner-1.8.1.11.ebuild,
xulrunner-1.8.1.12.ebuild:
Slot again

18 Mar 2008; Raúl Porcel xulrunner-1.8.1.11.ebuild,
xulrunner-1.8.1.12.ebuild:
Fix LICENSE, thanks to zlin

17 Mar 2008; Raúl Porcel xulrunner-1.8.1.11.ebuild,
xulrunner-1.8.1.12.ebuild:
We won't slot xulrunner

12 Mar 2008; Raúl Porcel xulrunner-1.8.1.12.ebuild:
Prepare to slot and some cosmetic fixes

02 Mar 2008; Lars Weiler ChangeLog:
stable ppc, security bug 208128

11 Feb 2008; Olivier Crête xulrunner-1.8.1.12.ebuild:
Stable on amd64, security bug #208128

09 Feb 2008; Jeroen Roovers xulrunner-1.8.1.12.ebuild:
Stable for HPPA (bug #208128).

08 Feb 2008; Christian Faulhammer
xulrunner-1.8.1.12.ebuild:
stable x86, security bug 208128

08 Feb 2008; Brent Baude xulrunner-1.8.1.12.ebuild:
Marking xulrunner-1.8.1.12 ppc and ppc64 for bug 208128

08 Feb 2008; Raúl Porcel xulrunner-1.8.1.12.ebuild:
alpha/ia64/sparc stable wrt security #208128

*xulrunner-1.8.1.12 (08 Feb 2008)

08 Feb 2008; Raúl Porcel +xulrunner-1.8.1.12.ebuild:
Version bump

02 Feb 2008; Raúl Porcel xulrunner-1.8.1.11.ebuild:
Bump patchset to fix bug #208212

23 Jan 2008; Raúl Porcel xulrunner-1.8.1.11.ebuild:
Bump patchset to fix building with GCC-4.3, bug #204703, and to fix building
with nss-3.12

10 Jan 2008; Raúl Porcel -xulrunner-1.8.1.6.ebuild:
old

12 Dec 2007; Raúl Porcel -xulrunner-1.8.1.9.ebuild:
old

12 Dec 2007; Jeroen Roovers xulrunner-1.8.1.11.ebuild:
Stable for HPPA (bug #198965).

07 Dec 2007; Peter Weller xulrunner-1.8.1.11.ebuild:
Stable on amd64

04 Dec 2007; Tobias Scherbaum
xulrunner-1.8.1.11.ebuild:
ppc stable, bug #198965

04 Dec 2007; Markus Rothe xulrunner-1.8.1.11.ebuild:
Stable on ppc64; bug #198965

04 Dec 2007; Raúl Porcel xulrunner-1.8.1.11.ebuild:
alpha/ia64/sparc/x86 stable

*xulrunner-1.8.1.11 (04 Dec 2007)

04 Dec 2007; Raúl Porcel -xulrunner-1.8.1.8.ebuild,
-xulrunner-1.8.1.10.ebuild, +xulrunner-1.8.1.11.ebuild:
Version bump, remove old

*xulrunner-1.8.1.10 (29 Nov 2007)

29 Nov 2007; Raúl Porcel +xulrunner-1.8.1.10.ebuild:
Version bump

12 Nov 2007; Samuli Suominen xulrunner-1.8.1.9.ebuild:
amd64 stable wrt security #196480

06 Nov 2007; Jeroen Roovers xulrunner-1.8.1.9.ebuild:
Stable for HPPA (bug #196480).

05 Nov 2007; Tobias Scherbaum
xulrunner-1.8.1.9.ebuild:
ppc stable, bug #196480

03 Nov 2007; Markus Rothe xulrunner-1.8.1.9.ebuild:
Stable on ppc64; bug #196480

03 Nov 2007; Raúl Porcel xulrunner-1.8.1.9.ebuild:
alpha/ia64/sparc stable wrt security #196480

03 Nov 2007; Jurek Bartuszek xulrunner-1.8.1.9.ebuild:
x86 stable (bug #196480)

*xulrunner-1.8.1.9 (02 Nov 2007)

02 Nov 2007; Raúl Porcel +xulrunner-1.8.1.9.ebuild:
Version bump

24 Oct 2007; Jeroen Roovers xulrunner-1.8.1.8.ebuild:
Stable for HPPA (bug #196480). Fixed quoting issues.

23 Oct 2007; Christoph Mende
xulrunner-1.8.1.8.ebuild:
Stable on amd64 wrt security bug #196480

23 Oct 2007; Markus Rothe xulrunner-1.8.1.8.ebuild:
Stable on ppc64; bug #196480

22 Oct 2007; Tobias Scherbaum
xulrunner-1.8.1.8.ebuild:
ppc stable, bug #196480

22 Oct 2007; Raúl Porcel xulrunner-1.8.1.8.ebuild:
alpha/ia64/sparc stable wrt security #196480

21 Oct 2007; Raúl Porcel xulrunner-1.8.1.8.ebuild:
Bump patchset to fix bug #196444, bug #188636, and fix bug #186750 thanks to
Walter Meinl for the patches

21 Oct 2007; Markus Meier xulrunner-1.8.1.8.ebuild:
x86 stable, security bug #196480

*xulrunner-1.8.1.8 (19 Oct 2007)

19 Oct 2007; Raúl Porcel -xulrunner-1.8.1.7.ebuild,
+xulrunner-1.8.1.8.ebuild:
Version bump

*xulrunner-1.8.1.7 (19 Sep 2007)

19 Sep 2007; Raúl Porcel +xulrunner-1.8.1.7.ebuild:
Version bump

09 Aug 2007; Raúl Porcel -xulrunner-1.8.1.5.ebuild:
old

08 Aug 2007; Jeroen Roovers xulrunner-1.8.1.6.ebuild:
Stable for HPPA (bug #187205).

05 Aug 2007; Markus Rothe xulrunner-1.8.1.6.ebuild:
Stable on ppc64; bug #187205

03 Aug 2007; Tobias Scherbaum
xulrunner-1.8.1.6.ebuild:
ppc stable, bug #187205

03 Aug 2007; Raúl Porcel xulrunner-1.8.1.6.ebuild:
alpha/ia64/x86 stable wrt security #187205

02 Aug 2007; Carlos Silva xulrunner-1.8.1.6.ebuild:
amd64 stable wrt bug #187205

02 Aug 2007; Gustavo Zacarias
xulrunner-1.8.1.6.ebuild:
Stable on sparc wrt security #187205

*xulrunner-1.8.1.6 (02 Aug 2007)

02 Aug 2007; Raúl Porcel +xulrunner-1.8.1.6.ebuild:
Version bump wrt security #187205

29 Jul 2007; Tom Gall xulrunner-1.8.1.5.ebuild:
stable on ppc64

28 Jul 2007; Raúl Porcel -xulrunner-1.8.1.4.ebuild:
old

28 Jul 2007; Steve Dibb xulrunner-1.8.1.5.ebuild:
amd64 stable, security bug 185737

27 Jul 2007; Gustavo Zacarias
xulrunner-1.8.1.5.ebuild:
Stable on ppc wrt security #185737

24 Jul 2007; Gustavo Zacarias
xulrunner-1.8.1.5.ebuild:
Stable on sparc wrt security #185737

24 Jul 2007; Jeroen Roovers xulrunner-1.8.1.5.ebuild:
Stable for HPPA (bug #185737).

23 Jul 2007; Raúl Porcel xulrunner-1.8.1.5.ebuild:
alpha/ia64/x86 stable wrt security #185737

*xulrunner-1.8.1.5 (20 Jul 2007)

20 Jul 2007; Raúl Porcel +xulrunner-1.8.1.5.ebuild:
Version bump wrt security #185737

10 Jul 2007; Raúl Porcel xulrunner-1.8.1.4.ebuild:
alpha stable

04 Jul 2007; Roy Marples xulrunner-1.8.1.4.ebuild:
Keyworded ~x86-fbsd, #184099.

04 Jul 2007; Raúl Porcel xulrunner-1.8.1.4.ebuild:
Make it work in fbsd, patches provided by Roy Marples dot org>, bug 184099

15 Jun 2007; Raúl Porcel xulrunner-1.8.1.4.ebuild:
Enable parallel compile, bug 181722

13 Jun 2007; Raúl Porcel -xulrunner-1.8.0.4.ebuild,
-xulrunner-1.8.1.3.ebuild:
clean old

13 Jun 2007; Tobias Scherbaum
xulrunner-1.8.1.4.ebuild:
ppc stable, bug #180436

04 Jun 2007; Gustavo Zacarias
xulrunner-1.8.1.4.ebuild:
Stable on sparc wrt security #180436

02 Jun 2007; Jeroen Roovers xulrunner-1.8.1.4.ebuild:
Stable for HPPA (bug #180436).

01 Jun 2007; Raúl Porcel xulrunner-1.8.1.4.ebuild:
ia64/x86 stable wrt security #180436

01 Jun 2007; Christoph Mende
xulrunner-1.8.1.4.ebuild:
Stable on amd64 wrt security bug 180436

*xulrunner-1.8.1.4 (01 Jun 2007)

01 Jun 2007; Raúl Porcel +xulrunner-1.8.1.4.ebuild:
Version bump wrt security #180436, thanks to Gergan Penkov yahoo dot de> for the patchset

23 May 2007; Gustavo Zacarias
xulrunner-1.8.1.3.ebuild:
Stable on sparc

18 May 2007; Raúl Porcel xulrunner-1.8.1.3.ebuild:
Add ~alpha wrt #172559

18 Apr 2007; Raúl Porcel xulrunner-1.8.1.3.ebuild:
Add patch to fix compile failure if use debug, bug 155349, thanks to Gergan
Penkov for the patch

17 Apr 2007; Raúl Porcel xulrunner-1.8.1.3.ebuild:
Disable python extension, bug 174944

16 Apr 2007; Raúl Porcel xulrunner-1.8.1.3.ebuild:
Add elog in postinst, thanks to dang for the suggestion

16 Apr 2007; Daniel Gryniewicz xulrunner-1.8.1.3.ebuild:
Marked stable on amd64 for bug #170101

16 Apr 2007; Raúl Porcel xulrunner-1.8.1.3.ebuild:
Add back ~arch keywords i dropped

*xulrunner-1.8.1.3 (16 Apr 2007)

16 Apr 2007; Raúl Porcel -xulrunner-1.8.0.11.ebuild,
+xulrunner-1.8.1.3.ebuild:
Bump to 1.8.1.3, many thanks to Gergan Penkov for
the patchset

15 Apr 2007; Raúl Porcel xulrunner-1.8.0.11.ebuild:
Fix patchset, bug 174645

*xulrunner-1.8.0.11 (14 Apr 2007)

14 Apr 2007; Raúl Porcel +xulrunner-1.8.0.11.ebuild:
Version bump, wrt security fixes, and stable to x86

29 Mar 2007; Jeroen Roovers :
Marked ~hppa (bug #172559).

24 Mar 2007; Raúl Porcel xulrunner-1.8.0.4.ebuild:
Bump patchset wrt bug 171901, patch by Roy Marples

23 Mar 2007; Raúl Porcel xulrunner-1.8.0.4.ebuild:
Add missing IUSE

15 Mar 2007; Daniel Gryniewicz xulrunner-1.8.0.4.ebuild:
Marked stable on amd64 for bug #170101

09 Mar 2007; nixnut xulrunner-1.8.0.4.ebuild:
Stable on ppc wrt bug 170101

09 Mar 2007; Raúl Porcel xulrunner-1.8.0.4.ebuild:
x86 stable wrt bug 170101

08 Mar 2007; Raúl Porcel xulrunner-1.8.0.4.ebuild:
Bump patchset to make this work in g/fbsd wrt bug 169825

07 Mar 2007; Markus Rothe xulrunner-1.8.0.4.ebuild:
Added ~ppc64; bug #155053

07 Mar 2007; Raúl Porcel xulrunner-1.8.0.4.ebuild:
Bump patchset to fix bug 165777 and bug 168893

11 Jan 2007; Raúl Porcel xulrunner-1.8.0.4.ebuild:
license change, bug 150118

06 Dec 2006; Jason Wever xulrunner-1.8.0.4.ebuild:
Added ~sparc keyword wrt bug #155053.

19 Nov 2006; Stuart Longland
xulrunner-1.8.0.4.ebuild:
Minor tweaks committed on Anarchy's behalf: relocated WANT_AUTOCONF
variable, force -j1 when compiling.

17 Nov 2006; nixnut xulrunner-1.8.0.4.ebuild:
Added ~ppc keyword wrt bug 155053

12 Nov 2006; Stefan Schweizer
-xulrunner-1.8.0.1.ebuild, xulrunner-1.8.0.4.ebuild:
Remove old, WANT_AUTOCONF="2.1", thanks anarchy

*xulrunner-1.8.0.4 (27 Jul 2006)

27 Jul 2006; Stefan Schweizer +files/xulrunner.conf,
+xulrunner-1.8.0.4.ebuild:
Version bump thanks to Gergan Penkov and Walter Meinl
in bug 142791

*xulrunner-1.8.0.1 (02 Jun 2006)

02 Jun 2006; Jory A. Pratt +metadata.xml,
+xulrunner-1.8.0.1.ebuild:
initial import to tree

Manifest

AUX xulrunner.conf 113 RMD160 8be48cf5040eb5753c8eb35c048cc6b2c1a8a057 SHA1 62cce7ee5b1e51343c3dbc388894011da913d9d4 SHA256 9ac56b42cfb48854d23c299330ad327af5f0815140dcb7fdee905b660cd9a8a3
DIST xulrunner-1.8.1.11-patches-0.3.tar.bz2 62521 RMD160 06cb96500076ed532e5eead97b9fa4b10039baf9 SHA1 aac43a59f72343d4e7a5ff93fbb08ff683288176 SHA256 7211b85d309039907a4acb320f6434ddca36e600cf52ea709f4faf7a89a20eed
DIST xulrunner-1.8.1.11-source.tar.bz2 35475483 RMD160 d2edc6abb2733942bbe37709644bddae2f17362b SHA1 87e005deaf13ef4bdc36a2a818a6ae847fde33be SHA256 072fb6dea5f4bc06c94ec237a97b23dabeecc5e6a74754b4259dbf2eb9c00945
DIST xulrunner-1.8.1.13-patches-0.1.tar.bz2 61868 RMD160 99ae55b9a05904dd59bc700dc1d2676603a60364 SHA1 87a9eb02f8fcb133059cbfb03c03e73bb9df670a SHA256 815efb6b9a0effe6f44016ec022784a3ab9967799dd737a856f7c5424c8f746d
DIST xulrunner-1.8.1.15-source.tar.bz2 38093744 RMD160 74900e0a5c164be198bf3de6fdb003755f918987 SHA1 6c72adea5dd47c84209c6a74053459520b134b2c SHA256 7f4eef00d79aef14e71df8517a83467b674610e9f7b97c749eebaed9f519c240
DIST xulrunner-1.8.1.16-source.tar.bz2 38100993 RMD160 e37ed21c581cb7dbb03fd09b9a6318f56a245a6e SHA1 af36d14a86fa23fbb3cecf73094ef94f3292709e SHA256 d36fed34f33828ee010f6eb6c1d8ed5bc2fcc3e9811545dd78c10073ba20bdb9
DIST xulrunner-1.9-patches-0.1.tar.bz2 5880 RMD160 bd5475536e06b81f08aaa9d43e8ff2f7afa380ed SHA1 399989329935c2b31797e2eb363684dba5eef908 SHA256 b0ae8dd3ac55a0caf720e3fe162d758f58d30e8ce874e9b7d87de23377896007
DIST xulrunner-1.9.0.1-patches-0.1.tar.bz2 5730 RMD160 3b5acec5d09a1c818c51e794889a113fb2fcddf9 SHA1 74638b82cd9afd26530facd8ddc336edcc6daad0 SHA256 986f32661f6f3452f95da833b1a73dfdd8d6c6f18e0759cb7910b53709c21bf0
DIST xulrunner-1.9.0.1.tar.bz2 33959004 RMD160 a79ab44824a16a7765fcf0bd0720c75de919e345 SHA1 05455203c552e1a9d9148fb72053ff6ca0b0f2d8 SHA256 cd40bccf9a1c7d945e7bd79f036d38d76e5cc003eeb838bad0a911bc7e337e1c
DIST xulrunner-1.9.tar.bz2 34035285 RMD160 0cbc3e76c1ac43858375ab88610e5b68b2620d62 SHA1 091a1bf39c8b57b579fadb01c6377f357427cd90 SHA256 5a17a5e138fe5f3a39d6ad44eb9cba076360b7e1809e4b647c4ae4f316d8a2ee
EBUILD xulrunner-1.8.1.11.ebuild 4858 RMD160 17de41e45e8b18be49bcbdc12d70ff06ced7ce60 SHA1 0e12768437e8dca58af17cc0330e003bca575e76 SHA256 d8fc4b0b29beecbd73135ed4d51bed81476dde139eb604e1a20fe3725dc453ab
EBUILD xulrunner-1.8.1.15.ebuild 5257 RMD160 b32d744b911384f3c1aaae0934d53d8a051ffa12 SHA1 2edb12fdfd657766b95ee96e43998d6ba9b60ada SHA256 ce4645cbc10a4bd85b6b9496edf0423f96f4f3e6f812e33976c90454eab9b154
EBUILD xulrunner-1.8.1.16.ebuild 5262 RMD160 90629eb13b1e14f1c9d960b40f6d14d79cc64e30 SHA1 2cf7484ea1eb188647f3fe5202b931e5230e858a SHA256 b8a08675e393a33c6bf616b0587abd4c2b0800b49d933b8a61c065b5a17a4418
EBUILD xulrunner-1.9-r2.ebuild 5445 RMD160 5b4b56b34b1d307966d93903a440369b7a93933a SHA1 ffc5896c47c528cff47efbb1dbc5213cac38cbf3 SHA256 e2cfeed1abba9d0f7cef1db84b6718410433fe151eeb1454e0aa021dff5feabd
EBUILD xulrunner-1.9.0.1.ebuild 5327 RMD160 2d517d5d281ca97002e6e6fa72a25e2d3ba4a480 SHA1 52dda55604b0dfe80464287e935c2179736d30a1 SHA256 97927e581e01cadd887d075e2f822ed47d0fe92ce6ae2d998b9244c68efa1911
MISC ChangeLog 17011 RMD160 cb588ec1c5bd8268bdb9d5a46fc42ad6c71b10af SHA1 00a922d7e78af557d9833e3a990e66f7632135a1 SHA256 96da3c4ef772ef162dead1dc284560c6a442db7a91649c7463dfd975b2fc627b
MISC metadata.xml 160 RMD160 d5a9f0bf8989621c2bde30facb53bcae00aba709 SHA1 5015c07af2083f20f9552d7fb11afb5ea69af345 SHA256 0cc5126362a12cee42ec1197c528a804cf36859329dd2c6d9225726831d14b8b

files

metadata.xml




mozilla

xulrunner-1.8.1.11.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/xulrunner-1.8.1.11.ebuild,v 1.13 2008/03/18 17:18:31 armin76 Exp $

WANT_AUTOCONF="2.1"

inherit flag-o-matic toolchain-funcs eutils makeedit multilib autotools mozconfig-2 java-pkg-opt-2
PATCH="${P}-patches-0.3"

DESCRIPTION="Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications"
HOMEPAGE="http://developer.mozilla.org/en/docs/XULRunner"
SRC_URI="mirror://gentoo/${P}-source.tar.bz2
mirror://gentoo/${PATCH}.tar.bz2"

SLOT="1.8"
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE=""

RDEPEND=">=sys-libs/zlib-1.1.4
>=sys-devel/binutils-2.16.1
>=dev-libs/nss-3.11.5
>=dev-libs/nspr-4.6.5-r1
java? ( >=virtual/jre-1.4 )"

DEPEND="java? ( >=virtual/jdk-1.4 )
${RDEPEND}
dev-util/pkgconfig"

S="${WORKDIR}/mozilla"

# Needed by src_compile() and src_install().
# Would do in pkg_setup but that loses the export attribute, they
# become pure shell variables.
export MOZ_CO_PROJECT=xulrunner
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1

src_unpack() {
unpack ${P}-source.tar.bz2 ${PATCH}.tar.bz2

# Apply our patches
cd "${S}" || die "cd failed"
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patch

eautoreconf || die "failed running eautoreconf"
}

src_compile() {
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"

####################################
#
# mozconfig, CFLAGS and CXXFLAGS setup
#
####################################

mozconfig_init
mozconfig_config

mozconfig_annotate '' --enable-extensions="default,cookie,permissions,spellcheck"
mozconfig_annotate '' --enable-native-uconv
mozconfig_annotate '' --enable-image-encoder=all
mozconfig_annotate '' --enable-canvas
#mozconfig_annotate '' --enable-js-binary
mozconfig_annotate '' --enable-embedding-tests
mozconfig_annotate '' --with-system-nspr
mozconfig_annotate '' --with-system-nss
mozconfig_annotate '' --with-system-bz2
mozconfig_annotate '' --enable-jsd
mozconfig_annotate '' --enable-xpctools
# Bug 60668: Galeon doesn't build without oji enabled, so enable it
# regardless of java setting.
mozconfig_annotate '' --enable-oji --enable-mathml
mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}

#disable java
if ! use java ; then
mozconfig_annotate '-java' --disable-javaxpcom
fi

# Finalize and report settings
mozconfig_final

# -fstack-protector breaks us
if gcc-version ge 4 1; then
gcc-specs-ssp && append-flags -fno-stack-protector
else
gcc-specs-ssp && append-flags -fno-stack-protector-all
fi
filter-flags -fstack-protector -fstack-protector-all

####################################
#
# Configure and build
#
####################################

CPPFLAGS="${CPPFLAGS} -DARON_WAS_HERE" \
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
econf || die

# It would be great if we could pass these in via CPPFLAGS or CFLAGS prior
# to econf, but the quotes cause configure to fail.
sed -i -e \
's|-DARON_WAS_HERE|-DGENTOO_NSPLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsplugins\\\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsbrowser/plugins\\\"|' \
"${S}"/config/autoconf.mk \
"${S}"/toolkit/content/buildconfig.html

# This removes extraneous CFLAGS from the Makefiles to reduce RAM
# requirements while compiling
edit_makefiles

emake || die "emake failed"
}

src_install() {
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
emake DESTDIR="${D}" install || die "emake install failed"
X_DATE=`date +%Y%m%d`

# Add Gentoo package version to preferences - copied from debian rules
echo // Gentoo package version \
> "${D}"/usr/$(get_libdir)/xulrunner/defaults/pref/vendor.js
echo "pref(\"general.useragent.product\",\"Gecko\");" \
>> "${D}"/usr/$(get_libdir)/xulrunner/defaults/pref/vendor.js
echo "pref(\"general.useragent.productSub\",\"${X_DATE}\");" \
>> "${D}"/usr/$(get_libdir)/xulrunner/defaults/pref/vendor.js
echo "pref(\"general.useragent.productComment\",\"Gentoo\");" \
>> "${D}"/usr/$(get_libdir)/xulrunner/defaults/pref/vendor.js

if use java ; then
java-pkg_dojar "${D}"${MOZILLA_FIVE_HOME}/javaxpcom.jar
rm -f "${D}"${MOZILLA_FIVE_HOME}/javaxpcom.jar
fi

# xulrunner registration, the gentoo way
insinto /etc/gre.d
newins "${FILESDIR}"/${PN}.conf ${PV}.conf
sed -i -e \
"s|version|${PV}|
s|instpath|${MOZILLA_FIVE_HOME}|" \
"${D}"/etc/gre.d/${PV}.conf
}

pkg_postinst() {
elog "Please remember to rebuild any packages that you have built"
elog "against xulrunner. Some packages might be broken by the upgrade; if this"
elog "is the case, please search at http://bugs.gentoo.org and open a new bug"
elog "if one does not exist."
}

xulrunner-1.8.1.15.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/xulrunner-1.8.1.15.ebuild,v 1.6 2008/07/05 16:03:09 ranger Exp $

WANT_AUTOCONF="2.1"

inherit flag-o-matic toolchain-funcs eutils makeedit multilib autotools mozconfig-2 java-pkg-opt-2
PATCH="${PN}-1.8.1.13-patches-0.1"

DESCRIPTION="Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications"
HOMEPAGE="http://developer.mozilla.org/en/docs/XULRunner"
SRC_URI="mirror://gentoo/${P}-source.tar.bz2
mirror://gentoo/${PATCH}.tar.bz2"

SLOT="1.8"
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE=""

RDEPEND=">=sys-libs/zlib-1.1.4
>=sys-devel/binutils-2.16.1
>=dev-libs/nss-3.11.5
>=dev-libs/nspr-4.6.5-r1
java? ( >=virtual/jre-1.4 )"

DEPEND="java? ( >=virtual/jdk-1.4 )
${RDEPEND}
dev-util/pkgconfig"

S="${WORKDIR}/mozilla"

# Needed by src_compile() and src_install().
# Would do in pkg_setup but that loses the export attribute, they
# become pure shell variables.
export MOZ_CO_PROJECT=xulrunner
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1

pkg_setup(){
if ! built_with_use x11-libs/cairo X; then
eerror "Cairo is not built with X useflag."
eerror "Please add 'X' to your USE flags, and re-emerge cairo."
die "Cairo needs X"
fi

if ! built_with_use --missing true x11-libs/pango X; then
eerror "Pango is not built with X useflag."
eerror "Please add 'X' to your USE flags, and re-emerge pango."
die "Pango needs X"
fi
java-pkg-opt-2_pkg_setup
}

src_unpack() {
unpack ${P}-source.tar.bz2 ${PATCH}.tar.bz2

# Apply our patches
cd "${S}" || die "cd failed"
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patch

eautoreconf || die "failed running eautoreconf"
}

src_compile() {
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"

####################################
#
# mozconfig, CFLAGS and CXXFLAGS setup
#
####################################

mozconfig_init
mozconfig_config

mozconfig_annotate '' --enable-extensions="default,cookie,permissions,spellcheck"
mozconfig_annotate '' --enable-native-uconv
mozconfig_annotate '' --enable-image-encoder=all
mozconfig_annotate '' --enable-canvas
#mozconfig_annotate '' --enable-js-binary
mozconfig_annotate '' --enable-embedding-tests
mozconfig_annotate '' --with-system-nspr
mozconfig_annotate '' --with-system-nss
mozconfig_annotate '' --with-system-bz2
mozconfig_annotate '' --enable-jsd
mozconfig_annotate '' --enable-xpctools
# Bug 60668: Galeon doesn't build without oji enabled, so enable it
# regardless of java setting.
mozconfig_annotate '' --enable-oji --enable-mathml
mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}

#disable java
if ! use java ; then
mozconfig_annotate '-java' --disable-javaxpcom
fi

# Finalize and report settings
mozconfig_final

# -fstack-protector breaks us
if gcc-version ge 4 1; then
gcc-specs-ssp && append-flags -fno-stack-protector
else
gcc-specs-ssp && append-flags -fno-stack-protector-all
fi
filter-flags -fstack-protector -fstack-protector-all

####################################
#
# Configure and build
#
####################################

CPPFLAGS="${CPPFLAGS} -DARON_WAS_HERE" \
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
econf || die

# It would be great if we could pass these in via CPPFLAGS or CFLAGS prior
# to econf, but the quotes cause configure to fail.
sed -i -e \
's|-DARON_WAS_HERE|-DGENTOO_NSPLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsplugins\\\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsbrowser/plugins\\\"|' \
"${S}"/config/autoconf.mk \
"${S}"/toolkit/content/buildconfig.html

# This removes extraneous CFLAGS from the Makefiles to reduce RAM
# requirements while compiling
edit_makefiles

emake || die "emake failed"
}

src_install() {
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
emake DESTDIR="${D}" install || die "emake install failed"
X_DATE=`date +%Y%m%d`

# Add Gentoo package version to preferences - copied from debian rules
echo // Gentoo package version \
> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js
echo "pref(\"general.useragent.product\",\"Gecko\");" \
>> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js
echo "pref(\"general.useragent.productSub\",\"${X_DATE}\");" \
>> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js
echo "pref(\"general.useragent.productComment\",\"Gentoo\");" \
>> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js

if use java ; then
java-pkg_dojar "${D}"${MOZILLA_FIVE_HOME}/javaxpcom.jar
rm -f "${D}"${MOZILLA_FIVE_HOME}/javaxpcom.jar
fi

# xulrunner registration, the gentoo way
insinto /etc/gre.d
newins "${FILESDIR}"/${PN}.conf ${PV}.conf
sed -i -e \
"s|version|${PV}|
s|instpath|${MOZILLA_FIVE_HOME}|" \
"${D}"/etc/gre.d/${PV}.conf
}

pkg_postinst() {
elog "Please remember to rebuild any packages that you have built"
elog "against xulrunner. Some packages might be broken by the upgrade; if this"
elog "is the case, please search at http://bugs.gentoo.org and open a new bug"
elog "if one does not exist."
}

xulrunner-1.8.1.16.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/xulrunner-1.8.1.16.ebuild,v 1.6 2008/07/19 10:06:17 dertobi123 Exp $

WANT_AUTOCONF="2.1"

inherit flag-o-matic toolchain-funcs eutils makeedit multilib autotools mozconfig-2 java-pkg-opt-2
PATCH="${PN}-1.8.1.13-patches-0.1"

DESCRIPTION="Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications"
HOMEPAGE="http://developer.mozilla.org/en/docs/XULRunner"
SRC_URI="mirror://gentoo/${P}-source.tar.bz2
mirror://gentoo/${PATCH}.tar.bz2"

SLOT="1.8"
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
KEYWORDS="alpha ~amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE=""

RDEPEND=">=sys-libs/zlib-1.1.4
>=sys-devel/binutils-2.16.1
>=dev-libs/nss-3.11.5
>=dev-libs/nspr-4.6.5-r1
java? ( >=virtual/jre-1.4 )"

DEPEND="java? ( >=virtual/jdk-1.4 )
${RDEPEND}
dev-util/pkgconfig"

S="${WORKDIR}/mozilla"

# Needed by src_compile() and src_install().
# Would do in pkg_setup but that loses the export attribute, they
# become pure shell variables.
export MOZ_CO_PROJECT=xulrunner
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1

pkg_setup(){
if ! built_with_use x11-libs/cairo X; then
eerror "Cairo is not built with X useflag."
eerror "Please add 'X' to your USE flags, and re-emerge cairo."
die "Cairo needs X"
fi

if ! built_with_use --missing true x11-libs/pango X; then
eerror "Pango is not built with X useflag."
eerror "Please add 'X' to your USE flags, and re-emerge pango."
die "Pango needs X"
fi
java-pkg-opt-2_pkg_setup
}

src_unpack() {
unpack ${P}-source.tar.bz2 ${PATCH}.tar.bz2

# Apply our patches
cd "${S}" || die "cd failed"
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patch

eautoreconf || die "failed running eautoreconf"
}

src_compile() {
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"

####################################
#
# mozconfig, CFLAGS and CXXFLAGS setup
#
####################################

mozconfig_init
mozconfig_config

mozconfig_annotate '' --enable-extensions="default,cookie,permissions,spellcheck"
mozconfig_annotate '' --enable-native-uconv
mozconfig_annotate '' --enable-image-encoder=all
mozconfig_annotate '' --enable-canvas
#mozconfig_annotate '' --enable-js-binary
mozconfig_annotate '' --enable-embedding-tests
mozconfig_annotate '' --with-system-nspr
mozconfig_annotate '' --with-system-nss
mozconfig_annotate '' --with-system-bz2
mozconfig_annotate '' --enable-jsd
mozconfig_annotate '' --enable-xpctools
# Bug 60668: Galeon doesn't build without oji enabled, so enable it
# regardless of java setting.
mozconfig_annotate '' --enable-oji --enable-mathml
mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}

#disable java
if ! use java ; then
mozconfig_annotate '-java' --disable-javaxpcom
fi

# Finalize and report settings
mozconfig_final

# -fstack-protector breaks us
if gcc-version ge 4 1; then
gcc-specs-ssp && append-flags -fno-stack-protector
else
gcc-specs-ssp && append-flags -fno-stack-protector-all
fi
filter-flags -fstack-protector -fstack-protector-all

####################################
#
# Configure and build
#
####################################

CPPFLAGS="${CPPFLAGS} -DARON_WAS_HERE" \
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
econf || die

# It would be great if we could pass these in via CPPFLAGS or CFLAGS prior
# to econf, but the quotes cause configure to fail.
sed -i -e \
's|-DARON_WAS_HERE|-DGENTOO_NSPLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsplugins\\\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsbrowser/plugins\\\"|' \
"${S}"/config/autoconf.mk \
"${S}"/toolkit/content/buildconfig.html

# This removes extraneous CFLAGS from the Makefiles to reduce RAM
# requirements while compiling
edit_makefiles

emake || die "emake failed"
}

src_install() {
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
emake DESTDIR="${D}" install || die "emake install failed"
X_DATE=`date +%Y%m%d`

# Add Gentoo package version to preferences - copied from debian rules
echo // Gentoo package version \
> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js
echo "pref(\"general.useragent.product\",\"Gecko\");" \
>> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js
echo "pref(\"general.useragent.productSub\",\"${X_DATE}\");" \
>> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js
echo "pref(\"general.useragent.productComment\",\"Gentoo\");" \
>> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js

if use java ; then
java-pkg_dojar "${D}"${MOZILLA_FIVE_HOME}/javaxpcom.jar
rm -f "${D}"${MOZILLA_FIVE_HOME}/javaxpcom.jar
fi

# xulrunner registration, the gentoo way
insinto /etc/gre.d
newins "${FILESDIR}"/${PN}.conf ${PV}.conf
sed -i -e \
"s|version|${PV}|
s|instpath|${MOZILLA_FIVE_HOME}|" \
"${D}"/etc/gre.d/${PV}.conf
}

pkg_postinst() {
elog "Please remember to rebuild any packages that you have built"
elog "against xulrunner. Some packages might be broken by the upgrade; if this"
elog "is the case, please search at http://bugs.gentoo.org and open a new bug"
elog "if one does not exist."
}

xulrunner-1.9-r2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/xulrunner-1.9-r2.ebuild,v 1.5 2008/06/29 15:39:55 betelgeuse Exp $

WANT_AUTOCONF="2.1"

inherit flag-o-matic toolchain-funcs eutils mozconfig-3 makeedit multilib java-pkg-opt-2 python autotools
PATCH="${P}-patches-0.1"

DESCRIPTION="Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications"
HOMEPAGE="http://developer.mozilla.org/en/docs/XULRunner"
SRC_URI="mirror://gentoo/${P}.tar.bz2
http://dev.gentoo.org/~armin76/${P}.tar.bz2
mirror://gentoo/${PATCH}.tar.bz2"

KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
SLOT="1.9"
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
IUSE=""

RDEPEND="java? ( >=virtual/jre-1.4 )
>=sys-devel/binutils-2.16.1
>=dev-libs/nss-3.12
>=dev-libs/nspr-4.7.1
>=app-text/hunspell-1.1.9
>=media-libs/lcms-1.17"

DEPEND="java? ( >=virtual/jdk-1.4 )
${RDEPEND}
dev-util/pkgconfig"

S="${WORKDIR}/mozilla"

# Needed by src_compile() and src_install().
# Would do in pkg_setup but that loses the export attribute, they
# become pure shell variables.
export MOZ_CO_PROJECT=xulrunner
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1

pkg_setup(){
if ! built_with_use x11-libs/cairo X; then
eerror "Cairo is not built with X useflag."
eerror "Please add 'X' to your USE flags, and re-emerge cairo."
die "Cairo needs X"
fi

if ! built_with_use --missing true x11-libs/pango X; then
eerror "Pango is not built with X useflag."
eerror "Please add 'X' to your USE flags, and re-emerge pango."
die "Pango needs X"
fi
java-pkg-opt-2_pkg_setup
}

src_unpack() {
unpack ${A}

# Apply our patches
cd "${S}" || die "cd failed"
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patch

eautoreconf || die "failed running eautoreconf"

# We need to re-patch this because autoreconf overwrites it
epatch "${WORKDIR}"/patch/000_flex-configure-LANG.patch
}

src_compile() {
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}-1.9"

####################################
#
# mozconfig, CFLAGS and CXXFLAGS setup
#
####################################

mozconfig_init
mozconfig_config

mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
mozconfig_annotate '' --disable-mailnews
mozconfig_annotate 'broken' --disable-mochitest
mozconfig_annotate 'broken' --disable-crashreporter
mozconfig_annotate '' --enable-system-hunspell
#mozconfig_annotate '' --enable-system-sqlite
mozconfig_annotate '' --enable-image-encoder=all
mozconfig_annotate '' --enable-canvas
#mozconfig_annotate '' --enable-js-binary
mozconfig_annotate '' --enable-embedding-tests
mozconfig_annotate '' --with-system-nspr
mozconfig_annotate '' --with-system-nss
mozconfig_annotate '' --enable-system-lcms
mozconfig_annotate '' --with-system-bz2
# Bug 60668: Galeon doesn't build without oji enabled, so enable it
# regardless of java setting.
mozconfig_annotate '' --enable-oji --enable-mathml
mozconfig_annotate 'places' --enable-storage --enable-places --enable-places_bookmarks
mozconfig_annotate '' --enable-safe-browsing

# Other ff-specific settings
mozconfig_annotate '' --enable-jsd
mozconfig_annotate '' --enable-xpctools
mozconfig_annotate '' --disable-libxul
mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}

#disable java
if ! use java ; then
mozconfig_annotate '-java' --disable-javaxpcom
fi

# Finalize and report settings
mozconfig_final

# -fstack-protector breaks us
if gcc-version ge 4 1; then
gcc-specs-ssp && append-flags -fno-stack-protector
else
gcc-specs-ssp && append-flags -fno-stack-protector-all
fi
filter-flags -fstack-protector -fstack-protector-all

####################################
#
# Configure and build
#
####################################

CPPFLAGS="${CPPFLAGS} -DARON_WAS_HERE" \
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
econf || die

# It would be great if we could pass these in via CPPFLAGS or CFLAGS prior
# to econf, but the quotes cause configure to fail.
sed -i -e \
's|-DARON_WAS_HERE|-DGENTOO_NSPLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsplugins\\\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsbrowser/plugins\\\"|' \
"${S}"/config/autoconf.mk \
"${S}"/toolkit/content/buildconfig.html

# This removes extraneous CFLAGS from the Makefiles to reduce RAM
# requirements while compiling
edit_makefiles

emake || die "emake failed"
}

src_install() {
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}-1.9"

emake DESTDIR="${D}" install || die "emake install failed"

rm "${D}"/usr/bin/xulrunner

dodir /usr/bin
dosym ${MOZILLA_FIVE_HOME}/xulrunner /usr/bin/xulrunner-1.9

X_DATE=`date +%Y%m%d`

# Add Gentoo package version to preferences - copied from debian rules
echo // Gentoo package version \
> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js
echo "pref(\"general.useragent.product\",\"Gecko\");" \
>> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js
echo "pref(\"general.useragent.productSub\",\"${X_DATE}\");" \
>> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js
echo "pref(\"general.useragent.productComment\",\"Gentoo\");" \
>> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js

if use java ; then
java-pkg_dojar "${D}"${MOZILLA_FIVE_HOME}/javaxpcom.jar
rm -f "${D}"${MOZILLA_FIVE_HOME}/javaxpcom.jar
fi
}

xulrunner-1.9.0.1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/xulrunner-1.9.0.1.ebuild,v 1.2 2008/07/18 17:52:54 armin76 Exp $

WANT_AUTOCONF="2.1"

inherit flag-o-matic toolchain-funcs eutils mozconfig-3 makeedit multilib java-pkg-opt-2 python autotools
PATCH="${P}-patches-0.1"

DESCRIPTION="Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications"
HOMEPAGE="http://developer.mozilla.org/en/docs/XULRunner"
SRC_URI="mirror://gentoo/${P}.tar.bz2
http://dev.gentoo.org/~armin76/${P}.tar.bz2
mirror://gentoo/${PATCH}.tar.bz2"

KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
SLOT="1.9"
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
IUSE=""

RDEPEND="java? ( >=virtual/jre-1.4 )
>=sys-devel/binutils-2.16.1
>=dev-libs/nss-3.12
>=dev-libs/nspr-4.7.1
>=app-text/hunspell-1.1.9
>=media-libs/lcms-1.17"

DEPEND="java? ( >=virtual/jdk-1.4 )
${RDEPEND}
dev-util/pkgconfig"

S="${WORKDIR}/mozilla"

# Needed by src_compile() and src_install().
# Would do in pkg_setup but that loses the export attribute, they
# become pure shell variables.
export MOZ_CO_PROJECT=xulrunner
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1

pkg_setup(){
if ! built_with_use x11-libs/cairo X; then
eerror "Cairo is not built with X useflag."
eerror "Please add 'X' to your USE flags, and re-emerge cairo."
die "Cairo needs X"
fi

if ! built_with_use --missing true x11-libs/pango X; then
eerror "Pango is not built with X useflag."
eerror "Please add 'X' to your USE flags, and re-emerge pango."
die "Pango needs X"
fi
java-pkg-opt-2_pkg_setup
}

src_unpack() {
unpack ${A}

# Apply our patches
cd "${S}" || die "cd failed"
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patch

eautoreconf || die "failed running eautoreconf"

# We need to re-patch this because autoreconf overwrites it
epatch "${WORKDIR}"/patch/000_flex-configure-LANG.patch
}

src_compile() {
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}-1.9"

####################################
#
# mozconfig, CFLAGS and CXXFLAGS setup
#
####################################

mozconfig_init
mozconfig_config

mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
mozconfig_annotate '' --disable-mailnews
mozconfig_annotate 'broken' --disable-mochitest
mozconfig_annotate 'broken' --disable-crashreporter
mozconfig_annotate '' --enable-system-hunspell
#mozconfig_annotate '' --enable-system-sqlite
mozconfig_annotate '' --enable-image-encoder=all
mozconfig_annotate '' --enable-canvas
#mozconfig_annotate '' --enable-js-binary
mozconfig_annotate '' --enable-embedding-tests
mozconfig_annotate '' --with-system-nspr
mozconfig_annotate '' --with-system-nss
mozconfig_annotate '' --enable-system-lcms
mozconfig_annotate '' --with-system-bz2
# Bug 60668: Galeon doesn't build without oji enabled, so enable it
# regardless of java setting.
mozconfig_annotate '' --enable-oji --enable-mathml
mozconfig_annotate 'places' --enable-storage --enable-places --enable-places_bookmarks
mozconfig_annotate '' --enable-safe-browsing

# Other ff-specific settings
mozconfig_annotate '' --enable-jsd
mozconfig_annotate '' --enable-xpctools
mozconfig_annotate '' --disable-libxul
mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}

#disable java
if ! use java ; then
mozconfig_annotate '-java' --disable-javaxpcom
fi

# Finalize and report settings
mozconfig_final

# -fstack-protector breaks us
if gcc-version ge 4 1; then
gcc-specs-ssp && append-flags -fno-stack-protector
else
gcc-specs-ssp && append-flags -fno-stack-protector-all
fi
filter-flags -fstack-protector -fstack-protector-all

####################################
#
# Configure and build
#
####################################

CPPFLAGS="${CPPFLAGS} -DARON_WAS_HERE" \
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
econf || die

# It would be great if we could pass these in via CPPFLAGS or CFLAGS prior
# to econf, but the quotes cause configure to fail.
sed -i -e \
's|-DARON_WAS_HERE|-DGENTOO_NSPLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsplugins\\\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsbrowser/plugins\\\"|' \
"${S}"/config/autoconf.mk \
"${S}"/toolkit/content/buildconfig.html

emake || die "emake failed"
}

src_install() {
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}-1.9"

emake DESTDIR="${D}" install || die "emake install failed"

rm "${D}"/usr/bin/xulrunner

dodir /usr/bin
dosym ${MOZILLA_FIVE_HOME}/xulrunner /usr/bin/xulrunner-1.9

X_DATE=`date +%Y%m%d`

# Add Gentoo package version to preferences - copied from debian rules
echo // Gentoo package version \
> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js
echo "pref(\"general.useragent.product\",\"Gecko\");" \
>> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js
echo "pref(\"general.useragent.productSub\",\"${X_DATE}\");" \
>> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js
echo "pref(\"general.useragent.productComment\",\"Gentoo\");" \
>> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js

if use java ; then
java-pkg_dojar "${D}"${MOZILLA_FIVE_HOME}/javaxpcom.jar
rm -f "${D}"${MOZILLA_FIVE_HOME}/javaxpcom.jar
fi
}