Gentoo Archives: gentoo-commits

From: "Jeff Horelick (jdhore)" <jdhore@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-client/thunderbird-bin: thunderbird-bin-16.0.2.ebuild ChangeLog thunderbird-bin-16.0.1.ebuild
Date: Mon, 29 Oct 2012 16:08:31
Message-Id: 20121029160820.84F6721600@flycatcher.gentoo.org
1 jdhore 12/10/29 16:08:20
2
3 Modified: ChangeLog
4 Added: thunderbird-bin-16.0.2.ebuild
5 Removed: thunderbird-bin-16.0.1.ebuild
6 Log:
7 non-ESR version bump
8
9 (Portage version: 2.2.0_alpha142/cvs/Linux i686, signed Manifest commit with key 23E9E900)
10
11 Revision Changes Path
12 1.89 mail-client/thunderbird-bin/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/thunderbird-bin/ChangeLog?rev=1.89&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/thunderbird-bin/ChangeLog?rev=1.89&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/thunderbird-bin/ChangeLog?r1=1.88&r2=1.89
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/mail-client/thunderbird-bin/ChangeLog,v
21 retrieving revision 1.88
22 retrieving revision 1.89
23 diff -u -r1.88 -r1.89
24 --- ChangeLog 23 Oct 2012 15:57:38 -0000 1.88
25 +++ ChangeLog 29 Oct 2012 16:08:20 -0000 1.89
26 @@ -1,6 +1,12 @@
27 # ChangeLog for mail-client/thunderbird-bin
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird-bin/ChangeLog,v 1.88 2012/10/23 15:57:38 ago Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird-bin/ChangeLog,v 1.89 2012/10/29 16:08:20 jdhore Exp $
31 +
32 +*thunderbird-bin-16.0.2 (29 Oct 2012)
33 +
34 + 29 Oct 2012; Jeff Horelick <jdhore@g.o> +thunderbird-bin-16.0.2.ebuild,
35 + -thunderbird-bin-16.0.1.ebuild:
36 + non-ESR version bump
37
38 23 Oct 2012; <ago@g.o> thunderbird-bin-10.0.9.ebuild:
39 Stable for amd64, wrt bug #437780
40
41
42
43 1.1 mail-client/thunderbird-bin/thunderbird-bin-16.0.2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/thunderbird-bin/thunderbird-bin-16.0.2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/thunderbird-bin/thunderbird-bin-16.0.2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: thunderbird-bin-16.0.2.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/mail-client/thunderbird-bin/thunderbird-bin-16.0.2.ebuild,v 1.1 2012/10/29 16:08:20 jdhore Exp $
53
54 EAPI="4"
55
56 # Can be updated using scripts/get_langs.sh from mozilla overlay
57 MOZ_LANGS=(ar ast be bg bn-BD br ca cs da de el en en-GB en-US es-AR es-ES et eu
58 fi fr fy-NL ga-IE gd gl he hu id is it ja ko lt nb-NO nl nn-NO pa-IN pl pt-BR
59 pt-PT rm ro ru si sk sl sq sr sv-SE ta-LK tr uk vi zh-CN zh-TW)
60
61 # Convert the ebuild version to the upstream mozilla version, used by
62 MOZ_PN="${PN/-bin}"
63 MOZ_PV="${PV/_beta/b}"
64 MOZ_PV="${MOZ_PV/_rc/rc}"
65 MOZ_P="${MOZ_PN}-${MOZ_PV}"
66
67 # Upstream ftp release URI that's used by mozlinguas.eclass
68 # We don't use the http mirror because it deletes old tarballs.
69 MOZ_FTP_URI="ftp://ftp.mozilla.org/pub/mozilla.org/${MOZ_PN}/releases/"
70
71 inherit eutils multilib pax-utils fdo-mime gnome2-utils mozlinguas nsplugins
72
73 DESCRIPTION="Thunderbird Mail Client"
74 SRC_URI="${SRC_URI}
75 amd64? ( ${MOZ_FTP_URI}/${MOZ_PV}/linux-x86_64/en-US/${MOZ_P}.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.mozilla.com/thunderbird"
78 RESTRICT="strip mirror binchecks"
79
80 KEYWORDS="-* ~amd64 ~x86"
81 SLOT="0"
82 LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
83 IUSE="+crashreporter"
84
85 DEPEND="app-arch/unzip"
86 RDEPEND="virtual/freedesktop-icon-theme
87 x11-libs/libXrender
88 x11-libs/libXt
89 x11-libs/libXmu
90 >=x11-libs/gtk+-2.2:2
91 >=media-libs/alsa-lib-1.0.16
92 crashreporter? ( net-misc/curl ) "
93
94 S="${WORKDIR}/${MOZ_PN}"
95
96 src_unpack() {
97 unpack ${A}
98
99 # Unpack language packs
100 mozlinguas_src_unpack
101 }
102
103 src_install() {
104 declare MOZILLA_FIVE_HOME="/opt/${MOZ_PN}"
105
106 # Install thunderbird in /opt
107 dodir ${MOZILLA_FIVE_HOME%/*}
108 mv "${S}" "${D}"${MOZILLA_FIVE_HOME}
109
110 # Install language packs
111 mozlinguas_src_install
112
113 # Create /usr/bin/thunderbird-bin
114 dodir /usr/bin/
115 cat <<EOF >"${D}"/usr/bin/${PN}
116 #!/bin/sh
117 unset LD_PRELOAD
118 LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}"
119 exec ${MOZILLA_FIVE_HOME}/thunderbird "\$@"
120 EOF
121 fperms 0755 /usr/bin/${PN}
122
123 # Install icon and .desktop for menu entry
124 doicon "${FILESDIR}"/icon/${PN}-icon.png
125 domenu "${FILESDIR}"/icon/${PN}.desktop
126
127 # revdep-rebuild entry
128 insinto /etc/revdep-rebuild
129 doins "${FILESDIR}"/10${PN}
130
131 # Enable very specific settings for thunderbird-3
132 cp "${FILESDIR}"/thunderbird-gentoo-default-prefs.js \
133 "${D}/${MOZILLA_FIVE_HOME}/defaults/pref/all-gentoo.js" || \
134 die "failed to cp thunderbird-gentoo-default-prefs.js"
135
136 # Plugins dir
137 share_plugins_dir
138
139 pax-mark mr "${ED}"/${MOZILLA_FIVE_HOME}/{thunderbird-bin,thunderbird,plugin-container}
140 }
141
142 pkg_preinst() {
143 gnome2_icon_savelist
144 }
145
146 pkg_postinst() {
147 fdo-mime_desktop_database_update
148 gnome2_icon_cache_update
149 }
150
151 pkg_postrm() {
152 gnome2_icon_cache_update
153 }