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