From: | "Raul Porcel (armin76)" <armin76@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-libs/xulrunner-bin: ChangeLog xulrunner-bin-1.8.1.15.ebuild |
Date: | Thu, 03 Jul 2008 14:24:17 |
Message-Id: | E1KEPjH-0005mt-FX@stork.gentoo.org |
1 | armin76 08/07/03 14:24:11 |
2 | |
3 | Modified: ChangeLog |
4 | Added: xulrunner-bin-1.8.1.15.ebuild |
5 | Log: |
6 | Version bump |
7 | (Portage version: 2.1.4.4) |
8 | |
9 | Revision Changes Path |
10 | 1.6 net-libs/xulrunner-bin/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner-bin/ChangeLog?rev=1.6&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner-bin/ChangeLog?rev=1.6&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner-bin/ChangeLog?r1=1.5&r2=1.6 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-libs/xulrunner-bin/ChangeLog,v |
19 | retrieving revision 1.5 |
20 | retrieving revision 1.6 |
21 | diff -u -r1.5 -r1.6 |
22 | --- ChangeLog 19 Apr 2008 13:53:29 -0000 1.5 |
23 | +++ ChangeLog 3 Jul 2008 14:24:10 -0000 1.6 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for net-libs/xulrunner-bin |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner-bin/ChangeLog,v 1.5 2008/04/19 13:53:29 maekke Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner-bin/ChangeLog,v 1.6 2008/07/03 14:24:10 armin76 Exp $ |
29 | + |
30 | +*xulrunner-bin-1.8.1.15 (03 Jul 2008) |
31 | + |
32 | + 03 Jul 2008; Raúl Porcel <armin76@g.o> |
33 | + +xulrunner-bin-1.8.1.15.ebuild: |
34 | + Version bump |
35 | |
36 | 19 Apr 2008; Markus Meier <maekke@g.o> |
37 | xulrunner-bin-1.8.1.14.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 net-libs/xulrunner-bin/xulrunner-bin-1.8.1.15.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner-bin/xulrunner-bin-1.8.1.15.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner-bin/xulrunner-bin-1.8.1.15.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: xulrunner-bin-1.8.1.15.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2008 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner-bin/xulrunner-bin-1.8.1.15.ebuild,v 1.1 2008/07/03 14:24:10 armin76 Exp $ |
51 | |
52 | inherit eutils multilib mozilla-launcher |
53 | |
54 | DESCRIPTION="Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications" |
55 | HOMEPAGE="http://developer.mozilla.org/en/docs/XULRunner" |
56 | SRC_URI="mirror://gentoo/${P}.tbz2" |
57 | RESTRICT="strip" |
58 | |
59 | KEYWORDS="-* ~amd64 ~x86" |
60 | SLOT="0" |
61 | LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" |
62 | IUSE="" |
63 | |
64 | DEPEND="" |
65 | RDEPEND="x11-libs/libXrender |
66 | x11-libs/libXt |
67 | x11-libs/libXmu |
68 | x86? ( |
69 | >=x11-libs/gtk+-2.2 |
70 | ) |
71 | amd64? ( |
72 | app-emulation/emul-linux-x86-baselibs |
73 | app-emulation/emul-linux-x86-gtklibs |
74 | app-emulation/emul-linux-x86-compat |
75 | )" |
76 | |
77 | S="${WORKDIR}/usr/lib/xulrunner/" |
78 | |
79 | pkg_setup() { |
80 | # This is a binary x86 package => ABI=x86 |
81 | # Please keep this in future versions |
82 | # Danny van Dyk <kugelfang@g.o> 2005/03/26 |
83 | has_multilib_profile && ABI="x86" |
84 | } |
85 | |
86 | src_install() { |
87 | declare MOZILLA_FIVE_HOME="/opt/xulrunner" |
88 | |
89 | # Install firefox in /opt |
90 | dodir ${MOZILLA_FIVE_HOME%/*} |
91 | mv "${S}" "${D}"${MOZILLA_FIVE_HOME} |
92 | |
93 | # Create /usr/bin/xulrunner-bin |
94 | install_mozilla_launcher_stub xulrunner-bin ${MOZILLA_FIVE_HOME} |
95 | |
96 | # revdep-rebuild entry |
97 | insinto /etc/revdep-rebuild |
98 | doins "${FILESDIR}"/10xulrunner-bin |
99 | |
100 | # install ldpath env.d |
101 | doenvd "${FILESDIR}"/71xulrunner-bin |
102 | |
103 | insinto /etc/gre.d |
104 | newins "${FILESDIR}"/${PN}.conf ${PV}-bin.conf |
105 | sed -i -e \ |
106 | "s|version|${PV}| |
107 | s|instpath|${MOZILLA_FIVE_HOME}|" \ |
108 | "${D}"/etc/gre.d/${PV}-bin.conf |
109 | } |
110 | |
111 | pkg_preinst() { |
112 | declare MOZILLA_FIVE_HOME="/opt/xulrunner" |
113 | |
114 | # Remove entire installed instance to prevent all kinds of |
115 | # problems... see bug 44772 for example |
116 | rm -rf "${ROOT}"${MOZILLA_FIVE_HOME} |
117 | } |
118 | |
119 | pkg_postinst() { |
120 | use amd64 && einfo "NB: You just installed a 32-bit xulrunner" |
121 | update_mozilla_launcher_symlinks |
122 | } |
123 | |
124 | pkg_postrm() { |
125 | update_mozilla_launcher_symlinks |
126 | } |
127 | |
128 | |
129 | |
130 | -- |
131 | gentoo-commits@l.g.o mailing list |