public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Nirbheek Chauhan" <nirbheek@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/mozilla:master commit in: mail-client/thunderbird/
Date: Fri,  7 Oct 2011 19:15:41 +0000 (UTC)	[thread overview]
Message-ID: <e6e89b4988eada7d26e7cb32f60bb79ebab43b15.nirbheek@gentoo> (raw)

commit:     e6e89b4988eada7d26e7cb32f60bb79ebab43b15
Author:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  7 19:12:35 2011 +0000
Commit:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
CommitDate: Fri Oct  7 19:14:56 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/mozilla.git;a=commit;h=e6e89b49

thunderbird: add calendar to mimetype and categories, reuse emid

---
 mail-client/thunderbird/Manifest                   |    2 +-
 .../thunderbird/thunderbird-7.0.1-r1.ebuild        |   46 +++++++++++---------
 2 files changed, 26 insertions(+), 22 deletions(-)

diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index 219252f..39b0dee 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -41,4 +41,4 @@ DIST thunderbird-7.0.1-tr.xpi 403127 RMD160 50dbfd65e13f604d0d88dc8c675fec9b36ba
 DIST thunderbird-7.0.1-uk.xpi 454368 RMD160 a3f00a485bd9236a02b466f34f1d0634df8a4499 SHA1 09163cc5347c1baf0c0b475a2c0b7b4a779f60a2 SHA256 b2d7ab67be708e4f3ed02d0701748c027250491f9aa41a0f60d150cd8fb41466
 DIST thunderbird-7.0.1-zh-TW.xpi 420847 RMD160 95095a3f45c4dd38983d9e5d9b6087e57600564e SHA1 defbc32b529699297e8f58642d0530ab2ee0d609 SHA256 7362f1cc5541006c06f1373d1cd90a4c04d496b5b79443524af7d1654a73d668
 DIST thunderbird-7.0.1.source.tar.bz2 87405591 RMD160 04d39464b5c7c3128a00b0eaff806b3307e0a22e SHA1 ccfc6fe3fe4ad07b214e20bc440d20e14d3ffbe5 SHA256 83f578bbfa0cb5d0f7faba6214993806050fab3e2039996344a11c9457525242
-EBUILD thunderbird-7.0.1-r1.ebuild 8850 RMD160 28d8b4b1bfb9335ecaf4e60a5d3c24774871a9ea SHA1 a08b50cad22859c3a5603506a2f53351c600d282 SHA256 c843c0bb86cd469df6956496ee4d4651bcd033b171f652a75da36a862174af18
+EBUILD thunderbird-7.0.1-r1.ebuild 9113 RMD160 947f0aaa4531a2a46462d5ff40274dd17134ca40 SHA1 435a9f6ae879ee673e249b1840ef24b702e567bc SHA256 de812de615d7514f89d154709440f8b531d7eae15311e11a41135b7b7c2a0821

