Gentoo Archives: gentoo-dev

From: Tom Martin <slarti@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Handling of /etc/mime.types
Date: Sun, 08 Aug 2004 21:19:32
Message-Id: 20040808211937.GB16870@pohl.lj.net
1 Hi all,
2
3 At the moment, several packages I can think of provide /etc/mime.types:
4
5 net-mail/metamail
6 net-mail/pine
7 app-misc/run-mailcap
8 app-misc/mime-types
9
10 Obviously, this isn't great. The plan net-mail have come up with is to amalgamate all
11 the current mime.types installed by these packages into one super-duper mime.types and
12 then put it in app-misc/mime-types. This has already been done with the help of Andrej
13 Kacian in bug 46476[1]. We then make app-misc/mime-types install this unified file, and
14 make all other packages that provide mime.types themselves RDEPEND on
15 app-misc/mime-types themselves.
16
17 This should be pretty trouble free as the different files don't really conflict with
18 each other, and there are unlikely to be any real bugs caused (after all, people have
19 been either keeping a permanent /etc/mime.types that is used by all packages or
20 overwriting it each time with etc-update or dispatch-conf). Also, finding packages that
21 will need to RDEPEND on it is simple, because they either depend on app-misc/mime-types
22 already or install it themselves.
23
24 So.. I would like two things. First of all, I'd really appreciate it if everyone
25 reading could run "equery belongs /etc/mime.types" and reply with anything that
26 *wasn't* included in the list at the start of this post. And, of course, I'd like to
27 know everyone's thoughts on this.
28
29
30 Thanks,
31 Tom
32
33 [1] http://bugs.gentoo.org/show_bug.cgi?id=46476
34
35 --
36 Tom Martin
37 Gentoo Linux AMD64 Developer
38
39 GPG Public key available on pgp.mit.edu, 0xB5C4FF89
40 IRC: slarti` ~ irc.freenode.net

Replies

Subject Author
Re: [gentoo-dev] Handling of /etc/mime.types "Malte S. Stretz" <msquadrat.nospamplease@×××.net>
Re: [gentoo-dev] Handling of /etc/mime.types "Robin H. Johnson" <robbat2@g.o>