From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2Njq-0000H4-HI for guix-patches@gnu.org; Sun, 23 Apr 2017 16:04:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2Njm-0003wo-Px for guix-patches@gnu.org; Sun, 23 Apr 2017 16:04:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:38593) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d2Njm-0003wk-L4 for guix-patches@gnu.org; Sun, 23 Apr 2017 16:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d2Njm-0004Av-AI for guix-patches@gnu.org; Sun, 23 Apr 2017 16:04:02 -0400 Subject: bug#26620: [PATCH] gnu: Add font-linuxlibertine. Resent-Message-ID: From: Kei Kebreau References: <20170423123104.13184-1-rekado@elephly.net> Date: Sun, 23 Apr 2017 16:03:13 -0400 In-Reply-To: <20170423123104.13184-1-rekado@elephly.net> (Ricardo Wurmus's message of "Sun, 23 Apr 2017 14:31:04 +0200") Message-ID: <87shkyopry.fsf@openmailbox.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ricardo Wurmus Cc: 26620@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: > * gnu/packages/fonts.scm (font-linuxlibertine): New variable. > --- > gnu/packages/fonts.scm | 59 ++++++++++++++++++++++++++++++++++++++++++++= +++++- > 1 file changed, 58 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm > index 6579a66e4..2fb630ee6 100644 > --- a/gnu/packages/fonts.scm > +++ b/gnu/packages/fonts.scm > @@ -5,7 +5,7 @@ > ;;; Copyright =C2=A9 2014 Alex Kost > ;;; Copyright =C2=A9 2015 Sou Bunnbu > ;;; Copyright =C2=A9 2015 Eric Dvorsak > -;;; Copyright =C2=A9 2015 Ricardo Wurmus > +;;; Copyright =C2=A9 2015, 2017 Ricardo Wurmus > ;;; Copyright =C2=A9 2015, 2016 Leo Famulari > ;;; Copyright =C2=A9 2016, 2017 ng0 > ;;; Copyright =C2=A9 2016 Jookia <166291@gmail.com> > @@ -370,6 +370,63 @@ and Bitstream Vera Sans Mono). > The Liberation Fonts are sponsored by Red Hat.") > (license license:silofl1.1))) >=20=20 > +(define-public font-linuxlibertine > + (package > + (name "font-linuxlibertine") > + (version "5.3.0") > + (source (origin > + (method url-fetch/tarbomb) > + (uri (string-append "mirror://sourceforge/linuxlibertine/" > + "linuxlibertine/" version > + "/LinLibertineSRC_" version "_2012_07_= 02.tgz")) > + (sha256 > + (base32 > + "0x7cz6hvhpil1rh03rax9zsfzm54bh7r4bbrq8rz673gl9h47v0v"))= )) > + (build-system gnu-build-system) > + (arguments > + `(#:tests? #f ; there are no tests > + #:modules ((guix build utils) > + (guix build gnu-build-system) > + (srfi srfi-1) > + (srfi srfi-26)) > + #:phases > + (modify-phases %standard-phases > + (delete 'configure) > + (replace 'build > + (lambda _ > + (let ((compile > + (lambda (name ext) > + (zero? (system* > + "fontforge" "-lang=3Dff" > + "-c" (string-append "Open('" name "');" > + "Generate('" > + (basename name "sfd") = ext > + "')")))))) > + (every (lambda (name) > + (and (compile name "ttf") > + (compile name "otf"))) > + (find-files "." "\\.sfd$"))))) > + (replace 'install > + (lambda* (#:key outputs #:allow-other-keys) > + (let ((font-dir (string-append (assoc-ref outputs "out") > + "/share/fonts/truetype"))) > + (mkdir-p font-dir) > + (for-each (cut install-file <> font-dir) > + (find-files "." "\\.(otf|ttf)$")) > + #t)))))) > + (native-inputs > + `(("fontforge" ,fontforge))) > + (home-page "http://www.linuxlibertine.org/") > + (synopsis "Serif and sans serif typefaces") > + (description "The Linux Libertine fonts is a set of typefaces contai= ning > +both a Serif version (\"Linux Libertine\") and a Sans Serif (\"Linux > +Biolinum\") designed to be used together as an alternative for Times/Tim= es New > +Roman and Helvetica/Arial. The Serif typeface comes in two shapes and t= wo > +weights, and with a Small Capitals version of the regular typeface. Lin= ux > +Biolinum is available in both Regular and Bold weights.") > + ;; The fonts are released under either of these licenses. > + (license (list license:gpl3+ license:silofl1.1)))) > + I might be missing it but I see GPL2+, not GPL3+, in the source directory. > (define-public font-terminus > (package > (name "font-terminus") Otherwise LGTM. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAlj9CIEACgkQ5qXuPBlG eg3BHQ/+OyRzLPfQVCbqYv61Ahaf73SaAjsvNmybsVwm/Yup2rUx01ZVhgqAKd9k 9O0Ic02UmB6RL/5oJnWT6mp1MspeUnxWQQXxuigCNXy0opELTFJ2KNnZRJgxKuFa IM7tALepfVWgg8D3aCOQo3nn2DJ26P4+UkVCPr9roaxK/TgVdBzpjt2QXd80g8+v K4c4raS8ETaHkDoEBqBQoxQCoiXsIBrmTo8XV95BHuInGP1DDf6avJGrd+zvhSuM Min70XaXg9I1zCppFsENHS6n93xK9ApJHFotR9clMTv4XGozDnL6H1hdno2cwX4T GtAJWVE8tGg+74D2CJ9LhWP72BaadS74xEnSUzfJckisKJfRXyARMOilIEqQd6yg 5CHQyjEhEWtibHLhru2V8N/lPTqMdxwQZkdK0EoDp/L2WNs528+A21RTnvz6QUoU LEHpe47Orp5GloknnfZEX2+/rf64m8fvj07pXXTkndTdXzAZdBaE78ZhACnQ43YS Y9qbgGKOfLfqEXwPFfCeqjObFz8B4+rQh8V4clLoMrGvFDw6XrGNEcHmZ7zLoxJG YhLAsAjszk0LsJW7q9WYJbGxPZYCh1QdiP5EDOMvd2qQyJP9fUJLe+dwqkrqycSs QCjZKs2vhYxBD8BpuH3U1s+sVcpbE62/5cvC52Y3flcpw6FkBAk= =LUo5 -----END PGP SIGNATURE----- --=-=-=--