Gentoo Archives: gentoo-commits

From: Ian Stakenvicius <axs@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mozilla:master commit in: mail-client/thunderbird/
Date: Thu, 22 Sep 2016 14:39:15
Message-Id: 1474555109.c72b160f03e3103e9399de59c08265adef9c5093.axs@gentoo
1 commit: c72b160f03e3103e9399de59c08265adef9c5093
2 Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 22 14:38:29 2016 +0000
4 Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 22 14:38:29 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=c72b160f
7
8 mail-client/thunderbird: sync with tree
9
10 mail-client/thunderbird/Manifest | 4 +--
11 ...-45.3.0.ebuild => thunderbird-45.3.0-r2.ebuild} | 42 +++++++++++++++++-----
12 2 files changed, 35 insertions(+), 11 deletions(-)
13
14 diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
15 index 9355143..44812f3 100644
16 --- a/mail-client/thunderbird/Manifest
17 +++ b/mail-client/thunderbird/Manifest
18 @@ -1,7 +1,7 @@
19 DIST enigmail-1.9.1.tar.gz 1736876 SHA256 0393119725fa5931d9888a2a1c9796d440ee7975ca3d005eb63142768b10f993 SHA512 5417d7744ff5b8299d9799059f62013e546fb74206782169e5ce6baa0950d96d1c8996c99ec902ca73b241fd1268966e0a7ad30c032a1706a0efbf06fefc311c WHIRLPOOL 80cff68461edc743851de5a83cd04105f6689eb1289f46b72334a96b091dc430399a91b2ab004a39bd7cb04433ab0471dd07b44d39fc2eb3869487b07841fc5a
20 -DIST firefox-45.0-patches-04.tar.xz 18600 SHA256 2ee0ab58e0a1db7b573dd7ac407dcb9a43a85dd295c5d6d263f72ce629c5290c SHA512 cf5d4ddfe14dff92950baae066350ace0a503c5bdd9d837e4724fd2fb905a2fb540dcf34971531e79547dd62dfbf217d472f39ccc4802f34a245e24f406fdb5e WHIRLPOOL 1461c61ba7e54b7a91c758fdf91fda22260eaff4148b3cccab8ccfd9d09a3d80c0314e999284d392d9e961c42cd9720d6d30ac190074f74d1e53ecb1afa1b1e3
21 +DIST firefox-45.0-patches-06.tar.xz 19792 SHA256 4cacdb0ca1e710a0e3f577d5a1253ed14fab9a2d1cdaf83b3fa7bac86cfddef2 SHA512 eec8ccb3d67144368cfad807cad847379bf9ee54c2394f8bf0bda121178b1036ec1d32bea67afad840dff38e1ef26c4c19569d4fa4b553b6e2719bf07a46e017 WHIRLPOOL 7bb6b8f59d86beb9178fbea8bdd372a016b62e00766daf9439e2e59d20635a21b3a218447b09ce7d6a4b601611013f9ad08e088ef8112a41bde9ce951d10bdad
22 DIST gdata-provider-2.6-r1.tar.xz 83836 SHA256 e181d5fe69e66f34719295790301e0d265c855be5f30df516c52dd3708d82158 SHA512 e5fcf60c221590d1d904ce8c6a74da7208b118c2872a26267f4ee6d3e68eea466d44b979b7259a012a21e48eb5b470d52cc9e58584226fe04ce88ff698da495b WHIRLPOOL 0e85fbb321edec0397b42808fd6320e245de35ddd1cf772545c432dbf26d8c28b042ba2c61bbde2abdbf4d5cca076436e6d678d6d636d3bcc562470d485df6c1
23 -DIST lightning-4.7.3.tar.xz 1134460 SHA256 8834c59a58797af747805f9a67ebcc311607a98bea4d185689d7c35f024bce7b SHA512 ebca7d74413a15f404ce094e5a4d047d79f250a04c6c1e78a3ab5aa49946e1e1ac81a1f7703bf2e631d841b98df66a21982788ee15af14eefe1d51eca29e1d48 WHIRLPOOL 34a28dcf707fe564433a663c2ac3efc79dff409cf22383425f38d4ac06184ac980f35a6ee81ab8e9d7030189538188ffe2d5fa426e0aa1cb8a11ebe6191a5fd1
24 +DIST lightning-4.7.3.repack.tar.xz 1927348 SHA256 1602f5f7d0e51161ca2057ad3b7f77c976c5d6c9ef6a852afa607fc32fd9af61 SHA512 19b66daeba7686ba59942e582ba5ae5feb8215ea97f1580cf42347b3ebcc4947775e40975b728091d0515051e5fcee01d73b29f78dc243c17dd1f0077f0d1627 WHIRLPOOL 0da115a00ad2be42999d316663ac45369d3157c344127e7b14f66b42354363b890a5087d01d44de5b87bd9499d7e20060da1d3e7e9d64629fae17ae0698bb9d1
25 DIST thunderbird-38.0-patches-0.1.tar.xz 684 SHA256 cd2a347b72a104e72d38e56bb92df3464e8820485119b4114dbd0bbda131a808 SHA512 52c83af301be959e861dfec55b3c4bc60035387c606976bd29232c4cba077230edcadef242491e699fba10027d0408dd4f33fa320bcf96727afe149166ca02de WHIRLPOOL a378a0fa1b152f17681a5e389662fedfacd45a137b224f038d3c98ab4a024bcf9e753fb2fe018cdb7126fb710ee8baabdf7882540450ead2985070d0d1f12eb0
26 DIST thunderbird-45.3.0-ar.xpi 490775 SHA256 14e8349dd5c9d44870b31c12831878c41b3346065aef9dfa0b1e53afa01b86d3 SHA512 c4fb9cac062925a07e2790e66a1ec86fec217be2c518715c884e6cfaa1471c83738d50a183c34aab0a4829b3d4d19c7d7a55c738a23260a69f38dad7d1821a67 WHIRLPOOL 0415605844fc8de1faeef9a795dc4f3158374d0bc1d1ad12d385f7c3f21042a8e1f012e4c3c6e7fbdf95a9dab74e0becc8e85cb7eef44ad2d610f0f25f999474
27 DIST thunderbird-45.3.0-ast.xpi 428059 SHA256 b029c48931513e7983c6f031b2d9f68e1d2a8b0265807af914c598ed35e69247 SHA512 fc3b549cf3bcc761bdc310459c794aedeb5ea1969ec44bbaf3c4868d9dd7052ccd42ad801d286f8699bcdfa013ff68295d202aabce37597355064a298d382f39 WHIRLPOOL d6ec61863348a054921d789558df329d003a95485a4a6ab88264cede1dd7421a0cc4d210aa653f33982120fdf617205c835956e48c20f735e0f2e8cee176eebe
28
29 diff --git a/mail-client/thunderbird/thunderbird-45.3.0.ebuild b/mail-client/thunderbird/thunderbird-45.3.0-r2.ebuild
30 similarity index 93%
31 rename from mail-client/thunderbird/thunderbird-45.3.0.ebuild
32 rename to mail-client/thunderbird/thunderbird-45.3.0-r2.ebuild
33 index f85141b..1b352bc 100644
34 --- a/mail-client/thunderbird/thunderbird-45.3.0.ebuild
35 +++ b/mail-client/thunderbird/thunderbird-45.3.0-r2.ebuild
36 @@ -22,7 +22,7 @@ EMVER="1.9.1"
37
38 # Patches
39 PATCH="thunderbird-38.0-patches-0.1"
40 -PATCHFF="firefox-45.0-patches-04"
41 +PATCHFF="firefox-45.0-patches-06"
42
43 MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases"
44
45 @@ -38,10 +38,8 @@ if [[ ${MOZ_ESR} == 1 ]]; then
46 fi
47 MOZ_P="${PN}-${MOZ_PV}"
48
49 -
50 -MOZCONFIG_OPTIONAL_GTK3=1
51 MOZCONFIG_OPTIONAL_JIT="enabled"
52 -inherit flag-o-matic toolchain-funcs mozconfig-v6.45 makeedit autotools pax-utils check-reqs nsplugins mozlinguas-v2
53 +inherit flag-o-matic toolchain-funcs mozconfig-v6.45 makeedit autotools pax-utils check-reqs nsplugins mozlinguas-v2 fdo-mime gnome2-utils
54
55 DESCRIPTION="Thunderbird Mail Client"
56 HOMEPAGE="http://www.mozilla.com/en-US/thunderbird/"
57 @@ -55,7 +53,7 @@ RESTRICT="!bindist? ( bindist )"
58 PATCH_URIS=( https://dev.gentoo.org/~{anarchy,axs,polynomial-c}/mozilla/patchsets/{${PATCH},${PATCHFF}}.tar.xz )
59 SRC_URI="${SRC_URI}
60 ${MOZ_HTTP_URI}/${MOZ_PV}/source/${MOZ_P}.source.tar.xz
61 - https://dev.gentoo.org/~axs/distfiles/lightning-${MOZ_LIGHTNING_VER}.tar.xz
62 + https://dev.gentoo.org/~axs/distfiles/lightning-${MOZ_LIGHTNING_VER}.repack.tar.xz
63 lightning? ( https://dev.gentoo.org/~axs/distfiles/gdata-provider-${MOZ_LIGHTNING_GDATA_VER}-r1.tar.xz )
64 crypt? ( http://www.enigmail.net/download/source/enigmail-${EMVER}.tar.gz )
65 ${PATCH_URIS[@]}"
66 @@ -69,8 +67,9 @@ CDEPEND="
67 crypt? ( || (
68 ( >=app-crypt/gnupg-2.0
69 || (
70 - app-crypt/pinentry[gtk]
71 - app-crypt/pinentry[qt4]
72 + app-crypt/pinentry[gtk(-)]
73 + app-crypt/pinentry[qt4(-)]
74 + app-crypt/pinentry[qt5(-)]
75 )
76 )
77 =app-crypt/gnupg-1.4*
78 @@ -295,11 +294,16 @@ src_install() {
79 # Install language packs
80 mozlinguas_src_install
81
82 + local size sizes icon_path icon
83 if ! use bindist; then
84 - newicon "${S}"/other-licenses/branding/thunderbird/content/icon48.png thunderbird-icon.png
85 + icon_path="${S}/other-licenses/branding/thunderbird"
86 + icon="${PN}-icon"
87 +
88 domenu "${FILESDIR}"/icon/${PN}.desktop
89 else
90 - newicon "${S}"/mail/branding/aurora/content/icon48.png thunderbird-icon-unbranded.png
91 + icon_path="${S}/mail/branding/aurora"
92 + icon="${PN}-icon-unbranded"
93 +
94 newmenu "${FILESDIR}"/icon/${PN}-unbranded.desktop \
95 ${PN}.desktop
96
97 @@ -307,6 +311,14 @@ src_install() {
98 "${ED}"/usr/share/applications/${PN}.desktop
99 fi
100
101 + # Install a 48x48 icon into /usr/share/pixmaps for legacy DEs
102 + newicon "${icon_path}"/mailicon48.png "${icon}".png
103 + # Install icons for menu entry
104 + sizes="16 22 24 32 48 256"
105 + for size in ${sizes}; do
106 + newicon -s ${size} "${icon_path}/mailicon${size}.png" "${icon}.png"
107 + done
108 +
109 local emid
110 # stage extra locales for lightning and install over existing
111 mozlinguas_xpistage_langpacks "${BUILD_OBJ_DIR}"/dist/xpi-stage/lightning \
112 @@ -356,7 +368,14 @@ src_install() {
113 fi
114 }
115
116 +pkg_preinst() {
117 + gnome2_icon_savelist
118 +}
119 +
120 pkg_postinst() {
121 + fdo-mime_desktop_database_update
122 + gnome2_icon_cache_update
123 +
124 if use crypt; then
125 local peimpl=$(eselect --brief --colour=no pinentry show)
126 case "${peimpl}" in
127 @@ -379,3 +398,8 @@ pkg_postinst() {
128 elog "please file a bug report."
129 fi
130 }
131 +
132 +pkg_postrm() {
133 + fdo-mime_desktop_database_update
134 + gnome2_icon_cache_update
135 +}