diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2026-03-24 11:56:16 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2026-03-24 11:56:16 +0200 |
| commit | 6cb7df4070b59cd33d752dc3c1af2e119810df67 (patch) | |
| tree | 3ebce484c734340de1941ee1fa673bc8f42bcea2 | |
| parent | 1d18433a40311d9fd291acbfedf621165a4ebe49 (diff) | |
gnu: fntsample: Use packaged unicode database.
* gnu/packages/fontutils.scm (fntsample)[inputs]: Remove unicode-blocks,
add ucd.
[arguments]: Adjust configure-flags to change of inputs.
Change-Id: Icf85011b662b2846320bc916ac3bf68734386784
| -rw-r--r-- | gnu/packages/fontutils.scm | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index 6b6526cb857..69b83df42f6 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm | |||
| @@ -77,6 +77,7 @@ | |||
| 77 | #:use-module (gnu packages python-xyz) | 77 | #:use-module (gnu packages python-xyz) |
| 78 | #:use-module (gnu packages qt) | 78 | #:use-module (gnu packages qt) |
| 79 | #:use-module (gnu packages sqlite) | 79 | #:use-module (gnu packages sqlite) |
| 80 | #:use-module (gnu packages unicode) | ||
| 80 | #:use-module (gnu packages webkit) | 81 | #:use-module (gnu packages webkit) |
| 81 | #:use-module (gnu packages xdisorg) | 82 | #:use-module (gnu packages xdisorg) |
| 82 | #:use-module (gnu packages xml) | 83 | #:use-module (gnu packages xml) |
| @@ -2151,7 +2152,8 @@ work well with other GTK desktop environments.") | |||
| 2151 | `(#:tests? #f ; There are no tests. | 2152 | `(#:tests? #f ; There are no tests. |
| 2152 | #:configure-flags | 2153 | #:configure-flags |
| 2153 | (list (string-append | 2154 | (list (string-append |
| 2154 | "-DUNICODE_BLOCKS=" (assoc-ref %build-inputs "unicode-blocks"))) | 2155 | "-DUNICODE_BLOCKS=" (assoc-ref %build-inputs "ucd") |
| 2156 | "/share/ucd/Blocks.txt")) | ||
| 2155 | #:phases | 2157 | #:phases |
| 2156 | (modify-phases %standard-phases | 2158 | (modify-phases %standard-phases |
| 2157 | (add-after 'install 'set-library-path | 2159 | (add-after 'install 'set-library-path |
| @@ -2180,16 +2182,7 @@ work well with other GTK desktop environments.") | |||
| 2180 | ("perl" ,perl) ;needed for pdfoutline | 2182 | ("perl" ,perl) ;needed for pdfoutline |
| 2181 | ("perl-pdf-api2" ,perl-pdf-api2) | 2183 | ("perl-pdf-api2" ,perl-pdf-api2) |
| 2182 | ("perl-libintl-perl" ,perl-libintl-perl) | 2184 | ("perl-libintl-perl" ,perl-libintl-perl) |
| 2183 | ("unicode-blocks" | 2185 | ("ucd" ,ucd))) |
| 2184 | ,(let ((version "14.0.0")) | ||
| 2185 | (origin | ||
| 2186 | (method url-fetch) | ||
| 2187 | (uri (string-append "https://unicode.org/Public/" | ||
| 2188 | version "/ucd/Blocks.txt")) | ||
| 2189 | (file-name (string-append "unicode-blocks-" version ".txt")) | ||
| 2190 | (sha256 | ||
| 2191 | (base32 | ||
| 2192 | "05vzgrvfp35mgxjgkm4wnxjjgzva8n6545i9jxd4pczpvvfp122r"))))))) | ||
| 2193 | (home-page "https://github.com/eugmes/fntsample") | 2186 | (home-page "https://github.com/eugmes/fntsample") |
| 2194 | (synopsis "PDF and PostScript font samples generator") | 2187 | (synopsis "PDF and PostScript font samples generator") |
| 2195 | (description "This package provides a tool that can be used to make font | 2188 | (description "This package provides a tool that can be used to make font |
