Browse Source

gnu: Move 'which' to (gnu packages base).

* gnu/packages/which.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove it.
* gnu/packages/base.scm (which): New variable.
* gnu/packages/aspell.scm, gnu/packages/audio.scm,
  gnu/packages/autogen.scm, gnu/packages/cdrom.scm,
  gnu/packages/compression.scm, gnu/packages/datamash.scm,
  gnu/packages/games.scm, gnu/packages/glib.scm,
  gnu/packages/gnu-pw-mgr.scm, gnu/packages/gnutls.scm,
  gnu/packages/gps.scm, gnu/packages/guile.scm,
  gnu/packages/java.scm, gnu/packages/libevent.scm,
  gnu/packages/linux.scm, gnu/packages/lisp.scm,
  gnu/packages/node.scm, gnu/packages/ntp.scm,
  gnu/packages/orpheus.scm, gnu/packages/pciutils.scm,
  gnu/packages/python.scm, gnu/packages/qt.scm,
  gnu/packages/rsync.scm, gnu/packages/sawfish.scm,
  gnu/packages/scheme.scm, gnu/packages/ssh.scm,
  gnu/packages/statistics.scm, gnu/packages/texlive.scm,
  gnu/packages/wdiff.scm: Adjust accordingly.
gn-latest-20200428
Ludovic Courtès 6 years ago
parent
commit
ce0614ddb0
34 changed files with 53 additions and 84 deletions
  1. +0
    -1
      gnu-system.am
  2. +2
    -2
      gnu/packages/aspell.scm
  3. +0
    -1
      gnu/packages/audio.scm
  4. +1
    -1
      gnu/packages/autogen.scm
  5. +20
    -0
      gnu/packages/base.scm
  6. +2
    -2
      gnu/packages/cdrom.scm
  7. +1
    -1
      gnu/packages/compression.scm
  8. +1
    -1
      gnu/packages/datamash.scm
  9. +1
    -2
      gnu/packages/games.scm
  10. +0
    -1
      gnu/packages/glib.scm
  11. +1
    -1
      gnu/packages/gnu-pw-mgr.scm
  12. +2
    -2
      gnu/packages/gnutls.scm
  13. +2
    -2
      gnu/packages/gps.scm
  14. +1
    -1
      gnu/packages/guile.scm
  15. +0
    -1
      gnu/packages/java.scm
  16. +1
    -1
      gnu/packages/libevent.scm
  17. +1
    -1
      gnu/packages/linux.scm
  18. +1
    -1
      gnu/packages/lisp.scm
  19. +1
    -1
      gnu/packages/node.scm
  20. +1
    -1
      gnu/packages/ntp.scm
  21. +1
    -1
      gnu/packages/orpheus.scm
  22. +2
    -2
      gnu/packages/pciutils.scm
  23. +1
    -1
      gnu/packages/python.scm
  24. +1
    -1
      gnu/packages/qt.scm
  25. +1
    -1
      gnu/packages/rsync.scm
  26. +1
    -1
      gnu/packages/sawfish.scm
  27. +1
    -1
      gnu/packages/scheme.scm
  28. +1
    -1
      gnu/packages/ssh.scm
  29. +1
    -1
      gnu/packages/statistics.scm
  30. +1
    -1
      gnu/packages/texlive.scm
  31. +1
    -1
      gnu/packages/wdiff.scm
  32. +2
    -2
      gnu/packages/web.scm
  33. +0
    -44
      gnu/packages/which.scm
  34. +0
    -2
      gnu/system.scm

+ 0
- 1
gnu-system.am View File

@ -292,7 +292,6 @@ GNU_SYSTEM_MODULES = \
gnu/packages/web.scm \
gnu/packages/weechat.scm \
gnu/packages/wget.scm \
gnu/packages/which.scm \
gnu/packages/wicd.scm \
gnu/packages/wine.scm \
gnu/packages/wordnet.scm \


