From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B5F1E1395E7 for ; Mon, 3 Aug 2015 01:03:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B121E14023; Mon, 3 Aug 2015 01:03:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C2E2F14019 for ; Mon, 3 Aug 2015 01:03:28 +0000 (UTC) Received: from localhost.localnet (unknown [58.35.68.132]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: patrick) by smtp.gentoo.org (Postfix) with ESMTPSA id C6DD2340042 for ; Mon, 3 Aug 2015 01:03:27 +0000 (UTC) From: Patrick Lauer To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] useflag policies Date: Mon, 03 Aug 2015 09:03:15 +0800 Message-ID: <1529265.CbNzYPavOm@localhost> User-Agent: KMail/4.14.10 (Linux/4.1.3-gentoo; KDE/4.14.10; x86_64; ; ) In-Reply-To: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Archives-Salt: a08e7005-c9bb-4090-a759-c7d8a003f921 X-Archives-Hash: c6e052af9b83c1587e0168d01a6cf39f On Monday 03 August 2015 00:34:51 Ben de Groot wrote: > Recently some team members of the Qt project have adopted these ebuild > policies: https://wiki.gentoo.org/wiki/Project:Qt/Policies > > I have an issue with the policy adopted under "Requires one of two Qt > versions". In my opinion, in the case where a package offers a choice > between qt4 or qt5, we should express this in explicit useflags and a > REQUIRED_USE="^^ ( qt4 qt5 )". This offers the user the clearest choice. Since qt4 and qt5 are both relatively 'heavy' dependencies and quite different in many ways (including differences in default styles) many users will want to stick with only one of those. The gtk 'solution' forced some ugly things like masking gtk+:3, gconf:3, ... and then selecting packages based on specific -r200 / -r300 revisions. So much work to avoid regressing into gtk3! (Which is especially frustrating because *dbus* has wrong dependencies just so that gtk/gnome apps using dconf can save config ... ) > > Other developers state that users are not interested in such implementation > details, or that forced choice through REQUIRED_USE is too much of a > hassle. This results in current ebuilds such as quassel to not make it > clear that qt4 is an option. I find setting USE="qt4 -qt5" a lot more obvious than having USE="qt" (why not USE="X" ?) which then does different things based on another useflag, sometimes. Maybe. It's horribly inconsistent and even might change result over time, which is not very user-friendly. > > This goes against the principle of least surprise, as well as against QA > recommendations. I would like to hear specifically from QA about how we > should proceed, but comments from the wider developer community are also > welcome. I would prefer having qt4 and qt5 useflags independent, and no generic qt useflag.