Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jul 2004 15:23:14 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Oliver Lehmann <lehmann@ans-netz.de>
Cc:        ports@freebsd.org
Subject:   Re: general MIME types port (was: Re: cvs commit: ports/mail/sylpheed Makefile distinfo pkg-plist)
Message-ID:  <20040731152314.3f3cd48c@Magellan.Leidinger.net>
In-Reply-To: <20040731150029.7fad2cf1.lehmann@ans-netz.de>
References:  <200407131514.i6DFEM3P066177@repoman.freebsd.org> <20040731125035.69c6149f@Magellan.Leidinger.net> <20040731133744.4f6bb697.lehmann@ans-netz.de> <20040731141325.365ff192@Magellan.Leidinger.net> <20040731150029.7fad2cf1.lehmann@ans-netz.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 31 Jul 2004 15:00:29 +0200
Oliver Lehmann <lehmann@ans-netz.de> wrote:

> Alexander Leidinger wrote:
> 
> > Possible bikesheds:
> >  - mime.types inline (files/mime.types) or extern (e.g.
> >    MASTER_SITE_LOCAL)
> 
> It's only one file... so I'd go for files/mime.types

Me too.

> >  - just suck in every mime type from somewhere (and using the least
> >    common denominator for the license... whatever this means in this
> >    context), or only looking for BSD licensed (or similar) ones (e.g.
> >    apache)
> 
> Its a port so I don't know how important are BSD/GPL license things are.

If we want to use it with/in other programs it _may_ be important. We
also need to give credit.

> But taking the one deployed by (for e.g.) apache should fit shouldn't it?

Yes, and it's the largest one:
---snip---
% grep / /usr/local/etc/apache/mime.types | wc -l
     581

% grep .xml /usr/ports/misc/shared-mime-info/pkg-plist |wc -l
     383

% grep / /usr/X11R6/share/gnome/mime-info/gnome*.mime |wc -l
     430
---snip---

TODO:
 - where to install:
   * PREFIX/etc/mime.types
   * PREFIX/share/...
 - perhaps sync with those other ones
 - identify ports which are able to make use of it and patch them
   * I suggest to create a page at wiki.daemon.li (not reachable ATM)
     with a list of ports

Bye,
Alexander.

-- 
           I'm available to get hired (preferred in .lu).

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040731152314.3f3cd48c>