From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Font package naming convention Date: Sat, 01 Nov 2014 12:36:30 +0300 Message-ID: <87fve3s1nl.fsf@gmail.com> References: <87oaswbs72.fsf@gmail.com> <87bnowlimh.fsf@gnu.org> <20141029221647.GA29707@debian> <87d29af24q.fsf@gmail.com> <20141030075640.GB27584@debian> <8738a5g1nh.fsf@gmail.com> <87ioj1sccx.fsf_-_@gnu.org> <87ppd9e6ah.fsf@gmail.com> <20141030191743.GB19999@debian.eduroam.u-bordeaux.fr> <878ujxdxmj.fsf@gmail.com> <20141031175840.GA16902@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkV70-0003du-Tv for guix-devel@gnu.org; Sat, 01 Nov 2014 05:36:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XkV6v-0007v4-5q for guix-devel@gnu.org; Sat, 01 Nov 2014 05:36:46 -0400 In-Reply-To: <20141031175840.GA16902@debian> (Andreas Enge's message of "Fri, 31 Oct 2014 18:58:40 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org 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 guidelin= es. > 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 follo= w, > 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 : If a package provides only truetype font(s), name it =E2=80=9Cttf-=E2=80=A6= =E2=80=9D, other font packages should contain "font" in their names; or ... Ludovic Court=C3=A8s (2014-11-01 00:30 +0300) wrote: > I=E2=80=99m not completely sure we can come up with a strict algorithm fo= r the > naming scheme that we will not want to change two weeks later. ;-) > > Here=E2=80=99s a possible answer to the above questions, informally: > > =E2=80=A2 Use =E2=80=98font-FOUNDRY-FAMILY=E2=80=99 or =E2=80=98font-FA= MILY=E2=80=99 or > =E2=80=98font-FOUNDRY-COLLECTION=E2=80=99 or =E2=80=98font-COLLECTION= =E2=80=99 as the name. > > Examples: =E2=80=98font-bitstream-vera=E2=80=99, =E2=80=98font-libera= tion=E2=80=99, =E2=80=98font-unifont=E2=80=99. > > =E2=80=A2 Use =E2=80=98font-.*-FORMAT=E2=80=99 only when there happens = to be separate packages > for separate formats. FORMAT would be the format short name, like > =E2=80=98ttf=E2=80=99, =E2=80=98otf=E2=80=99, =E2=80=98type1=E2=80=99. > > 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=E2=80=99s 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: =E2=80=9Cfreefont=E2=80=9D, =E2=80=9Cfont-bitstream-vera=E2=80=9D, =E2= =80=9Cterminus-font=E2=80=9D, =E2=80=9Cliberation-fonts=E2=80=9D. 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 --=20 Alex