1 |
jdhore 12/06/17 01:14:29 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: seamonkey-bin-2.10.1.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha110/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.139 www-client/seamonkey-bin/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?rev=1.139&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?rev=1.139&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?r1=1.138&r2=1.139 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v |
20 |
retrieving revision 1.138 |
21 |
retrieving revision 1.139 |
22 |
diff -u -r1.138 -r1.139 |
23 |
--- ChangeLog 11 Jun 2012 12:29:03 -0000 1.138 |
24 |
+++ ChangeLog 17 Jun 2012 01:14:28 -0000 1.139 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for www-client/seamonkey-bin |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v 1.138 2012/06/11 12:29:03 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v 1.139 2012/06/17 01:14:28 jdhore Exp $ |
30 |
+ |
31 |
+*seamonkey-bin-2.10.1 (17 Jun 2012) |
32 |
+ |
33 |
+ 17 Jun 2012; Jeff Horelick <jdhore@g.o> +seamonkey-bin-2.10.1.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
11 Jun 2012; Agostino Sarubbo <ago@g.o> seamonkey-bin-2.10.ebuild: |
37 |
Stable for amd64, wrt bug #419917 |
38 |
|
39 |
|
40 |
|
41 |
1.1 www-client/seamonkey-bin/seamonkey-bin-2.10.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.10.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.10.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: seamonkey-bin-2.10.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.10.1.ebuild,v 1.1 2012/06/17 01:14:28 jdhore Exp $ |
51 |
|
52 |
EAPI="4" |
53 |
|
54 |
# This list can be updated with scripts/get_langs.sh from the mozilla overlay |
55 |
MOZ_LANGS=(be ca cs de en-GB en-US es-AR es-ES fi fr gl hu it ja lt nb-NO nl pl |
56 |
pt-PT ru sk sv-SE tr uk zh-CN zh-TW) |
57 |
|
58 |
MOZ_PV="${PV/_alpha/a}" # Handle alpha for SRC_URI |
59 |
MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI |
60 |
MOZ_PV="${MOZ_PV/_rc/rc}" # Handle rc for SRC_URI |
61 |
MOZ_PN="${PN/-bin}" |
62 |
MOZ_P="${MOZ_PN}-${MOZ_PV}" |
63 |
|
64 |
MOZ_LANGPACK_PREFIX="${MOZ_PV}/langpack/${MOZ_P}." |
65 |
MOZ_LANGPACK_SUFFIX=".langpack.xpi" |
66 |
|
67 |
MOZ_FTP_URI="ftp://ftp.mozilla.org/pub/mozilla.org/${MOZ_PN}/releases/" |
68 |
|
69 |
inherit eutils multilib mozextension pax-utils nsplugins fdo-mime gnome2-utils mozlinguas |
70 |
|
71 |
DESCRIPTION="Mozilla Application Suite - web browser, email, HTML editor, IRC" |
72 |
SRC_URI="${SRC_URI} |
73 |
amd64? ( ${MOZ_FTP_URI}/${MOZ_PV}/contrib/${MOZ_P}.en-US.linux-x86_64.tar.bz2 -> ${PN}_x86_64-${PV}.tar.bz2 ) |
74 |
x86? ( ${MOZ_FTP_URI}/${MOZ_PV}/linux-i686/en-US/${MOZ_P}.tar.bz2 -> ${PN}_i686-${PV}.tar.bz2 )" |
75 |
HOMEPAGE="http://www.seamonkey-project.org/" |
76 |
RESTRICT="strip mirror binchecks" |
77 |
QA_EXECSTACK="opt/seamonkey/*" |
78 |
|
79 |
KEYWORDS="-* ~amd64 ~x86" |
80 |
SLOT="0" |
81 |
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" |
82 |
IUSE="startup-notification" |
83 |
|
84 |
DEPEND="app-arch/unzip" |
85 |
RDEPEND="dev-libs/dbus-glib |
86 |
>=media-libs/alsa-lib-1.0.16 |
87 |
virtual/freedesktop-icon-theme |
88 |
>=x11-libs/gtk+-2.10:2 |
89 |
x11-libs/libXrender |
90 |
x11-libs/libXt |
91 |
x11-libs/libXmu" |
92 |
|
93 |
S="${WORKDIR}/${MOZ_PN}" |
94 |
|
95 |
src_unpack() { |
96 |
unpack ${A} |
97 |
|
98 |
# Unpack language packs |
99 |
mozlinguas_src_unpack |
100 |
} |
101 |
|
102 |
src_install() { |
103 |
declare MOZILLA_FIVE_HOME=/opt/seamonkey |
104 |
|
105 |
# Install seamonkey in /opt |
106 |
dodir ${MOZILLA_FIVE_HOME%/*} |
107 |
mv "${S}" "${D}${MOZILLA_FIVE_HOME}" |
108 |
|
109 |
# Install language packs |
110 |
mozlinguas_src_install |
111 |
|
112 |
# Create /usr/bin/seamonkey-bin |
113 |
dodir /usr/bin/ |
114 |
cat <<EOF >"${D}"/usr/bin/seamonkey-bin |
115 |
#!/bin/sh |
116 |
unset LD_PRELOAD |
117 |
exec /opt/seamonkey/seamonkey "\$@" |
118 |
EOF |
119 |
fperms 0755 /usr/bin/seamonkey-bin |
120 |
|
121 |
# Install icon and .desktop for menu entry |
122 |
doicon "${FILESDIR}/icon/${PN}.png" |
123 |
domenu "${FILESDIR}/icon/${PN}.desktop" |
124 |
|
125 |
if use startup-notification; then |
126 |
echo "StartupNotify=true" >> "${D}"/usr/share/applications/${PN}.desktop |
127 |
fi |
128 |
|
129 |
# revdep-rebuild entry |
130 |
insinto /etc/revdep-rebuild |
131 |
doins "${FILESDIR}"/10${PN} || die |
132 |
|
133 |
# Handle plugins dir through nsplugins.eclass |
134 |
share_plugins_dir |
135 |
|
136 |
# Required in order to use plugins and even run seamonkey on hardened. |
137 |
pax-mark mr "${ED}"/${MOZILLA_FIVE_HOME}/{seamonkey,seamonkey-bin,plugin-container} |
138 |
} |
139 |
|
140 |
pkg_preinst() { |
141 |
gnome2_icon_savelist |
142 |
} |
143 |
|
144 |
pkg_postinst() { |
145 |
# Update mimedb for the new .desktop file |
146 |
fdo-mime_desktop_database_update |
147 |
gnome2_icon_cache_update |
148 |
} |
149 |
|
150 |
pkg_postrm() { |
151 |
gnome2_icon_cache_update |
152 |
} |