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