+ 2
- 2
gnu/packages/aspell.scm View File

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -22,7 +22,7 @@
#:use-module (guix build-system gnu)
#:use-module (guix licenses)
#:use-module (gnu packages perl)
#:use-module (gnu packages which))
#:use-module (gnu packages base))
(define-public aspell
(package


+ 0
- 1
gnu/packages/audio.scm View File

@ -48,7 +48,6 @@
#:use-module (gnu packages python)
#:use-module (gnu packages rdf)
#:use-module (gnu packages readline)
#:use-module (gnu packages which)
#:use-module (gnu packages xiph)
#:use-module (gnu packages xml)
#:use-module (srfi srfi-1))


+ 1
- 1
gnu/packages/autogen.scm View File

@ -23,7 +23,7 @@
#:use-module (guix build-system gnu)
#:use-module (gnu packages)
#:use-module (gnu packages perl)
#:use-module (gnu packages which)
#:use-module (gnu packages base)
#:use-module (gnu packages guile))
(define-public autogen


+ 20
- 0
gnu/packages/base.scm View File

@ -584,6 +584,26 @@ test environments.")
(home-page (package-home-page glibc))
(license (package-license glibc))))
(define-public which
(package
(name "which")
(version "2.20")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/which/which-"
version ".tar.gz"))
(sha256
(base32
"1y2p50zadb36izzh2zw4dm5hvdiydqf3qa88l8kav20dcmfbc5yl"))))
(build-system gnu-build-system)
(home-page "https://gnu.org/software/which/")
(synopsis "Find full path of shell commands")
(description
"The which program finds the location of executables in PATH, with a
variety of options. It is an alternative to the shell \"type\" built-in
command.")
(license gpl3+))) ; some files are under GPLv2+
(define-public tzdata
(package
(name "tzdata")


+ 2
- 2
gnu/packages/cdrom.scm View File

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
;;;
;;; This file is part of GNU Guix.
@ -32,7 +32,7 @@
#:use-module (gnu packages elf)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages readline)
#:use-module (gnu packages which)
#:use-module (gnu packages base)
#:use-module (gnu packages perl)
#:use-module (gnu packages python)
#:use-module (gnu packages wget)


+ 1
- 1
gnu/packages/compression.scm View File

@ -24,7 +24,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (gnu packages which))
#:use-module (gnu packages base))
(define-public zlib
(package


+ 1
- 1
gnu/packages/datamash.scm View File

@ -22,7 +22,7 @@
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (gnu packages perl)
#:use-module (gnu packages which))
#:use-module (gnu packages base))
(define-public datamash
(package


+ 1
- 2
gnu/packages/games.scm View File

@ -4,7 +4,7 @@
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2014 Cyrill Schenkel <cyrill.schenkel@gmail.com>
;;; Copyright © 2014 Sylvain Beucler <beuc@beuc.net>
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
@ -63,7 +63,6 @@
#:use-module (gnu packages curl)
#:use-module (gnu packages lua)
#:use-module (gnu packages video)
#:use-module (gnu packages which)
#:use-module (gnu packages xml)
#:use-module (guix build-system trivial)
#:use-module (guix build-system gnu)


+ 0
- 1
gnu/packages/glib.scm View File

@ -39,7 +39,6 @@
#:use-module (gnu packages xml)
#:use-module (gnu packages bash)
#:use-module (gnu packages file)
#:use-module (gnu packages which)
#:use-module (gnu packages xorg)
#:use-module (gnu packages m4)


+ 1
- 1
gnu/packages/gnu-pw-mgr.scm View File

@ -23,7 +23,7 @@
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (gnu packages)
#:use-module (gnu packages which))
#:use-module (gnu packages base))
(define-public gnu-pw-mgr
(package


+ 2
- 2
gnu/packages/gnutls.scm View File

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
@ -33,7 +33,7 @@
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages which))
#:use-module (gnu packages base))
(define-public libtasn1
(package


+ 2
- 2
gnu/packages/gps.scm View File

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -22,7 +22,7 @@
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages which)
#:use-module (gnu packages base)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages compression)
#:use-module (gnu packages docbook)


+ 1
- 1
gnu/packages/guile.scm View File

@ -33,7 +33,7 @@
#:use-module (gnu packages readline)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages ed)
#:use-module (gnu packages which)
#:use-module (gnu packages base)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)


+ 0
- 1
gnu/packages/java.scm View File

@ -39,7 +39,6 @@
#:use-module (gnu packages image)
#:use-module (gnu packages linux) ;alsa
#:use-module (gnu packages wget)
#:use-module (gnu packages which)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages perl)
#:use-module (gnu packages mit-krb5)


+ 1
- 1
gnu/packages/libevent.scm View File

@ -23,7 +23,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (gnu packages which)
#:use-module (gnu packages base)
#:use-module (gnu packages python)
#:use-module (gnu packages autotools)
#:use-module (gnu packages pkg-config))


+ 1
- 1
gnu/packages/linux.scm View File

@ -49,7 +49,7 @@
#:use-module (gnu packages texinfo)
#:use-module (gnu packages check)
#:use-module (gnu packages maths)
#:use-module (gnu packages which)
#:use-module (gnu packages base)
#:use-module (gnu packages rrdtool)
#:use-module (gnu packages elf)
#:use-module (gnu packages gtk)


+ 1
- 1
gnu/packages/lisp.scm View File

@ -28,7 +28,7 @@
#:use-module (guix download)
#:use-module (guix utils)
#:use-module (guix build-system gnu)
#:use-module (gnu packages which)
#:use-module (gnu packages base)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages bdw-gc)
#:use-module (gnu packages libffi)


+ 1
- 1
gnu/packages/node.scm View File

@ -25,7 +25,7 @@
#:use-module (gnu packages python)
#:use-module (gnu packages gcc)
#:use-module (gnu packages linux)
#:use-module (gnu packages which)
#:use-module (gnu packages base)
#:use-module (guix packages)
#:use-module (guix derivations)
#:use-module (guix download)


+ 1
- 1
gnu/packages/ntp.scm View File

@ -20,7 +20,7 @@
(define-module (gnu packages ntp)
#:use-module (gnu packages)
#:use-module (gnu packages which)
#:use-module (gnu packages base)
#:use-module (gnu packages linux)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages openssl)


+ 1
- 1
gnu/packages/orpheus.scm View File

@ -24,7 +24,7 @@
#:use-module (gnu packages)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages mp3)
#:use-module (gnu packages which)
#:use-module (gnu packages base)
#:use-module (gnu packages xiph)
#:use-module (gnu packages xml))


+ 2
- 2
gnu/packages/pciutils.scm View File

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -23,7 +23,7 @@
#:use-module (guix build-system gnu)
#:use-module (gnu packages compression)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages which))
#:use-module (gnu packages base))
(define-public pciutils
(package


+ 1
- 1
gnu/packages/python.scm View File

@ -54,7 +54,7 @@
#:use-module (gnu packages texlive)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages web)
#:use-module (gnu packages which)
#:use-module (gnu packages base)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
#:use-module (gnu packages zip)


+ 1
- 1
gnu/packages/qt.scm View File

@ -159,7 +159,7 @@ webrtc/tools/e2e_quality/audio/perf")))))
("pkg-config" ,pkg-config)
("python" ,python-2)
("ruby" ,ruby)
("which" ,(@ (gnu packages which) which))))
("which" ,(@ (gnu packages base) which))))
(arguments
`(#:phases
(alist-replace


+ 1
- 1
gnu/packages/rsync.scm View File

@ -20,7 +20,7 @@
#:use-module (gnu packages)
#:use-module (gnu packages perl)
#:use-module (gnu packages acl)
#:use-module (gnu packages which)
#:use-module (gnu packages base)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)


+ 1
- 1
gnu/packages/sawfish.scm View File

@ -30,7 +30,7 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages readline)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages which)
#:use-module (gnu packages base)
#:use-module (gnu packages xorg))
(define-public librep


+ 1
- 1
gnu/packages/scheme.scm View File

@ -30,7 +30,7 @@
#:use-module (gnu packages emacs)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages elf)
#:use-module (gnu packages which)
#:use-module (gnu packages base)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages avahi)
#:use-module (gnu packages libphidget)


+ 1
- 1
gnu/packages/ssh.scm View File

@ -32,7 +32,7 @@
#:use-module (gnu packages ncurses)
#:autoload (gnu packages protobuf) (protobuf)
#:autoload (gnu packages boost) (boost)
#:use-module (gnu packages which)
#:use-module (gnu packages base)
#:use-module (gnu packages)
#:use-module (guix packages)
#:use-module (guix download)


+ 1
- 1
gnu/packages/statistics.scm View File

@ -36,7 +36,7 @@
#:use-module (gnu packages readline)
#:use-module (gnu packages texlive)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages which)
#:use-module (gnu packages base)
#:use-module (gnu packages xorg))
(define-public r


+ 1
- 1
gnu/packages/texlive.scm View File

@ -37,7 +37,7 @@
#:use-module (gnu packages python)
#:use-module (gnu packages ruby)
#:use-module (gnu packages tcsh)
#:use-module (gnu packages which)
#:use-module (gnu packages base)
#:use-module (gnu packages xorg)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages zip)


+ 1
- 1
gnu/packages/wdiff.scm View File

@ -23,7 +23,7 @@
#:use-module (guix build-system gnu)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages screen)
#:use-module (gnu packages which))
#:use-module (gnu packages base))
(define-public wdiff
(package


+ 2
- 2
gnu/packages/web.scm View File

@ -35,11 +35,11 @@
#:use-module (gnu packages asciidoc)
#:use-module (gnu packages docbook)
#:use-module (gnu packages autotools)
#:use-module ((gnu packages compression) #:select (zlib))
#:use-module (gnu packages compression)
#:use-module (gnu packages openssl)
#:use-module (gnu packages gettext)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages which)
#:use-module (gnu packages base)
#:use-module (gnu packages pcre)
#:use-module (gnu packages xml)
#:use-module (gnu packages curl)


+ 0
- 44
gnu/packages/which.scm View File

@ -1,44 +0,0 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages which)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu))
(define-public which
(package
(name "which")
(version "2.20")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://gnu/which/which-"
version ".tar.gz"))
(sha256
(base32
"1y2p50zadb36izzh2zw4dm5hvdiydqf3qa88l8kav20dcmfbc5yl"))))
(build-system gnu-build-system)
(home-page "https://gnu.org/software/which/")
(synopsis "Find full path of shell commands")
(description
"The which program finds the location of executables in PATH, with a
variety of options. It is an alternative to the shell \"type\" built-in
command.")
(license gpl3+))) ; some files are under GPLv2+

+ 0
- 2
gnu/system.scm View File

@ -27,12 +27,10 @@
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages guile)
#:use-module (gnu packages which)
#:use-module (gnu packages admin)
#:use-module (gnu packages linux)
#:use-module (gnu packages pciutils)
#:use-module (gnu packages package-management)
#:use-module (gnu packages which)
#:use-module (gnu packages less)
#:use-module (gnu packages zile)
#:use-module (gnu packages nano)


Loading…
Cancel
Save