From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/evolution/
Date: Wed, 13 Nov 2024 12:56:00 +0000 (UTC) [thread overview]
Message-ID: <1731502480.60abdcc508c14528143eacdcb9795f9cb0f9aaca.mjo@gentoo> (raw)
commit: 60abdcc508c14528143eacdcb9795f9cb0f9aaca
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 5 15:02:28 2024 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Nov 13 12:54:40 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60abdcc5
mail-client/evolution: add USE=sound and USE=libnotify
This makes sound and desktop notification support (separately)
optional. The goal here is to avoid pulling in GTK3/X11 libraries on a
GTK4/Wayland system.
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
...3.52.4-r1.ebuild => evolution-3.52.4-r2.ebuild} | 23 ++++++++++++++--------
mail-client/evolution/metadata.xml | 2 ++
2 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/mail-client/evolution/evolution-3.52.4-r1.ebuild b/mail-client/evolution/evolution-3.52.4-r2.ebuild
similarity index 87%
rename from mail-client/evolution/evolution-3.52.4-r1.ebuild
rename to mail-client/evolution/evolution-3.52.4-r2.ebuild
index 9001bd0738fe..bc6df73eda76 100644
--- a/mail-client/evolution/evolution-3.52.4-r1.ebuild
+++ b/mail-client/evolution/evolution-3.52.4-r2.ebuild
@@ -14,7 +14,7 @@ SLOT="2.0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
-IUSE="archive +bogofilter geolocation gtk-doc highlight ldap selinux spamassassin spell ssl +weather ytnef"
+IUSE="archive +bogofilter geolocation gtk-doc highlight ldap libnotify selinux sound spamassassin spell ssl +weather ytnef"
# glade-3 support is for maintainers only per configure.ac
# pst is not mature enough and changes API/ABI frequently
@@ -30,17 +30,12 @@ DEPEND="
>=dev-libs/libxml2-2.7.3:2
>=gnome-base/gnome-desktop-2.91.3:3=
>=gnome-base/gsettings-desktop-schemas-2.91.92
- >=gnome-extra/evolution-data-server-${PV}:=[gtk,weather?]
- || (
- media-libs/libcanberra-gtk3
- >=media-libs/libcanberra-0.25[gtk3(-)]
- )
+ >=gnome-extra/evolution-data-server-${PV}:=[gtk,sound?,weather?]
>=net-libs/libsoup-3.0:3.0
>=net-libs/webkit-gtk-2.38.0:4.1[spell?]
>=x11-libs/cairo-1.9.15[glib]
>=x11-libs/gdk-pixbuf-2.24:2
>=x11-libs/gtk+-3.22:3
- >=x11-libs/libnotify-0.7
>=x11-misc/shared-mime-info-0.22
app-text/cmark:=
@@ -57,6 +52,13 @@ DEPEND="
>=media-libs/clutter-gtk-0.90:1.0
>=sci-geosciences/geocode-glib-3.26.3:2 )
ldap? ( >=net-nds/openldap-2:= )
+ libnotify? ( >=x11-libs/libnotify-0.7 )
+ sound? (
+ || (
+ media-libs/libcanberra-gtk3
+ >=media-libs/libcanberra-0.25[gtk3(-)]
+ )
+ )
spamassassin? ( mail-filter/spamassassin )
spell? ( >=app-text/gspell-1.8:= )
ssl? (
@@ -101,6 +103,11 @@ file from /usr/share/applications if you use a different browser)."
# call; if needed, set them after cmake_src_prepare call, if that works
src_prepare() {
+ # libnotify is automagically detected, but a quick and easy way to
+ # force-disable it is to delete the "yes it's there" variable from
+ # CMakeLists.txt.
+ use libnotify || sed '/HAVE_LIBNOTIFY/d' -i CMakeLists.txt || die
+
cmake_src_prepare
gnome2_src_prepare
}
@@ -115,7 +122,7 @@ src_configure() {
-DENABLE_SMIME=$(usex ssl)
-DENABLE_GNOME_DESKTOP=ON
-DWITH_ENCHANT_VERSION=2
- -DENABLE_CANBERRA=ON
+ -DENABLE_CANBERRA=$(usex sound)
-DENABLE_AUTOAR=$(usex archive)
-DWITH_HELP=ON
-DENABLE_YTNEF=OFF
diff --git a/mail-client/evolution/metadata.xml b/mail-client/evolution/metadata.xml
index 20e4d6c9bbdb..37cce728c33e 100644
--- a/mail-client/evolution/metadata.xml
+++ b/mail-client/evolution/metadata.xml
@@ -11,7 +11,9 @@
<flag name="geolocation">Enable support for displaying contacts on a map inside evolution using <pkg>media-libs/libchamplain</pkg></flag>
<flag name="highlight">Enable text highlighting plugin</flag>
<flag name="ldap">Enable support for fetching contacts from an LDAP or Active Directory server using <pkg>net-nds/openldap</pkg></flag>
+ <flag name="libnotify">Enable desktop notifications through <pkg>x11-libs/libnotify</pkg></flag>
<flag name="spamassassin">Build <pkg>mail-filter/spamassassin</pkg> plugin</flag>
+ <flag name="sound">Enable sound notifications using <pkg>media-libs/libcanberra-gtk3</pkg></flag>
<flag name="weather">Enable optional weather calendar support</flag>
<flag name="ytnef">Enable optional TNEF attachments parser support using <pkg>net-mail/ytnef</pkg></flag>
</use>
next reply other threads:[~2024-11-13 12:56 UTC|newest]
Thread overview: 151+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-13 12:56 Michael Orlitzky [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-25 16:49 [gentoo-commits] repo/gentoo:master commit in: mail-client/evolution/ Pacho Ramos
2024-12-20 20:37 Arthur Zamarin
2024-11-04 18:39 Andreas Sturmlechner
2024-09-20 17:42 Andreas Sturmlechner
2024-09-17 23:30 Sam James
2024-08-06 9:31 Pacho Ramos
2024-08-06 9:31 Pacho Ramos
2024-05-25 21:14 Mart Raudsepp
2024-05-16 15:24 Arthur Zamarin
2024-04-28 20:44 Mart Raudsepp
2024-04-28 20:44 Mart Raudsepp
2024-02-11 14:21 Mart Raudsepp
2024-02-11 8:09 Arthur Zamarin
2024-02-09 22:26 Mart Raudsepp
2024-01-05 18:29 Mart Raudsepp
2024-01-05 18:29 Mart Raudsepp
2023-12-16 9:55 Pacho Ramos
2023-10-21 21:21 Mart Raudsepp
2023-09-16 14:07 Matt Turner
2023-08-30 7:57 Arthur Zamarin
2023-08-16 22:32 Matt Turner
2023-08-12 19:44 Arthur Zamarin
2023-08-12 19:44 Arthur Zamarin
2023-08-02 17:00 Sam James
2023-07-07 22:11 Matt Turner
2023-06-28 7:37 Sam James
2023-06-19 15:30 Matt Turner
2023-06-04 17:58 Matt Turner
2023-05-26 19:42 Matt Turner
2023-05-05 13:43 Arthur Zamarin
2023-05-05 11:29 Pacho Ramos
2023-05-05 9:37 Arthur Zamarin
2023-04-22 3:08 Matt Turner
2023-02-20 17:32 Matt Turner
2023-02-17 8:23 Arthur Zamarin
2023-02-10 19:18 Matt Turner
2023-01-19 1:23 Matt Turner
2023-01-07 17:42 Matt Turner
2022-12-02 14:53 Matt Turner
2022-10-30 23:21 Matt Turner
2022-10-25 15:25 Matt Turner
2022-10-01 17:16 Matt Turner
2022-10-01 17:16 Matt Turner
2022-09-30 16:52 Matt Turner
2022-09-27 23:55 Matt Turner
2022-09-12 16:01 Sam James
2022-09-12 16:00 Sam James
2022-08-05 20:49 Matt Turner
2022-07-29 2:59 Sam James
2022-07-18 23:41 Sam James
2022-07-06 1:24 Sam James
2022-07-02 20:47 Sam James
2022-07-02 3:48 Matt Turner
2022-05-28 5:45 Sam James
2022-05-27 10:20 Pacho Ramos
2022-05-13 20:51 Jakov Smolić
2022-05-07 18:25 Arthur Zamarin
2022-04-23 5:00 Matt Turner
2022-03-25 10:37 Yixun Lan
2022-03-23 6:44 Matt Turner
2022-03-06 20:43 Conrad Kostecki
2022-02-11 20:56 Matt Turner
2022-01-09 19:42 Matt Turner
2021-12-09 17:11 Mart Raudsepp
2021-12-09 17:11 Mart Raudsepp
2021-11-06 4:09 Sam James
2021-11-05 13:36 Mart Raudsepp
2021-10-04 1:25 Sam James
2021-09-04 15:31 Andreas Sturmlechner
2021-08-13 16:27 Mart Raudsepp
2021-08-09 16:32 Andreas Sturmlechner
2021-07-26 7:15 Matt Turner
2021-07-23 1:11 Matt Turner
2021-07-10 15:40 Sam James
2021-06-06 21:49 Matt Turner
2021-04-30 16:33 Matt Turner
2021-04-17 21:53 Matt Turner
2021-02-14 22:21 Mart Raudsepp
2021-01-09 10:37 Mart Raudsepp
2020-12-13 18:49 Mart Raudsepp
2020-08-30 18:09 Sam James
2020-08-09 7:22 Mart Raudsepp
2020-07-19 17:31 Mart Raudsepp
2020-07-04 21:18 Mart Raudsepp
2020-06-29 15:42 Mikle Kolyada
2020-06-28 14:19 Thomas Deutschmann
2020-06-14 14:25 Mart Raudsepp
2020-05-08 7:22 Mart Raudsepp
2020-05-08 7:22 Mart Raudsepp
2020-04-16 9:04 Mart Raudsepp
2020-04-13 16:12 Agostino Sarubbo
2020-04-13 14:48 Agostino Sarubbo
2020-02-29 21:22 Mart Raudsepp
2020-02-15 20:12 Mart Raudsepp
2020-02-05 13:57 Mart Raudsepp
2020-02-05 13:57 Mart Raudsepp
2020-01-10 13:52 Mart Raudsepp
2020-01-09 12:47 Agostino Sarubbo
2019-12-29 14:45 Mart Raudsepp
2019-12-23 22:02 Mart Raudsepp
2019-12-23 21:34 Mart Raudsepp
2019-12-15 16:48 Pacho Ramos
2019-08-04 18:04 Aaron Bauman
2019-05-18 22:08 Mart Raudsepp
2019-03-30 22:21 Mart Raudsepp
2019-02-22 18:03 Mart Raudsepp
2018-09-16 9:10 Mart Raudsepp
2018-09-09 17:52 Mart Raudsepp
2018-07-23 1:15 Mikle Kolyada
2018-02-03 22:00 Mart Raudsepp
2018-01-18 3:20 Mikle Kolyada
2017-09-30 6:31 Sergei Trofimovich
2017-09-30 6:31 Sergei Trofimovich
2017-09-23 20:35 Sergei Trofimovich
2017-09-23 20:35 Sergei Trofimovich
2017-09-11 21:55 Gilles Dartiguelongue
2017-08-14 16:58 Gilles Dartiguelongue
2017-06-17 8:36 Sergei Trofimovich
2017-04-02 14:00 Mart Raudsepp
2017-04-02 14:00 Mart Raudsepp
2017-03-15 11:44 Mart Raudsepp
2017-03-15 11:44 Mart Raudsepp
2017-02-06 21:21 Mart Raudsepp
2017-01-09 21:36 Mart Raudsepp
2017-01-09 19:14 Mart Raudsepp
2017-01-04 22:37 Gilles Dartiguelongue
2016-11-09 8:28 Gilles Dartiguelongue
2016-11-09 8:28 Gilles Dartiguelongue
2016-10-26 7:03 Gilles Dartiguelongue
2016-10-26 7:03 Gilles Dartiguelongue
2016-08-15 9:01 Pacho Ramos
2016-08-15 9:01 Pacho Ramos
2016-07-30 10:50 Pacho Ramos
2016-07-09 13:40 Pacho Ramos
2016-07-02 13:31 Pacho Ramos
2016-07-02 13:31 Pacho Ramos
2016-03-06 18:03 Mikle Kolyada
2016-01-30 12:23 Pacho Ramos
2016-01-30 12:23 Pacho Ramos
2016-01-09 19:07 Markus Meier
2015-12-21 8:14 Gilles Dartiguelongue
2015-12-21 8:14 Gilles Dartiguelongue
2015-11-10 19:16 Pacho Ramos
2015-11-09 11:25 Pacho Ramos
2015-11-07 11:19 Pacho Ramos
2015-11-07 11:19 Pacho Ramos
2015-09-17 14:46 Tobias Klausmann
2015-09-07 19:58 Mikle Kolyada
2015-09-05 11:39 Pacho Ramos
2015-09-05 11:38 Pacho Ramos
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=1731502480.60abdcc508c14528143eacdcb9795f9cb0f9aaca.mjo@gentoo \
--to=mjo@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