Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/claws-mail/, mail-client/claws-mail/files/
Date: Mon, 09 Mar 2020 14:31:50
Message-Id: 1583764299.30f0f43174dc9d18c2f2fa9e345fd0a94707ad5b.polynomial-c@gentoo
1 commit: 30f0f43174dc9d18c2f2fa9e345fd0a94707ad5b
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 9 14:30:52 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 9 14:31:39 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30f0f431
7
8 mail-client/claws-mail: Revbump to depend on app-text/enchant:2
9
10 Bug: https://bugs.gentoo.org/708928
11 Package-Manager: Portage-2.3.93, Repoman-2.3.20
12 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
13
14 ...ail-9999.ebuild => claws-mail-3.17.5-r1.ebuild} | 13 +++---
15 mail-client/claws-mail/claws-mail-9999.ebuild | 6 ++-
16 .../claws-mail-3.17.5-enchant-2_default.patch | 46 ++++++++++++++++++++++
17 3 files changed, 59 insertions(+), 6 deletions(-)
18
19 diff --git a/mail-client/claws-mail/claws-mail-9999.ebuild b/mail-client/claws-mail/claws-mail-3.17.5-r1.ebuild
20 similarity index 94%
21 copy from mail-client/claws-mail/claws-mail-9999.ebuild
22 copy to mail-client/claws-mail/claws-mail-3.17.5-r1.ebuild
23 index f54e1858e57..e00884c0c0f 100644
24 --- a/mail-client/claws-mail/claws-mail-9999.ebuild
25 +++ b/mail-client/claws-mail/claws-mail-3.17.5-r1.ebuild
26 @@ -20,7 +20,8 @@ fi
27 SLOT="0"
28 LICENSE="GPL-3"
29
30 -IUSE="archive bogofilter calendar clamav dbus debug dillo doc gdata +gnutls gtk3 +imap ipv6 ldap +libcanberra +libindicate +libnotify litehtml networkmanager nls nntp +notification pda pdf perl +pgp python rss session sieve smime spamassassin spam-report spell startup-notification svg valgrind xface"
31 +IUSE="archive bogofilter calendar clamav dbus debug dillo doc gdata +gnutls +imap ipv6 ldap +libcanberra +libindicate +libnotify litehtml networkmanager nls nntp +notification pda pdf perl +pgp python rss session sieve smime spamassassin spam-report spell startup-notification svg valgrind xface"
32 +
33 REQUIRED_USE="libcanberra? ( notification )
34 libindicate? ( notification )
35 libnotify? ( notification )
36 @@ -34,6 +35,7 @@ COMMONDEPEND="
37 sys-libs/zlib:=
38 x11-libs/cairo
39 x11-libs/gdk-pixbuf:2[jpeg]
40 + >=x11-libs/gtk+-2.24:2
41 x11-libs/libX11
42 x11-libs/pango
43 archive? (
44 @@ -52,8 +54,6 @@ COMMONDEPEND="
45 gdata? ( >=dev-libs/libgdata-0.17.2 )
46 dillo? ( www-client/dillo )
47 gnutls? ( >=net-libs/gnutls-3.0 )
48 - gtk3? ( x11-libs/gtk+:3 )
49 - !gtk3? ( >=x11-libs/gtk+-2.24:2 )
50 imap? ( >=net-libs/libetpan-0.57 )
51 ldap? ( >=net-nds/openldap-2.0.7 )
52 litehtml? (
53 @@ -79,7 +79,7 @@ COMMONDEPEND="
54 )
55 smime? ( >=app-crypt/gpgme-1.0.0 )
56 spam-report? ( >=net-misc/curl-7.9.7 )
57 - spell? ( >=app-text/enchant-1.0.0:0= )
58 + spell? ( >=app-text/enchant-2.0.0:2= )
59 startup-notification? ( x11-libs/startup-notification )
60 svg? ( >=gnome-base/librsvg-2.40.5 )
61 valgrind? ( dev-util/valgrind )
62 @@ -109,6 +109,10 @@ RDEPEND="${COMMONDEPEND}
63 )
64 "
65
66 +PATCHES=(
67 + "${FILESDIR}/${PN}-3.17.5-enchant-2_default.patch"
68 +)
69 +
70 pkg_setup() {
71 use python && python-single-r1_pkg_setup
72 }
73 @@ -146,7 +150,6 @@ src_configure() {
74 $(use_enable doc manual)
75 $(use_enable gdata gdata-plugin)
76 $(use_enable gnutls)
77 - $(use_enable gtk3)
78 $(use_enable ipv6)
79 $(use_enable ldap)
80 $(use_enable litehtml litehtml_viewer-plugin)
81
82 diff --git a/mail-client/claws-mail/claws-mail-9999.ebuild b/mail-client/claws-mail/claws-mail-9999.ebuild
83 index f54e1858e57..935280af79f 100644
84 --- a/mail-client/claws-mail/claws-mail-9999.ebuild
85 +++ b/mail-client/claws-mail/claws-mail-9999.ebuild
86 @@ -79,7 +79,7 @@ COMMONDEPEND="
87 )
88 smime? ( >=app-crypt/gpgme-1.0.0 )
89 spam-report? ( >=net-misc/curl-7.9.7 )
90 - spell? ( >=app-text/enchant-1.0.0:0= )
91 + spell? ( >=app-text/enchant-2.0.0:2= )
92 startup-notification? ( x11-libs/startup-notification )
93 svg? ( >=gnome-base/librsvg-2.40.5 )
94 valgrind? ( dev-util/valgrind )
95 @@ -109,6 +109,10 @@ RDEPEND="${COMMONDEPEND}
96 )
97 "
98
99 +PATCHES=(
100 + "${FILESDIR}/${PN}-3.17.5-enchant-2_default.patch"
101 +)
102 +
103 pkg_setup() {
104 use python && python-single-r1_pkg_setup
105 }
106
107 diff --git a/mail-client/claws-mail/files/claws-mail-3.17.5-enchant-2_default.patch b/mail-client/claws-mail/files/claws-mail-3.17.5-enchant-2_default.patch
108 new file mode 100644
109 index 00000000000..c9c9bd444e0
110 --- /dev/null
111 +++ b/mail-client/claws-mail/files/claws-mail-3.17.5-enchant-2_default.patch
112 @@ -0,0 +1,46 @@
113 +From 826770e2dae8646a613dbe07685be68b4dc83b62 Mon Sep 17 00:00:00 2001
114 +From: Lars Wendler <polynomial-c@g.o>
115 +Date: Mon, 9 Mar 2020 15:21:55 +0100
116 +Subject: [PATCH] Only check for enchant-2
117 +
118 +Signed-off-by: Lars Wendler <polynomial-c@g.o>
119 +---
120 + configure.ac | 18 +++++-------------
121 + 1 file changed, 5 insertions(+), 13 deletions(-)
122 +
123 +diff --git a/configure.ac b/configure.ac
124 +index 8ab413657..e1159d45e 100644
125 +--- a/configure.ac
126 ++++ b/configure.ac
127 +@@ -591,23 +591,15 @@ dnl enchant is used for spell checking
128 + AC_MSG_CHECKING([whether to use enchant])
129 + AC_MSG_RESULT($enable_enchant)
130 + if test $enable_enchant = yes; then
131 +- PKG_CHECK_MODULES(ENCHANT, enchant >= 1.4.0,
132 ++ PKG_CHECK_MODULES(ENCHANT, enchant-2 >= 2.0.0,
133 + [
134 +- AC_DEFINE(USE_ENCHANT, 1, enchant)
135 +- echo "Building with enchant"
136 ++ AC_DEFINE(USE_ENCHANT, 1, enchant-2)
137 ++ echo "Building with enchant-2"
138 + enable_enchant=yes
139 + ],
140 + [
141 +- PKG_CHECK_MODULES(ENCHANT, enchant-2 >= 2.0.0,
142 +- [
143 +- AC_DEFINE(USE_ENCHANT, 1, enchant-2)
144 +- echo "Building with enchant-2"
145 +- enable_enchant=yes
146 +- ],
147 +- [
148 +- echo "Building without enchant-notification"
149 +- enable_enchant=no
150 +- ])
151 ++ echo "Building without enchant-notification"
152 ++ enable_enchant=no
153 + ])
154 + AC_SUBST(ENCHANT_CFLAGS)
155 + AC_SUBST(ENCHANT_LIBS)
156 +--
157 +2.25.1
158 +