Gentoo Archives: gentoo-commits

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