From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/qtnetwork/
Date: Thu, 22 Jun 2023 15:51:58 +0000 (UTC) [thread overview]
Message-ID: <1687449104.014aa49c8371ae6fe80faf90e8d4b4ab1aec116c.asturm@gentoo> (raw)
commit: 014aa49c8371ae6fe80faf90e8d4b4ab1aec116c
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 19 19:50:20 2023 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jun 22 15:51:44 2023 +0000
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=014aa49c
dev-qt/qtnetwork: Drop bearer plugins (IUSE=connman,networkmanager)
Can not drop src/plugins/bearer/generic (builds libqgenericbearer.so)
though, as without it things like akonadi (KMail remains offline) and
Plasma POTD stop working.
QTBUG: https://bugreports.qt.io/browse/QTBUG-114666
Upstream in #kde-devel:
- the bearer plugins were created in another era: for Symbian, when we
weren't always connected to the Internet and the user maybe didn't want
to turn on their data
- now, we're always connected, so the bearer plugins are unnecessary
- they've been removed from Qt 6 due to their design problems
- so just do the same in Qt 5: don't use them
- especially when upstream has already declared
"the use of this API is a design flaw"
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
dev-qt/qtnetwork/metadata.xml | 3 ---
dev-qt/qtnetwork/qtnetwork-5.15.10.9999.ebuild | 16 ++--------------
2 files changed, 2 insertions(+), 17 deletions(-)
diff --git a/dev-qt/qtnetwork/metadata.xml b/dev-qt/qtnetwork/metadata.xml
index 8a8481b4..dfe9a543 100644
--- a/dev-qt/qtnetwork/metadata.xml
+++ b/dev-qt/qtnetwork/metadata.xml
@@ -6,12 +6,9 @@
<name>Gentoo Qt Project</name>
</maintainer>
<use>
- <flag name="connman">Enable <pkg>net-misc/connman</pkg>-based bearer plugin</flag>
<flag name="gssapi">Enable support for GSSAPI (<pkg>virtual/krb5</pkg>)</flag>
<flag name="libproxy">Use <pkg>net-libs/libproxy</pkg> for automatic
HTTP/SOCKS proxy configuration</flag>
- <flag name="networkmanager">Enable <pkg>net-misc/networkmanager</pkg>-based
- bearer plugin</flag>
</use>
<upstream>
<bugs-to>https://bugreports.qt.io/</bugs-to>
diff --git a/dev-qt/qtnetwork/qtnetwork-5.15.10.9999.ebuild b/dev-qt/qtnetwork/qtnetwork-5.15.10.9999.ebuild
index f41edbd2..148c6d9f 100644
--- a/dev-qt/qtnetwork/qtnetwork-5.15.10.9999.ebuild
+++ b/dev-qt/qtnetwork/qtnetwork-5.15.10.9999.ebuild
@@ -13,22 +13,17 @@ inherit qt5-build
DESCRIPTION="Network abstraction library for the Qt5 framework"
-IUSE="connman gssapi libproxy networkmanager sctp +ssl"
+IUSE="gssapi libproxy sctp +ssl"
DEPEND="
=dev-qt/qtcore-${QT5_PV}*:5=
sys-libs/zlib:=
- connman? ( =dev-qt/qtdbus-${QT5_PV}* )
gssapi? ( virtual/krb5 )
libproxy? ( net-libs/libproxy )
- networkmanager? ( =dev-qt/qtdbus-${QT5_PV}* )
sctp? ( kernel_linux? ( net-misc/lksctp-tools ) )
ssl? ( >=dev-libs/openssl-1.1.1:0= )
"
-RDEPEND="${DEPEND}
- connman? ( net-misc/connman )
- networkmanager? ( net-misc/networkmanager )
-"
+RDEPEND="${DEPEND}"
QT5_TARGET_SUBDIRS=(
src/network
@@ -46,17 +41,10 @@ QT5_GENTOO_PRIVATE_CONFIG=(
:network
)
-pkg_setup() {
- use connman && QT5_TARGET_SUBDIRS+=(src/plugins/bearer/connman)
- use networkmanager && QT5_TARGET_SUBDIRS+=(src/plugins/bearer/networkmanager)
-}
-
src_configure() {
local myconf=(
- $(usev connman -dbus-linked)
$(qt_use gssapi feature-gssapi)
$(qt_use libproxy)
- $(usev networkmanager -dbus-linked)
$(qt_use sctp)
$(usev ssl -openssl-linked)
)
next reply other threads:[~2023-06-22 15:52 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-22 15:51 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-06-18 14:27 [gentoo-commits] proj/qt:master commit in: dev-qt/qtnetwork/ Andreas Sturmlechner
2021-12-13 16:34 Andreas Sturmlechner
2021-09-15 20:01 Davide Pesavento
2021-06-20 18:49 Andreas Sturmlechner
2021-05-02 19:52 Andreas Sturmlechner
2020-11-18 21:05 Andreas Sturmlechner
2020-11-17 21:20 Andreas Sturmlechner
2020-09-29 20:39 Andreas Sturmlechner
2020-04-09 17:32 Andreas Sturmlechner
2019-01-07 1:04 Davide Pesavento
2019-01-07 1:04 Davide Pesavento
2018-02-10 2:50 Michael Palimaka
2018-02-02 11:54 Michael Palimaka
2017-07-23 4:48 Michael Palimaka
2016-06-13 0:11 Davide Pesavento
2015-04-28 14:48 Davide Pesavento
2015-04-28 12:31 Michael Palimaka
2015-04-25 18:23 Michael Palimaka
2015-04-22 16:19 Michael Palimaka
2015-03-26 1:49 Davide Pesavento
2014-07-27 13:51 Davide Pesavento
2014-07-24 1:05 Davide Pesavento
2014-05-11 19:09 Michael Palimaka
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=1687449104.014aa49c8371ae6fe80faf90e8d4b4ab1aec116c.asturm@gentoo \
--to=asturm@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