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