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.32.1.ebuild ChangeLog
Date: Thu, 26 Feb 2015 02:32:36
Message-Id: 20150226023232.1D47412901@oystercatcher.gentoo.org
1 axs 15/02/26 02:32:32
2
3 Modified: ChangeLog
4 Added: seamonkey-bin-2.32.1.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED)
9
10 Revision Changes Path
11 1.218 www-client/seamonkey-bin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?rev=1.218&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?rev=1.218&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?r1=1.217&r2=1.218
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v
20 retrieving revision 1.217
21 retrieving revision 1.218
22 diff -u -r1.217 -r1.218
23 --- ChangeLog 10 Dec 2014 19:34:31 -0000 1.217
24 +++ ChangeLog 26 Feb 2015 02:32:32 -0000 1.218
25 @@ -1,6 +1,12 @@
26 # ChangeLog for www-client/seamonkey-bin
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v 1.217 2014/12/10 19:34:31 ago Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v 1.218 2015/02/26 02:32:32 axs Exp $
31 +
32 +*seamonkey-bin-2.32.1 (26 Feb 2015)
33 +
34 + 26 Feb 2015; Ian Stakenvicius (_AxS_) <axs@g.o>
35 + +seamonkey-bin-2.32.1.ebuild:
36 + version bump
37
38 10 Dec 2014; Agostino Sarubbo <ago@g.o> seamonkey-bin-2.31.ebuild:
39 Stable for x86, wrt bug #531408
40
41
42
43 1.1 www-client/seamonkey-bin/seamonkey-bin-2.32.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.32.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.32.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: seamonkey-bin-2.32.1.ebuild
49 ===================================================================
50 # Copyright 1999-2015 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.32.1.ebuild,v 1.1 2015/02/26 02:32: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"
79
80 KEYWORDS="-* ~amd64 ~x86"
81 SLOT="0"
82 LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
83 IUSE="startup-notification"
84
85 DEPEND="app-arch/unzip"
86 RDEPEND="dev-libs/atk
87 >=sys-apps/dbus-0.60
88 >=dev-libs/dbus-glib-0.72
89 >=dev-libs/glib-2.26:2
90 >=media-libs/alsa-lib-1.0.16
91 gnome-base/gconf
92 gnome-base/gnome-vfs
93 media-libs/fontconfig
94 >=media-libs/freetype-2.4.10
95 >=x11-libs/cairo-1.10[X]
96 x11-libs/gdk-pixbuf
97 >=x11-libs/gtk+-2.14:2
98 x11-libs/libX11
99 x11-libs/libXcomposite
100 x11-libs/libXdamage
101 x11-libs/libXext
102 x11-libs/libXfixes
103 x11-libs/libXrender
104 x11-libs/libXt
105 >=x11-libs/pango-1.22.0
106 virtual/freedesktop-icon-theme
107 "
108
109 QA_PREBUILT="
110 opt/${MOZ_PN}/*.so
111 opt/${MOZ_PN}/${MOZ_PN}
112 opt/${MOZ_PN}/${PN}
113 opt/${MOZ_PN}/components/*.so
114 opt/${MOZ_PN}/crashreporter
115 opt/${MOZ_PN}/webapprt-stub
116 opt/${MOZ_PN}/plugin-container
117 opt/${MOZ_PN}/mozilla-xremote-client
118 opt/${MOZ_PN}/updater
119 "
120
121 S="${WORKDIR}/${MOZ_PN}"
122
123 src_unpack() {
124 unpack ${A}
125
126 # Unpack language packs
127 mozlinguas_src_unpack
128 }
129
130 src_install() {
131 declare MOZILLA_FIVE_HOME=/opt/seamonkey
132
133 # Install seamonkey in /opt
134 dodir ${MOZILLA_FIVE_HOME%/*}
135 mv "${S}" "${D}${MOZILLA_FIVE_HOME}"
136
137 # Install language packs
138 mozlinguas_src_install
139
140 # Create /usr/bin/seamonkey-bin
141 dodir /usr/bin/
142 cat <<EOF >"${D}"/usr/bin/seamonkey-bin
143 #!/bin/sh
144 unset LD_PRELOAD
145 exec /opt/seamonkey/seamonkey "\$@"
146 EOF
147 fperms 0755 /usr/bin/seamonkey-bin
148
149 # Install icon and .desktop for menu entry
150 newicon "${D}${MOZILLA_FIVE_HOME}"/chrome/icons/default/default48.png ${PN}.png
151 domenu "${FILESDIR}/icon/${PN}.desktop"
152
153 if use startup-notification; then
154 echo "StartupNotify=true" >> "${D}"/usr/share/applications/${PN}.desktop
155 fi
156
157 # revdep-rebuild entry
158 insinto /etc/revdep-rebuild
159 doins "${FILESDIR}"/10${PN} || die
160
161 # Handle plugins dir through nsplugins.eclass
162 share_plugins_dir
163
164 # Required in order to use plugins and even run seamonkey on hardened.
165 pax-mark mr "${ED}"/${MOZILLA_FIVE_HOME}/{seamonkey,seamonkey-bin,plugin-container}
166 }
167
168 pkg_preinst() {
169 gnome2_icon_savelist
170 }
171
172 pkg_postinst() {
173 # Update mimedb for the new .desktop file
174 fdo-mime_desktop_database_update
175 gnome2_icon_cache_update
176 }
177
178 pkg_postrm() {
179 gnome2_icon_cache_update
180 }