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.13.2.ebuild ChangeLog
Date: Mon, 29 Oct 2012 16:04:20
Message-Id: 20121029160410.B488721600@flycatcher.gentoo.org
1 jdhore 12/10/29 16:04:10
2
3 Modified: ChangeLog
4 Added: seamonkey-bin-2.13.2.ebuild
5 Log:
6 version bump wrt bug #439960
7
8 (Portage version: 2.2.0_alpha142/cvs/Linux i686, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.153 www-client/seamonkey-bin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?rev=1.153&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?rev=1.153&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?r1=1.152&r2=1.153
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v
20 retrieving revision 1.152
21 retrieving revision 1.153
22 diff -u -r1.152 -r1.153
23 --- ChangeLog 23 Oct 2012 15:58:17 -0000 1.152
24 +++ ChangeLog 29 Oct 2012 16:04:10 -0000 1.153
25 @@ -1,6 +1,11 @@
26 # ChangeLog for www-client/seamonkey-bin
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v 1.152 2012/10/23 15:58:17 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v 1.153 2012/10/29 16:04:10 jdhore Exp $
30 +
31 +*seamonkey-bin-2.13.2 (29 Oct 2012)
32 +
33 + 29 Oct 2012; Jeff Horelick <jdhore@g.o> +seamonkey-bin-2.13.2.ebuild:
34 + version bump wrt bug #439960
35
36 23 Oct 2012; <ago@g.o> seamonkey-bin-2.13.1.ebuild:
37 Stable for amd64, wrt bug #437780
38
39
40
41 1.1 www-client/seamonkey-bin/seamonkey-bin-2.13.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.13.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.13.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: seamonkey-bin-2.13.2.ebuild
47 ===================================================================
48 # Copyright 1999-2012 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.13.2.ebuild,v 1.1 2012/10/29 16:04:10 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 S="${WORKDIR}/${MOZ_PN}"
94
95 src_unpack() {
96 unpack ${A}
97
98 # Unpack language packs
99 mozlinguas_src_unpack
100 }
101
102 src_install() {
103 declare MOZILLA_FIVE_HOME=/opt/seamonkey
104
105 # Install seamonkey in /opt
106 dodir ${MOZILLA_FIVE_HOME%/*}
107 mv "${S}" "${D}${MOZILLA_FIVE_HOME}"
108
109 # Install language packs
110 mozlinguas_src_install
111
112 # Create /usr/bin/seamonkey-bin
113 dodir /usr/bin/
114 cat <<EOF >"${D}"/usr/bin/seamonkey-bin
115 #!/bin/sh
116 unset LD_PRELOAD
117 exec /opt/seamonkey/seamonkey "\$@"
118 EOF
119 fperms 0755 /usr/bin/seamonkey-bin
120
121 # Install icon and .desktop for menu entry
122 doicon "${FILESDIR}/icon/${PN}.png"
123 domenu "${FILESDIR}/icon/${PN}.desktop"
124
125 if use startup-notification; then
126 echo "StartupNotify=true" >> "${D}"/usr/share/applications/${PN}.desktop
127 fi
128
129 # revdep-rebuild entry
130 insinto /etc/revdep-rebuild
131 doins "${FILESDIR}"/10${PN} || die
132
133 # Handle plugins dir through nsplugins.eclass
134 share_plugins_dir
135
136 # Required in order to use plugins and even run seamonkey on hardened.
137 pax-mark mr "${ED}"/${MOZILLA_FIVE_HOME}/{seamonkey,seamonkey-bin,plugin-container}
138 }
139
140 pkg_preinst() {
141 gnome2_icon_savelist
142 }
143
144 pkg_postinst() {
145 # Update mimedb for the new .desktop file
146 fdo-mime_desktop_database_update
147 gnome2_icon_cache_update
148 }
149
150 pkg_postrm() {
151 gnome2_icon_cache_update
152 }