diff options
| author | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-10-09 02:00:01 +0200 |
|---|---|---|
| committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-10-09 02:00:00 +0200 |
| commit | bc435c595f7ad988da37c8c5a62f54956bd873cf (patch) | |
| tree | 73635ae4c2d031f0672768e4d03f506de4eddb0a /gnu/packages | |
| parent | 09bab971aa02ccc5f59c82a81b250d870879f073 (diff) | |
gnu: man-pages: Update to 6.00.
* gnu/packages/man.scm (man-pages): Update to 6.00.
[arguments]: Add a new 'skip-html phase.
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/man.scm | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm index 50796df89e4..8ecb62dbe24 100644 --- a/gnu/packages/man.scm +++ b/gnu/packages/man.scm | |||
| @@ -269,7 +269,7 @@ PostScript, and PDF. Additional tools include the @command{man} viewer, and | |||
| 269 | (define-public man-pages | 269 | (define-public man-pages |
| 270 | (package | 270 | (package |
| 271 | (name "man-pages") | 271 | (name "man-pages") |
| 272 | (version "5.13") | 272 | (version "6.00") |
| 273 | (source | 273 | (source |
| 274 | (origin | 274 | (origin |
| 275 | (method url-fetch) | 275 | (method url-fetch) |
| @@ -279,10 +279,20 @@ PostScript, and PDF. Additional tools include the @command{man} viewer, and | |||
| 279 | (string-append "mirror://kernel.org/linux/docs/man-pages/Archive/" | 279 | (string-append "mirror://kernel.org/linux/docs/man-pages/Archive/" |
| 280 | "man-pages-" version ".tar.xz"))) | 280 | "man-pages-" version ".tar.xz"))) |
| 281 | (sha256 | 281 | (sha256 |
| 282 | (base32 "12vb15gs56g8wl5nqlm4llr508brh4m2lfknhq4lizbxzqzawkb1")))) | 282 | (base32 "1252c1356z5spya3yl0lcmmymglx3bmfwmamiz1y5l13xqpwbnwy")))) |
| 283 | (build-system gnu-build-system) | 283 | (build-system gnu-build-system) |
| 284 | (arguments | 284 | (arguments |
| 285 | `(#:phases (modify-phases %standard-phases (delete 'configure)) | 285 | `(#:phases |
| 286 | (modify-phases %standard-phases | ||
| 287 | (add-after 'unpack 'skip-html | ||
| 288 | ;; As of 6.00, this package tries to convert man pages to HTML with | ||
| 289 | ;; man2html. The only Guix package currently providing that script | ||
| 290 | ;; is man-for-txr, but that version seems unable to handle relative | ||
| 291 | ;; ‘.so’ statements properly. Disable HTML generation. | ||
| 292 | (lambda _ | ||
| 293 | (substitute* "lib/build-html.mk" | ||
| 294 | (("(html:) .*" _ target) (string-append target "\n"))))) | ||
| 295 | (delete 'configure)) | ||
| 286 | 296 | ||
| 287 | ;; The 'all' target depends on three targets that directly populate | 297 | ;; The 'all' target depends on three targets that directly populate |
| 288 | ;; $(MANDIR) based on its current contents. Doing that in parallel | 298 | ;; $(MANDIR) based on its current contents. Doing that in parallel |
