Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/seamonkey-bin: seamonkey-bin-2.26.ebuild ChangeLog seamonkey-bin-2.24.ebuild
Date: Sat, 03 May 2014 06:34:26
Message-Id: 20140503063421.973FE2004C@flycatcher.gentoo.org
1 polynomial-c 14/05/03 06:34:21
2
3 Modified: ChangeLog
4 Added: seamonkey-bin-2.26.ebuild
5 Removed: seamonkey-bin-2.24.ebuild
6 Log:
7 Security bump (bug #509050). Removed old
8
9 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
10
11 Revision Changes Path
12 1.201 www-client/seamonkey-bin/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?rev=1.201&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?rev=1.201&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?r1=1.200&r2=1.201
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v
21 retrieving revision 1.200
22 retrieving revision 1.201
23 diff -u -r1.200 -r1.201
24 --- ChangeLog 22 Mar 2014 20:17:35 -0000 1.200
25 +++ ChangeLog 3 May 2014 06:34:21 -0000 1.201
26 @@ -1,6 +1,12 @@
27 # ChangeLog for www-client/seamonkey-bin
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v 1.200 2014/03/22 20:17:35 ago Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v 1.201 2014/05/03 06:34:21 polynomial-c Exp $
31 +
32 +*seamonkey-bin-2.26 (03 May 2014)
33 +
34 + 03 May 2014; Lars Wendler <polynomial-c@g.o>
35 + -seamonkey-bin-2.24.ebuild, +seamonkey-bin-2.26.ebuild:
36 + Security bump (bug #509050). Removed old.
37
38 22 Mar 2014; Agostino Sarubbo <ago@g.o> seamonkey-bin-2.25.ebuild:
39 Stable for x86, wrt bug #505072
40
41
42
43 1.1 www-client/seamonkey-bin/seamonkey-bin-2.26.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.26.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.26.ebuild?rev=1.1&content-type=text/plain
47
48 Index: seamonkey-bin-2.26.ebuild
49 ===================================================================
50 # Copyright 1999-2014 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.26.ebuild,v 1.1 2014/05/03 06:34:21 polynomial-c 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 }