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.29.1.ebuild ChangeLog seamonkey-bin-2.29.ebuild
Date: Fri, 26 Sep 2014 15:20:40
Message-Id: 20140926152032.D938F655D@oystercatcher.gentoo.org
1 axs 14/09/26 15:20:32
2
3 Modified: ChangeLog
4 Added: seamonkey-bin-2.29.1.ebuild
5 Removed: seamonkey-bin-2.29.ebuild
6 Log:
7 security bump, bug 523652 ; removed old
8
9 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED)
10
11 Revision Changes Path
12 1.208 www-client/seamonkey-bin/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?rev=1.208&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?rev=1.208&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?r1=1.207&r2=1.208
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v
21 retrieving revision 1.207
22 retrieving revision 1.208
23 diff -u -r1.207 -r1.208
24 --- ChangeLog 9 Sep 2014 02:20:53 -0000 1.207
25 +++ ChangeLog 26 Sep 2014 15:20:32 -0000 1.208
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.207 2014/09/09 02:20:53 jdhore Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v 1.208 2014/09/26 15:20:32 axs Exp $
31 +
32 +*seamonkey-bin-2.29.1 (26 Sep 2014)
33 +
34 + 26 Sep 2014; Ian Stakenvicius (_AxS_) <axs@g.o>
35 + +seamonkey-bin-2.29.1.ebuild, -seamonkey-bin-2.29.ebuild:
36 + security bump, bug 523652 ; removed old
37
38 *seamonkey-bin-2.29 (09 Sep 2014)
39
40
41
42
43 1.1 www-client/seamonkey-bin/seamonkey-bin-2.29.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.29.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.29.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: seamonkey-bin-2.29.1.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.29.1.ebuild,v 1.1 2014/09/26 15:20:32 axs 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 gnome-base/orbit
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 }