diff --git a/mail-client/thunderbird/thunderbird-7.0.1-r1.ebuild b/mail-client/thunderbird/thunderbird-7.0.1-r1.ebuild
index 9d68c29..0aa2b3e 100644
--- a/mail-client/thunderbird/thunderbird-7.0.1-r1.ebuild
+++ b/mail-client/thunderbird/thunderbird-7.0.1-r1.ebuild
@@ -239,9 +239,22 @@ src_compile() {
 
 src_install() {
 	declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+	declare emid
 
 	emake DESTDIR="${D}" install || die "emake install failed"
 
+	if ! use bindist; then
+		newicon "${S}"/other-licenses/branding/thunderbird/content/icon48.png thunderbird-icon.png
+		domenu "${FILESDIR}"/icon/${PN}.desktop
+	else
+		newicon "${S}"/mail/branding/unofficial/content/icon48.png thunderbird-icon-unbranded.png
+		newmenu "${FILESDIR}"/icon/${PN}-unbranded.desktop \
+			${PN}.desktop
+
+		sed -i -e "s:Mozilla\ Thunderbird:Lanikai:g" \
+			"${ED}"/usr/share/applications/${PN}.desktop
+	fi
+
 	if use crypt ; then
 		cd "${T}" || die
 		unzip "${S}"/mozilla/dist/bin/enigmail*.xpi install.rdf || die
@@ -253,22 +266,26 @@ src_install() {
 	fi
 
 	if use lightning ; then
-		declare emid emd1 emid2
-
 		emid="{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}"
 		dodir ${MOZILLA_FIVE_HOME}/extensions/${emid}
 		cd "${ED}"${MOZILLA_FIVE_HOME}/extensions/${emid}
 		unzip "${S}"/mozilla/dist/xpi-stage/gdata-provider.xpi
 
-		emid1="calendar-timezones@mozilla.org"
-		dodir ${MOZILLA_FIVE_HOME}/extensions/${emid1}
-		cd "${ED}"${MOZILLA_FIVE_HOME}/extensions/${emid1}
+		emid="calendar-timezones@mozilla.org"
+		dodir ${MOZILLA_FIVE_HOME}/extensions/${emid}
+		cd "${ED}"${MOZILLA_FIVE_HOME}/extensions/${emid}
 		unzip "${S}"/mozilla/dist/xpi-stage/calendar-timezones.xpi
 
-		emid2="{e2fda1a4-762b-4020-b5ad-a41df1933103}"
-		dodir ${MOZILLA_FIVE_HOME}/extensions/${emid2}
-		cd "${ED}"${MOZILLA_FIVE_HOME}/extensions/${emid2}
+		emid="{e2fda1a4-762b-4020-b5ad-a41df1933103}"
+		dodir ${MOZILLA_FIVE_HOME}/extensions/${emid}
+		cd "${ED}"${MOZILLA_FIVE_HOME}/extensions/${emid}
 		unzip "${S}"/mozilla/dist/xpi-stage/lightning.xpi
+
+		# Fix mimetype so it shows up as a calendar application in GNOME 3
+		# This requires that the .desktop file was already installed earlier
+		sed -e "s:^\(MimeType=\):\1text/calendar;:" \
+			-e "s:^\(Categories=\):\1Calendar;:" \
+			-i "${ED}"/usr/share/applications/${PN}.desktop
 	fi
 
 	if ! [[ ${PV} =~ alpha|beta ]]; then
@@ -278,19 +295,6 @@ src_install() {
 		done
 	fi
 
-	if ! use bindist; then
-		newicon "${S}"/other-licenses/branding/thunderbird/content/icon48.png thunderbird-icon.png
-		domenu "${FILESDIR}"/icon/${PN}.desktop
-	else
-		newicon "${S}"/mail/branding/unofficial/content/icon48.png thunderbird-icon-unbranded.png
-		newmenu "${FILESDIR}"/icon/${PN}-unbranded.desktop \
-			${PN}.desktop
-
-		sed -i -e "s:Mozilla\ Thunderbird:Lanikai:g" \
-			"${D}"/usr/share/applications/${PN}.desktop
-
-	fi
-
 	pax-mark m "${ED}"/${MOZILLA_FIVE_HOME}/thunderbird-bin
 
 	# Enable very specific settings for thunderbird-3



             reply	other threads:[~2011-10-07 19:15 UTC|newest]

Thread overview: 166+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-07 19:15 Nirbheek Chauhan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-26  2:46 [gentoo-commits] proj/mozilla:master commit in: mail-client/thunderbird/ Thomas Deutschmann
2022-01-11 19:59 Thomas Deutschmann
2022-01-09 16:19 Joonas Niilola
2020-04-10  3:59 Jory Pratt
2020-03-14 17:25 Jory Pratt
2020-01-07 18:25 Jory Pratt
2019-12-18 10:36 Jory Pratt
2019-10-31 16:06 Thomas Deutschmann
2019-10-21  0:57 Jory Pratt
2019-10-08 21:18 Thomas Deutschmann
2019-09-06 14:41 Thomas Deutschmann
2019-09-04  2:46 Jory Pratt
2019-09-01 14:17 Jory Pratt
2019-09-01  7:03 Jory Pratt
2019-08-31 16:45 Jory Pratt
2019-08-29 18:46 Jory Pratt
2019-08-12 15:57 Jory Pratt
2019-05-18 21:32 Jory Pratt
2019-04-26 23:32 Jory Pratt
2019-04-24 10:56 Jory Pratt
2019-04-17  7:11 Jory Pratt
2019-04-16 19:30 Jory Pratt
2019-04-15  7:40 Jory Pratt
2019-04-05 19:29 Jory Pratt
2019-03-28  0:53 Thomas Deutschmann
2019-03-25 20:07 Thomas Deutschmann
2019-03-20 19:26 Thomas Deutschmann
2018-12-20 21:55 Ian Stakenvicius
2018-12-07 18:16 Ian Stakenvicius
2018-11-01 22:59 Ian Stakenvicius
2018-11-01 17:30 Ian Stakenvicius
2018-10-23 16:58 Thomas Deutschmann
2018-10-23  0:53 Thomas Deutschmann
2018-10-17 20:39 Ian Stakenvicius
2018-10-17 19:59 Ian Stakenvicius
2018-10-17 19:59 Ian Stakenvicius
2018-08-08 20:36 Ian Stakenvicius
2018-07-04 19:34 Ian Stakenvicius
2018-07-04 17:44 Jory Pratt
2018-05-22 18:17 Ian Stakenvicius
2018-01-31 15:35 Ian Stakenvicius
2018-01-10 14:28 Jory Pratt
2018-01-04 15:51 Ian Stakenvicius
2018-01-04 14:25 Ian Stakenvicius
2017-11-24 21:20 Ian Stakenvicius
2017-11-24 16:22 Ian Stakenvicius
2017-11-23 19:53 Ian Stakenvicius
2017-11-23 19:47 Ian Stakenvicius
2017-10-07 13:57 Ian Stakenvicius
2017-10-06 20:09 Ian Stakenvicius
2017-10-06 16:51 Ian Stakenvicius
2017-09-19  0:33 Jory Pratt
2017-08-08 12:30 Lars Wendler
2017-06-25 16:14 Jory Pratt
2017-06-20 19:55 Jory Pratt
2017-06-16 14:53 Ian Stakenvicius
2017-06-05 14:36 Jory Pratt
2017-05-18 13:33 Ian Stakenvicius
2017-05-01 21:42 Ian Stakenvicius
2017-04-08 18:31 Jory Pratt
2017-04-04 15:02 Ian Stakenvicius
2017-03-14 13:50 Ian Stakenvicius
2017-03-07 22:01 Ian Stakenvicius
2017-02-16 18:39 Ian Stakenvicius
2017-01-30  1:30 Jory Pratt
2017-01-29 18:01 Jory Pratt
2017-01-29 17:04 Lars Wendler
2017-01-26 20:02 Ian Stakenvicius
2016-11-18 21:55 Ian Stakenvicius
2016-10-01 13:57 Ian Stakenvicius
2016-09-22 14:39 Ian Stakenvicius
2016-08-30 12:58 Ian Stakenvicius
2016-08-19 17:20 Ian Stakenvicius
2016-07-05  1:15 Ian Stakenvicius
2016-06-02 15:19 Ian Stakenvicius
2016-05-11 17:51 Ian Stakenvicius
2016-04-21 21:24 Ian Stakenvicius
2016-04-20 20:26 Ian Stakenvicius
2016-04-18 15:05 Ian Stakenvicius
2016-03-31 13:52 Ian Stakenvicius
2016-03-18 14:59 Ian Stakenvicius
2016-03-18 14:59 Ian Stakenvicius
2016-03-14 20:16 Ian Stakenvicius
2016-02-22 21:20 Ian Stakenvicius
2016-02-16 18:51 Ian Stakenvicius
2016-02-10 21:39 Ian Stakenvicius
2015-12-30  3:02 Jory Pratt
2015-12-23 21:43 Ian Stakenvicius
2015-11-21 23:21 Jory Pratt
2015-08-17 13:38 Ian Stakenvicius
2015-07-16 17:48 Ian Stakenvicius
2015-07-16 15:41 Ian Stakenvicius
2015-07-14 22:16 Ian Stakenvicius
2015-06-19  1:11 Jory Pratt
2015-06-16 16:42 Jory Pratt
2015-06-14 14:14 Jory Pratt
2015-06-14  0:09 Jory Pratt
2015-04-19 15:38 Jory Pratt
2015-01-14  1:32 Jory Pratt
2015-01-04 20:04 Jory Pratt
2014-10-22 16:00 Ian Stakenvicius
2014-09-03 22:08 Ian Stakenvicius
2014-04-15 23:08 Jory Pratt
2014-03-20 16:01 Lars Wendler
2013-11-21  2:08 Jory Pratt
2013-11-09  4:00 Ian Stakenvicius
2013-09-25  0:08 Jory Pratt
2013-09-25  0:07 Jory Pratt
2013-07-28 19:16 Jory Pratt
2013-07-08  2:23 Jory Pratt
2013-06-10 12:59 Jory Pratt
2013-06-10 12:26 Jory Pratt
2013-04-25 23:31 Jory Pratt
2013-04-04  3:11 Jory Pratt
2013-01-10 22:07 Jory Pratt
2012-12-31 15:44 Jory Pratt
2012-12-13 18:40 Jory Pratt
2012-11-26 17:26 Jory Pratt
2012-11-12 15:50 Jory Pratt
2012-09-24 22:19 Jory Pratt
2012-09-11 23:45 Jory Pratt
2012-08-31  1:01 Jory Pratt
2012-07-12 13:23 Jory Pratt
2012-07-01 17:15 Jory Pratt
2012-06-07 13:10 Jory Pratt
2012-06-06 13:26 Jory Pratt
2012-06-06 12:03 Jory Pratt
2012-05-25  0:17 Jory Pratt
2012-04-30 16:40 Jory Pratt
2012-04-21  2:46 Jory Pratt
2012-04-10  0:41 Jory Pratt
2012-03-30  0:17 Jory Pratt
2012-03-21 12:27 Jory Pratt
2012-03-14 13:45 Jory Pratt
2012-02-28 15:50 Jory Pratt
2012-02-12 23:25 Jory Pratt
2012-02-12 22:51 Jory Pratt
2012-02-12 20:52 Jory Pratt
2012-02-05 17:10 Jory Pratt
2012-02-05  4:52 Nirbheek Chauhan
2012-02-01  3:42 Jory Pratt
2012-01-15 20:41 Jory Pratt
2012-01-10 23:41 Lars Wendler
2012-01-04 23:45 Jory Pratt
2011-12-13 12:34 Jory Pratt
2011-11-20 20:38 Jory Pratt
2011-11-16 13:26 Jory Pratt
2011-11-14 19:47 Jory Pratt
2011-11-14 18:34 Jory Pratt
2011-11-14 18:25 Jory Pratt
2011-11-14 15:56 Nirbheek Chauhan
2011-11-14 15:46 Nirbheek Chauhan
2011-11-13 16:58 Jory Pratt
2011-11-10 13:19 Jory Pratt
2011-09-20 22:00 Jory Pratt
2011-09-14  1:21 Jory Pratt
2011-06-30  0:59 Jory Pratt
2011-05-16  2:20 Jory Pratt
2011-05-09 23:05 Jory Pratt
2011-04-04  2:25 Jory Pratt
2011-03-16 14:16 Jory Pratt
2011-03-14 19:41 Jory Pratt
2011-03-14 19:37 Jory Pratt
2011-03-04  5:43 Lars Wendler
2011-02-04  6:05 anarchy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e6e89b4988eada7d26e7cb32f60bb79ebab43b15.nirbheek@gentoo \
    --to=nirbheek@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox