1 |
commit: a2f44bc2d62d2a1d21135803743d503d225e7806 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 21 22:38:57 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 21 22:42:59 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2f44bc2 |
7 |
|
8 |
kde-apps/messagelib: Fix message format preference setting |
9 |
|
10 |
Package-Manager: Portage-2.3.14, Repoman-2.3.6 |
11 |
|
12 |
kde-apps/messagelib/Manifest | 2 +- |
13 |
.../files/messagelib-17.08.3-richtextsetting.patch | 29 +++++++++ |
14 |
kde-apps/messagelib/messagelib-17.08.3-r1.ebuild | 73 ++++++++++++++++++++++ |
15 |
3 files changed, 103 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/kde-apps/messagelib/Manifest b/kde-apps/messagelib/Manifest |
18 |
index 1891d58a5c4..d8a870b8a48 100644 |
19 |
--- a/kde-apps/messagelib/Manifest |
20 |
+++ b/kde-apps/messagelib/Manifest |
21 |
@@ -1,2 +1,2 @@ |
22 |
DIST messagelib-17.04.3.tar.xz 10498000 SHA256 53e8c256bb016506ecc163ba3e3a387f6f5c958e325e8cae3e74d6461ce85b96 SHA512 20f9e0089c89cc1c61e887832e1499bf7dedee785679d2b780aa1ef5b9029868cd3269c226c7c0814f7048c9d880cc88f94f8ab2c63e8bf6bda9cbeec9f0fa0c WHIRLPOOL 1fc6a51b14301bc35ef2864591c0e8930843a96e548bc8959a72092a46d268253176f05de34287027a41d0bf811aa65d25bae751b2bd5b1e798082b55bb38ead |
23 |
-DIST messagelib-17.08.3.tar.xz 10463496 SHA256 b63568097bf8741b0ff5bd1911564449f80c1e6f59ca35907d5b6ee55b3ab1db SHA512 572dbb06aec537e224bc87a7863cec394664969a881f98b065d13a6690e908b7d026bee61f49114bc6f75bc5d4e219cf2d1d9420b6d55f91a14e55595f78904a WHIRLPOOL e4d7b4ec00facfc769e4f91bea09ba902370019beae5fd113b57fddfe8843983fcc641eedecaca055efb583498756ee96446f09cff7db746352b1faa1d8fe719 |
24 |
+DIST messagelib-17.08.3.tar.xz 10463496 BLAKE2B 612672462e77217555fd48e7038e727d8115d1f151e82720e2934f2c98ac3012abbb3e1402befa4704fbcb7234b604f93ad3d1af4fb853e3f7173758240c6f12 SHA512 572dbb06aec537e224bc87a7863cec394664969a881f98b065d13a6690e908b7d026bee61f49114bc6f75bc5d4e219cf2d1d9420b6d55f91a14e55595f78904a |
25 |
|
26 |
diff --git a/kde-apps/messagelib/files/messagelib-17.08.3-richtextsetting.patch b/kde-apps/messagelib/files/messagelib-17.08.3-richtextsetting.patch |
27 |
new file mode 100644 |
28 |
index 00000000000..42cf01165d5 |
29 |
--- /dev/null |
30 |
+++ b/kde-apps/messagelib/files/messagelib-17.08.3-richtextsetting.patch |
31 |
@@ -0,0 +1,29 @@ |
32 |
+From ece5c76c708797f2b1ec5bb22460089428ab6d80 Mon Sep 17 00:00:00 2001 |
33 |
+From: Montel Laurent <montel@×××.org> |
34 |
+Date: Thu, 9 Nov 2017 07:48:59 +0100 |
35 |
+Subject: Fix Bug 386660 - Rich text setting is not saved |
36 |
+ |
37 |
+BUG: 386660 |
38 |
+--- |
39 |
+ templateparser/src/templateparserjob.cpp | 2 ++ |
40 |
+ 1 file changed, 2 insertions(+) |
41 |
+ |
42 |
+diff --git a/templateparser/src/templateparserjob.cpp b/templateparser/src/templateparserjob.cpp |
43 |
+index b43e7e6..e836c5b 100644 |
44 |
+--- a/templateparser/src/templateparserjob.cpp |
45 |
++++ b/templateparser/src/templateparserjob.cpp |
46 |
+@@ -1115,9 +1115,11 @@ void TemplateParserJob::slotExtractInfoDone(const TemplateParserExtractHtmlInfoR |
47 |
+ if (mMode == NewMessage && plainBody.isEmpty() && !mExtractHtmlInfoResult.mPlainText.isEmpty()) { |
48 |
+ plainBody = mExtractHtmlInfoResult.mPlainText; |
49 |
+ } |
50 |
++ /* |
51 |
+ if (mMode == NewMessage && htmlBody.isEmpty() && !mExtractHtmlInfoResult.mHtmlElement.isEmpty()) { |
52 |
+ htmlBody = mExtractHtmlInfoResult.mHtmlElement; |
53 |
+ } |
54 |
++ */ |
55 |
+ |
56 |
+ addProcessedBodyToMessage(plainBody, htmlBody); |
57 |
+ Q_EMIT parsingDone(mForceCursorPosition); |
58 |
+-- |
59 |
+cgit v0.11.2 |
60 |
+ |
61 |
|
62 |
diff --git a/kde-apps/messagelib/messagelib-17.08.3-r1.ebuild b/kde-apps/messagelib/messagelib-17.08.3-r1.ebuild |
63 |
new file mode 100644 |
64 |
index 00000000000..7a14b735d24 |
65 |
--- /dev/null |
66 |
+++ b/kde-apps/messagelib/messagelib-17.08.3-r1.ebuild |
67 |
@@ -0,0 +1,73 @@ |
68 |
+# Copyright 1999-2017 Gentoo Foundation |
69 |
+# Distributed under the terms of the GNU General Public License v2 |
70 |
+ |
71 |
+EAPI=6 |
72 |
+ |
73 |
+KDE_TEST="forceoptional-recursive" |
74 |
+VIRTUALX_REQUIRED="test" |
75 |
+inherit kde5 |
76 |
+ |
77 |
+DESCRIPTION="Libraries for messaging functions" |
78 |
+LICENSE="GPL-2+ LGPL-2.1+" |
79 |
+KEYWORDS="~amd64 ~x86" |
80 |
+IUSE="" |
81 |
+ |
82 |
+# drop qtgui subslot operator when QT_MINIMAL >= 5.8.0 |
83 |
+DEPEND=" |
84 |
+ $(add_frameworks_dep karchive) |
85 |
+ $(add_frameworks_dep kcodecs) |
86 |
+ $(add_frameworks_dep kcompletion) |
87 |
+ $(add_frameworks_dep kconfig) |
88 |
+ $(add_frameworks_dep kconfigwidgets) |
89 |
+ $(add_frameworks_dep kcoreaddons) |
90 |
+ $(add_frameworks_dep kdbusaddons) |
91 |
+ $(add_frameworks_dep ki18n) |
92 |
+ $(add_frameworks_dep kiconthemes) |
93 |
+ $(add_frameworks_dep kio) |
94 |
+ $(add_frameworks_dep kitemmodels) |
95 |
+ $(add_frameworks_dep kitemviews) |
96 |
+ $(add_frameworks_dep kjobwidgets) |
97 |
+ $(add_frameworks_dep knotifications) |
98 |
+ $(add_frameworks_dep kservice) |
99 |
+ $(add_frameworks_dep ktextwidgets) |
100 |
+ $(add_frameworks_dep kwidgetsaddons) |
101 |
+ $(add_frameworks_dep kwindowsystem) |
102 |
+ $(add_frameworks_dep kxmlgui) |
103 |
+ $(add_frameworks_dep sonnet) |
104 |
+ $(add_frameworks_dep syntax-highlighting) |
105 |
+ $(add_kdeapps_dep akonadi) |
106 |
+ $(add_kdeapps_dep akonadi-contacts) |
107 |
+ $(add_kdeapps_dep akonadi-mime) |
108 |
+ $(add_kdeapps_dep grantleetheme) |
109 |
+ $(add_kdeapps_dep incidenceeditor) |
110 |
+ $(add_kdeapps_dep kcalcore) |
111 |
+ $(add_kdeapps_dep kcontacts) |
112 |
+ $(add_kdeapps_dep kdepim-apps-libs) |
113 |
+ $(add_kdeapps_dep kidentitymanagement) |
114 |
+ $(add_kdeapps_dep kldap) |
115 |
+ $(add_kdeapps_dep kmailtransport) |
116 |
+ $(add_kdeapps_dep kmbox) |
117 |
+ $(add_kdeapps_dep kmime) |
118 |
+ $(add_kdeapps_dep kpimtextedit) |
119 |
+ $(add_kdeapps_dep libgravatar) |
120 |
+ $(add_kdeapps_dep libkdepim) |
121 |
+ $(add_kdeapps_dep libkleo) |
122 |
+ $(add_qt_dep qtgui '' '' '5=') |
123 |
+ $(add_qt_dep qtnetwork) |
124 |
+ $(add_qt_dep qtprintsupport) |
125 |
+ $(add_qt_dep qtwebengine 'widgets') |
126 |
+ $(add_qt_dep qtwidgets) |
127 |
+ >=app-crypt/gpgme-1.8.0-r1[cxx,qt5] |
128 |
+ >=dev-libs/grantlee-5.1.0:5 |
129 |
+" |
130 |
+RDEPEND="${DEPEND} |
131 |
+ !<kde-apps/kdepim-addons-16.08.50:5 |
132 |
+ !kde-apps/kdepim-common-libs:4 |
133 |
+ !kde-apps/kdepim-l10n |
134 |
+ !=kde-apps/kmail-4.4*:4 |
135 |
+" |
136 |
+ |
137 |
+PATCHES=( "${FILESDIR}/${P}-richtextsetting.patch" ) |
138 |
+ |
139 |
+# bug 579630 |
140 |
+RESTRICT+=" test" |