all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: guix-devel@gnu.org
Subject: Re: Font package naming convention
Date: Sat, 01 Nov 2014 12:36:30 +0300	[thread overview]
Message-ID: <87fve3s1nl.fsf@gmail.com> (raw)
In-Reply-To: <20141031175840.GA16902@debian> (Andreas Enge's message of "Fri, 31 Oct 2014 18:58:40 +0100")

Andreas Enge (2014-10-31 20:58 +0300) wrote:

> On Fri, Oct 31, 2014 at 01:02:44AM +0300, Alex Kost wrote:

>> I'm against any strict binding to an upstream name.  Why should we stick
>> to a (potentially strange) upstream name if we know better how a package
>> should be called?
>
> This is what we have done so far and it is part of the packaging guidelines.
> Otherwise there would be absolutely no limit to renaming and bikeshedding.
> What if you think that "foo" should be renamed "bar" and I think it should
> be renamed "truc"?

I think the majority should decide.  So if the most of guix people think
that it should be named "bar", then let it be so.

> If you want to make a suggestion of a naming scheme that others can follow,
> please come up with a description of an algorithm as for python modules -
> a transformation of an upstream name into a package name.

I wrote what seems appropriate to me at
<http://lists.gnu.org/archive/html/guix-devel/2014-10/msg00457.html>:
If a package provides only truetype font(s), name it “ttf-…”, other
font packages should contain "font" in their names; or ...

Ludovic Courtès (2014-11-01 00:30 +0300) wrote:

> I’m not completely sure we can come up with a strict algorithm for the
> naming scheme that we will not want to change two weeks later.  ;-)
>
> Here’s a possible answer to the above questions, informally:
>
>   • Use ‘font-FOUNDRY-FAMILY’ or ‘font-FAMILY’ or
>     ‘font-FOUNDRY-COLLECTION’ or ‘font-COLLECTION’ as the name.
>
>     Examples: ‘font-bitstream-vera’, ‘font-liberation’, ‘font-unifont’.
>
>   • Use ‘font-.*-FORMAT’ only when there happens to be separate packages
>     for separate formats.  FORMAT would be the format short name, like
>     ‘ttf’, ‘otf’, ‘type1’.
>
> WDYT, fellow nitpickers?  :-)
>
> IMO the goal should be to find something convenient for users.
> Sometimes, maybe, there will be several valid choices for the package
> name, but that’s fine, I think.

... I agree with this point, and perhaps it would be good to follow a
single simple rule:

    A package that provides fonts (only fonts, not some big product with
    a couple of fonts), should have "font(s)" in its name, for example:
    “freefont”, “font-bitstream-vera”, “terminus-font”,
    “liberation-fonts”.

However, I still think that having the following packages would be the
best:

  ttf-bitstream-vera
  ttf-dejavu
  ttf-freefont
  ttf-liberation
  ttf-symbola

and the following (according to the current convention) would be the
worst:

  ttf-bitstream-vera
  dejavu-fonts-ttf
  freefont-ttf
  liberation-fonts-ttf
  symbola

-- 
Alex

  parent reply	other threads:[~2014-11-01  9:36 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-28  6:53 [PATCH 2/2] gnu: Add 'ttf-liberation' Alex Kost
2014-10-28  8:10 ` Ludovic Courtès
2014-10-29 22:16   ` Andreas Enge
2014-10-30  7:27     ` Alex Kost
2014-10-30  7:56       ` Andreas Enge
2014-10-30 12:52         ` Alex Kost
2014-10-30 13:36           ` Andreas Enge
2014-10-30 18:55             ` Alex Kost
2014-10-30 17:20           ` Font package naming convention Ludovic Courtès
2014-10-30 17:32             ` Andreas Enge
2014-10-30 22:54               ` Ludovic Courtès
2014-10-30 18:55             ` Alex Kost
     [not found]               ` <20141030191743.GB19999@debian.eduroam.u-bordeaux.fr>
2014-10-30 22:02                 ` Alex Kost
2014-10-31 17:58                   ` Andreas Enge
2014-10-31 18:00                     ` Andreas Enge
2014-10-31 21:30                     ` Ludovic Courtès
2014-11-01  9:52                       ` Andreas Enge
2014-11-02 17:18                         ` Ludovic Courtès
2014-11-02 17:49                           ` Andreas Enge
2014-11-03  8:53                             ` Ludovic Courtès
2014-11-03  9:30                               ` Andreas Enge
2014-11-03 13:36                                 ` Alex Kost
2014-11-03 20:28                                 ` Ludovic Courtès
2014-11-19  9:01                                 ` Ludovic Courtès
2014-11-19 10:22                                   ` Andreas Enge
2014-11-20  7:09                                   ` Alex Kost
2014-11-23 20:13                                     ` [PATCH] gnu: Add 'font-liberation' Alex Kost
2014-11-24 14:12                                       ` Ludovic Courtès
2014-11-01  9:36                     ` Alex Kost [this message]
2014-11-01  9:45                       ` Font package naming convention Andreas Enge
2014-11-01 10:55                         ` Alex Kost

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fve3s1nl.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.