From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: [PATCH] Add libotf. Date: Fri, 19 Feb 2016 18:29:51 +0800 Message-ID: <87y4ah6li8.fsf@member.fsf.org> References: <87fuwpf23g.fsf@gnu.org> 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]:39888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWiL3-0005jb-Kn for guix-devel@gnu.org; Fri, 19 Feb 2016 05:31:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWiKz-0007Kk-KC for guix-devel@gnu.org; Fri, 19 Feb 2016 05:31:05 -0500 Received: from smtp13.openmailbox.org ([62.4.1.47]:48000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWiKz-0007KU-Dv for guix-devel@gnu.org; Fri, 19 Feb 2016 05:31:01 -0500 In-Reply-To: <87fuwpf23g.fsf@gnu.org> (Roel Janssen's message of "Fri, 19 Feb 2016 11:04:19 +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: Roel Janssen Cc: guix-devel Roel Janssen writes: > From 64cfdae64cfe9af4ff162935edd4e208a0f5afc1 Mon Sep 17 00:00:00 2001 > From: Roel Janssen > Date: Fri, 19 Feb 2016 11:00:06 +0100 > Subject: [PATCH] gnu: Add libotf. > > * gnu/packages/fontutils.scm (libotf): New variable. > --- > gnu/packages/fontutils.scm | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > > diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm > index 7b5b330..5cd7c56 100644 > --- a/gnu/packages/fontutils.scm > +++ b/gnu/packages/fontutils.scm > @@ -259,6 +259,27 @@ resolution.") > (license license:gpl2+) > (home-page "http://potrace.sourceforge.net/"))) >=20=20 > +(define-public libotf > + (package > + (name "libotf") > + (version "0.9.13") > + (source (origin > + (method url-fetch) > + (uri (string-append "http://download.savannah.gnu.org/rele= ases/m17n/libotf-" this line is too long, shouldn=E2=80=99t more than 80 chars. > + version ".tar.gz")) > + (sha256 > + (base32 "0239zvfan56w7vrppriwy77fzb10ag9llaz15nsraps2a2x6= di3v")))) > + (build-system gnu-build-system) > + (native-inputs > + `(("freetype" ,freetype))) No need to be =E2=80=98native-inputs=E2=80=99. And does =E2=80=98freetype= =E2=80=99 is in the =E2=80=98libotf.pc=E2=80=99 file? If so, this should be in =E2=80=98propagate-inputs=E2=80=99. for the details. > + (home-page "http://www.nongnu.org/m17n/") > + (synopsis "A Library for handling OpenType Font") > + (description "The library can read Open Type Layout Tables from OTF = file.=20 > +Currently these tables are supported; head, name, cmap, GDEF, GSUB, and = GPOS. > +It can convert a Unicode character sequence to a glyph code sequence by = using > +the above tables.") The =E2=80=98synopsis=E2=80=99 shouldn=E2=80=99t start with =E2=80=9CA=E2= =80=9D or =E2=80=9CAn=E2=80=9D, expect for GNU packages. And I think =E2=80=9CThis library=E2=80=9D is better than =E2=80= =9CThe library=E2=80=9D for =E2=80=98description=E2=80=99. > + (license license:lgpl2.0+))) > + > (define-public libspiro > (package > (name "libspiro")