diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-08-12 15:44:40 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-08-12 15:46:21 +0200 |
commit | d759cf6774efd4f321efe78f0bfcfeaa33f30e79 (patch) | |
tree | 9b8e4620a52c0fd1aa89c401ad19266b9941c1ac /gnu/packages | |
parent | 51152cd125b47e9bbaf1de7bab4c059fcfaba83d (diff) | |
download | gnu-guix-d759cf6774efd4f321efe78f0bfcfeaa33f30e79.tar gnu-guix-d759cf6774efd4f321efe78f0bfcfeaa33f30e79.tar.gz |
gnu: texi2html: Remove dependency on Gettext.
Partly fixes <http://bugs.gnu.org/18247>.
* gnu/packages/texinfo.scm (texi2html)[source]: Add 'snippet' field.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/texinfo.scm | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gnu/packages/texinfo.scm b/gnu/packages/texinfo.scm index 9388979a69..c199fd66a7 100644 --- a/gnu/packages/texinfo.scm +++ b/gnu/packages/texinfo.scm @@ -24,7 +24,6 @@ #:use-module (guix build-system gnu) #:use-module (gnu packages) #:use-module (gnu packages compression) - #:use-module (gnu packages gettext) #:use-module (gnu packages perl) #:use-module (gnu packages ncurses)) @@ -79,9 +78,15 @@ is on expressing the content semantically, avoiding physical markup commands.") (sha256 (base32 "1yprv64vrlcbksqv25asplnjg07mbq38lfclp1m5lj8cw878pag8")) - (patches (list (search-patch "texi2html-document-encoding.patch"))))) + (patches + (list (search-patch "texi2html-document-encoding.patch"))) + (snippet + ;; This file is modified by the patch above, but reset its + ;; timestamp so we don't trigger the rule to update PO files, + ;; which would require Gettext. + ;; See <http://bugs.gnu.org/18247>. + '(utime "texi2html.pl" 0 0 0 0)))) (build-system gnu-build-system) - (native-inputs `(("gettext" ,gnu-gettext))) (inputs `(("perl" ,perl))) (home-page "http://www.nongnu.org/texi2html/") (synopsis "Convert Texinfo to HTML") |