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.14.ebuild ChangeLog
Date: Thu, 22 Nov 2012 06:38:09
Message-Id: 20121122063754.CECCB20C65@flycatcher.gentoo.org
1 jdhore 12/11/22 06:37:54
2
3 Modified: ChangeLog
4 Added: seamonkey-bin-2.14.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.0_alpha142/cvs/Linux i686, signed Manifest commit with key 23E9E900)
9
10 Revision Changes Path
11 1.156 www-client/seamonkey-bin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?rev=1.156&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?rev=1.156&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?r1=1.155&r2=1.156
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v
20 retrieving revision 1.155
21 retrieving revision 1.156
22 diff -u -r1.155 -r1.156
23 --- ChangeLog 3 Nov 2012 12:31:57 -0000 1.155
24 +++ ChangeLog 22 Nov 2012 06:37:54 -0000 1.156
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.155 2012/11/03 12:31:57 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v 1.156 2012/11/22 06:37:54 jdhore Exp $
30 +
31 +*seamonkey-bin-2.14 (22 Nov 2012)
32 +
33 + 22 Nov 2012; Jeff Horelick <jdhore@g.o> +seamonkey-bin-2.14.ebuild:
34 + Version bump
35
36 03 Nov 2012; <ago@g.o> seamonkey-bin-2.13.2.ebuild:
37 Stable for amd64, wrt bug #439960
38
39
40
41 1.1 www-client/seamonkey-bin/seamonkey-bin-2.14.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.14.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.14.ebuild?rev=1.1&content-type=text/plain
45
46 Index: seamonkey-bin-2.14.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.14.ebuild,v 1.1 2012/11/22 06:37:54 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 doicon "${FILESDIR}/icon/${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 }