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