Gentoo Archives: gentoo-commits

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