svn commit: r456674 - in head/graphics: . libQGLViewer libQGLViewer/files

Jason Bacon bacon4000 at gmail.com
Tue Dec 26 20:47:08 UTC 2017


On 12/26/17 09:52, Alexey Dokuchaev wrote:
> On Tue, Dec 26, 2017 at 09:18:02AM -0600, Jason Bacon wrote:
>> There are some nuances that have to be clarified:
>>
>> 1. What exactly does it mean when we talk about "what the developers
>> call it"? Are we referring to the upstream distname? The title on their
>> website or in their documentation? Occasionally these things differ.
> Official name is the one used in documentation, on the website, or in
> Wikipedia article if there is one.  Examples include Firefox, LilyTerm,
> PostgreSQL, etc.  It is the name that should be used, for example, in
> the port description text (pkg-descr).
>
>> 2. Same for "what's installed". Does this refer to the main
>> command/library? [...]
> This is largely and usually irrelevant.
>
>> 3. Should PORTNAME match the port directory name?
> Yes, it should, with a few exceptions when e.g. PKGNAMEPREFIX comes to
> play (examples include CPAN ports, Linux binary ports, etc.).
>
>> @mat pointed out that "pkg" is case-insensitive, so case doesn't cause
>> any inconvenience when dealing with binary packages, but I find it a
>> nuisance to have to remember case on port directory names.
> Exactly.  It's a nuisance, and that's one of the reasons to keep it as
> lowercase; again, CPAN ports are valid exception, because that includes
> a lot of ports that have an established naming convention of their own;
> many of them are common (omni-Unix) and thus it helps to have similar
> package names with popular GNU/Linux distributions.
>
>> A clear policy in PHB would be really helpful...
> Yes, it would; but until the PHB is fixed, please stick to currently
> used most common practices (that is, prefer lowercase unless there are
> sufficiently strong reasons to do otherwise).  Porting a Perl module?
> Follow CPAN (and existing ports).  For some random, unattached (not a
> part of any cabal) port it is almost always better tolower() its name.
> (Again, like vast majority existing ports.)
>
> ./danfe

Clarifying my point #3: When I said "match" I meant in terms of 
upper/lower case.

Are you suggesting that PORTNAME should also be reduced to lowercase to 
match the directory name?

-- 
Earth is a beta site.



More information about the svn-ports-head mailing list