Gentoo Archives: gentoo-dev

From: "Robin H.Johnson" <robbat2@g.o>
To: gentoo-dev@g.o
Cc: gentoo-core@g.o
Subject: [gentoo-dev] Proposal for virtual: 'virtual/imap-c-client'
Date: Sun, 08 Jun 2003 03:50:43
1 (if reading this on -core, please respond on -dev only)
3 Presently, if you utilize the c-client libraries in any application, you
4 need something that provides them. Even if you only want the c-client
5 libraries, you currently need the whole application. You need to have
6 one of these ebuilds installed to provide them: net-mail/vimap
7 net-mail/pine-maildir net-mail/uw-imap As you do not nessicarily want
8 one of these IMAP servers just to have IMAP support in an application,
9 this obviously needs to be improved upon.
11 PHP is one notable application that requires the c-client library
12 (actually the only thing in the portage tree at the moment, but there
13 are other applications out there).
15 UW used to provide a seperate c-client download, however they stopped
16 that and just instructed people to use the full UW-Imap download.
18 Many users may be able to uninstall net-mail/uw-imap,
19 net-mail/pine-maildir or net-mail/vimap as a result of this, providing
20 they do not use those applications.
22 There are 2 possible solutions for this:
23 1. Removal the code that installs the c-client stuff from the other
24 things that provide it, and just use net-libs/c-client.
25 2. Add net-libs/c-client and use virtuals so that any of the noted
26 ebuilds can provide it, defaulting to net-libs/c-client.
28 Solution #2 is much cleaner in the long term, as it doesn't clutter up
29 the system and it is much easier to maintain.
31 Bugs for this issue:
32 20372, 15602, 72, 15177
34 Full plan for solution #2:
35 - net-libs/c-client ebuild (already done, hardmasked in tree).
36 - Add virtual to profiles
37 - Modify net-mail/vimap, net-mail/pine-maildir, net-mail/uw-imap, *php*
38 for the virtual.
40 Presently I plan to name the virtual 'virtual/imap-c-client', but any
41 other suggestions are welcome.
43 (I tried writing this as a GLEP, but gave up on it for too much work for
44 the moment.)
46 --
47 Robin Hugh Johnson
48 E-Mail : robbat2@××××××××××××××.net
49 Home Page :
50 ICQ# : 30269588 or 41961639
51 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85