gnu: gettext: Rename binding to 'gnu-gettext'.

* gnu/packages/gettext.scm (gettext): Rename to...
  (gnu-gettext): ... this.  This is used to work around the circular
  dependency introduced in commit c42a4b7, which users with a #:renamer
  cannot cope with.
* gnu/packages/acl.scm, gnu/packages/attr.scm, gnu/packages/cdrom.scm,
  gnu/packages/fdisk.scm, gnu/packages/gkrellm.scm, gnu/packages/glib.scm,
  gnu/packages/gnunet.scm, gnu/packages/grub.scm, gnu/packages/linux.scm,
  gnu/packages/maths.scm, gnu/packages/nano.scm, gnu/packages/parted.scm,
  gnu/packages/system.scm, gnu/packages/version-control.scm,
  gnu/packages/vpn.scm, gnu/packages/w3m.scm, gnu/packages/wget.scm:
  Adjust accordingly.
This commit is contained in:
Ludovic Courtès 2013-11-20 22:12:49 +01:00
parent 953ab5030f
commit 1dba64079c
19 changed files with 48 additions and 57 deletions

View File

@ -20,8 +20,7 @@
#:use-module (guix licenses) #:use-module (guix licenses)
#:use-module (gnu packages attr) #:use-module (gnu packages attr)
#:use-module (gnu packages perl) #:use-module (gnu packages perl)
#:use-module ((gnu packages gettext) #:use-module (gnu packages gettext)
#:renamer (symbol-prefix-proc 'guix:))
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix build-system gnu)) #:use-module (guix build-system gnu))
@ -62,7 +61,7 @@
'() '()
`(("perl" ,perl))))) `(("perl" ,perl)))))
(native-inputs (native-inputs
`(("gettext" ,guix:gettext))) `(("gettext" ,gnu-gettext)))
(home-page (home-page
"http://savannah.nongnu.org/projects/acl") "http://savannah.nongnu.org/projects/acl")

View File

@ -20,8 +20,7 @@
(define-module (gnu packages attr) (define-module (gnu packages attr)
#:use-module (guix licenses) #:use-module (guix licenses)
#:use-module (gnu packages perl) #:use-module (gnu packages perl)
#:use-module ((gnu packages gettext) #:use-module (gnu packages gettext)
#:renamer (symbol-prefix-proc 'guix:))
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix build-system gnu)) #:use-module (guix build-system gnu))
@ -75,7 +74,7 @@
'() '()
`(("perl" ,perl)))) `(("perl" ,perl))))
(native-inputs (native-inputs
`(("gettext" ,guix:gettext))) `(("gettext" ,gnu-gettext)))
(home-page "http://savannah.nongnu.org/projects/attr/") (home-page "http://savannah.nongnu.org/projects/attr/")
(synopsis "Library and tools for manipulating extended attributes") (synopsis "Library and tools for manipulating extended attributes")

View File

@ -25,7 +25,7 @@
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages acl) #:use-module (gnu packages acl)
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
#:use-module ((gnu packages gettext) #:renamer (symbol-prefix-proc 'gnu:)) #:use-module (gnu packages gettext)
#:use-module (gnu packages gtk) #:use-module (gnu packages gtk)
#:use-module (gnu packages help2man) #:use-module (gnu packages help2man)
#:use-module (gnu packages ncurses) #:use-module (gnu packages ncurses)
@ -179,7 +179,7 @@ reconstruction capability.")
"0pm039a78h7m9vvjmmjfkl05ii6qdmfhvbypxjbc7j5w82y66is4")))) "0pm039a78h7m9vvjmmjfkl05ii6qdmfhvbypxjbc7j5w82y66is4"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("gettext" ,gnu:gettext) `(("gettext" ,gnu-gettext)
("gtk+" ,gtk+-2) ("gtk+" ,gtk+-2)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
("which" ,which))) ("which" ,which)))

View File

@ -18,8 +18,7 @@
(define-module (gnu packages fdisk) (define-module (gnu packages fdisk)
#:use-module ((guix licenses) #:select (gpl3+)) #:use-module ((guix licenses) #:select (gpl3+))
#:use-module ((gnu packages gettext) #:use-module (gnu packages gettext)
#:renamer (symbol-prefix-proc 'guix:))
#:use-module (gnu packages guile) #:use-module (gnu packages guile)
#:use-module (gnu packages linux) #:use-module (gnu packages linux)
#:use-module (gnu packages parted) #:use-module (gnu packages parted)
@ -41,7 +40,7 @@
"04nd7civ561x2lwcmxhsqbprml3178jfc58fy1v7hzqg5k4nbhy3")))) "04nd7civ561x2lwcmxhsqbprml3178jfc58fy1v7hzqg5k4nbhy3"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("gettext" ,guix:gettext) `(("gettext" ,gnu-gettext)
("guile" ,guile-1.8) ("guile" ,guile-1.8)
("util-linux" ,util-linux) ("util-linux" ,util-linux)
("parted" ,parted))) ("parted" ,parted)))

