Gentoo Archives: gentoo-dev

From: Peter Volkov <pva@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] client/server consistency: USE flags / split packages
Date: Wed, 04 Nov 2009 15:45:54
Message-Id: 1257349497.20584.2085.camel@tablet
1 Hi. How do we handle packages that provide client, server, and possibly
2 extra tools/libraries? Do we split packages like binary distros do or do
3 we use USE flags? What USE flags? Currently some packages are split
4 other use client, server or minimal USE flag(s).
5
6 Back in 2006 similar problem was discussed many times with no final
7 resolution - it was hard to ban split packages since portage had no
8 support for USE deps. Also some packages started to utilize 'minimal'
9 USE flag to force users read USE flag description and thus reduce its
10 usage and lower number of bugs due to not-installed parts of package.
11
12 With EAPI=2 both use deps and USE defaults (if necessary) are here so
13 it's possible to introduce some guidelines:
14
15 1. do not split packages; use USE flags and USE deps.
16 2. stop using minimal USE flag to build client or sever only.
17
18
19 So are there any good reasons to split packages?
20
21
22 https://bugs.gentoo.org/12499 but many similar disscussions were on this
23 list...
24
25 --
26 Peter.

Replies