From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from eggs.gnu.org ([2001:4830:134:3::10]:35685)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1dyjCj-0003XA-Iy
	for guix-patches@gnu.org; Sun, 01 Oct 2017 14:43:07 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1dyjCg-0002It-NU
	for guix-patches@gnu.org; Sun, 01 Oct 2017 14:43:05 -0400
Received: from debbugs.gnu.org ([208.118.235.43]:34428)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
	id 1dyjCg-0002IS-EJ
	for guix-patches@gnu.org; Sun, 01 Oct 2017 14:43:02 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1dyjCg-0002ts-0n
	for guix-patches@gnu.org; Sun, 01 Oct 2017 14:43:02 -0400
Subject: [bug#28594] nototools (required for building Noto from source)
Resent-Message-ID: <handler.28594.B28594.150688337611135@debbugs.gnu.org>
Date: Sun, 1 Oct 2017 18:41:51 +0000
From: ng0 <ng0@infotropique.org>
Message-ID: <20171001184151.i3nilckvtk4onfo6@abyayala>
References: <20170925121841.hcaukrjxftvbyvnk@abyayala>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="sp3wdxn22kd4m3rv"
Content-Disposition: inline
In-Reply-To: <20170925121841.hcaukrjxftvbyvnk@abyayala>
List-Id: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
	<mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/guix-patches/>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
	<mailto:guix-patches-request@gnu.org?subject=subscribe>
Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org
Sender: "Guix-patches" <guix-patches-bounces+kyle=kyleam.com@gnu.org>
To: 28594@debbugs.gnu.org


--sp3wdxn22kd4m3rv
Content-Type: multipart/mixed; boundary="majruksrbmfe7l7a"
Content-Disposition: inline


--majruksrbmfe7l7a
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Update, using the snapshot nototools tagged per request.
--=20
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://krosos.org/dist/keys/
https://www.infotropique.org https://krosos.org

--majruksrbmfe7l7a
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment; filename="0001-gnu-python-fonttools-Update-to-3.15.1.patch"
Content-Transfer-Encoding: quoted-printable

=46rom fd3b03257e7382b555986c0a64300ce6c9ff03fa Mon Sep 17 00:00:00 2001
=46rom: ng0 <ng0@infotropique.org>
Date: Wed, 20 Sep 2017 11:31:51 +0000
Subject: [PATCH 1/7] gnu: python-fonttools: Update to 3.15.1.

* gnu/packages/python.scm (python-fonttools): Update to 3.15.1.
(source)[uri]: Use 'pypi-uri'.
---
 gnu/packages/python.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 77c4a8347..e8af186f8 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -23,7 +23,7 @@
 ;;; Copyright =C2=A9 2016 Daniel Pimentel <d4n1@d4n1.org>
 ;;; Copyright =C2=A9 2016 Sou Bunnbu <iyzsong@gmail.com>
 ;;; Copyright =C2=A9 2016 Troy Sankey <sankeytms@gmail.com>
-;;; Copyright =C2=A9 2016, 2017 ng0 <contact.ng0@cryptolab.net>
+;;; Copyright =C2=A9 2016, 2017 ng0 <ng0@infotropique.org>
 ;;; Copyright =C2=A9 2016 Dylan Jeffers <sapientech@sapientech@openmailbox=
=2Eorg>
 ;;; Copyright =C2=A9 2016 David Craven <david@craven.ch>
 ;;; Copyright =C2=A9 2016, 2017 Marius Bakke <mbakke@fastmail.com>
@@ -7361,15 +7361,13 @@ add functionality and customization to your project=
s with their own plugins.")
 (define-public python-fonttools
   (package
     (name "python-fonttools")
-    (version "2.5")
+    (version "3.15.1")
     (source (origin
               (method url-fetch)
-              (uri (string-append
-                    "https://pypi.python.org/packages/source/F/FontTools/"
-                    "fonttools-" version ".tar.gz"))
+              (uri (pypi-uri "fonttools" version ".zip"))
               (sha256
                (base32
-                "08ay3x4ijarwhl60gqx2i9jzq6pxs20p4snc2d1q5jagh4rn39lb"))))
+                "1hhj97izwliy0vybmza72d90l5d4mcn50y8akq7kyccfl82vdx4d"))))
     (build-system python-build-system)
     (arguments
      '(#:test-target "check"
@@ -7383,6 +7381,8 @@ add functionality and customization to your projects =
with their own plugins.")
              (substitute* "setup.py"
                (("^[ \t]*extra_path *=3D *'FontTools',") ""))
              #t)))))
+    (native-inputs
+     `(("unzip" ,unzip)))
     (home-page "https://github.com/behdad/fonttools")
     (synopsis "Tools to manipulate font files")
     (description
--=20
2.14.2


--majruksrbmfe7l7a
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment; filename="0002-gnu-Add-python2-ufolib.patch"
Content-Transfer-Encoding: quoted-printable

=46rom 3f92924aa71d63beb1ade69261e17da26969eee9 Mon Sep 17 00:00:00 2001
=46rom: ng0 <ng0@infotropique.org>
Date: Wed, 20 Sep 2017 11:39:29 +0000
Subject: [PATCH 2/7] gnu: Add python2-ufolib.

* gnu/packages/python.scm (python2-ufolib): New variable.
---
 gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e8af186f8..052547316 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7398,6 +7398,32 @@ from an XML-based format.")
 (define-public python2-fonttools
   (package-with-python2 python-fonttools))
=20
+(define-public python2-ufolib
+  (package
+    (name "python2-ufolib")
+    (version "2.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "ufoLib" version ".zip"))
+       (sha256
+        (base32 "1njin1465qqzshnrvcl5sbv0bsy15gj6fycbw4lmcnwkx5sldgyx"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2))
+    (propagated-inputs
+     `(("python2-fonttools" ,python2-fonttools)))
+    (native-inputs
+     `(("unzip" ,unzip)
+       ("python2-pytest-3.0" ,python2-pytest-3.0)
+       ("python2-pytest-runner" ,python2-pytest-runner)))
+    (home-page "https://github.com/unified-font-object/ufoLib")
+    (synopsis "Low-level UFO reader and writer.")
+    (description
+     "ufoLib reads and writes Unified Font Object (UFO)
+files.  UFO is a file format that stores fonts source files.")
+    (license license:bsd-3)))
+
 (define-public python-ly
   (package
     (name "python-ly")
--=20
2.14.2


--majruksrbmfe7l7a
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment; filename="0003-gnu-Add-python2-setuptools-scm-git-archive.patch"
Content-Transfer-Encoding: quoted-printable

=46rom 317715f0addbea342adbb7d02482f11390cf8ad1 Mon Sep 17 00:00:00 2001
=46rom: ng0 <ng0@infotropique.org>
Date: Wed, 20 Sep 2017 11:49:31 +0000
Subject: [PATCH 3/7] gnu: Add python2-setuptools-scm-git-archive.

* gnu/packages/python.scm (python2-setuptools-scm-git-archive): New variabl=
e.
---
 gnu/packages/python.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 052547316..de42e6835 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7424,6 +7424,28 @@ from an XML-based format.")
 files.  UFO is a file format that stores fonts source files.")
     (license license:bsd-3)))
=20
+(define-public python2-setuptools-scm-git-archive
+  (package
+    (name "python2-setuptools-scm-git-archive")
+    (version "1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "setuptools_scm_git_archive" version))
+       (sha256
+        (base32
+         "1nii1sz5jq75ilf18bjnr11l9rz1lvdmyk66bxl7q90qan85yhjj"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2))
+    (propagated-inputs
+     `(("python2-setuptools-scm" ,python2-setuptools-scm)))
+    (home-page "https://github.com/Changaco/setuptools_scm_git_archive/")
+    (synopsis "setuptools_scm plugin for git archives")
+    (description
+     "setuptools_scm plugin for git archives")
+    (license license:expat)))
+
 (define-public python-ly
   (package
     (name "python-ly")
--=20
2.14.2


--majruksrbmfe7l7a
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment; filename="0004-gnu-Add-python2-pyclipper.patch"
Content-Transfer-Encoding: quoted-printable

=46rom 4fbfc2bd54a173fba4a38547446e5e10aeef035d Mon Sep 17 00:00:00 2001
=46rom: ng0 <ng0@infotropique.org>
Date: Wed, 20 Sep 2017 12:00:41 +0000
Subject: [PATCH 4/7] gnu: Add python2-pyclipper.

* gnu/packages/python.scm (python2-pyclipper): New variable.
---
 gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index de42e6835..36be2e34a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7446,6 +7446,32 @@ files.  UFO is a file format that stores fonts sourc=
e files.")
      "setuptools_scm plugin for git archives")
     (license license:expat)))