View File

@ -24,7 +24,14 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (gnu packages xml)) #:use-module (gnu packages xml))
(define-public gettext ;; Use that name to avoid clashes with Guile's 'gettext' procedure.
;;
;; We used to resort to #:renamer on the user side, but that prevented
;; circular dependencies involving (gnu packages gettext). This is because
;; 'resolve-interface' (as of Guile 2.0.9) iterates eagerly over the used
;; module when there's a #:renamer, and that module may be empty at that point
;; in case or circular dependencies.
(define-public gnu-gettext
(package (package
(name "gettext") (name "gettext")
(version "0.18.3.1") (version "0.18.3.1")

View File

@ -22,8 +22,7 @@
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module ((gnu packages gettext) #:use-module (gnu packages gettext)
#:renamer (symbol-prefix-proc 'gnu:))
#:use-module (gnu packages gtk) #:use-module (gnu packages gtk)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages xorg)) #:use-module (gnu packages xorg))
@ -42,7 +41,7 @@
"12rc6zaa7kb60b9744lbrlfkxxfniprm6x0mispv63h4kh75navh")))) "12rc6zaa7kb60b9744lbrlfkxxfniprm6x0mispv63h4kh75navh"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("gettext" ,gnu:gettext) `(("gettext" ,gnu-gettext)
("gtk+" ,gtk+-2) ("gtk+" ,gtk+-2)
("libice" ,libice) ("libice" ,libice)
("libsm" ,libsm))) ("libsm" ,libsm)))

View File

@ -29,8 +29,7 @@
#:use-module (gnu packages bison) #:use-module (gnu packages bison)
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
#:use-module (gnu packages flex) #:use-module (gnu packages flex)
#:use-module ((gnu packages gettext) #:use-module (gnu packages gettext)
#:renamer (symbol-prefix-proc 'guix:))
#:use-module (gnu packages gtk) #:use-module (gnu packages gtk)
#:use-module (gnu packages libffi) #:use-module (gnu packages libffi)
#:use-module (gnu packages perl) #:use-module (gnu packages perl)
@ -124,7 +123,7 @@ shared NFS home directories.")
"doc")) ; 20 MiB of GTK-Doc reference "doc")) ; 20 MiB of GTK-Doc reference
(inputs (inputs
`(("coreutils" ,coreutils) `(("coreutils" ,coreutils)
("gettext" ,guix:gettext) ("gettext" ,gnu-gettext)
("libffi" ,libffi) ("libffi" ,libffi)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
("python" ,python-wrapper) ("python" ,python-wrapper)
@ -224,7 +223,7 @@ bindings to call into the C library.")
(propagated-inputs (propagated-inputs
`(;; Propagate gettext because users expect it to be there, and so does `(;; Propagate gettext because users expect it to be there, and so does
;; the `intltool-update' script. ;; the `intltool-update' script.
("gettext" ,guix:gettext) ("gettext" ,gnu-gettext)
;; `file' is used by `intltool-update' too. ;; `file' is used by `intltool-update' too.
("file" ,file) ("file" ,file)

View File

@ -20,8 +20,7 @@
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
#:use-module (gnu packages curl) #:use-module (gnu packages curl)
#:use-module ((gnu packages gettext) #:use-module (gnu packages gettext)
#:renamer (symbol-prefix-proc 'gnu:))
#:use-module (gnu packages glib) #:use-module (gnu packages glib)
#:use-module (gnu packages gnupg) #:use-module (gnu packages gnupg)
#:use-module (gnu packages gnutls) #:use-module (gnu packages gnutls)
@ -68,7 +67,7 @@
;; * libsmf ;; * libsmf
;; * libtidy ;; * libtidy
(inputs (inputs
`(("gettext" ,gnu:gettext) `(("gettext" ,gnu-gettext)
("flac" ,flac) ("flac" ,flac)
("glib" ,glib) ("glib" ,glib)
("libjpeg" ,libjpeg) ("libjpeg" ,libjpeg)

View File

@ -24,7 +24,7 @@
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages flex) #:use-module (gnu packages flex)
#:use-module (gnu packages bison) #:use-module (gnu packages bison)
#:use-module ((gnu packages gettext) #:renamer (symbol-prefix-proc 'gnu:)) #:use-module (gnu packages gettext)
#:use-module (gnu packages fontutils) #:use-module (gnu packages fontutils)
#:use-module (gnu packages linux) #:use-module (gnu packages linux)
#:use-module (gnu packages qemu) #:use-module (gnu packages qemu)
@ -84,7 +84,7 @@
%standard-phases))) %standard-phases)))
(inputs (inputs
`(;; ("lvm2" ,lvm2) `(;; ("lvm2" ,lvm2)
("gettext" ,gnu:gettext) ("gettext" ,gnu-gettext)
("freetype" ,freetype) ("freetype" ,freetype)
;; ("libusb" ,libusb) ;; ("libusb" ,libusb)
("ncurses" ,ncurses))) ("ncurses" ,ncurses)))

View File

@ -30,8 +30,7 @@
#:use-module (gnu packages perl) #:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages algebra) #:use-module (gnu packages algebra)
#:use-module ((gnu packages gettext) #:use-module (gnu packages gettext)
#:renamer (symbol-prefix-proc 'g:))
#:use-module (gnu packages pulseaudio) #:use-module (gnu packages pulseaudio)
#:use-module (gnu packages attr) #:use-module (gnu packages attr)
#:use-module (gnu packages xml) #:use-module (gnu packages xml)
@ -514,7 +513,7 @@ MIDI functionality to the Linux-based operating system.")
("ncurses" ,ncurses) ("ncurses" ,ncurses)
("alsa-lib" ,alsa-lib) ("alsa-lib" ,alsa-lib)
("xmlto" ,xmlto) ("xmlto" ,xmlto)
("gettext" ,g:gettext))) ("gettext" ,gnu-gettext)))
(home-page "http://www.alsa-project.org/") (home-page "http://www.alsa-project.org/")
(synopsis "Utilities for the Advanced Linux Sound Architecture (ALSA)") (synopsis "Utilities for the Advanced Linux Sound Architecture (ALSA)")
(description (description
@ -677,7 +676,7 @@ manpages.")
(sha256 (sha256
(base32 (base32
"0p93lsqx23v5fv4hpbrydmfvw1ha2rgqpn2zqbs2jhxkzhjc030p")))))) "0p93lsqx23v5fv4hpbrydmfvw1ha2rgqpn2zqbs2jhxkzhjc030p"))))))
(native-inputs `(("gettext" ,g:gettext))) (native-inputs `(("gettext" ,gnu-gettext)))
(synopsis "Tools for controlling the network subsystem in Linux") (synopsis "Tools for controlling the network subsystem in Linux")
(description (description

View File

@ -27,8 +27,7 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
#:use-module (gnu packages fontutils) #:use-module (gnu packages fontutils)
#:use-module ((gnu packages gettext) #:use-module (gnu packages gettext)
#:renamer (symbol-prefix-proc 'gnu:))
#:use-module (gnu packages gcc) #:use-module (gnu packages gcc)
#:use-module (gnu packages gtk) #:use-module (gnu packages gtk)
#:use-module (gnu packages multiprecision) #:use-module (gnu packages multiprecision)
@ -140,7 +139,7 @@ LP/MIP solver is included in the package.")
(inputs (inputs
`(("cairo" ,cairo) `(("cairo" ,cairo)
("fontconfig" ,fontconfig) ("fontconfig" ,fontconfig)
("gettext" ,gnu:gettext) ("gettext" ,gnu-gettext)
("gsl" ,gsl) ("gsl" ,gsl)
("libxml2" ,libxml2) ("libxml2" ,libxml2)
("pango" ,pango) ("pango" ,pango)

View File

@ -18,8 +18,7 @@
(define-module (gnu packages nano) (define-module (gnu packages nano)
#:use-module (guix licenses) #:use-module (guix licenses)
#:use-module ((gnu packages gettext) #:use-module (gnu packages gettext)
#:renamer (symbol-prefix-proc 'guix:))
#:use-module (gnu packages ncurses) #:use-module (gnu packages ncurses)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
@ -39,7 +38,7 @@
"1s3b21h5p7r8xafw0gahswj16ai6k2vnjhmd15b491hl0x494c7z")))) "1s3b21h5p7r8xafw0gahswj16ai6k2vnjhmd15b491hl0x494c7z"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("gettext" ,guix:gettext) `(("gettext" ,gnu-gettext)
("ncurses" ,ncurses))) ("ncurses" ,ncurses)))
(home-page "http://www.nano-editor.org/") (home-page "http://www.nano-editor.org/")
(synopsis "Small, user-friendly console text editor") (synopsis "Small, user-friendly console text editor")

View File

@ -22,8 +22,7 @@
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (gnu packages check) #:use-module (gnu packages check)
#:use-module ((gnu packages gettext) #:use-module (gnu packages gettext)
#:renamer (symbol-prefix-proc 'guix:))
#:use-module (gnu packages linux) #:use-module (gnu packages linux)
#:use-module (gnu packages readline)) #:use-module (gnu packages readline))
@ -54,7 +53,7 @@
(inputs (inputs
;; XXX: add 'lvm2'. ;; XXX: add 'lvm2'.
`(("check" ,check) `(("check" ,check)
("gettext" ,guix:gettext) ("gettext" ,gnu-gettext)
("readline" ,readline) ("readline" ,readline)
("util-linux" ,util-linux))) ("util-linux" ,util-linux)))
(home-page "http://www.gnu.org/software/parted/") (home-page "http://www.gnu.org/software/parted/")

View File

@ -28,8 +28,7 @@
#:use-module (gnu packages ncurses) #:use-module (gnu packages ncurses)
#:use-module (gnu packages linux) #:use-module (gnu packages linux)
#:use-module (gnu packages guile) #:use-module (gnu packages guile)
#:use-module ((gnu packages gettext) #:use-module (gnu packages gettext)
#:renamer (symbol-prefix-proc 'g:))
#:use-module ((gnu packages base) #:use-module ((gnu packages base)
#:select (tar)) #:select (tar))
#:use-module ((gnu packages compression) #:use-module ((gnu packages compression)
@ -76,7 +75,7 @@ is based on GNU Guile.")
"1b4hfqv23l87cb37fxwzfk2sgspkyxpr3ig2hsd23hr6mm982j7z")))) "1b4hfqv23l87cb37fxwzfk2sgspkyxpr3ig2hsd23hr6mm982j7z"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments '(#:tests? #f)) ; There are no tests. (arguments '(#:tests? #f)) ; There are no tests.
(native-inputs `(("gettext" ,g:gettext))) (native-inputs `(("gettext" ,gnu-gettext)))
(home-page "http://projects.gw-computing.net/projects/dfc") (home-page "http://projects.gw-computing.net/projects/dfc")
(synopsis "Display file system space usage using graphs and colors") (synopsis "Display file system space usage using graphs and colors")
(description (description

View File

@ -26,8 +26,7 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system python) #:use-module (guix build-system python)
#:use-module (guix build utils) #:use-module (guix build utils)
#:use-module ((gnu packages gettext) #:use-module (gnu packages gettext)
#:renamer (symbol-prefix-proc 'guix:))
#:use-module (gnu packages apr) #:use-module (gnu packages apr)
#:use-module (gnu packages curl) #:use-module (gnu packages curl)
#:use-module (gnu packages nano) #:use-module (gnu packages nano)
@ -58,7 +57,7 @@
(inputs (inputs
;; Note: 'tools/packaging/lp-upload-release' and 'tools/weavemerge.sh' ;; Note: 'tools/packaging/lp-upload-release' and 'tools/weavemerge.sh'
;; require Zsh. ;; require Zsh.
`(("gettext" ,guix:gettext))) `(("gettext" ,gnu-gettext)))
(arguments (arguments
`(#:tests? #f ; no test target `(#:tests? #f ; no test target
#:python ,python-2)) ; Python 3 apparently not yet supported, see #:python ,python-2)) ; Python 3 apparently not yet supported, see
@ -87,7 +86,7 @@ from a command line or use a GUI application.")
(inputs (inputs
`(("curl" ,curl) `(("curl" ,curl)
("expat" ,expat) ("expat" ,expat)
("gettext" ,guix:gettext) ("gettext" ,gnu-gettext)
("openssl" ,openssl) ("openssl" ,openssl)
("perl" ,perl) ("perl" ,perl)
("python" ,python-2) ; CAVEAT: incompatible with python-3 according to INSTALL ("python" ,python-2) ; CAVEAT: incompatible with python-3 according to INSTALL

View File

@ -24,8 +24,7 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
#:use-module ((gnu packages gettext) #:use-module (gnu packages gettext)
#:renamer (symbol-prefix-proc 'gnu:))
#:use-module (gnu packages gnupg) #:use-module (gnu packages gnupg)
#:use-module (gnu packages openssl) #:use-module (gnu packages openssl)
#:use-module (gnu packages perl) #:use-module (gnu packages perl)
@ -81,7 +80,7 @@ Only \"Universal TUN/TAP device driver support\" is needed in the kernel.")
"1rd8pap455wzkx19i0sy3cqap524b6fwcjvqynxp6lhm01di4bd6")))) "1rd8pap455wzkx19i0sy3cqap524b6fwcjvqynxp6lhm01di4bd6"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("gettext" ,gnu:gettext) `(("gettext" ,gnu-gettext)
("libxml2" ,libxml2) ("libxml2" ,libxml2)
("openssl" ,openssl) ("openssl" ,openssl)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)

View File

@ -18,8 +18,7 @@
(define-module (gnu packages w3m) (define-module (gnu packages w3m)
#:use-module ((guix licenses) #:select (x11-style)) #:use-module ((guix licenses) #:select (x11-style))
#:use-module ((gnu packages gettext) #:use-module (gnu packages gettext)
#:renamer (symbol-prefix-proc 'guix:))
#:use-module (gnu packages bdw-gc) #:use-module (gnu packages bdw-gc)
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
#:use-module (gnu packages ncurses) #:use-module (gnu packages ncurses)
@ -61,7 +60,7 @@
(("@PERL@") (which "perl")))) (("@PERL@") (which "perl"))))
%standard-phases))) %standard-phases)))
(inputs (inputs
`(("gettext" ,guix:gettext) `(("gettext" ,gnu-gettext)
("libgc" ,libgc) ("libgc" ,libgc)
("ncurses" ,ncurses) ("ncurses" ,ncurses)
("openssl" ,openssl) ("openssl" ,openssl)

View File

@ -18,8 +18,7 @@
(define-module (gnu packages wget) (define-module (gnu packages wget)
#:use-module (guix licenses) #:use-module (guix licenses)
#:use-module ((gnu packages gettext) #:use-module (gnu packages gettext)
#:renamer (symbol-prefix-proc 'guix:))
#:use-module (gnu packages gnutls) #:use-module (gnu packages gnutls)
#:use-module (gnu packages perl) #:use-module (gnu packages perl)
#:use-module (guix packages) #:use-module (guix packages)
@ -42,7 +41,7 @@
(inputs (inputs
`(("gnutls" ,gnutls) `(("gnutls" ,gnutls)
("perl" ,perl) ("perl" ,perl)
("gettext" ,guix:gettext))) ("gettext" ,gnu-gettext)))
(home-page "http://www.gnu.org/software/wget/") (home-page "http://www.gnu.org/software/wget/")
(synopsis "Non-interactive command-line utility for downloading files") (synopsis "Non-interactive command-line utility for downloading files")
(description (description

View File

@ -26,8 +26,7 @@
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
#:use-module (gnu packages flex) #:use-module (gnu packages flex)
#:use-module (gnu packages fontutils) #:use-module (gnu packages fontutils)
#:use-module ((gnu packages gettext) #:use-module (gnu packages gettext)
#:renamer (symbol-prefix-proc 'gnu:))
#:use-module (gnu packages glib) #:use-module (gnu packages glib)
#:use-module (gnu packages gnupg) #:use-module (gnu packages gnupg)
#:use-module (gnu packages gperf) #:use-module (gnu packages gperf)
@ -1303,7 +1302,7 @@ tracking.")
"0dd737ch4q9gr151wff1m3q2j7wf3pip4y81601xdrsh8wipxnx6")))) "0dd737ch4q9gr151wff1m3q2j7wf3pip4y81601xdrsh8wipxnx6"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("gettext" ,gnu:gettext) `(("gettext" ,gnu-gettext)
("libxt" ,libxt) ("libxt" ,libxt)
("xproto" ,xproto) ("xproto" ,xproto)
("libxext" ,libxext) ("libxext" ,libxext)
@ -3236,7 +3235,7 @@ tracking.")
"1nmb7ma8rqryicc5xqrn2hm5pwp5lkf7nj28bwbf63mz2r0mk892")))) "1nmb7ma8rqryicc5xqrn2hm5pwp5lkf7nj28bwbf63mz2r0mk892"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("gettext" ,gnu:gettext) `(("gettext" ,gnu-gettext)
("intltool" ,intltool) ("intltool" ,intltool)
("libx11" ,libx11) ("libx11" ,libx11)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)