svn commit: r315907 - head/Mk/Uses

Baptiste Daroussin bapt at FreeBSD.org
Tue Apr 23 09:37:29 UTC 2013


On Tue, Apr 23, 2013 at 11:14:56AM +0200, Koop Mast wrote:
> On 23-4-2013 10:52, Boris Samorodov wrote:
> > 23.04.2013 12:48, Tijl Coosemans пишет:
> >> On 2013-04-23 10:30, Koop Mast wrote:
> >>> On 23-4-2013 10:24, Boris Samorodov wrote:
> >>>> 23.04.2013 12:03, Boris Samorodov пишет:
> >>>>> Hence: the example and use case is fixed to use desktop-file-utils
> >>>>> (s:info:utils:g).
> >>>> O-ops! Wrong subject to answer! :-(
> >>>> Sorry, the file in question is obviously desktop-file-utils.mk!
> >>> Still you pointed out that I didn't use the correct name.. the info
> >>> bit somes from shared-mime-info where I copied this file from but
> >>> neglected fixing it properly. Since it not used widely, I will fix
> >>> this soon. I really should stop taking other files as templates and
> >>> than not fixing all the things that need to change..
> >> Maybe take the opportunity to use shorter names like desktopcache and
> >> mimecache maybe?
> > Or even Uses=cache:desktop cache:mime?
> >
> 
> Both have merrid, and I agree that the names are a bit long. However I'm 
> a bit worried that the obvious connection with shared-mime-info and 
> desktop-file-utils is lost.

I like it and imho the connection won't be lost of documented. Probably portlint
could also look over the ports and recommand it.

technical part is not that obvious cache:desktop and cache:mime will mean
cache.mk has to be read twice which is now allowed with the crurrent way thay
are written.

imho a simple way could be:

USES= cache
CACHE_WHATEVER=	desktop mime

if a port only need one of the cache thing then USES= cache:desktop

Other propositions welcomed :)

regards,
Bapt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20130423/5d5dcb83/attachment.sig>


More information about the svn-ports-all mailing list