=20
+(define-public python2-pyclipper
+(package
+  (name "python2-pyclipper")
+  (version "1.0.6")
+  (source
+   (origin
+     (method url-fetch)
+     (uri (pypi-uri "pyclipper" version ".zip"))
+     (sha256
+      (base32
+       "1zpmwv3bya3j984y5cf9x9d5108kf6mxldcba68wiq0frv5qrssw"))))
+  (build-system python-build-system)
+  (arguments
+   `(#:python ,python-2
+     #:tests? #f)); 8 Tests fail, 37 succeed
+  (propagated-inputs
+   `(("python2-setuptools-scm-git-archive" ,python2-setuptools-scm-git-arc=
hive)))
+  (native-inputs
+   `(("unzip" ,unzip)))
+  (home-page "https://github.com/greginvm/pyclipper")
+  (synopsis "Wrapper for Angus Johnson's Clipper library")
+  (description
+   "Pyclipper is a Cython wrapper for the C++ translation of the
+Angus Johnson's Clipper library (ver. 6.2.1)")
+  (license license:expat)))
+
 (define-public python-ly
   (package
     (name "python-ly")
--=20
2.14.2


--majruksrbmfe7l7a
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment; filename="0005-gnu-Add-python2-booleanoperations.patch"
Content-Transfer-Encoding: quoted-printable

=46rom 2cc7723d764503b031b8978db7c9f637d19fac11 Mon Sep 17 00:00:00 2001
=46rom: ng0 <ng0@infotropique.org>
Date: Wed, 20 Sep 2017 18:07:47 +0000
Subject: [PATCH 5/7] gnu: Add python2-booleanoperations.

* gnu/packages/python.scm (python2-booleanoperations): New variable.
---
 gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 36be2e34a..90cc5283f 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7472,6 +7472,35 @@ files.  UFO is a file format that stores fonts sourc=
e files.")
 Angus Johnson's Clipper library (ver. 6.2.1)")
   (license license:expat)))
=20
+(define-public python2-booleanoperations
+  (package
+    (name "python2-booleanoperations")
+    (version "0.7.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "booleanOperations" version ".zip"))
+       (sha256
+        (base32
+         "1hw42fazdpvsn77glx96hwsj9l17mvx37sc5707s08y5w6fx16mn"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2))
+    (native-inputs
+     `(("unzip" ,unzip)
+       ("python2-pytest-3.0" ,python2-pytest-3.0)
+       ("python2-pytest-runner" ,python2-pytest-runner)))
+    (propagated-inputs
+     `(("python-fonttools" ,python2-fonttools)
+       ("python-pyclipper" ,python2-pyclipper)
+       ("python-ufolib" ,python2-ufolib)))
+    (home-page "https://github.com/typemytype/booleanOperations")
+    (synopsis "Boolean operations on paths")
+    (description
+     "BooleanOperations provides a python library that enables
+boolean operations on paths.")
+    (license license:expat)))
+
 (define-public python-ly
   (package
     (name "python-ly")
--=20
2.14.2


--majruksrbmfe7l7a
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment; filename="0006-gnu-Add-python2-defcon.patch"
Content-Transfer-Encoding: quoted-printable

=46rom b3b2c14cd0d67c3a2814485af4c68bf6e27cb879 Mon Sep 17 00:00:00 2001
=46rom: ng0 <ng0@infotropique.org>
Date: Mon, 25 Sep 2017 11:13:03 +0000
Subject: [PATCH 6/7] gnu: Add python2-defcon.

* gnu/packages/python.scm (python2-defcon): New variable.
---
 gnu/packages/python.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 90cc5283f..6e0dfd01c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7501,6 +7501,39 @@ Angus Johnson's Clipper library (ver. 6.2.1)")
 boolean operations on paths.")
     (license license:expat)))
=20
+(define-public python2-defcon
+  (package
+    (name "python2-defcon")
+    (version "0.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "defcon" version ".zip"))
+       (sha256
+        (base32
+         "1f41w54fdjy9izxcwzqa142kd56whqsg9nq5k4508jb6iip84h89"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2))
+    (native-inputs
+     `(("unzip" ,unzip)
+       ("python2-pytest-3.0" ,python2-pytest-3.0)
+       ("python2-pytest-runner" ,python2-pytest-runner)))
+    (propagated-inputs
+     `(("python2-fonttools" ,python2-fonttools)
+       ("python2-ufolib" ,python2-ufolib)))
+    (home-page "https://pypi.python.org/pypi/defcon")
+    (synopsis "set of flexible objects for representing UFO data")
+    (description
+     "Defcon is a set of UFO based objects optimized for use in
+font editing applications.  The objects are built to be lightweight,
+fast and flexible.  The objects are very bare-bones and they are not
+meant to be end-all, be-all objects.  Rather, they are meant to provide
+base functionality so that you can focus on your application=E2=80=99s beh=
avior,
+not object observing or maintaining cached data.  Defcon implements
+UFO3 as described by the UFO font format.")
+    (license license:expat)))
+
 (define-public python-ly
   (package
     (name "python-ly")
--=20
2.14.2


--majruksrbmfe7l7a
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment; filename="0007-gnu-Add-nototools.patch"
Content-Transfer-Encoding: quoted-printable

=46rom 6c1178def4bcbfd6f55f0aee44562070230d2e96 Mon Sep 17 00:00:00 2001
=46rom: ng0 <ng0@infotropique.org>
Date: Mon, 25 Sep 2017 12:12:55 +0000
Subject: [PATCH 7/7] gnu: Add nototools.

* gnu/packages/fontutils.scm (nototools): New variable.
---
 gnu/packages/fontutils.scm | 44 ++++++++++++++++++++++++++++++++++++++++++=
+-
 1 file changed, 43 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 15401f652..eb4f7fb90 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -5,6 +5,7 @@
 ;;; Copyright =C2=A9 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright =C2=A9 2017 Rene Saavedra <rennes@openmailbox.org>
 ;;; Copyright =C2=A9 2017 Leo Famulari <leo@famulari.name>
+;;; Copyright =C2=A9 2017 ng0 <ng0@infotropique.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -44,7 +45,8 @@
   #:use-module (guix svn-download)
   #:use-module (guix git-download)
   #:use-module (guix build-system cmake)
-  #:use-module (guix build-system gnu))
+  #:use-module (guix build-system gnu)
+  #:use-module (guix build-system python))
=20
 (define-public freetype
   (package
@@ -565,3 +567,43 @@ opentype fonts.  You can save fonts in many different =
outline formats, and
 generate bitmaps.")
    (license license:gpl3+)
    (home-page "https://fontforge.github.io/en-US/")))
+
+(define-public nototools
+    (package
+      (name "nototools")
+      (version "20170925")
+      (source
+       (origin
+         (method url-fetch)
+         (uri (string-append "https://github.com/googlei18n/nototools/"
+                             "archive/v2017-09-25-tooling-for-phase3-"
+                             "update.tar.gz"))
+         (file-name (string-append name "-" version ".tar.gz"))
+         (sha256
+          (base32
+           "1pvacw18cm9l4sb66pqyjc7hc74xhhfxc7kd5ald8lixf4wzg0s8"))))
+      (build-system python-build-system)
+      (arguments
+       `(#:python ,python-2))
+      (propagated-inputs
+       `(("python2-booleanoperations" ,python2-booleanoperations)
+         ("python2-defcon" ,python2-defcon)
+         ("python2-fonttools" ,python2-fonttools)
+         ("python2-pillow" ,python2-pillow)
+         ("python2-pyclipper" ,python2-pyclipper)
+         ("python2-ufolib" ,python2-ufolib)))
+      (home-page "https://github.com/googlei18n/nototools")
+      (synopsis "Noto fonts support tools and scripts")
+      (description
+       "Nototools is a python package containing python scripts used to
+maintain the Noto Fonts project.")
+      (license (list license:asl2.0
+                     ;; Sample texts are attributed to UN and OHCHR.
+                     ;; The permissions on the UDHR are pretty lax:
+                     ;; http://www.ohchr.org/EN/UDHR/Pages/Introduction.as=
px
+                     ;; "If UDHR translations or materials are reproduced,=
 users
+                     ;; should make reference to this website as a source =
by
+                     ;; providing a link."
+                     license:public-domain
+                     license:non-copyleft "file://sample_texts/attribution=
s.txt"
+                     "See sample_texts/attributions.txt in the distributio=
n."))))
--=20
2.14.2


--majruksrbmfe7l7a--

--sp3wdxn22kd4m3rv
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlnRNu4ACgkQ4i+bv+40
hYi7KRAAkI7ELgsWv0nRVwe+y4gF6DFeIdNoRmeBbwO7KlXlqzAe6XEQL/+HkgKA
LwBFX+ud+fKa9cGJXgYymMLW8KjGb+pA783Js2qgkAINaxbjJ349bvKwSYRXKF/b
EfxZ5WVCYBIK5BONQFRxvwnTTIC22xldi6dZ3rOo26RgEXtyJW2Wz5pBjs6TxttV
U1mmemjOnANPu1Kk93NKRQcuxIjZOZmIkMR0OzExC32bXMSxo5BMTql58EUzu0jv
Z0JhwynSF6cvMiHCMZbFMsLj/puivBMQ6TFVUPyPpG7rMOOJZrGF1o2tx5RclvM7
NxO3h+Y8oYPsep8694L5jBmyZcPg8w0nOsqiv6XTYfnEQrMDWd9VXnV2wTX0/Iyg
pyemBkIE2yn2uAigSTxixhYR1IKAxdFCzqDBdGm+VfilgUY8ofjRYpMel04ofvpc
PIJKK6Wm5IDTAJiza0PJiH4LdWI796G6sLSj/sg8T0yc9AF/5Ch/nQ3NY04Nj34x
/H1ARXUbi0bMd2NnHWXevU2AXZ8OetLSsh8OvN9tg+c0IktVGyYRe22a/MI6cDOc
wgbOy85xoHnoLR13gstHtOiITsRNplzifC0CB86lBKzVdVadUnNFb8WphJPxiwDR
UaM2kG7E7fy2XrThvEttfoyl+RaToU55Godx1ZrJ9UF/nToY3mU=
=sKOV
-----END PGP SIGNATURE-----

--sp3wdxn22kd4m3rv--