1 |
jdhore 12/09/02 14:06:55 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: seamonkey-bin-2.12.ebuild |
5 |
Removed: seamonkey-bin-2.10.1.ebuild |
6 |
Log: |
7 |
Version bump |
8 |
|
9 |
(Portage version: 2.2.0_alpha123-r1/cvs/Linux i686) |
10 |
|
11 |
Revision Changes Path |
12 |
1.147 www-client/seamonkey-bin/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?rev=1.147&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?rev=1.147&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?r1=1.146&r2=1.147 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v |
21 |
retrieving revision 1.146 |
22 |
retrieving revision 1.147 |
23 |
diff -u -r1.146 -r1.147 |
24 |
--- ChangeLog 28 Jul 2012 17:03:24 -0000 1.146 |
25 |
+++ ChangeLog 2 Sep 2012 14:06:55 -0000 1.147 |
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.146 2012/07/28 17:03:24 ago Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v 1.147 2012/09/02 14:06:55 jdhore Exp $ |
31 |
+ |
32 |
+*seamonkey-bin-2.12 (02 Sep 2012) |
33 |
+ |
34 |
+ 02 Sep 2012; Jeff Horelick <jdhore@g.o> +seamonkey-bin-2.12.ebuild, |
35 |
+ -seamonkey-bin-2.10.1.ebuild: |
36 |
+ Version bump |
37 |
|
38 |
28 Jul 2012; Agostino Sarubbo <ago@g.o> seamonkey-bin-2.11.ebuild: |
39 |
Stable for amd64, wrt bug #427224 |
40 |
|
41 |
|
42 |
|
43 |
1.1 www-client/seamonkey-bin/seamonkey-bin-2.12.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.12.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.12.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: seamonkey-bin-2.12.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.12.ebuild,v 1.1 2012/09/02 14:06:55 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-2.0 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 |
} |