* [bug#28594] nototools (required for building Noto from source)
@ 2017-09-25 12:18 ng0
2017-10-01 18:41 ` ng0
0 siblings, 1 reply; 17+ messages in thread
From: ng0 @ 2017-09-25 12:18 UTC (permalink / raw)
To: 28594
[-- Attachment #1.1: Type: text/plain, Size: 274 bytes --]
This patch series adds the python2 application set "nototools".
It is a requirement for resolving #28404 (Google Noto Fonts).
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://krosos.org/dist/keys/
https://www.infotropique.org https://krosos.org
[-- Attachment #1.2: 0001-gnu-python-fonttools-Update-to-3.15.1.patch --]
[-- Type: text/plain, Size: 2296 bytes --]
From f47baab3fecf69913409693254460a49cc8c4b24 Mon Sep 17 00:00:00 2001
From: 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 3e266c5ef..fb149d91c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -23,7 +23,7 @@
;;; Copyright © 2016 Daniel Pimentel <d4n1@d4n1.org>
;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2016 Troy Sankey <sankeytms@gmail.com>
-;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net>
+;;; Copyright © 2016, 2017 ng0 <ng0@infotropique.org>
;;; Copyright © 2016 Dylan Jeffers <sapientech@sapientech@openmailbox.org>
;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
@@ -7360,15 +7360,13 @@ add functionality and customization to your projects 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"
@@ -7382,6 +7380,8 @@ add functionality and customization to your projects with their own plugins.")
(substitute* "setup.py"
(("^[ \t]*extra_path *= *'FontTools',") ""))
#t)))))
+ (native-inputs
+ `(("unzip" ,unzip)))
(home-page "https://github.com/behdad/fonttools")
(synopsis "Tools to manipulate font files")
(description
--
2.14.1
[-- Attachment #1.3: 0002-gnu-Add-python2-ufolib.patch --]
[-- Type: text/plain, Size: 1648 bytes --]
From d73dfb5b471adaa7752f4ce2140e879f629d303c Mon Sep 17 00:00:00 2001
From: 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 fb149d91c..3a9a39a7d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7397,6 +7397,32 @@ from an XML-based format.")
(define-public python2-fonttools
(package-with-python2 python-fonttools))
+(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")
--
2.14.1
[-- Attachment #1.4: 0003-gnu-Add-python2-setuptools-scm-git-archive.patch --]
[-- Type: text/plain, Size: 1556 bytes --]
From e34aa6f3d4ca6f0e989b1d8fbaf7985cd2891099 Mon Sep 17 00:00:00 2001
From: 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 variable.
---
gnu/packages/python.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 3a9a39a7d..ae11c3b3b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7423,6 +7423,28 @@ from an XML-based format.")
files. UFO is a file format that stores fonts source files.")
(license license:bsd-3)))
+(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")
--
2.14.1
[-- Attachment #1.5: 0004-gnu-Add-python2-pyclipper.patch --]
[-- Type: text/plain, Size: 1633 bytes --]
From 560acb742a36d97f20d78a5ac5d388a44c3b2ed2 Mon Sep 17 00:00:00 2001
From: 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 ae11c3b3b..2a13a6466 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7445,6 +7445,32 @@ files. UFO is a file format that stores fonts source files.")
"setuptools_scm plugin for git archives")
(license license:expat)))
+(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-archive)))
+ (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")
--
2.14.1
[-- Attachment #1.6: 0005-gnu-Add-python2-booleanoperations.patch --]
[-- Type: text/plain, Size: 1814 bytes --]
From 05901d74378199516472562eaa175a4025bd438b Mon Sep 17 00:00:00 2001
From: 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 2a13a6466..4bdd05a78 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7471,6 +7471,35 @@ files. UFO is a file format that stores fonts source files.")
Angus Johnson's Clipper library (ver. 6.2.1)")
(license license:expat)))
+(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")
--
2.14.1
[-- Attachment #1.7: 0006-gnu-Add-python2-defcon.patch --]
[-- Type: text/plain, Size: 2073 bytes --]
From a72beedccffc8c6baef91bf2548dfec4ff286d87 Mon Sep 17 00:00:00 2001
From: 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 4bdd05a78..75bf2ab13 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7500,6 +7500,39 @@ Angus Johnson's Clipper library (ver. 6.2.1)")
boolean operations on paths.")
(license license:expat)))
+(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’s behavior,
+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")
--
2.14.1
[-- Attachment #1.8: 0007-gnu-Add-nototools.patch --]
[-- Type: text/plain, Size: 3400 bytes --]
From 53930f87fa54a13fde52246ad30d74e409b4020e Mon Sep 17 00:00:00 2001
From: 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 | 47 +++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 46 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 102def93d..3aec84414 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
+;;; Copyright © 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))
(define-public freetype
(package
@@ -565,3 +567,46 @@ 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
+ (let ((commit "fecf378cf98af95bf603707b99861ce698e4c384")
+ (revision "1"))
+ (package
+ (name "nototools")
+ (version (string-append "0.0.1-" revision "."
+ (string-take commit 7)))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/googlei18n/nototools.git")
+ (commit commit)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "0b2yx4kwniccc8v221rwrzavy1gchm7q658f46cp0wdx44bsr4xj"))))
+ (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.aspx
+ ;; "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/attributions.txt"
+ "See sample_texts/attributions.txt in the distribution.")))))
--
2.14.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#28594] nototools (required for building Noto from source)
2017-09-25 12:18 [bug#28594] nototools (required for building Noto from source) ng0
@ 2017-10-01 18:41 ` ng0
2017-10-01 18:47 ` ng0
0 siblings, 1 reply; 17+ messages in thread
From: ng0 @ 2017-10-01 18:41 UTC (permalink / raw)
To: 28594
[-- Attachment #1.1: Type: text/plain, Size: 204 bytes --]
Update, using the snapshot nototools tagged per request.
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://krosos.org/dist/keys/
https://www.infotropique.org https://krosos.org
[-- Attachment #1.2: 0001-gnu-python-fonttools-Update-to-3.15.1.patch --]
[-- Type: text/plain, Size: 2296 bytes --]
From fd3b03257e7382b555986c0a64300ce6c9ff03fa Mon Sep 17 00:00:00 2001
From: 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 © 2016 Daniel Pimentel <d4n1@d4n1.org>
;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2016 Troy Sankey <sankeytms@gmail.com>
-;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net>
+;;; Copyright © 2016, 2017 ng0 <ng0@infotropique.org>
;;; Copyright © 2016 Dylan Jeffers <sapientech@sapientech@openmailbox.org>
;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
@@ -7361,15 +7361,13 @@ add functionality and customization to your projects 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 *= *'FontTools',") ""))
#t)))))
+ (native-inputs
+ `(("unzip" ,unzip)))
(home-page "https://github.com/behdad/fonttools")
(synopsis "Tools to manipulate font files")
(description
--
2.14.2
[-- Attachment #1.3: 0002-gnu-Add-python2-ufolib.patch --]
[-- Type: text/plain, Size: 1648 bytes --]
From 3f92924aa71d63beb1ade69261e17da26969eee9 Mon Sep 17 00:00:00 2001
From: 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))
+(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")
--
2.14.2
[-- Attachment #1.4: 0003-gnu-Add-python2-setuptools-scm-git-archive.patch --]
[-- Type: text/plain, Size: 1556 bytes --]
From 317715f0addbea342adbb7d02482f11390cf8ad1 Mon Sep 17 00:00:00 2001
From: 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 variable.
---
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)))
+(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")
--
2.14.2
[-- Attachment #1.5: 0004-gnu-Add-python2-pyclipper.patch --]
[-- Type: text/plain, Size: 1633 bytes --]
From 4fbfc2bd54a173fba4a38547446e5e10aeef035d Mon Sep 17 00:00:00 2001
From: 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 source files.")
"setuptools_scm plugin for git archives")
(license license:expat)))
+(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-archive)))
+ (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")
--
2.14.2
[-- Attachment #1.6: 0005-gnu-Add-python2-booleanoperations.patch --]
[-- Type: text/plain, Size: 1814 bytes --]
From 2cc7723d764503b031b8978db7c9f637d19fac11 Mon Sep 17 00:00:00 2001
From: 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 source files.")
Angus Johnson's Clipper library (ver. 6.2.1)")
(license license:expat)))
+(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")
--
2.14.2
[-- Attachment #1.7: 0006-gnu-Add-python2-defcon.patch --]
[-- Type: text/plain, Size: 2073 bytes --]
From b3b2c14cd0d67c3a2814485af4c68bf6e27cb879 Mon Sep 17 00:00:00 2001
From: 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)))
+(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’s behavior,
+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")
--
2.14.2
[-- Attachment #1.8: 0007-gnu-Add-nototools.patch --]
[-- Type: text/plain, Size: 3286 bytes --]
From 6c1178def4bcbfd6f55f0aee44562070230d2e96 Mon Sep 17 00:00:00 2001
From: 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 © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
+;;; Copyright © 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))
(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.aspx
+ ;; "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/attributions.txt"
+ "See sample_texts/attributions.txt in the distribution."))))
--
2.14.2
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#28594] nototools (required for building Noto from source)
2017-10-01 18:41 ` ng0
@ 2017-10-01 18:47 ` ng0
2017-10-13 6:50 ` Christopher Baines
` (6 more replies)
0 siblings, 7 replies; 17+ messages in thread
From: ng0 @ 2017-10-01 18:47 UTC (permalink / raw)
To: 28594
[-- Attachment #1.1: Type: text/plain, Size: 297 bytes --]
ng0 transcribed 16K bytes:
> Update, using the snapshot nototools tagged per request.
And another one, fixing the leading spaces / indentation.
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://krosos.org/dist/keys/
https://www.infotropique.org https://krosos.org
[-- Attachment #1.2: 0001-gnu-python-fonttools-Update-to-3.15.1.patch --]
[-- Type: text/plain, Size: 2296 bytes --]
From fd3b03257e7382b555986c0a64300ce6c9ff03fa Mon Sep 17 00:00:00 2001
From: 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 © 2016 Daniel Pimentel <d4n1@d4n1.org>
;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2016 Troy Sankey <sankeytms@gmail.com>
-;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net>
+;;; Copyright © 2016, 2017 ng0 <ng0@infotropique.org>
;;; Copyright © 2016 Dylan Jeffers <sapientech@sapientech@openmailbox.org>
;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
@@ -7361,15 +7361,13 @@ add functionality and customization to your projects 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 *= *'FontTools',") ""))
#t)))))
+ (native-inputs
+ `(("unzip" ,unzip)))
(home-page "https://github.com/behdad/fonttools")
(synopsis "Tools to manipulate font files")
(description
--
2.14.2
[-- Attachment #1.3: 0002-gnu-Add-python2-ufolib.patch --]
[-- Type: text/plain, Size: 1648 bytes --]
From 3f92924aa71d63beb1ade69261e17da26969eee9 Mon Sep 17 00:00:00 2001
From: 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))
+(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")
--
2.14.2
[-- Attachment #1.4: 0003-gnu-Add-python2-setuptools-scm-git-archive.patch --]
[-- Type: text/plain, Size: 1556 bytes --]
From 317715f0addbea342adbb7d02482f11390cf8ad1 Mon Sep 17 00:00:00 2001
From: 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 variable.
---
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)))
+(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")
--
2.14.2
[-- Attachment #1.5: 0004-gnu-Add-python2-pyclipper.patch --]
[-- Type: text/plain, Size: 1633 bytes --]
From 4fbfc2bd54a173fba4a38547446e5e10aeef035d Mon Sep 17 00:00:00 2001
From: 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 source files.")
"setuptools_scm plugin for git archives")
(license license:expat)))
+(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-archive)))
+ (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")
--
2.14.2
[-- Attachment #1.6: 0005-gnu-Add-python2-booleanoperations.patch --]
[-- Type: text/plain, Size: 1814 bytes --]
From 2cc7723d764503b031b8978db7c9f637d19fac11 Mon Sep 17 00:00:00 2001
From: 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 source files.")
Angus Johnson's Clipper library (ver. 6.2.1)")
(license license:expat)))
+(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")
--
2.14.2
[-- Attachment #1.7: 0006-gnu-Add-python2-defcon.patch --]
[-- Type: text/plain, Size: 2073 bytes --]
From b3b2c14cd0d67c3a2814485af4c68bf6e27cb879 Mon Sep 17 00:00:00 2001
From: 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)))
+(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’s behavior,
+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")
--
2.14.2
[-- Attachment #1.8: 0007-gnu-Add-nototools.patch --]
[-- Type: text/plain, Size: 3212 bytes --]
From e5886bc21629d1f1badd074b48c8155bbdef2859 Mon Sep 17 00:00:00 2001
From: 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..ca10c10b0 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
+;;; Copyright © 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))
(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.aspx
+ ;; "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/attributions.txt"
+ "See sample_texts/attributions.txt in the distribution."))))
--
2.14.2
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#28594] nototools (required for building Noto from source)
2017-10-01 18:47 ` ng0
@ 2017-10-13 6:50 ` Christopher Baines
2017-10-13 6:53 ` Christopher Baines
` (5 subsequent siblings)
6 siblings, 0 replies; 17+ messages in thread
From: Christopher Baines @ 2017-10-13 6:50 UTC (permalink / raw)
To: ng0; +Cc: 28594
[-- Attachment #1: Type: text/plain, Size: 532 bytes --]
On Sun, 1 Oct 2017 18:47:37 +0000
ng0 <ng0@infotropique.org> wrote:
> From fd3b03257e7382b555986c0a64300ce6c9ff03fa Mon Sep 17 00:00:00 2001
> From: 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(-)
This patch looks good to me :)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [bug#28594] nototools (required for building Noto from source)
2017-10-01 18:47 ` ng0
2017-10-13 6:50 ` Christopher Baines
@ 2017-10-13 6:53 ` Christopher Baines
2017-10-13 7:00 ` Christopher Baines
` (4 subsequent siblings)
6 siblings, 0 replies; 17+ messages in thread
From: Christopher Baines @ 2017-10-13 6:53 UTC (permalink / raw)
To: ng0; +Cc: 28594
[-- Attachment #1: Type: text/plain, Size: 752 bytes --]
On Sun, 1 Oct 2017 18:47:37 +0000
ng0 <ng0@infotropique.org> wrote:
> From 3f92924aa71d63beb1ade69261e17da26969eee9 Mon Sep 17 00:00:00 2001
> From: 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(+)
guix lint reports a couple of issues:
gnu/packages/python.scm:7483:5: python2-ufolib@2.1.0: description should start with an upper-case letter or digit
gnu/packages/python.scm:7481:14: python2-ufolib@2.1.0: no period allowed at the end of the synopsis
Apart from that though, I think this looks fine.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [bug#28594] nototools (required for building Noto from source)
2017-10-01 18:47 ` ng0
2017-10-13 6:50 ` Christopher Baines
2017-10-13 6:53 ` Christopher Baines
@ 2017-10-13 7:00 ` Christopher Baines
2017-10-13 7:01 ` Christopher Baines
` (3 subsequent siblings)
6 siblings, 0 replies; 17+ messages in thread
From: Christopher Baines @ 2017-10-13 7:00 UTC (permalink / raw)
To: ng0; +Cc: 28594
[-- Attachment #1: Type: text/plain, Size: 1837 bytes --]
On Sun, 1 Oct 2017 18:47:37 +0000
ng0 <ng0@infotropique.org> wrote:
> * gnu/packages/python.scm (python2-setuptools-scm-git-archive): New
> variable. ---
> 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)))
>
> +(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")
Maybe use something like this for the description:
The setuptools_scm_git_archive package is a plugin to setuptools_scm,
which supports obtaining versions from git archives that belong to
tagged versions.
> + (license license:expat)))
guix lint warns about the synopsis:
gnu/packages/python.scm:7504:14: python2-setuptools-scm-git-archive@1.0: synopsis should start with an upper-case letter or digit
But other than that, this looks good to me.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [bug#28594] nototools (required for building Noto from source)
2017-10-01 18:47 ` ng0
` (2 preceding siblings ...)
2017-10-13 7:00 ` Christopher Baines
@ 2017-10-13 7:01 ` Christopher Baines
2017-10-13 7:04 ` Christopher Baines
` (2 subsequent siblings)
6 siblings, 0 replies; 17+ messages in thread
From: Christopher Baines @ 2017-10-13 7:01 UTC (permalink / raw)
To: ng0; +Cc: 28594
[-- Attachment #1: Type: text/plain, Size: 263 bytes --]
On Sun, 1 Oct 2017 18:47:37 +0000
ng0 <ng0@infotropique.org> wrote:
> * gnu/packages/python.scm (python2-pyclipper): New variable.
> ---
> gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
Looks fine to me :)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [bug#28594] nototools (required for building Noto from source)
2017-10-01 18:47 ` ng0
` (3 preceding siblings ...)
2017-10-13 7:01 ` Christopher Baines
@ 2017-10-13 7:04 ` Christopher Baines
2017-10-13 7:08 ` Christopher Baines
2017-10-13 7:12 ` Christopher Baines
6 siblings, 0 replies; 17+ messages in thread
From: Christopher Baines @ 2017-10-13 7:04 UTC (permalink / raw)
To: ng0; +Cc: 28594
[-- Attachment #1: Type: text/plain, Size: 285 bytes --]
On Sun, 1 Oct 2017 18:47:37 +0000
ng0 <ng0@infotropique.org> wrote:
> * gnu/packages/python.scm (python2-booleanoperations): New variable.
> ---
> gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
This looks fine to me as well.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [bug#28594] nototools (required for building Noto from source)
2017-10-01 18:47 ` ng0
` (4 preceding siblings ...)
2017-10-13 7:04 ` Christopher Baines
@ 2017-10-13 7:08 ` Christopher Baines
2017-10-13 7:12 ` Christopher Baines
6 siblings, 0 replies; 17+ messages in thread
From: Christopher Baines @ 2017-10-13 7:08 UTC (permalink / raw)
To: ng0; +Cc: 28594
[-- Attachment #1: Type: text/plain, Size: 2171 bytes --]
On Sun, 1 Oct 2017 18:47:37 +0000
ng0 <ng0@infotropique.org> wrote:
> * 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)))
>
> +(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")
I'd suggest:
Flexible objects for representing @acronym{UFO, unified font object}
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’s behavior, +not object observing or maintaining cached
> data. Defcon implements +UFO3 as described by the UFO font format.")
> + (license license:expat)))
> +
Maybe markup the first UFO in the description with @acronym as well,
but apart from that, this looks fine.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [bug#28594] nototools (required for building Noto from source)
2017-10-01 18:47 ` ng0
` (5 preceding siblings ...)
2017-10-13 7:08 ` Christopher Baines
@ 2017-10-13 7:12 ` Christopher Baines
2017-10-13 8:23 ` ng0
6 siblings, 1 reply; 17+ messages in thread
From: Christopher Baines @ 2017-10-13 7:12 UTC (permalink / raw)
To: ng0; +Cc: 28594
[-- Attachment #1: Type: text/plain, Size: 3606 bytes --]
On Sun, 1 Oct 2017 18:47:37 +0000
ng0 <ng0@infotropique.org> wrote:
> * 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..ca10c10b0 100644
> --- a/gnu/packages/fontutils.scm
> +++ b/gnu/packages/fontutils.scm
> @@ -5,6 +5,7 @@
> ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
> ;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
> ;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
> +;;; Copyright © 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))
>
> (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.aspx
> + ;; "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/attributions.txt"
> + "See sample_texts/attributions.txt in the
> distribution."))))
This whole patchset looks pretty good to me. I've built all the
packages, but haven't tested them.
guix lint has one complaint here about the license:
gnu/packages/fontutils.scm:591:13: nototools@20170925: invalid license
field
I'm not quite sure what this means.
I think it would be good to fix at least the linting issues, then this
can be merged.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [bug#28594] nototools (required for building Noto from source)
2017-10-13 7:12 ` Christopher Baines
@ 2017-10-13 8:23 ` ng0
2017-10-13 19:34 ` Christopher Baines
0 siblings, 1 reply; 17+ messages in thread
From: ng0 @ 2017-10-13 8:23 UTC (permalink / raw)
To: Christopher Baines; +Cc: 28594
[-- Attachment #1: Type: text/plain, Size: 4202 bytes --]
Christopher Baines transcribed 4.7K bytes:
> On Sun, 1 Oct 2017 18:47:37 +0000
> ng0 <ng0@infotropique.org> wrote:
>
> > * 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..ca10c10b0 100644
> > --- a/gnu/packages/fontutils.scm
> > +++ b/gnu/packages/fontutils.scm
> > @@ -5,6 +5,7 @@
> > ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
> > ;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
> > ;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
> > +;;; Copyright © 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))
> >
> > (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.aspx
> > + ;; "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/attributions.txt"
> > + "See sample_texts/attributions.txt in the
> > distribution."))))
>
> This whole patchset looks pretty good to me. I've built all the
> packages, but haven't tested them.
>
> guix lint has one complaint here about the license:
>
> gnu/packages/fontutils.scm:591:13: nototools@20170925: invalid license
> field
>
> I'm not quite sure what this means.
I think I know it, the non-copyleft needs to be adjusted to the list.
Thanks. I really should run lint for longer patchseries. I admit I do
this not very often.
Thanks for your review.
> I think it would be good to fix at least the linting issues, then this
> can be merged.
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://dist.ng0.infotropique.org/dist/keys/
https://www.infotropique.org https://ng0.infotropique.org
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [bug#28594] nototools (required for building Noto from source)
2017-10-13 8:23 ` ng0
@ 2017-10-13 19:34 ` Christopher Baines
2017-10-13 20:00 ` ng0
0 siblings, 1 reply; 17+ messages in thread
From: Christopher Baines @ 2017-10-13 19:34 UTC (permalink / raw)
To: ng0; +Cc: 28594
[-- Attachment #1: Type: text/plain, Size: 4357 bytes --]
On Fri, 13 Oct 2017 08:23:19 +0000
ng0 <ng0@infotropique.org> wrote:
> Christopher Baines transcribed 4.7K bytes:
> > On Sun, 1 Oct 2017 18:47:37 +0000
> > ng0 <ng0@infotropique.org> wrote:
> >
> > > * 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..ca10c10b0 100644
> > > --- a/gnu/packages/fontutils.scm
> > > +++ b/gnu/packages/fontutils.scm
> > > @@ -5,6 +5,7 @@
> > > ;;; Copyright © 2016, 2017 Efraim Flashner
> > > <efraim@flashner.co.il> ;;; Copyright © 2017 Rene Saavedra
> > > <rennes@openmailbox.org> ;;; Copyright © 2017 Leo Famulari
> > > <leo@famulari.name> +;;; Copyright © 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))
> > >
> > > (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.aspx
> > > + ;; "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/attributions.txt"
> > > + "See sample_texts/attributions.txt in the
> > > distribution."))))
> >
> > This whole patchset looks pretty good to me. I've built all the
> > packages, but haven't tested them.
> >
> > guix lint has one complaint here about the license:
> >
> > gnu/packages/fontutils.scm:591:13: nototools@20170925: invalid
> > license field
> >
> > I'm not quite sure what this means.
>
> I think I know it, the non-copyleft needs to be adjusted to the list.
> Thanks. I really should run lint for longer patchseries. I admit I do
> this not very often.
> Thanks for your review.
You're welcome :)
It looks to me like the python-fonttools patch could be merged now,
shall I merge it? I only ask as I don't want to mess up your workflow?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [bug#28594] nototools (required for building Noto from source)
2017-10-13 19:34 ` Christopher Baines
@ 2017-10-13 20:00 ` ng0
2017-10-14 6:32 ` Christopher Baines
0 siblings, 1 reply; 17+ messages in thread
From: ng0 @ 2017-10-13 20:00 UTC (permalink / raw)
To: Christopher Baines; +Cc: 28594
[-- Attachment #1: Type: text/plain, Size: 4972 bytes --]
Christopher Baines transcribed 5.4K bytes:
> On Fri, 13 Oct 2017 08:23:19 +0000
> ng0 <ng0@infotropique.org> wrote:
>
> > Christopher Baines transcribed 4.7K bytes:
> > > On Sun, 1 Oct 2017 18:47:37 +0000
> > > ng0 <ng0@infotropique.org> wrote:
> > >
> > > > * 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..ca10c10b0 100644
> > > > --- a/gnu/packages/fontutils.scm
> > > > +++ b/gnu/packages/fontutils.scm
> > > > @@ -5,6 +5,7 @@
> > > > ;;; Copyright © 2016, 2017 Efraim Flashner
> > > > <efraim@flashner.co.il> ;;; Copyright © 2017 Rene Saavedra
> > > > <rennes@openmailbox.org> ;;; Copyright © 2017 Leo Famulari
> > > > <leo@famulari.name> +;;; Copyright © 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))
> > > >
> > > > (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.aspx
> > > > + ;; "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/attributions.txt"
> > > > + "See sample_texts/attributions.txt in the
> > > > distribution."))))
> > >
> > > This whole patchset looks pretty good to me. I've built all the
> > > packages, but haven't tested them.
> > >
> > > guix lint has one complaint here about the license:
> > >
> > > gnu/packages/fontutils.scm:591:13: nototools@20170925: invalid
> > > license field
> > >
> > > I'm not quite sure what this means.
> >
> > I think I know it, the non-copyleft needs to be adjusted to the list.
> > Thanks. I really should run lint for longer patchseries. I admit I do
> > this not very often.
> > Thanks for your review.
>
> You're welcome :)
>
> It looks to me like the python-fonttools patch could be merged now,
> shall I merge it? I only ask as I don't want to mess up your workflow?
I have no time this weekend to work on it, I am busy with other things.
If you want to clean up the bits that are necessary and want to merge
it that would be very kind of you.
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://dist.ng0.infotropique.org/dist/keys/
https://www.infotropique.org https://ng0.infotropique.org
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [bug#28594] nototools (required for building Noto from source)
2017-10-13 20:00 ` ng0
@ 2017-10-14 6:32 ` Christopher Baines
2017-10-20 20:09 ` ng0
0 siblings, 1 reply; 17+ messages in thread
From: Christopher Baines @ 2017-10-14 6:32 UTC (permalink / raw)
To: ng0; +Cc: 28594
[-- Attachment #1: Type: text/plain, Size: 5264 bytes --]
On Fri, 13 Oct 2017 20:00:37 +0000
ng0 <ng0@infotropique.org> wrote:
> Christopher Baines transcribed 5.4K bytes:
> > On Fri, 13 Oct 2017 08:23:19 +0000
> > ng0 <ng0@infotropique.org> wrote:
> >
> > > Christopher Baines transcribed 4.7K bytes:
> > > > On Sun, 1 Oct 2017 18:47:37 +0000
> > > > ng0 <ng0@infotropique.org> wrote:
> > > >
> > > > > * 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..ca10c10b0 100644
> > > > > --- a/gnu/packages/fontutils.scm
> > > > > +++ b/gnu/packages/fontutils.scm
> > > > > @@ -5,6 +5,7 @@
> > > > > ;;; Copyright © 2016, 2017 Efraim Flashner
> > > > > <efraim@flashner.co.il> ;;; Copyright © 2017 Rene Saavedra
> > > > > <rennes@openmailbox.org> ;;; Copyright © 2017 Leo Famulari
> > > > > <leo@famulari.name> +;;; Copyright © 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))
> > > > >
> > > > > (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.aspx
> > > > > + ;; "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/attributions.txt"
> > > > > + "See sample_texts/attributions.txt in the
> > > > > distribution."))))
> > > >
> > > > This whole patchset looks pretty good to me. I've built all the
> > > > packages, but haven't tested them.
> > > >
> > > > guix lint has one complaint here about the license:
> > > >
> > > > gnu/packages/fontutils.scm:591:13: nototools@20170925: invalid
> > > > license field
> > > >
> > > > I'm not quite sure what this means.
> > >
> > > I think I know it, the non-copyleft needs to be adjusted to the list.
> > > Thanks. I really should run lint for longer patchseries. I admit I do
> > > this not very often.
> > > Thanks for your review.
> >
> > You're welcome :)
> >
> > It looks to me like the python-fonttools patch could be merged now,
> > shall I merge it? I only ask as I don't want to mess up your workflow?
>
>
> I have no time this weekend to work on it, I am busy with other things.
> If you want to clean up the bits that are necessary and want to merge
> it that would be very kind of you.
I've gone ahead and merged the python-fonttools related patch, but I'm
not planning to look at the other patches, at least not at the moment :)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [bug#28594] nototools (required for building Noto from source)
2017-10-14 6:32 ` Christopher Baines
@ 2017-10-20 20:09 ` ng0
2017-11-28 19:02 ` ng0
2017-11-28 19:58 ` bug#28594: " Leo Famulari
0 siblings, 2 replies; 17+ messages in thread
From: ng0 @ 2017-10-20 20:09 UTC (permalink / raw)
To: Christopher Baines; +Cc: 28594
[-- Attachment #1.1: Type: text/plain, Size: 204 bytes --]
Updated patchseries appended.
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://dist.ng0.infotropique.org/dist/keys/
https://www.infotropique.org https://ng0.infotropique.org
[-- Attachment #1.2: 0001-gnu-Add-python2-ufolib.patch --]
[-- Type: text/plain, Size: 1647 bytes --]
From f830472640712346a80982ab3027e2bd64e5cdff Mon Sep 17 00:00:00 2001
From: ng0 <ng0@infotropique.org>
Date: Wed, 20 Sep 2017 11:39:29 +0000
Subject: [PATCH 1/6] 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 0684090c3..1de08f2cd 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7412,6 +7412,32 @@ from an XML-based format.")
(define-public python2-fonttools
(package-with-python2 python-fonttools))
+(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")
--
2.14.2
[-- Attachment #1.3: 0002-gnu-Add-python2-setuptools-scm-git-archive.patch --]
[-- Type: text/plain, Size: 1677 bytes --]
From afc7f67ba0269d77989c2534d5c1627af716fda9 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@infotropique.org>
Date: Wed, 20 Sep 2017 11:49:31 +0000
Subject: [PATCH 2/6] gnu: Add python2-setuptools-scm-git-archive.
* gnu/packages/python.scm (python2-setuptools-scm-git-archive): New variable.
---
gnu/packages/python.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 1de08f2cd..dac308e1b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7438,6 +7438,30 @@ from an XML-based format.")
files. UFO is a file format that stores fonts source files.")
(license license:bsd-3)))
+(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
+ "The setuptools_scm_git_archive package is a plugin to
+setuptools_scm, which supports obtaining versions from git archives that
+belong to tagged versions.")
+ (license license:expat)))
+
(define-public python-ly
(package
(name "python-ly")
--
2.14.2
[-- Attachment #1.4: 0003-gnu-Add-python2-pyclipper.patch --]
[-- Type: text/plain, Size: 1625 bytes --]
From 564f921e767c21f1683f5d6a39a874779a2c4628 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@infotropique.org>
Date: Wed, 20 Sep 2017 12:00:41 +0000
Subject: [PATCH 3/6] 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 dac308e1b..879f6953a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7462,6 +7462,32 @@ setuptools_scm, which supports obtaining versions from git archives that
belong to tagged versions.")
(license license:expat)))
+(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-archive)))
+ (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")
--
2.14.2
[-- Attachment #1.5: 0004-gnu-Add-python2-booleanoperations.patch --]
[-- Type: text/plain, Size: 1780 bytes --]
From 0d7311347e24b76c9898b3da1a417021c51e40de Mon Sep 17 00:00:00 2001
From: ng0 <ng0@infotropique.org>
Date: Wed, 20 Sep 2017 18:07:47 +0000
Subject: [PATCH 4/6] 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 879f6953a..50ce4e116 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7488,6 +7488,35 @@ belong to tagged versions.")
Angus Johnson's Clipper library (ver. 6.2.1)")
(license license:expat)))
+(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")
--
2.14.2
[-- Attachment #1.6: 0005-gnu-Add-python2-defcon.patch --]
[-- Type: text/plain, Size: 2128 bytes --]
From 4678eb87f6ee5b2bf6bd3c9dbe2c7114985cb653 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@infotropique.org>
Date: Mon, 25 Sep 2017 11:13:03 +0000
Subject: [PATCH 5/6] 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 50ce4e116..893240fdf 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7517,6 +7517,39 @@ Angus Johnson's Clipper library (ver. 6.2.1)")
boolean operations on paths.")
(license license:expat)))
+(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 "Flexible objects for representing @acronym{UFO, unified font object} data")
+ (description
+ "Defcon is a set of @acronym{UFO, unified font object} 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’s
+behavior, 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")
--
2.14.2
[-- Attachment #1.7: 0006-gnu-Add-nototools.patch --]
[-- Type: text/plain, Size: 3238 bytes --]
From f0e5236fb62fb79a5deef3c3179ea9393483b7a7 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@infotropique.org>
Date: Mon, 25 Sep 2017 12:12:55 +0000
Subject: [PATCH 6/6] gnu: Add nototools.
* gnu/packages/fontutils.scm (nototools): New variable.
---
gnu/packages/fontutils.scm | 45 ++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 44 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 323cfab6f..a72fc005c 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
+;;; Copyright © 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))
(define-public freetype
(package
@@ -556,3 +558,44 @@ 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.aspx
+ ;; "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/attributions.txt"
+ "See sample_texts/attributions.txt in the distribution.")))))
--
2.14.2
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#28594] nototools (required for building Noto from source)
2017-10-20 20:09 ` ng0
@ 2017-11-28 19:02 ` ng0
2017-11-28 19:58 ` bug#28594: " Leo Famulari
1 sibling, 0 replies; 17+ messages in thread
From: ng0 @ 2017-11-28 19:02 UTC (permalink / raw)
To: Christopher Baines; +Cc: ng0, 28594
[-- Attachment #1: Type: text/plain, Size: 13328 bytes --]
There has been no comment in 38 days. Could someone look into this?
It's my understanding that it is ready to merge.
I have no push access, so I can not push it.
ng0 transcribed 14K bytes:
> Updated patchseries appended.
>
> --
> ng0
> GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
> GnuPG: https://dist.ng0.infotropique.org/dist/keys/
> https://www.infotropique.org https://ng0.infotropique.org
> From f830472640712346a80982ab3027e2bd64e5cdff Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@infotropique.org>
> Date: Wed, 20 Sep 2017 11:39:29 +0000
> Subject: [PATCH 1/6] 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 0684090c3..1de08f2cd 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -7412,6 +7412,32 @@ from an XML-based format.")
> (define-public python2-fonttools
> (package-with-python2 python-fonttools))
>
> +(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")
> --
> 2.14.2
>
> From afc7f67ba0269d77989c2534d5c1627af716fda9 Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@infotropique.org>
> Date: Wed, 20 Sep 2017 11:49:31 +0000
> Subject: [PATCH 2/6] gnu: Add python2-setuptools-scm-git-archive.
>
> * gnu/packages/python.scm (python2-setuptools-scm-git-archive): New variable.
> ---
> gnu/packages/python.scm | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 1de08f2cd..dac308e1b 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -7438,6 +7438,30 @@ from an XML-based format.")
> files. UFO is a file format that stores fonts source files.")
> (license license:bsd-3)))
>
> +(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
> + "The setuptools_scm_git_archive package is a plugin to
> +setuptools_scm, which supports obtaining versions from git archives that
> +belong to tagged versions.")
> + (license license:expat)))
> +
> (define-public python-ly
> (package
> (name "python-ly")
> --
> 2.14.2
>
> From 564f921e767c21f1683f5d6a39a874779a2c4628 Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@infotropique.org>
> Date: Wed, 20 Sep 2017 12:00:41 +0000
> Subject: [PATCH 3/6] 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 dac308e1b..879f6953a 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -7462,6 +7462,32 @@ setuptools_scm, which supports obtaining versions from git archives that
> belong to tagged versions.")
> (license license:expat)))
>
> +(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-archive)))
> + (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")
> --
> 2.14.2
>
> From 0d7311347e24b76c9898b3da1a417021c51e40de Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@infotropique.org>
> Date: Wed, 20 Sep 2017 18:07:47 +0000
> Subject: [PATCH 4/6] 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 879f6953a..50ce4e116 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -7488,6 +7488,35 @@ belong to tagged versions.")
> Angus Johnson's Clipper library (ver. 6.2.1)")
> (license license:expat)))
>
> +(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")
> --
> 2.14.2
>
> From 4678eb87f6ee5b2bf6bd3c9dbe2c7114985cb653 Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@infotropique.org>
> Date: Mon, 25 Sep 2017 11:13:03 +0000
> Subject: [PATCH 5/6] 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 50ce4e116..893240fdf 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -7517,6 +7517,39 @@ Angus Johnson's Clipper library (ver. 6.2.1)")
> boolean operations on paths.")
> (license license:expat)))
>
> +(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 "Flexible objects for representing @acronym{UFO, unified font object} data")
> + (description
> + "Defcon is a set of @acronym{UFO, unified font object} 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’s
> +behavior, 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")
> --
> 2.14.2
>
> From f0e5236fb62fb79a5deef3c3179ea9393483b7a7 Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@infotropique.org>
> Date: Mon, 25 Sep 2017 12:12:55 +0000
> Subject: [PATCH 6/6] gnu: Add nototools.
>
> * gnu/packages/fontutils.scm (nototools): New variable.
> ---
> gnu/packages/fontutils.scm | 45 ++++++++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 44 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
> index 323cfab6f..a72fc005c 100644
> --- a/gnu/packages/fontutils.scm
> +++ b/gnu/packages/fontutils.scm
> @@ -5,6 +5,7 @@
> ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
> ;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
> ;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
> +;;; Copyright © 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))
>
> (define-public freetype
> (package
> @@ -556,3 +558,44 @@ 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.aspx
> + ;; "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/attributions.txt"
> + "See sample_texts/attributions.txt in the distribution.")))))
> --
> 2.14.2
>
--
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
WWW: https://n0.is
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* bug#28594: nototools (required for building Noto from source)
2017-10-20 20:09 ` ng0
2017-11-28 19:02 ` ng0
@ 2017-11-28 19:58 ` Leo Famulari
1 sibling, 0 replies; 17+ messages in thread
From: Leo Famulari @ 2017-11-28 19:58 UTC (permalink / raw)
To: ng0; +Cc: 28594-done
[-- Attachment #1: Type: text/plain, Size: 265 bytes --]
On Fri, Oct 20, 2017 at 08:09:21PM +0000, ng0 wrote:
> Updated patchseries appended.
Thanks! I moved the font-specific packages to (gnu packages fontutils),
added Python 3 package variants where it was easy, and pushed as
20d2c6e749bb65707b90623e495b0e8d32bd92e6.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2017-11-28 19:59 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-25 12:18 [bug#28594] nototools (required for building Noto from source) ng0
2017-10-01 18:41 ` ng0
2017-10-01 18:47 ` ng0
2017-10-13 6:50 ` Christopher Baines
2017-10-13 6:53 ` Christopher Baines
2017-10-13 7:00 ` Christopher Baines
2017-10-13 7:01 ` Christopher Baines
2017-10-13 7:04 ` Christopher Baines
2017-10-13 7:08 ` Christopher Baines
2017-10-13 7:12 ` Christopher Baines
2017-10-13 8:23 ` ng0
2017-10-13 19:34 ` Christopher Baines
2017-10-13 20:00 ` ng0
2017-10-14 6:32 ` Christopher Baines
2017-10-20 20:09 ` ng0
2017-11-28 19:02 ` ng0
2017-11-28 19:58 ` bug#28594: " Leo Famulari
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).