Merge branch 'core-updates-frozen' into 'master'.

At last!
This commit is contained in:
Maxim Cournoyer 2021-12-13 16:29:21 -05:00
commit 6dffced09e
No known key found for this signature in database
GPG key ID: 1260E46482E63562
865 changed files with 87874 additions and 84138 deletions

View file

@ -57,6 +57,12 @@
(eval . (put 'substitute* 'scheme-indent-function 1)) (eval . (put 'substitute* 'scheme-indent-function 1))
(eval . (put 'match-record 'scheme-indent-function 2)) (eval . (put 'match-record 'scheme-indent-function 2))
;; 'modify-inputs' and its keywords.
(eval . (put 'modify-inputs 'scheme-indent-function 1))
(eval . (put 'replace 'scheme-indent-function 1))
(eval . (put 'prepend 'scheme-indent-function 2))
(eval . (put 'append 'scheme-indent-function 2))
;; 'modify-phases' and its keywords. ;; 'modify-phases' and its keywords.
(eval . (put 'modify-phases 'scheme-indent-function 1)) (eval . (put 'modify-phases 'scheme-indent-function 1))
(eval . (put 'replace 'scheme-indent-function 1)) (eval . (put 'replace 'scheme-indent-function 1))
@ -120,6 +126,7 @@
(eval . (put 'with-extensions 'scheme-indent-function 1)) (eval . (put 'with-extensions 'scheme-indent-function 1))
(eval . (put 'with-parameters 'scheme-indent-function 1)) (eval . (put 'with-parameters 'scheme-indent-function 1))
(eval . (put 'let-system 'scheme-indent-function 1)) (eval . (put 'let-system 'scheme-indent-function 1))
(eval . (put 'with-build-variables 'scheme-indent-function 2))
(eval . (put 'with-database 'scheme-indent-function 2)) (eval . (put 'with-database 'scheme-indent-function 2))
(eval . (put 'call-with-database 'scheme-indent-function 1)) (eval . (put 'call-with-database 'scheme-indent-function 1))

View file

@ -229,7 +229,6 @@ MODULES = \
guix/build/union.scm \ guix/build/union.scm \
guix/build/profiles.scm \ guix/build/profiles.scm \
guix/build/compile.scm \ guix/build/compile.scm \
guix/build/rpath.scm \
guix/build/cvs.scm \ guix/build/cvs.scm \
guix/build/svn.scm \ guix/build/svn.scm \
guix/build/syscalls.scm \ guix/build/syscalls.scm \
@ -240,6 +239,7 @@ MODULES = \
guix/build/emacs-utils.scm \ guix/build/emacs-utils.scm \
guix/build/java-utils.scm \ guix/build/java-utils.scm \
guix/build/lisp-utils.scm \ guix/build/lisp-utils.scm \
guix/build/meson-configuration.scm \
guix/build/maven/java.scm \ guix/build/maven/java.scm \
guix/build/maven/plugin.scm \ guix/build/maven/plugin.scm \
guix/build/maven/pom.scm \ guix/build/maven/pom.scm \
@ -294,6 +294,7 @@ MODULES = \
guix/scripts/refresh.scm \ guix/scripts/refresh.scm \
guix/scripts/repl.scm \ guix/scripts/repl.scm \
guix/scripts/describe.scm \ guix/scripts/describe.scm \
guix/scripts/style.scm \
guix/scripts/system.scm \ guix/scripts/system.scm \
guix/scripts/system/search.scm \ guix/scripts/system/search.scm \
guix/scripts/system/reconfigure.scm \ guix/scripts/system/reconfigure.scm \
@ -400,6 +401,8 @@ AUX_FILES = \
gnu/packages/aux-files/linux-libre/4.4-i686.conf \ gnu/packages/aux-files/linux-libre/4.4-i686.conf \
gnu/packages/aux-files/linux-libre/4.4-x86_64.conf \ gnu/packages/aux-files/linux-libre/4.4-x86_64.conf \
gnu/packages/aux-files/pack-audit.c \ gnu/packages/aux-files/pack-audit.c \
gnu/packages/aux-files/python/sanity-check.py \
gnu/packages/aux-files/python/sitecustomize.py \
gnu/packages/aux-files/run-in-namespace.c gnu/packages/aux-files/run-in-namespace.c
# Templates, examples. # Templates, examples.
@ -514,6 +517,7 @@ SCM_TESTS = \
tests/swh.scm \ tests/swh.scm \
tests/syscalls.scm \ tests/syscalls.scm \
tests/system.scm \ tests/system.scm \
tests/style.scm \
tests/texlive.scm \ tests/texlive.scm \
tests/transformations.scm \ tests/transformations.scm \
tests/ui.scm \ tests/ui.scm \

View file

@ -725,7 +725,7 @@ makeinfo OPTIONS."
;; accented letters. ;; accented letters.
;; ;;
;; (define texlive ;; (define texlive
;; (texlive-union (list texlive-tex-texinfo ;; (texlive-updmap.cfg (list texlive-tex-texinfo
;; texlive-generic-epsf ;; texlive-generic-epsf
;; texlive-fonts-ec))) ;; texlive-fonts-ec)))

View file

@ -795,10 +795,8 @@ another, more sophisticated package (slightly modified from the source):
"17pjvprmdrx4h6bb1hhc98w9qi6ki7yl57f090n9kbhswxqfs7s3")) "17pjvprmdrx4h6bb1hhc98w9qi6ki7yl57f090n9kbhswxqfs7s3"))
(patches (search-patches "libgit2-mtime-0.patch")) (patches (search-patches "libgit2-mtime-0.patch"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet '(begin
;; Remove bundled software. ;; Remove bundled software.
(delete-file-recursively "deps") (snippet '(delete-file-recursively "deps"))))
#true))))
(build-system cmake-build-system) (build-system cmake-build-system)
(outputs '("out" "debug")) (outputs '("out" "debug"))
(arguments (arguments
@ -812,23 +810,19 @@ another, more sophisticated package (slightly modified from the source):
(("#!/bin/sh") (string-append "#!" (which "sh")))) (("#!/bin/sh") (string-append "#!" (which "sh"))))
(substitute* "tests/clar/fs.h" (substitute* "tests/clar/fs.h"
(("/bin/cp") (which "cp")) (("/bin/cp") (which "cp"))
(("/bin/rm") (which "rm"))) (("/bin/rm") (which "rm")))))
#true))
;; Run checks more verbosely. ;; Run checks more verbosely.
(replace 'check (replace 'check
(lambda _ (invoke "./libgit2_clar" "-v" "-Q"))) (lambda _ (invoke "./libgit2_clar" "-v" "-Q")))
(add-after 'unpack 'make-files-writable-for-tests (add-after 'unpack 'make-files-writable-for-tests
(lambda _ (for-each make-file-writable (find-files "." ".*"))))))) (lambda _ (for-each make-file-writable (find-files "." ".*")))))))
(inputs (inputs
`(("libssh2" ,libssh2) (list libssh2 http-parser python-wrapper))
("http-parser" ,http-parser)
("python" ,python-wrapper)))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(propagated-inputs (propagated-inputs
;; These two libraries are in 'Requires.private' in libgit2.pc. ;; These two libraries are in 'Requires.private' in libgit2.pc.
`(("openssl" ,openssl) (list openssl zlib))
("zlib" ,zlib)))
(home-page "https://libgit2.github.com/") (home-page "https://libgit2.github.com/")
(synopsis "Library providing Git core methods") (synopsis "Library providing Git core methods")
(description (description
@ -892,22 +886,6 @@ Snippets might need additional Guile modules which can be imported from the
@subsubsection Inputs @subsubsection Inputs
First, a syntactic comment: See the quasi-quote / comma syntax?
@lisp
(native-inputs
`(("pkg-config" ,pkg-config)))
@end lisp
is equivalent to
@lisp
(native-inputs
(list (list "pkg-config" pkg-config)))
@end lisp
You'll mostly see the former because it's shorter.
There are 3 different input types. In short: There are 3 different input types. In short:
@table @asis @table @asis
@ -941,6 +919,24 @@ It also matters when a substitute is available, in which case only the @emph{inp
and @emph{propagated inputs} will be fetched: the @emph{native inputs} are not required to and @emph{propagated inputs} will be fetched: the @emph{native inputs} are not required to
install a package from a substitute. install a package from a substitute.
@quotation Note
You may see here and there snippets where package inputs are written
quite differently, like so:
@lisp
;; The "old style" for inputs.
(inputs
`(("libssh2" ,libssh2)
("http-parser" ,http-parser)
("python" ,python-wrapper)))
@end lisp
This is the ``old style'', where each input in the list is explicitly
given a label (a string). It is still supported but we recommend using
the style above instead. @xref{package Reference,,, guix, GNU Guix
Reference Manual}, for more info.
@end quotation
@subsubsection Outputs @subsubsection Outputs
Just like how a package can have multiple inputs, it can also produce multiple Just like how a package can have multiple inputs, it can also produce multiple

View file

@ -96,6 +96,7 @@ Copyright @copyright{} 2021 Domagoj Stolfa@*
Copyright @copyright{} 2021 Hui Lu@* Copyright @copyright{} 2021 Hui Lu@*
Copyright @copyright{} 2021 pukkamustard@* Copyright @copyright{} 2021 pukkamustard@*
Copyright @copyright{} 2021 Alice Brenon@* Copyright @copyright{} 2021 Alice Brenon@*
Copyright @copyright{} 2021 Josselin Poiret@*
Copyright @copyright{} 2021 Andrew Tropin@* Copyright @copyright{} 2021 Andrew Tropin@*
Copyright @copyright{} 2021 Sarah Morgensen@* Copyright @copyright{} 2021 Sarah Morgensen@*
Copyright @copyright{} 2021 Josselin Poiret@* Copyright @copyright{} 2021 Josselin Poiret@*
@ -297,6 +298,7 @@ Utilities
* Invoking guix hash:: Computing the cryptographic hash of a file. * Invoking guix hash:: Computing the cryptographic hash of a file.
* Invoking guix import:: Importing package definitions. * Invoking guix import:: Importing package definitions.
* Invoking guix refresh:: Updating package definitions. * Invoking guix refresh:: Updating package definitions.
* Invoking guix style:: Styling package definitions.
* Invoking guix lint:: Finding errors in package definitions. * Invoking guix lint:: Finding errors in package definitions.
* Invoking guix size:: Profiling disk usage. * Invoking guix size:: Profiling disk usage.
* Invoking guix graph:: Visualizing the graph of packages. * Invoking guix graph:: Visualizing the graph of packages.
@ -1918,12 +1920,12 @@ themselves.
@subsection X11 Fonts @subsection X11 Fonts
@cindex fonts @cindex fonts
The majority of graphical applications use Fontconfig to locate and The majority of graphical applications use Fontconfig to locate and load
load fonts and perform X11-client-side rendering. The @code{fontconfig} fonts and perform X11-client-side rendering. The @code{fontconfig}
package in Guix looks for fonts in @file{$HOME/.guix-profile} package in Guix looks for fonts in @file{$HOME/.guix-profile} by
by default. Thus, to allow graphical applications installed with Guix default. Thus, to allow graphical applications installed with Guix to
to display fonts, you have to install fonts with Guix as well. display fonts, you have to install fonts with Guix as well. Essential
Essential font packages include @code{gs-fonts}, @code{font-dejavu}, and font packages include @code{font-ghostscript}, @code{font-dejavu}, and
@code{font-gnu-freefont}. @code{font-gnu-freefont}.
@cindex @code{fc-cache} @cindex @code{fc-cache}
@ -2822,8 +2824,8 @@ you should add them to @file{~/.bash_profile} (or equivalent file if you
do not use Bash) so that environment variables are set next time you do not use Bash) so that environment variables are set next time you
spawn a shell. You only need to do this once and other search paths spawn a shell. You only need to do this once and other search paths
environment variables will be taken care of similarly---e.g., if you environment variables will be taken care of similarly---e.g., if you
eventually install @code{python} and Python libraries, @code{PYTHONPATH} eventually install @code{python} and Python libraries,
will be defined. @env{GUIX_PYTHONPATH} will be defined.
You can go on installing packages at your will. To list installed You can go on installing packages at your will. To list installed
packages, run: packages, run:
@ -3578,24 +3580,26 @@ Show details about @var{package}, taken from the list of available packages, in
recutils manual}). recutils manual}).
@example @example
$ guix package --show=python | recsel -p name,version $ guix package --show=guile | recsel -p name,version
name: python name: guile
version: 2.7.6 version: 3.0.5
name: python name: guile
version: 3.3.5 version: 3.0.2
name: guile
version: 2.2.7
@dots{}
@end example @end example
You may also specify the full name of a package to only get details about a You may also specify the full name of a package to only get details about a
specific version of it (this time using the @command{guix show} alias): specific version of it (this time using the @command{guix show} alias):
@example @example
$ guix show python@@3.4 | recsel -p name,version $ guix show guile@@3.0.5 | recsel -p name,version
name: python name: guile
version: 3.4.3 version: 3.0.5
@end example @end example
@item --list-installed[=@var{regexp}] @item --list-installed[=@var{regexp}]
@itemx -I [@var{regexp}] @itemx -I [@var{regexp}]
List the currently installed packages in the specified profile, with the List the currently installed packages in the specified profile, with the
@ -6033,11 +6037,11 @@ guix environment guile -- make -j4
In other situations, it is more convenient to specify the list of In other situations, it is more convenient to specify the list of
packages needed in the environment. For example, the following command packages needed in the environment. For example, the following command
runs @command{python} from an environment containing Python@tie{}2.7 and runs @command{python} from an environment containing Python@tie{}3 and
NumPy: NumPy:
@example @example
guix environment --ad-hoc python2-numpy python-2.7 -- python guix environment --ad-hoc python-numpy python -- python3
@end example @end example
Furthermore, one might want the dependencies of a package and also some Furthermore, one might want the dependencies of a package and also some
@ -6917,7 +6921,7 @@ package looks like this:
"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i")))) "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments '(#:configure-flags '("--enable-silent-rules"))) (arguments '(#:configure-flags '("--enable-silent-rules")))
(inputs `(("gawk" ,gawk))) (inputs (list gawk))
(synopsis "Hello, GNU world: An example GNU package") (synopsis "Hello, GNU world: An example GNU package")
(description "Guess what GNU Hello prints!") (description "Guess what GNU Hello prints!")
(home-page "https://www.gnu.org/software/hello/") (home-page "https://www.gnu.org/software/hello/")
@ -7005,8 +7009,8 @@ Reference Manual}).
@item @item
The @code{inputs} field specifies inputs to the build process---i.e., The @code{inputs} field specifies inputs to the build process---i.e.,
build-time or run-time dependencies of the package. Here, we define an build-time or run-time dependencies of the package. Here, we add
input called @code{"gawk"} whose value is that of the @code{gawk} an input, a reference to the @code{gawk}
variable; @code{gawk} is itself bound to a @code{<package>} object. variable; @code{gawk} is itself bound to a @code{<package>} object.
@cindex backquote (quasiquote) @cindex backquote (quasiquote)
@ -7131,20 +7135,42 @@ list, typically containing sequential keyword-value pairs.
@itemx @code{native-inputs} (default: @code{'()}) @itemx @code{native-inputs} (default: @code{'()})
@itemx @code{propagated-inputs} (default: @code{'()}) @itemx @code{propagated-inputs} (default: @code{'()})
@cindex inputs, of packages @cindex inputs, of packages
These fields list dependencies of the package. Each one is a list of These fields list dependencies of the package. Each element of these
tuples, where each tuple has a label for the input (a string) as its lists is either a package, origin, or other ``file-like object''
first element, a package, origin, or derivation as its second element, (@pxref{G-Expressions}); to specify the output of that file-like object
and optionally the name of the output thereof that should be used, which that should be used, pass a two-element list where the second element is
defaults to @code{"out"} (@pxref{Packages with Multiple Outputs}, for the output (@pxref{Packages with Multiple Outputs}, for more on package
more on package outputs). For example, the list below specifies three outputs). For example, the list below specifies three inputs:
inputs:
@lisp @lisp
(list libffi libunistring
`(,glib "bin")) ;the "bin" output of GLib
@end lisp
In the example above, the @code{"out"} output of @code{libffi} and
@code{libunistring} is used.
@quotation Compatibility Note
Until version 1.3.0, input lists were a list of tuples,
where each tuple has a label for the input (a string) as its
first element, a package, origin, or derivation as its second element,
and optionally the name of the output thereof that should be used, which
defaults to @code{"out"}. For example, the list below is equivalent to
the one above, but using the @dfn{old input style}:
@lisp
;; Old input style (deprecated).
`(("libffi" ,libffi) `(("libffi" ,libffi)
("libunistring" ,libunistring) ("libunistring" ,libunistring)
("glib:bin" ,glib "bin")) ;the "bin" output of Glib ("glib:bin" ,glib "bin")) ;the "bin" output of GLib
@end lisp @end lisp
This style is now deprecated; it is still supported but support will be
removed in a future version. It should not be used for new package
definitions. @xref{Invoking guix style}, on how to migrate to the new
style.
@end quotation
@cindex cross compilation, package dependencies @cindex cross compilation, package dependencies
The distinction between @code{native-inputs} and @code{inputs} is The distinction between @code{native-inputs} and @code{inputs} is
necessary when considering cross-compilation. When cross-compiling, necessary when considering cross-compilation. When cross-compiling,
@ -7230,13 +7256,37 @@ cross-compiling:
;; When cross-compiled, Guile, for example, depends on ;; When cross-compiled, Guile, for example, depends on
;; a native version of itself. Add it here. ;; a native version of itself. Add it here.
(native-inputs (if (%current-target-system) (native-inputs (if (%current-target-system)
`(("self" ,this-package)) (list this-package)
'()))) '())))
@end lisp @end lisp
It is an error to refer to @code{this-package} outside a package definition. It is an error to refer to @code{this-package} outside a package definition.
@end deffn @end deffn
The following helper procedures are provided to help deal with package
inputs.
@deffn {Scheme Procedure} lookup-package-input @var{package} @var{name}
@deffnx {Scheme Procedure} lookup-package-native-input @var{package} @var{name}
@deffnx {Scheme Procedure} lookup-package-propagated-input @var{package} @var{name}
@deffnx {Scheme Procedure} lookup-package-direct-input @var{package} @var{name}
Look up @var{name} among @var{package}'s inputs (or native, propagated,
or direct inputs). Return it if found, @code{#f} otherwise.
@var{name} is the name of a package depended on. Here's how you might
use it:
@lisp
(use-modules (guix packages) (gnu packages base))
(lookup-package-direct-input coreutils "gmp")
@result{} #<package gmp@@6.2.1 @dots{}>
@end lisp
In this example we obtain the @code{gmp} package that is among the
direct inputs of @code{coreutils}.
@end deffn
@cindex development inputs, of a package @cindex development inputs, of a package
@cindex implicit inputs, of a package @cindex implicit inputs, of a package
Sometimes you will want to obtain the list of inputs needed to Sometimes you will want to obtain the list of inputs needed to
@ -7558,20 +7608,42 @@ optional dependency, you can define a variant that removes that
dependency like so: dependency like so:
@lisp @lisp
(use-modules (gnu packages gdb) ;for 'gdb' (use-modules (gnu packages gdb)) ;for 'gdb'
(srfi srfi-1)) ;for 'alist-delete'
(define gdb-sans-guile (define gdb-sans-guile
(package (package
(inherit gdb) (inherit gdb)
(inputs (alist-delete "guile" (inputs (modify-inputs (package-inputs gdb)
(package-inputs gdb))))) (delete "guile")))))
@end lisp @end lisp
The @code{alist-delete} call above removes the tuple from the The @code{modify-inputs} form above removes the @code{"guile"} package
@code{inputs} field that has @code{"guile"} as its first element from the @code{inputs} field of @code{gdb}. The @code{modify-inputs}
(@pxref{SRFI-1 Association Lists,,, guile, GNU Guile Reference macro is a helper that can prove useful anytime you want to remove, add,
Manual}). or replace package inputs.
@deffn {Scheme Syntax} modify-inputs @var{inputs} @var{clauses}
Modify the given package inputs, as returned by @code{package-inputs} & co.,
according to the given clauses. The example below removes the GMP and ACL
inputs of Coreutils and adds libcap to the back of the input list:
@lisp
(modify-inputs (package-inputs coreutils)
(delete "gmp" "acl")
(append libcap))
@end lisp
The example below replaces the @code{guile} package from the inputs of
@code{guile-redis} with @code{guile-2.2}:
@lisp
(modify-inputs (package-inputs guile-redis)
(replace "guile" guile-2.2))
@end lisp
The last type of clause is @code{prepend}, to add inputs to the front of
the list.
@end deffn
In some cases, you may find it useful to write functions In some cases, you may find it useful to write functions
(``procedures'', in Scheme parlance) that return a package based on some (``procedures'', in Scheme parlance) that return a package based on some
@ -7588,8 +7660,7 @@ depends on it:
(name name) (name name)
(version "3.0") (version "3.0")
;; several fields omitted ;; several fields omitted
(inputs (inputs (list lua))
`(("lua" ,lua)))
(synopsis "Socket library for Lua"))) (synopsis "Socket library for Lua")))
(define-public lua5.1-socket (define-public lua5.1-socket
@ -8429,8 +8500,9 @@ packages, which consists in running @code{python setup.py build} and
then @code{python setup.py install --prefix=/gnu/store/@dots{}}. then @code{python setup.py install --prefix=/gnu/store/@dots{}}.
For packages that install stand-alone Python programs under @code{bin/}, For packages that install stand-alone Python programs under @code{bin/},
it takes care of wrapping these programs so that their @env{PYTHONPATH} it takes care of wrapping these programs so that their
environment variable points to all the Python libraries they depend on. @env{GUIX_PYTHONPATH} environment variable points to all the Python
libraries they depend on.
Which Python package is used to perform the build can be specified with Which Python package is used to perform the build can be specified with
the @code{#:python} parameter. This is a useful way to force a package the @code{#:python} parameter. This is a useful way to force a package
@ -8442,6 +8514,13 @@ By default guix calls @code{setup.py} under control of
@code{setuptools}, much like @command{pip} does. Some packages are not @code{setuptools}, much like @command{pip} does. Some packages are not
compatible with setuptools (and pip), thus you can disable this by compatible with setuptools (and pip), thus you can disable this by
setting the @code{#:use-setuptools?} parameter to @code{#f}. setting the @code{#:use-setuptools?} parameter to @code{#f}.
If a @code{"python"} output is available, the package is installed into it
instead of the default @code{"out"} output. This is useful for packages that
include a Python package as only a part of the software, and thus want to
combine the phases of @code{python-build-system} with another build system.
Python bindings are a common usecase.
@end defvr @end defvr
@defvr {Scheme Variable} perl-build-system @defvr {Scheme Variable} perl-build-system
@ -8662,9 +8741,7 @@ implements the build procedure for packages that use
It adds both Meson and @uref{https://ninja-build.org/, Ninja} to the set It adds both Meson and @uref{https://ninja-build.org/, Ninja} to the set
of inputs, and they can be changed with the parameters @code{#:meson} of inputs, and they can be changed with the parameters @code{#:meson}
and @code{#:ninja} if needed. The default Meson is and @code{#:ninja} if needed.
@code{meson-for-build}, which is special because it doesn't clear the
@code{RUNPATH} of binaries and libraries when they are installed.
This build system is an extension of @code{gnu-build-system}, but with the This build system is an extension of @code{gnu-build-system}, but with the
following phases changed to some specific for Meson: following phases changed to some specific for Meson:
@ -8682,8 +8759,10 @@ The phase runs @code{ninja} to build the package in parallel by default, but
this can be changed with @code{#:parallel-build?}. this can be changed with @code{#:parallel-build?}.
@item check @item check
The phase runs @code{ninja} with the target specified in @code{#:test-target}, The phase runs @samp{meson test} with a base set of options that cannot
which is @code{"test"} by default. be overridden. This base set of options can be extended via the
@code{#:test-options} argument, for example to select or skip a specific
test suite.
@item install @item install
The phase runs @code{ninja install} and can not be changed. The phase runs @code{ninja install} and can not be changed.
@ -8695,11 +8774,11 @@ Apart from that, the build system also adds the following phases:
@item fix-runpath @item fix-runpath
This phase ensures that all binaries can find the libraries they need. This phase ensures that all binaries can find the libraries they need.
It searches for required libraries in subdirectories of the package being It searches for required libraries in subdirectories of the package
built, and adds those to @code{RUNPATH} where needed. It also removes being built, and adds those to @code{RUNPATH} where needed. It also
references to libraries left over from the build phase by removes references to libraries left over from the build phase by
@code{meson-for-build}, such as test dependencies, that aren't actually @code{meson}, such as test dependencies, that aren't actually required
required for the program to run. for the program to run.
@item glib-or-gtk-wrap @item glib-or-gtk-wrap
This phase is the phase provided by @code{glib-or-gtk-build-system}, and it This phase is the phase provided by @code{glib-or-gtk-build-system}, and it
@ -9078,12 +9157,14 @@ Make @var{file} writable for its owner.
@end deffn @end deffn
@deffn {Scheme Procedure} copy-recursively @var{source} @var{destination} @ @deffn {Scheme Procedure} copy-recursively @var{source} @var{destination} @
[#:log (current-output-port)] [#:follow-symlinks? #f] [#:keep-mtime? #f] [#:log (current-output-port)] [#:follow-symlinks? #f] @
[#:copy-file copy-file] [#:keep-mtime? #f] [#:keep-permissions? #t]
Copy @var{source} directory to @var{destination}. Follow symlinks if Copy @var{source} directory to @var{destination}. Follow symlinks if
@var{follow-symlinks?} is true; otherwise, just preserve them. When @var{follow-symlinks?} is true; otherwise, just preserve them. Call
@var{keep-mtime?} is true, keep the modification time of the files in @var{copy-file} to copy regular files. When @var{keep-mtime?} is true,
@var{source} on those of @var{destination}. Write verbose output to the keep the modification time of the files in @var{source} on those of
@var{log} port. @var{destination}. When @var{keep-permissions?} is true, preserve file
permissions. Write verbose output to the @var{log} port.
@end deffn @end deffn
@deffn {Scheme Procedure} delete-file-recursively @var{dir} @ @deffn {Scheme Procedure} delete-file-recursively @var{dir} @
@ -9167,6 +9248,31 @@ Return the complete file name for @var{program} as found in
@code{$PATH}, or @code{#f} if @var{program} could not be found. @code{$PATH}, or @code{#f} if @var{program} could not be found.
@end deffn @end deffn
@deffn {Scheme Procedure} search-input-file @var{inputs} @var{name}
@deffnx {Scheme Procedure} search-input-directory @var{inputs} @var{name}
Return the complete file name for @var{name} as found in @var{inputs};
@code{search-input-file} searches for a regular file and
@code{search-input-directory} searches for a directory. If @var{name}
could not be found, an exception is raised.
Here, @var{inputs} must be an association list like @code{inputs} and
@code{native-inputs} as available to build phases (@pxref{Build
Phases}).
@end deffn
Here is a (simplified) example of how @code{search-input-file} is used
in a build phase of the @code{wireguard-tools} package:
@lisp
(add-after 'install 'wrap-wg-quick
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((coreutils (string-append (assoc-ref inputs "coreutils")
"/bin")))
(wrap-program (search-input-file outputs "bin/wg-quick")
#:sh (search-input-file inputs "bin/bash")
`("PATH" ":" prefix ,(list coreutils))))))
@end lisp
@subsection Build Phases @subsection Build Phases
@cindex build phases @cindex build phases
@ -10664,6 +10770,7 @@ the Scheme programming interface of Guix in a convenient way.
* Invoking guix hash:: Computing the cryptographic hash of a file. * Invoking guix hash:: Computing the cryptographic hash of a file.
* Invoking guix import:: Importing package definitions. * Invoking guix import:: Importing package definitions.
* Invoking guix refresh:: Updating package definitions. * Invoking guix refresh:: Updating package definitions.
* Invoking guix style:: Styling package definitions.
* Invoking guix lint:: Finding errors in package definitions. * Invoking guix lint:: Finding errors in package definitions.
* Invoking guix size:: Profiling disk usage. * Invoking guix size:: Profiling disk usage.
* Invoking guix graph:: Visualizing the graph of packages. * Invoking guix graph:: Visualizing the graph of packages.
@ -12579,6 +12686,102 @@ token procured from @uref{https://github.com/settings/tokens} or
otherwise. otherwise.
@node Invoking guix style
@section Invoking @command{guix style}
The @command{guix style} command helps packagers style their package
definitions according to the latest fashionable trends. The command
currently focuses on one aspect: the style of package inputs. It may
eventually be extended to handle other stylistic matters.
The way package inputs are written is going through a transition
(@pxref{package Reference}, for more on package inputs). Until version
1.3.0, package inputs were written using the ``old style'', where each
input was given an explicit label, most of the time the package name:
@lisp
(package
;; @dots{}
;; The "old style" (deprecated).
(inputs `(("libunistring" ,libunistring)
("libffi" ,libffi))))
@end lisp
Today, the old style is deprecated and the preferred style looks like
this:
@lisp
(package
;; @dots{}
;; The "new style".
(inputs (list libunistring libffi)))
@end lisp
Likewise, uses of @code{alist-delete} and friends to manipulate inputs
is now deprecated in favor of @code{modify-inputs} (@pxref{Defining
Package Variants}, for more info on @code{modify-inputs}).
In the vast majority of cases, this is a purely mechanical change on the
surface syntax that does not even incur a package rebuild. Running
@command{guix style} can do that for you, whether you're working on
packages in Guix proper or in an external channel.
The general syntax is:
@example
guix style [@var{options}] @var{package}@dots{}
@end example
This causes @command{guix style} to analyze and rewrite the definition
of @var{package}@dots{}. It does so in a conservative way: preserving
comments and bailing out if it cannot make sense of the code that
appears in an inputs field. The available options are listed below.
@table @code
@item --dry-run
@itemx -n
Show source file locations that would be edited but do not modify them.
@item --load-path=@var{directory}
@itemx -L @var{directory}
Add @var{directory} to the front of the package module search path
(@pxref{Package Modules}).
@item --expression=@var{expr}
@itemx -e @var{expr}
Style the package @var{expr} evaluates to.
For example, running:
@example
guix style -e '(@@ (gnu packages gcc) gcc-5)'
@end example
styles the @code{gcc-5} package definition.
@item --input-simplification=@var{policy}
Specify the package input simplification policy for cases where an input
label does not match the corresponding package name. @var{policy} may
be one of the following:
@table @code
@item silent
Simplify inputs only when the change is ``silent'', meaning that the
package does not need to be rebuilt (its derivation is unchanged).
@item safe
Simplify inputs only when that is ``safe'' to do: the package might need
to be rebuilt, but the change is known to have no observable effect.
@item always
Simplify inputs even when input labels do not match package names, and
even if that might have an observable effect.
@end table
The default is @code{silent}, meaning that input simplifications do not
trigger any package rebuild.
@end table
@node Invoking guix lint @node Invoking guix lint
@section Invoking @command{guix lint} @section Invoking @command{guix lint}
@ -12707,6 +12910,13 @@ declare them as in this example:
@item formatting @item formatting
Warn about obvious source code formatting issues: trailing white space, Warn about obvious source code formatting issues: trailing white space,
use of tabulations, etc. use of tabulations, etc.
@item input-labels
Report old-style input labels that do not match the name of the
corresponding package. This aims to help migrate from the ``old input
style''. @xref{package Reference}, for more information on package
inputs and input styles. @xref{Invoking guix style}, on how to migrate
to the new style.
@end table @end table
The general syntax is: The general syntax is:
@ -18837,19 +19047,26 @@ example the @code{windowmaker} or @code{openbox} packages---preferably
by adding it to the @code{packages} field of your operating system by adding it to the @code{packages} field of your operating system
definition (@pxref{operating-system Reference, system-wide packages}). definition (@pxref{operating-system Reference, system-wide packages}).
@anchor{wayland-gdm}
GDM also supports Wayland: it can itself use Wayland instead of X11 for
its user interface, and it can also start Wayland sessions. The former is
required for the latter, to enable, set @code{wayland?} to @code{#t} in
@code{gdm-configuration}.
@defvr {Scheme Variable} gdm-service-type @defvr {Scheme Variable} gdm-service-type
This is the type for the @uref{https://wiki.gnome.org/Projects/GDM/, GNOME This is the type for the @uref{https://wiki.gnome.org/Projects/GDM/, GNOME
Desktop Manager} (GDM), a program that manages graphical display servers and Desktop Manager} (GDM), a program that manages graphical display servers and
handles graphical user logins. Its value must be a @code{gdm-configuration} handles graphical user logins. Its value must be a @code{gdm-configuration}
(see below). (see below).
@cindex session types (X11) @cindex session types
@cindex X11 session types
GDM looks for @dfn{session types} described by the @file{.desktop} files in GDM looks for @dfn{session types} described by the @file{.desktop} files in
@file{/run/current-system/profile/share/xsessions} and allows users to choose @file{/run/current-system/profile/share/xsessions} (for X11 sessions) and
a session from the log-in screen. Packages such as @code{gnome}, @code{xfce}, @file{/run/current-system/profile/share/wayland-sessions} (for Wayland
and @code{i3} provide @file{.desktop} files; adding them to the system-wide sessions) and allows users to choose a session from the log-in screen.
set of packages automatically makes them available at the log-in screen. Packages such as @code{gnome}, @code{xfce}, @code{i3} and @code{sway} provide
@file{.desktop} files; adding them to the system-wide set of packages
automatically makes them available at the log-in screen.
In addition, @file{~/.xsession} files are honored. When available, In addition, @file{~/.xsession} files are honored. When available,
@file{~/.xsession} must be an executable that starts a window manager @file{~/.xsession} must be an executable that starts a window manager
@ -18882,6 +19099,13 @@ File name of the @code{dbus-daemon} executable.
@item @code{gdm} (default: @code{gdm}) @item @code{gdm} (default: @code{gdm})
The GDM package to use. The GDM package to use.
@item @code{wayland?} (default: @code{#f})
When true, enables Wayland in GDM, necessary to use Wayland sessions.
@item @code{wayland-session} (default: @code{gdm-wayland-session-wrapper})
The Wayland session wrapper to use, needed to setup the
environment.
@end table @end table
@end deftp @end deftp
@ -19363,6 +19587,12 @@ programs.
Defaults to @samp{"lp"}. Defaults to @samp{"lp"}.
@end deftypevr @end deftypevr
@deftypevr {@code{files-configuration} parameter} string log-file-group
Specifies the group name or ID that will be used for log files.
Defaults to @samp{"lpadmin"}.
@end deftypevr
@deftypevr {@code{files-configuration} parameter} string log-file-perm @deftypevr {@code{files-configuration} parameter} string log-file-perm
Specifies the permissions for all log files that the scheduler writes. Specifies the permissions for all log files that the scheduler writes.
@ -20103,11 +20333,12 @@ expected.
The desktop environments in Guix use the Xorg display server by The desktop environments in Guix use the Xorg display server by
default. If you'd like to use the newer display server protocol default. If you'd like to use the newer display server protocol
called Wayland, you need to use the @code{sddm-service} instead of called Wayland, you need to enable Wayland support in GDM
GDM as the graphical login manager. You should then (@pxref{wayland-gdm}). Another solution is to use the
select the ``GNOME (Wayland)'' session in SDDM@. Alternatively you can @code{sddm-service} instead of GDM as the graphical login manager.
also try starting GNOME on Wayland manually from a TTY with the You should then select the ``GNOME (Wayland)'' session in SDDM@.
command ``XDG_SESSION_TYPE=wayland exec dbus-run-session Alternatively you can also try starting GNOME on Wayland manually from a
TTY with the command ``XDG_SESSION_TYPE=wayland exec dbus-run-session
gnome-session``. Currently only GNOME has support for Wayland. gnome-session``. Currently only GNOME has support for Wayland.
@defvr {Scheme Variable} gnome-desktop-service-type @defvr {Scheme Variable} gnome-desktop-service-type
@ -20849,7 +21080,7 @@ configuration.
@item @code{ident-file} (default: @code{%default-postgres-ident}) @item @code{ident-file} (default: @code{%default-postgres-ident})
Filename or G-expression for the user name mapping configuration. Filename or G-expression for the user name mapping configuration.
@item @code{socket-directory} (default: @code{#false}) @item @code{socket-directory} (default: @code{"/var/run/postgresql"})
Specifies the directory of the Unix-domain socket(s) on which PostgreSQL Specifies the directory of the Unix-domain socket(s) on which PostgreSQL
is to listen for connections from client applications. If set to is to listen for connections from client applications. If set to
@code{""} PostgreSQL does not listen on any Unix-domain sockets, in @code{""} PostgreSQL does not listen on any Unix-domain sockets, in
@ -33606,8 +33837,7 @@ The common way to create this file is as follows:
(let* ((out (assoc-ref %outputs "out")) (let* ((out (assoc-ref %outputs "out"))
(targetdir (string-append out "/share/" ,name)) (targetdir (string-append out "/share/" ,name))
(app (string-append out "/bin/" ,name)) (app (string-append out "/bin/" ,name))
(Rbin (string-append (assoc-ref %build-inputs "r-min") (Rbin (search-input-file %build-inputs "/bin/Rscript")))
"/bin/Rscript")))
;; @dots{} ;; @dots{}
(mkdir-p (string-append out "/bin")) (mkdir-p (string-append out "/bin"))
(call-with-output-file app (call-with-output-file app
@ -35701,6 +35931,15 @@ are created using @code{define-record-type*}, you can write a succinct
@var{body} that evaluates to the new service parameters by using the @var{body} that evaluates to the new service parameters by using the
@code{inherit} feature that @code{define-record-type*} provides. @code{inherit} feature that @code{define-record-type*} provides.
Clauses can also have the following form:
@lisp
(delete @var{type})
@end lisp
Such a clause removes all services of the given @var{type} from
@var{services}.
@xref{Using the Configuration System}, for example usage. @xref{Using the Configuration System}, for example usage.
@end deffn @end deffn
@ -37099,6 +37338,20 @@ GDB}):
From there on, GDB will pick up debugging information from the From there on, GDB will pick up debugging information from the
@file{.debug} files under @file{~/.guix-profile/lib/debug}. @file{.debug} files under @file{~/.guix-profile/lib/debug}.
Below is an alternative GDB script which is useful when working with
other profiles. It takes advantage of the optional Guile integration in
GDB. This snippet is included by default on Guix System in the
@file{~/.gdbinit} file.
@example
guile
(use-modules (gdb))
(execute (string-append "set debug-file-directory "
(or (getenv "GDB_DEBUG_FILE_DIRECTORY")
"~/.guix-profile/lib/debug")))
end
@end example
In addition, you will most likely want GDB to be able to show the source In addition, you will most likely want GDB to be able to show the source
code being debugged. To do that, you will have to unpack the source code being debugged. To do that, you will have to unpack the source
code of the package of interest (obtained with @code{guix build code of the package of interest (obtained with @code{guix build

View file

@ -312,6 +312,54 @@ Ce recours à Software Heritage fonctionne aussi pour les autres clones Git que
Guix peut faire, comme lorsqu'on utilise @option{--with-commit} et les options Guix peut faire, comme lorsqu'on utilise @option{--with-commit} et les options
de transformation de paquet similaires."))) de transformation de paquet similaires.")))
(entry (commit "db4681a4c17d282a661552f2f57e5c453d02e414")
(title
(en "@code{gdm-service-type} now supports Wayland")
(fr "@code{gdm-service-type} prend maintenant en charge Wayland"))
(body
(en "@code{gdm-service-type} has been updated to support being launched
as a Wayland client, and to launch Wayland sessions. The @code{wayland?} boolean
field in @code{gdm-configuration} controls whether GDM starts in Wayland or X
mode. See @command{info \"(guix) X Window\"} for more information.
Wayland mode for GDM will soon become the default in Guix, so if your
hardware doesn't support Wayland (Nvidia users are the most concerned here),
please consider disabling it now.")
(fr "@code{gdm-service-type} a été mis à jour et peut maintenant être
lancé comme client Wayland, ainsi que lancer des sessions Wayland. Le champ
booléen @code{wayland?} de @code{gdm-configuration} contrôle le mode dans lequel
GDM est lancé (Wayland ou X). Pour plus d'informations, voir
@command{info \"(guix) X Window\"} (en anglais).
GDM sera bientôt lancé en mode Wayland par défaut sur Guix, donc si votre matériel
ne le prend pas en charge (les utilisateur·ices de cartes Nvidia sont les plus
concerné·es), merci de le désactiver dès maintenant.")))
(entry (commit "f23803af2018a148fb088f2516d79c20d6bf95f0")
(title
(en "Input labels can now be omitted in package definitions"))
(body
(en "If you have written package definitions before, you may know
that package inputs required a bit of boilerplate: each input needs to have an
associated label (a string), which you can refer to in ``build-side code''.
Input labels are now unnecessary, meaning that you can write code like:
@lisp
(package
;; @dots{}
(inputs (list libunistring libffi libgc)))
@end lisp
Notice that the @code{inputs} field is simplified compared to the ``old
style''. When needed, you can now use g-expressions (gexps) to refer to
another package in build-side code. Additionally, the new
@code{modify-inputs} macro facilitates common operations on inputs---deleting,
replacing, adding inputs.
To ease transition to the ``new style'', a new @command{guix style} command is
provided. Run @command{info \"(guix) Invoking guix style\"} for more info.")))
(entry (commit "82daab42811a2e3c7684ebdf12af75ff0fa67b99") (entry (commit "82daab42811a2e3c7684ebdf12af75ff0fa67b99")
(title (title
(en "New @samp{deb} format for the @command{guix pack} command") (en "New @samp{deb} format for the @command{guix pack} command")

View file

@ -125,7 +125,12 @@ TARGET."
(define %system-manifest (define %system-manifest
(manifest (manifest
(append-map (lambda (system) (append-map (lambda (system)
(map (cut package->manifest-entry* <> system) ;; Some of %SYSTEM-PACKAGES are currently unsupported on some
;; systems--e.g., GNOME on non-x86_64, due to Rust. Filter
;; them out.
(filter-map (lambda (package)
(and (supported-package? package system)
(package->manifest-entry* package system)))
%system-packages)) %system-packages))
'("x86_64-linux" "i686-linux")))) ;Guix System '("x86_64-linux" "i686-linux")))) ;Guix System

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018 Chris Marusich <cmmarusich@gmail.com> ;;; Copyright © 2018 Chris Marusich <cmmarusich@gmail.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
@ -20,6 +20,7 @@
(define-module (gnu build marionette) (define-module (gnu build marionette)
#:use-module (srfi srfi-9) #:use-module (srfi srfi-9)
#:use-module (srfi srfi-26) #:use-module (srfi srfi-26)
#:use-module (srfi srfi-64)
#:use-module (rnrs io ports) #:use-module (rnrs io ports)
#:use-module (ice-9 match) #:use-module (ice-9 match)
#:use-module (ice-9 popen) #:use-module (ice-9 popen)
@ -33,7 +34,9 @@
marionette-screen-text marionette-screen-text
wait-for-screen-text wait-for-screen-text
%qwerty-us-keystrokes %qwerty-us-keystrokes
marionette-type)) marionette-type
system-test-runner))
;;; Commentary: ;;; Commentary:
;;; ;;;
@ -358,4 +361,69 @@ to actual keystrokes."
(for-each (cut marionette-control <> marionette) (for-each (cut marionette-control <> marionette)
(string->keystroke-commands str keystrokes))) (string->keystroke-commands str keystrokes)))
;;;
;;; Test helper.
;;;
(define* (system-test-runner #:optional log-directory)
"Return a SRFI-64 test runner that calls 'exit' upon 'test-end'. When
LOG-DIRECTORY is specified, create log file within it."
(let ((runner (test-runner-simple)))
;; Log to a file under LOG-DIRECTORY.
(test-runner-on-group-begin! runner
(let ((on-begin (test-runner-on-group-begin runner)))
(lambda (runner suite-name count)
(when log-directory
(catch 'system-error
(lambda ()
(mkdir log-directory))
(lambda args
(unless (= (system-error-errno args) EEXIST)
(apply throw args))))
(set! test-log-to-file
(string-append log-directory "/" suite-name ".log")))
(on-begin runner suite-name count))))
;; The default behavior on 'test-end' is to only write a line if the test
;; failed. Arrange to also write a line on success.
(test-runner-on-test-end! runner
(let ((on-end (test-runner-on-test-end runner)))
(lambda (runner)
(let* ((kind (test-result-ref runner 'result-kind))
(results (test-result-alist runner))
(test-name (assq-ref results 'test-name)))
(unless (memq kind '(fail xpass))
(format (current-output-port) "~a: ~a~%"
(string-upcase (symbol->string kind))
test-name)))
(on-end runner))))
;; On 'test-end', display test results and exit with zero if and only if
;; there were no test failures.
(test-runner-on-final! runner
(lambda (runner)
(let ((success? (= (test-runner-fail-count runner) 0)))
(test-on-final-simple runner)
(when (not success?)
(let* ((log-port (test-runner-aux-value runner))
(log-file (port-filename log-port)))
(format (current-error-port)
"\nTests failed, dumping log file '~a'.\n\n"
log-file)
;; At this point LOG-PORT is not closed yet; flush it.
(force-output log-port)
;; Brute force to avoid dependency on (guix build utils) for
;; 'dump-port'.
(let ((content (call-with-input-file log-file
get-bytevector-all)))
(put-bytevector (current-error-port) content))))
(exit success?))))
runner))
;;; marionette.scm ends here ;;; marionette.scm ends here

View file

@ -164,8 +164,8 @@ the #:references-graphs parameter of 'derivation'."
"-cpu" "max" "-cpu" "max"
"-m" (number->string memory-size) "-m" (number->string memory-size)
"-nic" "user,model=virtio-net-pci" "-nic" "user,model=virtio-net-pci"
"-object" "rng-random,filename=/dev/urandom,id=guixsd-vm-rng" "-object" "rng-random,filename=/dev/urandom,id=guix-vm-rng"
"-device" "virtio-rng-pci,rng=guixsd-vm-rng" "-device" "virtio-rng-pci,rng=guix-vm-rng"
"-virtfs" "-virtfs"
(string-append "local,id=store_dev,path=" (string-append "local,id=store_dev,path="
(%store-directory) (%store-directory)

View file

@ -69,7 +69,6 @@
#:export (derivation->job #:export (derivation->job
image->job image->job
%bootstrap-packages
%core-packages %core-packages
%cross-targets %cross-targets
channel-source->package channel-source->package
@ -130,7 +129,7 @@ building the derivation."
(define (package-cross-job store job-name package target system) (define (package-cross-job store job-name package target system)
"Return a job called TARGET.JOB-NAME that cross-builds PACKAGE for TARGET on "Return a job called TARGET.JOB-NAME that cross-builds PACKAGE for TARGET on
SYSTEM." SYSTEM."
(let ((name (string-append target "." job-name "." system))) (let ((name (string-append target "." job-name)))
(package-job store name package system (package-job store name package system
#:cross? #t #:cross? #t
#:target target))) #:target target)))
@ -139,9 +138,9 @@ SYSTEM."
;; Note: Don't put the '-final' package variants because (1) that's ;; Note: Don't put the '-final' package variants because (1) that's
;; implicit, and (2) they cannot be cross-built (due to the explicit input ;; implicit, and (2) they cannot be cross-built (due to the explicit input
;; chain.) ;; chain.)
(list gcc-7 gcc-8 gcc-9 gcc-10 glibc binutils (list gcc-8 gcc-9 gcc-10 gcc-11 glibc binutils
gmp mpfr mpc coreutils findutils diffutils patch sed grep gmp mpfr mpc coreutils findutils diffutils patch sed grep
gawk gnu-gettext hello guile-2.0 guile-2.2 zlib gzip xz guix gawk gnu-gettext hello guile-2.2 guile-3.0 zlib gzip xz guix
%bootstrap-binaries-tarball %bootstrap-binaries-tarball
%binutils-bootstrap-tarball %binutils-bootstrap-tarball
(%glibc-bootstrap-tarball) (%glibc-bootstrap-tarball)
@ -149,11 +148,16 @@ SYSTEM."
%guile-bootstrap-tarball %guile-bootstrap-tarball
%bootstrap-tarballs)) %bootstrap-tarballs))
(define %bootstrap-packages (define (commencement-packages system)
;; Return the list of bootstrap packages from the commencement module. "Return the list of bootstrap packages from the commencement module for
(filter package? SYSTEM."
(module-map ;; Only include packages supported on SYSTEM. For example, the Mes
(lambda (sym var) ;; bootstrap graph is currently not supported on ARM so it should be
;; excluded.
(filter (lambda (obj)
(and (package? obj)
(supported-package? obj system)))
(module-map (lambda (sym var)
(variable-ref var)) (variable-ref var))
(resolve-module '(gnu packages commencement))))) (resolve-module '(gnu packages commencement)))))
@ -297,20 +301,16 @@ otherwise use the IMAGE name."
(define channel-build-system (define channel-build-system
;; Build system used to "convert" a channel instance to a package. ;; Build system used to "convert" a channel instance to a package.
(let* ((build (lambda* (store name inputs (let* ((build (lambda* (name inputs
#:key source commit system #:key source commit system
#:allow-other-keys) #:allow-other-keys)
(run-with-store store
;; SOURCE can be a lowerable object such as <local-file>
;; or a file name. Adjust accordingly.
(mlet* %store-monad ((source (if (string? source) (mlet* %store-monad ((source (if (string? source)
(return source) (return source)
(lower-object source))) (lower-object source)))
(instance (instance
-> (checkout->channel-instance -> (checkout->channel-instance
source #:commit commit))) source #:commit commit)))
(channel-instances->derivation (list instance))) (channel-instances->derivation (list instance)))))
#:system system)))
(lower (lambda* (name #:key system source commit (lower (lambda* (name #:key system source commit
#:allow-other-keys) #:allow-other-keys)
(bag (bag
@ -538,7 +538,7 @@ names."
(map (lambda (package) (map (lambda (package)
(package-job store (job-name package) (package-job store (job-name package)
package system)) package system))
(append %bootstrap-packages %core-packages)) (append (commencement-packages system) %core-packages))
(cross-jobs store system))) (cross-jobs store system)))
('guix ('guix
;; Build Guix modules only. ;; Build Guix modules only.

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Mathieu Othacehe <m.othacehe@gmail.com> ;;; Copyright © 2018, 2021 Mathieu Othacehe <othacehe@gnu.org>
;;; Copyright © 2020 Florian Pelz <pelzflorian@pelzflorian.de> ;;; Copyright © 2020 Florian Pelz <pelzflorian@pelzflorian.de>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
@ -79,6 +79,11 @@
"Parse FILE and return two values, the list of supported X11-KEYMAP-MODEL "Parse FILE and return two values, the list of supported X11-KEYMAP-MODEL
and X11-KEYMAP-LAYOUT records. FILE is an XML file from the X Keyboard and X11-KEYMAP-LAYOUT records. FILE is an XML file from the X Keyboard
Configuration Database, describing possible XKB configurations." Configuration Database, describing possible XKB configurations."
(define maybe-empty
(match-lambda
((x) x)
(#f "")))
(define (model m) (define (model m)
(sxml-match m (sxml-match m
[(model [(model
@ -108,7 +113,7 @@ Configuration Database, describing possible XKB configurations."
. ,rest-variant)) . ,rest-variant))
(x11-keymap-variant (x11-keymap-variant
(name name) (name name)
(description (car (description (maybe-empty
(assoc-ref rest-variant 'description))))])) (assoc-ref rest-variant 'description))))]))
(define (layout l) (define (layout l)
@ -120,9 +125,9 @@ Configuration Database, describing possible XKB configurations."
(variantList ,[variant -> v] ...)) (variantList ,[variant -> v] ...))
(x11-keymap-layout (x11-keymap-layout
(name name) (name name)
(synopsis (car (synopsis (maybe-empty
(assoc-ref rest-layout 'shortDescription))) (assoc-ref rest-layout 'shortDescription)))
(description (car (description (maybe-empty
(assoc-ref rest-layout 'description))) (assoc-ref rest-layout 'description)))
(variants (list v ...)))] (variants (list v ...)))]
[(layout [(layout
@ -131,9 +136,9 @@ Configuration Database, describing possible XKB configurations."
. ,rest-layout)) . ,rest-layout))
(x11-keymap-layout (x11-keymap-layout
(name name) (name name)
(synopsis (car (synopsis (maybe-empty
(assoc-ref rest-layout 'shortDescription))) (assoc-ref rest-layout 'shortDescription)))
(description (car (description (maybe-empty
(assoc-ref rest-layout 'description))) (assoc-ref rest-layout 'description)))
(variants '()))])) (variants '()))]))

View file

@ -1418,8 +1418,10 @@ USER-PARTITIONS, or return nothing."
(let* ((uuids (map (lambda (file) (let* ((uuids (map (lambda (file)
(uuid->string (read-partition-uuid file))) (uuid->string (read-partition-uuid file)))
swap-devices))) swap-devices)))
`((swap-devices (list ,@(map (lambda (uuid) `((swap-devices
`(uuid ,uuid)) (list ,@(map (lambda (uuid)
`(swap-space
(target (uuid ,uuid))))
uuids)))))) uuids))))))
,@(if (null? encrypted-partitions) ,@(if (null? encrypted-partitions)
'() '()

View file

@ -11,7 +11,7 @@
# Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com> # Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
# Copyright © 2016, 2017, 2018, 2019 Alex Vong <alexvong1995@gmail.com> # Copyright © 2016, 2017, 2018, 2019 Alex Vong <alexvong1995@gmail.com>
# Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il> # Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
# Copyright © 2016, 2017, 2018, 2019, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> # Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
# Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> # Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
# Copyright © 2017, 2018 Clément Lassieur <clement@lassieur.org> # Copyright © 2017, 2018 Clément Lassieur <clement@lassieur.org>
# Copyright © 2017, 2020 Mathieu Othacehe <m.othacehe@gmail.com> # Copyright © 2017, 2020 Mathieu Othacehe <m.othacehe@gmail.com>
@ -40,11 +40,13 @@
# Copyright © 2020 Malte Frank Gerdes <mate.f.gerdes@gmail.com> # Copyright © 2020 Malte Frank Gerdes <mate.f.gerdes@gmail.com>
# Copyright © 2020 Vinicius Monego <monego@posteo.net> # Copyright © 2020 Vinicius Monego <monego@posteo.net>
# Copyright © 2021 Björn Höfling <bjoern.hoefling@bjoernhoefling.de> # Copyright © 2021 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
# Copyright © 2021 Greg Hogan <code@greghogan.com>
# Copyright © 2021 Philip McGrath <philip@philipmcgrath.com> # Copyright © 2021 Philip McGrath <philip@philipmcgrath.com>
# Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net> # Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net>
# Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com> # Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
# Copyright © 2021 Dmitry Polyakov <polyakov@liltechdude.xyz> # Copyright © 2021 Dmitry Polyakov <polyakov@liltechdude.xyz>
# Copyright © 2021 Andrew Tropin <andrew@trop.in> # Copyright © 2021 Andrew Tropin <andrew@trop.in>
# Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
# #
# This file is part of GNU Guix. # This file is part of GNU Guix.
# #
@ -539,6 +541,7 @@ GNU_SYSTEM_MODULES = \
%D%/packages/slang.scm \ %D%/packages/slang.scm \
%D%/packages/smalltalk.scm \ %D%/packages/smalltalk.scm \
%D%/packages/sml.scm \ %D%/packages/sml.scm \
%D%/packages/solidity.scm \
%D%/packages/speech.scm \ %D%/packages/speech.scm \
%D%/packages/sphinx.scm \ %D%/packages/sphinx.scm \
%D%/packages/spice.scm \ %D%/packages/spice.scm \
@ -821,7 +824,6 @@ dist_patch_DATA = \
%D%/packages/patches/abcl-fix-build-xml.patch \ %D%/packages/patches/abcl-fix-build-xml.patch \
%D%/packages/patches/ableton-link-system-libraries-debian.patch \ %D%/packages/patches/ableton-link-system-libraries-debian.patch \
%D%/packages/patches/abiword-explictly-cast-bools.patch \ %D%/packages/patches/abiword-explictly-cast-bools.patch \
%D%/packages/patches/abseil-cpp-fix-gtest.patch \
%D%/packages/patches/abseil-cpp-fix-strerror_test.patch \ %D%/packages/patches/abseil-cpp-fix-strerror_test.patch \
%D%/packages/patches/adb-add-libraries.patch \ %D%/packages/patches/adb-add-libraries.patch \
%D%/packages/patches/adb-libssl_11-compatibility.patch \ %D%/packages/patches/adb-libssl_11-compatibility.patch \
@ -834,6 +836,7 @@ dist_patch_DATA = \
%D%/packages/patches/aegisub-boost68.patch \ %D%/packages/patches/aegisub-boost68.patch \
%D%/packages/patches/aegisub-make43.patch \ %D%/packages/patches/aegisub-make43.patch \
%D%/packages/patches/agg-am_c_prototype.patch \ %D%/packages/patches/agg-am_c_prototype.patch \
%D%/packages/patches/agg-2.5-gcc8.patch \
%D%/packages/patches/akonadi-paths.patch \ %D%/packages/patches/akonadi-paths.patch \
%D%/packages/patches/akonadi-not-relocatable.patch \ %D%/packages/patches/akonadi-not-relocatable.patch \
%D%/packages/patches/akonadi-timestamps.patch \ %D%/packages/patches/akonadi-timestamps.patch \
@ -850,6 +853,7 @@ dist_patch_DATA = \
%D%/packages/patches/ath9k-htc-firmware-gcc.patch \ %D%/packages/patches/ath9k-htc-firmware-gcc.patch \
%D%/packages/patches/ath9k-htc-firmware-gcc-compat.patch \ %D%/packages/patches/ath9k-htc-firmware-gcc-compat.patch \
%D%/packages/patches/ath9k-htc-firmware-objcopy.patch \ %D%/packages/patches/ath9k-htc-firmware-objcopy.patch \
%D%/packages/patches/atlas-gfortran-compat.patch \
%D%/packages/patches/audacity-build-with-system-portaudio.patch \ %D%/packages/patches/audacity-build-with-system-portaudio.patch \
%D%/packages/patches/audacity-add-include.patch \ %D%/packages/patches/audacity-add-include.patch \
%D%/packages/patches/audiofile-fix-datatypes-in-tests.patch \ %D%/packages/patches/audiofile-fix-datatypes-in-tests.patch \
@ -870,6 +874,7 @@ dist_patch_DATA = \
%D%/packages/patches/avahi-localstatedir.patch \ %D%/packages/patches/avahi-localstatedir.patch \
%D%/packages/patches/avidemux-install-to-lib.patch \ %D%/packages/patches/avidemux-install-to-lib.patch \
%D%/packages/patches/awesome-reproducible-png.patch \ %D%/packages/patches/awesome-reproducible-png.patch \
%D%/packages/patches/awesome-4.3-fno-common.patch \
%D%/packages/patches/aws-c-auth-install-private-headers.patch \ %D%/packages/patches/aws-c-auth-install-private-headers.patch \
%D%/packages/patches/azr3.patch \ %D%/packages/patches/azr3.patch \
%D%/packages/patches/bash-reproducible-linux-pgrp-pipe.patch \ %D%/packages/patches/bash-reproducible-linux-pgrp-pipe.patch \
@ -878,6 +883,7 @@ dist_patch_DATA = \
%D%/packages/patches/bastet-change-source-of-unordered_set.patch \ %D%/packages/patches/bastet-change-source-of-unordered_set.patch \
%D%/packages/patches/bazaar-CVE-2017-14176.patch \ %D%/packages/patches/bazaar-CVE-2017-14176.patch \
%D%/packages/patches/bc-fix-cross-compilation.patch \ %D%/packages/patches/bc-fix-cross-compilation.patch \
%D%/packages/patches/bdb-5.3-atomics-on-gcc-9.patch \
%D%/packages/patches/bear-disable-preinstall-tests.patch \ %D%/packages/patches/bear-disable-preinstall-tests.patch \
%D%/packages/patches/bind-re-add-attr-constructor-priority.patch \ %D%/packages/patches/bind-re-add-attr-constructor-priority.patch \
%D%/packages/patches/brightnessctl-elogind-support.patch \ %D%/packages/patches/brightnessctl-elogind-support.patch \
@ -895,9 +901,8 @@ dist_patch_DATA = \
%D%/packages/patches/beancount-disable-googleapis-fonts.patch \ %D%/packages/patches/beancount-disable-googleapis-fonts.patch \
%D%/packages/patches/behave-skip-a-couple-of-tests.patch \ %D%/packages/patches/behave-skip-a-couple-of-tests.patch \
%D%/packages/patches/beignet-correct-file-names.patch \ %D%/packages/patches/beignet-correct-file-names.patch \
%D%/packages/patches/biber-fix-encoding-write.patch \
%D%/packages/patches/biber-sortinithash.patch \
%D%/packages/patches/bidiv-update-fribidi.patch \ %D%/packages/patches/bidiv-update-fribidi.patch \
%D%/packages/patches/binutils-2.37-file-descriptor-leak.patch \
%D%/packages/patches/binutils-boot-2.20.1a.patch \ %D%/packages/patches/binutils-boot-2.20.1a.patch \
%D%/packages/patches/binutils-loongson-workaround.patch \ %D%/packages/patches/binutils-loongson-workaround.patch \
%D%/packages/patches/binutils-mingw-w64-timestamp.patch \ %D%/packages/patches/binutils-mingw-w64-timestamp.patch \
@ -921,9 +926,12 @@ dist_patch_DATA = \
%D%/packages/patches/catdoc-CVE-2017-11110.patch \ %D%/packages/patches/catdoc-CVE-2017-11110.patch \
%D%/packages/patches/circos-remove-findbin.patch \ %D%/packages/patches/circos-remove-findbin.patch \
%D%/packages/patches/cdparanoia-fpic.patch \ %D%/packages/patches/cdparanoia-fpic.patch \
%D%/packages/patches/cdrkit-libre-cross-compile.patch \
%D%/packages/patches/cdrtools-3.01-mkisofs-isoinfo.patch \ %D%/packages/patches/cdrtools-3.01-mkisofs-isoinfo.patch \
%D%/packages/patches/ceph-disable-cpu-optimizations.patch \ %D%/packages/patches/ceph-disable-cpu-optimizations.patch \
%D%/packages/patches/ceph-fix-snappy-breaking-change.patch \ %D%/packages/patches/ceph-boost-compat.patch \
%D%/packages/patches/ceph-rocksdb-compat.patch \
%D%/packages/patches/cheese-vala-update.patch \
%D%/packages/patches/chez-scheme-build-util-paths-backport.patch \ %D%/packages/patches/chez-scheme-build-util-paths-backport.patch \
%D%/packages/patches/chmlib-inttypes.patch \ %D%/packages/patches/chmlib-inttypes.patch \
%D%/packages/patches/cl-asdf-config-directories.patch \ %D%/packages/patches/cl-asdf-config-directories.patch \
@ -946,12 +954,15 @@ dist_patch_DATA = \
%D%/packages/patches/clang-runtime-3.9-libsanitizer-mode-field.patch \ %D%/packages/patches/clang-runtime-3.9-libsanitizer-mode-field.patch \
%D%/packages/patches/clang-runtime-3.8-libsanitizer-mode-field.patch \ %D%/packages/patches/clang-runtime-3.8-libsanitizer-mode-field.patch \
%D%/packages/patches/classpath-aarch64-support.patch \ %D%/packages/patches/classpath-aarch64-support.patch \
%D%/packages/patches/classpath-miscompilation.patch \
%D%/packages/patches/cling-use-shared-library.patch \
%D%/packages/patches/clucene-pkgconfig.patch \ %D%/packages/patches/clucene-pkgconfig.patch \
%D%/packages/patches/cmake-curl-certificates.patch \ %D%/packages/patches/cmake-curl-certificates.patch \
%D%/packages/patches/coda-use-system-libs.patch \ %D%/packages/patches/coda-use-system-libs.patch \
%D%/packages/patches/collectd-5.11.0-noinstallvar.patch \ %D%/packages/patches/collectd-5.11.0-noinstallvar.patch \
%D%/packages/patches/combinatorial-blas-awpm.patch \ %D%/packages/patches/combinatorial-blas-awpm.patch \
%D%/packages/patches/combinatorial-blas-io-fix.patch \ %D%/packages/patches/combinatorial-blas-io-fix.patch \
%D%/packages/patches/coreutils-gnulib-tests.patch \
%D%/packages/patches/coq-fix-envvars.patch \ %D%/packages/patches/coq-fix-envvars.patch \
%D%/packages/patches/coreutils-ls.patch \ %D%/packages/patches/coreutils-ls.patch \
%D%/packages/patches/cpuinfo-system-libraries.patch \ %D%/packages/patches/cpuinfo-system-libraries.patch \
@ -959,20 +970,17 @@ dist_patch_DATA = \
%D%/packages/patches/crda-optional-gcrypt.patch \ %D%/packages/patches/crda-optional-gcrypt.patch \
%D%/packages/patches/clucene-contribs-lib.patch \ %D%/packages/patches/clucene-contribs-lib.patch \
%D%/packages/patches/cube-nocheck.patch \ %D%/packages/patches/cube-nocheck.patch \
%D%/packages/patches/cups-CVE-2020-10001.patch \
%D%/packages/patches/curl-use-ssl-cert-env.patch \ %D%/packages/patches/curl-use-ssl-cert-env.patch \
%D%/packages/patches/curl-7.76-use-ssl-cert-env.patch \
%D%/packages/patches/curl-7.77-tls-priority-string.patch \
%D%/packages/patches/cursynth-wave-rand.patch \ %D%/packages/patches/cursynth-wave-rand.patch \
%D%/packages/patches/cvs-CVE-2017-12836.patch \ %D%/packages/patches/cvs-CVE-2017-12836.patch \
%D%/packages/patches/cyrus-sasl-ac-try-run-fix.patch \ %D%/packages/patches/cyrus-sasl-ac-try-run-fix.patch \
%D%/packages/patches/cyrus-sasl-CVE-2019-19906.patch \ %D%/packages/patches/cyrus-sasl-CVE-2019-19906.patch \
%D%/packages/patches/c++-gsl-find-system-gtest.patch \ %D%/packages/patches/c++-gsl-find-system-gtest.patch \
%D%/packages/patches/c++-gsl-move-array-bounds-tests.patch \
%D%/packages/patches/date-output-pkg-config-files.patch \ %D%/packages/patches/date-output-pkg-config-files.patch \
%D%/packages/patches/datefudge-gettimeofday.patch \ %D%/packages/patches/datefudge-gettimeofday.patch \
%D%/packages/patches/dbacl-include-locale.h.patch \ %D%/packages/patches/dbacl-include-locale.h.patch \
%D%/packages/patches/dbus-helper-search-path.patch \ %D%/packages/patches/dbus-helper-search-path.patch \
%D%/packages/patches/dbus-CVE-2020-12049.patch \
%D%/packages/patches/dbus-c++-gcc-compat.patch \ %D%/packages/patches/dbus-c++-gcc-compat.patch \
%D%/packages/patches/dbus-c++-threading-mutex.patch \ %D%/packages/patches/dbus-c++-threading-mutex.patch \
%D%/packages/patches/dbxfs-remove-sentry-sdk.patch \ %D%/packages/patches/dbxfs-remove-sentry-sdk.patch \
@ -983,15 +991,14 @@ dist_patch_DATA = \
%D%/packages/patches/desmume-gcc7-fixes.patch \ %D%/packages/patches/desmume-gcc7-fixes.patch \
%D%/packages/patches/dfu-programmer-fix-libusb.patch \ %D%/packages/patches/dfu-programmer-fix-libusb.patch \
%D%/packages/patches/diffoscope-fix-llvm-test.patch \ %D%/packages/patches/diffoscope-fix-llvm-test.patch \
%D%/packages/patches/diffutils-gets-undeclared.patch \ %D%/packages/patches/diffutils-fix-signal-processing.patch \
%D%/packages/patches/dkimproxy-add-ipv6-support.patch \ %D%/packages/patches/dkimproxy-add-ipv6-support.patch \
%D%/packages/patches/docbook-xsl-nonrecursive-string-subst.patch \ %D%/packages/patches/docbook-xsl-nonrecursive-string-subst.patch \
%D%/packages/patches/docbook-xsl-support-old-url.patch \
%D%/packages/patches/doc++-include-directives.patch \ %D%/packages/patches/doc++-include-directives.patch \
%D%/packages/patches/doc++-segfault-fix.patch \ %D%/packages/patches/doc++-segfault-fix.patch \
%D%/packages/patches/docker-fix-tests.patch \ %D%/packages/patches/docker-fix-tests.patch \
%D%/packages/patches/dovecot-trees-support-dovecot-2.3.patch \ %D%/packages/patches/dovecot-trees-support-dovecot-2.3.patch \
%D%/packages/patches/doxygen-test.patch \
%D%/packages/patches/doxygen-1.8.17-runtests.patch \
%D%/packages/patches/dstat-fix-crash-when-specifying-delay.patch \ %D%/packages/patches/dstat-fix-crash-when-specifying-delay.patch \
%D%/packages/patches/dstat-skip-devices-without-io.patch \ %D%/packages/patches/dstat-skip-devices-without-io.patch \
%D%/packages/patches/dune-istl-2.7-fix-non-mpi-tests.patch \ %D%/packages/patches/dune-istl-2.7-fix-non-mpi-tests.patch \
@ -1009,6 +1016,7 @@ dist_patch_DATA = \
%D%/packages/patches/elixir-path-length.patch \ %D%/packages/patches/elixir-path-length.patch \
%D%/packages/patches/elm-compiler-disable-reactor.patch \ %D%/packages/patches/elm-compiler-disable-reactor.patch \
%D%/packages/patches/elm-compiler-fix-map-key.patch \ %D%/packages/patches/elm-compiler-fix-map-key.patch \
%D%/packages/patches/elogind-revert-polkit-detection.patch \
%D%/packages/patches/emacs-exec-path.patch \ %D%/packages/patches/emacs-exec-path.patch \
%D%/packages/patches/emacs-fix-scheme-indent-function.patch \ %D%/packages/patches/emacs-fix-scheme-indent-function.patch \
%D%/packages/patches/emacs-ignore-empty-xim-styles.patch \ %D%/packages/patches/emacs-ignore-empty-xim-styles.patch \
@ -1026,14 +1034,10 @@ dist_patch_DATA = \
%D%/packages/patches/esmtp-add-lesmtp.patch \ %D%/packages/patches/esmtp-add-lesmtp.patch \
%D%/packages/patches/eudev-rules-directory.patch \ %D%/packages/patches/eudev-rules-directory.patch \
%D%/packages/patches/evilwm-lost-focus-bug.patch \ %D%/packages/patches/evilwm-lost-focus-bug.patch \
%D%/packages/patches/evolution-CVE-2020-11879.patch \
%D%/packages/patches/evolution-data-server-CVE-2020-14928.patch \
%D%/packages/patches/evolution-data-server-CVE-2020-16117.patch \
%D%/packages/patches/evolution-data-server-locales.patch \
%D%/packages/patches/evolution-data-server-libical-compat.patch \
%D%/packages/patches/exercism-disable-self-update.patch \ %D%/packages/patches/exercism-disable-self-update.patch \
%D%/packages/patches/extempore-unbundle-external-dependencies.patch \ %D%/packages/patches/extempore-unbundle-external-dependencies.patch \
%D%/packages/patches/extundelete-e2fsprogs-1.44.patch \ %D%/packages/patches/extundelete-e2fsprogs-1.44.patch \
%D%/packages/patches/farstream-gupnp.patch \
%D%/packages/patches/farstream-make.patch \ %D%/packages/patches/farstream-make.patch \
%D%/packages/patches/fastcap-mulGlobal.patch \ %D%/packages/patches/fastcap-mulGlobal.patch \
%D%/packages/patches/fastcap-mulSetup.patch \ %D%/packages/patches/fastcap-mulSetup.patch \
@ -1047,17 +1051,19 @@ dist_patch_DATA = \
%D%/packages/patches/fifo-map-fix-flags-for-gcc.patch \ %D%/packages/patches/fifo-map-fix-flags-for-gcc.patch \
%D%/packages/patches/fifo-map-remove-catch.hpp.patch \ %D%/packages/patches/fifo-map-remove-catch.hpp.patch \
%D%/packages/patches/findutils-localstatedir.patch \ %D%/packages/patches/findutils-localstatedir.patch \
%D%/packages/patches/findutils-test-rwlock-threads.patch \
%D%/packages/patches/flann-cmake-3.11.patch \ %D%/packages/patches/flann-cmake-3.11.patch \
%D%/packages/patches/flatpak-fix-path.patch \ %D%/packages/patches/flatpak-fix-path.patch \
%D%/packages/patches/fontconfig-cache-ignore-mtime.patch \
%D%/packages/patches/foobillard++-pkg-config.patch \ %D%/packages/patches/foobillard++-pkg-config.patch \
%D%/packages/patches/foomatic-filters-CVE-2015-8327.patch \ %D%/packages/patches/foomatic-filters-CVE-2015-8327.patch \
%D%/packages/patches/foomatic-filters-CVE-2015-8560.patch \ %D%/packages/patches/foomatic-filters-CVE-2015-8560.patch \
%D%/packages/patches/fontconfig-hurd-path-max.patch \
%D%/packages/patches/fp16-system-libraries.patch \ %D%/packages/patches/fp16-system-libraries.patch \
%D%/packages/patches/fpc-reproducibility.patch \ %D%/packages/patches/fpc-reproducibility.patch \
%D%/packages/patches/fplll-std-fenv.patch \ %D%/packages/patches/fplll-std-fenv.patch \
%D%/packages/patches/freecad-boost-serialization.patch \
%D%/packages/patches/freecad-vtk9.patch \
%D%/packages/patches/freedink-engine-fix-sdl-hints.patch \ %D%/packages/patches/freedink-engine-fix-sdl-hints.patch \
%D%/packages/patches/freeglut-gcc-compat.patch \
%D%/packages/patches/freeimage-unbundle.patch \ %D%/packages/patches/freeimage-unbundle.patch \
%D%/packages/patches/fuse-overlapping-headers.patch \ %D%/packages/patches/fuse-overlapping-headers.patch \
%D%/packages/patches/fxdiv-system-libraries.patch \ %D%/packages/patches/fxdiv-system-libraries.patch \
@ -1065,7 +1071,6 @@ dist_patch_DATA = \
%D%/packages/patches/ganeti-disable-version-symlinks.patch \ %D%/packages/patches/ganeti-disable-version-symlinks.patch \
%D%/packages/patches/ganeti-haskell-compat.patch \ %D%/packages/patches/ganeti-haskell-compat.patch \
%D%/packages/patches/ganeti-haskell-pythondir.patch \ %D%/packages/patches/ganeti-haskell-pythondir.patch \
%D%/packages/patches/ganeti-preserve-PYTHONPATH.patch \
%D%/packages/patches/ganeti-shepherd-master-failover.patch \ %D%/packages/patches/ganeti-shepherd-master-failover.patch \
%D%/packages/patches/ganeti-shepherd-support.patch \ %D%/packages/patches/ganeti-shepherd-support.patch \
%D%/packages/patches/ganeti-sphinx-compat.patch \ %D%/packages/patches/ganeti-sphinx-compat.patch \
@ -1094,6 +1099,7 @@ dist_patch_DATA = \
%D%/packages/patches/gcc-4.9.3-mingw-gthr-default.patch \ %D%/packages/patches/gcc-4.9.3-mingw-gthr-default.patch \
%D%/packages/patches/gcc-5-hurd.patch \ %D%/packages/patches/gcc-5-hurd.patch \
%D%/packages/patches/gcc-5.0-libvtv-runpath.patch \ %D%/packages/patches/gcc-5.0-libvtv-runpath.patch \
%D%/packages/patches/gcc-5-fix-powerpc64le-build.patch \
%D%/packages/patches/gcc-5-source-date-epoch-1.patch \ %D%/packages/patches/gcc-5-source-date-epoch-1.patch \
%D%/packages/patches/gcc-5-source-date-epoch-2.patch \ %D%/packages/patches/gcc-5-source-date-epoch-2.patch \
%D%/packages/patches/gcc-6-arm-none-eabi-multilib.patch \ %D%/packages/patches/gcc-6-arm-none-eabi-multilib.patch \
@ -1108,46 +1114,32 @@ dist_patch_DATA = \
%D%/packages/patches/gcc-8-strmov-store-file-names.patch \ %D%/packages/patches/gcc-8-strmov-store-file-names.patch \
%D%/packages/patches/gcc-9-asan-fix-limits-include.patch \ %D%/packages/patches/gcc-9-asan-fix-limits-include.patch \
%D%/packages/patches/gcc-9-strmov-store-file-names.patch \ %D%/packages/patches/gcc-9-strmov-store-file-names.patch \
%D%/packages/patches/gdb-hurd.patch \
%D%/packages/patches/gd-fix-tests-on-i686.patch \ %D%/packages/patches/gd-fix-tests-on-i686.patch \
%D%/packages/patches/gd-brect-bounds.patch \ %D%/packages/patches/gd-brect-bounds.patch \
%D%/packages/patches/gdk-pixbuf-CVE-2020-29385.patch \ %D%/packages/patches/gd-Revert-fix-303-gdlib.pc.patch \
%D%/packages/patches/gdb-fix-gnu-nat-build.patch \
%D%/packages/patches/gdm-default-session.patch \ %D%/packages/patches/gdm-default-session.patch \
%D%/packages/patches/geary-CVE-2020-24661.patch \ %D%/packages/patches/gdm-elogind-support.patch \
%D%/packages/patches/gdm-remove-hardcoded-xwayland-path.patch \
%D%/packages/patches/gdm-wayland-session-wrapper-from-env.patch \
%D%/packages/patches/gdm-pass-gdk-pixbuf-loader-env.patch \
%D%/packages/patches/geeqie-clutter.patch \
%D%/packages/patches/genimage-mke2fs-test.patch \ %D%/packages/patches/genimage-mke2fs-test.patch \
%D%/packages/patches/geoclue-config.patch \ %D%/packages/patches/geoclue-config.patch \
%D%/packages/patches/ghc-8.0-fall-back-to-madv_dontneed.patch \ %D%/packages/patches/ghc-8.0-fall-back-to-madv_dontneed.patch \
%D%/packages/patches/ghc-testsuite-dlopen-pie.patch \ %D%/packages/patches/ghc-testsuite-dlopen-pie.patch \
%D%/packages/patches/ghc-language-haskell-extract-ghc-8.10.patch \ %D%/packages/patches/ghc-language-haskell-extract-ghc-8.10.patch \
%D%/packages/patches/ghc-monad-par-fix-tests.patch \ %D%/packages/patches/ghc-monad-par-fix-tests.patch \
%D%/packages/patches/ghostscript-CVE-2020-15900.patch \
%D%/packages/patches/ghostscript-freetype-compat.patch \
%D%/packages/patches/ghostscript-no-header-id.patch \ %D%/packages/patches/ghostscript-no-header-id.patch \
%D%/packages/patches/ghostscript-no-header-uuid.patch \ %D%/packages/patches/ghostscript-no-header-uuid.patch \
%D%/packages/patches/ghostscript-no-header-creationdate.patch \ %D%/packages/patches/ghostscript-no-header-creationdate.patch \
%D%/packages/patches/giara-fix-login.patch \ %D%/packages/patches/giara-fix-login.patch \
%D%/packages/patches/glade-gls-set-script-name.patch \
%D%/packages/patches/glade-test-widget-null-icon.patch \
%D%/packages/patches/glib-appinfo-watch.patch \ %D%/packages/patches/glib-appinfo-watch.patch \
%D%/packages/patches/glib-tests-timer.patch \ %D%/packages/patches/glib-networking-gnutls-binding.patch \
%D%/packages/patches/glib-CVE-2021-27218.patch \ %D%/packages/patches/glib-networking-32-bit-time.patch \
%D%/packages/patches/glib-CVE-2021-27219-01.patch \ %D%/packages/patches/glib-skip-failing-test.patch \
%D%/packages/patches/glib-CVE-2021-27219-02.patch \
%D%/packages/patches/glib-CVE-2021-27219-03.patch \
%D%/packages/patches/glib-CVE-2021-27219-04.patch \
%D%/packages/patches/glib-CVE-2021-27219-05.patch \
%D%/packages/patches/glib-CVE-2021-27219-06.patch \
%D%/packages/patches/glib-CVE-2021-27219-07.patch \
%D%/packages/patches/glib-CVE-2021-27219-08.patch \
%D%/packages/patches/glib-CVE-2021-27219-09.patch \
%D%/packages/patches/glib-CVE-2021-27219-10.patch \
%D%/packages/patches/glib-CVE-2021-27219-11.patch \
%D%/packages/patches/glib-CVE-2021-27219-12.patch \
%D%/packages/patches/glib-CVE-2021-27219-13.patch \
%D%/packages/patches/glib-CVE-2021-27219-14.patch \
%D%/packages/patches/glib-CVE-2021-27219-15.patch \
%D%/packages/patches/glib-CVE-2021-27219-16.patch \
%D%/packages/patches/glib-CVE-2021-27219-17.patch \
%D%/packages/patches/glib-CVE-2021-27219-18.patch \
%D%/packages/patches/glib-CVE-2021-28153.patch \
%D%/packages/patches/glibc-CVE-2018-11236.patch \ %D%/packages/patches/glibc-CVE-2018-11236.patch \
%D%/packages/patches/glibc-CVE-2018-11237.patch \ %D%/packages/patches/glibc-CVE-2018-11237.patch \
%D%/packages/patches/glibc-CVE-2019-7309.patch \ %D%/packages/patches/glibc-CVE-2019-7309.patch \
@ -1159,8 +1151,12 @@ dist_patch_DATA = \
%D%/packages/patches/glibc-bootstrap-system-2.2.5.patch \ %D%/packages/patches/glibc-bootstrap-system-2.2.5.patch \
%D%/packages/patches/glibc-bootstrap-system-2.16.0.patch \ %D%/packages/patches/glibc-bootstrap-system-2.16.0.patch \
%D%/packages/patches/glibc-bootstrap-system.patch \ %D%/packages/patches/glibc-bootstrap-system.patch \
%D%/packages/patches/glibc-cross-objcopy.patch \
%D%/packages/patches/glibc-cross-objdump.patch \
%D%/packages/patches/glibc-dl-cache.patch \
%D%/packages/patches/glibc-hidden-visibility-ldconfig.patch \ %D%/packages/patches/glibc-hidden-visibility-ldconfig.patch \
%D%/packages/patches/glibc-hurd-clock_gettime_monotonic.patch \ %D%/packages/patches/glibc-hurd-clock_gettime_monotonic.patch \
%D%/packages/patches/glibc-2.31-hurd-clock_gettime_monotonic.patch \
%D%/packages/patches/glibc-hurd-clock_t_centiseconds.patch \ %D%/packages/patches/glibc-hurd-clock_t_centiseconds.patch \
%D%/packages/patches/glibc-hurd-gettyent.patch \ %D%/packages/patches/glibc-hurd-gettyent.patch \
%D%/packages/patches/glibc-hurd-mach-print.patch \ %D%/packages/patches/glibc-hurd-mach-print.patch \
@ -1171,28 +1167,25 @@ dist_patch_DATA = \
%D%/packages/patches/glibc-locales.patch \ %D%/packages/patches/glibc-locales.patch \
%D%/packages/patches/glibc-locales-2.28.patch \ %D%/packages/patches/glibc-locales-2.28.patch \
%D%/packages/patches/glibc-reinstate-prlimit64-fallback.patch \ %D%/packages/patches/glibc-reinstate-prlimit64-fallback.patch \
%D%/packages/patches/glibc-skip-c++.patch \
%D%/packages/patches/glibc-versioned-locpath.patch \ %D%/packages/patches/glibc-versioned-locpath.patch \
%D%/packages/patches/glibc-2.27-git-fixes.patch \
%D%/packages/patches/glibc-2.28-git-fixes.patch \
%D%/packages/patches/glibc-2.29-git-updates.patch \ %D%/packages/patches/glibc-2.29-git-updates.patch \
%D%/packages/patches/glibc-2.27-supported-locales.patch \
%D%/packages/patches/glibc-2.28-supported-locales.patch \
%D%/packages/patches/glibc-2.29-supported-locales.patch \ %D%/packages/patches/glibc-2.29-supported-locales.patch \
%D%/packages/patches/glibc-static-nss.patch \
%D%/packages/patches/glibc-supported-locales.patch \ %D%/packages/patches/glibc-supported-locales.patch \
%D%/packages/patches/gmp-arm-asm-nothumb.patch \ %D%/packages/patches/gmp-arm-asm-nothumb.patch \
%D%/packages/patches/gmp-faulty-test.patch \ %D%/packages/patches/gmp-faulty-test.patch \
%D%/packages/patches/gnash-fix-giflib-version.patch \ %D%/packages/patches/gnash-fix-giflib-version.patch \
%D%/packages/patches/gnome-shell-theme.patch \ %D%/packages/patches/gnome-boxes-add-guix-logo.patch \
%D%/packages/patches/gnome-shell-disable-test.patch \ %D%/packages/patches/gnome-online-miners-tracker-3.patch \
%D%/packages/patches/gnome-shell-CVE-2020-17489.patch \ %D%/packages/patches/gnome-screenshot-meson-0.60.patch \
%D%/packages/patches/gnome-settings-daemon-gc.patch \ %D%/packages/patches/gnome-settings-daemon-gc.patch \
%D%/packages/patches/gnome-todo-delete-esource-duplicate.patch \
%D%/packages/patches/gnome-tweaks-search-paths.patch \ %D%/packages/patches/gnome-tweaks-search-paths.patch \
%D%/packages/patches/gnupg-default-pinentry.patch \ %D%/packages/patches/gnupg-default-pinentry.patch \
%D%/packages/patches/gnupg-1-build-with-gcc10.patch \
%D%/packages/patches/gnutls-skip-trust-store-test.patch \ %D%/packages/patches/gnutls-skip-trust-store-test.patch \
%D%/packages/patches/gnutls-cross.patch \ %D%/packages/patches/gnutls-cross.patch \
%D%/packages/patches/gnutls-CVE-2021-20231.patch \ %D%/packages/patches/gnutls-guile-eintr-eagain.patch \
%D%/packages/patches/gnutls-CVE-2021-20232.patch \
%D%/packages/patches/gobject-introspection-absolute-shlib-path.patch \ %D%/packages/patches/gobject-introspection-absolute-shlib-path.patch \
%D%/packages/patches/gobject-introspection-cc.patch \ %D%/packages/patches/gobject-introspection-cc.patch \
%D%/packages/patches/gobject-introspection-girepository.patch \ %D%/packages/patches/gobject-introspection-girepository.patch \
@ -1205,7 +1198,6 @@ dist_patch_DATA = \
%D%/packages/patches/gpodder-disable-updater.patch \ %D%/packages/patches/gpodder-disable-updater.patch \
%D%/packages/patches/gpsbabel-fix-i686-test.patch \ %D%/packages/patches/gpsbabel-fix-i686-test.patch \
%D%/packages/patches/grantlee-merge-theme-dirs.patch \ %D%/packages/patches/grantlee-merge-theme-dirs.patch \
%D%/packages/patches/graphviz-CVE-2020-18032.patch \
%D%/packages/patches/grep-timing-sensitive-test.patch \ %D%/packages/patches/grep-timing-sensitive-test.patch \
%D%/packages/patches/grocsvs-dont-use-admiral.patch \ %D%/packages/patches/grocsvs-dont-use-admiral.patch \
%D%/packages/patches/gromacs-tinyxml2.patch \ %D%/packages/patches/gromacs-tinyxml2.patch \
@ -1213,13 +1205,7 @@ dist_patch_DATA = \
%D%/packages/patches/grub-efi-fat-serial-number.patch \ %D%/packages/patches/grub-efi-fat-serial-number.patch \
%D%/packages/patches/grub-setup-root.patch \ %D%/packages/patches/grub-setup-root.patch \
%D%/packages/patches/gspell-dash-test.patch \ %D%/packages/patches/gspell-dash-test.patch \
%D%/packages/patches/gst-libav-64channels-stack-corruption.patch \
%D%/packages/patches/gst-plugins-bad-fix-overflow.patch \
%D%/packages/patches/gst-plugins-base-fix-id3v2-invalid-read.patch \
%D%/packages/patches/gst-plugins-good-fix-test.patch \ %D%/packages/patches/gst-plugins-good-fix-test.patch \
%D%/packages/patches/gst-plugins-good-CVE-2021-3497.patch \
%D%/packages/patches/gst-plugins-good-CVE-2021-3498.patch \
%D%/packages/patches/gst-plugins-ugly-fix-out-of-bound-reads.patch \
%D%/packages/patches/guile-1.8-cpp-4.5.patch \ %D%/packages/patches/guile-1.8-cpp-4.5.patch \
%D%/packages/patches/guile-2.2-skip-oom-test.patch \ %D%/packages/patches/guile-2.2-skip-oom-test.patch \
%D%/packages/patches/guile-2.2-skip-so-test.patch \ %D%/packages/patches/guile-2.2-skip-so-test.patch \
@ -1231,17 +1217,23 @@ dist_patch_DATA = \
%D%/packages/patches/guile-3.0-linux-syscalls.patch \ %D%/packages/patches/guile-3.0-linux-syscalls.patch \
%D%/packages/patches/guile-fibers-destroy-peer-schedulers.patch \ %D%/packages/patches/guile-fibers-destroy-peer-schedulers.patch \
%D%/packages/patches/guile-gdbm-ffi-support-gdbm-1.14.patch \ %D%/packages/patches/guile-gdbm-ffi-support-gdbm-1.14.patch \
%D%/packages/patches/guile-git-adjust-for-libgit2-1.2.0.patch \
%D%/packages/patches/guile-present-coding.patch \ %D%/packages/patches/guile-present-coding.patch \
%D%/packages/patches/guile-rsvg-pkgconfig.patch \ %D%/packages/patches/guile-rsvg-pkgconfig.patch \
%D%/packages/patches/guile-emacs-fix-configure.patch \ %D%/packages/patches/guile-emacs-fix-configure.patch \
%D%/packages/patches/guile-email-fix-tests.patch \
%D%/packages/patches/guile-ssh-fix-test-suite.patch \
%D%/packages/patches/guile-ssh-read-error.patch \
%D%/packages/patches/gtk2-fix-builder-test.patch \
%D%/packages/patches/gtk2-respect-GUIX_GTK2_PATH.patch \ %D%/packages/patches/gtk2-respect-GUIX_GTK2_PATH.patch \
%D%/packages/patches/gtk2-respect-GUIX_GTK2_IM_MODULE_FILE.patch \ %D%/packages/patches/gtk2-respect-GUIX_GTK2_IM_MODULE_FILE.patch \
%D%/packages/patches/gtk2-theme-paths.patch \ %D%/packages/patches/gtk2-theme-paths.patch \
%D%/packages/patches/gtk3-respect-GUIX_GTK3_PATH.patch \ %D%/packages/patches/gtk3-respect-GUIX_GTK3_PATH.patch \
%D%/packages/patches/gtk3-respect-GUIX_GTK3_IM_MODULE_FILE.patch \ %D%/packages/patches/gtk3-respect-GUIX_GTK3_IM_MODULE_FILE.patch \
%D%/packages/patches/gtk-doc-respect-xml-catalog.patch \
%D%/packages/patches/gtk4-respect-GUIX_GTK4_PATH.patch \
%D%/packages/patches/gtkglext-disable-disable-deprecated.patch \ %D%/packages/patches/gtkglext-disable-disable-deprecated.patch \
%D%/packages/patches/gtksourceview-2-add-default-directory.patch \ %D%/packages/patches/gtksourceview-2-add-default-directory.patch \
%D%/packages/patches/gvfs-add-support-for-libplist-2.2.patch \
%D%/packages/patches/gzdoom-search-in-installed-share.patch \ %D%/packages/patches/gzdoom-search-in-installed-share.patch \
%D%/packages/patches/gzdoom-find-system-libgme.patch \ %D%/packages/patches/gzdoom-find-system-libgme.patch \
%D%/packages/patches/hdf4-architectures.patch \ %D%/packages/patches/hdf4-architectures.patch \
@ -1257,6 +1249,7 @@ dist_patch_DATA = \
%D%/packages/patches/hdf-eos5-fix-szip.patch \ %D%/packages/patches/hdf-eos5-fix-szip.patch \
%D%/packages/patches/hdf-eos5-fortrantests.patch \ %D%/packages/patches/hdf-eos5-fortrantests.patch \
%D%/packages/patches/hedgewars-network-bsd.patch \ %D%/packages/patches/hedgewars-network-bsd.patch \
%D%/packages/patches/helm-fix-gcc-9-build.patch \
%D%/packages/patches/http-parser-CVE-2020-8287.patch \ %D%/packages/patches/http-parser-CVE-2020-8287.patch \
%D%/packages/patches/hubbub-sort-entities.patch \ %D%/packages/patches/hubbub-sort-entities.patch \
%D%/packages/patches/hurd-cross.patch \ %D%/packages/patches/hurd-cross.patch \
@ -1268,8 +1261,6 @@ dist_patch_DATA = \
%D%/packages/patches/icecat-use-system-graphite2+harfbuzz.patch \ %D%/packages/patches/icecat-use-system-graphite2+harfbuzz.patch \
%D%/packages/patches/icecat-use-system-media-libs.patch \ %D%/packages/patches/icecat-use-system-media-libs.patch \
%D%/packages/patches/icedtea-6-extend-hotspot-aarch64-support.patch \ %D%/packages/patches/icedtea-6-extend-hotspot-aarch64-support.patch \
%D%/packages/patches/icedtea-7-hotspot-aarch64-use-c++98.patch \
%D%/packages/patches/icu4c-CVE-2020-10531.patch \
%D%/packages/patches/id3lib-CVE-2007-4460.patch \ %D%/packages/patches/id3lib-CVE-2007-4460.patch \
%D%/packages/patches/id3lib-UTF16-writing-bug.patch \ %D%/packages/patches/id3lib-UTF16-writing-bug.patch \
%D%/packages/patches/idris-disable-test.patch \ %D%/packages/patches/idris-disable-test.patch \
@ -1280,7 +1271,6 @@ dist_patch_DATA = \
%D%/packages/patches/imagemagick-ReadDCMImage-fix.patch \ %D%/packages/patches/imagemagick-ReadDCMImage-fix.patch \
%D%/packages/patches/imagemagick-ReadDCMPixels-fix.patch \ %D%/packages/patches/imagemagick-ReadDCMPixels-fix.patch \
%D%/packages/patches/imagemagick-WriteTHUMBNAILImage-fix.patch \ %D%/packages/patches/imagemagick-WriteTHUMBNAILImage-fix.patch \
%D%/packages/patches/inetutils-hurd.patch \
%D%/packages/patches/inkscape-poppler-0.76.patch \ %D%/packages/patches/inkscape-poppler-0.76.patch \
%D%/packages/patches/instead-use-games-path.patch \ %D%/packages/patches/instead-use-games-path.patch \
%D%/packages/patches/intel-xed-fix-nondeterminism.patch \ %D%/packages/patches/intel-xed-fix-nondeterminism.patch \
@ -1290,9 +1280,9 @@ dist_patch_DATA = \
%D%/packages/patches/irrlicht-use-system-libs.patch \ %D%/packages/patches/irrlicht-use-system-libs.patch \
%D%/packages/patches/isc-dhcp-gcc-compat.patch \ %D%/packages/patches/isc-dhcp-gcc-compat.patch \
%D%/packages/patches/isl-0.11.1-aarch64-support.patch \ %D%/packages/patches/isl-0.11.1-aarch64-support.patch \
%D%/packages/patches/json-c-CVE-2020-12762.patch \
%D%/packages/patches/json-c-0.13-CVE-2020-12762.patch \ %D%/packages/patches/json-c-0.13-CVE-2020-12762.patch \
%D%/packages/patches/json-c-0.12-CVE-2020-12762.patch \ %D%/packages/patches/json-c-0.12-CVE-2020-12762.patch \
%D%/packages/patches/jsoncpp-pkg-config-version.patch \
%D%/packages/patches/jacal-fix-texinfo.patch \ %D%/packages/patches/jacal-fix-texinfo.patch \
%D%/packages/patches/jamvm-1.5.1-aarch64-support.patch \ %D%/packages/patches/jamvm-1.5.1-aarch64-support.patch \
%D%/packages/patches/jamvm-1.5.1-armv7-support.patch \ %D%/packages/patches/jamvm-1.5.1-armv7-support.patch \
@ -1315,12 +1305,13 @@ dist_patch_DATA = \
%D%/packages/patches/jfsutils-add-sysmacros.patch \ %D%/packages/patches/jfsutils-add-sysmacros.patch \
%D%/packages/patches/jfsutils-gcc-compat.patch \ %D%/packages/patches/jfsutils-gcc-compat.patch \
%D%/packages/patches/jfsutils-include-systypes.patch \ %D%/packages/patches/jfsutils-include-systypes.patch \
%D%/packages/patches/jsoncpp-fix-inverted-case.patch \
%D%/packages/patches/julia-SOURCE_DATE_EPOCH-mtime.patch \ %D%/packages/patches/julia-SOURCE_DATE_EPOCH-mtime.patch \
%D%/packages/patches/julia-tracker-16-compat.patch \ %D%/packages/patches/julia-tracker-16-compat.patch \
%D%/packages/patches/julia-allow-parallel-build.patch \
%D%/packages/patches/kdbusaddons-kinit-file-name.patch \ %D%/packages/patches/kdbusaddons-kinit-file-name.patch \
%D%/packages/patches/libffi-3.3-powerpc-fixes.patch \ %D%/packages/patches/libffi-3.3-powerpc-fixes.patch \
%D%/packages/patches/libffi-float128-powerpc64le.patch \ %D%/packages/patches/libffi-float128-powerpc64le.patch \
%D%/packages/patches/librime-fix-build-with-gcc10.patch \
%D%/packages/patches/libvirt-add-install-prefix.patch \ %D%/packages/patches/libvirt-add-install-prefix.patch \
%D%/packages/patches/libziparchive-add-includes.patch \ %D%/packages/patches/libziparchive-add-includes.patch \
%D%/packages/patches/localed-xorg-keyboard.patch \ %D%/packages/patches/localed-xorg-keyboard.patch \
@ -1353,13 +1344,9 @@ dist_patch_DATA = \
%D%/packages/patches/lcalc-default-parameters-2.patch \ %D%/packages/patches/lcalc-default-parameters-2.patch \
%D%/packages/patches/lcalc-lcommon-h.patch \ %D%/packages/patches/lcalc-lcommon-h.patch \
%D%/packages/patches/lcalc-using-namespace-std.patch \ %D%/packages/patches/lcalc-using-namespace-std.patch \
%D%/packages/patches/lcms-CVE-2018-16435.patch \
%D%/packages/patches/ldc-bootstrap-disable-tests.patch \
%D%/packages/patches/ldc-disable-phobos-tests.patch \
%D%/packages/patches/ldns-drill-examples.patch \ %D%/packages/patches/ldns-drill-examples.patch \
%D%/packages/patches/leela-zero-gtest.patch \ %D%/packages/patches/leela-zero-gtest.patch \
%D%/packages/patches/less-hurd-path-max.patch \ %D%/packages/patches/less-hurd-path-max.patch \
%D%/packages/patches/lib2geom-fix-tests.patch \
%D%/packages/patches/liba52-enable-pic.patch \ %D%/packages/patches/liba52-enable-pic.patch \
%D%/packages/patches/liba52-link-with-libm.patch \ %D%/packages/patches/liba52-link-with-libm.patch \
%D%/packages/patches/liba52-set-soname.patch \ %D%/packages/patches/liba52-set-soname.patch \
@ -1391,6 +1378,7 @@ dist_patch_DATA = \
%D%/packages/patches/libmad-length-check.patch \ %D%/packages/patches/libmad-length-check.patch \
%D%/packages/patches/libmad-md_size.patch \ %D%/packages/patches/libmad-md_size.patch \
%D%/packages/patches/libmad-mips-newgcc.patch \ %D%/packages/patches/libmad-mips-newgcc.patch \
%D%/packages/patches/libmicrohttpd-0.9.73-test-ssl3.patch \
%D%/packages/patches/libmp4v2-c++11.patch \ %D%/packages/patches/libmp4v2-c++11.patch \
%D%/packages/patches/libmpeg2-arm-private-symbols.patch \ %D%/packages/patches/libmpeg2-arm-private-symbols.patch \
%D%/packages/patches/libmpeg2-global-symbol-test.patch \ %D%/packages/patches/libmpeg2-global-symbol-test.patch \
@ -1404,15 +1392,18 @@ dist_patch_DATA = \
%D%/packages/patches/libtgvoip-disable-webrtc.patch \ %D%/packages/patches/libtgvoip-disable-webrtc.patch \
%D%/packages/patches/libtheora-config-guess.patch \ %D%/packages/patches/libtheora-config-guess.patch \
%D%/packages/patches/libtirpc-hurd.patch \ %D%/packages/patches/libtirpc-hurd.patch \
%D%/packages/patches/libtirpc-hurd-client.patch \
%D%/packages/patches/libtommath-fix-linkage.patch \ %D%/packages/patches/libtommath-fix-linkage.patch \
%D%/packages/patches/libtool-skip-tests2.patch \ %D%/packages/patches/libtool-skip-tests2.patch \
%D%/packages/patches/libunwind-julia-fix-GCC10-fno-common.patch \
%D%/packages/patches/libusb-0.1-disable-tests.patch \ %D%/packages/patches/libusb-0.1-disable-tests.patch \
%D%/packages/patches/libusb-for-axoloti.patch \ %D%/packages/patches/libusb-for-axoloti.patch \
%D%/packages/patches/libutils-add-includes.patch \ %D%/packages/patches/libutils-add-includes.patch \
%D%/packages/patches/libutils-remove-damaging-includes.patch \ %D%/packages/patches/libutils-remove-damaging-includes.patch \
%D%/packages/patches/libvdpau-va-gl-unbundle.patch \ %D%/packages/patches/libvdpau-va-gl-unbundle.patch \
%D%/packages/patches/libvpx-CVE-2016-2818.patch \ %D%/packages/patches/libvpx-CVE-2016-2818.patch \
%D%/packages/patches/libxml2-parent-pointers.patch \
%D%/packages/patches/libxml2-terminating-newline.patch \
%D%/packages/patches/libxml2-xpath-recursion-limit.patch \
%D%/packages/patches/libxml2-xpath0-Add-option-xpath0.patch \ %D%/packages/patches/libxml2-xpath0-Add-option-xpath0.patch \
%D%/packages/patches/libxslt-generated-ids.patch \ %D%/packages/patches/libxslt-generated-ids.patch \
%D%/packages/patches/libxt-guix-search-paths.patch \ %D%/packages/patches/libxt-guix-search-paths.patch \
@ -1430,6 +1421,7 @@ dist_patch_DATA = \
%D%/packages/patches/lirc-reproducible-build.patch \ %D%/packages/patches/lirc-reproducible-build.patch \
%D%/packages/patches/llhttp-bootstrap-CVE-2020-8287.patch \ %D%/packages/patches/llhttp-bootstrap-CVE-2020-8287.patch \
%D%/packages/patches/llvm-3.5-fix-clang-build-with-gcc5.patch \ %D%/packages/patches/llvm-3.5-fix-clang-build-with-gcc5.patch \
%D%/packages/patches/llvm-3.6-fix-build-with-gcc-10.patch \
%D%/packages/patches/llvm-9-fix-bitcast-miscompilation.patch \ %D%/packages/patches/llvm-9-fix-bitcast-miscompilation.patch \
%D%/packages/patches/llvm-9-fix-lpad-miscompilation.patch \ %D%/packages/patches/llvm-9-fix-lpad-miscompilation.patch \
%D%/packages/patches/llvm-9-fix-scev-miscompilation.patch \ %D%/packages/patches/llvm-9-fix-scev-miscompilation.patch \
@ -1451,7 +1443,6 @@ dist_patch_DATA = \
%D%/packages/patches/mailutils-variable-lookup.patch \ %D%/packages/patches/mailutils-variable-lookup.patch \
%D%/packages/patches/make-impure-dirs.patch \ %D%/packages/patches/make-impure-dirs.patch \
%D%/packages/patches/marble-qt-add-qt-headers.patch \ %D%/packages/patches/marble-qt-add-qt-headers.patch \
%D%/packages/patches/mariadb-CVE-2021-27928.patch \
%D%/packages/patches/mars-install.patch \ %D%/packages/patches/mars-install.patch \
%D%/packages/patches/mars-sfml-2.3.patch \ %D%/packages/patches/mars-sfml-2.3.patch \
%D%/packages/patches/maxima-defsystem-mkdir.patch \ %D%/packages/patches/maxima-defsystem-mkdir.patch \
@ -1464,10 +1455,10 @@ dist_patch_DATA = \
%D%/packages/patches/libmemcached-build-with-gcc7.patch \ %D%/packages/patches/libmemcached-build-with-gcc7.patch \
%D%/packages/patches/libmhash-hmac-fix-uaf.patch \ %D%/packages/patches/libmhash-hmac-fix-uaf.patch \
%D%/packages/patches/mercurial-hg-extension-path.patch \ %D%/packages/patches/mercurial-hg-extension-path.patch \
%D%/packages/patches/mesa-opencl-all-targets.patch \
%D%/packages/patches/mesa-skip-tests.patch \ %D%/packages/patches/mesa-skip-tests.patch \
%D%/packages/patches/mescc-tools-boot.patch \ %D%/packages/patches/mescc-tools-boot.patch \
%D%/packages/patches/meson-for-build-rpath.patch \ %D%/packages/patches/meson-allow-dirs-outside-of-prefix.patch \
%D%/packages/patches/metabat-fix-compilation.patch \
%D%/packages/patches/mhash-keygen-test-segfault.patch \ %D%/packages/patches/mhash-keygen-test-segfault.patch \
%D%/packages/patches/minetest-add-MINETEST_MOD_PATH.patch \ %D%/packages/patches/minetest-add-MINETEST_MOD_PATH.patch \
%D%/packages/patches/mingw-w64-6.0.0-gcc.patch \ %D%/packages/patches/mingw-w64-6.0.0-gcc.patch \
@ -1476,11 +1467,11 @@ dist_patch_DATA = \
%D%/packages/patches/minisat-friend-declaration.patch \ %D%/packages/patches/minisat-friend-declaration.patch \
%D%/packages/patches/minisat-install.patch \ %D%/packages/patches/minisat-install.patch \
%D%/packages/patches/mit-krb5-hurd.patch \ %D%/packages/patches/mit-krb5-hurd.patch \
%D%/packages/patches/mit-krb5-qualify-short-hostnames.patch \
%D%/packages/patches/mixxx-link-qtscriptbytearray-qtscript.patch \ %D%/packages/patches/mixxx-link-qtscriptbytearray-qtscript.patch \
%D%/packages/patches/mixxx-system-googletest-benchmark.patch \ %D%/packages/patches/mixxx-system-googletest-benchmark.patch \
%D%/packages/patches/mpc123-initialize-ao.patch \ %D%/packages/patches/mpc123-initialize-ao.patch \
%D%/packages/patches/mpg321-CVE-2019-14247.patch \ %D%/packages/patches/mpg321-CVE-2019-14247.patch \
%D%/packages/patches/mpg321-gcc-10.patch \
%D%/packages/patches/module-init-tools-moduledir.patch \ %D%/packages/patches/module-init-tools-moduledir.patch \
%D%/packages/patches/monero-use-system-miniupnpc.patch \ %D%/packages/patches/monero-use-system-miniupnpc.patch \
%D%/packages/patches/mono-mdoc-timestamping.patch \ %D%/packages/patches/mono-mdoc-timestamping.patch \
@ -1517,10 +1508,12 @@ dist_patch_DATA = \
%D%/packages/patches/ngircd-handle-zombies.patch \ %D%/packages/patches/ngircd-handle-zombies.patch \
%D%/packages/patches/ngless-unliftio.patch \ %D%/packages/patches/ngless-unliftio.patch \
%D%/packages/patches/network-manager-plugin-path.patch \ %D%/packages/patches/network-manager-plugin-path.patch \
%D%/packages/patches/network-manager-meson.patch \
%D%/packages/patches/nginx-socket-cloexec.patch \ %D%/packages/patches/nginx-socket-cloexec.patch \
%D%/packages/patches/nnpack-system-libraries.patch \ %D%/packages/patches/nnpack-system-libraries.patch \
%D%/packages/patches/nsis-env-passthru.patch \ %D%/packages/patches/nsis-env-passthru.patch \
%D%/packages/patches/nsis-source-date-epoch.patch \ %D%/packages/patches/nsis-source-date-epoch.patch \
%D%/packages/patches/nss-getcwd-nonnull.patch \
%D%/packages/patches/nss-CVE-2021-43527.patch \ %D%/packages/patches/nss-CVE-2021-43527.patch \
%D%/packages/patches/nss-increase-test-timeout.patch \ %D%/packages/patches/nss-increase-test-timeout.patch \
%D%/packages/patches/nss-3.56-pkgconfig.patch \ %D%/packages/patches/nss-3.56-pkgconfig.patch \
@ -1537,6 +1530,8 @@ dist_patch_DATA = \
%D%/packages/patches/ocaml-dose3-Fix-for-ocaml-4.06.patch \ %D%/packages/patches/ocaml-dose3-Fix-for-ocaml-4.06.patch \
%D%/packages/patches/ocaml-dose3-dont-make-printconf.patch \ %D%/packages/patches/ocaml-dose3-dont-make-printconf.patch \
%D%/packages/patches/ocaml-dose3-Install-mli-cmx-etc.patch \ %D%/packages/patches/ocaml-dose3-Install-mli-cmx-etc.patch \
%D%/packages/patches/ocaml-multiple-definitions.patch \
%D%/packages/patches/ocaml-4.09-multiple-definitions.patch \
%D%/packages/patches/ocaml-qcheck-fix-test-whitespace.patch \ %D%/packages/patches/ocaml-qcheck-fix-test-whitespace.patch \
%D%/packages/patches/omake-fix-non-determinism.patch \ %D%/packages/patches/omake-fix-non-determinism.patch \
%D%/packages/patches/oneko-remove-nonfree-characters.patch \ %D%/packages/patches/oneko-remove-nonfree-characters.patch \
@ -1570,9 +1565,13 @@ dist_patch_DATA = \
%D%/packages/patches/pango-skip-libthai-test.patch \ %D%/packages/patches/pango-skip-libthai-test.patch \
%D%/packages/patches/pciutils-hurd-configure.patch \ %D%/packages/patches/pciutils-hurd-configure.patch \
%D%/packages/patches/pciutils-hurd-fix.patch \ %D%/packages/patches/pciutils-hurd-fix.patch \
%D%/packages/patches/pitivi-fix-build-with-meson-0.60.patch \
%D%/packages/patches/plasma-framework-fix-KF5PlasmaMacros.cmake.patch \ %D%/packages/patches/plasma-framework-fix-KF5PlasmaMacros.cmake.patch \
%D%/packages/patches/ppsspp-disable-upgrade-and-gold.patch \ %D%/packages/patches/ppsspp-disable-upgrade-and-gold.patch \
%D%/packages/patches/pthreadpool-system-libraries.patch \ %D%/packages/patches/pthreadpool-system-libraries.patch \
%D%/packages/patches/python-chai-drop-python2.patch \
%D%/packages/patches/python-random2-getrandbits-test.patch \
%D%/packages/patches/python-poppler-qt5-fix-build.patch \
%D%/packages/patches/sdcc-disable-non-free-code.patch \ %D%/packages/patches/sdcc-disable-non-free-code.patch \
%D%/packages/patches/sdl-pango-api_additions.patch \ %D%/packages/patches/sdl-pango-api_additions.patch \
%D%/packages/patches/sdl-pango-blit_overflow.patch \ %D%/packages/patches/sdl-pango-blit_overflow.patch \
@ -1582,14 +1581,14 @@ dist_patch_DATA = \
%D%/packages/patches/sdl-pango-sans-serif.patch \ %D%/packages/patches/sdl-pango-sans-serif.patch \
%D%/packages/patches/smalltalk-multiplication-overflow.patch \ %D%/packages/patches/smalltalk-multiplication-overflow.patch \
%D%/packages/patches/sqlite-hurd.patch \ %D%/packages/patches/sqlite-hurd.patch \
%D%/packages/patches/strace-readlink-tests.patch \
%D%/packages/patches/sunxi-tools-remove-sys-io.patch \ %D%/packages/patches/sunxi-tools-remove-sys-io.patch \
%D%/packages/patches/p11-kit-hurd.patch \
%D%/packages/patches/patchutils-test-perms.patch \
%D%/packages/patches/patch-hurd-path-max.patch \ %D%/packages/patches/patch-hurd-path-max.patch \
%D%/packages/patches/perl-autosplit-default-time.patch \ %D%/packages/patches/perl-autosplit-default-time.patch \
%D%/packages/patches/perl-cross.patch \
%D%/packages/patches/perl-deterministic-ordering.patch \
%D%/packages/patches/perl-finance-quote-unuse-mozilla-ca.patch \ %D%/packages/patches/perl-finance-quote-unuse-mozilla-ca.patch \
%D%/packages/patches/perl-image-exiftool-CVE-2021-22204.patch \ %D%/packages/patches/perl-image-exiftool-CVE-2021-22204.patch \
%D%/packages/patches/perl-io-socket-ssl-openssl-1.0.2f-fix.patch \
%D%/packages/patches/perl-net-amazon-s3-moose-warning.patch \ %D%/packages/patches/perl-net-amazon-s3-moose-warning.patch \
%D%/packages/patches/perl-net-dns-resolver-programmable-fix.patch \ %D%/packages/patches/perl-net-dns-resolver-programmable-fix.patch \
%D%/packages/patches/perl-no-sys-dirs.patch \ %D%/packages/patches/perl-no-sys-dirs.patch \
@ -1610,6 +1609,7 @@ dist_patch_DATA = \
%D%/packages/patches/pinball-system-ltdl.patch \ %D%/packages/patches/pinball-system-ltdl.patch \
%D%/packages/patches/pingus-boost-headers.patch \ %D%/packages/patches/pingus-boost-headers.patch \
%D%/packages/patches/pingus-sdl-libs-config.patch \ %D%/packages/patches/pingus-sdl-libs-config.patch \
%D%/packages/patches/pipewire-0.2.7-fno-common.patch \
%D%/packages/patches/pixman-CVE-2016-5296.patch \ %D%/packages/patches/pixman-CVE-2016-5296.patch \
%D%/packages/patches/pjproject-correct-the-cflags-field.patch \ %D%/packages/patches/pjproject-correct-the-cflags-field.patch \
%D%/packages/patches/pjproject-fix-pkg-config-ldflags.patch \ %D%/packages/patches/pjproject-fix-pkg-config-ldflags.patch \
@ -1618,7 +1618,8 @@ dist_patch_DATA = \
%D%/packages/patches/plib-CVE-2011-4620.patch \ %D%/packages/patches/plib-CVE-2011-4620.patch \
%D%/packages/patches/plib-CVE-2012-4552.patch \ %D%/packages/patches/plib-CVE-2012-4552.patch \
%D%/packages/patches/plotutils-spline-test.patch \ %D%/packages/patches/plotutils-spline-test.patch \
%D%/packages/patches/polkit-CVE-2021-3560.patch \ %D%/packages/patches/polkit-configure-elogind.patch \
%D%/packages/patches/polkit-use-duktape.patch \
%D%/packages/patches/portaudio-audacity-compat.patch \ %D%/packages/patches/portaudio-audacity-compat.patch \
%D%/packages/patches/portmidi-modular-build.patch \ %D%/packages/patches/portmidi-modular-build.patch \
%D%/packages/patches/postgresql-disable-resolve_symlinks.patch \ %D%/packages/patches/postgresql-disable-resolve_symlinks.patch \
@ -1642,13 +1643,13 @@ dist_patch_DATA = \
%D%/packages/patches/python-2.7-site-prefixes.patch \ %D%/packages/patches/python-2.7-site-prefixes.patch \
%D%/packages/patches/python-2.7-source-date-epoch.patch \ %D%/packages/patches/python-2.7-source-date-epoch.patch \
%D%/packages/patches/python-2.7-CVE-2021-3177.patch \ %D%/packages/patches/python-2.7-CVE-2021-3177.patch \
%D%/packages/patches/python-2.7-no-static-lib.patch \
%D%/packages/patches/python-3-arm-alignment.patch \ %D%/packages/patches/python-3-arm-alignment.patch \
%D%/packages/patches/python-3-deterministic-build-info.patch \ %D%/packages/patches/python-3-deterministic-build-info.patch \
%D%/packages/patches/python-3-search-paths.patch \ %D%/packages/patches/python-3-search-paths.patch \
%D%/packages/patches/python-3-fix-tests.patch \ %D%/packages/patches/python-3-fix-tests.patch \
%D%/packages/patches/python-3.8-fix-tests.patch \ %D%/packages/patches/python-3-hurd-configure.patch \
%D%/packages/patches/python-3.8-CVE-2021-3177.patch \ %D%/packages/patches/python-3-no-static-lib.patch \
%D%/packages/patches/python-3.9-fix-tests.patch \
%D%/packages/patches/python-CVE-2018-14647.patch \ %D%/packages/patches/python-CVE-2018-14647.patch \
%D%/packages/patches/python-CVE-2020-26116.patch \ %D%/packages/patches/python-CVE-2020-26116.patch \
%D%/packages/patches/python-aionotify-0.2.0-py3.8.patch \ %D%/packages/patches/python-aionotify-0.2.0-py3.8.patch \
@ -1657,18 +1658,21 @@ dist_patch_DATA = \
%D%/packages/patches/python-cross-compile.patch \ %D%/packages/patches/python-cross-compile.patch \
%D%/packages/patches/python2-larch-coverage-4.0a6-compatibility.patch \ %D%/packages/patches/python2-larch-coverage-4.0a6-compatibility.patch \
%D%/packages/patches/python-configobj-setuptools.patch \ %D%/packages/patches/python-configobj-setuptools.patch \
%D%/packages/patches/python-docopt-pytest6-compat.patch \
%D%/packages/patches/python-execnet-read-only-fix.patch \ %D%/packages/patches/python-execnet-read-only-fix.patch \
%D%/packages/patches/python-fixtures-remove-monkeypatch-test.patch \
%D%/packages/patches/python-flask-restful-werkzeug-compat.patch \ %D%/packages/patches/python-flask-restful-werkzeug-compat.patch \
%D%/packages/patches/python-keras-integration-test.patch \ %D%/packages/patches/python-keras-integration-test.patch \
%D%/packages/patches/python-peachpy-determinism.patch \ %D%/packages/patches/python-peachpy-determinism.patch \
%D%/packages/patches/python-pep8-stdlib-tokenize-compat.patch \ %D%/packages/patches/python-pep8-stdlib-tokenize-compat.patch \
%D%/packages/patches/python-pyfakefs-remove-bad-test.patch \ %D%/packages/patches/python-pyfakefs-remove-bad-test.patch \
%D%/packages/patches/python-pyflakes-test-location.patch \
%D%/packages/patches/python-flint-includes.patch \ %D%/packages/patches/python-flint-includes.patch \
%D%/packages/patches/python-libxml2-utf8.patch \ %D%/packages/patches/python-libxml2-utf8.patch \
%D%/packages/patches/python-matplotlib-run-under-wayland-gtk3.patch \ %D%/packages/patches/python-matplotlib-run-under-wayland-gtk3.patch \
%D%/packages/patches/python-memcached-syntax-warnings.patch \ %D%/packages/patches/python-memcached-syntax-warnings.patch \
%D%/packages/patches/python-mox3-python3.6-compat.patch \ %D%/packages/patches/python-mox3-python3.6-compat.patch \
%D%/packages/patches/python-testtools.patch \ %D%/packages/patches/python-typing-inspect-fix.patch \
%D%/packages/patches/python-packaging-test-arch.patch \ %D%/packages/patches/python-packaging-test-arch.patch \
%D%/packages/patches/python2-parameterized-docstring-test.patch \ %D%/packages/patches/python2-parameterized-docstring-test.patch \
%D%/packages/patches/python-paste-remove-timing-test.patch \ %D%/packages/patches/python-paste-remove-timing-test.patch \
@ -1688,6 +1692,7 @@ dist_patch_DATA = \
%D%/packages/patches/python-unittest2-python3-compat.patch \ %D%/packages/patches/python-unittest2-python3-compat.patch \
%D%/packages/patches/python-unittest2-remove-argparse.patch \ %D%/packages/patches/python-unittest2-remove-argparse.patch \
%D%/packages/patches/python-waitress-fix-tests.patch \ %D%/packages/patches/python-waitress-fix-tests.patch \
%D%/packages/patches/python-werkzeug-tests.patch \
%D%/packages/patches/qemu-build-info-manual.patch \ %D%/packages/patches/qemu-build-info-manual.patch \
%D%/packages/patches/qemu-CVE-2021-20203.patch \ %D%/packages/patches/qemu-CVE-2021-20203.patch \
%D%/packages/patches/qemu-glibc-2.27.patch \ %D%/packages/patches/qemu-glibc-2.27.patch \
@ -1704,7 +1709,12 @@ dist_patch_DATA = \
%D%/packages/patches/quassel-qt-514-compat.patch \ %D%/packages/patches/quassel-qt-514-compat.patch \
%D%/packages/patches/quickswitch-fix-dmenu-check.patch \ %D%/packages/patches/quickswitch-fix-dmenu-check.patch \
%D%/packages/patches/qtwebkit-pbutils-include.patch \ %D%/packages/patches/qtwebkit-pbutils-include.patch \
%D%/packages/patches/qtwebkit-fix-building-with-bison-3.7.patch \
%D%/packages/patches/qtwebkit-fix-building-with-python-3.9.patch \
%D%/packages/patches/qtwebkit-fix-building-with-icu-68.patch \
%D%/packages/patches/qtwebkit-fix-building-with-glib-2.68.patch \
%D%/packages/patches/randomjungle-disable-static-build.patch \ %D%/packages/patches/randomjungle-disable-static-build.patch \
%D%/packages/patches/range-v3-build-with-gcc10.patch \
%D%/packages/patches/rapicorn-isnan.patch \ %D%/packages/patches/rapicorn-isnan.patch \
%D%/packages/patches/rapidjson-gcc-compat.patch \ %D%/packages/patches/rapidjson-gcc-compat.patch \
%D%/packages/patches/raptor2-heap-overflow.patch \ %D%/packages/patches/raptor2-heap-overflow.patch \
@ -1734,19 +1744,14 @@ dist_patch_DATA = \
%D%/packages/patches/rocm-opencl-runtime-4.3-nocltrace.patch \ %D%/packages/patches/rocm-opencl-runtime-4.3-nocltrace.patch \
%D%/packages/patches/rocm-opencl-runtime-4.3-noopencl.patch \ %D%/packages/patches/rocm-opencl-runtime-4.3-noopencl.patch \
%D%/packages/patches/ruby-sanitize-system-libxml.patch \ %D%/packages/patches/ruby-sanitize-system-libxml.patch \
%D%/packages/patches/rust-1.19-mrustc.patch \ %D%/packages/patches/rustc-1.39.0-src.patch \
%D%/packages/patches/rust-1.25-accept-more-detailed-gdb-lines.patch \
%D%/packages/patches/rust-1.45-linker-locale.patch \
%D%/packages/patches/rust-1.48-linker-locale.patch \
%D%/packages/patches/rust-adblock-ignore-live-tests.patch \ %D%/packages/patches/rust-adblock-ignore-live-tests.patch \
%D%/packages/patches/rust-bootstrap-stage0-test.patch \
%D%/packages/patches/rust-coresimd-doctest.patch \ %D%/packages/patches/rust-coresimd-doctest.patch \
%D%/packages/patches/i3status-rust-enable-unstable-features.patch \ %D%/packages/patches/i3status-rust-enable-unstable-features.patch \
%D%/packages/patches/rust-ndarray-remove-blas-src-dep.patch \ %D%/packages/patches/rust-ndarray-remove-blas-src-dep.patch \
%D%/packages/patches/rust-ndarray-0.13-remove-blas-src.patch \ %D%/packages/patches/rust-ndarray-0.13-remove-blas-src.patch \
%D%/packages/patches/rust-nettle-disable-vendor.patch \ %D%/packages/patches/rust-nettle-disable-vendor.patch \
%D%/packages/patches/rust-nettle-sys-disable-vendor.patch \ %D%/packages/patches/rust-nettle-sys-disable-vendor.patch \
%D%/packages/patches/rust-reproducible-builds.patch \
%D%/packages/patches/rust-openssl-sys-no-vendor.patch \ %D%/packages/patches/rust-openssl-sys-no-vendor.patch \
%D%/packages/patches/rust-shell2batch-lint-fix.patch \ %D%/packages/patches/rust-shell2batch-lint-fix.patch \
%D%/packages/patches/sbc-fix-build-non-x86.patch \ %D%/packages/patches/sbc-fix-build-non-x86.patch \
@ -1755,7 +1760,7 @@ dist_patch_DATA = \
%D%/packages/patches/sbcl-burgled-batteries3-fix-signals.patch \ %D%/packages/patches/sbcl-burgled-batteries3-fix-signals.patch \
%D%/packages/patches/sbcl-clml-fix-types.patch \ %D%/packages/patches/sbcl-clml-fix-types.patch \
%D%/packages/patches/sbcl-png-fix-sbcl-compatibility.patch \ %D%/packages/patches/sbcl-png-fix-sbcl-compatibility.patch \
%D%/packages/patches/scalapack-blacs-mpi-deprecations.patch \ %D%/packages/patches/scalapack-gcc-10-compilation.patch \
%D%/packages/patches/scheme48-tests.patch \ %D%/packages/patches/scheme48-tests.patch \
%D%/packages/patches/scotch-build-parallelism.patch \ %D%/packages/patches/scotch-build-parallelism.patch \
%D%/packages/patches/scotch-integer-declarations.patch \ %D%/packages/patches/scotch-integer-declarations.patch \
@ -1777,6 +1782,8 @@ dist_patch_DATA = \
%D%/packages/patches/slim-reset.patch \ %D%/packages/patches/slim-reset.patch \
%D%/packages/patches/slim-login.patch \ %D%/packages/patches/slim-login.patch \
%D%/packages/patches/slim-display.patch \ %D%/packages/patches/slim-display.patch \
%D%/packages/patches/syslinux-gcc10.patch \
%D%/packages/patches/syslinux-strip-gnu-property.patch \
%D%/packages/patches/snappy-add-O2-flag-in-CmakeLists.txt.patch \ %D%/packages/patches/snappy-add-O2-flag-in-CmakeLists.txt.patch \
%D%/packages/patches/snappy-add-inline-for-GCC.patch \ %D%/packages/patches/snappy-add-inline-for-GCC.patch \
%D%/packages/patches/sphinxbase-fix-doxygen.patch \ %D%/packages/patches/sphinxbase-fix-doxygen.patch \
@ -1803,12 +1810,9 @@ dist_patch_DATA = \
%D%/packages/patches/tar-skip-unreliable-tests.patch \ %D%/packages/patches/tar-skip-unreliable-tests.patch \
%D%/packages/patches/tcc-boot-0.9.27.patch \ %D%/packages/patches/tcc-boot-0.9.27.patch \
%D%/packages/patches/tclxml-3.2-install.patch \ %D%/packages/patches/tclxml-3.2-install.patch \
%D%/packages/patches/tcl-fix-cross-compilation.patch \
%D%/packages/patches/tcsh-fix-autotest.patch \ %D%/packages/patches/tcsh-fix-autotest.patch \
%D%/packages/patches/teensy-loader-cli-help.patch \ %D%/packages/patches/teensy-loader-cli-help.patch \
%D%/packages/patches/texinfo-5-perl-compat.patch \ %D%/packages/patches/texinfo-5-perl-compat.patch \
%D%/packages/patches/texlive-bin-poppler-0.83.patch \
%D%/packages/patches/texlive-bin-poppler-0.86.patch \
%D%/packages/patches/telegram-purple-adjust-test.patch \ %D%/packages/patches/telegram-purple-adjust-test.patch \
%D%/packages/patches/telepathy-glib-channel-memory-leak.patch \ %D%/packages/patches/telepathy-glib-channel-memory-leak.patch \
%D%/packages/patches/texi2html-document-encoding.patch \ %D%/packages/patches/texi2html-document-encoding.patch \
@ -1823,9 +1827,9 @@ dist_patch_DATA = \
%D%/packages/patches/tk-find-library.patch \ %D%/packages/patches/tk-find-library.patch \
%D%/packages/patches/tla2tools-build-xml.patch \ %D%/packages/patches/tla2tools-build-xml.patch \
%D%/packages/patches/tlf-support-hamlib-4.2+.patch \ %D%/packages/patches/tlf-support-hamlib-4.2+.patch \
%D%/packages/patches/tor-sandbox-i686.patch \
%D%/packages/patches/transcode-ffmpeg.patch \ %D%/packages/patches/transcode-ffmpeg.patch \
%D%/packages/patches/transmission-honor-localedir.patch \ %D%/packages/patches/transmission-honor-localedir.patch \
%D%/packages/patches/transmission-remote-gtk-fix-appstream.patch \
%D%/packages/patches/ttf2eot-cstddef.patch \ %D%/packages/patches/ttf2eot-cstddef.patch \
%D%/packages/patches/tup-unbundle-dependencies.patch \ %D%/packages/patches/tup-unbundle-dependencies.patch \
%D%/packages/patches/tuxpaint-stamps-path.patch \ %D%/packages/patches/tuxpaint-stamps-path.patch \
@ -1883,7 +1887,6 @@ dist_patch_DATA = \
%D%/packages/patches/vboot-utils-fix-format-load-address.patch \ %D%/packages/patches/vboot-utils-fix-format-load-address.patch \
%D%/packages/patches/vboot-utils-fix-tests-show-contents.patch \ %D%/packages/patches/vboot-utils-fix-tests-show-contents.patch \
%D%/packages/patches/vboot-utils-skip-test-workbuf.patch \ %D%/packages/patches/vboot-utils-skip-test-workbuf.patch \
%D%/packages/patches/vigra-python-compat.patch \
%D%/packages/patches/vinagre-newer-freerdp.patch \ %D%/packages/patches/vinagre-newer-freerdp.patch \
%D%/packages/patches/vinagre-newer-rdp-parameters.patch \ %D%/packages/patches/vinagre-newer-rdp-parameters.patch \
%D%/packages/patches/virglrenderer-CVE-2017-6386.patch \ %D%/packages/patches/virglrenderer-CVE-2017-6386.patch \
@ -1910,7 +1913,9 @@ dist_patch_DATA = \
%D%/packages/patches/wpa-supplicant-CVE-2021-30004.patch \ %D%/packages/patches/wpa-supplicant-CVE-2021-30004.patch \
%D%/packages/patches/x265-arm-flags.patch \ %D%/packages/patches/x265-arm-flags.patch \
%D%/packages/patches/xf86-video-ark-remove-mibstore.patch \ %D%/packages/patches/xf86-video-ark-remove-mibstore.patch \
%D%/packages/patches/xf86-video-mach64-bool-to-boolean.patch \
%D%/packages/patches/xf86-video-mach64-glibc-2.20.patch \ %D%/packages/patches/xf86-video-mach64-glibc-2.20.patch \
%D%/packages/patches/xf86-video-nouveau-fixup-ABI.patch \
%D%/packages/patches/xf86-video-savage-xorg-compat.patch \ %D%/packages/patches/xf86-video-savage-xorg-compat.patch \
%D%/packages/patches/xf86-video-siliconmotion-fix-ftbfs.patch \ %D%/packages/patches/xf86-video-siliconmotion-fix-ftbfs.patch \
%D%/packages/patches/xf86-video-tga-remove-mibstore.patch \ %D%/packages/patches/xf86-video-tga-remove-mibstore.patch \
@ -1930,15 +1935,14 @@ dist_patch_DATA = \
%D%/packages/patches/xsane-fix-snprintf-buffer-length.patch \ %D%/packages/patches/xsane-fix-snprintf-buffer-length.patch \
%D%/packages/patches/xsane-support-ipv6.patch \ %D%/packages/patches/xsane-support-ipv6.patch \
%D%/packages/patches/xsane-tighten-default-umask.patch \ %D%/packages/patches/xsane-tighten-default-umask.patch \
%D%/packages/patches/xygrib-fix-finding-data.patch \
%D%/packages/patches/yggdrasil-extra-config.patch \ %D%/packages/patches/yggdrasil-extra-config.patch \
%D%/packages/patches/ytfzf-programs.patch \ %D%/packages/patches/ytfzf-programs.patch \
%D%/packages/patches/ytfzf-updates.patch \ %D%/packages/patches/ytfzf-updates.patch \
%D%/packages/patches/ytnef-CVE-2021-3403.patch \ %D%/packages/patches/ytnef-CVE-2021-3403.patch \
%D%/packages/patches/ytnef-CVE-2021-3404.patch \ %D%/packages/patches/ytnef-CVE-2021-3404.patch \
%D%/packages/patches/zig-disable-libc-note-test.patch \ %D%/packages/patches/zig-disable-libc-note-test.patch \
%D%/packages/patches/zig-use-system-paths.patch \ %D%/packages/patches/zig-use-system-paths.patch
%D%/packages/patches/zstd-CVE-2021-24031_CVE-2021-24032.patch \
%D%/packages/patches/zziplib-CVE-2018-16548.patch
MISC_DISTRO_FILES = \ MISC_DISTRO_FILES = \
%D%/packages/ld-wrapper.in %D%/packages/ld-wrapper.in

View file

@ -223,19 +223,17 @@ incorporated.")
"--without-docs" "--without-docs"
"--with-notification"))) "--with-notification")))
(inputs (inputs
`(("libxml2" ,libxml2) (list libxml2
("libglade" ,libglade) libglade
("librsvg" ,librsvg) librsvg
("gstreamer" ,gstreamer) gstreamer
("cairo" ,cairo) cairo
("gtk+" ,gtk+) gtk+
("libxtst" ,libxtst) libxtst
("libxcomposite" ,libxcomposite) libxcomposite
("libnotify" ,libnotify))) libnotify))
(native-inputs (native-inputs
`(("gettext-minimal" ,gettext-minimal) (list gettext-minimal intltool pkg-config))
("intltool" ,intltool)
("pkg-config" ,pkg-config)))
(home-page "http://florence.sourceforge.net/") (home-page "http://florence.sourceforge.net/")
(synopsis "Extensible, scalable virtual keyboard for X11") (synopsis "Extensible, scalable virtual keyboard for X11")
(description (description
@ -268,9 +266,9 @@ available to help to click.")
"14pyzc4ws1mj859xs9n4x83wzxxvd3bh5bdxzr6nv267xwx1mq68")))) "14pyzc4ws1mj859xs9n4x83wzxxvd3bh5bdxzr6nv267xwx1mq68"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(inputs (inputs
`(("hidapi" ,hidapi))) (list hidapi))
(arguments (arguments
`(#:tests? #f ; no tests `(#:tests? #f ; no tests
#:make-flags (list (string-append "CC=" ,(cc-for-target))) #:make-flags (list (string-append "CC=" ,(cc-for-target)))

View file

@ -40,7 +40,7 @@
(define-public acl (define-public acl
(package (package
(name "acl") (name "acl")
(version "2.2.53") (version "2.3.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -48,7 +48,7 @@
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1ir6my3w74s6nfbgbqgzj6w570sn0qjf3524zx8xh67lqrjrigh6")))) "1bqi7hj0xkpivwg7lx5cv3yvs9ks1i6azvpgbvfpzcq1i736233n"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:modules ((ice-9 ftw) `(#:modules ((ice-9 ftw)
@ -86,7 +86,7 @@
((".*test/cp\\.test.*") "") ((".*test/cp\\.test.*") "")
((".*test/setfacl-X\\.test.*") "")) ((".*test/setfacl-X\\.test.*") ""))
#t))))) #t)))))
(inputs `(("attr" ,attr))) (inputs (list attr))
(native-inputs (native-inputs
`(("gettext" ,gettext-minimal) `(("gettext" ,gettext-minimal)
("perl" ,perl))) ("perl" ,perl)))
@ -125,8 +125,8 @@
(when tests? (when tests?
(add-installed-pythonpath inputs outputs) (add-installed-pythonpath inputs outputs)
(invoke "pytest" "tests"))))))) (invoke "pytest" "tests")))))))
(inputs `(("acl" ,acl))) (inputs (list acl))
(native-inputs `(("python-pytest" ,python-pytest))) (native-inputs (list python-pytest))
(home-page "https://pylibacl.k1024.org/") (home-page "https://pylibacl.k1024.org/")
(synopsis "POSIX.1e @acronym{ACLs, access control lists} for Python") (synopsis "POSIX.1e @acronym{ACLs, access control lists} for Python")
(description (description

View file

@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Danny Milosavljevic <dannym@scratchpost.org> ;;; Copyright © 2018 Danny Milosavljevic <dannym@scratchpost.org>
;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -48,17 +49,20 @@
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system gnu-build-system) (build-system gnu-build-system)
(supported-systems (list "i686-linux" "x86_64-linux" (supported-systems (list "i686-linux" "x86_64-linux"
"armhf-linux" "aarch64-linux")) "armhf-linux" "aarch64-linux"
"powerpc-linux"))
(outputs (list "out" "debug")) (outputs (list "out" "debug"))
(arguments (arguments
`(#:system `(#:system
,@(match (%current-system) ,@(match (%current-system)
;; This package predates 64-bit PCs: a 64-bit adaexec segfaults. ;; This package predates 64-bit PCs: a 64-bit adaexec segfaults.
;; Force a 32-bit build targeting a similar architecture. ;; Force a 32-bit build targeting a similar architecture.
((or "armhf-linux" "aarch64-linux") ("aarch64-linux"
`("armhf-linux")) `("armhf-linux"))
("x86_64-linux"
`("i686-linux"))
(_ (_
`("i686-linux"))) (list (%current-system))))
#:make-flags #:make-flags
(let ((out (assoc-ref %outputs "out"))) (let ((out (assoc-ref %outputs "out")))
(list (string-append (list (string-append
@ -130,7 +134,7 @@
(find-files "share" "."))) (find-files "share" ".")))
#t))))))) #t)))))))
(native-inputs (native-inputs
`(("sed" ,sed))) (list sed))
(home-page (string-append "https://web.archive.org/web/20140902150609/" (home-page (string-append "https://web.archive.org/web/20140902150609/"
"http://www2.informatik.uni-stuttgart.de/iste/ps/" "http://www2.informatik.uni-stuttgart.de/iste/ps/"
"ada-software/html/dos_ada.html")) "ada-software/html/dos_ada.html"))
@ -163,10 +167,7 @@ level.")
(file-name (string-append name "-" version "-checkout")))) (file-name (string-append name "-" version "-checkout"))))
(build-system python-build-system) (build-system python-build-system)
(propagated-inputs (propagated-inputs
`(("python2-docutils" ,python2-docutils) (list python2-docutils python2-enum34 python2-funcy python2-mako))
("python2-enum34" ,python2-enum34)
("python2-funcy" ,python2-funcy)
("python2-mako" ,python2-mako)))
(arguments (arguments
`(#:python ,python-2 `(#:python ,python-2
#:tests? #f)) ; Tests would requite gprbuild (Ada). #:tests? #f)) ; Tests would requite gprbuild (Ada).

File diff suppressed because it is too large Load diff

View file

@ -2,7 +2,7 @@
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015, 2016, 2018, 2020 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2015, 2016, 2018, 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2019, 2021 Marius Bakke <marius@gnu.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -52,7 +52,7 @@
;; XXX: Tests expect real name resolution to work. ;; XXX: Tests expect real name resolution to work.
#:tests? #f)) #:tests? #f))
(native-inputs (native-inputs
`(("m4" ,m4))) (list m4))
(home-page "https://www.gnu.org/software/adns/") (home-page "https://www.gnu.org/software/adns/")
(synopsis "Asynchronous DNS client library and utilities") (synopsis "Asynchronous DNS client library and utilities")
(description (description
@ -64,33 +64,6 @@ scripts.")
(define-public c-ares (define-public c-ares
(package (package
(name "c-ares")
(version "1.16.0")
(source (origin
(method url-fetch)
(uri (string-append
"https://c-ares.haxx.se/download/" name "-" version
".tar.gz"))
(sha256
(base32
"129sm0wzij0mp8vdv68v18hnykcjb6ivi66wnqnnw598q7bql1fy"))))
(replacement c-ares/fixed)
(build-system gnu-build-system)
(native-inputs
`(("pkg-config" ,pkg-config)))
(home-page "https://c-ares.haxx.se/")
(synopsis "C library for asynchronous DNS requests")
(description
"C-ares is a C library that performs DNS requests and name resolution
asynchronously. It is intended for applications which need to perform DNS
queries without blocking, or need to perform multiple DNS queries in parallel.
The primary examples of such applications are servers which communicate with
multiple clients and programs with graphical user interfaces.")
(license (x11-style "https://c-ares.haxx.se/license.html"))))
(define-public c-ares/fixed
(package
(inherit c-ares)
(name "c-ares") (name "c-ares")
(version "1.17.2") (version "1.17.2")
(source (origin (source (origin
@ -101,9 +74,27 @@ multiple clients and programs with graphical user interfaces.")
(sha256 (sha256
(base32 (base32
"0gcincjvpll2qmlc906jx6mfq97s87mgi0zby0753ki0rr2ch0s8")))) "0gcincjvpll2qmlc906jx6mfq97s87mgi0zby0753ki0rr2ch0s8"))))
(build-system gnu-build-system)
(arguments (arguments
`(;; FIXME: Some tests require network access '(;; FIXME: Some tests require network access
#:tests? #f)))) #:tests? #f
#:phases
(modify-phases %standard-phases
(add-before 'check 'filter-live-tests
(lambda _
;; Filter tests that require internet access.
(setenv "GTEST_FILTER" "-*.Live*:*.FamilyV4*"))))))
(native-inputs
(list pkg-config))
(home-page "https://c-ares.haxx.se/")
(synopsis "C library for asynchronous DNS requests")
(description
"C-ares is a C library that performs DNS requests and name resolution
asynchronously. It is intended for applications which need to perform DNS
queries without blocking, or need to perform multiple DNS queries in parallel.
The primary examples of such applications are servers which communicate with
multiple clients and programs with graphical user interfaces.")
(license (x11-style "https://c-ares.haxx.se/license.html"))))
;; gRPC requires a c-ares built with CMake in order to get the .cmake modules. ;; gRPC requires a c-ares built with CMake in order to get the .cmake modules.
;; We can not build c-ares itself with CMake because that would introduce a ;; We can not build c-ares itself with CMake because that would introduce a

View file

@ -49,28 +49,28 @@
"159hznnsxg7hlp80r1wqizyd7gwgnq0j13cm4d27cns0ganslb07")))) "159hznnsxg7hlp80r1wqizyd7gwgnq0j13cm4d27cns0ganslb07"))))
(build-system haskell-build-system) (build-system haskell-build-system)
(inputs (inputs
`(("ghc-aeson" ,ghc-aeson) (list ghc-aeson
("ghc-alex" ,ghc-alex) ghc-alex
("ghc-async" ,ghc-async) ghc-async
("ghc-blaze-html" ,ghc-blaze-html) ghc-blaze-html
("ghc-boxes" ,ghc-boxes) ghc-boxes
("ghc-case-insensitive" ,ghc-case-insensitive) ghc-case-insensitive
("ghc-data-hash" ,ghc-data-hash) ghc-data-hash
("ghc-edit-distance" ,ghc-edit-distance) ghc-edit-distance
("ghc-equivalence" ,ghc-equivalence) ghc-equivalence
("ghc-gitrev" ,ghc-gitrev) ghc-gitrev
("ghc-happy" ,ghc-happy) ghc-happy
("ghc-hashable" ,ghc-hashable) ghc-hashable
("ghc-hashtables" ,ghc-hashtables) ghc-hashtables
("ghc-monad-control" ,ghc-monad-control) ghc-monad-control
("ghc-murmur-hash" ,ghc-murmur-hash) ghc-murmur-hash
("ghc-parallel" ,ghc-parallel) ghc-parallel
("ghc-regex-tdfa" ,ghc-regex-tdfa) ghc-regex-tdfa
("ghc-split" ,ghc-split) ghc-split
("ghc-strict" ,ghc-strict) ghc-strict
("ghc-unordered-containers" ,ghc-unordered-containers) ghc-unordered-containers
("ghc-uri-encode" ,ghc-uri-encode) ghc-uri-encode
("ghc-zlib" ,ghc-zlib))) ghc-zlib))
(arguments (arguments
`(#:modules ((guix build haskell-build-system) `(#:modules ((guix build haskell-build-system)
(guix build utils) (guix build utils)
@ -139,7 +139,7 @@ Agda. It also aids the input of Unicode characters.")))
"0dlis6v6nzbscf713cmwlx8h9n2gxghci8y21qak3hp18gkxdp0g")))) "0dlis6v6nzbscf713cmwlx8h9n2gxghci8y21qak3hp18gkxdp0g"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("agda" ,agda))) (list agda))
(arguments (arguments
`(#:parallel-build? #f `(#:parallel-build? #f
#:phases #:phases

View file

@ -30,60 +30,65 @@
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (gnu packages check) #:use-module (gnu packages check)
#:use-module (gnu packages imagemagick) #:use-module (gnu packages imagemagick)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib) #:use-module (gnu packages glib)
#:use-module (gnu packages gtk) #:use-module (gnu packages gtk)
#:use-module (gnu packages image) #:use-module (gnu packages image)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages python) #:use-module (gnu packages python)
#:use-module (gnu packages python-xyz) #:use-module (gnu packages python-xyz)
#:use-module (gnu packages pretty-print)
#:use-module (gnu packages qt) #:use-module (gnu packages qt)
#:use-module (gnu packages video) #:use-module (gnu packages video)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)) #:use-module (guix build-system gnu))
(define-public zxing-cpp (define-public zxing-cpp
;; Use the master branch as it includes unreleased build system improvements
;; allowing to use system libraries (instead of attempting to fetch them
;; from the Internet).
(let ((revision "0")
(commit "00783db7aa3bcf8620a301854ac71c0ceaaca0c1"))
(package (package
(name "zxing-cpp") (name "zxing-cpp")
(version "1.0.8") (version (git-version "1.2.0" revision commit))
(source (source (origin
(origin
(method git-fetch) (method git-fetch)
(uri (uri (git-reference
(git-reference (url "https://github.com/nu-book/zxing-cpp")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"1yl2cpaqiv1g4nq9v0xfj1vd5faz55k4541vz6hsffvcxgn9nmc5"))))
(build-system cmake-build-system)
(native-inputs
(list fmt googletest))
(synopsis "C++ port of ZXing")
(description "ZXing-CPP is a barcode scanning library.")
(home-page "https://github.com/nu-book/zxing-cpp")
(license license:asl2.0))))
;;; This older variant is kept for gst-plugins-bad (see:
;;; https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1684).
(define-public zxing-cpp-1.2
(package/inherit zxing-cpp
(name "zxing-cpp")
(version "1.2.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/nu-book/zxing-cpp") (url "https://github.com/nu-book/zxing-cpp")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "011sq8wcjfxbnd8sj6bf2fgkamlp8gj6q835g61c952npvwsnl71")))) (base32
(native-inputs "1gjj9c7h634rrmmgzbc7cxjqsxdq0paj6113k02ncjm1s9abk7ik"))))
`(("googletest-source" ,(package-source googletest)))) ;; Disable tests to avoid bundled dependencies.
(build-system cmake-build-system) (arguments '(#:tests? #f
(arguments #:configure-flags '("-DBUILD_BLACKBOX_TESTS=OFF")))
`(#:out-of-source? #f (native-inputs '())))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'unpack-googletest
;; Copy the googletest sources to where the CMake build expects them.
(lambda* (#:key inputs #:allow-other-keys)
(let ((source (assoc-ref inputs "googletest-source"))
(target "test/unit/googletest-src"))
(mkdir-p target)
(copy-recursively source target)
;; Disable downloading via ExternalProject.
(substitute* "test/unit/CMakeLists.txt.in"
(("ExternalProject_Add\\(") "message("))
#t)))
(replace 'check
(lambda _
(with-directory-excursion "test/unit"
(invoke "cmake" ".")
(invoke "make")
(invoke "./ZXingUnitTest"))
#t)))))
(synopsis "C++ port of ZXing")
(description "ZXing-CPP is a barcode scanning library.")
(home-page "https://github.com/nu-book/zxing-cpp")
(license license:asl2.0)))
(define-public barcode (define-public barcode
(package (package
@ -127,8 +132,8 @@ formats.")
(with-directory-excursion "tests" (with-directory-excursion "tests"
(invoke "./test_basic.sh"))) (invoke "./test_basic.sh")))
#t))))) #t)))))
(inputs `(("libpng" ,libpng))) (inputs (list libpng))
(native-inputs `(("pkg-config" ,pkg-config))) (native-inputs (list pkg-config))
(synopsis "Encode data into a QR Code symbol") (synopsis "Encode data into a QR Code symbol")
(description "Libqrencode is a C library for encoding data in a QR Code (description "Libqrencode is a C library for encoding data in a QR Code
symbol, a kind of 2D symbology that can be scanned by handy terminals such as symbol, a kind of 2D symbology that can be scanned by handy terminals such as
@ -155,10 +160,7 @@ characters, and is highly robust.")
;; XXX Test suite is broken: https://github.com/dmtx/libdmtx/issues/22 ;; XXX Test suite is broken: https://github.com/dmtx/libdmtx/issues/22
`(#:tests? #f)) `(#:tests? #f))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool pkg-config))
("automake" ,automake)
("libtool" ,libtool)
("pkg-config" ,pkg-config)))
(home-page "https://github.com/dmtx") (home-page "https://github.com/dmtx")
(synopsis "Library for reading and writing Data Matrix 2D barcodes") (synopsis "Library for reading and writing Data Matrix 2D barcodes")
(description "libdmtx is software for reading and writing Data Matrix 2D (description "libdmtx is software for reading and writing Data Matrix 2D
@ -169,16 +171,18 @@ C/C++ programs to use its capabilities without restrictions or overhead.")
(define-public zbar (define-public zbar
(package (package
(name "zbar") (name "zbar")
(version "0.23") (version "0.23.90")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://linuxtv.org/downloads/zbar/zbar-" (uri
version (git-reference
".tar.bz2")) (url "https://github.com/mchehab/zbar")
(commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0bmd93a15qpgbsq9c9j33qms18rdrgz6gbc48zi6z9w5pvrvi7z9")))) "0rf3i7lx0fqzxsngird6l4d4dnl612nr32rm8sib699qqx67px8n"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:configure-flags (list "--with-gtk=auto" '(#:configure-flags (list "--with-gtk=auto"
@ -187,17 +191,25 @@ C/C++ programs to use its capabilities without restrictions or overhead.")
(assoc-ref %outputs "out") (assoc-ref %outputs "out")
"/etc")))) "/etc"))))
(native-inputs (native-inputs
`(("glib" ,glib "bin") `(("autoconf" ,autoconf)
("pkg-config" ,pkg-config))) ("automake" ,automake)
("gettext" ,gettext-minimal)
("glib" ,glib "bin")
("gobject-introspection" ,gobject-introspection)
("libtool" ,libtool)
("pkg-config" ,pkg-config)
("python-wrapper" ,python-wrapper)))
(inputs (inputs
`(("gobject-introspection" ,gobject-introspection) `(("dbus" ,dbus)
("gtk+" ,gtk+)
("imagemagick" ,imagemagick) ("imagemagick" ,imagemagick)
("libjpeg" ,libjpeg-turbo) ("libjpeg" ,libjpeg-turbo)
("perl" ,perl)
("python" ,python) ("python" ,python)
("qtbase" ,qtbase-5)
("qtx11extras" ,qtx11extras) ("qtx11extras" ,qtx11extras)
("v4l-utils" ,v4l-utils))) ("v4l-utils" ,v4l-utils)))
(propagated-inputs
;; These are in 'requires' field of .pc files.
(list glib gtk+ qtbase-5))
(synopsis "Bar code reader") (synopsis "Bar code reader")
(description (description
"ZBar can read barcodes from various sources, such as video streams, "ZBar can read barcodes from various sources, such as video streams,

View file

@ -4,7 +4,7 @@
;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr> ;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2014, 2018 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2014, 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016, 2018, 2019, 2021 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2016, 2018, 2019, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017, 2020 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2017, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 20172021 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 20172021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017, 2019, 2021 Eric Bavier <bavier@posteo.net> ;;; Copyright © 2017, 2019, 2021 Eric Bavier <bavier@posteo.net>
@ -89,9 +89,7 @@
"1545vgizpypqi2rrriad0ybqv0qwbn9zr0ibxpk00gha9ihv7acx")))) "1545vgizpypqi2rrriad0ybqv0qwbn9zr0ibxpk00gha9ihv7acx"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(propagated-inputs (propagated-inputs
`(("gmp" ,gmp) (list gmp mpfr mpc)) ; Header files are included by mpfrcx.h.
("mpfr" ,mpfr)
("mpc" ,mpc))) ; Header files are included by mpfrcx.h.
(synopsis "Arithmetic of polynomials over arbitrary precision numbers") (synopsis "Arithmetic of polynomials over arbitrary precision numbers")
(description (description
"Mpfrcx is a library for the arithmetic of univariate polynomials over "Mpfrcx is a library for the arithmetic of univariate polynomials over
@ -138,10 +136,9 @@ greatest common divisor operations.")
"0qq6b1kwb1byj8ws33ya5awq0ilkpm32037pi1l4cf2737fg9m42")))) "0qq6b1kwb1byj8ws33ya5awq0ilkpm32037pi1l4cf2737fg9m42"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(propagated-inputs (propagated-inputs
`(("mpfrcx" ,mpfrcx) (list mpfrcx zlib)) ; Header files included from cm_common.h.
("zlib" ,zlib))) ; Header files included from cm_common.h.
(inputs (inputs
`(("pari-gp" ,pari-gp))) (list pari-gp))
(synopsis "CM constructions for elliptic curves") (synopsis "CM constructions for elliptic curves")
(description (description
"The CM software implements the construction of ring class fields of "The CM software implements the construction of ring class fields of
@ -168,13 +165,9 @@ line applications.")
(patches (search-patches "fplll-std-fenv.patch")))) (patches (search-patches "fplll-std-fenv.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool pkg-config))
("automake" ,automake)
("libtool" ,libtool)
("pkg-config" ,pkg-config)))
(propagated-inputs ; header files pulled in by fplll/defs.h (propagated-inputs ; header files pulled in by fplll/defs.h
`(("gmp" ,gmp) (list gmp mpfr))
("mpfr" ,mpfr)))
(home-page "https://github.com/fplll/fplll") (home-page "https://github.com/fplll/fplll")
(synopsis "Library for LLL-reduction of euclidean lattices") (synopsis "Library for LLL-reduction of euclidean lattices")
(description (description
@ -219,16 +212,10 @@ the real span of the lattice.")
"1a25iibihph626jl4wbs4b77xc4a2c4nfc2ypscf9wpani3dnhjf")))) "1a25iibihph626jl4wbs4b77xc4a2c4nfc2ypscf9wpani3dnhjf"))))
(build-system python-build-system) (build-system python-build-system)
(inputs (inputs
`(("fplll" ,fplll) (list fplll gmp mpfr pari-gp))
("gmp" ,gmp)
("mpfr" ,mpfr)
("pari-gp" ,pari-gp)))
(propagated-inputs (propagated-inputs
`(("cysignals" ,python-cysignals) (list python-cysignals python-cython python-flake8 python-numpy
("cython" ,python-cython) python-pytest))
("flake8" ,python-flake8)
("numpy" ,python-numpy)
("pytest" ,python-pytest)))
(home-page "https://github.com/fplll/fpylll") (home-page "https://github.com/fplll/fpylll")
(synopsis "Python interface for fplll") (synopsis "Python interface for fplll")
(description "fpylll is a Python wrapper for fplll.") (description "fpylll is a Python wrapper for fplll.")
@ -248,12 +235,9 @@ the real span of the lattice.")
"1jm1cz1687cz8pl8lgvmyk3l33cms1xbayv38ca4z1f60qb7zfnc")))) "1jm1cz1687cz8pl8lgvmyk3l33cms1xbayv38ca4z1f60qb7zfnc"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("texlive" ,(texlive-union `(("texlive" ,(texlive-updmap.cfg
(list texlive-amsfonts/patched))))) (list texlive-amsfonts)))))
(inputs `(("gmp" ,gmp) (inputs (list gmp libx11 perl readline))
("libx11" ,libx11)
("perl" ,perl)
("readline" ,readline)))
(arguments (arguments
'(#:make-flags '("all") '(#:make-flags '("all")
#:test-target "dobench" #:test-target "dobench"
@ -289,8 +273,8 @@ PARI is also available as a C library to allow for faster computations.")
(base32 (base32
"039ip7qkwwv46wrcdrz7y12m30kazzkjr44kqbc0h137g4wzd7zf")))) "039ip7qkwwv46wrcdrz7y12m30kazzkjr44kqbc0h137g4wzd7zf"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs `(("perl" ,perl))) (native-inputs (list perl))
(inputs `(("pari-gp" ,pari-gp))) (inputs (list pari-gp))
(arguments (arguments
'(#:configure-flags '(#:configure-flags
(list (string-append "--with-paricfg=" (list (string-append "--with-paricfg="
@ -324,12 +308,12 @@ GP2C, the GP to C compiler, translates GP scripts to PARI programs.")
"1ws2yhzxmm2l5xqqqcjcimmg40f9qq5l9i6d4i5434an9v9s8531")))) "1ws2yhzxmm2l5xqqqcjcimmg40f9qq5l9i6d4i5434an9v9s8531"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("gmp" ,gmp) (list gmp
("mpfr" ,mpfr) mpfr
("mpc" ,mpc) mpc
("mpfrcx" ,mpfrcx) mpfrcx
("fplll" ,fplll) fplll
("pari-gp" ,pari-gp))) pari-gp))
(synopsis "Igusa class polynomial computations") (synopsis "Igusa class polynomial computations")
(description (description
"The CMH software computes Igusa (genus 2) class polynomials, which "The CMH software computes Igusa (genus 2) class polynomials, which
@ -440,10 +424,9 @@ or text interfaces) or as a C++ library.")
(base32 "1gp4wm2s8c27g2hh53d09cys62da1bsxfwbcsj9cd7cfikm95pv1")))) (base32 "1gp4wm2s8c27g2hh53d09cys62da1bsxfwbcsj9cd7cfikm95pv1"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("ntl" ,ntl))) (list ntl))
(propagated-inputs (propagated-inputs
`(("gmp" ,gmp) (list gmp mpfr)) ; header files from both are included by flint/arith.h
("mpfr" ,mpfr))) ; header files from both are included by flint/arith.h
(arguments (arguments
`(#:parallel-tests? #f ; seems to be necessary on arm `(#:parallel-tests? #f ; seems to be necessary on arm
#:phases #:phases
@ -497,10 +480,9 @@ fast arithmetic.")
"1lmcl122qy6mr1g1y65bm7dk9fj0sym7gzmvar5vdgk7ln03c5iq")))) "1lmcl122qy6mr1g1y65bm7dk9fj0sym7gzmvar5vdgk7ln03c5iq"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(propagated-inputs (propagated-inputs
`(("flint" ,flint))) ; flint.h is included by arf.h (list flint)) ; flint.h is included by arf.h
(inputs (inputs
`(("gmp" ,gmp) (list gmp mpfr))
("mpfr" ,mpfr)))
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
@ -542,12 +524,11 @@ real and complex numbers, with automatic, rigorous error control.")
(patches (search-patches "python-flint-includes.patch")))) (patches (search-patches "python-flint-includes.patch"))))
(build-system python-build-system) (build-system python-build-system)
(native-inputs (native-inputs
`(("python-cython" ,python-cython))) (list python-cython))
(propagated-inputs (propagated-inputs
`(("python-numpy" ,python-numpy))) (list python-numpy))
(inputs (inputs
`(("arb" ,arb) (list arb flint))
("flint" ,flint)))
(synopsis "Python module wrapping ARB and FLINT") (synopsis "Python module wrapping ARB and FLINT")
(description (description
"Python-flint is a Python extension module wrapping FLINT "Python-flint is a Python extension module wrapping FLINT
@ -576,11 +557,9 @@ these types and other mathematical functions.")
#t)))) #t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("libtool" ,libtool) (list libtool perl)) ; for configuration
("perl" ,perl))) ; for configuration
(inputs (inputs
`(("gmp" ,gmp) (list gmp gf2x))
("gf2x" ,gf2x)))
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
@ -627,9 +606,7 @@ matrices, and polynomials over the integers and over finite fields.")
"13gy1gdng8zijwlr1fn5sixw53z0zf9czzlg0vh1dcc59zw6v998")))) "13gy1gdng8zijwlr1fn5sixw53z0zf9czzlg0vh1dcc59zw6v998"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("doxygen" ,doxygen) (list doxygen graphviz perl))
("graphviz" ,graphviz)
("perl" ,perl)))
(inputs (inputs
`(("cddlib" ,cddlib) `(("cddlib" ,cddlib)
("gmp" ,gmp) ("gmp" ,gmp)
@ -668,7 +645,7 @@ geometry and singularity theory.")
"0hxs24c2m3mh0nq1zz63z3sb7dhy1rilg2s1igwwcb26x3pb7xqc")))) "0hxs24c2m3mh0nq1zz63z3sb7dhy1rilg2s1igwwcb26x3pb7xqc"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("gmp" ,gmp))) (list gmp))
(arguments (arguments
`(#:configure-flags '("--enable-shared" `(#:configure-flags '("--enable-shared"
;; Disable specific assembly routines, which depend ;; Disable specific assembly routines, which depend
@ -698,17 +675,15 @@ binary.")
(patches (search-patches "bc-fix-cross-compilation.patch")))) (patches (search-patches "bc-fix-cross-compilation.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("automake" ,automake) (list automake autoconf ed flex texinfo))
("autoconf" ,autoconf) (inputs
("ed" ,ed) (list readline))
("flex" ,flex)
("texinfo" ,texinfo)))
(arguments (arguments
'(#:configure-flags '(#:configure-flags
(list "--with-readline") (list "--with-readline")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'autogen (replace 'bootstrap
(lambda _ (lambda _
(invoke "autoreconf" "-vif")))))) (invoke "autoreconf" "-vif"))))))
(home-page "https://www.gnu.org/software/bc/") (home-page "https://www.gnu.org/software/bc/")
@ -782,7 +757,7 @@ a C program.")
;; available on the user's machine when that package is built on a ;; available on the user's machine when that package is built on a
;; different machine. ;; different machine.
"ax_cv_c_flags__mtune_native=no"))) "ax_cv_c_flags__mtune_native=no")))
(native-inputs `(("perl" ,perl))) (native-inputs (list perl))
(home-page "http://fftw.org") (home-page "http://fftw.org")
(synopsis "Computing the discrete Fourier transform") (synopsis "Computing the discrete Fourier transform")
(description (description
@ -853,8 +828,7 @@ cosine/ sine transforms or DCT/DST).")
"**/SparseVectorTest.java" "**/SparseVectorTest.java"
"**/DenseVectorTest.java"))) "**/DenseVectorTest.java")))
(native-inputs (native-inputs
`(("java-junit" ,java-junit) (list java-junit java-hamcrest-core))
("java-hamcrest-core" ,java-hamcrest-core)))
(home-page "http://la4j.org/") (home-page "http://la4j.org/")
(synopsis "Java library that provides Linear Algebra primitives and algorithms") (synopsis "Java library that provides Linear Algebra primitives and algorithms")
(description "The la4j library is a Java library that provides Linear (description "The la4j library is a Java library that provides Linear
@ -891,7 +865,7 @@ the la4j library are:
#:tests? #f ; tests are not included in the release archive #:tests? #f ; tests are not included in the release archive
#:jdk ,icedtea-8)) #:jdk ,icedtea-8))
(propagated-inputs (propagated-inputs
`(("java-commons-math3" ,java-commons-math3))) (list java-commons-math3))
(home-page "https://gitlab.com/ICM-VisLab/JLargeArrays") (home-page "https://gitlab.com/ICM-VisLab/JLargeArrays")
(synopsis "Library of one-dimensional arrays that can store up to 263 elements") (synopsis "Library of one-dimensional arrays that can store up to 263 elements")
(description "JLargeArrays is a Java library of one-dimensional arrays (description "JLargeArrays is a Java library of one-dimensional arrays
@ -916,8 +890,7 @@ that can store up to 263 elements.")
#:tests? #f ; tests are not included in the release archive #:tests? #f ; tests are not included in the release archive
#:jdk ,icedtea-8)) #:jdk ,icedtea-8))
(propagated-inputs (propagated-inputs
`(("java-commons-math3" ,java-commons-math3) (list java-commons-math3 java-jlargearrays))
("java-jlargearrays" ,java-jlargearrays)))
(home-page "https://github.com/wendykierp/JTransforms") (home-page "https://github.com/wendykierp/JTransforms")
(synopsis "Multithreaded FFT library written in pure Java") (synopsis "Multithreaded FFT library written in pure Java")
(description "JTransforms is a multithreaded FFT library written in pure (description "JTransforms is a multithreaded FFT library written in pure
@ -941,7 +914,7 @@ Sine Transform} (DST) and @dfn{Discrete Hartley Transform} (DHT).")
"00bch77a6qgnw6vzsjn2a42n8n683ih3xm0wpr454jxa15hw78vf")))) "00bch77a6qgnw6vzsjn2a42n8n683ih3xm0wpr454jxa15hw78vf"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
`(("perl" ,perl))) ; for pod2man (list perl)) ; for pod2man
(home-page "https://jugit.fz-juelich.de/mlz/lmfit") (home-page "https://jugit.fz-juelich.de/mlz/lmfit")
(synopsis "Levenberg-Marquardt minimization and least-squares fitting") (synopsis "Levenberg-Marquardt minimization and least-squares fitting")
(description "lmfit is a C library for Levenberg-Marquardt least-squares (description "lmfit is a C library for Levenberg-Marquardt least-squares
@ -974,10 +947,7 @@ algorithms from the FORTRAN library MINPACK.")
"-DWITH_SYMENGINE_THREAD_SAFE=on" "-DWITH_SYMENGINE_THREAD_SAFE=on"
"-DBUILD_SHARED_LIBS=on"))) ;also build libsymengine "-DBUILD_SHARED_LIBS=on"))) ;also build libsymengine
(inputs (inputs
`(("flint" ,flint) (list flint gmp mpc mpfr))
("gmp" ,gmp)
("mpc" ,mpc)
("mpfr" ,mpfr)))
(home-page "https://github.com/symengine/symengine") (home-page "https://github.com/symengine/symengine")
(synopsis "Fast symbolic manipulation library") (synopsis "Fast symbolic manipulation library")
(description (description
@ -1006,8 +976,7 @@ Optional thin wrappers allow usage of the library from other languages.")
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
("python" ,python-wrapper))) ; Python is required ("python" ,python-wrapper))) ; Python is required
(inputs (inputs
`(("cln" ,cln) (list cln readline))
("readline" ,readline)))
(home-page "https://www.ginac.de/") (home-page "https://www.ginac.de/")
(synopsis "Library for symbolic computation") (synopsis "Library for symbolic computation")
(description "GiNaC is a C++ library for symbolic computation. Contrary (description "GiNaC is a C++ library for symbolic computation. Contrary
@ -1142,8 +1111,7 @@ features, and more.")
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
`(("googletest" ,googletest) (list googletest xtl))
("xtl" ,xtl)))
(arguments (arguments
`(#:configure-flags `(#:configure-flags
'("-DBUILD_TESTS=ON") '("-DBUILD_TESTS=ON")
@ -1224,9 +1192,7 @@ xtensor provides:
#t)))) #t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("gmp" ,gmp) (list gmp readline zlib))
("readline" ,readline)
("zlib" ,zlib)))
(arguments (arguments
`(#:modules ((ice-9 ftw) `(#:modules ((ice-9 ftw)
(srfi srfi-26) (srfi srfi-26)
@ -1313,9 +1279,7 @@ objects.")
"0q1wdiwqj6fsbifaayb1zkp20bz8a1my81sqjsail577jmzwi07w")))) "0q1wdiwqj6fsbifaayb1zkp20bz8a1my81sqjsail577jmzwi07w"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("boost" ,boost) (list boost gmp mpfr))
("gmp" ,gmp)
("mpfr" ,mpfr)))
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
@ -1356,11 +1320,9 @@ for the Coq proof assistant.")
"11wz57q6ijsvfs5r82masxgr319as92syi78lnl9lgdblpc6xigk")))) "11wz57q6ijsvfs5r82masxgr319as92syi78lnl9lgdblpc6xigk"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool))
("automake" ,automake)
("libtool" ,libtool)))
(propagated-inputs (propagated-inputs
`(("gmp" ,gmp))) ; gmp++.h includes gmpxx.h (list gmp)) ; gmp++.h includes gmpxx.h
(synopsis "Algebraic computations with exact rings and fields") (synopsis "Algebraic computations with exact rings and fields")
(description (description
"Givaro is a C++ library implementing the basic arithmetic of various "Givaro is a C++ library implementing the basic arithmetic of various
@ -1387,14 +1349,11 @@ compound objects, such as vectors, matrices and univariate polynomials.")
"1ynbjd72qrwp0b4kpn0p5d7gddpvj8dlb5fwdxajr5pvkvi3if74")))) "1ynbjd72qrwp0b4kpn0p5d7gddpvj8dlb5fwdxajr5pvkvi3if74"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool pkg-config))
("automake" ,automake)
("libtool" ,libtool)
("pkg-config" ,pkg-config)))
(inputs (inputs
`(("openblas" ,openblas))) (list openblas))
(propagated-inputs (propagated-inputs
`(("givaro" ,givaro))) ; required according to the .pc file (list givaro)) ; required according to the .pc file
(arguments (arguments
`(#:configure-flags `(#:configure-flags
(list (string-append "--with-blas-libs=" (list (string-append "--with-blas-libs="
@ -1430,12 +1389,9 @@ algebra, such as the row echelon form.")
(patches (search-patches "linbox-fix-pkgconfig.patch")))) (patches (search-patches "linbox-fix-pkgconfig.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool pkg-config))
("automake" ,automake)
("libtool" ,libtool)
("pkg-config" ,pkg-config)))
(propagated-inputs (propagated-inputs
`(("fflas-ffpack" ,fflas-ffpack))) (list fflas-ffpack))
(synopsis "C++ library for linear algebra over exact rings") (synopsis "C++ library for linear algebra over exact rings")
(description (description
"LinBox is a C++ template library for exact linear algebra computation "LinBox is a C++ template library for exact linear algebra computation
@ -1459,12 +1415,9 @@ finite fields.")
"0xfg6pffbn8r1s0y7bn9b8i55l00d41dkmhrpf7pwk53qa3achd3")))) "0xfg6pffbn8r1s0y7bn9b8i55l00d41dkmhrpf7pwk53qa3achd3"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool pkg-config))
("automake" ,automake)
("libtool" ,libtool)
("pkg-config" ,pkg-config)))
(inputs (inputs
`(("libpng" ,libpng))) (list libpng))
(synopsis "Arithmetic of dense matrices over F_2") (synopsis "Arithmetic of dense matrices over F_2")
(description "M4RI is a library for fast arithmetic with dense matrices (description "M4RI is a library for fast arithmetic with dense matrices
over F2. The name M4RI comes from the first implemented algorithm: The over F2. The name M4RI comes from the first implemented algorithm: The
@ -1549,11 +1502,9 @@ polynomials, and the representation theory of Hecke algebras of type A_n.")
"0r8lv46qx5mkz5kp3ay2jnsp0mbhlqr5z2z220wdk73wdshcznss")))) "0r8lv46qx5mkz5kp3ay2jnsp0mbhlqr5z2z220wdk73wdshcznss"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool))
("automake" ,automake)
("libtool" ,libtool)))
(inputs (inputs
`(("m4ri" ,m4ri))) (list m4ri))
(synopsis "Arithmetic of dense matrices over F_{2^e}") (synopsis "Arithmetic of dense matrices over F_{2^e}")
(description "M4RI is a library for fast arithmetic with dense matrices (description "M4RI is a library for fast arithmetic with dense matrices
over finite fields of characteristic 2. So it extends the functionality over finite fields of characteristic 2. So it extends the functionality
@ -1576,12 +1527,9 @@ of M4RI from F_2 to F_{2^e}.")
"1gw27lqc3f525n8qdcmr2nyn16y9g10z9f6dnmckyyxcdzvhq35n")))) "1gw27lqc3f525n8qdcmr2nyn16y9g10z9f6dnmckyyxcdzvhq35n"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool))
("automake" ,automake)
("libtool" ,libtool)))
(inputs (inputs
`(("ntl" ,ntl) (list ntl pari-gp))
("pari-gp" ,pari-gp)))
(synopsis "Ranks of elliptic curves and modular symbols") (synopsis "Ranks of elliptic curves and modular symbols")
(description "The eclib package includes mwrank (for 2-descent on (description "The eclib package includes mwrank (for 2-descent on
elliptic curves over Q) and modular symbol code; it has been written by elliptic curves over Q) and modular symbol code; it has been written by
@ -1606,9 +1554,7 @@ John Cremona to compute his elliptic curve database.")
(patches (search-patches "lrcalc-includes.patch")))) (patches (search-patches "lrcalc-includes.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool))
("automake" ,automake)
("libtool" ,libtool)))
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
@ -1718,12 +1664,12 @@ no more than about 20 bits long).")
"11290ivi9h665cxi8f1shlavhy10vzb8s28m57hrcgnxyxqmhx0m")))) "11290ivi9h665cxi8f1shlavhy10vzb8s28m57hrcgnxyxqmhx0m"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("fplll" ,fplll) (list fplll
("gmp" ,gmp) gmp
("gnuplot" ,gnuplot) gnuplot
("libxml2" ,libxml2) libxml2
("mpfi" ,mpfi) mpfi
("mpfr" ,mpfr))) mpfr))
(arguments (arguments
`(#:configure-flags `(#:configure-flags
(list (string-append "--docdir=${datadir}/doc/sollya-" ,version)) (list (string-append "--docdir=${datadir}/doc/sollya-" ,version))

View file

@ -4,12 +4,13 @@
;;; Copyright © 2016, 2020 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2016, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu> ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com> ;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2017, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2017, 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 20182021 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 20182021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019, 2020 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2019, 2020 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Sergey Trofimov <sarg@sarg.org.ru> ;;; Copyright © 2020 Sergey Trofimov <sarg@sarg.org.ru>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -29,6 +30,7 @@
(define-module (gnu packages android) (define-module (gnu packages android)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix build-system android-ndk) #:use-module (guix build-system android-ndk)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
@ -309,7 +311,7 @@ various Android core host applications.")
(add-after 'unpack 'enter-source (add-after 'unpack 'enter-source
(lambda _ (chdir "libsparse") #t))))) (lambda _ (chdir "libsparse") #t)))))
(inputs (inputs
`(("zlib" ,zlib))) (list zlib))
(home-page "https://developer.android.com/") (home-page "https://developer.android.com/")
(synopsis "Android platform sparse library") (synopsis "Android platform sparse library")
(description "@code{android-libsparse} is a library in common use by the (description "@code{android-libsparse} is a library in common use by the
@ -340,11 +342,9 @@ various Android core host applications.")
(string-append out "/include/ziparchive")) (string-append out "/include/ziparchive"))
#t)))))) #t))))))
(inputs (inputs
`(("zlib" ,zlib))) (list zlib))
(native-inputs (native-inputs
`(("android-libbase" ,android-libbase) (list android-libbase android-libutils android-liblog))
("android-libutils" ,android-libutils)
("android-liblog" ,android-liblog)))
(home-page "https://developer.android.com/") (home-page "https://developer.android.com/")
(synopsis "Android platform ZIP library") (synopsis "Android platform ZIP library")
(description "@code{android-libziparchive} is a library in common use by the (description "@code{android-libziparchive} is a library in common use by the
@ -360,10 +360,12 @@ various Android core host applications.")
(arguments (arguments
`(#:tests? #f ; Test failure: sysdeps_poll.fd_count `(#:tests? #f ; Test failure: sysdeps_poll.fd_count
#:make-flags #:make-flags
(list "CFLAGS=-Wno-error" ,#~(list
"CFLAGS=-Wno-error"
"CXXFLAGS=-fpermissive -Wno-error -std=gnu++14 -D_Nonnull= -D_Nullable= -I ." "CXXFLAGS=-fpermissive -Wno-error -std=gnu++14 -D_Nonnull= -D_Nullable= -I ."
(string-append "LDFLAGS=-Wl,-rpath=" (assoc-ref %outputs "out") "/lib " (string-append
"-Wl,-rpath=" (assoc-ref %build-inputs "openssl") "/lib -L .")) "LDFLAGS=-Wl,-rpath=" #$output "/lib "
"-Wl,-rpath=" #$(this-package-input "openssl") "/lib -L ."))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'enter-source (add-after 'unpack 'enter-source
@ -385,10 +387,7 @@ various Android core host applications.")
(install-file "diagnose_usb.h" (string-append (assoc-ref outputs "out") "/include")) (install-file "diagnose_usb.h" (string-append (assoc-ref outputs "out") "/include"))
#t))))) #t)))))
(inputs (inputs
`(("android-libbase" ,android-libbase) (list android-libbase android-libcutils android-liblog openssl))
("android-libcutils" ,android-libcutils)
("android-liblog" ,android-liblog)
("openssl" ,openssl)))
(home-page "https://developer.android.com/studio/command-line/adb.html") (home-page "https://developer.android.com/studio/command-line/adb.html")
(synopsis "Android Debug Bridge") (synopsis "Android Debug Bridge")
(description (description
@ -507,11 +506,11 @@ that is safe to use for user space. It also includes
(("#ifdef HOST") "#ifdef XXX")) (("#ifdef HOST") "#ifdef XXX"))
#t))))) #t)))))
(inputs (inputs
`(("openssl" ,openssl))) (list openssl))
(native-inputs (native-inputs
`(("android-bionic-uapi" ,android-bionic-uapi) (list android-bionic-uapi
;; pcre is inlined by our package. ;; pcre is inlined by our package.
("pcre" ,pcre))) pcre))
(home-page "https://developer.android.com/") (home-page "https://developer.android.com/")
(synopsis "Android version of the SELinux libraries and utilities") (synopsis "Android version of the SELinux libraries and utilities")
(description (description
@ -530,29 +529,25 @@ the core SELinux management utilities.")
(build-system android-ndk-build-system) (build-system android-ndk-build-system)
(arguments (arguments
`(#:make-flags `(#:make-flags
(list (string-append "CPPFLAGS=" ,#~(list
(string-append
"CPPFLAGS="
;"-Wno-error " ;"-Wno-error "
"-I " "-I " #$(this-package-input "android-libselinux") "/include "
(assoc-ref %build-inputs "android-libselinux") "-I " #$(this-package-input "android-libsparse") "/include "
"/include " "-I " #$(this-package-input "android-libcutils") "/include "
"-I " (assoc-ref %build-inputs "android-libsparse") "-I " #$(this-package-input "android-liblog") "/include "
"/include "
"-I " (assoc-ref %build-inputs "android-libcutils")
"/include "
"-I " (assoc-ref %build-inputs "android-liblog") "/include "
"-I ../core/include") "-I ../core/include")
"CFLAGS=-Wno-error" "CFLAGS=-Wno-error"
"install-libext4_utils_host.a" "install-libext4_utils_host.a"
(string-append "prefix=" (assoc-ref %outputs "out"))) (string-append "prefix=" #$output))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'unpack-core (add-after 'unpack 'unpack-core
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(mkdir-p "core") (mkdir-p "core")
(with-directory-excursion "core" (copy-recursively (assoc-ref inputs "android-core")
(invoke "tar" "axf" (assoc-ref inputs "android-core") "core")))
"--strip-components=1"))
#t))
(add-after 'unpack-core 'enter-source (add-after 'unpack-core 'enter-source
(lambda _ (chdir "ext4_utils") #t)) (lambda _ (chdir "ext4_utils") #t))
(replace 'install (replace 'install
@ -561,11 +556,8 @@ the core SELinux management utilities.")
(copy-recursively "." (string-append out "/include"))) (copy-recursively "." (string-append out "/include")))
#t))))) #t)))))
(inputs (inputs
`(("android-libcutils" ,android-libcutils) (list android-libcutils android-liblog android-libselinux
("android-liblog" ,android-liblog) android-libsparse zlib))
("android-libselinux" ,android-libselinux)
("android-libsparse" ,android-libsparse)
("zlib" ,zlib)))
(native-inputs (native-inputs
`(("android-core" ,(android-platform-system-core version)))) `(("android-core" ,(android-platform-system-core version))))
(home-page "https://developer.android.com/") (home-page "https://developer.android.com/")
@ -585,6 +577,9 @@ Android core.")
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'enter-source (add-after 'unpack 'enter-source
(lambda _ (chdir "f2fs_utils") #t)) (lambda _ (chdir "f2fs_utils") #t))
(add-before 'build 'set-compilation-flags
(lambda _
(setenv "CFLAGS" "-fcommon")))
(add-after 'install 'install-headers (add-after 'install 'install-headers
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(copy-recursively "." (string-append (assoc-ref outputs "out") (copy-recursively "." (string-append (assoc-ref outputs "out")
@ -600,11 +595,8 @@ Android core.")
(install-file "mkf2fsuserimg.sh" bin) (install-file "mkf2fsuserimg.sh" bin)
#t)))))) #t))))))
(inputs (inputs
`(("f2fs-tools" ,f2fs-tools-1.7) (list f2fs-tools-1.7 android-libselinux android-libsparse
("android-libselinux" ,android-libselinux) android-libcutils zlib))
("android-libsparse" ,android-libsparse)
("android-libcutils" ,android-libcutils)
("zlib" ,zlib)))
(home-page "https://developer.android.com/") (home-page "https://developer.android.com/")
(synopsis "Android f2fs utils") (synopsis "Android f2fs utils")
(description "@code{android-f2fs-utils} is a library in common use by the (description "@code{android-f2fs-utils} is a library in common use by the
@ -641,8 +633,7 @@ file system.")
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(copy-recursively "../include/utils" (string-append (assoc-ref outputs "out") "/include/utils"))))))) (copy-recursively "../include/utils" (string-append (assoc-ref outputs "out") "/include/utils")))))))
(inputs (inputs
`(("android-safe-iop" ,android-safe-iop) (list android-safe-iop android-libcutils))
("android-libcutils" ,android-libcutils)))
(native-inputs (native-inputs
`(("android-bionic-uapi" ,android-bionic-uapi) `(("android-bionic-uapi" ,android-bionic-uapi)
("android-liblog" ,android-liblog) ("android-liblog" ,android-liblog)
@ -679,22 +670,22 @@ file system.")
(install-file "fastboot" bin) (install-file "fastboot" bin)
#t)))))) #t))))))
(inputs (inputs
`(("adb" ,adb) (list adb
("android-safe-iop" ,android-safe-iop) android-safe-iop
("android-ext4-utils" ,android-ext4-utils) android-ext4-utils
("android-f2fs-utils" ,android-f2fs-utils) android-f2fs-utils
("android-libbase" ,android-libbase) android-libbase
("android-libcutils" ,android-libcutils) android-libcutils
("android-liblog" ,android-liblog) android-liblog
("android-libutils" ,android-libutils) android-libutils
("android-libsparse" ,android-libsparse) android-libsparse
("android-libziparchive" ,android-libziparchive) android-libziparchive
("android-libselinux" ,android-libselinux) android-libselinux
("pcre" ,pcre) pcre
("mkbootimg" ,mkbootimg) mkbootimg
("zlib" ,zlib))) zlib))
(native-inputs (native-inputs
`(("xz" ,xz))) (list xz))
(home-page "https://developer.android.com/studio/command-line/") (home-page "https://developer.android.com/studio/command-line/")
(synopsis "Android image flasher") (synopsis "Android image flasher")
(description (description
@ -894,21 +885,18 @@ safest way, on a file image.")
(invoke "nosetests" "--with-coverage" "--with-timer" (invoke "nosetests" "--with-coverage" "--with-timer"
"--timer-top-n" "50")))))) "--timer-top-n" "50"))))))
(native-inputs (native-inputs
`(("python-codecov" ,python-codecov) (list python-codecov python-coverage python-mock python-nose
("python-coverage" ,python-coverage) python-nose-timer))
("python-mock" ,python-mock)
("python-nose" ,python-nose)
("python-nose-timer" ,python-nose-timer)))
(propagated-inputs (propagated-inputs
`(("python-asn1crypto" ,python-asn1crypto) (list python-asn1crypto
("python-colorama" ,python-colorama) python-colorama
("python-future" ,python-future) python-future
("python-ipython" ,python-ipython) python-ipython
("python-lxml" ,python-lxml) python-lxml
("python-matplotlib" ,python-matplotlib) python-matplotlib
("python-networkx" ,python-networkx) python-networkx
("python-pygments" ,python-pygments) python-pygments
("python-pyperclip" ,python-pyperclip))) python-pyperclip))
(home-page "https://github.com/androguard/androguard") (home-page "https://github.com/androguard/androguard")
(synopsis "Python tool to play with Android files") (synopsis "Python tool to play with Android files")
(description (description
@ -943,28 +931,25 @@ useful for reverse engineering, analysis of Android applications and more.")
(("docker-py >= 1.9, < 2.0") "docker >= 1.9")) (("docker-py >= 1.9, < 2.0") "docker >= 1.9"))
#t))))) #t)))))
(propagated-inputs (propagated-inputs
`(("python-androguard" ,python-androguard) (list python-androguard
("python-apache-libcloud" ,python-apache-libcloud) python-apache-libcloud
("python-clint" ,python-clint) python-clint
("python-defusedxml" ,python-defusedxml) python-defusedxml
("python-docker" ,python-docker) python-docker
("python-gitpython" ,python-gitpython) python-gitpython
("python-mwclient" ,python-mwclient) python-mwclient
("python-paramiko" ,python-paramiko) python-paramiko
("python-pillow" ,python-pillow) python-pillow
("python-pyasn1" ,python-pyasn1) python-pyasn1
("python-pyasn1-modules" ,python-pyasn1-modules) python-pyasn1-modules
("python-pyyaml" ,python-pyyaml) python-pyyaml
("python-qrcode" ,python-qrcode) python-qrcode
("python-ruamel.yaml" ,python-ruamel.yaml) python-ruamel.yaml
("python-requests" ,python-requests) python-requests
("python-vagrant" ,python-vagrant))) python-vagrant))
(native-inputs (native-inputs
`(("python-babel" ,python-babel) (list python-babel python-bcrypt python-docker-pycreds python-pynacl
("python-bcrypt" ,python-bcrypt) python-websocket-client))
("python-docker-pycreds" ,python-docker-pycreds)
("python-pynacl" ,python-pynacl)
("python-websocket-client" ,python-websocket-client)))
(home-page "https://f-droid.org") (home-page "https://f-droid.org")
(synopsis "F-Droid server tools") (synopsis "F-Droid server tools")
(description (description
@ -993,7 +978,7 @@ main repository.")
#:tests? #f ; TODO: Inputs missing. #:tests? #f ; TODO: Inputs missing.
#:install-source? #f)) #:install-source? #f))
(inputs (inputs
`(("go-github-com-kr-pretty" ,go-github-com-kr-pretty))) (list go-github-com-kr-pretty))
;(native-inputs ;(native-inputs
; `(("go-github-com-rogpeppe-go-internal-testscript" ; `(("go-github-com-rogpeppe-go-internal-testscript"
; ,go-github-com-rogpeppe-go-internal-testscript))) ; ,go-github-com-rogpeppe-go-internal-testscript)))
@ -1026,13 +1011,6 @@ connected devices via ADB.")
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'enjarify-wrapper-inherit-pythonpath
;; enjarify sets PYTHONPATH from a shell script, overwriting
;; PYTHONPATH set from guix. Comment out this line.
(lambda _
(substitute* "enjarify.sh"
(("export PYTHONPATH") "# export PYTHONPATH"))
#t))
(add-before 'check 'fixup-expected-test-results (add-before 'check 'fixup-expected-test-results
;; Upstream adjusted this test in commit: ;; Upstream adjusted this test in commit:
;; 3ae884a6485af82d300515813f537685b08dd800 ;; 3ae884a6485af82d300515813f537685b08dd800
@ -1053,7 +1031,7 @@ connected devices via ADB.")
(mkdir-p (string-append out "/bin/")) (mkdir-p (string-append out "/bin/"))
(copy-file "enjarify.sh" (string-append out "/bin/enjarify")) (copy-file "enjarify.sh" (string-append out "/bin/enjarify"))
#t)))))) #t))))))
(native-inputs `(("openjdk" ,openjdk12))) (native-inputs (list openjdk12))
(synopsis "Translate Dalvik bytecode to equivalent Java bytecode") (synopsis "Translate Dalvik bytecode to equivalent Java bytecode")
(description "Android applications are Java programs that run on a (description "Android applications are Java programs that run on a
customized virtual machine, which is part of the Android operating system, the customized virtual machine, which is part of the Android operating system, the

View file

@ -82,8 +82,7 @@
"-Dlog=true" "-Dlog=true"
"-Dtest=true"))) "-Dtest=true")))
(native-inputs (native-inputs
`(("googletest" ,googletest) (list googletest pkg-config))
("pkg-config" ,pkg-config)))
(synopsis "Lottie Animation Library") (synopsis "Lottie Animation Library")
(description "Rlottie is a platform independent standalone c++ library for (description "Rlottie is a platform independent standalone c++ library for
rendering vector based animations and art in realtime.") rendering vector based animations and art in realtime.")
@ -182,8 +181,7 @@ C++ @dfn{Standard Template Library} (STL).")
("openexr" ,openexr-2) ("openexr" ,openexr-2)
("pango" ,pango))) ("pango" ,pango)))
(native-inputs (native-inputs
`(("intltool" ,intltool) (list intltool pkg-config))
("pkg-config" ,pkg-config)))
(home-page "https://www.synfig.org") (home-page "https://www.synfig.org")
(synopsis "Vector-based 2D animation renderer") (synopsis "Vector-based 2D animation renderer")
(description (description
@ -225,13 +223,9 @@ for tweening, preventing the need to hand-draw each frame.")
`("XDG_DATA_DIRS" ":" prefix (,gtk-share))) `("XDG_DATA_DIRS" ":" prefix (,gtk-share)))
#t)))))) #t))))))
(inputs (inputs
`(("gtkmm" ,gtkmm) (list gtkmm-3 gtk+ libsigc++ synfig))
("gtk+" ,gtk+)
("libsigc++" ,libsigc++)
("synfig" ,synfig)))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) (list pkg-config intltool))
("intltool" ,intltool)))
(home-page "https://www.synfig.org") (home-page "https://www.synfig.org")
(synopsis "Vector-based 2D animation package (GUI)") (synopsis "Vector-based 2D animation package (GUI)")
(description (description
@ -454,7 +448,7 @@ language.")
("qtmultimedia" ,qtmultimedia) ("qtmultimedia" ,qtmultimedia)
("libsndfile" ,libsndfile))) ("libsndfile" ,libsndfile)))
(native-inputs (native-inputs
`(("qttools" ,qttools))) (list qttools))
(home-page "https://www.lostmarble.com/papagayo/") (home-page "https://www.lostmarble.com/papagayo/")
(synopsis "Lip-syncing for animations") (synopsis "Lip-syncing for animations")
(description (description
@ -480,10 +474,7 @@ waveform until they line up with the proper sounds.")
"0b1nwiwyg01087q318vymg4si76dw41ykxbn2zwd6dqbxzbpr1dh")))) "0b1nwiwyg01087q318vymg4si76dw41ykxbn2zwd6dqbxzbpr1dh"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("qtbase" ,qtbase-5) (list qtbase-5 qtxmlpatterns qtmultimedia qtsvg))
("qtxmlpatterns" ,qtxmlpatterns)
("qtmultimedia" ,qtmultimedia)
("qtsvg" ,qtsvg)))
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases

View file

@ -66,11 +66,11 @@
"clamav-config-llvm-libs.patch")))) "clamav-config-llvm-libs.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf
("automake" ,automake) automake
("check" ,check) ; for tests check ; for tests
("libtool" ,libtool) libtool
("pkg-config" ,pkg-config))) pkg-config))
(inputs (inputs
`(("bzip2" ,bzip2) `(("bzip2" ,bzip2)
("libcurl" ,curl) ("libcurl" ,curl)

View file

@ -30,14 +30,14 @@
(define-public apr (define-public apr
(package (package
(name "apr") (name "apr")
(version "1.6.5") (version "1.7.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://apache/apr/apr-" (uri (string-append "mirror://apache/apr/apr-"
version ".tar.bz2")) version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"01d1n1ql66bxsjx0wyzazmkqdqdmr0is6a7lwyy5kzy4z7yajz56")) "1spp6r2a3xcl5yajm9safhzyilsdzgagc2dadif8x6z9nbq4iqg2"))
(patches (patches
(search-patches "apr-skip-getservbyname-test.patch")) (search-patches "apr-skip-getservbyname-test.patch"))
(patch-flags '("-p0")))) (patch-flags '("-p0"))))
@ -48,8 +48,7 @@
;; Thus, build sequentially. ;; Thus, build sequentially.
'(#:parallel-build? #f '(#:parallel-build? #f
#:parallel-tests? #f)) #:parallel-tests? #f))
(inputs `(("perl" ,perl) (inputs (list perl libltdl))
("libltdl" ,libltdl)))
(home-page "http://apr.apache.org/") (home-page "http://apr.apache.org/")
(synopsis "The Apache Portable Runtime Library") (synopsis "The Apache Portable Runtime Library")
(description (description
@ -75,9 +74,9 @@ around or take advantage of platform-specific deficiencies or features.")
"0nq3s1yn13vplgl6qfm09f7n0wm08malff9s59bqf9nid9xjzqfk")))) "0nq3s1yn13vplgl6qfm09f7n0wm08malff9s59bqf9nid9xjzqfk"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("apr" ,apr))) (list apr))
(propagated-inputs (propagated-inputs
`(("expat" ,expat))) (list expat))
(arguments (arguments
'(#:phases '(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases

View file

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019 L p R n d n <guix@lprndn.info> ;;; Copyright © 2019 L p R n d n <guix@lprndn.info>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -65,7 +66,8 @@
(base32 "1pd0avlzc2rig1hd37zbhc7r2s6fjzdhshfg9l9cfzibl7caclyw")))) (base32 "1pd0avlzc2rig1hd37zbhc7r2s6fjzdhshfg9l9cfzibl7caclyw"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:configure-flags '("-DVIDEO_PLATFORM=egl-dri" "-DBUILTIN_LUA=off" `(#:configure-flags '("-DCMAKE_C_FLAGS=-fcommon"
"-DVIDEO_PLATFORM=egl-dri" "-DBUILTIN_LUA=off"
"-DSTATIC_OPENAL=off""-DENABLE_LWA=on" "-DSTATIC_OPENAL=off""-DENABLE_LWA=on"
"-DSTATIC_SQLITE3=off" "-DSTATIC_FREETYPE=off" "-DSTATIC_SQLITE3=off" "-DSTATIC_FREETYPE=off"
"-DSHMIF_TUI_ACCEL=on") "-DSHMIF_TUI_ACCEL=on")
@ -75,12 +77,10 @@
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "src/platform/cmake/modules/FindGBMKMS.cmake" (substitute* "src/platform/cmake/modules/FindGBMKMS.cmake"
(("/usr/local/include/libdrm") (("/usr/local/include/libdrm")
(string-append (assoc-ref inputs "libdrm") (search-input-directory inputs "include/libdrm")))
"/include/libdrm")))
(substitute* "src/platform/cmake/modules/FindAPR.cmake" (substitute* "src/platform/cmake/modules/FindAPR.cmake"
(("/usr/local/apr/include/apr-1") (("/usr/local/apr/include/apr-1")
(string-append (assoc-ref inputs "apr") (search-input-directory inputs "include/apr-1")))
"/include/apr-1")))
#t)) #t))
;; Normally, it tries to fetch patched openal with git ;; Normally, it tries to fetch patched openal with git
;; but copying files manually in the right place seems to work too. ;; but copying files manually in the right place seems to work too.
@ -151,8 +151,7 @@
(base32 (base32
"0dcxcnqjkyyqdr2yk84mprvkncy5g172kfs6vc4zrkklsbkr8yi2")))))) "0dcxcnqjkyyqdr2yk84mprvkncy5g172kfs6vc4zrkklsbkr8yi2"))))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) (list pkg-config ruby)) ; For documentation and testing
("ruby" ,ruby))) ; For documentation and testing
(home-page "https://arcan-fe.com") (home-page "https://arcan-fe.com")
(synopsis "Display server, multimedia framework and game engine (egl-dri)") (synopsis "Display server, multimedia framework and game engine (egl-dri)")
(description "Arcan is a development framework for creating virtually (description "Arcan is a development framework for creating virtually
@ -171,14 +170,15 @@ engine programmable using Lua.")
(inherit arcan) (inherit arcan)
(name "arcan-sdl") (name "arcan-sdl")
(inputs (inputs
`(("sdl" ,sdl) (modify-inputs (package-inputs arcan)
,@(fold alist-delete (package-inputs arcan) (delete "libdrm")
'("libdrm")))) (prepend sdl)))
(arguments (arguments
`(,@(ensure-keyword-arguments `(,@(ensure-keyword-arguments
(package-arguments arcan) (package-arguments arcan)
'(#:configure-flags '(#:configure-flags
'("-DVIDEO_PLATFORM=sdl" "-DBUILTIN_LUA=off" '("-DCMAKE_C_FLAGS=-fcommon"
"-DVIDEO_PLATFORM=sdl" "-DBUILTIN_LUA=off"
"-DSTATIC_OPENAL=off" "-DDISABLE_JIT=off" "-DSTATIC_OPENAL=off" "-DDISABLE_JIT=off"
"-DENABLE_LWA=on" "-DSTATIC_SQLITE3=off" "-DENABLE_LWA=on" "-DSTATIC_SQLITE3=off"
"-DSTATIC_FREETYPE=off" "-DSHMIF_TUI_ACCEL=on"))))) "-DSTATIC_FREETYPE=off" "-DSHMIF_TUI_ACCEL=on")))))
@ -218,11 +218,7 @@ engine programmable using Lua.")
,(string-append "--with-xkb-output=" ,(string-append "--with-xkb-output="
"/tmp")))) ; FIXME: Copied from xorg "/tmp")))) ; FIXME: Copied from xorg
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) (list pkg-config autoconf automake libtool util-macros))
("autoconf" ,autoconf)
("automake" ,automake)
("libtool" ,libtool)
("util-macros" ,util-macros)))
(inputs (inputs
`(("arcan" ,arcan) `(("arcan" ,arcan)
("font-util" ,font-util) ("font-util" ,font-util)
@ -250,14 +246,14 @@ as a window under Arcan.")
(inherit arcan) (inherit arcan)
(name "arcan-wayland") (name "arcan-wayland")
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(inputs (inputs
`(("arcan" ,arcan) (list arcan
("libseccomp" ,libseccomp) libseccomp
("libxkbcommon" ,libxkbcommon) libxkbcommon
("mesa" ,mesa) mesa
("wayland" ,wayland) wayland
("wayland-protocols" ,wayland-protocols))) wayland-protocols))
(arguments (arguments
`(#:tests? #f `(#:tests? #f
#:phases #:phases

View file

@ -73,7 +73,7 @@
(string-append "\"filter-path" middle (string-append "\"filter-path" middle
"\"" libdir "\""))) "\"" libdir "\"")))
#t)))))) #t))))))
(inputs `(("perl" ,perl))) (inputs (list perl))
(native-search-paths (native-search-paths
;; This is a Guix-specific environment variable that takes a single ;; This is a Guix-specific environment variable that takes a single
@ -131,8 +131,7 @@ dictionaries, including personal ones.")
(list (string-append "dictdir=" out "/lib/aspell") (list (string-append "dictdir=" out "/lib/aspell")
(string-append "datadir=" out "/lib/aspell"))) (string-append "datadir=" out "/lib/aspell")))
#:tests? #f)) #:tests? #f))
(native-inputs `(("aspell" ,aspell) (native-inputs (list aspell which))
("which" ,which)))
(synopsis (string-append full-name " dictionary for GNU Aspell")) ; XXX: i18n (synopsis (string-append full-name " dictionary for GNU Aspell")) ; XXX: i18n
(description (description
"This package provides a dictionary for the GNU Aspell spell checker.") "This package provides a dictionary for the GNU Aspell spell checker.")
@ -389,10 +388,7 @@ dictionaries, including personal ones.")
(base32 (base32
"11lkrnhwrf5mvrrq45k4mads3n9aswgac8dc25ba61c75alxb5rs")))) "11lkrnhwrf5mvrrq45k4mads3n9aswgac8dc25ba61c75alxb5rs"))))
(native-inputs (native-inputs
`(("tar" ,tar) (list tar gzip perl aspell))
("gzip" ,gzip)
("perl" ,perl)
("aspell" ,aspell)))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -522,10 +518,9 @@ under permissive licensing terms. See the 'Copyright' file."))))
(format port "#define MAN45DIR \"~a/share/man/man5\"~%" out)))) (format port "#define MAN45DIR \"~a/share/man/man5\"~%" out))))
#t))))) #t)))))
(inputs (inputs
`(("grep" ,grep) (list grep ncurses))
("ncurses" ,ncurses)))
(native-inputs (native-inputs
`(("bison" ,bison))) (list bison))
(synopsis "Interactive spell-checking tool for Unix") (synopsis "Interactive spell-checking tool for Unix")
(description "Ispell is an interactive spell-checking tool supporting many (description "Ispell is an interactive spell-checking tool supporting many
European languages.") European languages.")

View file

@ -9,6 +9,8 @@
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net> ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2020 Christine Lemmer-Webber <cwebber@dustycloud.org> ;;; Copyright © 2020 Christine Lemmer-Webber <cwebber@dustycloud.org>
;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com> ;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -57,17 +59,17 @@
(define-public nasm (define-public nasm
(package (package
(name "nasm") (name "nasm")
(version "2.14.02") (version "2.15.05")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "http://www.nasm.us/pub/nasm/releasebuilds/" (uri (string-append "http://www.nasm.us/pub/nasm/releasebuilds/"
version "/nasm-" version ".tar.xz")) version "/nasm-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1xg8dfr49py15vbwk1rzcjc3zpqydmr49ahlijm56wlgj8zdwjp2")))) "0gqand86b0r86k3h46dh560lykxmxqqywz5m55kgjfq7q4lngbrw"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs `(("perl" ,perl) ;for doc and test target (native-inputs (list perl ;for doc and test target
("texinfo" ,texinfo))) texinfo))
(arguments (arguments
`(#:test-target "test" `(#:test-target "test"
#:phases #:phases
@ -75,11 +77,10 @@
(add-after 'unpack 'dont-build-ps-pdf-outputs (add-after 'unpack 'dont-build-ps-pdf-outputs
(lambda _ (lambda _
(substitute* "doc/Makefile.in" (substitute* "doc/Makefile.in"
(("html nasmdoc.txt nasmdoc.pdf") (("html nasmdoc.txt nasmdoc.pdf \\$\\(XZFILES\\)")
"html nasmdoc.txt") "html nasmdoc.txt")
(("\\$\\(INSTALL_DATA\\) nasmdoc.pdf") (("\\$\\(INSTALL_DATA\\) nasmdoc.pdf")
"$(INSTALL_DATA)")) "$(INSTALL_DATA)"))))
#t))
(add-after 'install 'install-info (add-after 'install 'install-info
(lambda _ (lambda _
(invoke "make" "install_doc")))))) (invoke "make" "install_doc"))))))
@ -139,7 +140,10 @@ debugging information in STABS, DWARF 2, and CodeView 8 formats.")
(base32 (base32
"1jgxbq2cm51dzi3zhz38mmgwdcgs328mfl8iviw8dxn6dn36p1gd")))) "1jgxbq2cm51dzi3zhz38mmgwdcgs328mfl8iviw8dxn6dn36p1gd"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs `(("zlib" ,zlib))) (native-inputs (list zlib))
(arguments
;; Some tests fail when run in parallel.
`(#:parallel-tests? #f))
(synopsis "Library for generating assembly code at runtime") (synopsis "Library for generating assembly code at runtime")
(description (description
"GNU Lightning is a library that generates assembly language code at "GNU Lightning is a library that generates assembly language code at
@ -267,15 +271,15 @@ assembler, a C compiler and a linker. The assembler uses Intel syntax
"0p6wklslkkp3s4aisj3w5a53bagqn5fy4m6088ppd4fcfxgqkrcd")))) "0p6wklslkkp3s4aisj3w5a53bagqn5fy4m6088ppd4fcfxgqkrcd"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf
("automake" ,automake) automake
("bison" ,bison) bison
("flex" ,flex) flex
("help2man" ,help2man) help2man
("gettext" ,gettext-minimal) gettext-minimal
("libtool" ,libtool) libtool
("makeinfo" ,texinfo) texinfo
("pkg-config" ,pkg-config))) pkg-config))
(home-page "https://www.gnu.org/software/libjit/") (home-page "https://www.gnu.org/software/libjit/")
(synopsis "Just-In-Time compilation library") (synopsis "Just-In-Time compilation library")
(description (description
@ -320,12 +324,9 @@ runtime")
,(string-append "PREFIX=" ,(string-append "PREFIX="
(assoc-ref %outputs "out"))))) (assoc-ref %outputs "out")))))
(native-inputs (native-inputs
`(("bison" ,bison) (list bison flex pkg-config util-linux))
("flex" ,flex)
("pkg-config" ,pkg-config)
("util-linux" ,util-linux)))
(inputs (inputs
`(("libpng" ,libpng))) (list libpng))
(home-page "https://github.com/gbdev/rgbds") (home-page "https://github.com/gbdev/rgbds")
(synopsis "Rednex Game Boy Development System") (synopsis "Rednex Game Boy Development System")
(description (description
@ -398,7 +399,7 @@ Supported architectures are:
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure)) ; no "configure" script (delete 'configure)) ; no "configure" script
#:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))))) #:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))))
(native-inputs `(("perl" ,perl))) (native-inputs (list perl))
(home-page "https://www.floodgap.com/retrotech/xa/") (home-page "https://www.floodgap.com/retrotech/xa/")
(synopsis "Two-pass portable cross-assembler") (synopsis "Two-pass portable cross-assembler")
(description (description
@ -445,19 +446,19 @@ sets, both THUMB and ARM mode.")
(define-public intel-xed (define-public intel-xed
(package (package
(name "intel-xed") (name "intel-xed")
(version "11.2.0") (version "12.0.1")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/intelxed/xed") (url "https://github.com/intelxed/xed")
(commit version))) (commit version)))
(sha256 (base32 "1jffayski2gpd54vaska7fmiwnnia8v3cka4nfyzjgl8xsky9v2s")) (sha256 (base32 "07zfff8zf29c2n0wal87hiqfq3cwcjn80zz78mz0nyjfj09nd39f"))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(patches (search-patches "intel-xed-fix-nondeterminism.patch")))) (patches (search-patches "intel-xed-fix-nondeterminism.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("python-wrapper" ,python-wrapper) `(("python" ,python-wrapper)
("tcsh" ,tcsh) ("tcsh" ,tcsh)
;; As of the time of writing this comment, mbuild does not exist in the ;; As of the time of writing this comment, mbuild does not exist in the
;; Python Package Index and seems to only be used by intel-xed, so we ;; Python Package Index and seems to only be used by intel-xed, so we
@ -471,10 +472,10 @@ sets, both THUMB and ARM mode.")
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/intelxed/mbuild") (url "https://github.com/intelxed/mbuild")
(commit "5304b94361fccd830c0e2417535a866b79c1c297"))) (commit "3de3f0d753c11dbe634bec611d4cc13f74768e4f")))
(sha256 (sha256
(base32 (base32
"0r3avc3035aklqxcnc14rlmmwpj3jp09vbcbwynhvvmcp8srl7dl")) "0z8hdhpmk8y5c9429p2yns9daswnffbprni9czkq3vij8f58lkg4"))
(file-name (git-file-name name version))))))) (file-name (git-file-name name version)))))))
(outputs '("out" "lib")) (outputs '("out" "lib"))
(arguments (arguments
@ -489,8 +490,7 @@ sets, both THUMB and ARM mode.")
(replace 'build (replace 'build
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(let ((mbuild (assoc-ref inputs "mbuild"))) (let ((mbuild (assoc-ref inputs "mbuild")))
(setenv "PYTHONPATH" (string-append (setenv "PYTHONPATH" mbuild)
(getenv "PYTHONPATH") ":" mbuild))
(invoke "./mfile.py" (invoke "./mfile.py"
(string-append "--build-dir=" build-dir) (string-append "--build-dir=" build-dir)
(string-append "--install-dir=" kit-dir) (string-append "--install-dir=" kit-dir)
@ -517,8 +517,7 @@ sets, both THUMB and ARM mode.")
(copy-recursively (string-append kit-dir "/include") (copy-recursively (string-append kit-dir "/include")
(string-append lib "/include")) (string-append lib "/include"))
(copy-recursively (string-append kit-dir "/lib") (copy-recursively (string-append kit-dir "/lib")
(string-append lib "/lib")) (string-append lib "/lib")))))))))
#t)))))))
(home-page "https://intelxed.github.io/") (home-page "https://intelxed.github.io/")
(synopsis "Encoder and decoder for x86 (IA32 and Intel64) instructions") (synopsis "Encoder and decoder for x86 (IA32 and Intel64) instructions")
(description "The Intel X86 Encoder Decoder (XED) is a software library and (description "The Intel X86 Encoder Decoder (XED) is a software library and

View file

@ -144,8 +144,7 @@ in FITS files.")
(substitute* "fitsio/test.py" (substitute* "fitsio/test.py"
(("'SKIP_BZIP_TEST' in os.environ") "True"))))))) (("'SKIP_BZIP_TEST' in os.environ") "True")))))))
(propagated-inputs (propagated-inputs
`(("python-numpy" ,python-numpy) (list python-numpy cfitsio))
("cfitsio" ,cfitsio)))
(home-page "https://github.com/esheldon/fitsio") (home-page "https://github.com/esheldon/fitsio")
(synopsis (synopsis
"Python library to read from and write to FITS files") "Python library to read from and write to FITS files")
@ -201,10 +200,7 @@ for reading and writing.")
(base32 "0nh12dr7gk4ki55lz95pkm4fpf7kazirra3zax9pab6v4qql4hlw")))) (base32 "0nh12dr7gk4ki55lz95pkm4fpf7kazirra3zax9pab6v4qql4hlw"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("automake" ,automake) (list automake autoconf libtool pkg-config))
("autoreconf" ,autoconf)
("libtool" ,libtool)
("pkg-config" ,pkg-config)))
(home-page "https://github.com/liberfa/erfa") (home-page "https://github.com/liberfa/erfa")
(synopsis "Essential Routines for Fundamental Astronomy") (synopsis "Essential Routines for Fundamental Astronomy")
(description (description
@ -250,7 +246,7 @@ feature detection and cosmetic corrections.")
(sha256 (sha256
(base32 "1536gmcpm6pckn9xrb6j8s4pm1vryjhzvhfaj9wx3jwxcpbdy0dw")))) (base32 "1536gmcpm6pckn9xrb6j8s4pm1vryjhzvhfaj9wx3jwxcpbdy0dw"))))
(inputs (inputs
`(("cfitsio" ,cfitsio))) (list cfitsio))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:configure-flags `(#:configure-flags
@ -321,8 +317,7 @@ astronomical image-processing packages like Drizzle, Swarp or SExtractor.")
("wcslib" ,wcslib) ("wcslib" ,wcslib)
("zlib" ,zlib))) ("zlib" ,zlib)))
(native-inputs (native-inputs
`(("libtool" ,libtool) (list libtool lzip))
("lzip" ,lzip)))
(home-page "https://www.gnu.org/software/gnuastro/") (home-page "https://www.gnu.org/software/gnuastro/")
(synopsis "Astronomy utilities") (synopsis "Astronomy utilities")
(description "The GNU Astronomy Utilities (Gnuastro) is a suite of (description "The GNU Astronomy Utilities (Gnuastro) is a suite of
@ -360,9 +355,7 @@ programs for the manipulation and analysis of astronomical data.")
(string-append (string-append
"--with-fftw-incdir=" (assoc-ref %build-inputs "fftw") "/include")))) "--with-fftw-incdir=" (assoc-ref %build-inputs "fftw") "/include"))))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool))
("automake" ,automake)
("libtool" ,libtool)))
(inputs (inputs
`(("openblas" ,openblas) `(("openblas" ,openblas)
("fftw" ,fftwf))) ("fftw" ,fftwf)))
@ -454,11 +447,9 @@ astronomical fields. SkyMaker is part of the EFIGI
(copy-recursively "lang" lang)) (copy-recursively "lang" lang))
#t))))) #t)))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(inputs (inputs
`(("gtkmm" ,gtkmm) (list gtkmm-3 libskry ffmpeg))
("libskry" ,libskry)
("ffmpeg" ,ffmpeg)))
(home-page "https://github.com/GreatAttractor/stackistry") (home-page "https://github.com/GreatAttractor/stackistry")
(synopsis "Astronomical lucky imaging/image stacking tool") (synopsis "Astronomical lucky imaging/image stacking tool")
(description (description
@ -483,12 +474,12 @@ deconvolution). Such post-processing is not performed by Stackistry.")
(base32 "049jlc8vx06pad5h2syrmf7f1l346yr5iraai0wkn8s8pk30j8q7")))) (base32 "049jlc8vx06pad5h2syrmf7f1l346yr5iraai0wkn8s8pk30j8q7"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(inputs (inputs
`(("qtbase" ,qtbase-5) (list qtbase-5
("qtlocation" ,qtlocation) qtlocation
("qtmultimedia" ,qtmultimedia) qtmultimedia
("qtscript" ,qtscript) qtscript
("qtserialport" ,qtserialport) qtserialport
("zlib" ,zlib))) zlib))
(native-inputs (native-inputs
`(("gettext" ,gettext-minimal) ; xgettext is used at compile time `(("gettext" ,gettext-minimal) ; xgettext is used at compile time
("perl" ,perl) ; for pod2man ("perl" ,perl) ; for pod2man
@ -591,7 +582,7 @@ any arbitrary astrometric projection defined in the WCS standard.")
;; glut: for glut interface ;; glut: for glut interface
("freeglut" ,freeglut))) ("freeglut" ,freeglut)))
(propagated-inputs (propagated-inputs
`(("lua" ,lua))) (list lua))
(arguments (arguments
`(#:configure-flags '("-DENABLE_GLUT=ON" "-DENABLE_QT=OFF") `(#:configure-flags '("-DENABLE_GLUT=ON" "-DENABLE_QT=OFF")
#:tests? #f)) ;no tests #:tests? #f)) ;no tests
@ -683,27 +674,23 @@ accurately in real time at any rate desired.")
;; Skip tests that need remote data. ;; Skip tests that need remote data.
"-m" "not remote_data"))))))) "-m" "not remote_data")))))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) (list pkg-config
("python-coverage" ,python-coverage) python-coverage
("python-cython" ,python-cython) python-cython
("python-extension-helpers" ,python-extension-helpers) python-extension-helpers
("python-ipython" ,python-ipython) python-ipython
("python-jplephem" ,python-jplephem) python-jplephem
("python-objgraph" ,python-objgraph) python-objgraph
("python-pytest" ,python-pytest) python-pytest
("python-pytest-astropy" ,python-pytest-astropy) python-pytest-astropy
("python-pytest-xdist" ,python-pytest-xdist) python-pytest-xdist
("python-setuptools-scm" ,python-setuptools-scm) python-setuptools-scm
("python-sgp4" ,python-sgp4) python-sgp4
("python-skyfield" ,python-skyfield))) python-skyfield))
(inputs (inputs
`(("cfitsio" ,cfitsio) (list cfitsio expat))
("expat" ,expat)))
(propagated-inputs (propagated-inputs
`(("python-configobj" ,python-configobj) (list python-configobj python-numpy python-ply python-pyerfa))
("python-numpy" ,python-numpy)
("python-ply" ,python-ply)
("python-pyerfa" ,python-pyerfa)))
(home-page "https://www.astropy.org/") (home-page "https://www.astropy.org/")
(synopsis "Core package for Astronomy in Python") (synopsis "Core package for Astronomy in Python")
(description (description
@ -736,9 +723,7 @@ astronomy and astrophysics.")
(("/bin/sh") (which "sh"))) (("/bin/sh") (which "sh")))
#t))))) #t)))))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool))
("automake" ,automake)
("libtool" ,libtool)))
(synopsis "Celestial mechanics, astrometry and astrodynamics library") (synopsis "Celestial mechanics, astrometry and astrodynamics library")
(description "Libnova is a general purpose, double precision, Celestial (description "Libnova is a general purpose, double precision, Celestial
Mechanics, Astrometry and Astrodynamics library.") Mechanics, Astrometry and Astrodynamics library.")
@ -779,7 +764,7 @@ Mechanics, Astrometry and Astrodynamics library.")
(copy-recursively "include" include)) (copy-recursively "include" include))
#t))))) #t)))))
(inputs (inputs
`(("ffmpeg" ,ffmpeg))) (list ffmpeg))
(home-page "https://github.com/GreatAttractor/libskry") (home-page "https://github.com/GreatAttractor/libskry")
(synopsis "Astronimical lucky imaging library") (synopsis "Astronimical lucky imaging library")
(description (description
@ -885,7 +870,7 @@ on FITS files:
"xplanet-1.3.1-xpUtil-Add2017LeapSecond.cpp.patch")))) "xplanet-1.3.1-xpUtil-Add2017LeapSecond.cpp.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(inputs (inputs
`(("libx11" ,libx11) `(("libx11" ,libx11)
("libxscrnsaver" ,libxscrnsaver) ("libxscrnsaver" ,libxscrnsaver)
@ -933,12 +918,10 @@ Mercator, Mollweide, Peters, polyconic, orthographic and rectangular.")
("gettext" ,gettext-minimal) ("gettext" ,gettext-minimal)
("pkg-config" ,pkg-config))) ("pkg-config" ,pkg-config)))
(inputs (inputs
`(("curl" ,curl) (list curl glib goocanvas gtk+))
("glib" ,glib)
("goocanvas" ,goocanvas)
("gtk+" ,gtk+)))
(arguments (arguments
`(#:phases `(#:configure-flags '("CFLAGS=-O2 -g -fcommon")
#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'fix-tests (add-after 'unpack 'fix-tests
(lambda _ (lambda _
@ -1019,13 +1002,9 @@ It can be used to calculate the trajectory of satellites.")
(string-append "-DCMAKE_INSTALL_PREFIX=" (assoc-ref outputs "out")) (string-append "-DCMAKE_INSTALL_PREFIX=" (assoc-ref outputs "out"))
"..")))))) ".."))))))
(native-inputs (native-inputs
`(("boost" ,boost) (list boost pkg-config))
("pkg-config" ,pkg-config)))
(inputs (inputs
`(("cfitsio" ,cfitsio) (list cfitsio freeimage glew wxwidgets))
("freeimage" ,freeimage)
("glew" ,glew)
("wxwidgets" ,wxwidgets)))
(home-page "https://github.com/GreatAttractor/imppg") (home-page "https://github.com/GreatAttractor/imppg")
(synopsis "Astronomical Image Post-Proccessor (ImPPG)") (synopsis "Astronomical Image Post-Proccessor (ImPPG)")
(description (description
@ -1075,17 +1054,17 @@ floating-point (no compression, LZW- or ZIP-compressed), FITS 8-bit, 16-bit,
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
(mkdir-p (string-append out "/lib/udev/rules.d")))))))) (mkdir-p (string-append out "/lib/udev/rules.d"))))))))
(native-inputs (native-inputs
`(("googletest" ,googletest))) (list googletest))
(inputs (inputs
`(("cfitsio" ,cfitsio) (list cfitsio
("curl" ,curl) curl
("fftw" ,fftw) fftw
("gsl" ,gsl) gsl
("libjpeg-turbo" ,libjpeg-turbo) libjpeg-turbo
("libnova" ,libnova) libnova
("libtiff" ,libtiff) libtiff
("libusb" ,libusb) libusb
("zlib" ,zlib))) zlib))
(home-page "https://www.indilib.org") (home-page "https://www.indilib.org")
(synopsis "Library for astronimical intrumentation control") (synopsis "Library for astronimical intrumentation control")
(description (description
@ -1143,12 +1122,9 @@ gzip -f \\*.vmf")
(invoke "xmkmf")))) (invoke "xmkmf"))))
#:tests? #f)) ; No check target. #:tests? #f)) ; No check target.
(inputs (inputs
`(("libjpeg-turbo" ,libjpeg-turbo) (list libjpeg-turbo libpng libx11 libxpm))
("libpng" ,libpng)
("libx11" ,libx11)
("libxpm" ,libxpm)))
(native-inputs (native-inputs
`(("imake" ,imake))) (list imake))
(home-page "https://github.com/nongiach/Sunclock") (home-page "https://github.com/nongiach/Sunclock")
(synopsis (synopsis
"Map of the Earth that shows which portion is illuminated by the Sun") "Map of the Earth that shows which portion is illuminated by the Sun")
@ -1176,16 +1152,14 @@ Moon position, etc.")
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'check (replace 'check
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key tests? inputs outputs #:allow-other-keys)
(when tests?
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
(setenv "PYTHONPATH" (add-installed-pythonpath inputs outputs)
(string-append "./build/lib:" (setenv "PATH" (string-append out "/bin:" (getenv "PATH")))
(getenv "PYTHONPATH"))) (invoke "python" "-m" "unittest" "discover" "-s" "test"))))))))
(setenv "PATH" (string-append out "/bin:"
(getenv "PATH")))
(invoke "python" "-m" "unittest" "discover" "-s" "test")))))))
(inputs (inputs
`(("python-numpy" ,python-numpy))) (list python-numpy))
(home-page "https://github.com/brandon-rhodes/python-jplephem") (home-page "https://github.com/brandon-rhodes/python-jplephem")
(synopsis "Python version of NASA DE4xx ephemerides") (synopsis "Python version of NASA DE4xx ephemerides")
(description (description
@ -1224,7 +1198,7 @@ JPL ephemerides use to predict raw (x,y,z) planetary positions.")
(inputs (inputs
`(("liberfa" ,erfa))) `(("liberfa" ,erfa)))
(propagated-inputs (propagated-inputs
`(("python-numpy" ,python-numpy))) (list python-numpy))
(home-page "https://github.com/liberfa/pyerfa") (home-page "https://github.com/liberfa/pyerfa")
(synopsis "Python bindings for ERFA") (synopsis "Python bindings for ERFA")
(description (description
@ -1247,10 +1221,9 @@ functions, so that they can be called with scalar or array inputs.")
(base32 "0wxdqn92q1grv8k7xi7h88ac6wnznw4xh5bdlz1vz6za2dgsyj4m")))) (base32 "0wxdqn92q1grv8k7xi7h88ac6wnznw4xh5bdlz1vz6za2dgsyj4m"))))
(build-system python-build-system) (build-system python-build-system)
(native-inputs (native-inputs
`(("cython" ,python-cython) (list python-cython python-pytest))
("pytest" ,python-pytest)))
(inputs (inputs
`(("numpy" ,python-numpy))) (list python-numpy))
(home-page "https://github.com/kbarbary/sep") (home-page "https://github.com/kbarbary/sep")
(synopsis "Astronomical source extraction and photometry library") (synopsis "Astronomical source extraction and photometry library")
(description (description
@ -1334,10 +1307,7 @@ astronomical images, especially when there is no WCS information available.")
;; framework https://github.com/brandon-rhodes/assay ;; framework https://github.com/brandon-rhodes/assay
`(#:tests? #f)) `(#:tests? #f))
(inputs (inputs
`(("python-certifi" ,python-certifi) (list python-certifi python-jplephem python-numpy python-sgp4))
("python-jplephem" ,python-jplephem)
("python-numpy" ,python-numpy)
("python-sgp4" ,python-sgp4)))
(home-page "https://rhodesmill.org/skyfield/") (home-page "https://rhodesmill.org/skyfield/")
(synopsis "Astronomy for Python") (synopsis "Astronomy for Python")
(description (description

View file

@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org> ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2012, 2013, 2016 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2012, 2013, 2016, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
;;; ;;;
@ -23,6 +23,7 @@
#: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)
#:use-module (gnu packages hurd)
#: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))
@ -30,18 +31,29 @@
(define-public attr (define-public attr
(package (package
(name "attr") (name "attr")
(version "2.4.48") (version "2.5.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://savannah/attr/attr-" (uri (string-append "mirror://savannah/attr/attr-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1rr4adzwax4bzr2c00f06zcsljv5y6p9wymz1g89ww7cb2rp5bay")))) "1y6sibbkrcjygv8naadnsg6xmsqwfh6cwrqk01l0v2i5kfacdqds"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
,@(if (hurd-target?)
`((add-before 'configure 'skip-linux-syscalls
(lambda _
;; Starting from 2.5.1, libattr includes Linux-specific
;; calls to syscall(2). Comment them out for GNU/Hurd
;; and instead use the glibc-provided wrappers.
(substitute* "Makefile.in"
(("libattr/syscalls\\.c") "")
(("\tlibattr/la-syscalls\\.lo") "")
(("-Wl,[[:graph:]]+/libattr\\.lds") "")))))
'())
(replace 'check (replace 'check
(lambda* (#:key target #:allow-other-keys) (lambda* (#:key target #:allow-other-keys)
;; Use the right shell. ;; Use the right shell.
@ -57,8 +69,7 @@
;; extended attributes, and we wish to allow Guix to be built ;; extended attributes, and we wish to allow Guix to be built
;; on such systems. ;; on such systems.
(unless target (unless target
(system* "make" "tests" "-C" "test")) (system* "make" "tests" "-C" "test")))))))
#t)))))
(inputs (inputs
;; Perl is needed to run tests; remove it from cross builds. ;; Perl is needed to run tests; remove it from cross builds.
(if (%current-target-system) (if (%current-target-system)

File diff suppressed because it is too large Load diff

View file

@ -44,11 +44,11 @@
(build-system gnu-build-system) (build-system gnu-build-system)
;; Marked as "required" in augeas.pc. ;; Marked as "required" in augeas.pc.
(propagated-inputs (propagated-inputs
`(("libxml2" ,libxml2))) (list libxml2))
(inputs (inputs
`(("readline" ,readline))) (list readline))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(home-page "https://augeas.net") (home-page "https://augeas.net")
(synopsis "Edit configuration files programmatically") (synopsis "Edit configuration files programmatically")
(description (description

View file

@ -59,14 +59,11 @@
(for-each delete-file (find-files lib "\\.a$")) (for-each delete-file (find-files lib "\\.a$"))
#t)))))) #t))))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) (list pkg-config
;; XXX: Perhaps this should be propagated from xmlsec. ;; XXX: Perhaps this should be propagated from xmlsec.
("libltdl" ,libltdl))) libltdl))
(inputs (inputs
`(("linux-pam" ,linux-pam) (list linux-pam openssl xmlsec-openssl))
("openssl" ,openssl)
("xmlsec-openssl" ,xmlsec-openssl)))
(home-page "https://www.nongnu.org/oath-toolkit/") (home-page "https://www.nongnu.org/oath-toolkit/")
(synopsis "One-time password (OTP) components") (synopsis "One-time password (OTP) components")
(description (description
@ -111,16 +108,9 @@ data.")
;; The pam_test fails because ykclient fails to build a Curl handle. ;; The pam_test fails because ykclient fails to build a Curl handle.
'(#:make-flags '("TESTS=util_test"))) '(#:make-flags '("TESTS=util_test")))
(inputs (inputs
`(("linux-pam" ,linux-pam) (list linux-pam libyubikey ykclient yubikey-personalization))
("libyubikey" ,libyubikey)
("ykclient" ,ykclient)
("yubikey-personalization" ,yubikey-personalization)))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool asciidoc pkg-config))
("automake" ,automake)
("libtool" ,libtool)
("asciidoc" ,asciidoc)
("pkg-config" ,pkg-config)))
(home-page "https://developers.yubico.com/yubico-pam") (home-page "https://developers.yubico.com/yubico-pam")
(synopsis "Yubico pluggable authentication module") (synopsis "Yubico pluggable authentication module")
(description "The Yubico PAM module provides an easy way to integrate the (description "The Yubico PAM module provides an easy way to integrate the
@ -141,9 +131,9 @@ YubiKey into your existing user authentication infrastructure.")
(base32 "1mdj1wj0adcnx354fs17928yn2xfr1hj5mfraq282dagi873sqw3")))) (base32 "1mdj1wj0adcnx354fs17928yn2xfr1hj5mfraq282dagi873sqw3"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(inputs (inputs
`(("linux-pam" ,linux-pam))) (list linux-pam))
(home-page "http://pamtester.sourceforge.net/") (home-page "http://pamtester.sourceforge.net/")
(synopsis "Utility for testing pluggable authentication modules (PAM) facility") (synopsis "Utility for testing pluggable authentication modules (PAM) facility")
(description (description

View file

@ -42,10 +42,8 @@
(sha256 (sha256
(base32 "16mlbdys8q4ckxlvxyhwkdnh1ay9f6g0cyp1kylkpalgnik398gq")))) (base32 "16mlbdys8q4ckxlvxyhwkdnh1ay9f6g0cyp1kylkpalgnik398gq"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs `(("pkg-config" ,pkg-config) (native-inputs (list pkg-config which))
("which" ,which))) (inputs (list guile-2.2 perl)) ; for doc generator mdoc
(inputs `(("guile" ,guile-2.2)
("perl" ,perl))) ; for doc generator mdoc
(arguments (arguments
'(#:configure-flags '(#:configure-flags
;; XXX Needed to build 5.18.16. ./configure fails without it: ;; XXX Needed to build 5.18.16. ./configure fails without it:

View file

@ -59,15 +59,11 @@
"113nlmidxy9kjr45kg9x3ngar4951mvag1js2a3j8nxcz34wxsv4")))) "113nlmidxy9kjr45kg9x3ngar4951mvag1js2a3j8nxcz34wxsv4"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
;; TODO: remove `if' in the next rebuild cycle.
(if (%current-target-system)
`(("bash" ,bash-minimal) `(("bash" ,bash-minimal)
("perl" ,perl) ("perl" ,perl)
("m4" ,m4))
'()))
(native-inputs
`(("perl" ,perl)
("m4" ,m4))) ("m4" ,m4)))
(native-inputs
(list perl m4))
(arguments (arguments
`(;; XXX: testsuite: 209 and 279 failed. The latter is an impurity. It `(;; XXX: testsuite: 209 and 279 failed. The latter is an impurity. It
;; should use our own "cpp" instead of "/lib/cpp". ;; should use our own "cpp" instead of "/lib/cpp".
@ -216,9 +212,9 @@ files with a system-specific shebang."
(inputs `(("guile" (inputs `(("guile"
;; XXX: Kludge to hide the circular dependency. ;; XXX: Kludge to hide the circular dependency.
,(module-ref (resolve-interface '(gnu packages guile)) ,(module-ref (resolve-interface '(gnu packages guile))
'guile-2.0)) 'guile-3.0/fixed))
("autoconf" ,autoconf) ("autoconf" ,autoconf)
("bash" ,bash))) ("bash" ,bash-minimal)))
(arguments (arguments
'(#:modules ((guix build utils)) '(#:modules ((guix build utils))
#:builder #:builder
@ -316,7 +312,7 @@ contributed as free software by the community.")
(base32 (base32
"0gv7g61ja9q9zg1m30k4snqwwy1kq7b4df6sb7d2qra7kbdq8af1")))) "0gv7g61ja9q9zg1m30k4snqwwy1kq7b4df6sb7d2qra7kbdq8af1"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("perl" ,perl))) (inputs (list perl))
(synopsis "Process generated build logs") (synopsis "Process generated build logs")
(description "Autobuild is a package that processes build logs generated (description "Autobuild is a package that processes build logs generated
when building software. Autobuild is primarily focused on packages using when building software. Autobuild is primarily focused on packages using
@ -331,24 +327,21 @@ output is indexed in many ways to simplify browsing.")
(define-public automake (define-public automake
(package (package
(name "automake") (name "automake")
(version "1.16.2") (version "1.16.3")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnu/automake/automake-" (uri (string-append "mirror://gnu/automake/automake-"
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1l7dkqbsmbf94ax29jj1jf6a0r6ikc8jybg1p5m0c3ki7pg5ki6c")) "0fmz2fhmzcpacnprl5msphvaflwiy0hvpgmqlgfny72ddijzfazz"))
(patches (patches
(search-patches "automake-skip-amhello-tests.patch")))) (search-patches "automake-skip-amhello-tests.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
;; TODO: remove `if' in the next rebuild cycle.
(if (%current-target-system)
`(("autoconf" ,autoconf-wrapper) `(("autoconf" ,autoconf-wrapper)
("bash" ,bash-minimal) ("bash" ,bash-minimal)
("perl" ,perl)) ("perl" ,perl)))
'()))
(native-inputs (native-inputs
`(("autoconf" ,autoconf-wrapper) `(("autoconf" ,autoconf-wrapper)
("perl" ,perl))) ("perl" ,perl)))
@ -471,7 +464,7 @@ Makefile, simplifying the entire process for the developer.")
"0vxj52zm709125gwv9qqlw02silj8bnjnh4y07arrz60r31ai1vw")) "0vxj52zm709125gwv9qqlw02silj8bnjnh4y07arrz60r31ai1vw"))
(patches (search-patches "libtool-skip-tests2.patch")))) (patches (search-patches "libtool-skip-tests2.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(propagated-inputs `(("m4" ,m4))) (propagated-inputs (list m4))
(native-inputs `(("m4" ,m4) (native-inputs `(("m4" ,m4)
("perl" ,perl) ("perl" ,perl)
;; XXX: this shouldn't be necessary, but without it test ;; XXX: this shouldn't be necessary, but without it test
@ -507,11 +500,19 @@ Makefile, simplifying the entire process for the developer.")
(("/bin/sh") (("/bin/sh")
(string-append bash "/bin/sh"))) (string-append bash "/bin/sh")))
#t))) #t)))
(add-after 'patch-source-shebangs 'restore-ltmain-shebang ;; These files may be copied into source trees by libtoolize,
(lambda* (#:key inputs #:allow-other-keys) ;; therefore they must not point to store file names that would be
(substitute* "build-aux/ltmain.in" ;; leaked with tarballs generated by make dist.
(("^#!.*/bin/sh$") "#!/bin/sh")) (add-after 'install 'restore-build-aux-shebang
#t))))) (lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(dir (string-append out "/share/libtool/build-aux")))
(for-each (lambda (file)
(format #t "restoring shebang on `~a'~%" file)
(substitute* file
(("^#!.*/bin/sh") "#!/bin/sh")))
(find-files dir ".*"))
#t))))))
(synopsis "Generic shared library support tools") (synopsis "Generic shared library support tools")
(description (description
@ -560,7 +561,7 @@ complexity of working with shared libraries across platforms.")
(install-file "doc/config.sub.1" man1) (install-file "doc/config.sub.1" man1)
#t)))))) #t))))))
(native-inputs (native-inputs
`(("help2man" ,help2man))) (list help2man))
(home-page "https://savannah.gnu.org/projects/config") (home-page "https://savannah.gnu.org/projects/config")
(synopsis "Ubiquitous config.guess and config.sub scripts") (synopsis "Ubiquitous config.guess and config.sub scripts")
(description "The `config.guess' script tries to guess a canonical system triple, (description "The `config.guess' script tries to guess a canonical system triple,
@ -616,7 +617,7 @@ configuration in nearly all GNU packages (and many others).")
(("/usr/bin/env python") (which "python3"))) (("/usr/bin/env python") (which "python3")))
#t))))) #t)))))
(inputs (inputs
`(("python" ,python-3))) (list python-3))
(synopsis "@command{configure} interface for Python-based packages") (synopsis "@command{configure} interface for Python-based packages")
(description (description
"GNU pyconfigure provides template files for easily implementing "GNU pyconfigure provides template files for easily implementing

View file

@ -82,10 +82,13 @@ main (int argc, char **argv)
unsetenv ("GUILE_LOAD_PATH"); unsetenv ("GUILE_LOAD_PATH");
unsetenv ("GUILE_LOAD_COMPILED_PATH"); unsetenv ("GUILE_LOAD_COMPILED_PATH");
/* XXX: Do not let GMP allocate via libgc as this can lead to memory #if !SCM_ENABLE_MINI_GMP
corruption in GnuTLS/Nettle since Nettle also uses GMP: /* XXX: On Guile < 3.0.6 and Guile built without its bundled mini-GMP, do
not let GMP allocate via libgc as this can lead to memory corruption in
GnuTLS/Nettle since Nettle also uses GMP:
<https://issues.guix.gnu.org/46330>. */ <https://issues.guix.gnu.org/46330>. */
scm_install_gmp_memory_functions = 0; scm_install_gmp_memory_functions = 0;
#endif
scm_boot_guile (argc, argv, inner_main, 0); scm_boot_guile (argc, argv, inner_main, 0);
return 0; /* never reached */ return 0; /* never reached */

View file

@ -0,0 +1,92 @@
# -*- coding: utf-8 -*-
# GNU Guix --- Functional package management for GNU
# Copyright © 2021 Lars-Dominik Braun <lars@6xq.net>
#
# 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/>.
from __future__ import print_function # Python 2 support.
import importlib
import pkg_resources
import sys
import traceback
try:
from importlib.machinery import PathFinder
except ImportError:
PathFinder = None
ret = 0
# Only check site-packages installed by this package, but not dependencies
# (which pkg_resources.working_set would include). Path supplied via argv.
ws = pkg_resources.find_distributions(sys.argv[1])
for dist in ws:
print('validating', repr(dist.project_name), dist.location)
try:
print('...checking requirements: ', end='')
req = str(dist.as_requirement())
# dist.activate() is not enough to actually check requirements, we
# have to .require() it.
pkg_resources.require(req)
print('OK')
except Exception as e:
print('ERROR:', req, e)
ret = 1
continue
# Try to load top level modules. This should not have any side-effects.
try:
metalines = dist.get_metadata_lines('top_level.txt')
except (KeyError, EnvironmentError):
# distutils (i.e. #:use-setuptools? #f) will not install any metadata.
# This file is also missing for packages built using a PEP 517 builder
# such as poetry.
print('WARNING: cannot determine top-level modules')
continue
for name in metalines:
# Only available on Python 3.
if PathFinder and PathFinder.find_spec(name) is None:
# Ignore unavailable modules, often C modules, which were not
# installed at the top-level. Cannot use ModuleNotFoundError,
# because it is raised by failed imports too.
continue
try:
print('...trying to load module', name, end=': ')
importlib.import_module(name)
print('OK')
except Exception:
print('ERROR:')
traceback.print_exc(file=sys.stdout)
ret = 1
# Try to load entry points of console scripts too, making sure they
# work. They should be removed if they don't. Other groups may not be
# safe, as they can depend on optional packages.
for group, v in dist.get_entry_map().items():
if group not in {'console_scripts', 'gui_scripts'}:
continue
for name, ep in v.items():
try:
print('...trying to load endpoint', group, name, end=': ')
ep.load()
print('OK')
except Exception:
print('ERROR:')
traceback.print_exc(file=sys.stdout)
ret = 1
sys.exit(ret)

View file

@ -0,0 +1,55 @@
# -*- coding: utf-8 -*-
# GNU Guix --- Functional package management for GNU
# Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
#
# 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/>.
import os
import sys
# Commentary:
#
# Site-specific customization for Guix.
#
# The program below honors the GUIX_PYTHONPATH environment variable to
# discover Python packages. File names appearing in this variable that match
# a predefined versioned installation prefix are added to the sys.path. To be
# considered, a Python package must be installed under the
# 'lib/pythonX.Y/site-packages' directory, where X and Y are the major and
# minor version numbers of the Python interpreter.
#
# Code:
major_minor = '{}.{}'.format(*sys.version_info)
site_packages_prefix = os.path.join(
'lib', 'python' + major_minor, 'site-packages')
python_site = os.path.join(sys.prefix, site_packages_prefix)
try:
all_sites_raw = os.environ['GUIX_PYTHONPATH'].split(os.path.pathsep)
except KeyError:
all_sites_raw = []
# Normalize paths, otherwise a trailing slash would cause it to not match.
all_sites_norm = [os.path.normpath(p) for p in all_sites_raw]
matching_sites = [p for p in all_sites_norm
if p.endswith(site_packages_prefix)]
# Insert sites matching the current version into sys.path, right before
# Python's own site. This way, the user can override the libraries provided
# by Python itself.
sys_path_absolute = [os.path.realpath(p) for p in sys.path]
index = sys_path_absolute.index(python_site)
sys.path[index:index] = matching_sites

View file

@ -3,6 +3,7 @@
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -22,9 +23,11 @@
(define-module (gnu packages avahi) (define-module (gnu packages avahi)
#:use-module ((guix licenses) #:select (lgpl2.1+)) #:use-module ((guix licenses) #:select (lgpl2.1+))
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix gexp)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages bash)
#:use-module (gnu packages dbm) #:use-module (gnu packages dbm)
#:use-module (gnu packages gettext) #:use-module (gnu packages gettext)
#:use-module (gnu packages glib) #:use-module (gnu packages glib)
@ -58,7 +61,7 @@
#t)))) #t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:configure-flags '("--with-distro=none" `(#:configure-flags '("--with-distro=none"
"--disable-static" "--disable-static"
"--localstatedir=/var" ; for the DBus socket "--localstatedir=/var" ; for the DBus socket
"--disable-python" "--disable-python"
@ -68,13 +71,35 @@
"--enable-tests" "--enable-tests"
"--disable-qt4" "--disable-qt5" "--disable-qt4" "--disable-qt5"
"--disable-gtk" "--disable-gtk3" "--disable-gtk" "--disable-gtk3"
"--enable-compat-libdns_sd"))) "--enable-compat-libdns_sd"
,@(if (%current-target-system)
'("ac_cv_prog_have_pkg_config=yes")
'()))
;; TODO(core-updates): Make this unconditional.
,@(if (%current-target-system)
`(#:modules ((srfi srfi-26)
(guix build utils)
(guix build gnu-build-system))
#:phases
,#~(modify-phases %standard-phases
(add-after 'patch-shebangs 'patch-more-shebangs
(lambda* (#:key inputs #:allow-other-keys)
(define path
`(,(dirname (search-input-file inputs "bin/sh"))))
(for-each
(cut patch-shebang <> path)
(find-files (string-append #$output "/etc/avahi")))))))
'())))
(inputs (inputs
`(("dbus" ,dbus) ;; TODO(core-updates): Make this input unconditional.
`(,@(if (%current-target-system)
`(("bash-minimal" ,bash-minimal))
'())
("dbus" ,dbus)
("expat" ,expat) ("expat" ,expat)
("gdbm" ,gdbm) ("gdbm" ,gdbm)
("glib" ,glib) ("glib" ,glib)
("libcap" ,libcap-2.31) ;to enable chroot support in avahi-daemon ("libcap" ,libcap) ;to enable chroot support in avahi-daemon
("libdaemon" ,libdaemon) ("libdaemon" ,libdaemon)
("libevent" ,libevent))) ("libevent" ,libevent)))
(native-inputs (native-inputs

View file

@ -168,8 +168,7 @@ C++.")
#:make-flags #:make-flags
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))))) (list (string-append "PREFIX=" (assoc-ref %outputs "out")))))
(native-inputs (native-inputs
`(("unzip" ,unzip) (list unzip xxd))
("xxd" ,xxd)))
(home-page "https://github.com/ryansuchocki/microscheme/") (home-page "https://github.com/ryansuchocki/microscheme/")
(synopsis "Scheme subset for Atmel microcontrollers") (synopsis "Scheme subset for Atmel microcontrollers")
(description (description

View file

@ -205,7 +205,7 @@
;; for uploading compiled patches and firmware ;; for uploading compiled patches and firmware
("dfu-util" ,dfu-util-for-axoloti))) ("dfu-util" ,dfu-util-for-axoloti)))
(native-inputs (native-inputs
`(("unzip" ,unzip))) (list unzip))
(home-page "http://www.axoloti.com/") (home-page "http://www.axoloti.com/")
(synopsis "Audio development environment for the Axoloti core board") (synopsis "Audio development environment for the Axoloti core board")
(description (description
@ -318,8 +318,8 @@ runtime.")
(lambda () (lambda ()
(let* ((dir (string-append (assoc-ref outputs "out") (let* ((dir (string-append (assoc-ref outputs "out")
"/share/axoloti")) "/share/axoloti"))
(runtime (string-append (assoc-ref inputs "axoloti-runtime") (runtime (search-input-directory inputs
"/share/axoloti")) "share/axoloti"))
(toolchain (assoc-ref inputs "cross-toolchain")) (toolchain (assoc-ref inputs "cross-toolchain"))
(includes (string-append (includes (string-append
toolchain toolchain
@ -351,9 +351,8 @@ runtime.")
("java-jgit" ,java-jgit-4.2) ("java-jgit" ,java-jgit-4.2)
("axoloti-runtime" ,axoloti-runtime))) ("axoloti-runtime" ,axoloti-runtime)))
(native-inputs (native-inputs
`(("ant" ,ant) (list ant zip ; for repacking the jar
("zip" ,zip) ; for repacking the jar unzip))
("unzip" ,unzip)))
(description (description
"The Axoloti patcher offers a patcher environment similar to Pure Data "The Axoloti patcher offers a patcher environment similar to Pure Data
for sketching digital audio algorithms. The patches run on a standalone for sketching digital audio algorithms. The patches run on a standalone
@ -530,8 +529,8 @@ patcher application.")))
;; Install old firmware ;; Install old firmware
(let ((target (string-append share "/old_firmware/firmware-1.0.12")) (let ((target (string-append share "/old_firmware/firmware-1.0.12"))
(old-firmware (old-firmware
(string-append (assoc-ref inputs "axoloti-runtime") (search-input-directory inputs
"/share/axoloti/firmware/"))) "share/axoloti/firmware")))
(mkdir-p target) (mkdir-p target)
(install-file (string-append old-firmware (install-file (string-append old-firmware
"flasher/flasher_build/flasher.bin") "flasher/flasher_build/flasher.bin")

View file

@ -6,7 +6,7 @@
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be> ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
;;; Copyright © 2017, 2021 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2017, 2021 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net> ;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2017, 2020 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2017, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Christine Lemmer-Webber <cwebber@dustycloud.org> ;;; Copyright © 2017 Christine Lemmer-Webber <cwebber@dustycloud.org>
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com> ;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2018 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2018 Mark H Weaver <mhw@netris.org>
@ -118,11 +118,11 @@
("pygobject" ,python-pygobject) ("pygobject" ,python-pygobject)
("urllib3" ,python-urllib3))) ("urllib3" ,python-urllib3)))
(inputs (inputs
`(("dbus" ,dbus) ; dbus-launch (Gio backend) (list dbus ; dbus-launch (Gio backend)
("librsync" ,librsync) librsync
("lftp" ,lftp) lftp
("gnupg" ,gnupg) ; gpg executable needed gnupg ; gpg executable needed
("util-linux" ,util-linux))) ; for setsid util-linux)) ; for setsid
(arguments (arguments
`(#:test-target "test" `(#:test-target "test"
#:phases #:phases
@ -144,8 +144,7 @@
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(setenv "HOME" (getcwd)) ; gpg needs to write to $HOME (setenv "HOME" (getcwd)) ; gpg needs to write to $HOME
(setenv "TZDIR" ; some timestamp checks need TZDIR (setenv "TZDIR" ; some timestamp checks need TZDIR
(string-append (assoc-ref inputs "tzdata") (search-input-directory inputs "share/zoneinfo"))
"/share/zoneinfo"))
;; Some things respect TMPDIR, others hard-code /tmp, and the ;; Some things respect TMPDIR, others hard-code /tmp, and the
;; defaults don't match up, breaking test_restart. Fix it. ;; defaults don't match up, breaking test_restart. Fix it.
(setenv "TMPDIR" "/tmp")))))) (setenv "TMPDIR" "/tmp"))))))
@ -174,8 +173,7 @@ spying and/or modification by the server.")
(base32 (base32
"11mx8q29cr0sryd11awab7y4mhqgbamb1ss77rffjj6in8pb4hdk")))) "11mx8q29cr0sryd11awab7y4mhqgbamb1ss77rffjj6in8pb4hdk"))))
(native-inputs (native-inputs
`(("automake" ,automake) (list automake autoconf))
("autoconf" ,autoconf)))
(build-system gnu-build-system) (build-system gnu-build-system)
(synopsis "File verification and repair tools") (synopsis "File verification and repair tools")
(description "Par2cmdline uses Reed-Solomon error-correcting codes to (description "Par2cmdline uses Reed-Solomon error-correcting codes to
@ -201,14 +199,14 @@ can even repair them.")
(base32 (base32
"02bnczg01cyhajmm4rhbnc0ja0dd9ikv9fwv28asxh1rlx9yr0b7")))) "02bnczg01cyhajmm4rhbnc0ja0dd9ikv9fwv28asxh1rlx9yr0b7"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs `(("pkg-config" ,pkg-config))) (native-inputs (list pkg-config))
(inputs (inputs
`(("glib" ,glib) (list glib
("tar" ,tar) tar
("lzop" ,lzop) lzop
("mcrypt" ,mcrypt) mcrypt
("openssh" ,openssh) openssh
("gnupg" ,gnupg-1))) gnupg-1))
(arguments (arguments
`(#:configure-flags `(#:configure-flags
`(,(string-append "--sbindir=" (assoc-ref %outputs "out") "/bin")) `(,(string-append "--sbindir=" (assoc-ref %outputs "out") "/bin"))
@ -226,7 +224,7 @@ backups (called chunks) to allow easy burning to CD/DVD.")
(define-public libarchive (define-public libarchive
(package (package
(name "libarchive") (name "libarchive")
(version "3.4.2") (version "3.5.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -237,16 +235,16 @@ backups (called chunks) to allow easy burning to CD/DVD.")
version ".tar.xz"))) version ".tar.xz")))
(sha256 (sha256
(base32 (base32
"18dd01ahs2hv74xm7axjc3yhq839p0x0s4vssvlmm8fknja09qfq")))) "16r95rlmikll1k8vbhh06vq6x3srkc10hzxjjf3021mjs2ld65qf"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("bzip2" ,bzip2) (list bzip2
("libxml2" ,libxml2) libxml2
("lzo" ,lzo) lzo
("nettle" ,nettle) nettle
("xz" ,xz) xz
("zlib" ,zlib) zlib
("zstd" ,zstd "lib"))) `(,zstd "lib")))
(arguments (arguments
`(#:configure-flags '("--disable-static") `(#:configure-flags '("--disable-static")
#:phases #:phases
@ -338,21 +336,15 @@ random access nor for in-place modification.")
(base32 "0bzyv6qmnivxnv9nw7lnfn46k0m1dlxcjj53zcva6v8y8084l1iw")))) (base32 "0bzyv6qmnivxnv9nw7lnfn46k0m1dlxcjj53zcva6v8y8084l1iw"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake pkg-config
("automake" ,automake)
("pkg-config" ,pkg-config)
;; For tests. ;; For tests.
("dejagnu" ,dejagnu))) dejagnu))
(inputs (inputs
;; XXX Compiling with nettle (encryption) support requires patching out ;; XXX Compiling with nettle (encryption) support requires patching out
;; -Werror from GNUmakefile.in. Then, rdup-tr-{en,de}crypt tests fail: ;; -Werror from GNUmakefile.in. Then, rdup-tr-{en,de}crypt tests fail:
;; free(): invalid pointer ;; free(): invalid pointer
;; ** rdup-tr: SIGPIPE received, exiting ;; ** rdup-tr: SIGPIPE received, exiting
`(("glib" ,glib) (list glib pcre libarchive mcrypt))
("pcre" ,pcre)
("libarchive" ,libarchive)
("mcrypt" ,mcrypt)))
(arguments (arguments
`(#:parallel-build? #f ;race conditions `(#:parallel-build? #f ;race conditions
#:phases #:phases
@ -415,13 +407,11 @@ list and implement the backup strategy.")
(setenv "VERSION" ,version) (setenv "VERSION" ,version)
(patch-shebang "autover.sh")))))) (patch-shebang "autover.sh"))))))
(native-inputs (native-inputs
`(("automake" ,automake) (list automake autoconf
("autoconf" ,autoconf)
;; For the tests. ;; For the tests.
("valgrind" ,valgrind))) valgrind))
(inputs (inputs
`(("util-linux" ,util-linux "lib"))) ; libblkid (list `(,util-linux "lib"))) ; libblkid
(home-page "https://www.snapraid.it/") (home-page "https://www.snapraid.it/")
(synopsis "Efficient backups using parity snapshots across disk arrays") (synopsis "Efficient backups using parity snapshots across disk arrays")
(description (description
@ -463,7 +453,7 @@ remain fully idle, saving power and producing less noise.")
"0miklk4bqblpyzh1bni4x6lqn88fa8fjn15x1k1n8bxkx60nlymd")))) "0miklk4bqblpyzh1bni4x6lqn88fa8fjn15x1k1n8bxkx60nlymd"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("librsync" ,librsync-0.9))) (list librsync-0.9))
(arguments (arguments
`(#:make-flags `(,(string-append "PREFIX=" (assoc-ref %outputs "out")) `(#:make-flags `(,(string-append "PREFIX=" (assoc-ref %outputs "out"))
,(string-append "CC=" ,(cc-for-target))) ,(string-append "CC=" ,(cc-for-target)))
@ -494,10 +484,9 @@ errors.")
(base32 "11rvjcp77zwgkphz1kyf5yqgr3rlss7dm9xzmvpvc4lp99xq7drb")))) (base32 "11rvjcp77zwgkphz1kyf5yqgr3rlss7dm9xzmvpvc4lp99xq7drb"))))
(build-system python-build-system) (build-system python-build-system)
(native-inputs (native-inputs
`(("python-setuptools-scm" ,python-setuptools-scm))) (list python-setuptools-scm))
(inputs (inputs
`(("python" ,python) (list python librsync))
("librsync" ,librsync)))
(arguments (arguments
`(#:tests? #f)) ; Tests require root/sudo `(#:tests? #f)) ; Tests require root/sudo
(home-page "https://rdiff-backup.net/") (home-page "https://rdiff-backup.net/")
@ -536,8 +525,7 @@ rdiff-backup is easy to use and settings have sensible defaults.")
(lambda _ (lambda _
(invoke "make" "test")))))) (invoke "make" "test"))))))
(inputs (inputs
`(("perl" ,perl) (list perl rsync))
("rsync" ,rsync)))
(home-page "https://rsnapshot.org") (home-page "https://rsnapshot.org")
(synopsis "Deduplicating snapshot backup utility based on rsync") (synopsis "Deduplicating snapshot backup utility based on rsync")
(description "rsnapshot is a file system snapshot utility based on rsync. (description "rsnapshot is a file system snapshot utility based on rsync.
@ -557,7 +545,6 @@ rsnapshot uses hard links to deduplicate identical files.")
(sha256 (sha256
(base32 (base32
"0fpdyxww41ba52d98blvnf543xvirq1v9xz1i3x1gm9lzlzpmc2g")) "0fpdyxww41ba52d98blvnf543xvirq1v9xz1i3x1gm9lzlzpmc2g"))
(patches (search-patches "diffutils-gets-undeclared.patch"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
@ -584,41 +571,38 @@ rsnapshot uses hard links to deduplicate identical files.")
(substitute* "configure" (substitute* "configure"
(("GUILE=(.*)--variable bindir`" _ middle) (("GUILE=(.*)--variable bindir`" _ middle)
(string-append "GUILE=" middle (string-append "GUILE=" middle
"--variable bindir`/guile"))) "--variable bindir`/guile")))))
#t))
(add-before 'build 'set-libtirpc-include-path (add-before 'build 'set-libtirpc-include-path
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
;; Allow <rpc/rpc.h> & co. to be found. ;; Allow <rpc/rpc.h> & co. to be found.
(let ((libtirpc (assoc-ref inputs "libtirpc"))) (let ((tirpc (string-append (assoc-ref inputs "libtirpc")
"/include/tirpc")))
(if (getenv "CPATH")
(setenv "CPATH" (setenv "CPATH"
(string-append (getenv "CPATH") (string-append (getenv "CPATH")
":" libtirpc ":" tirpc))
"/include/tirpc")) (setenv "CPATH" tirpc)))))
#t)))
(add-before 'check 'skip-test (add-before 'check 'skip-test
(lambda _ (lambda _
;; XXX: This test fails (1) because current GnuTLS no ;; XXX: This test fails (1) because current GnuTLS no
;; longer supports OpenPGP authentication, and (2) for ;; longer supports OpenPGP authentication, and (2) for
;; some obscure reason. Better skip it. ;; some obscure reason. Better skip it.
(setenv "XFAIL_TESTS" "utils/block-server") (setenv "XFAIL_TESTS" "utils/block-server"))))))
#t)))))
(native-inputs (native-inputs
`(("guile" ,guile-2.0) (list guile-2.0 gperf-3.0 ;see <https://bugs.gnu.org/32382>
("gperf" ,gperf-3.0) ;see <https://bugs.gnu.org/32382> pkg-config rpcsvc-proto)) ;for 'rpcgen'
("pkg-config" ,pkg-config)
("rpcsvc-proto" ,rpcsvc-proto))) ;for 'rpcgen'
(inputs (inputs
`(("guile" ,guile-2.0) (list guile-2.0
("util-linux" ,util-linux) util-linux
("libtirpc" ,libtirpc) libtirpc
("gnutls" ,gnutls) gnutls
("tdb" ,tdb) tdb
("bdb" ,bdb) bdb
("gdbm" ,gdbm) gdbm
("libgcrypt" ,libgcrypt) libgcrypt
("lzo" ,lzo) lzo
("bzip2" ,bzip2) bzip2
("zlib" ,zlib))) zlib))
(home-page "https://nongnu.org/libchop/") (home-page "https://nongnu.org/libchop/")
(synopsis "Tools & library for data backup and distributed storage") (synopsis "Tools & library for data backup and distributed storage")
(description (description
@ -743,16 +727,14 @@ detection, and lossless compression.")
(string-append share "/fish/vendor_completions.d"))) (string-append share "/fish/vendor_completions.d")))
#t)))))) #t))))))
(native-inputs (native-inputs
`(("python-cython" ,python-cython) (list python-cython python-setuptools-scm python-pytest))
("python-setuptools-scm" ,python-setuptools-scm)
("python-pytest" ,python-pytest)))
(inputs (inputs
`(("acl" ,acl) (list acl
("libb2" ,libb2) libb2
("lz4" ,lz4) lz4
("openssl" ,openssl) openssl
("python-llfuse" ,python-llfuse) python-llfuse
("zstd" ,zstd "lib"))) `(,zstd "lib")))
(synopsis "Deduplicated, encrypted, authenticated and compressed backups") (synopsis "Deduplicated, encrypted, authenticated and compressed backups")
(description "Borg is a deduplicating backup program. Optionally, it (description "Borg is a deduplicating backup program. Optionally, it
supports compression and authenticated encryption. The main goal of Borg is to supports compression and authenticated encryption. The main goal of Borg is to
@ -776,12 +758,9 @@ to not fully trusted targets. Borg is a fork of Attic.")
"04ny5s5z05gk6davbwkjkraan781k2xzw6kjwp75h6ncv45dv1sb")))) "04ny5s5z05gk6davbwkjkraan781k2xzw6kjwp75h6ncv45dv1sb"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(inputs (inputs
`(("fuse" ,fuse) (list fuse libxml2 ntfs-3g openssl))
("libxml2" ,libxml2)
("ntfs-3g" ,ntfs-3g)
("openssl" ,openssl)))
(arguments (arguments
`(#:configure-flags `(#:configure-flags
(list "--disable-static" (list "--disable-static"
@ -837,12 +816,11 @@ NTFS volumes using @code{ntfs-3g}, preserving NTFS-specific attributes.")
(output-dir (output-dir
(assoc-ref outputs "out")) (assoc-ref outputs "out"))
;; Just a default... not so useful on guixsd though ;; Just a default... not so useful on Guix Systems though.
;; You probably want to a service with file(s) to point to. ;; You probably want a service with file(s) to point to.
(confdir "/etc/dirvish") (confdir "/etc/dirvish")
(perl (string-append (assoc-ref %build-inputs "perl") (perl (search-input-file inputs "/bin/perl"))
"/bin/perl"))
(loadconfig.pl (call-with-input-file "loadconfig.pl" (loadconfig.pl (call-with-input-file "loadconfig.pl"
read-string))) read-string)))
@ -893,10 +871,7 @@ NTFS volumes using @code{ntfs-3g}, preserving NTFS-specific attributes.")
(for-each write-man man-pages) (for-each write-man man-pages)
#t)))))) #t))))))
(inputs (inputs
`(("perl" ,perl) (list perl rsync perl-libtime-period perl-libtime-parsedate))
("rsync" ,rsync)
("perl-libtime-period" ,perl-libtime-period)
("perl-libtime-parsedate" ,perl-libtime-parsedate)))
(home-page "http://dirvish.org/") (home-page "http://dirvish.org/")
(synopsis "Fast, disk based, rotating network backup system") (synopsis "Fast, disk based, rotating network backup system")
(description (description
@ -1042,11 +1017,7 @@ precious backup space.
(arguments (arguments
`(#:tests? #f)) ;no test `(#:tests? #f)) ;no test
(inputs (inputs
`(("lzo" ,lzo) (list lzo libressl protobuf xz zlib))
("libressl" ,libressl)
("protobuf" ,protobuf)
("xz" ,xz)
("zlib" ,zlib)))
(home-page "http://zbackup.org") (home-page "http://zbackup.org")
(synopsis "Versatile deduplicating backup tool") (synopsis "Versatile deduplicating backup tool")
(description (description
@ -1080,12 +1051,10 @@ is format-agnostic, so you can feed virtually any files to it.")
"--disable-readline" "--disable-readline"
"--disable-rmt"))) "--disable-rmt")))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(inputs (inputs
`(("openssl" ,openssl) (list openssl zlib
("zlib" ,zlib) `(,util-linux "lib") e2fsprogs))
("util-linux" ,util-linux "lib")
("e2fsprogs" ,e2fsprogs)))
(home-page "https://dump.sourceforge.io/") (home-page "https://dump.sourceforge.io/")
(synopsis "Ext2/3/4 file system dump/restore utilities") (synopsis "Ext2/3/4 file system dump/restore utilities")
(description "Dump examines files in a file system, determines which ones (description "Dump examines files in a file system, determines which ones
@ -1122,17 +1091,14 @@ interactive mode.")
(string-append prefix " 3600" suffix "\n"))) (string-append prefix " 3600" suffix "\n")))
#t))))) #t)))))
(inputs (inputs
`(("acl" ,acl) (list acl
("librsync" ,librsync) librsync
("ncurses" ,ncurses) ; for the live status monitor ncurses ; for the live status monitor
("openssl" ,openssl) openssl
("uthash" ,uthash) uthash
("zlib" ,zlib))) zlib))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake check-0.14 pkg-config))
("automake" ,automake)
("check" ,check-0.14)
("pkg-config" ,pkg-config)))
(home-page "https://burp.grke.org") (home-page "https://burp.grke.org")
(synopsis "Differential backup and restore") (synopsis "Differential backup and restore")
(description "Burp is a network backup and restore program. It attempts (description "Burp is a network backup and restore program. It attempts
@ -1153,17 +1119,16 @@ backup.")
"0jgc53rrbas8i4z13l2ii99cpav1ma73spsjg70ygihf0635r3dh")))) "0jgc53rrbas8i4z13l2ii99cpav1ma73spsjg70ygihf0635r3dh"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf
("automake" ,automake) automake
("pkg-config" ,pkg-config) pkg-config
("guile" ,guile-3.0) ;for cross-compilation guile-3.0 ;for cross-compilation
("guile-gcrypt" ,guile-gcrypt) guile-gcrypt
("guile-quickcheck" ,guile-quickcheck))) guile-quickcheck))
(inputs (inputs
`(("guile" ,guile-3.0) (list guile-3.0 zlib))
("zlib" ,zlib)))
(propagated-inputs (propagated-inputs
`(("guile-gcrypt" ,guile-gcrypt))) (list guile-gcrypt))
(home-page "https://ngyro.com/software/disarchive.html") (home-page "https://ngyro.com/software/disarchive.html")
(synopsis "Software archive disassembler") (synopsis "Software archive disassembler")
(description "Disarchive can disassemble software archives into data (description "Disarchive can disassemble software archives into data
@ -1204,15 +1169,10 @@ compression parameters used by Gzip.")
":" (getenv "PATH"))) ":" (getenv "PATH")))
(invoke "pytest"))))))) (invoke "pytest")))))))
(inputs (inputs
`(("borg" ,borg) (list borg python-colorama python-jsonschema python-requests
("python-colorama" ,python-colorama) python-ruamel.yaml))
("python-jsonschema" ,python-jsonschema)
("python-requests" ,python-requests)
("python-ruamel.yaml" ,python-ruamel.yaml)))
(native-inputs (native-inputs
`(("python-flexmock" ,python-flexmock) (list python-flexmock python-pytest python-pytest-cov))
("python-pytest" ,python-pytest)
("python-pytest-cov" ,python-pytest-cov)))
(home-page "https://torsion.org/borgmatic/") (home-page "https://torsion.org/borgmatic/")
(synopsis "Simple, configuration-driven backup software") (synopsis "Simple, configuration-driven backup software")
(description (description

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2019 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2014, 2019 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org> ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2014, 2015, 2016, 2018 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2014, 2015, 2016, 2018 Mark H Weaver <mhw@netris.org>
@ -17,6 +17,9 @@
;;; Copyright © 2020 Vitaliy Shatrov <D0dyBo0D0dyBo0@protonmail.com> ;;; Copyright © 2020 Vitaliy Shatrov <D0dyBo0D0dyBo0@protonmail.com>
;;; Copyright © 2020 Chris Marusich <cmmarusich@gmail.com> ;;; Copyright © 2020 Chris Marusich <cmmarusich@gmail.com>
;;; Copyright © 2021 Leo Le Bouter <lle-bout@zaclys.net> ;;; Copyright © 2021 Leo Le Bouter <lle-bout@zaclys.net>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -39,6 +42,7 @@
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages acl) #:use-module (gnu packages acl)
#:use-module (gnu packages algebra) #:use-module (gnu packages algebra)
#:use-module (gnu packages attr)
#:use-module (gnu packages bash) #:use-module (gnu packages bash)
#:use-module (gnu packages bison) #:use-module (gnu packages bison)
#:use-module (gnu packages ed) #:use-module (gnu packages ed)
@ -56,6 +60,7 @@
#:use-module (gnu packages gettext) #:use-module (gnu packages gettext)
#:use-module (guix i18n) #:use-module (guix i18n)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (guix gexp)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download) #:use-module (guix git-download)
@ -67,6 +72,7 @@
#:use-module (srfi srfi-1) #:use-module (srfi srfi-1)
#:use-module (srfi srfi-26) #:use-module (srfi srfi-26)
#:export (glibc #:export (glibc
make-ld-wrapper
libiconv-if-needed)) libiconv-if-needed))
;;; Commentary: ;;; Commentary:
@ -98,18 +104,18 @@ command-line arguments, multiple languages, and so on.")
(define-public grep (define-public grep
(package (package
(name "grep") (name "grep")
(version "3.4") (version "3.6")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnu/grep/grep-" (uri (string-append "mirror://gnu/grep/grep-"
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1yy33kiwrxrwj2nxa4fg15bvmwyghqbs8qwkdvy5phm784f7brjq")) "0gipv6bzkm1aihj0ncqpyh164xrzgcxcv9r1kwzyk2g1mzl1azk6"))
(patches (search-patches "grep-timing-sensitive-test.patch")))) (patches (search-patches "grep-timing-sensitive-test.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs `(("perl" ,perl))) ;some of the tests require it (native-inputs (list perl)) ;some of the tests require it
(inputs `(("pcre" ,pcre))) (inputs (list pcre))
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
@ -122,8 +128,7 @@ command-line arguments, multiple languages, and so on.")
(substitute* (list (string-append bin "/egrep") (substitute* (list (string-append bin "/egrep")
(string-append bin "/fgrep")) (string-append bin "/fgrep"))
(("^exec grep") (("^exec grep")
(string-append "exec " bin "/grep"))) (string-append "exec " bin "/grep")))))))))
#t))))))
(synopsis "Print lines matching a pattern") (synopsis "Print lines matching a pattern")
(description (description
"grep is a tool for finding text inside files. Text is found by "grep is a tool for finding text inside files. Text is found by
@ -146,27 +151,24 @@ including, for example, recursive directory searching.")
".tar.gz")) ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0alqagh0nliymz23kfjg6g9w3cr086k0sfni56gi8fhzqwa3xksk")))) "0alqagh0nliymz23kfjg6g9w3cr086k0sfni56gi8fhzqwa3xksk"))
(build-system gnu-build-system) (patches (search-patches "coreutils-gnulib-tests.patch"))
(arguments
;; TODO: When merging this into core-updates, keep the version of ;; Remove this snippet once upstream releases a fixed version.
;; this code (with comment!) applied as a snippet. ;; This snippet changes Makefile.in, even though the upstream
`(,@(if (string-prefix? "powerpc64le" (or (%current-target-system) ;; patch changes testsuite/local.mk, since we build sed from a
(%current-system))) ;; release tarball. See: https://bugs.gnu.org/36150
`(#:phases (snippet
(modify-phases %standard-phases '(begin
(add-after 'unpack 'allow-building-on-selinux-systems
(lambda _
(substitute* "Makefile.in" (substitute* "Makefile.in"
(("^ abs_srcdir='\\$\\(abs_srcdir\\)'.*" previous-line) (("^ abs_srcdir='\\$\\(abs_srcdir\\)'.*" previous-line)
(string-append (string-append
previous-line previous-line
" CONFIG_HEADER='$(CONFIG_HEADER)'\t\t\\\n"))) " CONFIG_HEADER='$(CONFIG_HEADER)'\t\t\\\n")))))
#t)))) (modules '((guix build utils)))))
'()))) (build-system gnu-build-system)
(synopsis "Stream editor") (synopsis "Stream editor")
(native-inputs (native-inputs (list perl)) ;for tests
`(("perl" ,perl))) ;for tests
(description (description
"Sed is a non-interactive, text stream editor. It receives a text "Sed is a non-interactive, text stream editor. It receives a text
input from a file or from standard input and it then applies a series of text input from a file or from standard input and it then applies a series of text
@ -179,15 +181,14 @@ implementation offers several extensions over the standard utility.")
(define-public tar (define-public tar
(package (package
(name "tar") (name "tar")
(version "1.32") (version "1.34")
(replacement tar-1.34)
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnu/tar/tar-" (uri (string-append "mirror://gnu/tar/tar-"
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1n7xy657ii0sa42zx6944v2m4v9qrh6sqgmw17l3nch3y43sxlyh")) "0a0x87anh9chbi2cgcyy7pmnm5hzk4yd1w2j8gm1wplwhwkbvgk3"))
(patches (search-patches "tar-skip-unreliable-tests.patch" (patches (search-patches "tar-skip-unreliable-tests.patch"
"tar-remove-wholesparse-check.patch")))) "tar-remove-wholesparse-check.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
@ -215,13 +216,12 @@ implementation offers several extensions over the standard utility.")
(let ((bash (assoc-ref inputs "bash"))) (let ((bash (assoc-ref inputs "bash")))
(substitute* "src/system.c" (substitute* "src/system.c"
(("/bin/sh") (("/bin/sh")
(string-append bash "/bin/sh"))) (string-append bash "/bin/sh")))))))))
#t))))))
;; When cross-compiling, the 'set-shell-file-name' phase needs to be able ;; When cross-compiling, the 'set-shell-file-name' phase needs to be able
;; to refer to the target Bash. ;; to refer to the target Bash.
(inputs (if (%current-target-system) (inputs (if (%current-target-system)
`(("bash" ,bash)) (list bash)
'())) '()))
(synopsis "Managing tar archives") (synopsis "Managing tar archives")
@ -235,21 +235,6 @@ standard utility.")
(license gpl3+) (license gpl3+)
(home-page "https://www.gnu.org/software/tar/"))) (home-page "https://www.gnu.org/software/tar/")))
(define-public tar-1.34 ; fixes CVE-2021-20193
(package
(inherit tar)
(version "1.34")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/tar/tar-"
version ".tar.xz"))
(sha256
(base32
"0a0x87anh9chbi2cgcyy7pmnm5hzk4yd1w2j8gm1wplwhwkbvgk3"))
(patches
(search-patches "tar-skip-unreliable-tests.patch"
"tar-remove-wholesparse-check.patch"))))))
(define-public patch (define-public patch
(package (package
(name "patch") (name "patch")
@ -269,7 +254,7 @@ standard utility.")
(if (%current-target-system) (if (%current-target-system)
`(#:configure-flags '("gl_cv_func_working_mktime=yes")) `(#:configure-flags '("gl_cv_func_working_mktime=yes"))
'())) '()))
(native-inputs `(("ed" ,ed))) (native-inputs (list ed))
(synopsis "Apply differences to originals, with optional backups") (synopsis "Apply differences to originals, with optional backups")
(description (description
"Patch is a program that applies changes to files based on differences "Patch is a program that applies changes to files based on differences
@ -283,16 +268,17 @@ differences.")
(define-public diffutils (define-public diffutils
(package (package
(name "diffutils") (name "diffutils")
(version "3.7") (version "3.8")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnu/diffutils/diffutils-" (uri (string-append "mirror://gnu/diffutils/diffutils-"
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"09isrg0isjinv8c535nxsi1s86wfdfzml80dbw41dj9x3hiad9xk")))) "1v4g8gi0lgakqa7iix8s4fq7lq6l92vw3rjd9wfd2rhjng8xggd6"))
(patches (search-patches "diffutils-fix-signal-processing.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs `(("perl" ,perl))) (native-inputs (list perl))
(synopsis "Comparing and merging files") (synopsis "Comparing and merging files")
(description (description
"GNU Diffutils is a package containing tools for finding the "GNU Diffutils is a package containing tools for finding the
@ -306,16 +292,15 @@ interactive means to merge two files.")
(define-public findutils (define-public findutils
(package (package
(name "findutils") (name "findutils")
(version "4.7.0") (version "4.8.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnu/findutils/findutils-" (uri (string-append "mirror://gnu/findutils/findutils-"
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"16kqz9yz98dasmj70jwf5py7jk558w96w0vgp3zf9xsqk3gzpzn5")) "0r3i72hnw0a30khlczi9k2c51aamaj6kfmp5mk3844nrjxz7n4jp"))
(patches (search-patches "findutils-localstatedir.patch" (patches (search-patches "findutils-localstatedir.patch"))))
"findutils-test-rwlock-threads.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:configure-flags (list `(#:configure-flags (list
@ -327,8 +312,7 @@ interactive means to merge two files.")
(substitute* '("tests/xargs/verbose-quote.sh" (substitute* '("tests/xargs/verbose-quote.sh"
"tests/find/exec-plus-last-file.sh") "tests/find/exec-plus-last-file.sh")
(("#!/bin/sh") (("#!/bin/sh")
(string-append "#!" (which "sh")))) (string-append "#!" (which "sh")))))))))
#t)))))
(synopsis "Operating on files matching given criteria") (synopsis "Operating on files matching given criteria")
(description (description
"Findutils supplies the basic file directory searching utilities of the "Findutils supplies the basic file directory searching utilities of the
@ -351,17 +335,19 @@ used to apply commands with arbitrarily long arguments.")
(sha256 (sha256
(base32 (base32
"1yjcrh5hw70c0yn8zw55pd6j51dj90anpq8mmg649ps9g3gdhn24")) "1yjcrh5hw70c0yn8zw55pd6j51dj90anpq8mmg649ps9g3gdhn24"))
(patches (search-patches "coreutils-ls.patch")))) (patches (search-patches "coreutils-ls.patch"
"coreutils-gnulib-tests.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("acl" ,acl) ; TODO: add SELinux (inputs `(,acl ;TODO: add SELinux
("gmp" ,gmp) ;bignums in 'expr', yay! ,attr ;for xattrs in ls, mv, etc
,gmp ;bignums in 'expr', yay!
;; Do not use libcap when cross-compiling since it's not quite ;; Do not use libcap when cross-compiling since it's not quite
;; cross-compilable; and use it only for supported systems. ;; cross-compilable; and use it only for supported systems.
,@(if (and (not (%current-target-system)) ,@(if (and (not (%current-target-system))
(member (%current-system) (member (%current-system)
(package-supported-systems libcap))) (package-supported-systems libcap)))
`(("libcap" ,libcap-2.31)) ;capability support in 'ls', etc. `(,libcap) ;capability support in 'ls', etc.
'()))) '())))
(native-inputs (native-inputs
;; Perl is needed to run tests in native builds, and to run the bundled ;; Perl is needed to run tests in native builds, and to run the bundled
@ -370,7 +356,7 @@ used to apply commands with arbitrarily long arguments.")
;; for help2man. ;; for help2man.
(if (%current-target-system) (if (%current-target-system)
'() '()
`(("perl" ,perl)))) (list perl)))
(outputs '("out" "debug")) (outputs '("out" "debug"))
(arguments (arguments
`(#:parallel-build? #f ; help2man may be called too early `(#:parallel-build? #f ; help2man may be called too early
@ -399,16 +385,18 @@ used to apply commands with arbitrarily long arguments.")
(substitute* (find-files "gnulib-tests" "\\.c$") (substitute* (find-files "gnulib-tests" "\\.c$")
(("/bin/sh") (which "sh"))) (("/bin/sh") (which "sh")))
(substitute* (find-files "tests" "\\.sh$") (substitute* (find-files "tests" "\\.sh$")
(("#!/bin/sh") (string-append "#!" (which "sh")))) (("#!/bin/sh") (string-append "#!" (which "sh"))))))
#t)) (add-after 'unpack 'remove-tests
,@(if (hurd-target?)
`((add-after 'unpack 'remove-tests
(lambda _ (lambda _
(substitute* "Makefile.in" ,@(if (hurd-target?)
'((substitute* "Makefile.in"
;; this test hangs ;; this test hangs
(("^ *tests/misc/timeout-group.sh.*") "")) (("^ *tests/misc/timeout-group.sh.*") "")))
#t))) '())
'())))) (substitute* "Makefile.in"
;; fails on filesystems where inotify cannot be used,
;; more info in #47935
(("^ *tests/tail-2/inotify-dir-recreate.sh.*") "")))))))
(synopsis "Core GNU utilities (file, text, shell)") (synopsis "Core GNU utilities (file, text, shell)")
(description (description
"GNU Coreutils package includes all of the basic command-line tools that "GNU Coreutils package includes all of the basic command-line tools that
@ -425,6 +413,7 @@ standard.")
(inherit coreutils) (inherit coreutils)
(name "coreutils-minimal") (name "coreutils-minimal")
(outputs '("out")) (outputs '("out"))
(native-inputs '())
(inputs '()))) (inputs '())))
(define-public coreutils-8.30 (define-public coreutils-8.30
@ -452,8 +441,7 @@ standard.")
;; specific issue, but "env-S.pl" is not adjusted for build ;; specific issue, but "env-S.pl" is not adjusted for build
;; environments with long prefixes (/tmp/guix-build-...). ;; environments with long prefixes (/tmp/guix-build-...).
(substitute* "Makefile" (substitute* "Makefile"
(("^.*tests/misc/env-S.pl.*$") "")) (("^.*tests/misc/env-S.pl.*$") "")))))))))))
#t)))))))))
(define-public gnu-make (define-public gnu-make
(package (package
@ -468,8 +456,8 @@ standard.")
"06cfqzpqsvdnsxbysl5p2fgdgxgl9y4p7scpnrfa8z2zgkjdspz0")) "06cfqzpqsvdnsxbysl5p2fgdgxgl9y4p7scpnrfa8z2zgkjdspz0"))
(patches (search-patches "make-impure-dirs.patch")))) (patches (search-patches "make-impure-dirs.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs `(("pkg-config" ,pkg-config))) ; to detect Guile (native-inputs (list pkg-config)) ;to detect Guile
(inputs `(("guile" ,guile-3.0))) (inputs (list guile-3.0))
(outputs '("out" "debug")) (outputs '("out" "debug"))
(arguments (arguments
`(,@(if (hurd-target?) `(,@(if (hurd-target?)
@ -485,8 +473,7 @@ standard.")
(substitute* "src/job.c" (substitute* "src/job.c"
(("default_shell =.*$") (("default_shell =.*$")
(format #f "default_shell = \"~a/bin/sh\";\n" (format #f "default_shell = \"~a/bin/sh\";\n"
bash))) bash)))))))))
#t))))))
(synopsis "Remake files automatically") (synopsis "Remake files automatically")
(description (description
"Make is a program that is used to control the production of "Make is a program that is used to control the production of
@ -510,7 +497,7 @@ change. GNU make offers many powerful extensions over the standard utility.")
(base32 (base32
"12f5zzyq2w56g95nni65hc0g5p7154033y2f3qmjvd016szn5qnn")))) "12f5zzyq2w56g95nni65hc0g5p7154033y2f3qmjvd016szn5qnn"))))
(arguments (arguments
`(#:configure-flags '("CFLAGS=-D__alloca=alloca") `(#:configure-flags '("CFLAGS=-D__alloca=alloca -D__stat=stat")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'build 'set-default-shell (add-before 'build 'set-default-shell
@ -520,24 +507,22 @@ change. GNU make offers many powerful extensions over the standard utility.")
(substitute* "job.c" (substitute* "job.c"
(("default_shell =.*$") (("default_shell =.*$")
(format #f "default_shell = \"~a/bin/sh\";\n" (format #f "default_shell = \"~a/bin/sh\";\n"
bash))) bash)))))))))))
#t))))))))
(define-public binutils (define-public binutils
(package (package
(name "binutils") (name "binutils")
(version "2.34") (version "2.37")
(source (origin (source
(origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnu/binutils/binutils-" (uri (string-append "mirror://gnu/binutils/binutils-"
version ".tar.bz2")) version ".tar.bz2"))
(sha256 (sha256
(base32 (base32 "1m3b2rdfv1dmdpd0bzg1hy7i8a2qng53szc6livyi3nh6101mz37"))
"1rin1f5c7wm4n3piky6xilcrpf2s0n3dd5vqq8irrxkcic3i1w49")) (patches (search-patches "binutils-loongson-workaround.patch"
(patches (search-patches "binutils-loongson-workaround.patch")))) "binutils-2.37-file-descriptor-leak.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
;; TODO: Add dependency on zlib + those for Gold.
(arguments (arguments
`(#:configure-flags '(;; Add `-static-libgcc' to not retain a dependency `(#:configure-flags '(;; Add `-static-libgcc' to not retain a dependency
;; on GCC when bootstrapping. ;; on GCC when bootstrapping.
@ -558,17 +543,7 @@ change. GNU make offers many powerful extensions over the standard utility.")
;; Make sure 'ar' and 'ranlib' produce archives in a ;; Make sure 'ar' and 'ranlib' produce archives in a
;; deterministic fashion. ;; deterministic fashion.
"--enable-deterministic-archives") "--enable-deterministic-archives")))
;; XXX: binutils 2.34 was mistakenly released without generated manuals:
;; <https://sourceware.org/bugzilla/show_bug.cgi?id=25491>. To avoid a
;; circular dependency on texinfo, prevent the build system from creating
;; the manuals by calling "true" instead of "makeinfo"...
#:make-flags '("MAKEINFO=true")))
;; ...and "hide" this package so that users who install binutils get the
;; version with documentation defined below.
(properties '((hidden? . #t)))
(synopsis "Binary utilities: bfd gas gprof ld") (synopsis "Binary utilities: bfd gas gprof ld")
(description (description
@ -581,17 +556,22 @@ included.")
(license gpl3+) (license gpl3+)
(home-page "https://www.gnu.org/software/binutils/"))) (home-page "https://www.gnu.org/software/binutils/")))
;; Work around a problem with binutils 2.34 whereby manuals are missing from ;;; TODO: Merge into binutils on the next world rebuild.
;; the release tarball. Remove this and the related code above when updating. (define-public binutils-next
(define-public binutils+documentation (package/inherit binutils
(package/inherit (name "binutils-next")
binutils (version "2.37")
(native-inputs
`(("texinfo" ,texinfo)))
(arguments (arguments
(substitute-keyword-arguments (package-arguments binutils) (substitute-keyword-arguments (package-arguments binutils)
((#:make-flags _ ''()) ''()))) ((#:out-of-source? _ #f) ;recommended in the README
(properties '()))) #t)
((#:configure-flags flags)
`(cons* "--enable-64-bit-bfd"
"--enable-compressed-debug-sections=all"
"--enable-lto"
"--enable-separate-code"
"--enable-threads"
,flags))))))
;; FIXME: ath9k-firmware-htc-binutils.patch do not apply on 2.34 because of a ;; FIXME: ath9k-firmware-htc-binutils.patch do not apply on 2.34 because of a
;; big refactoring of xtensa-modules.c (commit 567607c11fbf7105 upstream). ;; big refactoring of xtensa-modules.c (commit 567607c11fbf7105 upstream).
@ -606,41 +586,34 @@ included.")
version ".tar.bz2")) version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"1cmd0riv37bqy9mwbg6n3523qgr8b3bbm5kwj19sjrasl4yq9d0c")))) "1cmd0riv37bqy9mwbg6n3523qgr8b3bbm5kwj19sjrasl4yq9d0c"))
(patches '())))
(arguments (arguments
(substitute-keyword-arguments (package-arguments binutils) (substitute-keyword-arguments (package-arguments binutils)
((#:make-flags _ ''()) ''()))) ((#:make-flags _ ''()) ''())))
(properties '()))) (properties '())))
(define-public binutils-gold (define-public binutils-gold
(package/inherit binutils+documentation (package/inherit binutils-next
(name "binutils-gold") (name "binutils-gold")
(arguments (arguments
`(#:phases (substitute-keyword-arguments (package-arguments binutils)
(modify-phases %standard-phases ((#:configure-flags flags)
`(cons* "--enable-gold=default"
(delete "LDFLAGS=-static-libgcc" ,flags)))
((#:phases phases '%standard-phases)
`(modify-phases ,phases
(add-after 'patch-source-shebangs 'patch-more-shebangs (add-after 'patch-source-shebangs 'patch-more-shebangs
(lambda _ (lambda _
(substitute* "gold/Makefile.in" (substitute* "gold/Makefile.in"
(("/bin/sh") (which "sh"))) (("/bin/sh") (which "sh")))))))))
#t)))
,@(substitute-keyword-arguments (package-arguments binutils)
; Upstream is aware of unrelocatable test failures on arm*.
((#:tests? _ #f)
(if (any (cute string-prefix? <> (or (%current-target-system)
(%current-system)))
'("i686" "x86_64"))
'#t '#f))
((#:configure-flags flags)
`(cons* "--enable-gold=default"
(delete "LDFLAGS=-static-libgcc" ,flags))))))
(native-inputs (native-inputs
`(("bc" ,bc))) `(("bc" ,bc)))))
(inputs
`(("gcc:lib" ,(canonical-package gcc) "lib")))))
(define* (make-ld-wrapper name #:key (define* (make-ld-wrapper name #:key
(target (const #f)) (target (const #f))
binutils binutils
(linker "ld")
(guile (canonical-package guile-3.0)) (guile (canonical-package guile-3.0))
(bash (canonical-package bash)) (bash (canonical-package bash))
(guile-for-build guile)) (guile-for-build guile))
@ -650,7 +623,9 @@ wrapper uses GUILE and BASH.
TARGET must be a one-argument procedure that, given a system type, returns a TARGET must be a one-argument procedure that, given a system type, returns a
cross-compilation target triplet or #f. When the result is not #f, make a cross-compilation target triplet or #f. When the result is not #f, make a
wrapper for the cross-linker for that target, called 'TARGET-ld'." wrapper for the cross-linker for that target, called 'TARGET-ld'. To use a
different linker than the default \"ld\", such as \"ld.gold\" the linker name
can be provided via the LINKER argument."
;; Note: #:system->target-triplet is a procedure so that the evaluation of ;; Note: #:system->target-triplet is a procedure so that the evaluation of
;; its result can be delayed until the 'arguments' field is evaluated, thus ;; its result can be delayed until the 'arguments' field is evaluated, thus
;; in a context where '%current-system' is accurate. ;; in a context where '%current-system' is accurate.
@ -675,8 +650,9 @@ wrapper for the cross-linker for that target, called 'TARGET-ld'."
(let* ((out (assoc-ref %outputs "out")) (let* ((out (assoc-ref %outputs "out"))
(bin (string-append out "/bin")) (bin (string-append out "/bin"))
(ld ,(if target (ld ,(if target
`(string-append bin "/" ,target "-ld") `(string-append bin "/" ,target "-"
'(string-append bin "/ld"))) ,linker)
`(string-append bin "/" ,linker)))
(go (string-append ld ".go"))) (go (string-append ld ".go")))
(setvbuf (current-output-port) (setvbuf (current-output-port)
@ -701,11 +677,10 @@ wrapper for the cross-linker for that target, called 'TARGET-ld'."
(string-append (assoc-ref %build-inputs "binutils") (string-append (assoc-ref %build-inputs "binutils")
,(if target ,(if target
(string-append "/bin/" (string-append "/bin/"
target "-ld") target "-" linker)
"/bin/ld")))) (string-append "/bin/" linker)))))
(chmod ld #o555) (chmod ld #o555)
(compile-file ld #:output-file go) (compile-file ld #:output-file go))))))
#t)))))
(synopsis "The linker wrapper") (synopsis "The linker wrapper")
(description (description
"The linker wrapper (or @code{ld-wrapper}) wraps the linker to add any "The linker wrapper (or @code{ld-wrapper}) wraps the linker to add any
@ -714,39 +689,31 @@ the store.")
(home-page "https://www.gnu.org/software/guix//") (home-page "https://www.gnu.org/software/guix//")
(license gpl3+))) (license gpl3+)))
(export make-ld-wrapper)
(define-public glibc (define-public glibc
;; This is the GNU C Library, used on GNU/Linux and GNU/Hurd. Prior to ;; This is the GNU C Library, used on GNU/Linux and GNU/Hurd. Prior to
;; version 2.28, GNU/Hurd used a different glibc branch. ;; version 2.28, GNU/Hurd used a different glibc branch.
(package (package
(name "glibc") (name "glibc")
(version "2.31") (version "2.33")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnu/glibc/glibc-" version ".tar.xz")) (uri (string-append "mirror://gnu/glibc/glibc-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj")) "1zvp0qdfbdyqrzydz18d9zg3n5ygy8ps7cmny1bvsp8h1q05c99f"))
(snippet (patches (search-patches "glibc-ldd-powerpc.patch"
;; Disable 'ldconfig' and /etc/ld.so.cache. The latter is "glibc-ldd-x86_64.patch"
;; required on LFS distros to avoid loading the distro's libc.so "glibc-dl-cache.patch"
;; instead of ours.
'(begin
(substitute* "sysdeps/unix/sysv/linux/configure"
(("use_ldconfig=yes")
"use_ldconfig=no"))
#t))
(modules '((guix build utils)))
(patches (search-patches "glibc-ldd-x86_64.patch"
"glibc-hidden-visibility-ldconfig.patch"
"glibc-versioned-locpath.patch" "glibc-versioned-locpath.patch"
"glibc-allow-kernel-2.6.32.patch" "glibc-allow-kernel-2.6.32.patch"
"glibc-reinstate-prlimit64-fallback.patch" "glibc-reinstate-prlimit64-fallback.patch"
"glibc-supported-locales.patch" "glibc-supported-locales.patch"
"glibc-cross-objdump.patch"
"glibc-cross-objcopy.patch" ;must come 2nd
"glibc-hurd-clock_t_centiseconds.patch" "glibc-hurd-clock_t_centiseconds.patch"
"glibc-hurd-clock_gettime_monotonic.patch" "glibc-hurd-clock_gettime_monotonic.patch"
"glibc-hurd-signal-sa-siginfo.patch")))) "glibc-hurd-mach-print.patch"
"glibc-hurd-gettyent.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
;; Glibc's <limits.h> refers to <linux/limit.h>, for instance, so glibc ;; Glibc's <limits.h> refers to <linux/limit.h>, for instance, so glibc
@ -832,8 +799,7 @@ the store.")
(bash (or (assoc-ref inputs "static-bash") (bash (or (assoc-ref inputs "static-bash")
(assoc-ref native-inputs "static-bash")))) (assoc-ref native-inputs "static-bash"))))
;; Install the rpc data base file under `$out/etc/rpc'. ;; Install the rpc data base file under `$out/etc/rpc'.
;; FIXME: Use installFlags = [ "sysconfdir=$(out)/etc" ]; (substitute* "inet/Makefile"
(substitute* "sunrpc/Makefile"
(("^\\$\\(inst_sysconfdir\\)/rpc(.*)$" _ suffix) (("^\\$\\(inst_sysconfdir\\)/rpc(.*)$" _ suffix)
(string-append out "/etc/rpc" suffix "\n")) (string-append out "/etc/rpc" suffix "\n"))
(("^install-others =.*$") (("^install-others =.*$")
@ -846,6 +812,11 @@ the store.")
;; 4.7.1. ;; 4.7.1.
((" -lgcc_s") "")) ((" -lgcc_s") ""))
;; Tell the ld.so cache code where the store is.
(substitute* "elf/dl-cache.c"
(("@STORE_DIRECTORY@")
(string-append "\"" (%store-directory) "\"")))
;; Have `system' use that Bash. ;; Have `system' use that Bash.
(substitute* "sysdeps/posix/system.c" (substitute* "sysdeps/posix/system.c"
(("#define[[:blank:]]+SHELL_PATH.*$") (("#define[[:blank:]]+SHELL_PATH.*$")
@ -864,15 +835,6 @@ the store.")
(string-append "#define _PATH_BSHELL \"" (string-append "#define _PATH_BSHELL \""
bash "/bin/sh\"\n"))) bash "/bin/sh\"\n")))
;; Nscd uses __DATE__ and __TIME__ to create a string to
;; make sure the client and server come from the same
;; libc. Use something deterministic instead.
(substitute* "nscd/nscd_stat.c"
(("static const char compilation\\[21\\] =.*$")
(string-append
"static const char compilation[21] = \""
(string-take (basename out) 20) "\";\n")))
;; Make sure we don't retain a reference to the ;; Make sure we don't retain a reference to the
;; bootstrap Perl. ;; bootstrap Perl.
(substitute* "malloc/mtrace.pl" (substitute* "malloc/mtrace.pl"
@ -881,9 +843,7 @@ the store.")
;; "bilingual" eval/exec magic at the top of the file. ;; "bilingual" eval/exec magic at the top of the file.
"") "")
(("exec @PERL@") (("exec @PERL@")
"exec perl")) "exec perl")))))
#t)))
(add-after 'install 'move-static-libs (add-after 'install 'move-static-libs
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
@ -921,17 +881,8 @@ the store.")
((out) static))) ((out) static)))
(filter linker-script? (filter linker-script?
(map (cut string-append slib "/" <>) (map (cut string-append slib "/" <>)
files))) files))))))
#t)))
,@(if (target-powerpc?)
'((add-after 'unpack 'apply-patch
(lambda* (#:key inputs #:allow-other-keys)
(let ((patch (assoc-ref inputs
"powerpc64le-patch")))
(invoke "patch" "--force" "-p1"
"-i" patch)))))
'())
,@(if (hurd-target?) ,@(if (hurd-target?)
'((add-after 'install 'augment-libc.so '((add-after 'install 'augment-libc.so
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
@ -939,8 +890,7 @@ the store.")
(substitute* (string-append out "/lib/libc.so") (substitute* (string-append out "/lib/libc.so")
(("/[^ ]+/lib/libc.so.0.3") (("/[^ ]+/lib/libc.so.0.3")
(string-append out "/lib/libc.so.0.3" (string-append out "/lib/libc.so.0.3"
" libmachuser.so libhurduser.so")))) " libmachuser.so libhurduser.so")))))))
#t)))
'())))) '()))))
(inputs `(("static-bash" ,static-bash))) (inputs `(("static-bash" ,static-bash)))
@ -953,10 +903,6 @@ the store.")
("gettext" ,gettext-minimal) ("gettext" ,gettext-minimal)
("python" ,python-minimal) ("python" ,python-minimal)
,@(if (target-powerpc?)
`(("powerpc64le-patch" ,@(search-patches
"glibc-ldd-powerpc.patch")))
'())
,@(if (hurd-target?) ,@(if (hurd-target?)
`(("mig" ,mig) `(("mig" ,mig)
("perl" ,perl)) ("perl" ,perl))
@ -985,17 +931,62 @@ with the Linux kernel.")
;; Below are old libc versions, which we use mostly to build locale data in ;; Below are old libc versions, which we use mostly to build locale data in
;; the old format (which the new libc cannot cope with.) ;; the old format (which the new libc cannot cope with.)
(define-public glibc-2.30 (define-public glibc-2.31
(package (package
(inherit glibc) (inherit glibc)
(version "2.31")
(source (origin
(inherit (package-source glibc))
(uri (string-append "mirror://gnu/glibc/glibc-" version ".tar.xz"))
(sha256
(base32
"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj"))
(patches (search-patches
"glibc-skip-c++.patch"
"glibc-ldd-powerpc.patch"
"glibc-ldd-x86_64.patch"
"glibc-dl-cache.patch"
"glibc-hidden-visibility-ldconfig.patch"
"glibc-versioned-locpath.patch"
"glibc-allow-kernel-2.6.32.patch"
"glibc-reinstate-prlimit64-fallback.patch"
"glibc-supported-locales.patch"
"glibc-hurd-clock_t_centiseconds.patch"
"glibc-2.31-hurd-clock_gettime_monotonic.patch"
"glibc-hurd-signal-sa-siginfo.patch"
"glibc-hurd-mach-print.patch"
"glibc-hurd-gettyent.patch"))))
(arguments
(substitute-keyword-arguments (package-arguments glibc)
((#:phases phases)
`(modify-phases ,phases
(add-before 'configure 'set-etc-rpc-installation-directory
(lambda* (#:key outputs #:allow-other-keys)
;; Install the rpc data base file under `$out/etc/rpc'.
(let ((out (assoc-ref outputs "out")))
(substitute* "sunrpc/Makefile"
(("^\\$\\(inst_sysconfdir\\)/rpc(.*)$" _ suffix)
(string-append out "/etc/rpc" suffix "\n"))
(("^install-others =.*$")
(string-append "install-others = " out "/etc/rpc\n"))))))))))))
(define-public glibc-2.30
(package
(inherit glibc-2.31)
(version "2.30") (version "2.30")
(native-inputs
;; This fails with a build error in libc-tls.c when using GCC 10. Use an
;; older compiler.
(modify-inputs (package-native-inputs glibc)
(prepend gcc-8)))
(source (origin (source (origin
(inherit (package-source glibc)) (inherit (package-source glibc))
(uri (string-append "mirror://gnu/glibc/glibc-" version ".tar.xz")) (uri (string-append "mirror://gnu/glibc/glibc-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1bxqpg91d02qnaz837a5kamm0f43pr1il4r9pknygywsar713i72")) "1bxqpg91d02qnaz837a5kamm0f43pr1il4r9pknygywsar713i72"))
(patches (search-patches "glibc-ldd-x86_64.patch" (patches (search-patches "glibc-skip-c++.patch"
"glibc-ldd-x86_64.patch"
"glibc-CVE-2019-19126.patch" "glibc-CVE-2019-19126.patch"
"glibc-hidden-visibility-ldconfig.patch" "glibc-hidden-visibility-ldconfig.patch"
"glibc-versioned-locpath.patch" "glibc-versioned-locpath.patch"
@ -1005,7 +996,7 @@ with the Linux kernel.")
(define-public glibc-2.29 (define-public glibc-2.29
(package (package
(inherit glibc) (inherit glibc-2.30)
(version "2.29") (version "2.29")
(source (origin (source (origin
(inherit (package-source glibc)) (inherit (package-source glibc))
@ -1013,7 +1004,8 @@ with the Linux kernel.")
(sha256 (sha256
(base32 (base32
"0jzh58728flfh939a8k9pi1zdyalfzlxmwra7k0rzji5gvavivpk")) "0jzh58728flfh939a8k9pi1zdyalfzlxmwra7k0rzji5gvavivpk"))
(patches (search-patches "glibc-ldd-x86_64.patch" (patches (search-patches "glibc-skip-c++.patch"
"glibc-ldd-x86_64.patch"
"glibc-CVE-2019-7309.patch" "glibc-CVE-2019-7309.patch"
"glibc-CVE-2019-9169.patch" "glibc-CVE-2019-9169.patch"
"glibc-2.29-git-updates.patch" "glibc-2.29-git-updates.patch"
@ -1023,46 +1015,6 @@ with the Linux kernel.")
"glibc-reinstate-prlimit64-fallback.patch" "glibc-reinstate-prlimit64-fallback.patch"
"glibc-2.29-supported-locales.patch")))))) "glibc-2.29-supported-locales.patch"))))))
(define-public glibc-2.28
(package
(inherit glibc)
(version "2.28")
(source (origin
(inherit (package-source glibc))
(uri (string-append "mirror://gnu/glibc/glibc-" version ".tar.xz"))
(sha256
(base32
"10iha5ynvdj5m62vgpgqbq4cwvc2yhyl2w9yyyjgfxmdmx8h145i"))
(patches (search-patches "glibc-ldd-x86_64.patch"
"glibc-2.28-git-fixes.patch"
"glibc-hidden-visibility-ldconfig.patch"
"glibc-versioned-locpath.patch"
"glibc-allow-kernel-2.6.32.patch"
"glibc-reinstate-prlimit64-fallback.patch"
"glibc-hurd-magic-pid.patch"
"glibc-2.28-supported-locales.patch"))))))
(define-public glibc-2.27
(package
(inherit glibc)
(version "2.27")
(source (origin
(inherit (package-source glibc))
(uri (string-append "mirror://gnu/glibc/glibc-" version ".tar.xz"))
(sha256
(base32
"0wpwq7gsm7sd6ysidv0z575ckqdg13cr2njyfgrbgh4f65adwwji"))
(patches (search-patches "glibc-ldd-x86_64.patch"
"glibc-2.27-git-fixes.patch"
"glibc-hidden-visibility-ldconfig.patch"
"glibc-versioned-locpath.patch"
"glibc-allow-kernel-2.6.32.patch"
"glibc-reinstate-prlimit64-fallback.patch"
"glibc-2.27-supported-locales.patch"
"glibc-CVE-2018-11236.patch"
"glibc-CVE-2018-11237.patch"))))
(properties `((lint-hidden-cve . ("CVE-2017-18269")))))) ; glibc-2.27-git-fixes
(define-public (make-gcc-libc base-gcc libc) (define-public (make-gcc-libc base-gcc libc)
"Return a GCC that targets LIBC." "Return a GCC that targets LIBC."
(package (inherit base-gcc) (package (inherit base-gcc)
@ -1142,8 +1094,7 @@ to the @code{share/locale} sub-directory of this package.")
(string-append (dirname directory) (string-append (dirname directory)
"/" name "." "/" name "."
normalized))))) normalized)))))
locales) locales))))
#t)))
(delete 'install) (delete 'install)
(delete 'move-static-libs))) (delete 'move-static-libs)))
((#:configure-flags flags) ((#:configure-flags flags)
@ -1200,8 +1151,7 @@ to the @code{share/locale} sub-directory of this package.")
locale ".UTF-8"))) locale ".UTF-8")))
',locales) ',locales)
#t)))) #t))))
(native-inputs `(("glibc" ,glibc) (native-inputs (list glibc gzip))
("gzip" ,gzip)))
(synopsis (if default-locales? (synopsis (if default-locales?
(P_ "Small sample of UTF-8 locales") (P_ "Small sample of UTF-8 locales")
(P_ "Customized sample of UTF-8 locales"))) (P_ "Customized sample of UTF-8 locales")))
@ -1254,17 +1204,15 @@ command.")
(package (inherit glibc) (package (inherit glibc)
(name "glibc-hurd-headers") (name "glibc-hurd-headers")
(outputs '("out")) (outputs '("out"))
(propagated-inputs `(("gnumach-headers" ,gnumach-headers) (propagated-inputs (list gnumach-headers hurd-headers))
("hurd-headers" ,hurd-headers)))
(native-inputs (native-inputs
`(("mig" ,(if (%current-target-system) (modify-inputs (package-native-inputs glibc)
(prepend (if (%current-target-system)
;; XXX: When targeting i586-pc-gnu, we need a 32-bit MiG, ;; XXX: When targeting i586-pc-gnu, we need a 32-bit MiG,
;; hence this hack. ;; hence this hack.
(package (package (inherit mig)
(inherit mig)
(arguments `(#:system "i686-linux"))) (arguments `(#:system "i686-linux")))
mig)) mig))))
,@(package-native-inputs glibc)))
(arguments (arguments
(substitute-keyword-arguments (package-arguments glibc) (substitute-keyword-arguments (package-arguments glibc)
;; We just pass the flags really needed to build the headers. ;; We just pass the flags really needed to build the headers.
@ -1283,8 +1231,7 @@ command.")
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
(close-port (close-port
(open-output-file (open-output-file
(string-append out "/include/gnu/stubs.h")))) (string-append out "/include/gnu/stubs.h"))))))
#t))
(delete 'build))))))) ; nothing to build (delete 'build))))))) ; nothing to build
(define-public tzdata (define-public tzdata
@ -1292,7 +1239,7 @@ command.")
(name "tzdata") (name "tzdata")
;; This package should be kept in sync with python-pytz in (gnu packages ;; This package should be kept in sync with python-pytz in (gnu packages
;; time). ;; time).
(version "2021a") (version "2021e")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -1300,11 +1247,18 @@ command.")
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"022fn6gkmp7pamlgab04x0dm5hnyn2m2fcnyr3pvm36612xd5rrr")))) "1cdjdcxl0s9xf0dg1z64kh7llm80byxqlzrkkjzcdlyh6yvl5v07"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f (list #:tests? #f
#:make-flags (let ((out (assoc-ref %outputs "out"))
;; This consists purely of (architecture-independent) data, so
;; cross-compilation is pointless here! (The binaries zic,
;; dump, and tzselect are deleted in the post-install phase.)
#:target #f
#:make-flags
#~(let ((out #$output)
(tmp (getenv "TMPDIR"))) (tmp (getenv "TMPDIR")))
(list (string-append "TOPDIR=" out) (list (string-append "TOPDIR=" out)
(string-append "TZDIR=" out "/share/zoneinfo") (string-append "TZDIR=" out "/share/zoneinfo")
@ -1320,22 +1274,24 @@ command.")
;; Many packages (particularly evolution-data-server) ;; Many packages (particularly evolution-data-server)
;; can not yet handle the latter, so we stick with ;; can not yet handle the latter, so we stick with
;; 'fat' for now. ;; 'fat' for now.
,@(if (version>=? (package-version this-package) #$@(if (version>=? (package-version this-package)
"2020b") "2020b")
'("CPPFLAGS=-DZIC_BLOAT_DEFAULT='\"fat\"'") '("CPPFLAGS=-DZIC_BLOAT_DEFAULT='\"fat\"'")
'()) '())
"AWK=awk" "AWK=awk"
"CC=gcc")) "CC=gcc"))
#:modules ((guix build utils) #:modules '((guix build utils)
(guix build gnu-build-system) (guix build gnu-build-system)
(srfi srfi-1)) (srfi srfi-1))
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'unpack (replace 'unpack
(lambda* (#:key source inputs #:allow-other-keys) (lambda* (#:key source inputs #:allow-other-keys)
(invoke "tar" "xvf" source) (invoke "tar" "xvf" source)
(invoke "tar" "xvf" (assoc-ref inputs "tzcode")))) (invoke "tar" "xvf"
#$(match (package-inputs this-package)
(((_ tzcode)) tzcode)))))
(add-after 'install 'post-install (add-after 'install 'post-install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
;; Move data in the right place. ;; Move data in the right place.
@ -1350,17 +1306,16 @@ command.")
(copy-recursively (string-append out "/share/zoneinfo-leaps") (copy-recursively (string-append out "/share/zoneinfo-leaps")
(string-append out "/share/zoneinfo/right")) (string-append out "/share/zoneinfo/right"))
(delete-file-recursively (delete-file-recursively
(string-append out "/share/zoneinfo-leaps")) (string-append out "/share/zoneinfo-leaps")))))
#t)))
(delete 'configure)))) (delete 'configure))))
(inputs `(("tzcode" ,(origin (inputs (list (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
"https://data.iana.org/time-zones/releases/tzcode" "https://data.iana.org/time-zones/releases/tzcode"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1l02b0jiwp3fl0xd6227i69d26rmx3yrnq0ssq9vvdmm4jhvyipb")))))) "0x8pcfmjvxk29yfh8bklchv2f0vpl4yih0gc4wyx292l78wncijq")))))
(home-page "https://www.iana.org/time-zones") (home-page "https://www.iana.org/time-zones")
(synopsis "Database of current and historical time zones") (synopsis "Database of current and historical time zones")
(description "The Time Zone Database (often called tz or zoneinfo) (description "The Time Zone Database (often called tz or zoneinfo)
@ -1375,28 +1330,10 @@ and daylight-saving rules.")
;;; thousands of packages (for example, in a core-updates rebuild). This package ;;; thousands of packages (for example, in a core-updates rebuild). This package
;;; will typically be obsolete and should never be referred to by a built ;;; will typically be obsolete and should never be referred to by a built
;;; package. ;;; package.
(define-public tzdata-for-tests ;;;
(hidden-package ;;; Please make this a hidden-package if it is different from the primary tzdata
(package ;;; package.
(inherit tzdata) (define-public tzdata-for-tests tzdata)
(version "2019c")
(source (origin
(method url-fetch)
(uri (string-append
"https://data.iana.org/time-zones/releases/tzdata"
version ".tar.gz"))
(sha256
(base32
"0z7w1yv37cfk8yhix2cillam091vgp1j4g8fv84261q9mdnq1ivr"))))
(inputs
`(("tzcode" ,(origin
(method url-fetch)
(uri (string-append
"https://data.iana.org/time-zones/releases/tzcode"
version ".tar.gz"))
(sha256
(base32
"1m3y2rnf1nggxxhxplab5zdd5whvar3ijyrv7lifvm82irkd7szn")))))))))
(define-public libiconv (define-public libiconv
(package (package
@ -1413,11 +1350,9 @@ and daylight-saving rules.")
(snippet (snippet
;; Work around "declared gets" error on glibc systems (fixed by ;; Work around "declared gets" error on glibc systems (fixed by
;; Gnulib commit 66712c23388e93e5c518ebc8515140fa0c807348.) ;; Gnulib commit 66712c23388e93e5c518ebc8515140fa0c807348.)
'(begin '(substitute* "srclib/stdio.in.h"
(substitute* "srclib/stdio.in.h"
(("^#undef gets") "") (("^#undef gets") "")
(("^_GL_WARN_ON_USE \\(gets.*") "")) (("^_GL_WARN_ON_USE \\(gets.*") "")))))
#t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(synopsis "Character set conversion library") (synopsis "Character set conversion library")
(description (description

View file

@ -6,6 +6,7 @@
;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com> ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com> ;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
;;; Copyright © 2021 Marius Bakke <marius@gnu.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -57,7 +58,7 @@
(define (patch-url seqno) (define (patch-url seqno)
"Return the URL of Bash patch number SEQNO." "Return the URL of Bash patch number SEQNO."
(format #f "mirror://gnu/bash/bash-5.0-patches/bash50-~3,'0d" seqno)) (format #f "mirror://gnu/bash/bash-5.1-patches/bash51-~3,'0d" seqno))
(define (bash-patch seqno sha256-bv) (define (bash-patch seqno sha256-bv)
"Return the origin of Bash patch SEQNO, with expected hash SHA256-BV." "Return the origin of Bash patch SEQNO, with expected hash SHA256-BV."
@ -70,26 +71,18 @@
(list (bash-patch seqno (base32 hash)) (list (bash-patch seqno (base32 hash))
...)) ...))
(define %patch-series-5.0 (define %patch-series-5.1
;; This is the current patches series for 5.0, generated using ;; This is the current patches series for 5.0, generated using
;; 'download-patches' below. ;; 'download-patches' below.
(patch-series (patch-series
(1 "12bjfdy6bg8nhyw27bdgxn7h4paylx8d927skfmi9pxd1wgrxzpj") (1 "1ymm8ppss6gyh9ifznjwiabrb4k91npd09c10y7mk66xp8yppc7b")
(2 "01w7yrzmz10mw06ys0546vhl7isv2v402ziyvfd7k67588spvs47") (2 "1gjx9zqcm407am3n2sh44b8dxm48kgm15rzfiijqxr01m0hn3shm")
(3 "0ny81ridp5n0j69hb8ixrc7dmxybby54jbsz5hikly8kgg1wvssf") (3 "1cdnpbfc64yhvkjj4d12s9ywp11g195vzfl1cab24sq55wkcrwi2")
(4 "021gqqvgydixkrmqss64b6srfdlkvnx88lyfzpxfrn5d6bc7li0l") (4 "11iwhy6v562bv0kk7lwj7f5jj65ma9bblivy0v02h3ggcibbdbls")
(5 "0xl2kyzm84nlyklrqzkn73ixabhzfhn9x91lzcmis89cppclvxav") (5 "19bdyigdr81824nxvqr6a7k0cax60wq7376j6b91afbnwvlvbjyc")
(6 "0844749ixk1z60437nkznzms1f0nzh9an62kj7sny6r0zyk2k1fn") (6 "051x8wlwrqk0yr0zg378vh824iklfl5g9pkmcdf62qp8gn9pvqbm")
(7 "16xg37gp1b8zlj5969w8mcrparwqlcbj9695vn3qhgb7wdz1xd0p") (7 "0fir80pp1gmlpadmqcgkrv4y119pc7xllchjzg05fd7px73viz5c")
(8 "1qyp19krjh8zxvb0jgwmyjz40djslwcf4xi7kc1ab0iaca44bipf") (8 "1lfjgshk8i9vch92p5wgc9r90j3phw79aa7gbai89w183b2z6b7j")))
(9 "00yrjjqd95s81b21qq3ba1y7h879q8jaajlkjggc6grhcwbs4g7d")
(10 "04ca5bjv456v538mkspzvn4xb2zdphh31r4fpvfm9p5my0jw7yyn")
(11 "1sklyixvsv8993kxzs0jigacpdchjrq7jv5xpdx7kbqyp4rf6k9c")
(12 "0cz21qg2gbr40lfgza7g02bqi2qknwqgxnq459pjj640d0cywhr9")
(13 "16h9nwz3yzwj7fnxvlidjymdc4yr30h818433gh9j1x3in6igmzm")
(14 "12gm5bvv2pd3m72z2ilj26pa08c61az253dsgfl24vpf2ijywvjx")
(15 "0pm0px758w4i23s55wajcv6lqfiym7zgxvq0pxf6vclkv8nxy5x5")
(16 "0vdha332km2iwx8g2ld15jy7d24cbplzgr1531dpzylr9ajxglgz")))
(define (download-patches store count) (define (download-patches store count)
"Download COUNT Bash patches into store. Return a list of "Download COUNT Bash patches into store. Return a list of
@ -125,7 +118,7 @@ number/base32-hash tuples, directly usable in the 'patch-series' form."
" -Wl,-rpath -Wl," " -Wl,-rpath -Wl,"
(assoc-ref %build-inputs "ncurses") (assoc-ref %build-inputs "ncurses")
"/lib"))) "/lib")))
(version "5.0")) (version "5.1"))
(package (package
(name "bash") (name "bash")
(source (origin (source (origin
@ -134,18 +127,17 @@ number/base32-hash tuples, directly usable in the 'patch-series' form."
"mirror://gnu/bash/bash-" version ".tar.gz")) "mirror://gnu/bash/bash-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0kgvfwqdcd90waczf4gx39xnrxzijhjrzyzv7s8v4w31qqm0za5l")) "1alv68wplnfdm6mh39hm57060xgssb9vqca4yr1cyva0c342n0fc"))
(patch-flags '("-p0")) (patch-flags '("-p0"))
(patches (cons (search-patch "bash-linux-pgrp-pipe.patch") (patches (cons (search-patch "bash-linux-pgrp-pipe.patch")
%patch-series-5.0)))) %patch-series-5.1))))
(version (string-append version "." (number->string (length %patch-series-5.0)))) (version (string-append version "." (number->string (length %patch-series-5.1))))
(build-system gnu-build-system) (build-system gnu-build-system)
(outputs '("out" (outputs '("out"
"doc" ;1.7 MiB of HTML and extra files "doc" ;1.7 MiB of HTML and extra files
"include")) ;headers used by extensions "include")) ;headers used by extensions
(inputs `(("readline" ,readline) (inputs (list readline ncurses)) ;TODO: add texinfo
("ncurses" ,ncurses))) ;TODO: add texinfo
(arguments (arguments
`(;; When cross-compiling, `configure' incorrectly guesses that job `(;; When cross-compiling, `configure' incorrectly guesses that job
;; control is missing. ;; control is missing.
@ -292,7 +284,7 @@ without modification.")
(patches (patches
(search-patches "bash-completion-directories.patch")))) (search-patches "bash-completion-directories.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs `(("util-linux" ,util-linux))) (native-inputs (list util-linux))
(arguments (arguments
`(#:phases (modify-phases %standard-phases `(#:phases (modify-phases %standard-phases
(add-after (add-after
@ -385,10 +377,8 @@ capturing.")
(base32 (base32
"0f59zh4d4pa1a7ybs5zl6h0csbqqv11lbnq0jl1dgwm1s6p49bsq")))) "0f59zh4d4pa1a7ybs5zl6h0csbqqv11lbnq0jl1dgwm1s6p49bsq"))))
(inputs (inputs
`(("bash" ,bash) (list bash coreutils guile-3.0 ;for wrap-script
("coreutils" ,coreutils) grep))
("guile" ,guile-3.0) ;for wrap-script
("grep" ,grep)))
(arguments (arguments
`(#:modules ((guix build utils)) `(#:modules ((guix build utils))
#:builder #:builder
@ -409,6 +399,7 @@ capturing.")
;; Install phase ;; Install phase
(invoke "./install.sh" %output) (invoke "./install.sh" %output)
(wrap-script (string-append %output "/bin/bats") (wrap-script (string-append %output "/bin/bats")
#:guile (search-input-file %build-inputs "bin/guile")
(list "PATH" 'prefix (string-split (getenv "PATH") (list "PATH" 'prefix (string-split (getenv "PATH")
#\:)))))) #\:))))))
(build-system trivial-build-system) (build-system trivial-build-system)
@ -434,14 +425,14 @@ in Bash, but you can use it to test any UNIX program.")
(base32 "0s1sifqzqmr0dnciv06yqrpzgj11d7n0gy5zaxh6b3x8bx7k75l8")))) (base32 "0s1sifqzqmr0dnciv06yqrpzgj11d7n0gy5zaxh6b3x8bx7k75l8"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("elfutils" ,elfutils) (list elfutils
("libelf" ,libelf) libelf
("libffi" ,libffi) libffi
("zlib" ,zlib) zlib
;; Require a bash with C plugin support to build. ;; Require a bash with C plugin support to build.
("bash" ,bash))) bash))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(home-page "https://github.com/taviso/ctypes.sh") (home-page "https://github.com/taviso/ctypes.sh")
(synopsis "Foreign function interface for Bash") (synopsis "Foreign function interface for Bash")
(description "Bash-ctypes is a Bash plugin that provides a foreign (description "Bash-ctypes is a Bash plugin that provides a foreign

View file

@ -84,7 +84,7 @@ public interface TimeEvent extends Event {
"))) ")))
#t))))) #t)))))
(native-inputs (native-inputs
`(("unzip" ,unzip))) (list unzip))
(home-page "https://www.w3.org/Style/CSS/SAC/") (home-page "https://www.w3.org/Style/CSS/SAC/")
(synopsis "W3C SAC interface for CSS parsers in Java") (synopsis "W3C SAC interface for CSS parsers in Java")
(description "This package provides a SAC interface by the W3C. (description "This package provides a SAC interface by the W3C.
@ -136,9 +136,9 @@ public interface EventListenerInitializer {
"))) ")))
#t))))) #t)))))
(propagated-inputs (propagated-inputs
`(("java-w3c-smil" ,java-w3c-smil-3.0))) (list java-w3c-smil-3.0))
(native-inputs (native-inputs
`(("unzip" ,unzip))) (list unzip))
(home-page "https://www.w3.org/Style/CSS/SAC/") (home-page "https://www.w3.org/Style/CSS/SAC/")
(synopsis "W3C SVG 1.0 interface") (synopsis "W3C SVG 1.0 interface")
(description "This package provides a SVG 1.0 interface.") (description "This package provides a SVG 1.0 interface.")
@ -189,7 +189,7 @@ public interface EventListenerInitializer {
(lambda* (#:key source #:allow-other-keys) (lambda* (#:key source #:allow-other-keys)
(invoke "unzip" source)))))) (invoke "unzip" source))))))
(native-inputs (native-inputs
`(("unzip" ,unzip))) (list unzip))
(home-page "https://www.w3.org/Style/CSS/SAC/") (home-page "https://www.w3.org/Style/CSS/SAC/")
(synopsis "W3C SAC interface for CSS parsers in Java") (synopsis "W3C SAC interface for CSS parsers in Java")
(description "This package provides a SAC interface by the W3C. (description "This package provides a SAC interface by the W3C.
@ -248,8 +248,7 @@ SAC is an interface for CSS parsers.")
("java-mockito" ,java-mockito-1) ("java-mockito" ,java-mockito-1)
("java-objenesis" ,java-objenesis))) ("java-objenesis" ,java-objenesis)))
(propagated-inputs (propagated-inputs
`(("java-commons-io" ,java-commons-io) (list java-commons-io java-commons-logging-minimal))
("java-commons-logging-minimal" ,java-commons-logging-minimal)))
(home-page "https://xmlgraphics.apache.org/commons/") (home-page "https://xmlgraphics.apache.org/commons/")
(synopsis "XMLGraphics constants") (synopsis "XMLGraphics constants")
(description "This package provides XMLGraphics constants (originally (description "This package provides XMLGraphics constants (originally

View file

@ -46,17 +46,21 @@
(list (list
;; Install gc_cpp.h et al. ;; Install gc_cpp.h et al.
"--enable-cplusplus" "--enable-cplusplus"
;; In GNU/Hurd systems during the 'Check' phase,
;; Work around <https://github.com/ivmai/bdwgc/issues/353>.
"--disable-munmap"
;; In GNU/Hurd systems during the 'check' phase,
;; there is a deadlock caused by the 'gctest' test. ;; there is a deadlock caused by the 'gctest' test.
;; To disable the error set "--disable-gcj-support" ;; To disable the error set "--disable-gcj-support"
;; to configure script. See bug report and discussion: ;; to configure script. See bug report and discussion:
;; <https://lists.opendylan.org/pipermail/bdwgc/2017-April/006275.html> ;; <https://lists.opendylan.org/pipermail/bdwgc/2017-April/006275.html>
;; <https://lists.gnu.org/archive/html/bug-hurd/2017-01/msg00008.html> ;; <https://lists.gnu.org/archive/html/bug-hurd/2017-01/msg00008.html>
,@(if (hurd-triplet? (or (%current-system) ,@(if (target-hurd? (or (%current-system)
(%current-target-system))) (%current-target-system)))
'("--disable-gcj-support") '("--disable-gcj-support")
'())))) '()))))
(native-inputs `(("pkg-config" ,pkg-config))) (native-inputs (list pkg-config))
(propagated-inputs (propagated-inputs
(if (%current-target-system) (if (%current-target-system)
;; The build system refuses to check for compiler intrinsics when ;; The build system refuses to check for compiler intrinsics when
@ -85,17 +89,6 @@ C or C++ programs, though that is not its primary goal.")
(license (x11-style (string-append home-page "license.txt"))))) (license (x11-style (string-append home-page "license.txt")))))
(define-public libgc/disable-munmap
;; TODO: Use '--disable-munmap' by default on next rebuild cycle.
(package/inherit libgc
(arguments
;; Work around <https://github.com/ivmai/bdwgc/issues/353>.
(substitute-keyword-arguments (package-arguments libgc)
((#:configure-flags flags ''())
`(cons "--disable-munmap" ,flags))))
(properties `((hidden? . #t)
,@(package-properties libgc)))))
;; TODO: Add a static output in libgc in the next rebuild cycle. ;; TODO: Add a static output in libgc in the next rebuild cycle.
(define-public libgc/static-libs (define-public libgc/static-libs
(package/inherit (package/inherit
@ -116,7 +109,7 @@ C or C++ programs, though that is not its primary goal.")
(sha256 (sha256
(base32 (base32
"10jhhi79d5brwlsyhwgpnrmc8nhlf7aan2lk9xhgihk5jc6srbvc")))) "10jhhi79d5brwlsyhwgpnrmc8nhlf7aan2lk9xhgihk5jc6srbvc"))))
(propagated-inputs `(("libatomic-ops" ,libatomic-ops))))) (propagated-inputs (list libatomic-ops))))
(define-public libgc/back-pointers (define-public libgc/back-pointers
(package/inherit (package/inherit

View file

@ -94,9 +94,7 @@
(find-files oldbin script?)))))))) (find-files oldbin script?))))))))
(outputs '("out" "utils")) (outputs '("out" "utils"))
(inputs (inputs
`(("libaio" ,libaio) (list libaio python zlib))
("python" ,python)
("zlib" ,zlib)))
(home-page "https://github.com/axboe/fio") (home-page "https://github.com/axboe/fio")
(synopsis "Flexible I/O tester") (synopsis "Flexible I/O tester")
(description (description
@ -132,7 +130,7 @@ is to write a job file matching the I/O load one wants to simulate.")
#t)))) #t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("openmpi" ,openmpi))) (list openmpi))
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
@ -241,7 +239,7 @@ tests.")
"010bmlmi0nrlp3aq7p624sfaj5a65lswnyyxk3cnz1bqig0cn2vf")))) "010bmlmi0nrlp3aq7p624sfaj5a65lswnyyxk3cnz1bqig0cn2vf"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("perl" ,perl))) (list perl))
(arguments '(#:tests? #f)) ; there are no tests (arguments '(#:tests? #f)) ; there are no tests
(home-page "https://doc.coker.com.au/projects/bonnie/") (home-page "https://doc.coker.com.au/projects/bonnie/")
(synopsis "Hard drive and file system benchmark suite") (synopsis "Hard drive and file system benchmark suite")
@ -298,20 +296,18 @@ file metadata operations that can be performed per second.")
"not test_custom_exit_code" "not test_custom_exit_code"
"not test_webserver") " and "))))))) "not test_webserver") " and ")))))))
(propagated-inputs (propagated-inputs
`(("python-configargparse" ,python-configargparse) (list python-configargparse
("python-flask" ,python-flask) python-flask
("python-flask-basicauth" ,python-flask-basicauth) python-flask-basicauth
("python-gevent" ,python-gevent) python-gevent
("python-geventhttpclient" ,python-geventhttpclient) python-geventhttpclient
("python-msgpack" ,python-msgpack) python-msgpack
("python-psutil" ,python-psutil) python-psutil
("python-pyzmq" ,python-pyzmq) python-pyzmq
("python-requests" ,python-requests) python-requests
("python-werkzeug" ,python-werkzeug))) python-werkzeug))
(native-inputs (native-inputs
`(("python-mock" ,python-mock) (list python-mock python-pyquery python-pytest)) ;for more easily skipping tests
("python-pyquery" ,python-pyquery)
("python-pytest" ,python-pytest))) ;for more easily skipping tests
(home-page "https://locust.io/") (home-page "https://locust.io/")
(synopsis "Distributed load testing framework") (synopsis "Distributed load testing framework")
(description "Locust is a performance testing tool that aims to be easy to (description "Locust is a performance testing tool that aims to be easy to
@ -383,8 +379,7 @@ and options. With careful benchmarking, different hardware can be compared.")
(build-system cmake-build-system) (build-system cmake-build-system)
(home-page "https://github.com/krrishnarraj/clpeak") (home-page "https://github.com/krrishnarraj/clpeak")
(inputs (inputs
`(("opencl-clhpp" ,opencl-clhpp) (list opencl-clhpp opencl-icd-loader))
("opencl-icd-loader" ,opencl-icd-loader)))
(synopsis "OpenCL benchmark tool") (synopsis "OpenCL benchmark tool")
(description (description
"A synthetic benchmarking tool to measure peak capabilities of OpenCL "A synthetic benchmarking tool to measure peak capabilities of OpenCL

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2015, 2019 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2012, 2013, 2015, 2019 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com> ;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net> ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; ;;;
@ -33,7 +33,7 @@
(define-public bison (define-public bison
(package (package
(name "bison") (name "bison")
(version "3.5.3") (version "3.7.6")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -41,7 +41,7 @@
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1i57hbczvr8674z73775jxdd3y59qggs5lmfd60gmwm5i1gmpy1b")))) "1kzkxrd3z4262k2sbxmyh9k5g5r2lakw0gv44l2hb4i1wbhqrmk7"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(;; Building in parallel on many-core systems may cause an error such as '(;; Building in parallel on many-core systems may cause an error such as
@ -52,11 +52,11 @@
;; "./examples/c/reccalc/scan.l:13:10: fatal error: parse.h: No such file ;; "./examples/c/reccalc/scan.l:13:10: fatal error: parse.h: No such file
;; or directory". Full log in <https://bugs.gnu.org/36238>. ;; or directory". Full log in <https://bugs.gnu.org/36238>.
#:parallel-tests? #f)) #:parallel-tests? #f))
(native-inputs `(("perl" ,perl) (native-inputs (list perl
;; m4 is not present in PATH when cross-building. ;; m4 is not present in PATH when cross-building.
("m4" ,m4))) m4))
(inputs `(("flex" ,flex))) (inputs (list flex))
(propagated-inputs `(("m4" ,m4))) (propagated-inputs (list m4))
(home-page "https://www.gnu.org/software/bison/") (home-page "https://www.gnu.org/software/bison/")
(synopsis "Yacc-compatible parser generator") (synopsis "Yacc-compatible parser generator")
(description (description
@ -68,17 +68,6 @@ simple tools through complex programming languages.
Bison also provides an implementation of @command{yacc}, as specified by POSIX.") Bison also provides an implementation of @command{yacc}, as specified by POSIX.")
(license gpl3+))) (license gpl3+)))
(define-public bison-3.6
(package
(inherit bison)
(version "3.6.3")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://gnu/bison/bison-" version ".tar.xz"))
(sha256
(base32 "0gdpnjh6ra9xa9vj6hzjdf0c04x4pjyy8vssm3qdb7fya4v7knq6"))))))
(define-public bison-3.0 (define-public bison-3.0
(package (package
(inherit bison) (inherit bison)

View file

@ -8,7 +8,7 @@
;;; Copyright © 2017 Jelle Licht <jlicht@fsfe.org> ;;; Copyright © 2017 Jelle Licht <jlicht@fsfe.org>
;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com> ;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
;;; Copyright © 2018 Nam Nguyen <namn@berkeley.edu> ;;; Copyright © 2018 Nam Nguyen <namn@berkeley.edu>
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2018, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019, 2020 Brett Gilio <brettg@gnu.org> ;;; Copyright © 2019, 2020 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com> ;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2021 Justin Veilleux <terramorpha@cock.li> ;;; Copyright © 2021 Justin Veilleux <terramorpha@cock.li>
@ -93,6 +93,10 @@
(list (string-append "--localedir=" (list (string-append "--localedir="
(assoc-ref %outputs "gui") (assoc-ref %outputs "gui")
"/share/locale")) "/share/locale"))
;; Some tests segfault when using libevent 2.12 without internet
;; connection. This has been reported mainstream but not fixed yet:
;; https://github.com/transmission/transmission/issues/1437.
#:tests? #f
#:glib-or-gtk-wrap-excluded-outputs '("out") #:glib-or-gtk-wrap-excluded-outputs '("out")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
@ -118,14 +122,9 @@
(string-append gui "/share/man/man1/transmission-gtk.1")) (string-append gui "/share/man/man1/transmission-gtk.1"))
#t)))))) #t))))))
(inputs (inputs
`(("libevent" ,libevent) (list libevent curl openssl zlib gtk+))
("curl" ,curl)
("openssl" ,openssl)
("zlib" ,zlib)
("gtk+" ,gtk+)))
(native-inputs (native-inputs
`(("intltool" ,intltool) (list intltool pkg-config))
("pkg-config" ,pkg-config)))
(home-page "https://transmissionbt.com/") (home-page "https://transmissionbt.com/")
(synopsis "Fast and easy BitTorrent client") (synopsis "Fast and easy BitTorrent client")
(description (description
@ -147,26 +146,21 @@ DHT, µTP, PEX and Magnet Links.")
(define-public transmission-remote-gtk (define-public transmission-remote-gtk
(package (package
(name "transmission-remote-gtk") (name "transmission-remote-gtk")
(version "1.4.1") (version "1.4.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/transmission-remote-gtk/" (uri (string-append "https://github.com/transmission-remote-gtk/"
"transmission-remote-gtk/releases/download/" "transmission-remote-gtk/releases/download/"
version "/transmission-remote-gtk-" version version "/transmission-remote-gtk-" version
".tar.xz")) ".tar.gz"))
(patches (search-patches "transmission-remote-gtk-fix-appstream.patch"))
(sha256 (sha256
(base32 "1aqjl5rgamgcgqvcldd1gzyfh2xci0m7070924d6vz2qln0q75sr")))) (base32 "0qz9wi70qc6vgnaymivc3xz6y86c9hglk6wjv3snnqxpxmp9saay"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("gettext" ,gnu-gettext) (list gnu-gettext pkg-config))
("pkg-config" ,pkg-config)))
(inputs (inputs
`(("appstream-glib" ,appstream-glib) (list appstream-glib curl gtk+ json-glib))
("curl" ,curl)
("gtk+" ,gtk+)
("json-glib" ,json-glib)))
(synopsis "Gtk frontend to the Transmission daemon") (synopsis "Gtk frontend to the Transmission daemon")
(description "transmission-remote-gtk is a GTK client for remote management (description "transmission-remote-gtk is a GTK client for remote management
of the Transmission BitTorrent client, using its HTTP RPC protocol.") of the Transmission BitTorrent client, using its HTTP RPC protocol.")
@ -186,10 +180,8 @@ of the Transmission BitTorrent client, using its HTTP RPC protocol.")
(base32 (base32
"10z9i1rc41cmmi7nx8k7k1agsx6afv09g9cl7g9zr35fyhl5l4gd")))) "10z9i1rc41cmmi7nx8k7k1agsx6afv09g9cl7g9zr35fyhl5l4gd"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("openssl" ,openssl) (inputs (list openssl zlib))
("zlib" ,zlib))) (native-inputs (list pkg-config cppunit))
(native-inputs `(("pkg-config" ,pkg-config)
("cppunit" ,cppunit)))
(synopsis "BitTorrent library of rtorrent") (synopsis "BitTorrent library of rtorrent")
(description (description
"LibTorrent is a BitTorrent library used by and developed in parallel "LibTorrent is a BitTorrent library used by and developed in parallel
@ -211,14 +203,13 @@ speed and efficiency.")
(base32 (base32
"1bs2fnf4q7mlhkhzp3i1v052v9xn8qa7g845pk9ia8hlpw207pwy")))) "1bs2fnf4q7mlhkhzp3i1v052v9xn8qa7g845pk9ia8hlpw207pwy"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("libtorrent" ,libtorrent) (inputs (list libtorrent
("ncurses" ,ncurses) ncurses
("curl" ,curl) curl
("cyrus-sasl" ,cyrus-sasl) cyrus-sasl
("openssl" ,openssl) openssl
("zlib" ,zlib))) zlib))
(native-inputs `(("pkg-config" ,pkg-config) (native-inputs (list pkg-config cppunit))
("cppunit" ,cppunit)))
(synopsis "BitTorrent client with ncurses interface") (synopsis "BitTorrent client with ncurses interface")
(description (description
"rTorrent is a BitTorrent client with an ncurses interface. It supports "rTorrent is a BitTorrent client with an ncurses interface. It supports
@ -252,7 +243,7 @@ XML-RPC over SCGI.")
(delete 'configure) (delete 'configure)
(delete 'build)))) (delete 'build))))
(inputs (inputs
`(("python" ,python))) (list python))
(synopsis "Console client for the Transmission BitTorrent daemon") (synopsis "Console client for the Transmission BitTorrent daemon")
(description "Tremc is a console client, with a curses interface, for the (description "Tremc is a console client, with a curses interface, for the
Transmission BitTorrent daemon.") Transmission BitTorrent daemon.")
@ -331,17 +322,17 @@ maintained upstream.")
(string-append "// " text))) (string-append "// " text)))
#t))))) #t)))))
(native-inputs (native-inputs
`(("cppunit" ,cppunit) ; for the tests (list cppunit ; for the tests
("pkg-config" ,pkg-config))) pkg-config))
(inputs (inputs
`(("c-ares" ,c-ares) (list c-ares
("gnutls" ,gnutls) gnutls
("gmp" ,gmp) gmp
("libssh2" ,libssh2) libssh2
("libxml2" ,libxml2) libxml2
("nettle" ,nettle) nettle
("sqlite" ,sqlite) sqlite
("zlib" ,zlib))) zlib))
(home-page "https://aria2.github.io/") (home-page "https://aria2.github.io/")
(synopsis "Utility for parallel downloading files") (synopsis "Utility for parallel downloading files")
(description (description
@ -363,18 +354,19 @@ Aria2 can be manipulated via built-in JSON-RPC and XML-RPC interfaces.")
(sha256 (sha256
(base32 "0dlrjhnm1pg2vwmp7nl2xv1aia5hyirb3021rl46x859k63zap24")))) (base32 "0dlrjhnm1pg2vwmp7nl2xv1aia5hyirb3021rl46x859k63zap24"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments
`(#:configure-flags '("CFLAGS=-fcommon")))
(inputs (inputs
`(("curl" ,curl) (list curl
("gtk+" ,gtk+) gtk+
("glib" ,glib) glib
("gnutls" ,gnutls) gnutls
("gstreamer" ,gstreamer) gstreamer
("libgcrypt" ,libgcrypt) libgcrypt
("libnotify" ,libnotify) libnotify
("openssl" ,openssl))) openssl))
(native-inputs (native-inputs
`(("intltool" ,intltool) (list intltool pkg-config))
("pkg-config" ,pkg-config)))
(home-page "https://ugetdm.com/") (home-page "https://ugetdm.com/")
(synopsis "Universal download manager with GTK+ interface") (synopsis "Universal download manager with GTK+ interface")
(description (description
@ -434,8 +426,7 @@ and will take advantage of multiple processor cores where possible.")
(base32 "0gwm4w7337ykh5lfnspapnnz6a35g7yay3wnj126s8s5kcsvy9wy")))) (base32 "0gwm4w7337ykh5lfnspapnnz6a35g7yay3wnj126s8s5kcsvy9wy"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:cmake ,cmake ;3.17 or later `(#:configure-flags '("-Dpython-bindings=ON"
#:configure-flags '("-Dpython-bindings=ON"
"-Dbuild_tests=ON") "-Dbuild_tests=ON")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
@ -455,8 +446,7 @@ and will take advantage of multiple processor cores where possible.")
"-j" (if parallel-tests? "-j" (if parallel-tests?
(number->string (parallel-job-count)) (number->string (parallel-job-count))
"1"))))))))) "1")))))))))
(inputs `(("boost" ,boost) (inputs (list boost openssl))
("openssl" ,openssl)))
(native-inputs `(("libfaketime" ,libfaketime) (native-inputs `(("libfaketime" ,libfaketime)
("python" ,python-wrapper) ("python" ,python-wrapper)
("pkg-config" ,pkg-config))) ("pkg-config" ,pkg-config)))
@ -502,8 +492,7 @@ desktops.")
(wrap-qt-program "qbittorrent" #:output out #:inputs inputs)) (wrap-qt-program "qbittorrent" #:output out #:inputs inputs))
#t))))) #t)))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) (list pkg-config qttools))
("qttools" ,qttools)))
(inputs (inputs
`(("boost" ,boost) `(("boost" ,boost)
("libtorrent-rasterbar" ,libtorrent-rasterbar) ("libtorrent-rasterbar" ,libtorrent-rasterbar)
@ -556,8 +545,7 @@ features.")
("python-twisted" ,python-twisted) ("python-twisted" ,python-twisted)
("python-zope-interface" ,python-zope-interface))) ("python-zope-interface" ,python-zope-interface)))
(native-inputs (native-inputs
`(("intltool" ,intltool) (list intltool python-wheel))
("python-wheel" ,python-wheel)))
;; TODO: Enable tests. ;; TODO: Enable tests.
;; After "pytest-twisted" is packaged, HOME is set, and an X server is ;; After "pytest-twisted" is packaged, HOME is set, and an X server is
;; started, some of the tests still fail. There are likely some tests ;; started, some of the tests still fail. There are likely some tests

View file

@ -3,17 +3,19 @@
;;; Copyright © 2014, 2015, 2018 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2014, 2015, 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org> ;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2015, 2019, 2020 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2015, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be> ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2018, 2019, 2021 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2018, 2019, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2018, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2018, 2020 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2018, 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com> ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2019, 2020 Giacomo Leidi <goodoldpaul@autistici.org> ;;; Copyright © 2019, 2020 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de> ;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
;;; Copyright © 2021 Franck Pérignon <franck.perignon@univ-grenoble-alpes.fr> ;;; Copyright © 2021 Franck Pérignon <franck.perignon@univ-grenoble-alpes.fr>
;;; Copyright © 2021 Greg Hogan <code@greghogan.com> ;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
;;; ;;;
@ -65,29 +67,22 @@
(define-public boost (define-public boost
(package (package
(name "boost") (name "boost")
(version "1.72.0") (version "1.77.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://boostorg.jfrog.io/artifactory/main/release/" (uri (string-append "https://boostorg.jfrog.io/artifactory/main/release/"
version "/source/boost_" version "/source/boost_"
(version-with-underscores version) ".tar.bz2")) (version-with-underscores version) ".tar.bz2"))
(patches
(list (boost-patch
;; 1.72.0 was released with a faulty coroutine submodule:
;; <https://github.com/boostorg/coroutine/issues/46>.
"0001-revert-cease-dependence-on-range.patch" version
"1zcqxzh56m1s635wqwk15j3zcs2gmjvjy2f0hid7i78s4pgm0yfs")))
(sha256 (sha256
(base32 (base32
"08h7cv61fd0lzb4z50xanfqn0pdgvizjrpd1kcdgj725pisb5jar")))) "0m08hhk3l7zvzajyk39qlw566q3fhixayhc2j11328qf0gy8b7zw"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("icu4c" ,icu4c) (inputs (list icu4c zlib))
("zlib" ,zlib)))
(native-inputs (native-inputs
`(("perl" ,perl) `(("perl" ,perl)
,@(if (%current-target-system) ,@(if (%current-target-system)
'() '()
`(("python" ,python-wrapper))) `(("python" ,python-minimal-wrapper)))
("tcsh" ,tcsh))) ("tcsh" ,tcsh)))
(arguments (arguments
`(#:imported-modules ((guix build python-build-system) `(#:imported-modules ((guix build python-build-system)
@ -128,8 +123,7 @@
(out (assoc-ref outputs "out"))) (out (assoc-ref outputs "out")))
(substitute* '("libs/config/configure" (substitute* '("libs/config/configure"
"libs/spirit/classic/phoenix/test/runtest.sh" "libs/spirit/classic/phoenix/test/runtest.sh"
"tools/build/src/engine/execunix.cpp" "tools/build/src/engine/execunix.cpp")
"tools/build/src/engine/Jambase")
(("/bin/sh") (which "sh"))) (("/bin/sh") (which "sh")))
(setenv "SHELL" (which "sh")) (setenv "SHELL" (which "sh"))
@ -144,13 +138,9 @@
'()) '())
;; Change an #ifdef __MACH__ that really targets macOS. ;; Change an #ifdef __MACH__ that really targets macOS.
;; TODO: Inline this on the next rebuild cycle. (substitute* "boost/test/utils/timer.hpp"
,@(if (hurd-target?)
'((substitute* "boost/test/utils/timer.hpp"
(("defined\\(__MACH__\\)") (("defined\\(__MACH__\\)")
"(defined __MACH__ && !defined __GNU__)")) "(defined __MACH__ && !defined __GNU__)"))
#t)
'())
(invoke "./bootstrap.sh" (invoke "./bootstrap.sh"
(string-append "--prefix=" out) (string-append "--prefix=" out)
@ -192,8 +182,7 @@
(symlink libboost_pythonNN.so (symlink libboost_pythonNN.so
(string-append "libboost_python" (string-append "libboost_python"
(string-take python-version 1) (string-take python-version 1)
".so"))) ".so")))))))))))
#t))))))))
(home-page "https://www.boost.org") (home-page "https://www.boost.org")
(synopsis "Peer-reviewed portable C++ source libraries") (synopsis "Peer-reviewed portable C++ source libraries")
@ -226,9 +215,7 @@ across a broad spectrum of applications.")
("libcxxabi" ,libcxxabi-6) ("libcxxabi" ,libcxxabi-6)
("zlib" ,zlib))) ("zlib" ,zlib)))
(native-inputs (native-inputs
`(("clang" ,clang-6) (list clang-6 perl tcsh))
("perl" ,perl)
("tcsh" ,tcsh)))
(arguments (arguments
`(#:tests? #f `(#:tests? #f
#:make-flags #:make-flags
@ -247,8 +234,7 @@ across a broad spectrum of applications.")
(let ((gcc (assoc-ref (or native-inputs inputs) "gcc"))) (let ((gcc (assoc-ref (or native-inputs inputs) "gcc")))
(setenv "CPLUS_INCLUDE_PATH" (setenv "CPLUS_INCLUDE_PATH"
(string-join (string-join
(cons (string-append (assoc-ref inputs "libcxx") (cons (search-input-directory inputs "/include/c++/v1")
"/include/c++/v1")
;; Hide GCC's C++ headers so that they do not interfere with ;; Hide GCC's C++ headers so that they do not interfere with
;; the Clang headers. ;; the Clang headers.
(delete (string-append gcc "/include/c++") (delete (string-append gcc "/include/c++")
@ -262,7 +248,7 @@ across a broad spectrum of applications.")
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let ((icu (assoc-ref inputs "icu4c")) (let ((icu (assoc-ref inputs "icu4c"))
(out (assoc-ref outputs "out")) (out (assoc-ref outputs "out"))
(sh (string-append (assoc-ref inputs "bash") "/bin/sh"))) (sh (search-input-file inputs "/bin/sh")))
(substitute* '("libs/config/configure" (substitute* '("libs/config/configure"
"libs/spirit/classic/phoenix/test/runtest.sh" "libs/spirit/classic/phoenix/test/runtest.sh"
"tools/build/src/engine/execunix.c" "tools/build/src/engine/execunix.c"
@ -288,6 +274,9 @@ across a broad spectrum of applications.")
(lambda* (#:key make-flags #:allow-other-keys) (lambda* (#:key make-flags #:allow-other-keys)
(apply invoke "./b2" "install" make-flags)))))))) (apply invoke "./b2" "install" make-flags))))))))
(define-public boost-with-python3
(deprecated-package "boost-with-python3" boost))
(define-public boost-with-python2 (define-public boost-with-python2
(package/inherit boost (package/inherit boost
(name "boost-python2") (name "boost-python2")
@ -470,7 +459,7 @@ signals and slots system.")
"03b8i43pw4m767mm0cnbi77x7qhpkzpi9b1f6dpp4cmyszmnsk8l")))) "03b8i43pw4m767mm0cnbi77x7qhpkzpi9b1f6dpp4cmyszmnsk8l"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(propagated-inputs (propagated-inputs
`(("boost" ,boost))) ; inclusion of header files (list boost)) ; inclusion of header files
(home-page "https://gitlab.com/mdds/mdds") (home-page "https://gitlab.com/mdds/mdds")
(synopsis "Multi-dimensional C++ data structures and indexing algorithms") (synopsis "Multi-dimensional C++ data structures and indexing algorithms")
(description "Mdds (multi-dimensional data structure) provides a (description "Mdds (multi-dimensional data structure) provides a

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015, 2018 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2015, 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Leo Famulari <leo@famulari.name> ;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
;;; Copyright © 2016, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2016, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
@ -114,6 +114,8 @@
;; calling the true binary instead. Python is only needed during ;; calling the true binary instead. Python is only needed during
;; bootstrapping (for genptl.py), not when building from a release. ;; bootstrapping (for genptl.py), not when building from a release.
(list "PYTHON=true") (list "PYTHON=true")
;; Grub fails to load modules stripped with --strip-unneeded.
#:strip-flags '("--strip-debug" "--enable-deterministic-archives")
#:phases (modify-phases %standard-phases #:phases (modify-phases %standard-phases
(add-after 'unpack 'patch-stuff (add-after 'unpack 'patch-stuff
(lambda* (#:key native-inputs inputs #:allow-other-keys) (lambda* (#:key native-inputs inputs #:allow-other-keys)
@ -140,9 +142,9 @@
;; Give the absolute file name of 'ckbcomp'. ;; Give the absolute file name of 'ckbcomp'.
(substitute* "util/grub-kbdcomp.in" (substitute* "util/grub-kbdcomp.in"
(("^ckbcomp ") (("^ckbcomp ")
(string-append (assoc-ref inputs "console-setup") (string-append
"/bin/ckbcomp "))) (search-input-file inputs "/bin/ckbcomp")
#t)) " ")))))
(add-after 'unpack 'set-freetype-variables (add-after 'unpack 'set-freetype-variables
;; These variables need to be set to the native versions ;; These variables need to be set to the native versions
;; of the dependencies because they are used to build ;; of the dependencies because they are used to build
@ -261,11 +263,11 @@ menu to select one of the installed operating systems.")
(inherit grub) (inherit grub)
(name "grub-minimal") (name "grub-minimal")
(inputs (inputs
(fold alist-delete (package-inputs grub) (modify-inputs (package-inputs grub)
'("lvm2" "mdadm" "fuse" "console-setup"))) (delete "lvm2" "mdadm" "fuse" "console-setup")))
(native-inputs (native-inputs
(fold alist-delete (package-native-inputs grub) (modify-inputs (package-native-inputs grub)
'("help2man" "texinfo" "parted" "qemu" "xorriso"))) (delete "help2man" "texinfo" "parted" "qemu" "xorriso")))
(arguments (arguments
(substitute-keyword-arguments (package-arguments grub) (substitute-keyword-arguments (package-arguments grub)
((#:configure-flags _ ''()) ((#:configure-flags _ ''())
@ -293,9 +295,8 @@ menu to select one of the installed operating systems.")
(name "grub-efi") (name "grub-efi")
(synopsis "GRand Unified Boot loader (UEFI version)") (synopsis "GRand Unified Boot loader (UEFI version)")
(inputs (inputs
`(("efibootmgr" ,efibootmgr) (modify-inputs (package-inputs grub)
("mtools" ,mtools) (prepend efibootmgr mtools)))
,@(package-inputs grub)))
(arguments (arguments
`(;; TODO: Tests need a UEFI firmware for qemu. There is one at `(;; TODO: Tests need a UEFI firmware for qemu. There is one at
;; https://github.com/tianocore/edk2/tree/master/OvmfPkg . ;; https://github.com/tianocore/edk2/tree/master/OvmfPkg .
@ -316,9 +317,8 @@ menu to select one of the installed operating systems.")
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "grub-core/osdep/unix/platform.c" (substitute* "grub-core/osdep/unix/platform.c"
(("efibootmgr") (("efibootmgr")
(string-append (assoc-ref inputs "efibootmgr") (search-input-file inputs
"/sbin/efibootmgr"))) "/sbin/efibootmgr")))))
#t))
(add-after 'patch-stuff 'use-absolute-mtools-path (add-after 'patch-stuff 'use-absolute-mtools-path
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(let ((mtools (assoc-ref inputs "mtools"))) (let ((mtools (assoc-ref inputs "mtools")))
@ -343,8 +343,8 @@ menu to select one of the installed operating systems.")
(name "grub-hybrid") (name "grub-hybrid")
(synopsis "GRand Unified Boot loader (hybrid version)") (synopsis "GRand Unified Boot loader (hybrid version)")
(inputs (inputs
`(("grub" ,grub) (modify-inputs (package-inputs grub-efi)
,@(package-inputs grub-efi))) (prepend grub)))
(arguments (arguments
(substitute-keyword-arguments (package-arguments grub-efi) (substitute-keyword-arguments (package-arguments grub-efi)
((#:modules modules `((guix build utils) (guix build gnu-build-system))) ((#:modules modules `((guix build utils) (guix build gnu-build-system)))
@ -353,7 +353,7 @@ menu to select one of the installed operating systems.")
`(modify-phases ,phases `(modify-phases ,phases
(add-after 'install 'install-non-efi (add-after 'install 'install-non-efi
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let ((input-dir (string-append (assoc-ref inputs "grub") (let ((input-dir (search-input-directory inputs
"/lib/grub")) "/lib/grub"))
(output-dir (string-append (assoc-ref outputs "out") (output-dir (string-append (assoc-ref outputs "out")
"/lib/grub"))) "/lib/grub")))
@ -379,7 +379,10 @@ menu to select one of the installed operating systems.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0k8dvafd6410kqxf3kyr4y8jzmpmrih6wbjqg6gklak7945yflrc")))) "0k8dvafd6410kqxf3kyr4y8jzmpmrih6wbjqg6gklak7945yflrc"))
(patches
(search-patches "syslinux-gcc10.patch"
"syslinux-strip-gnu-property.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("nasm" ,nasm) `(("nasm" ,nasm)
@ -399,6 +402,7 @@ menu to select one of the installed operating systems.")
(string-append "MANDIR=" %output "/share/man") (string-append "MANDIR=" %output "/share/man")
"PERL=perl" "PERL=perl"
"bios") "bios")
#:strip-flags '("--strip-debug" "--enable-deterministic-archives")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'patch-files (add-after 'unpack 'patch-files
@ -450,14 +454,14 @@ menu to select one of the installed operating systems.")
"0wrl43rvd8nnm1v1wyfdr17vk8q7ymib62vli6da8n9ni4lwbkk5")))) "0wrl43rvd8nnm1v1wyfdr17vk8q7ymib62vli6da8n9ni4lwbkk5"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("bison" ,bison) (list bison
("flex" ,flex) flex
("libyaml" ,libyaml) libyaml
("pkg-config" ,pkg-config) pkg-config
("swig" ,swig) swig
("valgrind" ,valgrind))) valgrind))
(inputs (inputs
`(("python" ,python))) (list python))
(arguments (arguments
`(#:make-flags `(#:make-flags
(list (string-append "CC=" ,(cc-for-target)) (list (string-append "CC=" ,(cc-for-target))
@ -551,8 +555,8 @@ also initializes the boards (RAM etc).")
(inherit u-boot) (inherit u-boot)
(name "u-boot-tools") (name "u-boot-tools")
(native-inputs (native-inputs
`(("sdl2" ,sdl2) (modify-inputs (package-native-inputs u-boot)
,@(package-native-inputs u-boot))) (prepend sdl2)))
(arguments (arguments
`(#:make-flags '("HOSTCC=gcc") `(#:make-flags '("HOSTCC=gcc")
#:test-target "tcheck" #:test-target "tcheck"
@ -894,9 +898,8 @@ to Novena upstream, does not load u-boot.img from the first partition.")
`(modify-phases ,phases `(modify-phases ,phases
(add-after 'unpack 'set-environment (add-after 'unpack 'set-environment
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(setenv "BL31" (string-append (assoc-ref inputs "firmware") (setenv "BL31"
"/bl31.elf")) (search-input-file inputs "/bl31.elf"))))
#t))
;; Phases do not succeed on the bl31 ELF. ;; Phases do not succeed on the bl31 ELF.
(delete 'strip) (delete 'strip)
(delete 'validate-runpath))))) (delete 'validate-runpath)))))
@ -933,10 +936,8 @@ to Novena upstream, does not load u-boot.img from the first partition.")
`(modify-phases ,phases `(modify-phases ,phases
(add-after 'unpack 'set-environment (add-after 'unpack 'set-environment
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(let ((bl31 (string-append (assoc-ref inputs "firmware") (let ((bl31 (search-input-file inputs "/bl31.elf")))
"/bl31.elf"))) (setenv "BL31" bl31))))))))
(setenv "BL31" bl31))
#t))))))
(native-inputs (native-inputs
`(("firmware" ,arm-trusted-firmware-rk3328) `(("firmware" ,arm-trusted-firmware-rk3328)
,@(package-native-inputs base)))))) ,@(package-native-inputs base))))))
@ -951,9 +952,7 @@ to Novena upstream, does not load u-boot.img from the first partition.")
`(modify-phases ,phases `(modify-phases ,phases
(add-after 'unpack 'set-environment (add-after 'unpack 'set-environment
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(setenv "BL31" (string-append (assoc-ref inputs "firmware") (setenv "BL31" (search-input-file inputs "/bl31.elf"))))
"/bl31.elf"))
#t))
;; Phases do not succeed on the bl31 ELF. ;; Phases do not succeed on the bl31 ELF.
(delete 'strip) (delete 'strip)
(delete 'validate-runpath))))) (delete 'validate-runpath)))))
@ -971,9 +970,8 @@ to Novena upstream, does not load u-boot.img from the first partition.")
`(modify-phases ,phases `(modify-phases ,phases
(add-after 'unpack 'set-environment (add-after 'unpack 'set-environment
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(setenv "BL31" (string-append (assoc-ref inputs "firmware") (setenv "BL31"
"/bl31.elf")) (search-input-file inputs "/bl31.elf"))))
#t))
;; Phases do not succeed on the bl31 ELF. ;; Phases do not succeed on the bl31 ELF.
(delete 'strip) (delete 'strip)
(delete 'validate-runpath))))) (delete 'validate-runpath)))))
@ -991,9 +989,8 @@ to Novena upstream, does not load u-boot.img from the first partition.")
`(modify-phases ,phases `(modify-phases ,phases
(add-after 'unpack 'set-environment (add-after 'unpack 'set-environment
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(setenv "BL31" (string-append (assoc-ref inputs "firmware") (setenv "BL31"
"/bl31.elf")) (search-input-file inputs "/bl31.elf"))))
#t))
;; Phases do not succeed on the bl31 ELF. ;; Phases do not succeed on the bl31 ELF.
(delete 'strip) (delete 'strip)
(delete 'validate-runpath))))) (delete 'validate-runpath)))))
@ -1265,9 +1262,7 @@ order to add a suitable bootloader menu entry.")
(lambda _ (chdir "..") #t))) (lambda _ (chdir "..") #t)))
#:tests? #f)) ; no test suite #:tests? #f)) ; no test suite
(native-inputs (native-inputs
`(("perl" ,perl) (list perl syslinux xorriso))
("syslinux" ,syslinux)
("xorriso" ,xorriso)))
(home-page "https://ipxe.org") (home-page "https://ipxe.org")
(synopsis "PXE-compliant network boot firmware") (synopsis "PXE-compliant network boot firmware")
(description "iPXE is a network boot firmware. It provides a full PXE (description "iPXE is a network boot firmware. It provides a full PXE

View file

@ -32,11 +32,13 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
#:use-module ((guix store) #:use-module ((guix store)
#:select (run-with-store add-to-store add-text-to-store)) #:select (%store-monad interned-file text-file store-lift))
#:use-module ((guix derivations) #:use-module ((guix derivations)
#:select (derivation derivation-input derivation->output-path)) #:select (raw-derivation derivation-input derivation->output-path))
#:use-module ((guix utils) #:select (gnu-triplet->nix-system)) #:use-module (guix utils)
#:use-module ((guix build utils) #:select (elf-file?))
#:use-module ((guix gexp) #:select (lower-object)) #:use-module ((guix gexp) #:select (lower-object))
#:use-module (guix monads)
#:use-module (guix memoization) #:use-module (guix memoization)
#:use-module (guix i18n) #:use-module (guix i18n)
#:use-module (srfi srfi-1) #:use-module (srfi srfi-1)
@ -89,6 +91,15 @@
,(base32 "1j51gv08sfg277yxj73xd564wjq3f8xwd6s9rbcg8v9gms47m4cx")) ,(base32 "1j51gv08sfg277yxj73xd564wjq3f8xwd6s9rbcg8v9gms47m4cx"))
("xz" ("xz"
,(base32 "1d779rwsrasphg5g3r37qppcqy3p7ay1jb1y83w7x4i3qsc7zjy2"))) ,(base32 "1d779rwsrasphg5g3r37qppcqy3p7ay1jb1y83w7x4i3qsc7zjy2")))
("powerpc-linux"
("bash"
,(base32 "0hwlw5lcyjzadprf5fm0cv4zb6jw667g9amnmhq0lbixasy7j72j"))
("mkdir"
,(base32 "12lfwh5p8pp06250wgi9mdvjv1jdfpd5xpmvfc0616aj0xqh09hp"))
("tar"
,(base32 "00sbmwl8qh6alxv9mw4hvj1j4yipwmw5mrw6qad8bi2pr7ya5386"))
("xz"
,(base32 "0hi47y6zh5zz137i59l5ibw92x6g54zn7ris1b1ym9rvavsasg7b")))
("armhf-linux" ("armhf-linux"
("bash" ("bash"
,(base32 "0s6f1s26g4dsrrkl39zblvwpxmbzi6n9mgqf6vxsqz42gik6bgyn")) ,(base32 "0s6f1s26g4dsrrkl39zblvwpxmbzi6n9mgqf6vxsqz42gik6bgyn"))
@ -139,6 +150,7 @@
;; This is where the bootstrap executables come from. ;; This is where the bootstrap executables come from.
'("https://git.savannah.gnu.org/cgit/guix.git/plain/gnu/packages/bootstrap/" '("https://git.savannah.gnu.org/cgit/guix.git/plain/gnu/packages/bootstrap/"
"https://alpha.gnu.org/gnu/guix/bootstrap/" "https://alpha.gnu.org/gnu/guix/bootstrap/"
"http://flashner.co.il/guix/bootstrap/"
"http://lilypond.org/janneke/guix/")) "http://lilypond.org/janneke/guix/"))
(define (bootstrap-executable-file-name system program) (define (bootstrap-executable-file-name system program)
@ -146,6 +158,7 @@
(match system (match system
("powerpc64le-linux" (string-append system "/20210106/" program)) ("powerpc64le-linux" (string-append system "/20210106/" program))
("i586-gnu" (string-append system "/20200326/" program)) ("i586-gnu" (string-append system "/20200326/" program))
("powerpc-linux" (string-append system "/20200923/bin/" program))
(_ (string-append system "/" program (_ (string-append system "/" program
"?id=44f07d1dc6806e97c4e9ee3e6be883cc59dc666e")))) "?id=44f07d1dc6806e97c4e9ee3e6be883cc59dc666e"))))
@ -341,6 +354,8 @@ or false to signal an error."
(match system (match system
("aarch64-linux" ("aarch64-linux"
"/20170217/guile-2.0.14.tar.xz") "/20170217/guile-2.0.14.tar.xz")
("powerpc-linux"
"/20200923/guile-2.0.14.tar.xz")
("armhf-linux" ("armhf-linux"
"/20150101/guile-2.0.11.tar.xz") "/20150101/guile-2.0.11.tar.xz")
("i586-gnu" ("i586-gnu"
@ -366,7 +381,9 @@ or false to signal an error."
("aarch64-linux" ("aarch64-linux"
(base32 "1giy2aprjmn5fp9c4s9r125fljw4wv6ixy5739i5bffw4jgr0f9r")) (base32 "1giy2aprjmn5fp9c4s9r125fljw4wv6ixy5739i5bffw4jgr0f9r"))
("i586-gnu" ("i586-gnu"
(base32 "0wgqpsmvg25rnqn49ap7kwd2qxccd8dr4lllzp7i3rjvgav27vac")))) (base32 "0wgqpsmvg25rnqn49ap7kwd2qxccd8dr4lllzp7i3rjvgav27vac"))
("powerpc-linux"
(base32 "1by2p7s27fbyjzfkcw8h65h4kkqh7d23kv4sgg5jppjn2qx7swq4"))))
(define (bootstrap-guile-origin system) (define (bootstrap-guile-origin system)
"Return an <origin> object for the Guile tarball of SYSTEM." "Return an <origin> object for the Guile tarball of SYSTEM."
@ -376,33 +393,26 @@ or false to signal an error."
%bootstrap-base-urls)) %bootstrap-base-urls))
(sha256 (bootstrap-guile-hash system)))) (sha256 (bootstrap-guile-hash system))))
(define (download-bootstrap-guile store system) (define (download-bootstrap-guile system)
"Return a derivation that downloads the bootstrap Guile tarball for SYSTEM." "Return a derivation that downloads the bootstrap Guile tarball for SYSTEM."
(let* ((path (bootstrap-guile-url-path system)) (let* ((path (bootstrap-guile-url-path system))
(base (basename path)) (base (basename path))
(urls (map (cut string-append <> path) %bootstrap-base-urls))) (urls (map (cut string-append <> path) %bootstrap-base-urls)))
(run-with-store store
(url-fetch urls 'sha256 (bootstrap-guile-hash system) (url-fetch urls 'sha256 (bootstrap-guile-hash system)
#:system system)))) #:system system)))
(define* (raw-build store name inputs (define* (raw-build name inputs
#:key outputs system search-paths #:key outputs system search-paths
#:allow-other-keys) #:allow-other-keys)
(define (->store file) (define (->store file)
(run-with-store store
(lower-object (bootstrap-executable file system) (lower-object (bootstrap-executable file system)
system))) system))
(let* ((tar (->store "tar")) (define (make-guile-wrapper bash guile-real)
(xz (->store "xz")) ;; The following code, run by the bootstrap guile after it is unpacked,
(mkdir (->store "mkdir")) ;; creates a wrapper for itself to set its load path. This replaces the
(bash (->store "bash")) ;; previous non-portable method based on reading the /proc/self/exe
(guile (download-bootstrap-guile store system)) ;; symlink.
;; The following code, run by the bootstrap guile after it is
;; unpacked, creates a wrapper for itself to set its load path.
;; This replaces the previous non-portable method based on
;; reading the /proc/self/exe symlink.
(make-guile-wrapper
'(begin '(begin
(use-modules (ice-9 match)) (use-modules (ice-9 match))
(match (command-line) (match (command-line)
@ -425,9 +435,15 @@ exec -a \"~a0\" ~a \"~a@\"\n"
bash out out dollar guile-real dollar))) bash out out dollar guile-real dollar)))
(chmod guile #o555) (chmod guile #o555)
(chmod bin-dir #o555)))))) (chmod bin-dir #o555))))))
(mlet* %store-monad ((tar (->store "tar"))
(xz (->store "xz"))
(mkdir (->store "mkdir"))
(bash (->store "bash"))
(guile (download-bootstrap-guile system))
(wrapper -> (make-guile-wrapper bash guile))
(builder (builder
(add-text-to-store store (text-file "build-bootstrap-guile.sh"
"build-bootstrap-guile.sh"
(format #f " (format #f "
echo \"unpacking bootstrap Guile to '$out'...\" echo \"unpacking bootstrap Guile to '$out'...\"
~a $out ~a $out
@ -444,9 +460,9 @@ $out/bin/guile --version~%"
(derivation->output-path mkdir) (derivation->output-path mkdir)
(derivation->output-path xz) (derivation->output-path xz)
(derivation->output-path tar) (derivation->output-path tar)
(format #f "~s" make-guile-wrapper) (object->string wrapper)
(derivation->output-path bash))))) (derivation->output-path bash)))))
(derivation store name (raw-derivation name
(derivation->output-path bash) `(,builder) (derivation->output-path bash) `(,builder)
#:system system #:system system
#:inputs (map derivation-input #:inputs (map derivation-input
@ -500,6 +516,8 @@ $out/bin/guile --version~%"
"/20210106/static-binaries-0-powerpc64le-linux-gnu.tar.xz") "/20210106/static-binaries-0-powerpc64le-linux-gnu.tar.xz")
("i586-gnu" ("i586-gnu"
"/20200326/static-binaries-0-i586-pc-gnu.tar.xz") "/20200326/static-binaries-0-i586-pc-gnu.tar.xz")
("powerpc-linux"
"/20200923/static-binaries.tar.xz")
(_ (_
"/20131110/static-binaries.tar.xz"))) "/20131110/static-binaries.tar.xz")))
%bootstrap-base-urls)) %bootstrap-base-urls))
@ -523,6 +541,9 @@ $out/bin/guile --version~%"
("i586-gnu" ("i586-gnu"
(base32 (base32
"17kllqnf3fg79gzy9ansgi801c46yh9c23h4d923plvb0nfm1cfn")) "17kllqnf3fg79gzy9ansgi801c46yh9c23h4d923plvb0nfm1cfn"))
("powerpc-linux"
(base32
"0kspxy0yczan2vlih6aa9hailr2inz000fqa0gn5x9d1fxxa5y8m"))
("mips64el-linux" ("mips64el-linux"
(base32 (base32
"072y4wyfsj1bs80r6vbybbafy8ya4vfy7qj25dklwk97m6g71753")))))) "072y4wyfsj1bs80r6vbybbafy8ya4vfy7qj25dklwk97m6g71753"))))))
@ -573,6 +594,8 @@ $out/bin/guile --version~%"
"/20210106/binutils-static-stripped-2.34-powerpc64le-linux-gnu.tar.xz") "/20210106/binutils-static-stripped-2.34-powerpc64le-linux-gnu.tar.xz")
("i586-gnu" ("i586-gnu"
"/20200326/binutils-static-stripped-2.34-i586-pc-gnu.tar.xz") "/20200326/binutils-static-stripped-2.34-i586-pc-gnu.tar.xz")
("powerpc-linux"
"/20200923/binutils-2.35.1.tar.xz")
(_ (_
"/20131110/binutils-2.23.2.tar.xz"))) "/20131110/binutils-2.23.2.tar.xz")))
%bootstrap-base-urls)) %bootstrap-base-urls))
@ -596,6 +619,9 @@ $out/bin/guile --version~%"
("i586-gnu" ("i586-gnu"
(base32 (base32
"11kykv1kmqc5wln57rs4klaqa13hm952smkc57qcsyss21kfjprs")) "11kykv1kmqc5wln57rs4klaqa13hm952smkc57qcsyss21kfjprs"))
("powerpc-linux"
(base32
"0asbg1c4avkrvh057mx0942xwddd136jni382zqsxzn79ls42yq8"))
("mips64el-linux" ("mips64el-linux"
(base32 (base32
"1x8kkhcxmfyzg1ddpz2pxs6fbdl6412r7x0nzbmi5n7mj8zw2gy7")))))) "1x8kkhcxmfyzg1ddpz2pxs6fbdl6412r7x0nzbmi5n7mj8zw2gy7"))))))
@ -653,6 +679,8 @@ $out/bin/guile --version~%"
"/20210106/glibc-stripped-2.31-powerpc64le-linux-gnu.tar.xz") "/20210106/glibc-stripped-2.31-powerpc64le-linux-gnu.tar.xz")
("i586-gnu" ("i586-gnu"
"/20200326/glibc-stripped-2.31-i586-pc-gnu.tar.xz") "/20200326/glibc-stripped-2.31-i586-pc-gnu.tar.xz")
("powerpc-linux"
"/20200923/glibc-2.32.tar.xz")
(_ (_
"/20131110/glibc-2.18.tar.xz"))) "/20131110/glibc-2.18.tar.xz")))
%bootstrap-base-urls)) %bootstrap-base-urls))
@ -676,6 +704,9 @@ $out/bin/guile --version~%"
("i586-gnu" ("i586-gnu"
(base32 (base32
"14ddm10lpbas8bankmn5bcrlqvz1v5dnn1qjzxb19r57vd2w5952")) "14ddm10lpbas8bankmn5bcrlqvz1v5dnn1qjzxb19r57vd2w5952"))
("powerpc-linux"
(base32
"0smmssyjrlk5cvx49586smmk81gkwff0i6r91n4rir4jm6ba25sb"))
("mips64el-linux" ("mips64el-linux"
(base32 (base32
"0k97a3whzx3apsi9n2cbsrr79ad6lh00klxph9hw4fqyp1abkdsg"))))))))) "0k97a3whzx3apsi9n2cbsrr79ad6lh00klxph9hw4fqyp1abkdsg")))))))))
@ -749,6 +780,8 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \
"/20210106/gcc-stripped-5.5.0-powerpc64le-linux-gnu.tar.xz") "/20210106/gcc-stripped-5.5.0-powerpc64le-linux-gnu.tar.xz")
("i586-gnu" ("i586-gnu"
"/20200326/gcc-stripped-5.5.0-i586-pc-gnu.tar.xz") "/20200326/gcc-stripped-5.5.0-i586-pc-gnu.tar.xz")
("powerpc-linux"
"/20200923/gcc-5.5.0.tar.xz")
(_ (_
"/20131110/gcc-4.8.2.tar.xz"))) "/20131110/gcc-4.8.2.tar.xz")))
%bootstrap-base-urls)) %bootstrap-base-urls))
@ -772,13 +805,19 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \
("i586-gnu" ("i586-gnu"
(base32 (base32
"1j2zc58wzil71a34h7c70sd68dmqvcscrw3rmn2whq79vd70zvv5")) "1j2zc58wzil71a34h7c70sd68dmqvcscrw3rmn2whq79vd70zvv5"))
("powerpc-linux"
(base32
"1p7df3yixhm87dw5sccc6yn1i9db1r9hnmsg87wq5xi4rfmirq7w"))
("mips64el-linux" ("mips64el-linux"
(base32 (base32
"1m5miqkyng45l745n0sfafdpjkqv9225xf44jqkygwsipj2cv9ks"))))))))) "1m5miqkyng45l745n0sfafdpjkqv9225xf44jqkygwsipj2cv9ks")))))))))
(native-search-paths (native-search-paths
(list (search-path-specification (list (search-path-specification
(variable "CPATH") (variable "C_INCLUDE_PATH")
(files '("include"))) (files '("include")))
(search-path-specification
(variable "CPLUS_INCLUDE_PATH")
(files '("include/c++" "include")))
(search-path-specification (search-path-specification
(variable "LIBRARY_PATH") (variable "LIBRARY_PATH")
(files '("lib" "lib64"))))) (files '("lib" "lib64")))))

View file

@ -91,7 +91,7 @@
(native-inputs (native-inputs
`(("python" ,python-2))) `(("python" ,python-2)))
(inputs (inputs
`(("lua" ,lua))) (list lua))
(home-page "https://matricks.github.io/bam/") (home-page "https://matricks.github.io/bam/")
(synopsis "Fast and flexible build system") (synopsis "Fast and flexible build system")
(description "Bam is a fast and flexible build system. Bam uses Lua to (description "Bam is a fast and flexible build system. Bam uses Lua to
@ -166,7 +166,7 @@ generate such a compilation database.")
(inputs (inputs
`(("bash" ,bash-minimal))) `(("bash" ,bash-minimal)))
(native-inputs (native-inputs
`(("coreutils" ,coreutils))) (list coreutils))
(arguments (arguments
`(#:tests? #f ; test during build `(#:tests? #f ; test during build
#:phases #:phases
@ -264,7 +264,7 @@ files and generates build instructions for the Ninja build system.")
(define-public meson (define-public meson
(package (package
(name "meson") (name "meson")
(version "0.53.2") (version "0.60.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/mesonbuild/meson/" (uri (string-append "https://github.com/mesonbuild/meson/"
@ -272,20 +272,27 @@ files and generates build instructions for the Ninja build system.")
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"07y2hh9dfn1m9g4bsy49nbn3vdmd0b2iwr8bxg19fhqq6c7q73ry")))) "0irdn7hx5a182jbvq2kmdwd1v7mljzh5fm27pg4xk879hnv6h388"))
(patches (search-patches
"meson-allow-dirs-outside-of-prefix.patch"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(;; FIXME: Tests require many additional inputs, a fix for the RUNPATH `(;; FIXME: Tests require many additional inputs and patching many
;; patch in meson-for-build, and patching many hard-coded file system ;; hard-coded file system locations in "run_unittests.py".
;; locations in "run_unittests.py".
#:tests? #f #:tests? #f
#:phases (modify-phases %standard-phases #:phases (modify-phases %standard-phases
;; Meson calls the various executables in out/bin through the ;; Meson calls the various executables in out/bin through the
;; Python interpreter, so we cannot use the shell wrapper. ;; Python interpreter, so we cannot use the shell wrapper.
(delete 'wrap)))) (delete 'wrap))))
(inputs `(("ninja" ,ninja))) (inputs (list ninja))
(propagated-inputs `(("python" ,python)))
;; XXX: Python is propagated just to 'GUIX_PYTHONPATH' is set (!).
;; MESON-WRAPPED below fixes that by wrapping the 'meson' executable.
;; TODO: Make MESON-WRAPPED the new MESON on the next core update cycle.
(propagated-inputs (list python))
(home-page "https://mesonbuild.com/") (home-page "https://mesonbuild.com/")
(properties '((hidden? . #t)))
(synopsis "Build system designed to be fast and user-friendly") (synopsis "Build system designed to be fast and user-friendly")
(description (description
"The Meson build system is focused on user-friendliness and speed. "The Meson build system is focused on user-friendliness and speed.
@ -296,12 +303,37 @@ files}, are written in a custom domain-specific language (@dfn{DSL}) that
resembles Python.") resembles Python.")
(license license:asl2.0))) (license license:asl2.0)))
;; Added temporarily for packages that need it. (define-public meson-wrapped
;; TODO: Remove when core-updates is merged. (package/inherit meson
(define-public meson-0.55 (propagated-inputs '()) ;don't propagate Python
(package (inputs (modify-inputs (package-inputs meson)
(inherit meson) (prepend python-wrapper)))
(version "0.55.1") (arguments
`(;; FIXME: Tests require many additional inputs and patching many
;; hard-coded file system locations in "run_unittests.py".
#:tests? #f
#:phases (modify-phases %standard-phases
;; Meson calls the various executables in out/bin through the
;; Python interpreter, so we cannot use the shell wrapper.
(replace 'wrap
(lambda* (#:key outputs inputs #:allow-other-keys)
(let ((python-version
(python-version (assoc-ref inputs "python")))
(output (assoc-ref outputs "out")))
(substitute* (string-append output "/bin/meson")
(("# EASY-INSTALL-ENTRY-SCRIPT")
(format #f "\
import sys
sys.path.insert(0, '~a/lib/python~a/site-packages')
# EASY-INSTALL-ENTRY-SCRIPT"
output python-version)))))))))
(properties '())))
;;; This older Meson variant is kept for now for gtkmm and others that may
;;; have problems with 0.60.
(define-public meson-0.59
(package/inherit meson
(version "0.59.4")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/mesonbuild/meson/" (uri (string-append "https://github.com/mesonbuild/meson/"
@ -309,31 +341,9 @@ resembles Python.")
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1070kjiirxxdfppmrhi3wsc6rykay1zlciqrzayjhjg0hkw42mrv")))))) "117cm8794h291lca1wljz1pwnzidgbvrpg3mw3np6ksma368hyd7"))
(patches (search-patches
(define-public meson-next "meson-allow-dirs-outside-of-prefix.patch"))))))
(package
(inherit meson)
(version "0.57.2")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/mesonbuild/meson/"
"releases/download/" version "/meson-"
version ".tar.gz"))
(sha256
(base32
"1iac7p99zfgkznq4qlnkk7b8xwwlilcrnkf33sczm56yqnqyg0rs"))))))
(define-public meson-for-build
(package
(inherit meson)
(name "meson-for-build")
(source (origin
(inherit (package-source meson))
(patches (search-patches "meson-for-build-rpath.patch"))))
;; People should probably install "meson", not "meson-for-build".
(properties `((hidden? . #t)))))
(define-public premake4 (define-public premake4
(package (package
@ -348,7 +358,7 @@ resembles Python.")
"1017rd0wsjfyq2jvpjjhpszaa7kmig6q1nimw76qx3cjz2868lrn")))) "1017rd0wsjfyq2jvpjjhpszaa7kmig6q1nimw76qx3cjz2868lrn"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("unzip" ,unzip))) ; for unpacking the source (list unzip)) ; for unpacking the source
(arguments (arguments
`(#:make-flags (list (string-append "CC=" ,(cc-for-target))) `(#:make-flags (list (string-append "CC=" ,(cc-for-target)))
#:tests? #f ; No test suite #:tests? #f ; No test suite
@ -455,12 +465,11 @@ other lower-level build files.")))
(display "au BufNewFile,BufRead Tupfile,*.tup setf tup"))) (display "au BufNewFile,BufRead Tupfile,*.tup setf tup")))
#t)))))) #t))))))
(inputs (inputs
`(("fuse" ,fuse) (list fuse pcre
("pcre" ,pcre) `(,pcre "bin") ; pcre-config
("pcre" ,pcre "bin") ; pcre-config sqlite))
("sqlite" ,sqlite)))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(home-page "http://gittup.org/tup/") (home-page "http://gittup.org/tup/")
(synopsis "Fast build system that's hard to get wrong") (synopsis "Fast build system that's hard to get wrong")
(description "Tup is a generic build system based on a directed acyclic (description "Tup is a generic build system based on a directed acyclic
@ -497,11 +506,9 @@ a build worked by accident.")
(string-append bin "osc")) (string-append bin "osc"))
#t)))))) #t))))))
(native-inputs (native-inputs
`(("python-chardet" ,python-chardet))) (list python-chardet))
(inputs (inputs
`(("python-m2crypto" ,python-m2crypto) (list python-m2crypto python-pycurl rpm)) ; for python-rpm
("python-pycurl" ,python-pycurl)
("rpm" ,rpm))) ; for python-rpm
(home-page "https://github.com/openSUSE/osc") (home-page "https://github.com/openSUSE/osc")
(synopsis "Open Build Service command line tool") (synopsis "Open Build Service command line tool")
(description "@command{osc} is a command line interface to the Open Build (description "@command{osc} is a command line interface to the Open Build
@ -530,10 +537,9 @@ be reached via direct API calls.")
(substitute* "setup.py" (("^ *'shutilwhich'\n") "")) (substitute* "setup.py" (("^ *'shutilwhich'\n") ""))
(substitute* "compiledb/compiler.py" (("shutilwhich") "shutil"))))))) (substitute* "compiledb/compiler.py" (("shutilwhich") "shutil")))))))
(propagated-inputs (propagated-inputs
`(("python-bashlex" ,python-bashlex) (list python-bashlex python-click))
("python-click" ,python-click)))
(native-inputs (native-inputs
`(("python-pytest" ,python-pytest))) (list python-pytest))
(home-page (home-page
"https://github.com/nickdiego/compiledb") "https://github.com/nickdiego/compiledb")
(synopsis (synopsis

View file

@ -106,11 +106,11 @@
(apply invoke "make" (apply invoke "make"
(string-append "CONFIG_PREFIX=" out) (string-append "CONFIG_PREFIX=" out)
"install" make-flags))))))) "install" make-flags)))))))
(native-inputs `(("perl" ,perl) ; needed to generate the man pages (pod2man) (native-inputs (list perl ; needed to generate the man pages (pod2man)
;; The following are needed by the tests. ;; The following are needed by the tests.
("inetutils" ,inetutils) inetutils
("which" ,(@ (gnu packages base) which)) (@ (gnu packages base) which)
("zip" ,zip))) zip))
(synopsis "Many common UNIX utilities in a single executable") (synopsis "Many common UNIX utilities in a single executable")
(description "BusyBox combines tiny versions of many common UNIX utilities (description "BusyBox combines tiny versions of many common UNIX utilities
into a single small executable. It provides a fairly complete environment for into a single small executable. It provides a fairly complete environment for
@ -162,7 +162,7 @@ any small or embedded system.")
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
(delete-file-recursively (string-append out "/usr")))))) (delete-file-recursively (string-append out "/usr"))))))
#:test-target "tests")) #:test-target "tests"))
(native-inputs `(("bc" ,bc))) (native-inputs (list bc))
(synopsis "Many common UNIX utilities in a single executable") (synopsis "Many common UNIX utilities in a single executable")
(description "ToyBox combines tiny versions of many common UNIX utilities (description "ToyBox combines tiny versions of many common UNIX utilities
into a single small executable. It provides a fairly complete environment for into a single small executable. It provides a fairly complete environment for

View file

@ -69,8 +69,7 @@
(base32 (base32
"177bdhwzrnqgyrdv1dwvpd04fcxj68s5pm1dzwny6359ziway8yy")))) "177bdhwzrnqgyrdv1dwvpd04fcxj68s5pm1dzwny6359ziway8yy"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs `(("perl" ,perl) (native-inputs (list perl texinfo))
("texinfo" ,texinfo)))
(arguments (arguments
`(#:configure-flags (list (string-append "--elfinterp=" `(#:configure-flags (list (string-append "--elfinterp="
(assoc-ref %build-inputs "libc") (assoc-ref %build-inputs "libc")
@ -130,8 +129,7 @@ standard.")
(replace 'check (replace 'check
(lambda _ (invoke "make" "-C" "cc/cpp" "test") #t))))) (lambda _ (invoke "make" "-C" "cc/cpp" "test") #t)))))
(native-inputs (native-inputs
`(("bison" ,bison) (list bison flex))
("flex" ,flex)))
(synopsis "Portable C compiler") (synopsis "Portable C compiler")
(description (description
"PCC is a portable C compiler. The project goal is to write a C99 "PCC is a portable C compiler. The project goal is to write a C99
@ -162,8 +160,7 @@ compiler while still keeping it small, simple, fast and understandable.")
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
("python" ,python))) ("python" ,python)))
(inputs (inputs
`(("mpfr" ,mpfr) (list mpfr pcre2))
("pcre2" ,pcre2)))
(home-page "https://github.com/storaged-project/libbytesize") (home-page "https://github.com/storaged-project/libbytesize")
(synopsis "Tiny C library for working with arbitrary big sizes in bytes") (synopsis "Tiny C library for working with arbitrary big sizes in bytes")
(description (description
@ -205,7 +202,7 @@ language with thin bindings for other languages.")
`(#:configure-flags `(#:configure-flags
(list "--disable-static"))) (list "--disable-static")))
(inputs (inputs
`(("expat" ,expat))) (list expat))
(home-page "https://www.unidata.ucar.edu/software/udunits/") (home-page "https://www.unidata.ucar.edu/software/udunits/")
(synopsis "C library for units of physical quantities and value-conversion utils") (synopsis "C library for units of physical quantities and value-conversion utils")
(description (description
@ -238,11 +235,7 @@ Its three main components are:
"1x4q6yspi5g2s98vq4qszw4z3zjgk9l5zs8471w4d4cs6l97w08j")))) "1x4q6yspi5g2s98vq4qszw4z3zjgk9l5zs8471w4d4cs6l97w08j"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool pkg-config check))
("automake" ,automake)
("libtool" ,libtool)
("pkg-config" ,pkg-config)
("check" ,check)))
(synopsis "Thin wrapper over POSIX syscalls") (synopsis "Thin wrapper over POSIX syscalls")
(description (description
"The purpose of libfixposix is to offer replacements for parts of POSIX "The purpose of libfixposix is to offer replacements for parts of POSIX
@ -317,7 +310,7 @@ checking casts and more.")
headers) headers)
(install-file "libwuya.a" (string-append out "/lib")) (install-file "libwuya.a" (string-append out "/lib"))
#t)))))) #t))))))
(inputs `(("lua" ,lua))) (inputs (list lua))
(home-page "https://github.com/WuBingzheng/libwuya/") (home-page "https://github.com/WuBingzheng/libwuya/")
(synopsis "C library implementing various data structures") (synopsis "C library implementing various data structures")
(description "The @code{libwuya} library implements data structures such (description "The @code{libwuya} library implements data structures such
@ -368,7 +361,7 @@ as dictionaries, skip lists, and memory pools.")
(string-append out "/share/doc/packcc")) (string-append out "/share/doc/packcc"))
#t)))))) #t))))))
(native-inputs (native-inputs
`(("bats" ,bats))) (list bats))
(synopsis "Packrat parser generator for C") (synopsis "Packrat parser generator for C")
(description (description
"PackCC is a packrat parser generator for the C programming language. "PackCC is a packrat parser generator for the C programming language.
@ -398,7 +391,7 @@ any other grammar rules.")
(base32 (base32
"0z1qds52144nvsdnl82r3zs3vax618v920jmffyyssmwj54qpcka")))) "0z1qds52144nvsdnl82r3zs3vax618v920jmffyyssmwj54qpcka"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("perl" ,perl))) (inputs (list perl))
(arguments (arguments
'(#:make-flags `(,(string-append "PREFIX=" (assoc-ref %outputs "out"))) '(#:make-flags `(,(string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases (modify-phases %standard-phases #:phases (modify-phases %standard-phases
@ -441,10 +434,7 @@ releases.")
(replace 'bootstrap (replace 'bootstrap
(lambda _ (invoke "autoreconf" "-vfi")))))) (lambda _ (invoke "autoreconf" "-vfi"))))))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake pkg-config libtool))
("automake" ,automake)
("pkg-config" ,pkg-config)
("libtool" ,libtool)))
(home-page "https://github.com/rsyslog/libestr") (home-page "https://github.com/rsyslog/libestr")
(synopsis "Helper functions for handling strings") (synopsis "Helper functions for handling strings")
(description (description
@ -467,9 +457,7 @@ more, like escaping special characters.")
(base32 "12rqcdqxazw8czzxbivdapdgj19pcswpw1jp2915sxbljis83g6q")))) (base32 "12rqcdqxazw8czzxbivdapdgj19pcswpw1jp2915sxbljis83g6q"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool))
("automake" ,automake)
("libtool" ,libtool)))
(home-page "https://github.com/rsyslog/libfastjson") (home-page "https://github.com/rsyslog/libfastjson")
(synopsis "Fast JSON library for C") (synopsis "Fast JSON library for C")
(description (description
@ -500,12 +488,12 @@ with essential JSON handling functions, sufficiently good JSON support (not
(replace 'bootstrap (replace 'bootstrap
(lambda _ (invoke "autoreconf" "-vfi")))))) (lambda _ (invoke "autoreconf" "-vfi"))))))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf
("automake" ,automake) automake
("pkg-config" ,pkg-config) pkg-config
("libtool" ,libtool) libtool
;; For rst2man.py ;; For rst2man.py
("python-docutils" ,python-docutils))) python-docutils))
(home-page "https://github.com/rsyslog/liblogging") (home-page "https://github.com/rsyslog/liblogging")
(synopsis "Easy to use and lightweight signal-safe logging library") (synopsis "Easy to use and lightweight signal-safe logging library")
(description (description
@ -538,7 +526,7 @@ replacement for the syslog() call, but retains its ease of use.")
(string-append "prefix=" %output)) (string-append "prefix=" %output))
#:tests? #f)) ;no test suite #:tests? #f)) ;no test suite
(native-inputs (native-inputs
`(("perl" ,perl))) (list perl))
(home-page "https://dotat.at/prog/unifdef/") (home-page "https://dotat.at/prog/unifdef/")
(synopsis "Utility to selectively processes conditional C preprocessor") (synopsis "Utility to selectively processes conditional C preprocessor")
(description "The @command{unifdef} utility selectively processes (description "The @command{unifdef} utility selectively processes
@ -596,7 +584,7 @@ portability.")
(string-append "-DCMAKE_PREFIX_PATH=" (string-append "-DCMAKE_PREFIX_PATH="
(assoc-ref %build-inputs "aws-c-common"))))) (assoc-ref %build-inputs "aws-c-common")))))
(inputs (inputs
`(("aws-c-common" ,aws-c-common))) (list aws-c-common))
(synopsis "Amazon Web Services checksum library") (synopsis "Amazon Web Services checksum library")
(description (description
"This library provides cross-Platform hardware accelerated CRC32c and CRC32 "This library provides cross-Platform hardware accelerated CRC32c and CRC32
@ -625,12 +613,9 @@ with fallback to efficient C99 software implementations.")
(string-append "-DCMAKE_PREFIX_PATH=" (string-append "-DCMAKE_PREFIX_PATH="
(assoc-ref %build-inputs "aws-c-common"))))) (assoc-ref %build-inputs "aws-c-common")))))
(propagated-inputs (propagated-inputs
`(("aws-c-common" ,aws-c-common) (list aws-c-common aws-c-io aws-checksums))
("aws-c-io" ,aws-c-io)
("aws-checksums" ,aws-checksums)))
(inputs (inputs
`(("aws-c-cal" ,aws-c-cal) (list aws-c-cal s2n))
("s2n" ,s2n)))
(synopsis "Amazon Web Services client-server message format library") (synopsis "Amazon Web Services client-server message format library")
(description (description
"This library is a C99 implementation for @acronym{AWS,Amazon Web Services} "This library is a C99 implementation for @acronym{AWS,Amazon Web Services}
@ -661,9 +646,7 @@ communication.")
(assoc-ref %build-inputs "aws-c-common")) (assoc-ref %build-inputs "aws-c-common"))
"-DENABLE_NET_TESTS=OFF"))) "-DENABLE_NET_TESTS=OFF")))
(propagated-inputs (propagated-inputs
`(("aws-c-cal" ,aws-c-cal) (list aws-c-cal aws-c-common s2n))
("aws-c-common" ,aws-c-common)
("s2n" ,s2n)))
(synopsis "Event driven framework for implementing application protocols") (synopsis "Event driven framework for implementing application protocols")
(description "This library provides a C99 framework for constructing (description "This library provides a C99 framework for constructing
event-driven, asynchronous network application protocols.") event-driven, asynchronous network application protocols.")
@ -691,7 +674,7 @@ event-driven, asynchronous network application protocols.")
(string-append "-DCMAKE_PREFIX_PATH=" (string-append "-DCMAKE_PREFIX_PATH="
(assoc-ref %build-inputs "aws-c-common"))))) (assoc-ref %build-inputs "aws-c-common")))))
(propagated-inputs (propagated-inputs
`(("aws-c-common" ,aws-c-common))) (list aws-c-common))
(inputs (inputs
`(("openssl" ,openssl) `(("openssl" ,openssl)
("openssl:static" ,openssl "static"))) ("openssl:static" ,openssl "static")))
@ -742,8 +725,7 @@ low level functionality for coroutines.")
(assoc-ref %build-inputs "aws-c-common")) (assoc-ref %build-inputs "aws-c-common"))
"-DENABLE_NET_TESTS=OFF"))) "-DENABLE_NET_TESTS=OFF")))
(propagated-inputs (propagated-inputs
`(("aws-c-compression" ,aws-c-compression) (list aws-c-compression aws-c-io))
("aws-c-io" ,aws-c-io)))
(synopsis "Amazon Web Services HTTP library") (synopsis "Amazon Web Services HTTP library")
(description (description
"This library provides a C99 implementation of the HTTP/1.1 and HTTP/2 "This library provides a C99 implementation of the HTTP/1.1 and HTTP/2
@ -772,7 +754,7 @@ specifications.")
(string-append "-DCMAKE_PREFIX_PATH=" (string-append "-DCMAKE_PREFIX_PATH="
(assoc-ref %build-inputs "aws-c-common"))))) (assoc-ref %build-inputs "aws-c-common")))))
(propagated-inputs (propagated-inputs
`(("aws-c-common" ,aws-c-common))) (list aws-c-common))
(synopsis "Amazon Web Services compression library") (synopsis "Amazon Web Services compression library")
(description (description
"This library provides a C99 implementation of compression algorithms, "This library provides a C99 implementation of compression algorithms,
@ -805,10 +787,7 @@ currently limited to Huffman encoding and decoding.")
(assoc-ref %build-inputs "aws-c-common")) (assoc-ref %build-inputs "aws-c-common"))
"-DENABLE_NET_TESTS=OFF"))) "-DENABLE_NET_TESTS=OFF")))
(propagated-inputs (propagated-inputs
`(("aws-c-cal" ,aws-c-cal) (list aws-c-cal aws-c-common aws-c-http aws-c-io))
("aws-c-common" ,aws-c-common)
("aws-c-http" ,aws-c-http)
("aws-c-io" ,aws-c-io)))
(synopsis "Amazon Web Services client-side authentication library") (synopsis "Amazon Web Services client-side authentication library")
(description (description
"This library provides a C99 implementation for AWS client-side "This library provides a C99 implementation for AWS client-side
@ -838,8 +817,7 @@ authentication.")
(assoc-ref %build-inputs "aws-c-common")) (assoc-ref %build-inputs "aws-c-common"))
"-DENABLE_NET_TESTS=OFF"))) "-DENABLE_NET_TESTS=OFF")))
(propagated-inputs (propagated-inputs
`(("aws-c-auth" ,aws-c-auth) (list aws-c-auth aws-c-http))
("aws-c-http" ,aws-c-http)))
(synopsis "Amazon Web Services client library for Amazon S3") (synopsis "Amazon Web Services client library for Amazon S3")
(description (description
"This library provides a C99 client implementation of the Simple Storage "This library provides a C99 client implementation of the Simple Storage
@ -868,8 +846,7 @@ Service (S3) protocol for object storage.")
(string-append "-DCMAKE_PREFIX_PATH=" (string-append "-DCMAKE_PREFIX_PATH="
(assoc-ref %build-inputs "aws-c-common"))))) (assoc-ref %build-inputs "aws-c-common")))))
(propagated-inputs (propagated-inputs
`(("aws-c-http" ,aws-c-http) (list aws-c-http aws-c-io))
("aws-c-io" ,aws-c-io)))
(synopsis "Amazon Web Services MQTT library") (synopsis "Amazon Web Services MQTT library")
(description (description
"This library provides a C99 implementation of the Message Queuing "This library provides a C99 implementation of the Message Queuing

View file

@ -39,8 +39,8 @@
(sha256 (sha256
(base32 "0cgkd285x5pk62lmdx9fjxl46c5lj8wj2cqbxq7d99yb4il5fdjk")))) (base32 "0cgkd285x5pk62lmdx9fjxl46c5lj8wj2cqbxq7d99yb4il5fdjk"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("ncurses" ,ncurses))) (inputs (list ncurses))
(native-inputs `(("tzdata" ,tzdata-for-tests))) (native-inputs (list tzdata-for-tests))
(arguments (arguments
;; The ical tests all want to create a ".calcurse" directory, and may ;; The ical tests all want to create a ".calcurse" directory, and may
;; fail with "cannot create directory '.calcurse': File exists" if run ;; fail with "cannot create directory '.calcurse': File exists" if run
@ -64,8 +64,8 @@
(add-before 'check 'check-setup (add-before 'check 'check-setup
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(setenv "TZDIR" ; for test/ical-007.sh (setenv "TZDIR" ; for test/ical-007.sh
(string-append (assoc-ref inputs "tzdata") (search-input-directory inputs
"/share/zoneinfo"))))))) "share/zoneinfo")))))))
(home-page "https://www.calcurse.org") (home-page "https://www.calcurse.org")
(synopsis "Text-based calendar and scheduling") (synopsis "Text-based calendar and scheduling")
(description (description

View file

@ -80,7 +80,7 @@
;; Install pkg-config files ;; Install pkg-config files
;; https://github.com/HowardHinnant/date/pull/538 ;; https://github.com/HowardHinnant/date/pull/538
(search-patches "date-output-pkg-config-files.patch")))) (search-patches "date-output-pkg-config-files.patch"))))
(inputs `(("tzdata" ,tzdata))) (inputs (list tzdata))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
'(#:configure-flags (list "-DUSE_SYSTEM_TZ_DB=ON" '(#:configure-flags (list "-DUSE_SYSTEM_TZ_DB=ON"
@ -98,8 +98,8 @@
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "src/tz.cpp" (substitute* "src/tz.cpp"
(("/usr/share/zoneinfo") (("/usr/share/zoneinfo")
(string-append (assoc-ref inputs "tzdata") "/share/zoneinfo"))) (search-input-directory inputs
#t)) "share/zoneinfo")))))
(replace 'check (replace 'check
(lambda _ (lambda _
;; Disable test that requires checking timezone that ;; Disable test that requires checking timezone that
@ -118,7 +118,7 @@ the <tz.h> library for handling time zones and leap seconds.")
(define-public libical (define-public libical
(package (package
(name "libical") (name "libical")
(version "3.0.8") (version "3.0.10")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -126,7 +126,7 @@ the <tz.h> library for handling time zones and leap seconds.")
version "/libical-" version ".tar.gz")) version "/libical-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0vr8s7hn8204lyc4ys5bs3j5qss4lmc9ffly2m1a59avyz5cmzh9")))) "1d1nqcfilb4k8bc5x85fhnd26l1ski58wpk2nmds6mlxrzkb6czr"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
'(#:tests? #f ; test suite appears broken '(#:tests? #f ; test suite appears broken
@ -158,19 +158,17 @@ the <tz.h> library for handling time zones and leap seconds.")
(("\\\"/usr/share/lib/zoneinfo\\\"") ""))) (("\\\"/usr/share/lib/zoneinfo\\\"") "")))
#t))))) #t)))))
(native-inputs (native-inputs
`(("docbook-xml" ,docbook-xml-4.3) (list docbook-xml-4.3
("gobject-introspection" ,gobject-introspection) gobject-introspection
("gtk-doc" ,gtk-doc/stable) gtk-doc/stable
("perl" ,perl) perl
("pkg-config" ,pkg-config) pkg-config
("vala" ,vala))) vala))
(inputs (inputs
`(("glib" ,glib) (list glib libxml2 tzdata))
("libxml2" ,libxml2)
("tzdata" ,tzdata)))
(propagated-inputs (propagated-inputs
;; In Requires.private of libical.pc. ;; In Requires.private of libical.pc.
`(("icu4c" ,icu4c))) (list icu4c))
(home-page "https://libical.github.io/libical/") (home-page "https://libical.github.io/libical/")
(synopsis "iCalendar protocols and data formats implementation") (synopsis "iCalendar protocols and data formats implementation")
(description (description
@ -204,23 +202,22 @@ data units.")
(string-append (assoc-ref outputs "out") "/share/man/man1")) (string-append (assoc-ref outputs "out") "/share/man/man1"))
#t))))) #t)))))
(native-inputs (native-inputs
`(("python-setuptools-scm" ,python-setuptools-scm) (list python-setuptools-scm
;; Required to build manpage ;; Required to build manpage
("python-sphinxcontrib-newsfeed" ,python-sphinxcontrib-newsfeed) python-sphinxcontrib-newsfeed python-sphinx))
("python-sphinx" ,python-sphinx)))
(inputs (inputs
`(("sqlite" ,sqlite) (list sqlite
("python-configobj" ,python-configobj) python-configobj
("python-dateutil" ,python-dateutil) python-dateutil
("python-icalendar" ,python-icalendar) python-icalendar
("python-tzlocal" ,python-tzlocal) python-tzlocal
("python-urwid" ,python-urwid) python-urwid
("python-pytz" ,python-pytz) python-pytz
("python-setproctitle" ,python-setproctitle) python-setproctitle
("python-atomicwrites" ,python-atomicwrites) python-atomicwrites
("python-click" ,python-click) python-click
("python-click-log" ,python-click-log) python-click-log
("python-pyxdg" ,python-pyxdg))) python-pyxdg))
(synopsis "Console calendar program") (synopsis "Console calendar program")
(description "Khal is a standards based console calendar program, (description "Khal is a standards based console calendar program,
able to synchronize with CalDAV servers through vdirsyncer.") able to synchronize with CalDAV servers through vdirsyncer.")
@ -275,10 +272,7 @@ able to synchronize with CalDAV servers through vdirsyncer.")
(list "bin/cm2rem.tcl" (list "bin/cm2rem.tcl"
"bin/tkremind")))))))) "bin/tkremind"))))))))
(inputs (inputs
`(("inetutils" ,inetutils) (list inetutils tcl tcllib tk))
("tcl" ,tcl)
("tcllib" ,tcllib)
("tk" ,tk)))
(home-page "https://dianne.skoll.ca/projects/remind/") (home-page "https://dianne.skoll.ca/projects/remind/")
(synopsis "Sophisticated calendar and alarm program") (synopsis "Sophisticated calendar and alarm program")
(description (description
@ -347,9 +341,9 @@ and ruby. It includes two illustrative command-line programs, @code{hcal} and
#t)))) #t))))
#:tests? #f)) ; no tests #:tests? #f)) ; no tests
(native-inputs (native-inputs
`(("perl" ,perl))) ; pod2man (list perl)) ; pod2man
(inputs (inputs
`(("qtbase" ,qtbase-5))) (list qtbase-5))
(home-page "https://www.toastfreeware.priv.at/confclerk") (home-page "https://www.toastfreeware.priv.at/confclerk")
(synopsis "Offline conference schedule application") (synopsis "Offline conference schedule application")
(description (description
@ -423,11 +417,9 @@ traditional Chinese characters.")
"1qyf65l088dqsz25hm6s1cv18j52yaias0llqvpqwjfnvssa5cxg")) "1qyf65l088dqsz25hm6s1cv18j52yaias0llqvpqwjfnvssa5cxg"))
(modules '((guix build utils))))) (modules '((guix build utils)))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("gtk+" ,gtk+))) (inputs (list gtk+))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake pkg-config))
("automake" ,automake)
("pkg-config" ,pkg-config)))
(home-page "https://dmedvinsky.github.io/gsimplecal/") (home-page "https://dmedvinsky.github.io/gsimplecal/")
(synopsis "Lightweight calendar applet") (synopsis "Lightweight calendar applet")
(description "@command{gsimplecal} is a lightweight calendar application (description "@command{gsimplecal} is a lightweight calendar application

View file

@ -40,10 +40,10 @@
(sha256 (sha256
(base32 "186b5lfbdd48cvbxqv2yh93pgr8lhahl1jzw00k2rmjzmbxwl04j")))) (base32 "186b5lfbdd48cvbxqv2yh93pgr8lhahl1jzw00k2rmjzmbxwl04j"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs `(("perl" ,perl) ; for test/run (native-inputs (list perl ; for test/run
("which" ,(@ (gnu packages base) which)))) (@ (gnu packages base) which)))
(inputs `(("zlib" ,zlib) (inputs (list zlib
("zstd" ,zstd "lib"))) `(,zstd "lib")))
(arguments (arguments
'( ;; The Redis backend must be explicitly disabled to build without Redis. '( ;; The Redis backend must be explicitly disabled to build without Redis.
#:configure-flags #:configure-flags

View file

@ -3,7 +3,7 @@
;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org> ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Alex Kost <alezost@gmail.com> ;;; Copyright © 2016 Alex Kost <alezost@gmail.com>
;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017 John Darrington <jmd@gnu.org> ;;; Copyright © 2017 John Darrington <jmd@gnu.org>
@ -118,11 +118,9 @@ caching facility provided by the library.")
"0avi6apv5ydjy6b9c3z9a46rvp5i57qyr09vr7x4nndxkmcfjl45")))) "0avi6apv5ydjy6b9c3z9a46rvp5i57qyr09vr7x4nndxkmcfjl45"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("ncurses" ,ncurses) (list ncurses libcddb))
("libcddb" ,libcddb)))
(native-inputs (native-inputs
`(("help2man" ,help2man) (list help2man pkg-config))
("pkg-config" ,pkg-config)))
(home-page "https://www.gnu.org/software/libcdio/") (home-page "https://www.gnu.org/software/libcdio/")
(synopsis "CD Input and Control library") (synopsis "CD Input and Control library")
(description (description
@ -147,8 +145,8 @@ extraction from CDs.")
(base32 (base32
"12hfnrq7amv9qjzc92cr265m7kh0a1hpasck8cxx1gygbhqczc9k")))) "12hfnrq7amv9qjzc92cr265m7kh0a1hpasck8cxx1gygbhqczc9k"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs `(("pkg-config" ,pkg-config))) (native-inputs (list pkg-config))
(propagated-inputs `(("libcdio" ,libcdio))) (propagated-inputs (list libcdio))
(home-page "https://www.gnu.org/software/libcdio/") (home-page "https://www.gnu.org/software/libcdio/")
(synopsis "Jitter- and error-tolerant CD audio extraction") (synopsis "Jitter- and error-tolerant CD audio extraction")
(description (description
@ -198,10 +196,7 @@ libcdio.")
`("PATH" ":" prefix (,(string-append out "/bin")))) `("PATH" ":" prefix (,(string-append out "/bin"))))
#t)))))) #t))))))
(inputs (inputs
`(("acl" ,acl) (list acl readline tk zlib))
("readline" ,readline)
("tk" ,tk)
("zlib" ,zlib)))
(home-page "https://www.gnu.org/software/xorriso/") (home-page "https://www.gnu.org/software/xorriso/")
(synopsis "Create, manipulate, burn ISO-9660 file systems") (synopsis "Create, manipulate, burn ISO-9660 file systems")
(description (description
@ -235,6 +230,7 @@ files.")
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f ; there is no check target `(#:tests? #f ; there is no check target
#:parallel-build? #f ;randomly fails to link
#:configure-flags ; Add $libdir to the RUNPATH of all the executables. #:configure-flags ; Add $libdir to the RUNPATH of all the executables.
(list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")) (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
;; Building in parallel is flaky: “ld: […]/cachetest.c:393: undefined ;; Building in parallel is flaky: “ld: […]/cachetest.c:393: undefined
@ -282,14 +278,9 @@ reconstruction capability.")
(substitute* "configure.ac" (("^AM_GCONF_SOURCE_2.*") "")) (substitute* "configure.ac" (("^AM_GCONF_SOURCE_2.*") ""))
#t))))) #t)))))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake pkg-config))
("automake" ,automake)
("pkg-config" ,pkg-config)))
(inputs (inputs
`(("ao" ,ao) (list ao lame libmad libvorbis))
("lame" ,lame)
("libmad" ,libmad)
("libvorbis" ,libvorbis)))
(home-page "http://cdrdao.sourceforge.net") (home-page "http://cdrdao.sourceforge.net")
(synopsis "Read and write CDs in disk-at-once mode") (synopsis "Read and write CDs in disk-at-once mode")
(description "cdrdao records audio or data CDs in disk-at-once (DAO) mode, (description "cdrdao records audio or data CDs in disk-at-once (DAO) mode,
@ -381,9 +372,9 @@ images.")
(patches (search-patches "dvd+rw-tools-add-include.patch")))) (patches (search-patches "dvd+rw-tools-add-include.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("cdrtools" ,cdrtools))) (list cdrtools))
(native-inputs (native-inputs
`(("m4" ,m4))) (list m4))
(arguments (arguments
`(#:tests? #f ; No tests. `(#:tests? #f ; No tests.
#:phases #:phases
@ -429,7 +420,7 @@ or @command{xorrisofs} to create ISO 9660 images.")
(base32 "1hz3fvqfdrwb7dn6ggqkpcgyjag37ivm1layw27ncjz9glklxjbr")))) (base32 "1hz3fvqfdrwb7dn6ggqkpcgyjag37ivm1layw27ncjz9glklxjbr"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("gtk+" ,gtk+-2))) (list gtk+-2))
(native-inputs (native-inputs
`(("gettext" ,gettext-minimal) `(("gettext" ,gettext-minimal)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
@ -571,8 +562,7 @@ graphical interface.")
(arguments (arguments
`(#:configure-flags '("-DBUILD_SHARED_LIBS=ON"))) `(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
(native-inputs (native-inputs
`(("bison" ,bison) (list bison flex))
("flex" ,flex)))
(home-page "https://github.com/lipnitsk/libcue") (home-page "https://github.com/lipnitsk/libcue")
(synopsis "C library to parse cue sheets") (synopsis "C library to parse cue sheets")
(description "Libcue is a C library to parse so-called @dfn{cue sheets} (description "Libcue is a C library to parse so-called @dfn{cue sheets}
@ -683,20 +673,18 @@ from an audio CD.")
#t))) #t)))
#:tests? #f)) ; no test target #:tests? #f)) ; no test target
(inputs `(("wget" ,wget) (inputs (list wget
("which" ,which) which
("cdparanoia" ,cdparanoia) cdparanoia
("cd-discid" ,cd-discid) cd-discid
("vorbis-tools" ,vorbis-tools) vorbis-tools
("flac" ,flac) flac
perl-musicbrainz-discid
("perl-musicbrainz-discid" ,perl-musicbrainz-discid) perl-webservice-musicbrainz
("perl-webservice-musicbrainz" ,perl-webservice-musicbrainz) perl-mojolicious ;indirect dependency
("perl-mojolicious" ,perl-mojolicious) ;indirect dependency
;; A couple of Python and Perl scripts are included. ;; A couple of Python and Perl scripts are included.
("python" ,python) python
("perl" ,perl))) perl))
(synopsis "Command-line audio CD ripper") (synopsis "Command-line audio CD ripper")
(description (description
@ -729,7 +717,7 @@ and/or MPP/MP+ (Musepack) format, and tags them, all in one go.")
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
(install-file "geteltorito" (install-file "geteltorito"
(string-append out "/bin")))))))) (string-append out "/bin"))))))))
(inputs `(("perl" ,perl))) (inputs (list perl))
(synopsis "Extract the boot image from a CD-ROM") (synopsis "Extract the boot image from a CD-ROM")
(description (description
"@command{geteltorito} can extract the initial/default boot "@command{geteltorito} can extract the initial/default boot
@ -770,8 +758,7 @@ information is written to standard error.")
"flac" "flac"
"opus-tools" "opus-tools"
"wavpack")))))))))) "wavpack"))))))))))
(native-inputs `(("intltool" ,intltool) (native-inputs (list intltool pkg-config))
("pkg-config" ,pkg-config)))
;; TODO: Add the necessary packages for Musepack encoding. ;; TODO: Add the necessary packages for Musepack encoding.
(inputs `(("gtk+-2" ,gtk+-2) (inputs `(("gtk+-2" ,gtk+-2)
("glib" ,glib) ("glib" ,glib)
@ -822,15 +809,11 @@ session, and it can create M3U playlists.")
(("\\$\\(DESTDIR\\)/usr/local") (assoc-ref outputs "out")) (("\\$\\(DESTDIR\\)/usr/local") (assoc-ref outputs "out"))
(("../../etc") "etc"))))))) (("../../etc") "etc")))))))
(native-inputs (native-inputs
`(("coreutils" ,coreutils))) (list coreutils))
(inputs (inputs
`(("perl" ,perl))) (list perl))
(propagated-inputs (propagated-inputs
`(("cdparanoia" ,cdparanoia) (list cdparanoia flac vorbis-tools wavpack perl-cddb-get))
("flac" ,flac)
("vorbis-tools" ,vorbis-tools)
("wavpack" ,wavpack)
("perl-cddb-get" ,perl-cddb-get)))
(home-page (string-append "https://web.archive.org/web/20170119092156/" (home-page (string-append "https://web.archive.org/web/20170119092156/"
"http://www.suwald.com/ripit/about.php")) "http://www.suwald.com/ripit/about.php"))
(synopsis "Command-line program to extract audio CDs") (synopsis "Command-line program to extract audio CDs")
@ -874,7 +857,7 @@ laid out on the image.")
"0m1vyry6pi115nysfgb0cg313qqhnlxqdg7f920wpiar0z8mjl2j")))) "0m1vyry6pi115nysfgb0cg313qqhnlxqdg7f920wpiar0z8mjl2j"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(home-page "https://dev.lovelyhq.com/libburnia/libburn") (home-page "https://dev.lovelyhq.com/libburnia/libburn")
(synopsis "Library for reading and writing optical discs") (synopsis "Library for reading and writing optical discs")
(description (description
@ -896,10 +879,9 @@ DVD-RW, DVD-R, DVD-R/DL, BD-R, and BD-RE.")
"13m82l13cb5d7ca53dv3akma1jr9gw0hnnshdwqpj6ahly0fv85a")))) "13m82l13cb5d7ca53dv3akma1jr9gw0hnnshdwqpj6ahly0fv85a"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("zlib" ,zlib) (list zlib acl))
("acl" ,acl)))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(home-page "https://dev.lovelyhq.com/libburnia/libisofs") (home-page "https://dev.lovelyhq.com/libburnia/libisofs")
(synopsis "Library to create ISO 9660 images") (synopsis "Library to create ISO 9660 images")
(description (description
@ -927,13 +909,18 @@ Supported extensions to ISO 9660 are Rock Ridge, Joliet, AAIP, zisofs.")
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0g2zyzb56czh429qy87lvaddzjnlcq8c616ddxsmsshz3clhyzrh")))) "0g2zyzb56czh429qy87lvaddzjnlcq8c616ddxsmsshz3clhyzrh"))
(patches (search-patches "cdrkit-libre-cross-compile.patch"))
(modules '((guix build utils)))
(snippet
#~(begin
;; Fix building with gcc-10.
(substitute* "genisoimage/genisoimage.h"
(("char\t\t\\*outfile")
"extern char\t*outfile"))))))
(build-system cmake-build-system) (build-system cmake-build-system)
(inputs (inputs
`(("bzip2" ,bzip2) (list bzip2 libcap perl zlib))
("libcap" ,libcap)
("perl" ,perl)
("zlib" ,zlib)))
(arguments (arguments
`(#:tests? #f ;no tests `(#:tests? #f ;no tests
#:phases #:phases
@ -966,10 +953,9 @@ CD data, and more. It's mostly compatible with @code{cdrtools}.")
"0f8i2ha44rykkk3ac2q8zsw3y1zckw6qnf6zvkyrj3qqbzhrf3fm")))) "0f8i2ha44rykkk3ac2q8zsw3y1zckw6qnf6zvkyrj3qqbzhrf3fm"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) (list pkg-config intltool))
("intltool" ,intltool)))
(inputs (inputs
`(("glib" ,glib))) (list glib))
(arguments (arguments
;; No tests. ;; No tests.
'(#:tests? #f)) '(#:tests? #f))
@ -995,12 +981,9 @@ the data stored in various image formats.")
"16g6fv1lxkdmbsy6zh5sj54dvgwvm900fd18aq609yg8jnqm644d")))) "16g6fv1lxkdmbsy6zh5sj54dvgwvm900fd18aq609yg8jnqm644d"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) (list pkg-config intltool))
("intltool" ,intltool)))
(inputs (inputs
`(("libmirage" ,libmirage) (list libmirage glib ao))
("glib" ,glib)
("ao" ,ao)))
(arguments (arguments
;; No tests. ;; No tests.
'(#:tests? #f)) '(#:tests? #f))
@ -1024,12 +1007,9 @@ drive and disc (including CD-ROMs and DVD-ROMs).")
"1prrdhv0ia0axc6b73crszqzh802wlkihz6d100yvg7wbgmqabd7")))) "1prrdhv0ia0axc6b73crszqzh802wlkihz6d100yvg7wbgmqabd7"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) (list pkg-config intltool))
("intltool" ,intltool)))
(inputs (inputs
`(("python" ,python) (list python python-pygobject cdemu-daemon))
("python-pygobject" ,python-pygobject)
("cdemu-daemon" ,cdemu-daemon)))
(arguments (arguments
;; No tests. ;; No tests.
`(#:tests? #f `(#:tests? #f
@ -1045,7 +1025,7 @@ drive and disc (including CD-ROMs and DVD-ROMs).")
(let ((prog (string-append (assoc-ref outputs "out") (let ((prog (string-append (assoc-ref outputs "out")
"/bin/cdemu"))) "/bin/cdemu")))
(wrap-program prog (wrap-program prog
`("PYTHONPATH" = (,(getenv "PYTHONPATH")))) `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH"))))
#t)))))) #t))))))
(home-page "https://cdemu.sourceforge.io/") (home-page "https://cdemu.sourceforge.io/")
(synopsis "Command-line client for controlling cdemu-daemon") (synopsis "Command-line client for controlling cdemu-daemon")

View file

@ -42,11 +42,7 @@
(base32 (base32
"1h5s6ayh3s76z184jai3jidcs4cjk8s4nvkkv2am8dg4gfsybq22")))) "1h5s6ayh3s76z184jai3jidcs4cjk8s4nvkkv2am8dg4gfsybq22"))))
(inputs (inputs
`(("agda" ,agda) (list agda agda-ial ghc ghc-alex ghc-happy))
("agda-ial" ,agda-ial)
("ghc" ,ghc)
("ghc-alex" ,ghc-alex)
("ghc-happy" ,ghc-happy)))
(build-system emacs-build-system) (build-system emacs-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -89,8 +85,7 @@
(add-after 'unpack 'copy-ial (add-after 'unpack 'copy-ial
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(copy-recursively (copy-recursively
(string-append (assoc-ref inputs "agda-ial") (search-input-directory inputs "/include/agda/ial")
"/include/agda/ial")
"ial") "ial")
;; Ambiguous module if main is included from ial ;; Ambiguous module if main is included from ial
(delete-file "ial/main.agda") (delete-file "ial/main.agda")

View file

@ -1,9 +1,11 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016, 2017 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2016, 2017, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2017 Leo Famulari <leo@famulari.name> ;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name> ;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
@ -24,12 +26,14 @@
(define-module (gnu packages certs) (define-module (gnu packages certs)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix utils)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix build-system copy) #:use-module (guix build-system copy)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages nss)
#:use-module (gnu packages curl) #:use-module (gnu packages curl)
#:use-module (gnu packages python) #:use-module (gnu packages python)
#:use-module (gnu packages perl) #:use-module (gnu packages perl)
@ -72,7 +76,7 @@
#:install-plan #:install-plan
'(("." "etc/desec" #:include ("hook.sh"))))) '(("." "etc/desec" #:include ("hook.sh")))))
(inputs (inputs
`(("curl" ,curl))) (list curl))
(synopsis "Certbot DNS challenge automatization for deSEC") (synopsis "Certbot DNS challenge automatization for deSEC")
(description "The deSEC can be used to obtain certificates with certbot (description "The deSEC can be used to obtain certificates with certbot
DNS ownership verification. With the help of this hook script, you can obtain DNS ownership verification. With the help of this hook script, you can obtain
@ -82,112 +86,77 @@ port forwarding to your local machine.")
(home-page "https://desec.io") (home-page "https://desec.io")
(license license:expat)))) (license license:expat))))
(define certdata2pem (define-public certdata2pem
(let ((revision "1")
(commit "4c576f350f44186d439179f63d5be19f710a73f5"))
(package (package
(name "certdata2pem") (name "certdata2pem")
(version "2013") (version "0.0.0") ;no version
(source (source (origin
(origin
(method url-fetch) (method url-fetch)
(uri (uri (string-append
"http://pkgs.fedoraproject.org/cgit/ca-certificates.git/plain/certdata2pem.py?id=053dde8a2f5901e97028a58bf54e7d0ef8095a54") "https://raw.githubusercontent.com/sabotage-linux/sabotage/"
(file-name "certdata2pem.py") commit "/KEEP/certdata2pem.c"))
(sha256 (sha256
(base32 (base32
"0zscrm41gnsf14zvlkxhy00h3dmgidyz645ldpda3y3vabnwv8dx")))) "1rywp29q4l1cs2baplkbcravxqs4kw2cys4yifhfznbc210pskq6"))))
(build-system trivial-build-system) (build-system gnu-build-system)
(inputs
`(("python" ,python-2)))
(arguments (arguments
`(#:modules ((guix build utils)) `(#:phases (modify-phases %standard-phases
#:builder (delete 'configure)
(begin (add-before 'build 'fix-extension
(use-modules (guix build utils)) (lambda _
(let ((bin (string-append %output "/bin"))) (substitute* "certdata2pem.c"
(copy-file (assoc-ref %build-inputs "source") "certdata2pem.py") (("\\.crt")
(chmod "certdata2pem.py" #o555) ".pem"))))
(substitute* "certdata2pem.py" (replace 'build
(("/usr/bin/python") (lambda _
(string-append (assoc-ref %build-inputs "python") (invoke ,(cc-for-target) "certdata2pem.c"
"/bin/python")) "-o" "certdata2pem")))
;; Use the file extension .pem instead of .crt. (delete 'check) ;no test suite
(("crt") "pem")) (replace 'install
(mkdir-p bin) (lambda* (#:key outputs #:allow-other-keys)
(copy-file "certdata2pem.py" (let ((out (assoc-ref outputs "out")))
(string-append bin "/certdata2pem.py")) (install-file "certdata2pem"
#t)))) (string-append out "/bin"))))))))
(synopsis "Python script to extract .pem data from certificate collection") (home-page "https://github.com/sabotage-linux/")
(description (synopsis "Utility to split TLS certificates data into multiple PEM files")
"certdata2pem.py is a Python script to transform X.509 certificate (description "This is a C version of the certdata2pem Python utility
\"source code\" as contained, for example, in the Mozilla sources, into that was originally contributed to Debian.")
.pem formatted certificates.") (license license:isc))))
(license license:gpl2+)
(home-page "http://pkgs.fedoraproject.org/cgit/ca-certificates.git/")))
(define-public nss-certs (define-public nss-certs
(package (package
(name "nss-certs") (name "nss-certs")
(version "3.59") (version (package-version nss))
(source (origin (source (package-source nss))
(method url-fetch)
(uri (let ((version-with-underscores
(string-join (string-split version #\.) "_")))
(string-append
"https://ftp.mozilla.org/pub/mozilla.org/security/nss/"
"releases/NSS_" version-with-underscores "_RTM/src/"
"nss-" version ".tar.gz")))
(sha256
(base32
"096fs3z21r171q24ca3rq53p1389xmvqz1f2rpm7nlm8r9s82ag6"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(outputs '("out")) (outputs '("out"))
(native-inputs (native-inputs
`(("certdata2pem" ,certdata2pem) (list certdata2pem openssl))
("openssl" ,openssl)
("perl" ,perl))) ;for OpenSSL's 'c_rehash'
(inputs '()) (inputs '())
(propagated-inputs '()) (propagated-inputs '())
(arguments (arguments
`(#:modules ((guix build gnu-build-system) `(#:modules ((guix build gnu-build-system)
(guix build utils) (guix build utils)
(rnrs io ports) (rnrs io ports)
(srfi srfi-26) (srfi srfi-26))
(ice-9 regex))
#:phases #:phases
(modify-phases (modify-phases
(map (cut assq <> %standard-phases) (map (cut assq <> %standard-phases)
'(set-paths install-locale unpack)) '(set-paths install-locale unpack))
(add-after 'unpack 'install (add-after 'unpack 'install
(lambda _ (lambda _
(let ((certsdir (string-append %output "/etc/ssl/certs/")) (let ((certsdir (string-append %output "/etc/ssl/certs/")))
(trusted-rx (make-regexp "^# openssl-trust=[a-zA-Z]"
regexp/newline)))
(define (maybe-install-cert file)
(let ((cert (call-with-input-file file get-string-all)))
(when (regexp-exec trusted-rx cert)
(call-with-output-file
(string-append certsdir file)
(cut display cert <>)))))
(mkdir-p certsdir)
(with-directory-excursion "nss/lib/ckfw/builtins/" (with-directory-excursion "nss/lib/ckfw/builtins/"
;; extract single certificates from blob (unless (file-exists? "blacklist.txt")
(invoke "certdata2pem.py" "certdata.txt") (call-with-output-file "blacklist.txt" (const #t)))
;; copy selected .pem files into the output ;; Extract selected single certificates from blob.
(for-each maybe-install-cert (invoke "certdata2pem")
(find-files "." ".*\\.pem"))) ;; Copy .pem files into the output.
(for-each (cut install-file <> certsdir)
(with-directory-excursion certsdir (find-files "." ".*\\.pem$")))
;; create symbolic links for and by openssl (invoke "openssl" "rehash" certsdir)))))))
;; Strangely, the call (system* "c_rehash" certsdir)
;; from inside the build dir fails with
;; "Usage error; try -help."
;; This looks like a bug in openssl-1.0.2, but we can also
;; switch into the target directory.
(invoke "c_rehash" "."))
#t))))))
(synopsis "CA certificates from Mozilla") (synopsis "CA certificates from Mozilla")
(description (description
"This package provides certificates for Certification Authorities (CA) "This package provides certificates for Certification Authorities (CA)
@ -231,8 +200,7 @@ taken from the NSS package and thus ultimately from the Mozilla project.")
(string-append openssl "/bin/c_rehash") (string-append openssl "/bin/c_rehash")
"."))))) ".")))))
(native-inputs (native-inputs
`(("openssl" ,openssl) (list openssl perl)) ;for 'c_rehash'
("perl" ,perl))) ;for 'c_rehash'
(inputs (inputs
`(; The Let's Encrypt root certificate, "ISRG Root X1". `(; The Let's Encrypt root certificate, "ISRG Root X1".
("isrgrootx1.pem" ("isrgrootx1.pem"

File diff suppressed because it is too large Load diff

View file

@ -70,20 +70,20 @@
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
`(("eigen" ,eigen) (list eigen
("mmtf-cpp" ,mmtf-cpp) mmtf-cpp
("msgpack" ,msgpack) msgpack
("googletest" ,googletest) googletest
("pkg-config" ,pkg-config) pkg-config
("pybind11" ,pybind11))) pybind11))
(inputs (inputs
`(("glew" ,glew) (list glew
("libarchive" ,libarchive) libarchive
("libmsym" ,libmsym) libmsym
("molequeue" ,molequeue) molequeue
("python" ,python) python
("spglib" ,spglib) spglib
("qtbase" ,qtbase-5))) qtbase-5))
(arguments (arguments
'(#:configure-flags (list "-DENABLE_TESTING=ON" '(#:configure-flags (list "-DENABLE_TESTING=ON"
(string-append "-DSPGLIB_INCLUDE_DIR=" (string-append "-DSPGLIB_INCLUDE_DIR="
@ -113,13 +113,9 @@ bioinformatics, materials science, and related areas.")
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
`(("eigen" ,eigen) (list eigen pkg-config))
("pkg-config" ,pkg-config)))
(inputs (inputs
`(("avogadrolibs" ,avogadrolibs) (list avogadrolibs hdf5 molequeue qtbase-5))
("hdf5" ,hdf5)
("molequeue" ,molequeue)
("qtbase" ,qtbase-5)))
;; TODO: Enable tests with "-DENABLE_TESTING" configure flag. ;; TODO: Enable tests with "-DENABLE_TESTING" configure flag.
(arguments (arguments
'(#:tests? #f)) '(#:tests? #f))
@ -147,7 +143,7 @@ powerful plugin architecture.")
"1z26lsyf7xwnzwjvimmbla7ckipx6p734w7y0jk2a2fzci8fkdcr")))) "1z26lsyf7xwnzwjvimmbla7ckipx6p734w7y0jk2a2fzci8fkdcr"))))
(build-system python-build-system) (build-system python-build-system)
(inputs (inputs
`(("python-mmtk" ,python2-mmtk))) (list python2-mmtk))
(arguments (arguments
`(#:python ,python-2 `(#:python ,python-2
;; No test suite ;; No test suite
@ -195,8 +191,7 @@ only with Python 2 and NumPy < 1.9.")
(include-dir (string-append out "/include/inchi")) (include-dir (string-append out "/include/inchi"))
(lib (string-append out "/lib/inchi")) (lib (string-append out "/lib/inchi"))
(inchi-doc (assoc-ref inputs "inchi-doc")) (inchi-doc (assoc-ref inputs "inchi-doc"))
(unzip (string-append (assoc-ref inputs "unzip") (unzip (search-input-file inputs "/bin/unzip")))
"/bin/unzip")))
(chdir "../../..") (chdir "../../..")
;; Install binary. ;; Install binary.
(with-directory-excursion "INCHI_EXE/bin/Linux" (with-directory-excursion "INCHI_EXE/bin/Linux"
@ -304,7 +299,7 @@ biological structures.")
"1w1fgxzqrb5yxvpmnc3c9ymnvixy0z1nfafkd9whg9zw8nbgl998")))) "1w1fgxzqrb5yxvpmnc3c9ymnvixy0z1nfafkd9whg9zw8nbgl998"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(inputs (inputs
`(("qtbase" ,qtbase-5))) (list qtbase-5))
(arguments (arguments
'(#:configure-flags '("-DENABLE_TESTING=ON") '(#:configure-flags '("-DENABLE_TESTING=ON")
#:phases #:phases
@ -356,12 +351,10 @@ staged, and output files collected using a standard interface.")
"016h4bqg419p6s7bcx55q5iik91gqmk26hbnfgj2j6zl0j36w51r")))) "016h4bqg419p6s7bcx55q5iik91gqmk26hbnfgj2j6zl0j36w51r"))))
(build-system python-build-system) (build-system python-build-system)
(inputs (inputs
`(("python-matplotlib" ,(with-numpy-1.8 python2-matplotlib)) (list (with-numpy-1.8 python2-matplotlib) python2-scientific netcdf
("python-scientific" ,python2-scientific) gv))
("netcdf" ,netcdf)
("gv" ,gv)))
(propagated-inputs (propagated-inputs
`(("python-mmtk" ,python2-mmtk))) (list python2-mmtk))
(arguments (arguments
`(#:python ,python-2 `(#:python ,python-2
#:tests? #f ; No test suite #:tests? #f ; No test suite
@ -417,7 +410,7 @@ NumPy < 1.9.")
"1apf2n8nb34z09xarj7k4jgriq283l769sakjmj5aalpbilvai4q")))) "1apf2n8nb34z09xarj7k4jgriq283l769sakjmj5aalpbilvai4q"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(inputs (inputs
`(("zlib" ,zlib))) (list zlib))
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
@ -503,13 +496,13 @@ stored with user-specified precision.")
("python-pygments" ,python-pygments) ("python-pygments" ,python-pygments)
("python-sphinx" ,python-sphinx))) ("python-sphinx" ,python-sphinx)))
(inputs (inputs
`(("fftwf" ,fftwf) (list fftwf
("hwloc" ,hwloc-2 "lib") `(,hwloc-2 "lib")
("lmfit" ,lmfit) lmfit
("openblas" ,openblas) openblas
("perl" ,perl) perl
("tinyxml2" ,tinyxml2) tinyxml2
("tng" ,tng))) tng))
(home-page "http://www.gromacs.org/") (home-page "http://www.gromacs.org/")
(synopsis "Molecular dynamics software package") (synopsis "Molecular dynamics software package")
(description "GROMACS is a versatile package to perform molecular dynamics, (description "GROMACS is a versatile package to perform molecular dynamics,
@ -550,12 +543,9 @@ usual algorithms you expect from a modern molecular dynamics implementation.")
(assoc-ref %build-inputs "inchi") "/include/inchi")) (assoc-ref %build-inputs "inchi") "/include/inchi"))
#:test-target "test")) #:test-target "test"))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(inputs (inputs
`(("eigen" ,eigen) (list eigen inchi libxml2 zlib))
("inchi" ,inchi)
("libxml2" ,libxml2)
("zlib" ,zlib)))
(home-page "http://openbabel.org/wiki/Main_Page") (home-page "http://openbabel.org/wiki/Main_Page")
(synopsis "Chemistry data manipulation toolbox") (synopsis "Chemistry data manipulation toolbox")
(description (description
@ -650,19 +640,18 @@ symmetries written in C. Spglib can be used to:
(string-append "--prefix=" (assoc-ref outputs "out")) (string-append "--prefix=" (assoc-ref outputs "out"))
"--root=/")))))) "--root=/"))))))
(inputs (inputs
`(("freetype" ,freetype) (list freetype
("libpng" ,libpng) libpng
("freeglut" ,freeglut) freeglut
("glew" ,glew) glew
("libxml2" ,libxml2) libxml2
("mmtf-cpp" ,mmtf-cpp) mmtf-cpp
("msgpack" ,msgpack) msgpack
("python-pyqt" ,python-pyqt) python-pyqt
("glm" ,glm) glm
("netcdf" ,netcdf))) netcdf))
(native-inputs (native-inputs
`(("catch2" ,catch-framework2) (list catch-framework2 python-setuptools))
("python-setuptools" ,python-setuptools)))
(home-page "https://pymol.org") (home-page "https://pymol.org")
(synopsis "Molecular visualization system") (synopsis "Molecular visualization system")
(description "PyMOL is a capable molecular viewer and renderer. It can be (description "PyMOL is a capable molecular viewer and renderer. It can be

View file

@ -114,8 +114,10 @@
;; for docs ;; for docs
("stex" ,stex) ("stex" ,stex)
("xorg-rgb" ,xorg-rgb) ("xorg-rgb" ,xorg-rgb)
("texlive" ,(texlive-union (list texlive-latex-oberdiek ("texlive" ,(texlive-updmap.cfg (list texlive-dvips-l3backend
texlive-generic-epsf))) texlive-epsf
texlive-fonts-ec
texlive-oberdiek)))
("ghostscript" ,ghostscript) ("ghostscript" ,ghostscript)
("netpbm" ,netpbm))) ("netpbm" ,netpbm)))
(native-search-paths (native-search-paths
@ -167,6 +169,7 @@
;; Some makefiles (for tests) don't seem to propagate CC ;; Some makefiles (for tests) don't seem to propagate CC
;; properly, so we take it out of their hands: ;; properly, so we take it out of their hands:
(setenv "CC" ,(cc-for-target)) (setenv "CC" ,(cc-for-target))
(setenv "HOME" "/tmp")
(apply invoke (apply invoke
"./configure" "./configure"
flags) flags)
@ -281,7 +284,7 @@ and 32-bit PowerPC architectures.")
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("chez-scheme" ,chez-scheme))) (list chez-scheme))
(arguments (arguments
`(#:make-flags (let ((out (assoc-ref %outputs "out"))) `(#:make-flags (let ((out (assoc-ref %outputs "out")))
(list (string-append "PREFIX=" out) (list (string-append "PREFIX=" out)
@ -316,11 +319,10 @@ and 32-bit PowerPC architectures.")
(native-inputs (native-inputs
`(("chez-scheme" ,chez-scheme) `(("chez-scheme" ,chez-scheme)
("ghostscript" ,ghostscript) ("ghostscript" ,ghostscript)
("texlive" ,(texlive-union (list texlive-charter ("texlive" ,(texlive-updmap.cfg (list texlive-oberdiek
texlive-latex-oberdiek texlive-epsf
texlive-generic-epsf
texlive-metapost texlive-metapost
texlive-fonts-charter texlive-charter
texlive-pdftex texlive-pdftex
texlive-context texlive-context
texlive-cm texlive-cm
@ -334,12 +336,6 @@ and 32-bit PowerPC architectures.")
#:tests? #f ; no tests #:tests? #f ; no tests
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'build 'set-HOME
(lambda _
;; FIXME: texlive-union does not find the built
;; metafonts, so it tries to generate them in HOME.
(setenv "HOME" "/tmp")
#t))
;; This package has a custom "bootstrap" script that ;; This package has a custom "bootstrap" script that
;; is meant to be run from the Makefile. ;; is meant to be run from the Makefile.
(delete 'bootstrap) (delete 'bootstrap)
@ -382,7 +378,7 @@ programming in Scheme.")
(native-inputs (native-inputs
`(("chez-scheme" ,chez-scheme) `(("chez-scheme" ,chez-scheme)
("chez-web" ,chez-web) ("chez-web" ,chez-web)
("texlive" ,(texlive-union (list texlive-pdftex))))) ("texlive" ,(texlive-updmap.cfg (list texlive-pdftex)))))
(arguments (arguments
`(#:tests? #f ; no tests `(#:tests? #f ; no tests
#:phases #:phases
@ -485,9 +481,9 @@ Chez Scheme.")
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("chez-srfi" ,chez-srfi))) ; for tests (list chez-srfi)) ; for tests
(native-inputs (native-inputs
`(("chez-scheme" ,chez-scheme))) (list chez-scheme))
(arguments (arguments
`(#:make-flags ,(chez-make-flags name version) `(#:make-flags ,(chez-make-flags name version)
#:test-target "test" #:test-target "test"
@ -514,11 +510,11 @@ Chez Scheme.")
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("chez-matchable" ,chez-matchable))) ; for tests (list chez-matchable)) ; for tests
(propagated-inputs (propagated-inputs
`(("chez-srfi" ,chez-srfi))) ; for irregex-utils (list chez-srfi)) ; for irregex-utils
(native-inputs (native-inputs
`(("chez-scheme" ,chez-scheme))) (list chez-scheme))
(arguments (arguments
`(#:make-flags ,(chez-make-flags name version) `(#:make-flags ,(chez-make-flags name version)
#:test-target "test" #:test-target "test"
@ -546,9 +542,9 @@ syntax, with various aliases for commonly used patterns.")
(file-name (string-append name "-" version ".tar.gz")))) (file-name (string-append name "-" version ".tar.gz"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(propagated-inputs (propagated-inputs
`(("chez-srfi" ,chez-srfi))) ; for irregex-utils (list chez-srfi)) ; for irregex-utils
(native-inputs (native-inputs
`(("chez-scheme" ,chez-scheme))) (list chez-scheme))
(arguments (arguments
`(#:make-flags ,(chez-make-flags name version) `(#:make-flags ,(chez-make-flags name version)
#:test-target "chez-check" #:test-target "chez-check"
@ -586,9 +582,9 @@ strings.")
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("chez-srfi" ,chez-srfi))) ; for tests (list chez-srfi)) ; for tests
(native-inputs (native-inputs
`(("chez-scheme" ,chez-scheme))) (list chez-scheme))
(arguments (arguments
`(#:make-flags ,(chez-make-flags name version) `(#:make-flags ,(chez-make-flags name version)
#:test-target "test" #:test-target "test"
@ -616,12 +612,11 @@ required to port the program @code{Scmutils} to Chez Scheme.")
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("chez-srfi" ,chez-srfi))) ; for tests (list chez-srfi)) ; for tests
(native-inputs (native-inputs
`(("chez-scheme" ,chez-scheme))) (list chez-scheme))
(propagated-inputs (propagated-inputs
`(("chez-mit" ,chez-mit) (list chez-mit chez-srfi))
("chez-srfi" ,chez-srfi)))
(arguments (arguments
`(#:make-flags ,(chez-make-flags name version) `(#:make-flags ,(chez-make-flags name version)
#:tests? #f ; no test suite #:tests? #f ; no test suite

View file

@ -68,7 +68,7 @@
(variable "CHICKEN_REPOSITORY_PATH") (variable "CHICKEN_REPOSITORY_PATH")
;; TODO extract binary version into a module level definition. ;; TODO extract binary version into a module level definition.
(files (list "var/lib/chicken/11"))))) (files (list "var/lib/chicken/11")))))
(propagated-inputs `(("gcc-toolchain" ,gcc-toolchain))) (propagated-inputs (list gcc-toolchain))
(home-page "https://www.call-cc.org/") (home-page "https://www.call-cc.org/")
(synopsis "R5RS Scheme implementation that compiles native code via C") (synopsis "R5RS Scheme implementation that compiles native code via C")
(description (description
@ -99,7 +99,7 @@ language standard, and includes many enhancements and extensions.")
(build-system chicken-build-system) (build-system chicken-build-system)
(arguments '(#:egg-name "srfi-1")) (arguments '(#:egg-name "srfi-1"))
(inputs (inputs
`(("chicken-test" ,chicken-test))) (list chicken-test))
(home-page "https://wiki.call-cc.org/eggref/5/srfi-1") (home-page "https://wiki.call-cc.org/eggref/5/srfi-1")
(synopsis "SRFI-1 list library") (synopsis "SRFI-1 list library")
(description (description
@ -182,11 +182,9 @@ CHICKEN Scheme, along with
;; TODO do we really have to make these propagated? ;; TODO do we really have to make these propagated?
;; I don't know Chicken's module system well enough to tell ;; I don't know Chicken's module system well enough to tell
(propagated-inputs (propagated-inputs
`(("chicken-datatype" ,chicken-datatype) (list chicken-datatype chicken-srfi-1 chicken-srfi-14))
("chicken-srfi-1" ,chicken-srfi-1)
("chicken-srfi-14" ,chicken-srfi-14)))
(inputs (inputs
`(("chicken-test" ,chicken-test))) (list chicken-test))
(build-system chicken-build-system) (build-system chicken-build-system)
(arguments '(#:egg-name "agrep")) (arguments '(#:egg-name "agrep"))
(synopsis "Approximate string matching library") (synopsis "Approximate string matching library")
@ -217,8 +215,7 @@ file indexing tool.")
(build-system chicken-build-system) (build-system chicken-build-system)
(arguments '(#:egg-name "datatype")) (arguments '(#:egg-name "datatype"))
(inputs (inputs
`(("chicken-srfi-1" ,chicken-srfi-1) (list chicken-srfi-1 chicken-test))
("chicken-test" ,chicken-test)))
(home-page "https://wiki.call-cc.org/eggref/5/datatype") (home-page "https://wiki.call-cc.org/eggref/5/datatype")
(synopsis "Facility for creating and using variant records") (synopsis "Facility for creating and using variant records")
(description (description
@ -245,7 +242,7 @@ Languages} by Friedman, Wand, and Haynes.")
(base32 (base32
"0gz50n5i561n5sk9prry0lrxz6bfrq9if5bclaq6a0f7lzinhnzb")))) "0gz50n5i561n5sk9prry0lrxz6bfrq9if5bclaq6a0f7lzinhnzb"))))
(inputs (inputs
`(("chicken-test" ,chicken-test))) (list chicken-test))
(build-system chicken-build-system) (build-system chicken-build-system)
(arguments '(#:egg-name "iset")) (arguments '(#:egg-name "iset"))
(synopsis "Integer set library") (synopsis "Integer set library")

View file

@ -460,31 +460,6 @@
`(cons "--enable-custom-modes" `(cons "--enable-custom-modes"
,flags)))))) ,flags))))))
;; 'make-ld-wrapper' can only work with an 'ld' executable, so we need
;; this trick to make it wrap 'lld'.
(define (make-lld-wrapper lld)
(define lld-as-ld
(computed-file "lld-ld"
#~(begin
(mkdir #$output)
(mkdir (string-append #$output "/bin"))
(symlink #$(file-append lld "/bin/lld")
(string-append #$output "/bin/ld")))))
;; Create a wrapper for LLD that inserts appropriate -rpath entries.
(define lld-wrapper
(make-ld-wrapper "lld-wrapper"
#:binutils lld-as-ld))
;; Clang looks for an 'ld.lld' executable, so we need to symlink it back.
(computed-file "lld-wrapped"
#~(begin
(mkdir #$output)
(mkdir (string-append #$output "/bin"))
(symlink #$(file-append lld-wrapper "/bin/ld")
(string-append #$output "/bin/lld"))
(symlink "lld" (string-append #$output "/bin/ld.lld")))))
(define-public ungoogled-chromium (define-public ungoogled-chromium
(package (package
(name "ungoogled-chromium") (name "ungoogled-chromium")
@ -848,7 +823,7 @@
("clang" ,clang-12) ("clang" ,clang-12)
("gn" ,gn) ("gn" ,gn)
("gperf" ,gperf) ("gperf" ,gperf)
("ld-wrapper" ,(make-lld-wrapper lld)) ("ld-wrapper" ,lld-as-ld-wrapper)
("ninja" ,ninja) ("ninja" ,ninja)
("node" ,node-lts) ("node" ,node-lts)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
@ -876,7 +851,7 @@
("glib" ,glib) ("glib" ,glib)
("gtk+" ,gtk+) ("gtk+" ,gtk+)
("harfbuzz" ,harfbuzz-3.0) ("harfbuzz" ,harfbuzz-3.0)
("icu4c" ,icu4c-69) ("icu4c" ,icu4c)
("lcms" ,lcms) ("lcms" ,lcms)
("libevent" ,libevent) ("libevent" ,libevent)
("libffi" ,libffi) ("libffi" ,libffi)

View file

@ -168,28 +168,24 @@
`("GUILE_LOAD_COMPILED_PATH" ":" prefix (,objs))) `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,objs)))
#t)))))) #t))))))
(inputs (inputs
`(("guile" ,guile-3.0/libgc-7) (list guile-3.0-latest
("guile-avahi" ,guile-avahi) guile-avahi
("guile-fibers" ,guile-fibers) guile-fibers
("guile-gcrypt" ,guile-gcrypt) guile-gcrypt
("guile-json" ,guile-json-4) guile-json-4
("guile-simple-zmq" ,guile-simple-zmq) guile-simple-zmq
("guile-squee" ,guile-squee-dev) guile-squee-dev
("guile-git" ,guile-git) guile-git
("guile-zlib" ,guile-zlib) guile-zlib
("guile-mastodon" ,guile-mastodon) guile-mastodon
("gnutls" ,gnutls) gnutls
("mailutils" ,mailutils) mailutils
;; FIXME: this is propagated by "guile-git", but it needs to be among ;; FIXME: this is propagated by "guile-git", but it needs to be among
;; the inputs to add it to GUILE_LOAD_PATH. ;; the inputs to add it to GUILE_LOAD_PATH.
("guile-bytestructures" ,guile-bytestructures) guile-bytestructures
("guix" ,guix))) guix))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake pkg-config texinfo ephemeralpg))
("automake" ,automake)
("pkg-config" ,pkg-config)
("texinfo" ,texinfo)
("ephemeralpg" ,ephemeralpg)))
(native-search-paths (native-search-paths
;; For HTTPS access, Cuirass itself honors these variables, with the ;; For HTTPS access, Cuirass itself honors these variables, with the
;; same semantics as Git and OpenSSL (respectively). ;; same semantics as Git and OpenSSL (respectively).
@ -275,11 +271,7 @@ intended as a replacement for Hydra.")
#t))))) #t)))))
(inputs (inputs
`(("capnproto" ,capnproto) (list capnproto rapidjson sqlite boost zlib))
("rapidjson" ,rapidjson)
("sqlite" ,sqlite)
("boost" ,boost)
("zlib" ,zlib)))
(native-inputs (native-inputs
`(("googletest" ,googletest) `(("googletest" ,googletest)
("uglifyjs" ,node-uglify-js) ("uglifyjs" ,node-uglify-js)

View file

@ -53,24 +53,24 @@
(build-system gnu-build-system) (build-system gnu-build-system)
;; TODO: package 'libgsystem'. ;; TODO: package 'libgsystem'.
(inputs (inputs
`(("accountsservice" ,accountsservice) (list accountsservice
("gtk+" ,gtk+) gtk+
("glib" ,glib) glib
("gobject-introspection" ,gobject-introspection) gobject-introspection
("gnome-common" ,gnome-common) gnome-common
("libxkbfile" ,libxkbfile) libxkbfile
("libxrandr" ,libxrandr) libxrandr
("python-2" ,python-2) python-2
("pulseaudio" ,pulseaudio) pulseaudio
("xkeyboard-config" ,xkeyboard-config))) xkeyboard-config))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf
("automake" ,automake) automake
("gettext" ,gettext-minimal) gettext-minimal
("glib" ,glib "bin") ; glib-gettextize `(,glib "bin") ; glib-gettextize
("intltool" ,intltool) intltool
("libtool" ,libtool) libtool
("pkg-config" ,pkg-config))) pkg-config))
(home-page "https://github.com/linuxmint/cinnamon-desktop/") (home-page "https://github.com/linuxmint/cinnamon-desktop/")
(synopsis "Library for the Cinnamon Desktop") (synopsis "Library for the Cinnamon Desktop")
(description (description

View file

@ -207,7 +207,7 @@ that can be implemented for any data type.")
#:test-dirs '("src/test/clojure/") #:test-dirs '("src/test/clojure/")
#:doc-dirs '())) #:doc-dirs '()))
(native-inputs (native-inputs
`(("clojure-tools-macro" ,clojure-tools-macro))) (list clojure-tools-macro))
(synopsis (synopsis
"Monad Macros and Definitions") "Monad Macros and Definitions")
(description (description

View file

@ -165,13 +165,9 @@ connection. This package contains the userland utilities.")
(string-append infodir "/keepalived-figures")) (string-append infodir "/keepalived-figures"))
#t)))))) #t))))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) (list pkg-config python-sphinx texinfo))
("python-sphinx" ,python-sphinx)
("texinfo" ,texinfo)))
(inputs (inputs
`(("openssl" ,openssl) (list openssl libnfnetlink libnl))
("libnfnetlink" ,libnfnetlink)
("libnl" ,libnl)))
(home-page "https://www.keepalived.org/") (home-page "https://www.keepalived.org/")
(synopsis "Load balancing and high-availability frameworks") (synopsis "Load balancing and high-availability frameworks")
(description (description
@ -204,8 +200,7 @@ independently or together to provide resilient infrastructures.")
((".*test_uv_append.c.*") "")) ((".*test_uv_append.c.*") ""))
#t))))) #t)))))
(inputs (inputs
`(("libuv" ,libuv) (list libuv lz4))
("lz4" ,lz4)))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) `(("autoconf" ,autoconf)
("automake" ,automake) ("automake" ,automake)
@ -245,15 +240,11 @@ snapshots).")
;; race condition when tearing down the test server. ;; race condition when tearing down the test server.
((".*test_client.c.*") ""))))))) ((".*test_client.c.*") "")))))))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool pkg-config))
("automake" ,automake)
("libtool" ,libtool)
("pkg-config" ,pkg-config)))
(inputs (inputs
`(("libraft" ,libraft) (list libraft libuv))
("libuv" ,libuv)))
(propagated-inputs (propagated-inputs
`(("sqlite" ,sqlite))) ; dqlite.h includes sqlite3.h (list sqlite)) ; dqlite.h includes sqlite3.h
(build-system gnu-build-system) (build-system gnu-build-system)
(synopsis "Distributed SQLite") (synopsis "Distributed SQLite")
(description "dqlite is a C library that implements an embeddable and replicated (description "dqlite is a C library that implements an embeddable and replicated

View file

@ -5,10 +5,10 @@
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net> ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com> ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017, 2018, 2020 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2017, 2018, 2020, 2021 Marius Bakke <marius@gnu.org>
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2019, 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2019 Pierre-Moana Levesque <pierre.moana.levesque@gmail.com> ;;; Copyright © 2019 Pierre-Moana Levesque <pierre.moana.levesque@gmail.com>
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
@ -83,7 +83,7 @@
(arguments (arguments
`(#:tests? #f)) ; No target `(#:tests? #f)) ; No target
(native-inputs (native-inputs
`(("extra-cmake-modules" ,extra-cmake-modules))) (list extra-cmake-modules))
(synopsis "Shared CMake functions and macros") (synopsis "Shared CMake functions and macros")
(description "CMake-Shared are shared functions and macros for projects (description "CMake-Shared are shared functions and macros for projects
using the CMake build system.") using the CMake build system.")
@ -92,7 +92,7 @@ using the CMake build system.")
;;; Build phases shared between 'cmake-bootstrap' and the later variants ;;; Build phases shared between 'cmake-bootstrap' and the later variants
;;; that use cmake-build-system. ;;; that use cmake-build-system.
(define %common-build-phases (define (%common-build-phases)
`((add-after 'unpack 'split-package `((add-after 'unpack 'split-package
;; Remove files that have been packaged in other package recipes. ;; Remove files that have been packaged in other package recipes.
(lambda _ (lambda _
@ -100,6 +100,17 @@ using the CMake build system.")
(substitute* "Auxiliary/CMakeLists.txt" (substitute* "Auxiliary/CMakeLists.txt"
((".*cmake-mode.el.*") "")) ((".*cmake-mode.el.*") ""))
#t)) #t))
,@(if (target-x86-32?)
'((add-after 'unpack 'skip-cpack-txz-test
(lambda _
;; In 'RunCMake.CPack_TXZ', the 'TXZ/THREADED_ALL' test
;; would occasionally fail on i686 with "Internal error
;; initializing compression library: Cannot allocate
;; memory": <https://issues.guix.gnu.org/50617>. Skip it.
(substitute* "Tests/RunCMake/CPack/RunCMakeTest.cmake"
(("THREADED_ALL \"TXZ;DEB\"")
"THREADED_ALL \"DEB\"")))))
'())
(add-before 'configure 'patch-bin-sh (add-before 'configure 'patch-bin-sh
(lambda _ (lambda _
;; Replace "/bin/sh" by the right path in... a lot of ;; Replace "/bin/sh" by the right path in... a lot of
@ -110,7 +121,6 @@ using the CMake build system.")
"Source/cmGlobalXCodeGenerator.cxx" "Source/cmGlobalXCodeGenerator.cxx"
"Source/cmLocalUnixMakefileGenerator3.cxx" "Source/cmLocalUnixMakefileGenerator3.cxx"
"Source/cmExecProgramCommand.cxx" "Source/cmExecProgramCommand.cxx"
"Utilities/Release/release_cmake.cmake"
"Tests/CMakeLists.txt" "Tests/CMakeLists.txt"
"Tests/RunCMake/File_Generate/RunCMakeTest.cmake") "Tests/RunCMake/File_Generate/RunCMakeTest.cmake")
(("/bin/sh") (which "sh"))) (("/bin/sh") (which "sh")))
@ -120,23 +130,27 @@ using the CMake build system.")
'(;; This test copies libgcc_s.so.1 from GCC and tries to modify its RPATH, '(;; This test copies libgcc_s.so.1 from GCC and tries to modify its RPATH,
;; but does not cope with the file being read-only. ;; but does not cope with the file being read-only.
"BundleUtilities" "BundleUtilities"
;; This test requires network access. ;; These tests require network access.
"CTestTestUpload" "CTestTestUpload" "CMake.FileDownload"
;; This test requires 'ldconfig' which is not available in Guix. ;; This test requires 'ldconfig' which is not available in Guix.
"RunCMake.install")) "RunCMake.install"
;; This test fails for unknown reason.
"RunCMake.file-GET_RUNTIME_DEPENDENCIES"))
(define %preserved-third-party-files (define %preserved-third-party-files
'(;; 'Source/cm_getdate.c' includes archive_getdate.c wholesale, so it must '(;; 'Source/cm_getdate.c' includes archive_getdate.c wholesale, so it must
;; be available along with the required headers. ;; be available along with the required headers.
"Utilities/cmlibarchive/libarchive/archive_getdate.c" "Utilities/cmlibarchive/libarchive/archive_getdate.c"
"Utilities/cmlibarchive/libarchive/archive_getdate.h")) "Utilities/cmlibarchive/libarchive/archive_getdate.h"
;; CMake header wrappers.
"Utilities/cm3p"))
;;; The "bootstrap" CMake. It is used to build 'cmake-minimal' below, as well ;;; The "bootstrap" CMake. It is used to build 'cmake-minimal' below, as well
;;; as any dependencies that need cmake-build-system. ;;; as any dependencies that need cmake-build-system.
(define-public cmake-bootstrap (define-public cmake-bootstrap
(package (package
(name "cmake-bootstrap") (name "cmake-bootstrap")
(version "3.16.5") (version "3.21.3")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://cmake.org/files/v" (uri (string-append "https://cmake.org/files/v"
@ -144,49 +158,7 @@ using the CMake build system.")
"/cmake-" version ".tar.gz")) "/cmake-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1z4bb8z6b4dvq5hrvajrf1hyybqay3xybyimf71w1jgcp180nxjz")) "0kvrhgbrvm0lv7jshzd4nsvp3d5q1jkgal2d5kj4w4v58bghckfi"))
(modules '((guix build utils)
(ice-9 ftw)))
(snippet
`(begin
;; CMake bundles its dependencies in the "Utilities" directory.
;; Delete those to ensure the system libraries are used.
(define preserved-files
'(,@%preserved-third-party-files
;; Use the bundled JsonCpp during bootstrap to work around
;; a circular dependency. TODO: JsonCpp can be built with
;; Meson instead of CMake, but meson-build-system currently
;; does not support cross-compilation.
"Utilities/cmjsoncpp"
;; LibUV is required to bootstrap the initial build system.
"Utilities/cmlibuv"))
(file-system-fold (lambda (dir stat result) ;enter?
(or (string=? "Utilities" dir) ;init
;; The bundled dependencies are
;; distinguished by having a "cm"
;; prefix to their upstream names.
(and (string-prefix? "Utilities/cm" dir)
(not (member dir preserved-files)))))
(lambda (file stat result) ;leaf
(unless (or (member file preserved-files)
;; Preserve top-level files.
(string=? "Utilities"
(dirname file)))
(delete-file file)))
(const #t) ;down
(lambda (dir stat result) ;up
(when (equal? (scandir dir) '("." ".."))
(rmdir dir)))
(const #t) ;skip
(lambda (file stat errno result)
(format (current-error-port)
"warning: failed to delete ~a: ~a~%"
file (strerror errno)))
#t
"Utilities"
lstat)
#t))
(patches (search-patches "cmake-curl-certificates.patch")))) (patches (search-patches "cmake-curl-certificates.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
@ -227,7 +199,7 @@ using the CMake build system.")
" --exclude-regex ^\\(" (string-join skipped-tests "\\|") "\\)$"))) " --exclude-regex ^\\(" (string-join skipped-tests "\\|") "\\)$")))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
,@%common-build-phases ,@(%common-build-phases)
(add-before 'configure 'set-paths (add-before 'configure 'set-paths
(lambda _ (lambda _
;; Help cmake's bootstrap process to find system libraries ;; Help cmake's bootstrap process to find system libraries
@ -242,14 +214,13 @@ using the CMake build system.")
(apply invoke "./configure" configure-flags)))))) (apply invoke "./configure" configure-flags))))))
(inputs (inputs
`(("bzip2" ,bzip2) `(("bzip2" ,bzip2)
("curl" ,curl-minimal) ("curl" ,curl)
("expat" ,expat) ("expat" ,expat)
("file" ,file) ("file" ,file)
("libarchive" ,libarchive) ("libarchive" ,libarchive)
,@(if (hurd-target?) ,@(if (hurd-target?)
'() '()
`(("libuv" ,libuv))) ;not supported on the Hurd `(("libuv" ,libuv))) ;not supported on the Hurd
("ncurses" ,ncurses) ;required for ccmake
("rhash" ,rhash) ("rhash" ,rhash)
("zlib" ,zlib))) ("zlib" ,zlib)))
(native-search-paths (native-search-paths
@ -287,17 +258,41 @@ and workspaces that can be used in the compiler environment of your choice.")
(name "cmake-minimal") (name "cmake-minimal")
(source (origin (source (origin
(inherit (package-source cmake-bootstrap)) (inherit (package-source cmake-bootstrap))
;; Purge CMakes bundled dependencies as they are no longer needed.
(modules '((ice-9 ftw)))
(snippet (snippet
(match (origin-snippet (package-source cmake-bootstrap)) `(begin
((_ _ exp ...) (define preserved-files ',%preserved-third-party-files)
;; Now we can delete the remaining software bundles.
(append `(begin (file-system-fold (lambda (dir stat result) ;enter?
(define preserved-files ',%preserved-third-party-files)) (or (string=? "Utilities" dir) ;init
exp)))))) ;; The bundled dependencies are
;; distinguished by having a "cm"
;; prefix to their upstream names.
(and (string-prefix? "Utilities/cm" dir)
(not (member dir preserved-files)))))
(lambda (file stat result) ;leaf
(unless (or (member file preserved-files)
;; Preserve top-level files.
(string=? "Utilities"
(dirname file)))
(delete-file file)))
(const #t) ;down
(lambda (dir stat result) ;up
(when (equal? (scandir dir) '("." ".."))
(rmdir dir)))
(const #t) ;skip
(lambda (file stat errno result)
(format (current-error-port)
"warning: failed to delete ~a: ~a~%"
file (strerror errno)))
#t
"Utilities"
lstat)
#t))))
(inputs (inputs
`(("curl" ,curl) (modify-inputs (package-inputs cmake-bootstrap)
("jsoncpp" ,jsoncpp) (prepend jsoncpp)))
,@(alist-delete "curl" (package-inputs cmake-bootstrap))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:configure-flags `(#:configure-flags
@ -311,7 +306,16 @@ and workspaces that can be used in the compiler environment of your choice.")
#:build-type "Release" #:build-type "Release"
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
,@%common-build-phases ,@(%common-build-phases)
(add-after 'install 'delete-help-documentation
(lambda* (#:key outputs #:allow-other-keys)
(delete-file-recursively
(string-append (assoc-ref outputs "out")
"/share/cmake-"
,(version-major+minor
(package-version cmake-bootstrap))
"/Help"))
#t))
(replace 'check (replace 'check
(lambda* (#:key tests? parallel-tests? #:allow-other-keys) (lambda* (#:key tests? parallel-tests? #:allow-other-keys)
(let ((skipped-tests (list ,@%common-disabled-tests (let ((skipped-tests (list ,@%common-disabled-tests
@ -335,39 +339,6 @@ and workspaces that can be used in the compiler environment of your choice.")
(package (package
(inherit cmake-minimal) (inherit cmake-minimal)
(name "cmake") (name "cmake")
(version "3.21.1")
;; TODO: Move the following source field to the cmake-bootstrap package in
;; the next rebuild cycle.
(source (origin
(inherit (package-source cmake-bootstrap))
(uri (string-append "https://cmake.org/files/v"
(version-major+minor version)
"/cmake-" version ".tar.gz"))
(sha256
(base32
"1m7y9j5lafkrfswsg2vkpx2fz6p6fqpp2pcp2dcz5pylf58r3hzs"))
(snippet
(match (origin-snippet (package-source cmake-bootstrap))
((_ _ exp ...)
;; Now we can delete the remaining software bundles.
(append `(begin
(define preserved-files
'(,@%preserved-third-party-files
;; TODO: Move this file to the
;; %preserved-third-party-files variable in
;; the next rebuild cycle.
"Utilities/cm3p" ;CMake header wrappers
;; Use the bundled JsonCpp during bootstrap
;; to work around a circular dependency.
;; TODO: JsonCpp can be built with Meson
;; instead of CMake, but meson-build-system
;; currently does not support
;; cross-compilation.
"Utilities/cmjsoncpp"
;; LibUV is required to bootstrap the initial
;; build system.
"Utilities/cmlibuv")))
exp))))))
(arguments (arguments
(substitute-keyword-arguments (package-arguments cmake-minimal) (substitute-keyword-arguments (package-arguments cmake-minimal)
;; Use cmake-minimal this time. ;; Use cmake-minimal this time.
@ -389,44 +360,7 @@ and workspaces that can be used in the compiler environment of your choice.")
,flags)) ,flags))
((#:phases phases) ((#:phases phases)
`(modify-phases ,phases `(modify-phases ,phases
;; TODO: Remove this override in the next rebuild cycle and adjust (delete 'delete-help-documentation)
;; the %common-build-phases variable instead: the
;; Utilities/Release/release_cmake.cmake file no longer exists in
;; version 3.19.0.
(replace 'patch-bin-sh
(lambda _
;; Replace "/bin/sh" by the right path in... a lot of
;; files.
(substitute*
'("Modules/CompilerId/Xcode-3.pbxproj.in"
"Modules/Internal/CPack/CPack.RuntimeScript.in"
"Source/cmGlobalXCodeGenerator.cxx"
"Source/cmLocalUnixMakefileGenerator3.cxx"
"Source/cmExecProgramCommand.cxx"
"Tests/CMakeLists.txt"
"Tests/RunCMake/File_Generate/RunCMakeTest.cmake")
(("/bin/sh") (which "sh")))
#t))
;; TODO: Remove this override in the next rebuild cycle and adjust
;; the %common-disabled-tests variable instead.
(replace 'check
(lambda* (#:key tests? parallel-tests? #:allow-other-keys)
(let ((skipped-tests (list ,@%common-disabled-tests
;; This test fails for unknown reason.
"RunCMake.file-GET_RUNTIME_DEPENDENCIES"
;; This test fails for unknown reason.
"ExportImport"
;; This test requires the bundled libuv.
"BootstrapTest")))
(if tests?
(begin
(invoke "ctest" "-j" (if parallel-tests?
(number->string (parallel-job-count))
"1")
"--exclude-regex"
(string-append "^(" (string-join skipped-tests "|") ")$")))
(format #t "test suite not run~%"))
#t)))
(add-after 'install 'move-html-doc (add-after 'install 'move-html-doc
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")) (let ((out (assoc-ref outputs "out"))
@ -437,8 +371,11 @@ and workspaces that can be used in the compiler environment of your choice.")
"/html"))) "/html")))
(copy-recursively (string-append out html) (copy-recursively (string-append out html)
(string-append doc html)) (string-append doc html))
(delete-file-recursively (string-append out html)) (delete-file-recursively (string-append out html)))))))))
#t))))))) (inputs
(modify-inputs (package-inputs cmake-minimal)
(prepend ncurses ;required for ccmake
)))
;; Extra inputs required to build the documentation. ;; Extra inputs required to build the documentation.
(native-inputs (native-inputs
`(,@(package-native-inputs cmake-minimal) `(,@(package-native-inputs cmake-minimal)

View file

@ -68,11 +68,7 @@
(base32 (base32
"1yb1plmv4firfnbb119r2vh1hay221w1ya34nyz0qwsxppfr56hy")))))) "1yb1plmv4firfnbb119r2vh1hay221w1ya34nyz0qwsxppfr56hy"))))))
(inputs (inputs
`(("bdb" ,bdb) (list bdb gmp json-c libxml2 ncurses))
("gmp" ,gmp)
("json-c" ,json-c)
("libxml2" ,libxml2)
("ncurses" ,ncurses)))
(build-system gnu-build-system) (build-system gnu-build-system)
(home-page "https://www.gnu.org/software/gnucobol/") (home-page "https://www.gnu.org/software/gnucobol/")
(synopsis "A modern COBOL compiler") (synopsis "A modern COBOL compiler")

View file

@ -116,8 +116,7 @@ a major mode for Emacs for examining the flowcharts that it produces.")
"0lr0l9kj2w3jilz9h9y4np9pf9i9ccpy6331lanki2fnz4z8ldvd")))) "0lr0l9kj2w3jilz9h9y4np9pf9i9ccpy6331lanki2fnz4z8ldvd"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("texinfo" ,texinfo) (list texinfo autogen))
("autogen" ,autogen)))
(home-page "https://www.gnu.org/software/complexity/") (home-page "https://www.gnu.org/software/complexity/")
(synopsis "Analyze complexity of C functions") (synopsis "Analyze complexity of C functions")
(description (description
@ -182,7 +181,7 @@ highlighting your own code that seemed comprehensible when you wrote it.")
(wrap-program (wrap-program
(string-append (assoc-ref outputs "out") (string-append (assoc-ref outputs "out")
"/share/gtags/script/pygments_parser.py") "/share/gtags/script/pygments_parser.py")
`("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))))) `("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH"))))))
(add-after 'install 'post-install (add-after 'install 'post-install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
;; Install the plugin files in the right place. ;; Install the plugin files in the right place.
@ -256,7 +255,7 @@ around in a large, deeply nested project.")
#:make-flags (list (string-append "PREFIX=" #:make-flags (list (string-append "PREFIX="
(assoc-ref %outputs "out"))))) (assoc-ref %outputs "out")))))
(inputs `(("perl" ,perl))) (inputs (list perl))
(home-page "https://dwheeler.com/sloccount/") (home-page "https://dwheeler.com/sloccount/")
(synopsis "Count physical source lines of code (SLOC)") (synopsis "Count physical source lines of code (SLOC)")
(description (description
@ -282,12 +281,12 @@ COCOMO model or user-provided parameters.")
(base32 "0ic9q6qqw5f1wafp9lpmhr0miasbdb9zr59c0jlymnzffdmnliyc")))) (base32 "0ic9q6qqw5f1wafp9lpmhr0miasbdb9zr59c0jlymnzffdmnliyc"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("coreutils" ,coreutils) (list coreutils
("perl" ,perl) perl
("perl-algorithm-diff" ,perl-algorithm-diff) perl-algorithm-diff
("perl-digest-md5" ,perl-digest-md5) perl-digest-md5
("perl-parallel-forkmanager" ,perl-parallel-forkmanager) perl-parallel-forkmanager
("perl-regexp-common" ,perl-regexp-common))) perl-regexp-common))
(arguments (arguments
`(#:phases (modify-phases %standard-phases `(#:phases (modify-phases %standard-phases
(delete 'configure) ; nothing to configure (delete 'configure) ; nothing to configure
@ -335,12 +334,14 @@ cloc can handle a greater variety of programming languages.")
(base32 (base32
"0w1icjqd8hd45rn1y6nbfznk1a6ip54whwbfbhxp7ws2hn3ilqnr")))) "0w1icjqd8hd45rn1y6nbfznk1a6ip54whwbfbhxp7ws2hn3ilqnr"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments
;; Required since GCC 10, see:
;; https://gcc.gnu.org/gcc-10/porting_to.html.
`(#:configure-flags (list "CFLAGS=-fcommon")))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(inputs (inputs
`(("pcre" ,pcre) (list pcre xz zlib))
("xz" ,xz)
("zlib" ,zlib)))
(home-page "https://geoff.greer.fm/ag/") (home-page "https://geoff.greer.fm/ag/")
(synopsis "Fast code searching tool") (synopsis "Fast code searching tool")
(description (description
@ -422,16 +423,9 @@ features that are not supported by the standard @code{stdio} implementation.")
(substitute* "Tmain/utils.sh" (substitute* "Tmain/utils.sh"
(("/bin/echo") (which "echo")))))))) (("/bin/echo") (which "echo"))))))))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake packcc perl pkg-config))
("automake" ,automake)
("packcc" ,packcc)
("perl" ,perl)
("pkg-config" ,pkg-config)))
(inputs (inputs
`(("jansson" ,jansson) (list jansson libseccomp libxml2 libyaml))
("libseccomp" ,libseccomp)
("libxml2" ,libxml2)
("libyaml" ,libyaml)))
(home-page "https://ctags.io/") (home-page "https://ctags.io/")
(synopsis "Generate tag files for source code") (synopsis "Generate tag files for source code")
(description (description
@ -487,9 +481,8 @@ expressions, and its ability to generate emacs-style TAGS files.")
#t))))) #t)))))
(home-page "https://github.com/cameronwhite/withershins") (home-page "https://github.com/cameronwhite/withershins")
(inputs (inputs
`(("libiberty" ,libiberty) (list libiberty binutils ;for libbfd
("binutils" ,binutils) ;for libbfd zlib))
("zlib" ,zlib)))
(synopsis "C++11 library for generating stack traces") (synopsis "C++11 library for generating stack traces")
(description (description
"Withershins is a simple cross-platform C++11 library for generating "Withershins is a simple cross-platform C++11 library for generating
@ -534,9 +527,7 @@ stack traces.")
(wrap-program (string-append out "/bin/geninfo") (wrap-program (string-append out "/bin/geninfo")
`("PERL5LIB" ":" prefix (,(getenv "PERL5LIB"))))) `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))
#t))))) #t)))))
(inputs `(("perl" ,perl) (inputs (list perl perl-io-compress perl-json))
("perl-io-compress" ,perl-io-compress)
("perl-json" ,perl-json)))
(home-page "http://ltp.sourceforge.net/coverage/lcov.php") (home-page "http://ltp.sourceforge.net/coverage/lcov.php")
(synopsis "Code coverage tool that enhances GNU gcov") (synopsis "Code coverage tool that enhances GNU gcov")
(description "LCOV is an extension of @command{gcov}, a tool part of the (description "LCOV is an extension of @command{gcov}, a tool part of the
@ -594,13 +585,9 @@ results and determine build stability.")
(("/bin/(bash|sh)" shell) (("/bin/(bash|sh)" shell)
(string-append (assoc-ref inputs "bash") shell))))))))) (string-append (assoc-ref inputs "bash") shell)))))))))
(inputs (inputs
`(("curl" ,curl) (list curl elfutils libelf openssl zlib))
("elfutils" ,elfutils)
("libelf" ,libelf)
("openssl" ,openssl)
("zlib" ,zlib)))
(native-inputs (native-inputs
`(("python" ,python))) (list python))
(home-page "https://github.com/SimonKagstrom/kcov") (home-page "https://github.com/SimonKagstrom/kcov")
(synopsis "Code coverage tester for compiled languages, Python and Bash") (synopsis "Code coverage tester for compiled languages, Python and Bash")
(description "Kcov is a FreeBSD/Linux/OSX code coverage tester for compiled (description "Kcov is a FreeBSD/Linux/OSX code coverage tester for compiled
@ -645,14 +632,14 @@ possible to collect coverage information without special compiler switches.")
"-DBUILD_TESTING=FALSE") "-DBUILD_TESTING=FALSE")
#:tests? #f)) #:tests? #f))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(inputs (inputs
`(("bash-completion" ,bash-completion) (list bash-completion
("clang" ,clang) clang
("llvm" ,llvm) llvm
("lua" ,lua) lua
("rct" ,rct) rct
("selene" ,selene))) selene))
(home-page "https://github.com/Andersbakken/rtags") (home-page "https://github.com/Andersbakken/rtags")
(synopsis "Indexer for the C language family with Emacs integration") (synopsis "Indexer for the C language family with Emacs integration")
(description (description
@ -678,8 +665,7 @@ importantly we give you proper follow-symbol and find-references support.")
(base32 "1f9v5s0viq4yc9iv6701h3pv7j21zz1ckl37lpp9hsnliiizv03p")))) (base32 "1f9v5s0viq4yc9iv6701h3pv7j21zz1ckl37lpp9hsnliiizv03p"))))
(build-system trivial-build-system) (build-system trivial-build-system)
(native-inputs (native-inputs
`(("bash" ,bash) (list bash perl))
("perl" ,perl)))
(arguments (arguments
`(#:modules ((guix build utils)) `(#:modules ((guix build utils))
#:builder #:builder
@ -700,7 +686,7 @@ importantly we give you proper follow-symbol and find-references support.")
(substitute* "colormake" (substitute* "colormake"
(("colormake\\.pl") (string-append bin "/colormake.pl")) (("colormake\\.pl") (string-append bin "/colormake.pl"))
(("/bin/bash") (("/bin/bash")
(string-append (assoc-ref %build-inputs "bash") "/bin/sh"))) (search-input-file %build-inputs "/bin/sh")))
(install-file "colormake.1" (string-append doc "/man/man1")) (install-file "colormake.1" (string-append doc "/man/man1"))
(install-files '("AUTHORS" "BUGS" "ChangeLog" "README") doc) (install-files '("AUTHORS" "BUGS" "ChangeLog" "README") doc)
(install-files '("colormake" "colormake-short" "clmake" (install-files '("colormake" "colormake-short" "clmake"
@ -734,7 +720,7 @@ produce colored output.")
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure)))) (delete 'configure))))
(native-inputs (native-inputs
`(("graphviz" ,graphviz))) (list graphviz))
(home-page "https://github.com/lindenb/makefile2graph") (home-page "https://github.com/lindenb/makefile2graph")
(synopsis "Creates a graph of dependencies from GNU Make") (synopsis "Creates a graph of dependencies from GNU Make")
(description (description
@ -881,8 +867,7 @@ the C, C++, C++/CLI, ObjectiveC, C#, and Java programming languages.")
'("config.sub" "config.guess"))) '("config.sub" "config.guess")))
#t))))) #t)))))
(native-inputs (native-inputs
`(("texinfo" ,texinfo) (list texinfo automake)) ; For up to date 'config.guess' and 'config.sub'.
("automake" ,automake))) ; For up to date 'config.guess' and 'config.sub'.
(synopsis "Code reformatter") (synopsis "Code reformatter")
(description (description
"Indent is a program that makes source code easier to read by "Indent is a program that makes source code easier to read by
@ -951,7 +936,7 @@ source and header amalgamation in projects.")
(sha256 (sha256
(base32 "0ngiv4aj3rr35k3q3wjx0y19gh7i1ydqa0cqip6sjwd8fph5ll65")))) (base32 "0ngiv4aj3rr35k3q3wjx0y19gh7i1ydqa0cqip6sjwd8fph5ll65"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("ncurses" ,ncurses))) (inputs (list ncurses))
(arguments (arguments
`(#:configure-flags `(#:configure-flags
;; Specify the correct ncurses directory to prevent incorrect fallback ;; Specify the correct ncurses directory to prevent incorrect fallback

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014, 2015, 2017, 2019, 2020 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2012, 2013, 2014, 2015, 2017, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2014, 2015, 2018 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2014, 2015, 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
@ -32,6 +32,7 @@
;;; Copyright © 2020 Léo Le Bouter <lle-bout@zaclys.net> ;;; Copyright © 2020 Léo Le Bouter <lle-bout@zaclys.net>
;;; Copyright © 2021 Antoine Côté <antoine.cote@posteo.net> ;;; Copyright © 2021 Antoine Côté <antoine.cote@posteo.net>
;;; Copyright © 2021 Vincent Legoll <vincent.legoll@gmail.com> ;;; Copyright © 2021 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Ahmad Jarara <git@ajarara.io> ;;; Copyright © 2021 Ahmad Jarara <git@ajarara.io>
;;; ;;;
@ -168,10 +169,8 @@ in compression.")
(delete-file (string-append out "/include/minizip/crypt.h")) (delete-file (string-append out "/include/minizip/crypt.h"))
#t)))))) #t))))))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool))
("automake" ,automake) (propagated-inputs (list zlib))
("libtool" ,libtool)))
(propagated-inputs `(("zlib" ,zlib)))
(home-page (package-home-page zlib)) (home-page (package-home-page zlib))
(synopsis "Zip Compression library") (synopsis "Zip Compression library")
(description (description
@ -192,7 +191,7 @@ the @code{zlib} source.")
(base32 (base32
"0iginbz2m15hcsa3x4y7v3mhk54gr1r7m3ghx0pg4n46vv2snmpi")))) "0iginbz2m15hcsa3x4y7v3mhk54gr1r7m3ghx0pg4n46vv2snmpi"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("zlib" ,zlib))) (inputs (list zlib))
(home-page "https://savannah.nongnu.org/projects/fastjar") (home-page "https://savannah.nongnu.org/projects/fastjar")
(synopsis "Replacement for Sun's 'jar' utility") (synopsis "Replacement for Sun's 'jar' utility")
(description (description
@ -220,11 +219,9 @@ the @code{zlib} source.")
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments `(#:tests? #f)) ; no "check" target (arguments `(#:tests? #f)) ; no "check" target
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool))
("automake" ,automake)
("libtool" ,libtool)))
(inputs (inputs
`(("zlib" ,zlib))) (list zlib))
(synopsis "C library for manipulating POSIX tar files") (synopsis "C library for manipulating POSIX tar files")
(description (description
"libtar is a C library for manipulating POSIX tar files. It handles "libtar is a C library for manipulating POSIX tar files. It handles
@ -465,7 +462,7 @@ compatible with bzip2 both at file format and command line level.")
"1rnvgcdixjzbrmcr1nv9b6ccrjfrhryaj7jwz28yxxv6lam3xlcg")))) "1rnvgcdixjzbrmcr1nv9b6ccrjfrhryaj7jwz28yxxv6lam3xlcg"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("bzip2" ,bzip2))) (list bzip2))
(arguments (arguments
`(#:tests? #f ; no tests `(#:tests? #f ; no tests
#:phases (modify-phases %standard-phases #:phases (modify-phases %standard-phases
@ -485,7 +482,7 @@ compressed with pbzip2 can be decompressed with bzip2).")
(define-public xz (define-public xz
(package (package
(name "xz") (name "xz")
(version "5.2.4") (version "5.2.5")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (list (string-append "http://tukaani.org/xz/xz-" version (uri (list (string-append "http://tukaani.org/xz/xz-" version
@ -494,7 +491,7 @@ compressed with pbzip2 can be decompressed with bzip2).")
version ".tar.gz"))) version ".tar.gz")))
(sha256 (sha256
(base32 (base32
"0ibi2zsfaz6l756spjwc5rayf4ckgc9hwmy8qinppcyk4svz64mm")))) "045s9agl3bpv3swlwydhgsqh7791957vmgw2plw8f1rks07r3x7n"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -545,11 +542,11 @@ than gzip and 15 % smaller output than bzip2.")
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'check 'set-up-test-environment (add-before 'check 'set-up-test-environment
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(setenv "TZDIR" (string-append (assoc-ref inputs "tzdata") (setenv "TZDIR"
"/share/zoneinfo")) (search-input-directory inputs
#t))))) "share/zoneinfo")))))))
(native-inputs (native-inputs
`(("tzdata" ,tzdata-for-tests))) (list tzdata-for-tests))
(home-page "https://fragglet.github.com/lhasa/") (home-page "https://fragglet.github.com/lhasa/")
(synopsis "LHA archive decompressor") (synopsis "LHA archive decompressor")
(description "Lhasa is a replacement for the Unix LHA tool, for (description "Lhasa is a replacement for the Unix LHA tool, for
@ -599,7 +596,7 @@ format are designed to be portable across platforms.")
(base32 (base32
"0h9gb8q7y54m9mvy3jvsmxf21yx8fc3ylzh418hgbbv0i8mbcwky")))) "0h9gb8q7y54m9mvy3jvsmxf21yx8fc3ylzh418hgbbv0i8mbcwky"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("lzo" ,lzo))) (inputs (list lzo))
(home-page "https://www.lzop.org/") (home-page "https://www.lzop.org/")
(synopsis "Compress or expand files") (synopsis "Compress or expand files")
(description (description
@ -612,14 +609,14 @@ some compression ratio).")
(define-public lzip (define-public lzip
(package (package
(name "lzip") (name "lzip")
(version "1.21") (version "1.22")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://savannah/lzip/lzip-" (uri (string-append "mirror://savannah/lzip/lzip-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"12qdcw5k1cx77brv9yxi1h4dzwibhfmdpigrj43nfk8nscwm12z4")))) "0j59hx72258334rmkwn57ahr6s69nlrx0a5ip1jw2fbiwr12sd63"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(home-page "https://www.nongnu.org/lzip/lzip.html") (home-page "https://www.nongnu.org/lzip/lzip.html")
(synopsis "Lossless data compressor based on the LZMA algorithm") (synopsis "Lossless data compressor based on the LZMA algorithm")
@ -695,7 +692,7 @@ decompressors when faced with corrupted input.")
(string-append "extern " all))))))) (string-append "extern " all)))))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("which" ,which))) (list which))
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
@ -738,7 +735,7 @@ This package is mostly for compatibility and historical interest.")
(("/usr/local") (assoc-ref outputs "out"))) (("/usr/local") (assoc-ref outputs "out")))
#t))))) #t)))))
(inputs (inputs
`(("zlib" ,zlib))) (list zlib))
(home-page "https://github.com/raboof/sfArkLib") (home-page "https://github.com/raboof/sfArkLib")
(synopsis "Library for SoundFont decompression") (synopsis "Library for SoundFont decompression")
(description (description
@ -774,8 +771,7 @@ with the sfArk algorithm.")
(("/usr/local") (assoc-ref outputs "out"))) (("/usr/local") (assoc-ref outputs "out")))
#t))))) #t)))))
(inputs (inputs
`(("zlib" ,zlib) (list zlib sfarklib))
("sfarklib" ,sfarklib)))
(home-page "https://github.com/raboof/sfarkxtc") (home-page "https://github.com/raboof/sfarkxtc")
(synopsis "Basic sfArk decompressor") (synopsis "Basic sfArk decompressor")
(description "SfArk extractor converts SoundFonts in the compressed legacy (description "SfArk extractor converts SoundFonts in the compressed legacy
@ -817,9 +813,8 @@ decompression of some loosely related file formats used by Microsoft.")
(build-system gnu-build-system) (build-system gnu-build-system)
(outputs (list "out" "static")) (outputs (list "out" "static"))
(native-inputs (native-inputs
`(;; For tests. (list ;; For tests.
("python" ,python) python valgrind))
("valgrind" ,valgrind)))
(arguments (arguments
`(;; Not designed for parallel testing. `(;; Not designed for parallel testing.
;; See https://github.com/lz4/lz4/issues/957#issuecomment-737419821 ;; See https://github.com/lz4/lz4/issues/957#issuecomment-737419821
@ -935,10 +930,7 @@ This package allows you to create and extract such file systems.")
`(#:configure-flags `(#:configure-flags
(list "--disable-static"))) (list "--disable-static")))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool pkg-config))
("automake" ,automake)
("libtool" ,libtool)
("pkg-config" ,pkg-config)))
(inputs (inputs
`(("libselinux" ,libselinux) `(("libselinux" ,libselinux)
@ -1008,7 +1000,7 @@ byte-for-byte identical output.")
#:make-flags #:make-flags
(list ,(string-append "CC=" (cc-for-target))) (list ,(string-append "CC=" (cc-for-target)))
#:test-target "tests")) #:test-target "tests"))
(inputs `(("zlib" ,zlib))) (inputs (list zlib))
(home-page "https://zlib.net/pigz/") (home-page "https://zlib.net/pigz/")
(synopsis "Parallel implementation of gzip") (synopsis "Parallel implementation of gzip")
(description (description
@ -1033,8 +1025,7 @@ multiple processors and multiple cores when compressing data.")
"1ifxr18f2h75gkcrkx8033kwmwmrcgxshpaawyc2n4dzn1p2rqz5")))) "1ifxr18f2h75gkcrkx8033kwmwmrcgxshpaawyc2n4dzn1p2rqz5"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) (list pkg-config libarchive))
("libarchive" ,libarchive)))
(home-page "https://github.com/vasi/pixz") (home-page "https://github.com/vasi/pixz")
(synopsis "Parallel indexing implementation of LZMA") (synopsis "Parallel indexing implementation of LZMA")
(description (description
@ -1080,7 +1071,7 @@ tarballs.")
(delete-file-recursively dir-name) (delete-file-recursively dir-name)
#t)))))) #t))))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(inputs (inputs
`(("libmspack" ,libmspack) `(("libmspack" ,libmspack)
("libmspack-source" ,(package-source libmspack)))) ("libmspack-source" ,(package-source libmspack))))
@ -1105,17 +1096,15 @@ tarballs.")
(base32 "18qkyg19r7fxzv93kar5n808n3582ygjmqwa7rnyg5y4b6hnwihl")))) (base32 "18qkyg19r7fxzv93kar5n808n3582ygjmqwa7rnyg5y4b6hnwihl"))))
(build-system meson-build-system) (build-system meson-build-system)
(native-inputs (native-inputs
`(("gobject-introspection" ,gobject-introspection) (list gobject-introspection help2man pkg-config))
("help2man" ,help2man)
("pkg-config" ,pkg-config)))
(inputs (inputs
`(("git" ,git) (list git
("glib" ,glib) glib
("gnupg" ,gnupg) gnupg
("gnutls" ,gnutls) gnutls
("gpgme" ,gpgme) gpgme
("json-glib" ,json-glib) json-glib
("vala" ,vala))) vala))
(home-page "https://github.com/hughsie/libjcat") (home-page "https://github.com/hughsie/libjcat")
(synopsis "Library for reading and writing Jcat files") (synopsis "Library for reading and writing Jcat files")
(description (description
@ -1145,8 +1134,7 @@ file.")
#t)))) #t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake))
("automake" ,automake)))
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
@ -1181,10 +1169,7 @@ human-readable output.")
'()) '())
("perl" ,perl))) ("perl" ,perl)))
(inputs (inputs
`(("bzip2" ,bzip2) (list bzip2 lz4 lzo zlib))
("lz4" ,lz4)
("lzo" ,lzo)
("zlib" ,zlib)))
(home-page "http://ck.kolivas.org/apps/lrzip/") (home-page "http://ck.kolivas.org/apps/lrzip/")
(synopsis "Large file compressor with a very high compression ratio") (synopsis "Large file compressor with a very high compression ratio")
(description "lrzip is a compression utility that uses long-range (description "lrzip is a compression utility that uses long-range
@ -1223,11 +1208,12 @@ well as bzip2.")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'unpack-third_party-subprojects (add-after 'unpack 'unpack-third_party-subprojects
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key native-inputs inputs #:allow-other-keys)
(with-directory-excursion "third_party" (with-directory-excursion "third_party"
(for-each (lambda (subproject) (for-each (lambda (subproject)
(let* ((input (string-append subproject "-source")) (let* ((input (string-append subproject "-source"))
(source (assoc-ref inputs input))) (source (assoc-ref (or native-inputs inputs)
input)))
(with-directory-excursion subproject (with-directory-excursion subproject
;; Take advantage of the coincidence that both ;; Take advantage of the coincidence that both
;; use GIT-FETCH, which creates a directory. ;; use GIT-FETCH, which creates a directory.
@ -1278,7 +1264,7 @@ for most inputs, but the resulting compressed files are anywhere from 20% to
(let ((gcc (assoc-ref (or native-inputs inputs) "gcc"))) (let ((gcc (assoc-ref (or native-inputs inputs) "gcc")))
(setenv "CPLUS_INCLUDE_PATH" (setenv "CPLUS_INCLUDE_PATH"
(string-join (string-join
(cons* (string-append (assoc-ref inputs "libcxx+libcxxabi") (cons* (search-input-directory inputs
"/include/c++/v1") "/include/c++/v1")
;; Hide GCC's C++ headers so that they do not interfere with ;; Hide GCC's C++ headers so that they do not interfere with
;; the Clang headers. ;; the Clang headers.
@ -1293,8 +1279,7 @@ for most inputs, but the resulting compressed files are anywhere from 20% to
(native-inputs (native-inputs
`(("clang" ,clang-toolchain-6))) `(("clang" ,clang-toolchain-6)))
(inputs (inputs
`(("libcxx+libcxxabi" ,libcxx+libcxxabi-6) (list libcxx+libcxxabi-6 libcxxabi-6))))
("libcxxabi" ,libcxxabi-6)))))
(define-public p7zip (define-public p7zip
(package (package
@ -1320,7 +1305,10 @@ for most inputs, but the resulting compressed files are anywhere from 20% to
(find-files "Utils/file_Codecs_Rar_so.py"))) (find-files "Utils/file_Codecs_Rar_so.py")))
(delete-file-recursively "CPP/7zip/Archive/Rar") (delete-file-recursively "CPP/7zip/Archive/Rar")
(delete-file-recursively "CPP/7zip/Compress/Rar") (delete-file-recursively "CPP/7zip/Compress/Rar")
#t)) ;; Fix FTBFS with gcc-10.
(substitute* "CPP/Windows/ErrorMsg.cpp"
(("switch\\(errorCode\\) \\{")
"switch(static_cast<HRESULT>(errorCode)) {"))))
(patches (search-patches "p7zip-CVE-2016-9296.patch" (patches (search-patches "p7zip-CVE-2016-9296.patch"
"p7zip-CVE-2017-17969.patch" "p7zip-CVE-2017-17969.patch"
"p7zip-remove-unused-code.patch")))) "p7zip-remove-unused-code.patch"))))
@ -1331,31 +1319,27 @@ for most inputs, but the resulting compressed files are anywhere from 20% to
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'configure (replace 'configure
(lambda* (#:key system outputs #:allow-other-keys) (lambda _
(invoke "cp" (copy-file
(let ((system ,(or (%current-target-system) ,(cond ((target-x86-64?)
(%current-system))))
(cond
((string-prefix? "x86_64" system)
"makefile.linux_amd64_asm") "makefile.linux_amd64_asm")
((string-prefix? "i686" system) ((target-x86-32?)
"makefile.linux_x86_asm_gcc_4.X") "makefile.linux_x86_asm_gcc_4.X")
(else (else
"makefile.linux_any_cpu_gcc_4.X"))) "makefile.linux_any_cpu_gcc_4.X"))
"makefile.machine"))) "makefile.machine")))
(replace 'check (replace 'check
(lambda _ (lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "make" "test") (invoke "make" "test")
(invoke "make" "test_7z") (invoke "make" "test_7z")
(invoke "make" "test_7zr")))))) (invoke "make" "test_7zr")))))))
(native-inputs (native-inputs
(let ((system (or (%current-target-system) (cond ((target-x86-64?)
(%current-system)))) (list yasm))
`(,@(cond ((string-prefix? "x86_64" system) ((target-x86-32?)
`(("yasm" ,yasm))) (list nasm))
((string-prefix? "i686" system) (else '())))
`(("nasm" ,nasm)))
(else '())))))
(home-page "http://p7zip.sourceforge.net/") (home-page "http://p7zip.sourceforge.net/")
(synopsis "Command-line file archiver with high compression ratio") (synopsis "Command-line file archiver with high compression ratio")
(description "p7zip is a command-line port of 7-Zip, a file archiver that (description "p7zip is a command-line port of 7-Zip, a file archiver that
@ -1403,7 +1387,7 @@ handles the 7z format which features very high compression ratios.")
(install-file "libgzstream.a" lib) (install-file "libgzstream.a" lib)
(install-file "gzstream.h" include) (install-file "gzstream.h" include)
#t)))))) #t))))))
(propagated-inputs `(("zlib" ,zlib))) (propagated-inputs (list zlib))
(home-page "http://www.cs.unc.edu/Research/compgeom/gzstream/") (home-page "http://www.cs.unc.edu/Research/compgeom/gzstream/")
(synopsis "Compressed C++ iostream") (synopsis "Compressed C++ iostream")
(description "gzstream is a small library for providing zlib (description "gzstream is a small library for providing zlib
@ -1453,7 +1437,7 @@ functionality in a C++ iostream.")
(string-append "PREFIX=" (string-append "PREFIX="
(assoc-ref %outputs "out"))))) (assoc-ref %outputs "out")))))
(native-inputs (native-inputs
`(("perl" ,perl))) ; for pod2man (list perl)) ; for pod2man
(home-page "http://mattmahoney.net/dc/zpaq.html") (home-page "http://mattmahoney.net/dc/zpaq.html")
(synopsis "Incremental journaling archiver") (synopsis "Incremental journaling archiver")
(description "ZPAQ is a command-line archiver for realistic situations with (description "ZPAQ is a command-line archiver for realistic situations with
@ -1517,7 +1501,7 @@ or junctions, and always follows hard links.")
(base32 "1k5cw6vnpja8yjlnhx5124xrw9i8s1l539hfdqqrqz3l5gn0bnyd")) (base32 "1k5cw6vnpja8yjlnhx5124xrw9i8s1l539hfdqqrqz3l5gn0bnyd"))
(file-name "unshield-the-feeble-files-spanish.zip"))))) (file-name "unshield-the-feeble-files-spanish.zip")))))
(native-inputs (native-inputs
`(("unzip" ,unzip))) (list unzip))
(arguments (arguments
`(#:out-of-source? #f `(#:out-of-source? #f
#:phases #:phases
@ -1565,15 +1549,14 @@ or junctions, and always follows hard links.")
(define-public zstd (define-public zstd
(package (package
(name "zstd") (name "zstd")
(version "1.4.4") (version "1.5.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/facebook/zstd/releases/download/" (uri (string-append "https://github.com/facebook/zstd/releases/download/"
"v" version "/zstd-" version ".tar.gz")) "v" version "/zstd-" version ".tar.gz"))
(sha256 (sha256
(base32 "05ckxap00qvc0j51d3ci38150cxsw82w7s9zgd5fgzspnzmp1vsr")))) (base32 "150y541303vnvfhd8wkbih00lfvvm98rd12yijwlbkqzg3xgp52i"))))
(replacement zstd/fixed)
(build-system gnu-build-system) (build-system gnu-build-system)
(outputs '("out" ;1.2MiB executables and documentation (outputs '("out" ;1.2MiB executables and documentation
"lib" ;1.2MiB shared library and headers "lib" ;1.2MiB shared library and headers
@ -1581,6 +1564,26 @@ or junctions, and always follows hard links.")
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'remove-bogus-check
(lambda _
;; lib/Makefile falsely claims that no .pc file can be created.
(substitute* "lib/Makefile"
(("error configured .*dir ")
"true "))
#t))
(add-after 'unpack 'patch-command-file-names
;; Don't require hard requirements to be in $PATH.
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(our (lambda (name) (string-append out "/bin/" name))))
(substitute* "programs/zstdgrep"
(("(:-)(grep)" _ prefix command)
(string-append prefix (which command)))
(("(:-)(zstdcat)" _ prefix command)
(string-append prefix (our command))))
(substitute* "programs/zstdless"
(("zstdcat" command)
(our command))))))
(delete 'configure) ;no configure script (delete 'configure) ;no configure script
(add-after 'install 'adjust-library-locations (add-after 'install 'adjust-library-locations
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
@ -1600,17 +1603,16 @@ or junctions, and always follows hard links.")
;; Make sure the pkg-config file refers to the right output. ;; Make sure the pkg-config file refers to the right output.
(substitute* (string-append shared-libs "/pkgconfig/libzstd.pc") (substitute* (string-append shared-libs "/pkgconfig/libzstd.pc")
(("^prefix=.*") (("^prefix=.*")
(string-append "prefix=" lib "\n"))) ;; Note: The .pc file expects a trailing slash for 'prefix'.
(string-append "prefix=" lib "/\n")))))))
#t))))
#:make-flags #:make-flags
;; TODO: Integrate in next rebuild cycle. (list ,(string-append "CC=" (cc-for-target))
(list ,(if (%current-target-system) (string-append "prefix=" (assoc-ref %outputs "out"))
(string-append "CC=" (cc-for-target)) (string-append "libdir=" (assoc-ref %outputs "lib") "/lib")
"CC=gcc") (string-append "includedir=" (assoc-ref %outputs "lib") "/include")
(string-append "PREFIX=" (assoc-ref %outputs "out")) ;; Auto-detection is over-engineered and buggy.
(string-append "LIBDIR=" (assoc-ref %outputs "lib") "/lib") "PCLIBDIR=lib"
(string-append "INCLUDEDIR=" (assoc-ref %outputs "lib") "/include") "PCINCDIR=include"
;; Skip auto-detection of, and creating a dependency on, the build ;; Skip auto-detection of, and creating a dependency on, the build
;; environment's xz for what amounts to a dubious feature anyway. ;; environment's xz for what amounts to a dubious feature anyway.
"HAVE_LZMA=0" "HAVE_LZMA=0"
@ -1633,17 +1635,6 @@ speed.")
license:public-domain ; zlibWrapper/examples/fitblk* license:public-domain ; zlibWrapper/examples/fitblk*
license:zlib)))) ; zlibWrapper/{gz*.c,gzguts.h} license:zlib)))) ; zlibWrapper/{gz*.c,gzguts.h}
(define zstd/fixed
(package
(inherit zstd)
(source
(origin
(inherit (package-source zstd))
(patches
(search-patches
;; From Ubuntu focal-security
"zstd-CVE-2021-24031_CVE-2021-24032.patch"))))))
(define-public pzstd (define-public pzstd
(package/inherit zstd (package/inherit zstd
(name "pzstd") (name "pzstd")
@ -1702,7 +1693,7 @@ the actual decompression, the other input and output.")
(base32 (base32
"0sb3h3067pzf3a7mlxn1hikpcjrsvycjcnj9hl9b1c3ykcgvps7h")))) "0sb3h3067pzf3a7mlxn1hikpcjrsvycjcnj9hl9b1c3ykcgvps7h"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("bzip2" ,bzip2))) (inputs (list bzip2))
(arguments (arguments
`(#:tests? #f ; no test target `(#:tests? #f ; no test target
#:make-flags (let ((out (assoc-ref %outputs "out"))) #:make-flags (let ((out (assoc-ref %outputs "out")))
@ -1756,8 +1747,32 @@ Compression ratios of 2:1 to 3:1 are common for text files.")
"unzip-attribs-overflow.patch" "unzip-attribs-overflow.patch"
"unzip-overflow-on-invalid-input.patch" "unzip-overflow-on-invalid-input.patch"
"unzip-format-secure.patch" "unzip-format-secure.patch"
"unzip-overflow-long-fsize.patch")))) "unzip-overflow-long-fsize.patch"
(replacement unzip/fixed)
;; From Fedora
"unzip-alt-iconv-utf8.patch"
"unzip-alt-iconv-utf8-print.patch"
"unzip-fix-recmatch.patch"
"unzip-case-insensitive.patch"
"unzip-close.patch"
"unzip-COVSCAN-fix-unterminated-string.patch"
"unzip-CVE-2016-9844.patch"
"unzip-CVE-2018-1000035.patch"
"unzip-CVE-2018-18384.patch"
"unzip-exec-shield.patch"
"unzip-manpage-fix.patch"
"unzip-overflow.patch"
"unzip-timestamp.patch"
"unzip-valgrind.patch"
"unzip-x-option.patch"
;; CVE-2019-13232
"unzip-zipbomb-manpage.patch"
"unzip-zipbomb-part1.patch"
"unzip-zipbomb-part2.patch"
"unzip-zipbomb-part3.patch"
;; https://github.com/madler/unzip/issues/2
"unzip-32bit-zipbomb-fix.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
;; no inputs; bzip2 is not supported, since not compiled with BZ_NO_STDIO ;; no inputs; bzip2 is not supported, since not compiled with BZ_NO_STDIO
(arguments (arguments
@ -1793,57 +1808,6 @@ recreates the stored directory structure by default.")
(license (license:non-copyleft "file://LICENSE" (license (license:non-copyleft "file://LICENSE"
"See LICENSE in the distribution.")))) "See LICENSE in the distribution."))))
(define unzip/fixed
(package
(inherit unzip)
(version "6.0")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/infozip"
"/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz"))
(sha256
(base32
"0dxx11knh3nk95p2gg2ak777dd11pr7jx5das2g49l262scrcv83"))
(patches (search-patches "unzip-CVE-2014-8139.patch"
"unzip-CVE-2014-8140.patch"
"unzip-CVE-2014-8141.patch"
"unzip-CVE-2014-9636.patch"
"unzip-CVE-2015-7696.patch"
"unzip-CVE-2015-7697.patch"
"unzip-allow-greater-hostver-values.patch"
"unzip-initialize-symlink-flag.patch"
"unzip-remove-build-date.patch"
"unzip-attribs-overflow.patch"
"unzip-overflow-on-invalid-input.patch"
"unzip-format-secure.patch"
"unzip-overflow-long-fsize.patch"
;; From Fedora
"unzip-alt-iconv-utf8.patch"
"unzip-alt-iconv-utf8-print.patch"
"unzip-fix-recmatch.patch"
"unzip-case-insensitive.patch"
"unzip-close.patch"
"unzip-COVSCAN-fix-unterminated-string.patch"
"unzip-CVE-2016-9844.patch"
"unzip-CVE-2018-1000035.patch"
"unzip-CVE-2018-18384.patch"
"unzip-exec-shield.patch"
"unzip-manpage-fix.patch"
"unzip-overflow.patch"
"unzip-timestamp.patch"
"unzip-valgrind.patch"
"unzip-x-option.patch"
;; CVE-2019-13232
"unzip-zipbomb-manpage.patch"
"unzip-zipbomb-part1.patch"
"unzip-zipbomb-part2.patch"
"unzip-zipbomb-part3.patch"
;; https://github.com/madler/unzip/issues/2
"unzip-32bit-zipbomb-fix.patch"))))))
(define-public ziptime (define-public ziptime
(let ((commit "2a5bc9dfbf7c6a80e5f7cb4dd05b4036741478bc") (let ((commit "2a5bc9dfbf7c6a80e5f7cb4dd05b4036741478bc")
(revision "0")) (revision "0"))
@ -1895,50 +1859,6 @@ timestamps in the file header with a fixed time (1 January 2008).
(define-public zziplib (define-public zziplib
(package (package
(name "zziplib")
(version "0.13.69")
(home-page "https://github.com/gdraheim/zziplib")
(source (origin
(method git-fetch)
(uri (git-reference (url home-page)
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(patches (search-patches "zziplib-CVE-2018-16548.patch"))
(sha256
(base32
"0fbk9k7ryas2wh2ykwkvm1pbi40i88rfvc3dydh9xyd7w2jcki92"))))
(replacement zziplib/fixed)
(build-system gnu-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(add-before 'check 'make-files-writable
(lambda _
(for-each make-file-writable
(find-files "test" #:directories? #t))
#t)))
;; XXX: The default test target attempts to download external resources and
;; fails without error: <https://github.com/gdraheim/zziplib/issues/53>.
;; To prevent confusing log messages, just run a simple zip test that works.
#:test-target "check-readme"))
(inputs
`(("zlib" ,zlib)))
(native-inputs `(("perl" ,perl) ; for the documentation
("pkg-config" ,pkg-config)
;; for the documentation; Python 3 not supported,
;; http://forums.gentoo.org/viewtopic-t-863161-start-0.html
("python" ,python-2)
("zip" ,zip))) ; to create test files
(synopsis "Library for accessing zip files")
(description
"ZZipLib is a library based on zlib for accessing zip files.")
;; zziplib is dual licensed under LGPL2.0+ and MPL1.1. Some example source
;; files carry the Zlib license; see "docs/copying.html" for details.
(license (list license:lgpl2.0+ license:mpl1.1))))
(define-public zziplib/fixed
(package
(inherit zziplib)
(name "zziplib") (name "zziplib")
(version "0.13.72") (version "0.13.72")
(home-page "https://github.com/gdraheim/zziplib") (home-page "https://github.com/gdraheim/zziplib")
@ -1950,25 +1870,17 @@ timestamps in the file header with a fixed time (1 January 2008).
(sha256 (sha256
(base32 (base32
"0i6bpa2b13z19alm6ig80364dnin1w28cvif18k6wkkb0w3dzp8y")))) "0i6bpa2b13z19alm6ig80364dnin1w28cvif18k6wkkb0w3dzp8y"))))
(arguments (build-system cmake-build-system)
`(#:phases (inputs
(modify-phases %standard-phases (list zlib))
(add-after 'install 'install-compatibility-symlinks (native-inputs (list perl ; for the documentation
(lambda* (#:key outputs #:allow-other-keys) pkg-config python zip)) ; to create test files
(with-directory-excursion (synopsis "Library for accessing zip files")
(string-append (assoc-ref outputs "out") "/lib") (description
(map (lambda (lib new-symlink) "ZZipLib is a library based on zlib for accessing zip files.")
(symlink lib new-symlink)) ;; zziplib is dual licensed under LGPL2.0+ and MPL1.1. Some example source
(list "libzzip.so.13" "libzzipfseeko.so.13" ;; files carry the Zlib license; see "docs/copying.html" for details.
"libzzipmmapped.so.13" "libzzipwrap.so.13") (license (list license:lgpl2.0+ license:mpl1.1))))
(list "libzzip-0.so.13" "libzzipfseeko-0.so.13"
"libzzipmmapped-0.so.13" "libzzipwrap-0.so.13")))
#t)))))
(native-inputs
`(("python" ,python)
,@(alist-delete "python"
(package-native-inputs zziplib))))
(build-system cmake-build-system)))
(define-public libzip (define-public libzip
(package (package
@ -1982,14 +1894,10 @@ timestamps in the file header with a fixed time (1 January 2008).
(base32 (base32
"0zn9vaiwy2izj8cnm8i7c2mbdn38n328grqb8f07x55s4kd3nxph")))) "0zn9vaiwy2izj8cnm8i7c2mbdn38n328grqb8f07x55s4kd3nxph"))))
(native-inputs (native-inputs
`(("perl" ,perl) (list perl pkg-config))
("pkg-config" ,pkg-config)))
(inputs (inputs
`(("gnutls" ,gnutls) (list gnutls xz openssl zlib
("liblzma" ,xz) `(,zstd "lib")))
("openssl" ,openssl)
("zlib" ,zlib)
("zstd:lib" ,zstd "lib")))
(build-system cmake-build-system) (build-system cmake-build-system)
(home-page "https://libzip.org") (home-page "https://libzip.org")
(synopsis "C library for reading, creating, and modifying zip archives") (synopsis "C library for reading, creating, and modifying zip archives")
@ -2023,8 +1931,7 @@ archive can be reverted.")
"/bin/file'"))) "/bin/file'")))
#t))))) #t)))))
(inputs (inputs
`(("perl" ,perl) (list perl file))
("file" ,file)))
(home-page "https://www.nongnu.org/atool/") (home-page "https://www.nongnu.org/atool/")
(synopsis "Universal tool to manage file archives of various types") (synopsis "Universal tool to manage file archives of various types")
(description "The main command is @command{aunpack} which extracts files (description "The main command is @command{aunpack} which extracts files
@ -2128,7 +2035,7 @@ corrupted input.")
(base32 "19zinpx7hssl6r3vilpvq2s7wha3545xan8b0vcvsxnyipdx3n0l")))) (base32 "19zinpx7hssl6r3vilpvq2s7wha3545xan8b0vcvsxnyipdx3n0l"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("lzlib" ,lzlib))) (list lzlib))
(home-page "https://www.nongnu.org/lzip/plzip.html") (home-page "https://www.nongnu.org/lzip/plzip.html")
(synopsis "Parallel lossless data compressor for the lzip format") (synopsis "Parallel lossless data compressor for the lzip format")
(description (description
@ -2160,10 +2067,8 @@ single-member files which can't be decompressed in parallel.")
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:tests? #f)) `(#:tests? #f))
(inputs `(("boost" ,boost) (inputs (list boost libiconv xz))
("libiconv" ,libiconv) (native-inputs (list pkg-config))
("xz" ,xz)))
(native-inputs `(("pkg-config" ,pkg-config)))
(home-page "https://constexpr.org/innoextract/") (home-page "https://constexpr.org/innoextract/")
(synopsis "Tool for extracting Inno Setup installers") (synopsis "Tool for extracting Inno Setup installers")
(description "innoextract allows extracting Inno Setup installers under (description "innoextract allows extracting Inno Setup installers under
@ -2279,10 +2184,9 @@ decompression is a little bit slower.")
(patches (search-patches "upx-CVE-2021-20285.patch")))) (patches (search-patches "upx-CVE-2021-20285.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("perl" ,perl))) (list perl))
(inputs (inputs
`(("ucl" ,ucl) (list ucl zlib))
("zlib" ,zlib)))
(arguments (arguments
`(#:make-flags `(#:make-flags
(list "all") (list "all")
@ -2329,10 +2233,9 @@ download times, and other distribution and storage costs.")
(arguments (arguments
`(#:tests? #f)) ;no test `(#:tests? #f)) ;no test
(native-inputs (native-inputs
`(("doxygen" ,doxygen))) (list doxygen))
(inputs (inputs
`(("qtbase" ,qtbase-5) (list qtbase-5 zlib))
("zlib" ,zlib)))
(home-page "https://stachenov.github.io/quazip/index.html") (home-page "https://stachenov.github.io/quazip/index.html")
(synopsis "Qt/C++ wrapper for Minizip") (synopsis "Qt/C++ wrapper for Minizip")
(description "QuaZIP is a simple C++ wrapper over Gilles Vollant's (description "QuaZIP is a simple C++ wrapper over Gilles Vollant's
@ -2387,10 +2290,9 @@ reading from and writing to ZIP archives. ")
(string-append (assoc-ref inputs "zstd") (string-append (assoc-ref inputs "zstd")
"/bin/zstd")))))))) "/bin/zstd"))))))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(inputs (inputs
`(("curl" ,curl) (list curl zstd))
("zstd" ,zstd)))
(propagated-inputs (propagated-inputs
`(("zstd:lib" ,zstd "lib"))) ;in Requires.private of zck.pc `(("zstd:lib" ,zstd "lib"))) ;in Requires.private of zck.pc
(home-page "https://github.com/zchunk/zchunk") (home-page "https://github.com/zchunk/zchunk")
@ -2447,7 +2349,7 @@ To download a zchunk file.
make-flags)))))) make-flags))))))
(native-inputs (native-inputs
;; Needed to extract the source tarball and run the test suite. ;; Needed to extract the source tarball and run the test suite.
`(("lzip" ,lzip))) (list lzip))
(home-page "https://www.nongnu.org/zutils/zutils.html") (home-page "https://www.nongnu.org/zutils/zutils.html")
(synopsis "Utilities that transparently operate on compressed files") (synopsis "Utilities that transparently operate on compressed files")
(description (description
@ -2499,8 +2401,8 @@ at run time, and must be installed separately.")
(bin (string-append (assoc-ref %outputs "out") "/bin")) (bin (string-append (assoc-ref %outputs "out") "/bin"))
(target (string-append bin "/" name)) (target (string-append bin "/" name))
(python (string-append (assoc-ref %build-inputs "python") "/bin")) (python (string-append (assoc-ref %build-inputs "python") "/bin"))
(7z (string-append (assoc-ref %build-inputs "p7zip") "/bin/7z")) (7z (search-input-file %build-inputs "/bin/7z"))
(unzip (string-append (assoc-ref %build-inputs "unzip") "/bin/unzip"))) (unzip (search-input-file %build-inputs "/bin/unzip")))
(setenv "PATH" (string-append (getenv "PATH") ":" python)) (setenv "PATH" (string-append (getenv "PATH") ":" python))
(mkdir-p bin) (mkdir-p bin)
(copy-file source target) (copy-file source target)
@ -2558,13 +2460,10 @@ file compression algorithm.")
(base32 "00adrjpxqlaccrwjf65w3vhxfswdj0as8aj263c6f9b85llypc5v")))) (base32 "00adrjpxqlaccrwjf65w3vhxfswdj0as8aj263c6f9b85llypc5v"))))
(build-system glib-or-gtk-build-system) (build-system glib-or-gtk-build-system)
(native-inputs (native-inputs
`(("gettext" ,gettext-minimal) (list gettext-minimal intltool libxslt pkg-config))
("intltool" ,intltool)
("libxslt" ,libxslt)
("pkg-config" ,pkg-config)))
(inputs (inputs
`(("adwaita-icon-theme" ,adwaita-icon-theme) ; hard-coded theme (list adwaita-icon-theme ; hard-coded theme
("gtk+" ,gtk+))) gtk+))
(home-page "https://github.com/ib/xarchiver") (home-page "https://github.com/ib/xarchiver")
(synopsis "Graphical front-end for archive operations") (synopsis "Graphical front-end for archive operations")
(description "Xarchiver is a front-end to various command line archiving (description "Xarchiver is a front-end to various command line archiving
@ -2702,7 +2601,7 @@ to their original, binary CD format.")
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure)))) (delete 'configure))))
(inputs (inputs
`(("zlib" ,zlib))) (list zlib))
(home-page "https://github.com/ebiggers/libdeflate") (home-page "https://github.com/ebiggers/libdeflate")
(synopsis "Library for DEFLATE/zlib/gzip compression and decompression") (synopsis "Library for DEFLATE/zlib/gzip compression and decompression")
(description "Libdeflate is a library for fast, whole-buffer DEFLATE-based (description "Libdeflate is a library for fast, whole-buffer DEFLATE-based
@ -2729,9 +2628,9 @@ compression and decompression. The supported formats are:
(base32 "1x5dw03lcwfigcv97cg70gkbkfycjmv1012s9lwnl4izvl9235qg")))) (base32 "1x5dw03lcwfigcv97cg70gkbkfycjmv1012s9lwnl4izvl9235qg"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("lzip" ,lzip))) (list lzip))
(inputs (inputs
`(("lzlib" ,lzlib))) (list lzlib))
(home-page "https://www.nongnu.org/lzip/tarlz.html") (home-page "https://www.nongnu.org/lzip/tarlz.html")
(synopsis "Combination of the tar archiver and the lzip compressor") (synopsis "Combination of the tar archiver and the lzip compressor")
(description (description

View file

@ -58,25 +58,21 @@
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("dbus" ,dbus) (list dbus
("libconfig" ,libconfig) libconfig
("libx11" ,libx11) libx11
("libxcomposite" ,libxcomposite) libxcomposite
("libxdamage" ,libxdamage) libxdamage
("libxext" ,libxext) libxext
("libxfixes" ,libxfixes) libxfixes
("libxinerama" ,libxinerama) libxinerama
("libxrandr" ,libxrandr) libxrandr
("libxrender" ,libxrender) libxrender
("mesa" ,mesa) mesa
("xprop" ,xprop) xprop
("xwininfo" ,xwininfo))) xwininfo))
(native-inputs (native-inputs
`(("asciidoc" ,asciidoc) (list asciidoc libdrm pkg-config python xorgproto))
("libdrm" ,libdrm)
("pkg-config" ,pkg-config)
("python" ,python)
("xorgproto" ,xorgproto)))
(arguments (arguments
`(#:make-flags (list `(#:make-flags (list
"CC=gcc" "CC=gcc"
@ -127,23 +123,21 @@ performance).
(file-name (string-append "picom-" version)))) (file-name (string-append "picom-" version))))
(build-system meson-build-system) (build-system meson-build-system)
(inputs (inputs
`(("dbus" ,dbus) (list dbus
("libconfig" ,libconfig) libconfig
("libx11" ,libx11) libx11
("libxext" ,libxext) libxext
("libev" ,libev) libev
("mesa" ,mesa) mesa
("xprop" ,xprop) xprop
("xcb-util-renderutil" ,xcb-util-renderutil) xcb-util-renderutil
("xcb-util-image" ,xcb-util-image) xcb-util-image
("pixman" ,pixman) pixman
("uthash" ,uthash) uthash
("libxdg-basedir" ,libxdg-basedir) libxdg-basedir
("pcre" ,pcre))) pcre))
(native-inputs (native-inputs
`(("asciidoc" ,asciidoc) (list asciidoc pkg-config xorgproto))
("pkg-config" ,pkg-config)
("xorgproto" ,xorgproto)))
(arguments (arguments
`(#:build-type "release" `(#:build-type "release"
#:configure-flags '("-Dwith_docs=true"))) #:configure-flags '("-Dwith_docs=true")))

View file

@ -48,56 +48,56 @@
;; We don't need to install the source code for end-user applications. ;; We don't need to install the source code for end-user applications.
#:install-source? #f)) #:install-source? #f))
(native-inputs (native-inputs
`(("go-github-com-masterminds-sprig" ,go-github-com-masterminds-sprig) (list go-github-com-masterminds-sprig
("go-github-com-masterminds-goutils" ,go-github-com-masterminds-goutils) go-github-com-masterminds-goutils
("go-github-com-masterminds-semver" ,go-github-com-masterminds-semver) go-github-com-masterminds-semver
("go-github-com-google-uuid" ,go-github-com-google-uuid) go-github-com-google-uuid
("go-github-com-huandu-xstrings" ,go-github-com-huandu-xstrings) go-github-com-huandu-xstrings
("go-github-com-imdario-mergo" ,go-github-com-imdario-mergo) go-github-com-imdario-mergo
("go-github-com-mitchellh-reflectwalk" ,go-github-com-mitchellh-reflectwalk) go-github-com-mitchellh-reflectwalk
("go-github-com-mitchellh-copystructure" ,go-github-com-mitchellh-copystructure) go-github-com-mitchellh-copystructure
("go-github-com-bmatcuk-doublestar" ,go-github-com-bmatcuk-doublestar) go-github-com-bmatcuk-doublestar
("go-github-com-charmbracelet-glamour" ,go-github-com-charmbracelet-glamour) go-github-com-charmbracelet-glamour
("go-github-com-alecthomas-chroma" ,go-github-com-alecthomas-chroma) go-github-com-alecthomas-chroma
("go-github-com-coreos-go-semver" ,go-github-com-coreos-go-semver) go-github-com-coreos-go-semver
("go-github-com-danwakefield-fnmatch" ,go-github-com-danwakefield-fnmatch) go-github-com-danwakefield-fnmatch
("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2) go-github-com-dlclark-regexp2
("go-github-go-git" ,go-github-go-git) go-github-go-git
("go-github-com-google-go-github" ,go-github-com-google-go-github) go-github-com-google-go-github
("go-github-com-google-go-querystring" ,go-github-com-google-go-querystring) go-github-com-google-go-querystring
("go-github-com-google-renameio" ,go-github-com-google-renameio) go-github-com-google-renameio
("go-github-com-microcosm-cc-bluemonday",go-github-com-microcosm-cc-bluemonday) go-github-com-microcosm-cc-bluemonday
("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur) go-github-com-aymerick-douceur
("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur) go-github-com-chris-ramon-douceur
("go-github-com-gorilla-css" ,go-github-com-gorilla-css) go-github-com-gorilla-css
("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi) go-github-com-muesli-reflow-ansi
("go-github-com-muesli-reflow-wordwrap" ,go-github-com-muesli-reflow-wordwrap) go-github-com-muesli-reflow-wordwrap
("go-github-com-muesli-reflow-indent" ,go-github-com-muesli-reflow-indent) go-github-com-muesli-reflow-indent
("go-github-com-muesli-reflow-padding" ,go-github-com-muesli-reflow-padding) go-github-com-muesli-reflow-padding
("go-github-com-muesli-termenv" ,go-github-com-muesli-termenv) go-github-com-muesli-termenv
("go-github-com-google-goterm" ,go-github-com-google-goterm) go-github-com-google-goterm
("go-golang-org-colorful" ,go-golang-org-colorful) go-golang-org-colorful
("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty) go-github-com-mattn-go-isatty
("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth) go-github.com-mattn-go-runewidth
("go-github-com-olekukonko-tablewriter" ,go-github-com-olekukonko-tablewriter) go-github-com-olekukonko-tablewriter
("go-github-com-pelletier-go-toml" ,go-github-com-pelletier-go-toml) go-github-com-pelletier-go-toml
("go-github-com-pkg-diff" ,go-github-com-pkg-diff) go-github-com-pkg-diff
("go-github-com-sergi-go-diff" ,go-github-com-sergi-go-diff) go-github-com-sergi-go-diff
("go-github-com-spf13-cobra" ,go-github-com-spf13-cobra) go-github-com-spf13-cobra
("go-github-com-spf13-viper" ,go-github-com-spf13-viper) go-github-com-spf13-viper
("go-github-com-twpayne-go-shell" ,go-github-com-twpayne-go-shell) go-github-com-twpayne-go-shell
("go-github-com-twpayne-go-vfs" ,go-github-com-twpayne-go-vfs) go-github-com-twpayne-go-vfs
("go-github-com-twpayne-go-vfsafero" ,go-github-com-twpayne-go-vfsafero) go-github-com-twpayne-go-vfsafero
("go-github-com-twpayne-go-xdg" ,go-github-com-twpayne-go-xdg) go-github-com-twpayne-go-xdg
("go-github-com-yuin-goldmark" ,go-github-com-yuin-goldmark) go-github-com-yuin-goldmark
("go-github-com-zalando-go-keyring" ,go-github-com-zalando-go-keyring) go-github-com-zalando-go-keyring
("go-github-com-godbus-dbus" ,go-github-com-godbus-dbus) go-github-com-godbus-dbus
("go-etcd-io-bbolt" ,go-etcd-io-bbolt) go-etcd-io-bbolt
("go-golang-org-x-crypto" ,go-golang-org-x-crypto) go-golang-org-x-crypto
("go-golang-org-x-net" ,go-golang-org-x-net) go-golang-org-x-net
("go-golang-org-x-oauth2" ,go-golang-org-x-oauth2) go-golang-org-x-oauth2
("go-github-com-rogpeppe-go-internal" ,go-github-com-rogpeppe-go-internal) go-github-com-rogpeppe-go-internal
("gopkg-in-errgo-fmt-errors" ,gopkg-in-errgo-fmt-errors))) gopkg-in-errgo-fmt-errors))
(home-page "https://www.chezmoi.io/") (home-page "https://www.chezmoi.io/")
(synopsis "Personal configuration files manager") (synopsis "Personal configuration files manager")
(description "This package helps to manage personal configuration files (description "This package helps to manage personal configuration files

View file

@ -74,20 +74,20 @@
(install-file "src/conky" bin)) (install-file "src/conky" bin))
#t))))) #t)))))
(inputs (inputs
`(("freetype" ,freetype) (list freetype
("imlib2" ,imlib2) imlib2
("libx11" ,libx11) libx11
("libxdamage" ,libxdamage) libxdamage
("libxext" ,libxext) libxext
("libxft" ,libxft) libxft
("libxinerama" ,libxinerama) libxinerama
("pulseaudio" ,pulseaudio) pulseaudio
("lua" ,lua) lua
("ncurses" ,ncurses) ncurses
("curl" ,curl) curl
("wireless-tools" ,wireless-tools))) wireless-tools))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(synopsis "Lightweight system monitor for X") (synopsis "Lightweight system monitor for X")
(description (description
"Conky is a lightweight system monitor for X that displays operating "Conky is a lightweight system monitor for X that displays operating

View file

@ -71,22 +71,22 @@
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)
("python" ,python-wrapper))) ("python" ,python-wrapper)))
(inputs (inputs
`(("dbus" ,dbus) (list dbus
("glib" ,glib) glib
("gnutls" ,gnutls) gnutls
("iptables" ,iptables) iptables
("libmnl" ,libmnl) libmnl
("lz4" ,lz4) ; required by openconnect.pc lz4 ; required by openconnect.pc
("readline" ,readline) readline
;; These inputs are needed for connman to include the interface to ;; These inputs are needed for connman to include the interface to
;; these technologies so IF they are installed they can be used. ;; these technologies so IF they are installed they can be used.
;; TODO: add neard, ofono ;; TODO: add neard, ofono
("openconnect" ,openconnect) openconnect
("openvpn" ,openvpn) openvpn
("ppp" ,ppp) ppp
("vpnc" ,vpnc) vpnc
("wpa-supplicant" ,wpa-supplicant) wpa-supplicant
("xl2tpd" ,xl2tpd))) xl2tpd))
(home-page "https://01.org/connman") (home-page "https://01.org/connman")
(synopsis "Connection management daemon") (synopsis "Connection management daemon")
(description "Connman provides a daemon for managing Internet connections. (description "Connman provides a daemon for managing Internet connections.
@ -123,9 +123,9 @@ sharing) to clients via USB, ethernet, WiFi, cellular and Bluetooth.")
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin/econnman-bin"))) (bin (string-append out "/bin/econnman-bin")))
(wrap-program bin (wrap-program bin
`("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))) `("GUIX_PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH"))))
#t)))))) #t))))))
(native-inputs `(("pkg-config" ,pkg-config))) (native-inputs (list pkg-config))
(inputs (inputs
`(("efl" ,efl) `(("efl" ,efl)
("python" ,python-wrapper) ("python" ,python-wrapper)
@ -150,9 +150,9 @@ sharing) to clients via USB, ethernet, WiFi, cellular and Bluetooth.")
(sha256 (sha256
(base32 "0jn12wxwjznady6aniwmvahg1dj25p902sdwj0070biv6vx5c7dq")))) (base32 "0jn12wxwjznady6aniwmvahg1dj25p902sdwj0070biv6vx5c7dq"))))
(inputs (inputs
`(("qtbase" ,qtbase-5))) (list qtbase-5))
(native-inputs (native-inputs
`(("qttools" ,qttools))) (list qttools))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:phases '(#:phases

View file

@ -50,7 +50,7 @@
(patch-shebang "suite/parsable_tester.pl") (patch-shebang "suite/parsable_tester.pl")
#t))))) #t)))))
(inputs (inputs
`(("perl" ,perl))) (list perl))
(synopsis "Convert filenames between character sets") (synopsis "Convert filenames between character sets")
(description (description
"convmv is a file renamer, that converts between different encodings, "convmv is a file renamer, that converts between different encodings,

View file

@ -70,17 +70,17 @@
(setenv "SH" (which "sh")) (setenv "SH" (which "sh"))
#t))))) #t)))))
(native-inputs `(("bison" ,bison) (native-inputs (list bison
;; For building the documentation: ;; For building the documentation:
("groff" ,groff) groff
;; For the tests: ;; For the tests:
("sharutils" ,sharutils) sharutils
;; One test wants rsh. However there is no rsh server ;; One test wants rsh. However there is no rsh server
;; running in the build environment and so far as I'm ;; running in the build environment and so far as I'm
;; aware, it cannot be started without root. ;; aware, it cannot be started without root.
;; This test is therefore just skipped. ;; This test is therefore just skipped.
;; ("inetutils" ,inetutils) ;; ("inetutils" ,inetutils)
("ed" ,ed))) ed))
(home-page (string-append "https://web.archive.org/web/20140727122520/" (home-page (string-append "https://web.archive.org/web/20140727122520/"
"http://miller.emu.id.au/pmiller/software/cook/")) "http://miller.emu.id.au/pmiller/software/cook/"))
(synopsis "Tool for constructing files") (synopsis "Tool for constructing files")

View file

@ -78,11 +78,9 @@
(separator #f)))) (separator #f))))
(build-system dune-build-system) (build-system dune-build-system)
(inputs (inputs
`(("gmp" ,gmp) (list gmp ocaml-zarith))
("ocaml-zarith" ,ocaml-zarith)))
(native-inputs (native-inputs
`(("ocaml-ounit2" ,ocaml-ounit2) (list ocaml-ounit2 which))
("which" ,which)))
(arguments (arguments
`(#:package "coq-core" `(#:package "coq-core"
#:test-target ".")) #:test-target "."))
@ -105,9 +103,7 @@ It is developed using Objective Caml and Camlp5.")
`(#:package "coq-stdlib" `(#:package "coq-stdlib"
#:test-target ".")) #:test-target "."))
(inputs (inputs
`(("coq-core" ,coq-core) (list coq-core gmp ocaml-zarith))
("gmp" ,gmp)
("ocaml-zarith" ,ocaml-zarith)))
(native-inputs '()))) (native-inputs '())))
(define-public coq (define-public coq
@ -118,8 +114,7 @@ It is developed using Objective Caml and Camlp5.")
`(#:package "coq" `(#:package "coq"
#:test-target ".")) #:test-target "."))
(propagated-inputs (propagated-inputs
`(("coq-core" ,coq-core) (list coq-core coq-stdlib))
("coq-stdlib" ,coq-stdlib)))
(native-inputs '()))) (native-inputs '())))
(define-public coq-ide-server (define-public coq-ide-server
@ -130,9 +125,7 @@ It is developed using Objective Caml and Camlp5.")
`(#:tests? #f `(#:tests? #f
#:package "coqide-server")) #:package "coqide-server"))
(inputs (inputs
`(("coq" ,coq) (list coq gmp ocaml-zarith))))
("gmp" ,gmp)
("ocaml-zarith" ,ocaml-zarith)))))
(define-public coq-ide (define-public coq-ide
(package (package
@ -142,8 +135,7 @@ It is developed using Objective Caml and Camlp5.")
`(#:tests? #f `(#:tests? #f
#:package "coqide")) #:package "coqide"))
(propagated-inputs (propagated-inputs
`(("coq" ,coq) (list coq coq-ide-server))
("coq-ide-server" ,coq-ide-server)))
(inputs (inputs
`(("lablgtk3" ,lablgtk3))))) `(("lablgtk3" ,lablgtk3)))))
@ -170,7 +162,7 @@ It is developed using Objective Caml and Camlp5.")
`(("emacs" ,emacs-minimal) `(("emacs" ,emacs-minimal)
("texinfo" ,texinfo))) ("texinfo" ,texinfo)))
(inputs (inputs
`(("perl" ,perl))) (list perl))
(arguments (arguments
(let ((base-directory "/share/emacs/site-lisp/ProofGeneral")) (let ((base-directory "/share/emacs/site-lisp/ProofGeneral"))
`(#:tests? #f ; no check target `(#:tests? #f ; no check target
@ -250,11 +242,7 @@ provers.")
"0j7vq7ifqcdaj2x881aha2rl51l2p72y1cn7r2xya0fjgsssfigy")))) "0j7vq7ifqcdaj2x881aha2rl51l2p72y1cn7r2xya0fjgsssfigy"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake ocaml which coq))
("automake" ,automake)
("ocaml" ,ocaml)
("which" ,which)
("coq" ,coq)))
(arguments (arguments
`(#:configure-flags `(#:configure-flags
(list (string-append "COQUSERCONTRIB=" (assoc-ref %outputs "out") (list (string-append "COQUSERCONTRIB=" (assoc-ref %outputs "out")
@ -301,21 +289,18 @@ inside Coq.")
"1ivh8xm1c8191rm4riamjzya2x6ls96qax5byir1fywf9hbxr1vg")))) "1ivh8xm1c8191rm4riamjzya2x6ls96qax5byir1fywf9hbxr1vg"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf
("automake" ,automake) automake
("ocaml" ,ocaml) ocaml
("which" ,which) which
("coq" ,coq) coq
("camlp5" ,camlp5) camlp5
("bison" ,bison) bison
("flex" ,flex))) flex))
(inputs (inputs
`(("gmp" ,gmp) (list gmp mpfr ocaml-zarith boost))
("mpfr" ,mpfr)
("ocaml-zarith" ,ocaml-zarith)
("boost" ,boost)))
(propagated-inputs (propagated-inputs
`(("coq-flocq" ,coq-flocq))) (list coq-flocq))
(arguments (arguments
`(#:configure-flags `(#:configure-flags
(list (string-append "COQUSERCONTRIB=" (assoc-ref %outputs "out") (list (string-append "COQUSERCONTRIB=" (assoc-ref %outputs "out")
@ -361,9 +346,7 @@ assistant.")
(base32 "0aj8hsdzzds5w0p1858s2b6k9zssjcxa6kgpi0q1nvaml4zfpkcc")))) (base32 "0aj8hsdzzds5w0p1858s2b6k9zssjcxa6kgpi0q1nvaml4zfpkcc"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("ocaml" ,ocaml) (list ocaml which coq))
("which" ,which)
("coq" ,coq)))
(arguments (arguments
`(#:tests? #f ; No tests. `(#:tests? #f ; No tests.
#:make-flags (list (string-append "COQLIBINSTALL=" #:make-flags (list (string-append "COQLIBINSTALL="
@ -401,11 +384,7 @@ part of the distribution.")
"146s5y2xsc7wb43m1pq1n4p14hw99gqbzx0ic3a4naxq16v7cv4w")))) "146s5y2xsc7wb43m1pq1n4p14hw99gqbzx0ic3a4naxq16v7cv4w"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake ocaml which coq))
("automake" ,automake)
("ocaml" ,ocaml)
("which" ,which)
("coq" ,coq)))
(propagated-inputs (propagated-inputs
`(("mathcomp" ,coq-mathcomp))) `(("mathcomp" ,coq-mathcomp)))
(arguments (arguments
@ -453,11 +432,9 @@ theorems between the two libraries.")
"0jsgdvj0ddhkls32krprp34r64y1rb5mwxl34fgaxk2k4664yq06")))) "0jsgdvj0ddhkls32krprp34r64y1rb5mwxl34fgaxk2k4664yq06"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("ocaml" ,ocaml) (list ocaml coq))
("coq" ,coq)))
(inputs (inputs
`(("camlp5" ,camlp5) (list camlp5 ocaml-zarith))
("ocaml-zarith" ,ocaml-zarith)))
(arguments (arguments
`(#:tests? #f ; No test target. `(#:tests? #f ; No test target.
#:make-flags #:make-flags
@ -488,11 +465,7 @@ provides BigN, BigZ, BigQ that used to be part of Coq standard library.")
"0sr9psildc0sda07r2r47rfgyry49yklk38bg04yyvry5j5pryb6")))) "0sr9psildc0sda07r2r47rfgyry49yklk38bg04yyvry5j5pryb6"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake ocaml which coq))
("automake" ,automake)
("ocaml" ,ocaml)
("which" ,which)
("coq" ,coq)))
(propagated-inputs (propagated-inputs
`(("flocq" ,coq-flocq) `(("flocq" ,coq-flocq)
("bignums" ,coq-bignums) ("bignums" ,coq-bignums)
@ -549,7 +522,7 @@ Coq proof assistant.")
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure)))) (delete 'configure))))
(native-inputs (native-inputs
`(("coq" ,coq))) (list coq))
(home-page "https://www.ps.uni-saarland.de/autosubst/") (home-page "https://www.ps.uni-saarland.de/autosubst/")
(synopsis "Coq library for parallel de Bruijn substitutions") (synopsis "Coq library for parallel de Bruijn substitutions")
(description "Formalizing syntactic theories with variable binders is (description "Formalizing syntactic theories with variable binders is
@ -580,11 +553,9 @@ uses Ltac to synthesize the substitution operation.")
"19bj9nncd1r9g4273h5qx35gs3i4bw5z9bhjni24b413hyj55hkv")))) "19bj9nncd1r9g4273h5qx35gs3i4bw5z9bhjni24b413hyj55hkv"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("ocaml" ,ocaml) (list ocaml coq camlp5))
("coq" ,coq)
("camlp5" ,camlp5)))
(inputs (inputs
`(("ocaml-zarith" ,ocaml-zarith))) (list ocaml-zarith))
(arguments (arguments
`(#:test-target "test-suite" `(#:test-target "test-suite"
#:make-flags (list (string-append "COQLIBINSTALL=" #:make-flags (list (string-append "COQLIBINSTALL="
@ -625,12 +596,9 @@ kernel.")
"0ldrp86bfcjpzsb08p45sgs3aczjzr1gksy5dsf7pxapg05pc7ac")))) "0ldrp86bfcjpzsb08p45sgs3aczjzr1gksy5dsf7pxapg05pc7ac"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("coq" ,coq) (list coq ocaml ocamlbuild ocaml-findlib))
("ocaml" ,ocaml)
("ocamlbuild" ,ocamlbuild)
("ocaml-findlib" ,ocaml-findlib)))
(inputs (inputs
`(("ocaml-num" ,ocaml-num))) (list ocaml-num))
(arguments (arguments
`(#:tests? #f ;included in Makefile `(#:tests? #f ;included in Makefile
#:make-flags (list (string-append "COQLIBINSTALL=" #:make-flags (list (string-append "COQLIBINSTALL="
@ -670,7 +638,7 @@ also provided in Coq, without associated proofs.")
"1l1w6srzydjg0h3f4krrfgvz455h56shyy2lbcnwdbzjkahibl7v")))) "1l1w6srzydjg0h3f4krrfgvz455h56shyy2lbcnwdbzjkahibl7v"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("coq" ,coq))) (list coq))
(arguments (arguments
`(#:tests? #f ; Tests are executed during build phase. `(#:tests? #f ; Tests are executed during build phase.
#:make-flags (list (string-append "COQLIBINSTALL=" #:make-flags (list (string-append "COQLIBINSTALL="

View file

@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org> ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -35,7 +36,14 @@
version ".tar.bz2")) version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"0vbgnhkawdllgnkdn6zn1f56fczwk0518krakz2qbwhxmv2vvdga")))) "0vbgnhkawdllgnkdn6zn1f56fczwk0518krakz2qbwhxmv2vvdga"))
(modules '((guix build utils)))
(snippet
'(begin
;; Remove superfluous declaration that trips GCC 10.
(substitute* "src/global.c"
(("char \\*program_name;")
""))))))
(build-system gnu-build-system) (build-system gnu-build-system)
(home-page "https://www.gnu.org/software/cpio/") (home-page "https://www.gnu.org/software/cpio/")
(synopsis "Manage cpio and tar file archives") (synopsis "Manage cpio and tar file archives")

View file

@ -18,6 +18,9 @@
;;; Copyright © 2020 Brett Gilio <brettg@gnu.org> ;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2020 Milkey Mouse <milkeymouse@meme.institute> ;;; Copyright © 2020 Milkey Mouse <milkeymouse@meme.institute>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name> ;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -87,14 +90,14 @@
(commit version))) (commit version)))
(file-name (file-name
(git-file-name name version)) (git-file-name name version))
(patches (search-patches "range-v3-build-with-gcc10.patch"))
(sha256 (sha256
(base32 "18230bg4rq9pmm5f8f65j444jpq56rld4fhmpham8q3vr1c1bdjh")))) (base32 "18230bg4rq9pmm5f8f65j444jpq56rld4fhmpham8q3vr1c1bdjh"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
`(("doxygen" ,doxygen) (list doxygen gcc-9 perl))
("perl" ,perl)))
(inputs (inputs
`(("boost" ,boost))) (list boost))
(synopsis "Range library for C++14/17/20") (synopsis "Range library for C++14/17/20")
(description "Range-v3 is an extension of the Standard Template Library that (description "Range-v3 is an extension of the Standard Template Library that
makes its iterators and algorithms more powerful by making them composable. makes its iterators and algorithms more powerful by making them composable.
@ -129,13 +132,13 @@ range-v3 ranges are an abstraction layer on top of iterators.")
(git-file-name name version)) (git-file-name name version))
(patches (patches
(search-patches (search-patches
"c++-gsl-find-system-gtest.patch")) "c++-gsl-find-system-gtest.patch"
"c++-gsl-move-array-bounds-tests.patch"))
(sha256 (sha256
(base32 "0gbvr48f03830g3154bjhw92b8ggmg6wwh5xyb8nppk9v6w752l0")))) (base32 "0gbvr48f03830g3154bjhw92b8ggmg6wwh5xyb8nppk9v6w752l0"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
`(("googletest" ,googletest) (list googletest pkg-config))
("pkg-config" ,pkg-config)))
(synopsis "Guidelines Support Library") (synopsis "Guidelines Support Library")
(description "c++-gsl contains functions and types that are suggested for (description "c++-gsl contains functions and types that are suggested for
use by the C++ Core Guidelines maintained by the Standard C++ Foundation.") use by the C++ Core Guidelines maintained by the Standard C++ Foundation.")
@ -158,9 +161,7 @@ use by the C++ Core Guidelines maintained by the Standard C++ Foundation.")
(base32 (base32
"1rwaxmid9iv65n0y6xlcyxxydsvihjni9ldxpg6pbqz43amp49xx")))) "1rwaxmid9iv65n0y6xlcyxxydsvihjni9ldxpg6pbqz43amp49xx"))))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool))
("automake" ,automake)
("libtool" ,libtool)))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:phases '(#:phases
@ -203,7 +204,7 @@ operating system functions.")
(substitute* "src/unit_tests/unit_tests.cmake" (substitute* "src/unit_tests/unit_tests.cmake"
(("misc/library_test.cpp") "")) (("misc/library_test.cpp") ""))
#t))))) #t)))))
(native-inputs `(("pkg-config" ,pkg-config))) (native-inputs (list pkg-config))
(home-page "https://github.com/rttrorg/rttr/") (home-page "https://github.com/rttrorg/rttr/")
(synopsis "C++ Reflection Library") (synopsis "C++ Reflection Library")
(description (description
@ -234,11 +235,9 @@ the name of the library itself, which is written in C++.")
'("-DWITH_TESTS=ON" ; To run the test suite '("-DWITH_TESTS=ON" ; To run the test suite
"-DRCT_RTTI_ENABLED=ON"))) "-DRCT_RTTI_ENABLED=ON")))
(native-inputs (native-inputs
`(("cppunit" ,cppunit) (list cppunit pkg-config))
("pkg-config" ,pkg-config)))
(inputs (inputs
`(("openssl" ,openssl) (list openssl zlib))
("zlib" ,zlib)))
(home-page "https://github.com/Andersbakken/rct") (home-page "https://github.com/Andersbakken/rct")
(synopsis "C++ library providing Qt-like APIs on top of the STL") (synopsis "C++ library providing Qt-like APIs on top of the STL")
(description "Rct is a set of C++ tools that provide nicer (more Qt-like) (description "Rct is a set of C++ tools that provide nicer (more Qt-like)
@ -261,7 +260,7 @@ the name of the library itself, which is written in C++.")
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments '(#:tests? #f)) ; no tests (arguments '(#:tests? #f)) ; no tests
(native-inputs `(("pkg-config" ,pkg-config))) (native-inputs (list pkg-config))
(home-page "https://github.com/aseba-community/dashel") (home-page "https://github.com/aseba-community/dashel")
(synopsis "Data stream helper encapsulation library") (synopsis "Data stream helper encapsulation library")
(description (description
@ -289,7 +288,7 @@ combination of these streams.")
`(#:configure-flags (list "-DBUILD_TESTS=ON") `(#:configure-flags (list "-DBUILD_TESTS=ON")
#:test-target "xtest")) #:test-target "xtest"))
(native-inputs (native-inputs
`(("googletest" ,googletest))) (list googletest))
(home-page "https://github.com/QuantStack/xsimd") (home-page "https://github.com/QuantStack/xsimd")
(synopsis "C++ wrappers for SIMD intrinsics and math implementations") (synopsis "C++ wrappers for SIMD intrinsics and math implementations")
(description (description
@ -353,7 +352,7 @@ functions, class methods, and stl containers.
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet '(delete-file-recursively "./test/thirdparty")))) (snippet '(delete-file-recursively "./test/thirdparty"))))
(native-inputs (native-inputs
`(("catch2" ,catch-framework2-1))) (list catch-framework2-1))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -365,10 +364,8 @@ functions, class methods, and stl containers.
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
(inc (string-append out "/include/fifo_map"))) (inc (string-append out "/include/fifo_map")))
(with-directory-excursion (with-directory-excursion "../source"
(string-append "../" ,name "-" ,version "-checkout") (install-file "src/fifo_map.hpp" inc))))))))
(install-file "src/fifo_map.hpp" inc)
#t)))))))
(synopsis "FIFO-ordered associative container for C++") (synopsis "FIFO-ordered associative container for C++")
(description "Fifo_map is a C++ header only library for associative (description "Fifo_map is a C++ header only library for associative
container which uses the order in which keys were inserted to the container container which uses the order in which keys were inserted to the container
@ -443,7 +440,7 @@ as ordering relation.")
(base32 (base32
"0nzsjzlvk14dazwh7k2jb1dinb0pv9jbx5jsyn264wvva0y7daiv"))))))) "0nzsjzlvk14dazwh7k2jb1dinb0pv9jbx5jsyn264wvva0y7daiv")))))))
(inputs (inputs
`(("fifo-map" ,fifo-map))) (list fifo-map))
(synopsis "JSON parser and printer library for C++") (synopsis "JSON parser and printer library for C++")
(description "JSON for Modern C++ is a C++ JSON library that provides (description "JSON for Modern C++ is a C++ JSON library that provides
intuitive syntax and trivial integration.") intuitive syntax and trivial integration.")
@ -464,8 +461,7 @@ intuitive syntax and trivial integration.")
"1kd9zl4h6nrsg29hq13vwp4zhfj8sa90vj40726lpw6vxz48k4di")) "1kd9zl4h6nrsg29hq13vwp4zhfj8sa90vj40726lpw6vxz48k4di"))
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(native-inputs (native-inputs
`(("googletest" ,googletest) (list googletest json-modern-cxx))
("json-modern-cxx" ,json-modern-cxx)))
(arguments (arguments
`(#:configure-flags `(#:configure-flags
'("-DBUILD_TESTS=ON") '("-DBUILD_TESTS=ON")
@ -500,10 +496,9 @@ tools (containers, algorithms) used by other QuantStack packages.")
(arguments (arguments
'(#:tests? #f)) ; no check target '(#:tests? #f)) ; no check target
(inputs (inputs
`(("rapidjson" ,rapidjson))) (list rapidjson))
(native-inputs (native-inputs
`(("clang" ,clang) (list clang llvm))
("llvm" ,llvm)))
(home-page "https://github.com/MaskRay/ccls") (home-page "https://github.com/MaskRay/ccls")
(synopsis "C/C++/Objective-C language server") (synopsis "C/C++/Objective-C language server")
(description (description
@ -554,11 +549,9 @@ lock-free fixed size queue written in C++11.")
;; https://bugs.gnu.org/46562 ;; https://bugs.gnu.org/46562
'(#:parallel-tests? #f)) '(#:parallel-tests? #f))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool
("automake" ,automake)
("libtool" ,libtool)
;; For tests. ;; For tests.
("perl" ,perl))) perl))
(home-page "https://github.com/gperftools/gperftools") (home-page "https://github.com/gperftools/gperftools")
(synopsis "Multi-threaded malloc() and performance analysis tools for C++") (synopsis "Multi-threaded malloc() and performance analysis tools for C++")
(description (description
@ -622,11 +615,9 @@ tools:
(invoke "make")))))))) (invoke "make"))))))))
(native-inputs (native-inputs
;; required to build shared lib ;; required to build shared lib
`(("python" ,python))) (list python))
(inputs (inputs
`(("brotli" ,brotli) (list brotli openssl zlib))
("openssl" ,openssl)
("zlib" ,zlib)))
(home-page "https://github.com/yhirose/cpp-httplib") (home-page "https://github.com/yhirose/cpp-httplib")
(synopsis "C++ HTTP/HTTPS server and client library") (synopsis "C++ HTTP/HTTPS server and client library")
(description "cpp-httplib is a C++11 single-file cross platform blocking (description "cpp-httplib is a C++11 single-file cross platform blocking
@ -659,9 +650,7 @@ library.")
#t))))) #t)))))
(build-system python-build-system) (build-system python-build-system)
(native-inputs (native-inputs
`(("python-pytest" ,python-pytest) (list python-pytest python-pytest-cov python-pytest-runner))
("python-pytest-cov" ,python-pytest-cov)
("python-pytest-runner" ,python-pytest-runner)))
(home-page "https://github.com/cpplint/cpplint") (home-page "https://github.com/cpplint/cpplint")
(synopsis "Static code checker for C++") (synopsis "Static code checker for C++")
(description "@code{cpplint} is a command-line tool to check C/C++ files (description "@code{cpplint} is a command-line tool to check C/C++ files
@ -691,7 +680,7 @@ and make @code{cpplint} usable in wider contexts.")
;; Enable building of shared library. ;; Enable building of shared library.
#:configure-flags `("-DBUILD_SHARED_LIBS=1"))) #:configure-flags `("-DBUILD_SHARED_LIBS=1")))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(synopsis "Process IO library") (synopsis "Process IO library")
(description "reproc (Redirected Process) is a C/C++ library that (description "reproc (Redirected Process) is a C/C++ library that
simplifies starting, stopping and communicating with external programs. The simplifies starting, stopping and communicating with external programs. The
@ -703,7 +692,7 @@ code and retrieving their output.")
(define-public sobjectizer (define-public sobjectizer
(package (package
(name "sobjectizer") (name "sobjectizer")
(version "5.6.1") (version "5.7.2.6")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -711,7 +700,7 @@ code and retrieving their output.")
(url "https://github.com/Stiffstream/sobjectizer") (url "https://github.com/Stiffstream/sobjectizer")
(commit (string-append "v." version)))) (commit (string-append "v." version))))
(sha256 (sha256
(base32 "0jfai7sqxnnjkms38krm7mssj5l79nb3pllkbyj4j581a7l5j6l5")) (base32 "0n6smpjkkkw0xab8wcpy3p0dpw2v9sxgwl6azl3am6abmv4mff12"))
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
@ -759,7 +748,8 @@ other values of screen objects, by setting their values as the tween starting
point and then, after each tween step, plugging back the result.") point and then, after each tween step, plugging back the result.")
(license license:expat))) (license license:expat)))
(define-public abseil-cpp ;;; This older LTS release is kept for tensorflow.
(define-public abseil-cpp-20200923.3
(package (package
(name "abseil-cpp") (name "abseil-cpp")
(version "20200923.3") (version "20200923.3")
@ -772,11 +762,8 @@ point and then, after each tween step, plugging back the result.")
(sha256 (sha256
(base32 (base32
"1p4djhm1f011ficbjjxx3n8428p8481p20j4glpaawnpsi362hkl")) "1p4djhm1f011ficbjjxx3n8428p8481p20j4glpaawnpsi362hkl"))
;; Remove after next googletest release and update.
(patches (patches
(search-patches (search-patches "abseil-cpp-fix-strerror_test.patch"))))
"abseil-cpp-fix-gtest.patch"
"abseil-cpp-fix-strerror_test.patch"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON" `(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON"
@ -801,7 +788,7 @@ point and then, after each tween step, plugging back the result.")
(("check_target\\(gtest_main\\)") "") (("check_target\\(gtest_main\\)") "")
(("check_target\\(gmock\\)") ""))))))) (("check_target\\(gmock\\)") "")))))))
(native-inputs (native-inputs
`(("googletest" ,googletest))) (list googletest))
(home-page "https://abseil.io") (home-page "https://abseil.io")
(synopsis "Augmented C++ standard library") (synopsis "Augmented C++ standard library")
(description "Abseil is a collection of C++ library code designed to (description "Abseil is a collection of C++ library code designed to
@ -809,6 +796,26 @@ augment the C++ standard library. The Abseil library code is collected from
Google's C++ code base.") Google's C++ code base.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public abseil-cpp
(let ((base abseil-cpp-20200923.3))
(package/inherit base
(name "abseil-cpp")
(version "20210324.2")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/abseil/abseil-cpp")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0g9rbhk3mwjdfxk7cscd04vm8fphd5flz9yykpgvyy1nwa34zk3x"))))
(arguments
(substitute-keyword-arguments (package-arguments base)
((#:configure-flags flags)
`(cons* "-DBUILD_TESTING=ON"
(delete "-DABSL_RUN_TESTS=ON" ,flags))))))))
(define-public pegtl (define-public pegtl
(package (package
(name "pegtl") (name "pegtl")
@ -871,26 +878,23 @@ standard GNU style syntax for options.")
;; Leave tests disabled; see https://github.com/facebook/folly/issues/1456 ;; Leave tests disabled; see https://github.com/facebook/folly/issues/1456
#:tests? #f)) #:tests? #f))
(propagated-inputs (propagated-inputs
`(("boost" ,boost) (list boost gflags glog liburing))
("gflags" ,gflags)
("glog" ,glog)
("liburing" ,liburing)))
(inputs (inputs
`(("bzip2" ,bzip2) (list bzip2
("double-conversion" ,double-conversion) double-conversion
("fmt" ,fmt) fmt
("libaio" ,libaio) libaio
("libevent" ,libevent) libevent
("libiberty" ,libiberty) libiberty
("libsodium" ,libsodium) libsodium
("libunwind" ,libunwind) libunwind
("lz4" ,lz4) lz4
("openssl" ,openssl) openssl
("snappy" ,snappy) snappy
("zlib" ,zlib) zlib
("zstd" ,zstd "lib"))) `(,zstd "lib")))
(native-inputs (native-inputs
`(("googletest" ,googletest))) (list googletest))
(synopsis "Collection of C++ components complementing the standard library") (synopsis "Collection of C++ components complementing the standard library")
(description (description
"Folly (acronymed loosely after Facebook Open Source Library) is a library "Folly (acronymed loosely after Facebook Open Source Library) is a library
@ -927,12 +931,12 @@ of C++14 components that complements @code{std} and Boost.")
(assoc-ref %build-inputs "aws-c-common")) (assoc-ref %build-inputs "aws-c-common"))
"-DENABLE_NET_TESTS=OFF"))) "-DENABLE_NET_TESTS=OFF")))
(propagated-inputs (propagated-inputs
`(("aws-c-auth" ,aws-c-auth) (list aws-c-auth
("aws-c-cal" ,aws-c-cal) aws-c-cal
("aws-c-event-stream" ,aws-c-event-stream) aws-c-event-stream
("aws-c-http" ,aws-c-http) aws-c-http
("aws-c-mqtt" ,aws-c-mqtt) aws-c-mqtt
("aws-c-s3" ,aws-c-s3))) aws-c-s3))
(synopsis "C++ wrapper for Amazon Web Services C libraries") (synopsis "C++ wrapper for Amazon Web Services C libraries")
(description "The AWS Common Runtime (CRT) library provides a C++ wrapper (description "The AWS Common Runtime (CRT) library provides a C++ wrapper
implementation for the following @acronym{AWS,Amazon Web Services} C libraries: implementation for the following @acronym{AWS,Amazon Web Services} C libraries:
@ -966,12 +970,9 @@ aws-c-http, aws-c-io, aws-c-mqtt, aws-checksums, and s2n.")
(string-append "-DCMAKE_PREFIX_PATH=" (string-append "-DCMAKE_PREFIX_PATH="
(assoc-ref %build-inputs "aws-c-common"))))) (assoc-ref %build-inputs "aws-c-common")))))
(propagated-inputs (propagated-inputs
`(("aws-crt-cpp" ,aws-crt-cpp))) (list aws-crt-cpp))
(inputs (inputs
`(("curl" ,curl) (list curl openssl pulseaudio zlib))
("openssl" ,openssl)
("pulseaudio" ,pulseaudio)
("zlib" ,zlib)))
(synopsis "Amazon Web Services SDK for C++") (synopsis "Amazon Web Services SDK for C++")
(description (description
"The AWS SDK for C++ provides a C++11 interface to the @acronym{AWS,Amazon "The AWS SDK for C++ provides a C++11 interface to the @acronym{AWS,Amazon
@ -1007,7 +1008,7 @@ services including database, analytic, and machine learning technologies.")
(lambda _ (lambda _
(invoke "./tests")))))) (invoke "./tests"))))))
(native-inputs (native-inputs
`(("catch2" ,catch-framework2))) (list catch-framework2))
(synopsis "C++11/14/17 std::expected with functional-style extensions") (synopsis "C++11/14/17 std::expected with functional-style extensions")
(description "@code{std::expected} is proposed as the preferred way to (description "@code{std::expected} is proposed as the preferred way to
represent objects which will either have an expected value, or an unexpected represent objects which will either have an expected value, or an unexpected
@ -1034,7 +1035,7 @@ provides a number of utilities to make coding with expected cleaner.")
"1x47radgsifgz3vn2561mlvf4cq46ii33cpyqf01znm56iirwq89")))) "1x47radgsifgz3vn2561mlvf4cq46ii33cpyqf01znm56iirwq89"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
`(("gcc" ,gcc-9))) (list gcc-9))
(synopsis "C++17 header only library for compile time reflection of enums") (synopsis "C++17 header only library for compile time reflection of enums")
(description "Magic Enum offers static reflection of enums, with (description "Magic Enum offers static reflection of enums, with
conversions to and from strings, iteration and related functionality.") conversions to and from strings, iteration and related functionality.")
@ -1080,8 +1081,7 @@ conversions to and from strings, iteration and related functionality.")
(("^ PROPERTIES FOLDER \"Extern\"\\)") "")) (("^ PROPERTIES FOLDER \"Extern\"\\)") ""))
#t))))) #t)))))
(native-inputs (native-inputs
`(("doxygen" ,doxygen) (list doxygen googletest))
("googletest" ,googletest)))
(synopsis "Command line parser for C++11") (synopsis "Command line parser for C++11")
(description (description
"CLI11 is a command line parser for C++11 and beyond that provides a rich "CLI11 is a command line parser for C++11 and beyond that provides a rich
@ -1107,7 +1107,7 @@ feature set with a simple and intuitive interface.")
'(#:configure-flags '(#:configure-flags
'("-DCAF_ENABLE_EXAMPLES=OFF"))) '("-DCAF_ENABLE_EXAMPLES=OFF")))
(inputs (inputs
`(("openssl" ,openssl))) (list openssl))
(synopsis "C++ implementation of the actor model") (synopsis "C++ implementation of the actor model")
(description "The C++ Actor Framework (CAF) offers a high-level C++17 (description "The C++ Actor Framework (CAF) offers a high-level C++17
programming environment using the actor model for concurrent, distributed programming environment using the actor model for concurrent, distributed
@ -1164,9 +1164,7 @@ output randomness while retaining speed, simplicity, and conciseness.")
(replace 'bootstrap (replace 'bootstrap
(lambda _ (invoke "sh" "bootstrap" "--noconfigure")))))) (lambda _ (invoke "sh" "bootstrap" "--noconfigure"))))))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool))
("automake" ,automake)
("libtool" ,libtool)))
(home-page "https://madmurphy.github.io/libconfini/html/index.html") (home-page "https://madmurphy.github.io/libconfini/html/index.html")
(synopsis "INI file parser") (synopsis "INI file parser")
(description "@code{libconfini} is an INI file parser library written in (description "@code{libconfini} is an INI file parser library written in
@ -1203,8 +1201,8 @@ almost every type of file containing key/value pairs.")
;;"--with-external-boost" ;;"--with-external-boost"
"--with-external-expat"))) "--with-external-expat")))
(inputs (inputs
`(;;("boost ,boost) (list ;;("boost ,boost)
("expat" ,expat))) expat))
(home-page "https://www.codesynthesis.com/projects/libcutl/") (home-page "https://www.codesynthesis.com/projects/libcutl/")
(synopsis "C++ utility library with generic and independent components") (synopsis "C++ utility library with generic and independent components")
(description "libcutl is a C++ utility library. It contains a collection (description "libcutl is a C++ utility library. It contains a collection
@ -1249,7 +1247,7 @@ pointers, containers, compiler building blocks, etc.")
#:include-regexp ("\\.so$"))) #:include-regexp ("\\.so$")))
args)))))) args))))))
(native-inputs (native-inputs
`(("build" ,build))) (list build))
(inputs (inputs
`(("libcutl" ,libcutl) `(("libcutl" ,libcutl)
("libxerces-c" ,xerces-c))) ("libxerces-c" ,xerces-c)))
@ -1297,9 +1295,9 @@ and a traversal mechanism.")
(string-append "edge_dispatcher::" all))))) (string-append "edge_dispatcher::" all)))))
(delete 'configure)))) (delete 'configure))))
(native-inputs (native-inputs
`(("build" ,build))) (list build))
(inputs (inputs
`(("libcutl" ,libcutl))) (list libcutl))
(synopsis "C++ Command Line Interface (CLI) definition language") (synopsis "C++ Command Line Interface (CLI) definition language")
(description "@code{cli} is a domain-specific language (DSL) for defining (description "@code{cli} is a domain-specific language (DSL) for defining
command line interfaces of C++ programs. It allows you to describe the command line interfaces of C++ programs. It allows you to describe the
@ -1340,16 +1338,13 @@ documentation.")
,version))))) ,version)))))
(delete 'configure)))) (delete 'configure))))
(native-inputs (native-inputs
`(("build" ,build) (list build cli))
("cli" ,cli)))
(inputs (inputs
`(("libcutl" ,libcutl) (list libcutl libnsl libxsd-frontend))
("libnsl" ,libnsl)
("libxsd-frontend" ,libxsd-frontend)))
(propagated-inputs (propagated-inputs
;; The code XSD generates requires the following library at run time; ;; The code XSD generates requires the following library at run time;
;; propagate it for convenience. ;; propagate it for convenience.
`(("xerces-c" ,xerces-c))) (list xerces-c))
(synopsis "XML Data Binding for C++") (synopsis "XML Data Binding for C++")
(description "CodeSynthesis XSD (also known as libxsd or xsdcxx) is an XML (description "CodeSynthesis XSD (also known as libxsd or xsdcxx) is an XML
Schema to C++ data binding compiler. Provided with an XML instance Schema to C++ data binding compiler. Provided with an XML instance
@ -1393,10 +1388,9 @@ of reading and writing XML.")
`(#:configure-flags '("-DUSE_SYSTEM_GTEST=ON" "-DUSE_SYSTEM_JSON=ON" `(#:configure-flags '("-DUSE_SYSTEM_GTEST=ON" "-DUSE_SYSTEM_JSON=ON"
"-DBUILD_STATIC_LIBS=OFF"))) "-DBUILD_STATIC_LIBS=OFF")))
(native-inputs (native-inputs
`(("googletest" ,googletest) (list googletest pkg-config))
("pkg-config" ,pkg-config)))
(inputs (inputs
`(("json-modern-cxx" ,json-modern-cxx))) (list json-modern-cxx))
(home-page "https://jsonnet.org/") (home-page "https://jsonnet.org/")
(synopsis "Data templating language") (synopsis "Data templating language")
(description "Jsonnet is a templating language extending JSON (description "Jsonnet is a templating language extending JSON

File diff suppressed because it is too large Load diff

View file

@ -11,6 +11,7 @@
;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr> ;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net> ;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -96,7 +97,7 @@ shapes, lines and text to buffers.")
#:cargo-development-inputs #:cargo-development-inputs
(("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4)))) (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.4))))
(inputs (inputs
`(("wayland" ,wayland))))) (list wayland))))
(define-public rust-ansi-colours-1 (define-public rust-ansi-colours-1
(package (package
@ -137,7 +138,7 @@ approximated by values supported by the terminal.")
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "ansi_term" version)) (uri (crate-uri "ansi_term" version))
(file-name (string-append name "-" version ".crate")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1ljmkbilxgmhavxvxqa7qvm6f3fjggi7q2l3a72q9x0cxjvrnanm")))) "1ljmkbilxgmhavxvxqa7qvm6f3fjggi7q2l3a72q9x0cxjvrnanm"))))
@ -166,7 +167,7 @@ text or blue underlined text, on ANSI terminals.")
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "ansi_term" version)) (uri (crate-uri "ansi_term" version))
(file-name (string-append name "-" version ".crate")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf")))) "16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf"))))
@ -210,11 +211,9 @@ text or blue underlined text, on ANSI terminals.")
(("rust-bindgen" ,rust-bindgen-0.54) (("rust-bindgen" ,rust-bindgen-0.54)
("rust-metadeps" ,rust-metadeps-1)))) ("rust-metadeps" ,rust-metadeps-1))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(inputs (inputs
`(("libaom" ,libaom) (list libaom clang llvm))
("clang" ,clang)
("llvm" ,llvm)))
(home-page "https://github.com/rust-av/aom-rs") (home-page "https://github.com/rust-av/aom-rs")
(synopsis "FFI bindings to aom") (synopsis "FFI bindings to aom")
(description "This package provides FFI bindings to aom.") (description "This package provides FFI bindings to aom.")
@ -240,11 +239,9 @@ text or blue underlined text, on ANSI terminals.")
(("rust-bindgen" ,rust-bindgen-0.53) (("rust-bindgen" ,rust-bindgen-0.53)
("rust-metadeps" ,rust-metadeps-1)))) ("rust-metadeps" ,rust-metadeps-1))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(inputs (inputs
`(("libaom" ,libaom) (list libaom clang llvm))))
("clang" ,clang)
("llvm" ,llvm)))))
(define-public rust-ascii-canvas-2 (define-public rust-ascii-canvas-2
(package (package
@ -592,11 +589,9 @@ and iOS.")
(("rust-bindgen" ,rust-bindgen-0.54) (("rust-bindgen" ,rust-bindgen-0.54)
("rust-metadeps" ,rust-metadeps-1)))) ("rust-metadeps" ,rust-metadeps-1))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(inputs (inputs
`(("dav1d" ,dav1d) (list dav1d clang llvm))
("clang" ,clang)
("llvm" ,llvm)))
(home-page "https://github.com/rust-av/dav1d-rs") (home-page "https://github.com/rust-av/dav1d-rs")
(synopsis "FFI bindings to dav1d") (synopsis "FFI bindings to dav1d")
(description "This package provides FFI bindings to dav1d.") (description "This package provides FFI bindings to dav1d.")
@ -983,8 +978,7 @@ EUI-64, also known as MAC-48 media access control addresses.")
("rust-winapi" ,rust-winapi-0.3) ("rust-winapi" ,rust-winapi-0.3)
("rust-winit" ,rust-winit-0.24)))) ("rust-winit" ,rust-winit-0.24))))
(inputs (inputs
`(("rust-wayland-client" ,rust-wayland-client-0.28) (list rust-wayland-client-0.28 rust-wayland-egl-0.28))
("rust-wayland-egl" ,rust-wayland-egl-0.28)))
(home-page "https://github.com/tomaka/glutin") (home-page "https://github.com/tomaka/glutin")
(synopsis "Cross-platform OpenGL context provider") (synopsis "Cross-platform OpenGL context provider")
(description "This package provides an OpenGL context provider.") (description "This package provides an OpenGL context provider.")
@ -1995,7 +1989,7 @@ interactive applications.")
#:cargo-development-inputs #:cargo-development-inputs
(("rust-avif-parse" ,rust-avif-parse-0.13)))) (("rust-avif-parse" ,rust-avif-parse-0.13))))
(native-inputs (native-inputs
`(("nasm" ,nasm))) ;for building rav1e (list nasm)) ;for building rav1e
(home-page "https://lib.rs/ravif") (home-page "https://lib.rs/ravif")
(synopsis "Library for encoding images in AVIF format") (synopsis "Library for encoding images in AVIF format")
(description "This package is a rav1e-based pure Rust library for encoding (description "This package is a rav1e-based pure Rust library for encoding
@ -2055,7 +2049,7 @@ images in AVIF format.")
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "rgb" version)) (uri (crate-uri "rgb" version))
(file-name (string-append name "-" version ".crate")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1lrv3x5h1lvdzg1qqr8aiysz978m35zpjdkyicnvkarnh8zkqzr8")))) "1lrv3x5h1lvdzg1qqr8aiysz978m35zpjdkyicnvkarnh8zkqzr8"))))
@ -2212,7 +2206,7 @@ applications.")
#:cargo-development-inputs #:cargo-development-inputs
(("rust-andrew" ,rust-andrew-0.2)))) (("rust-andrew" ,rust-andrew-0.2))))
(inputs (inputs
`(("wayland" ,wayland))))) (list wayland))))
(define-public rust-tiff-0.6 (define-public rust-tiff-0.6
(package (package
@ -2326,14 +2320,14 @@ applications.")
#:cargo-development-inputs #:cargo-development-inputs
(("rust-tempfile" ,rust-tempfile-3)))) (("rust-tempfile" ,rust-tempfile-3))))
(inputs (inputs
`(("rust-bitflags" ,rust-bitflags-1) (list rust-bitflags-1
("rust-downcast-rs" ,rust-downcast-rs-1) rust-downcast-rs-1
("rust-libc" ,rust-libc-0.2) rust-libc-0.2
("rust-nix" ,rust-nix-0.18) rust-nix-0.18
("rust-scoped-tls" ,rust-scoped-tls-1) rust-scoped-tls-1
("rust-wayland-commons" ,rust-wayland-commons-0.28) rust-wayland-commons-0.28
("rust-wayland-scanner" ,rust-wayland-scanner-0.28) rust-wayland-scanner-0.28
("rust-wayland-sys" ,rust-wayland-sys-0.28))) rust-wayland-sys-0.28))
(home-page "https://github.com/smithay/wayland-rs") (home-page "https://github.com/smithay/wayland-rs")
(synopsis (synopsis
"Rust bindings to the standard C implementation of the wayland protocol") "Rust bindings to the standard C implementation of the wayland protocol")
@ -2420,10 +2414,8 @@ the wayland protocol, client side.")
("rust-once-cell" ,rust-once-cell-1) ("rust-once-cell" ,rust-once-cell-1)
("rust-smallvec" ,rust-smallvec-1)))) ("rust-smallvec" ,rust-smallvec-1))))
(inputs (inputs
`(("rust-nix" ,rust-nix-0.18) (list rust-nix-0.18 rust-once-cell-1 rust-smallvec-1
("rust-once-cell" ,rust-once-cell-1) rust-wayland-sys-0.28))
("rust-smallvec" ,rust-smallvec-1)
("rust-wayland-sys" ,rust-wayland-sys-0.28)))
(home-page "https://github.com/smithay/wayland-rs") (home-page "https://github.com/smithay/wayland-rs")
(synopsis "Types and structures used by wayland-client and wayland-server") (synopsis "Types and structures used by wayland-client and wayland-server")
(description (description
@ -2488,9 +2480,7 @@ and wayland-server.")
(("rust-nix" ,rust-nix-0.18) (("rust-nix" ,rust-nix-0.18)
("rust-xcursor" ,rust-xcursor-0.3)))) ("rust-xcursor" ,rust-xcursor-0.3))))
(inputs (inputs
`(("rust-nix" ,rust-nix-0.18) (list rust-nix-0.18 rust-wayland-client-0.28 rust-xcursor-0.3))
("rust-wayland-client" ,rust-wayland-client-0.28)
("rust-xcursor" ,rust-xcursor-0.3)))
(home-page "https://github.com/smithay/wayland-rs") (home-page "https://github.com/smithay/wayland-rs")
(synopsis "Bindings to libwayland-cursor") (synopsis "Bindings to libwayland-cursor")
(description (description
@ -2512,11 +2502,10 @@ properly display animated cursors.")
(base32 "1xd7iap0x4sidmy9dv02cdnxjhnbk9li7r7f39x9cg0i8xs50ly6")))) (base32 "1xd7iap0x4sidmy9dv02cdnxjhnbk9li7r7f39x9cg0i8xs50ly6"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(inputs (inputs
`(("rust-wayland-client" ,rust-wayland-client-0.28) (list rust-wayland-client-0.28 rust-wayland-sys-0.28))
("rust-wayland-sys" ,rust-wayland-sys-0.28)))
;; For the PKG_CONFIG_PATH environment variable. ;; For the PKG_CONFIG_PATH environment variable.
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(home-page "https://github.com/smithay/wayland-rs") (home-page "https://github.com/smithay/wayland-rs")
(synopsis "Bindings to libwayland-egl") (synopsis "Bindings to libwayland-egl")
(description (description
@ -2542,11 +2531,9 @@ initializing an OpenGL or Vulkan context.")
`(#:cargo-inputs `(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)))) (("rust-bitflags" ,rust-bitflags-1))))
(inputs (inputs
`(("rust-bitflags" ,rust-bitflags-1) (list rust-bitflags-1 rust-wayland-client-0.28
("rust-wayland-client" ,rust-wayland-client-0.28) rust-wayland-commons-0.28 rust-wayland-scanner-0.28
("rust-wayland-commons" ,rust-wayland-commons-0.28) rust-wayland-server-0.28))
("rust-wayland-scanner" ,rust-wayland-scanner-0.28)
("rust-wayland-server" ,rust-wayland-server-0.28)))
(home-page "https://github.com/smithay/wayland-rs") (home-page "https://github.com/smithay/wayland-rs")
(synopsis "Generated API for the officials Wayland protocol extensions") (synopsis "Generated API for the officials Wayland protocol extensions")
(description (description
@ -2614,9 +2601,7 @@ extensions.")
(base32 "0g8ky63qk27in7zajycj3fyydsxlj19hanfcvr8d7z5kcxbvl43h")))) (base32 "0g8ky63qk27in7zajycj3fyydsxlj19hanfcvr8d7z5kcxbvl43h"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(inputs (inputs
`(("rust-proc-macro2" ,rust-proc-macro2-1) (list rust-proc-macro2-1 rust-quote-1 rust-xml-rs-0.8))
("rust-quote" ,rust-quote-1)
("rust-xml-rs" ,rust-xml-rs-0.8)))
(home-page "https://github.com/smithay/wayland-rs") (home-page "https://github.com/smithay/wayland-rs")
(synopsis "Generate Rust APIs from XML Wayland protocol files") (synopsis "Generate Rust APIs from XML Wayland protocol files")
(description (description
@ -2684,16 +2669,16 @@ wayland-client crate for usable bindings.")
("rust-parking-lot" ,rust-parking-lot-0.11) ("rust-parking-lot" ,rust-parking-lot-0.11)
("rust-scoped-tls" ,rust-scoped-tls-1)))) ("rust-scoped-tls" ,rust-scoped-tls-1))))
(inputs (inputs
`(("rust-bitflags" ,rust-bitflags-1) (list rust-bitflags-1
("rust-downcast-rs" ,rust-downcast-rs-1) rust-downcast-rs-1
("rust-lazy-static" ,rust-lazy-static-1) rust-lazy-static-1
("rust-libc" ,rust-libc-0.2) rust-libc-0.2
("rust-nix" ,rust-nix-0.18) rust-nix-0.18
("rust-parking-lot" ,rust-parking-lot-0.11) rust-parking-lot-0.11
("rust-scoped-tls" ,rust-scoped-tls-1) rust-scoped-tls-1
("rust-wayland-commons" ,rust-wayland-commons-0.28) rust-wayland-commons-0.28
("rust-wayland-scanner" ,rust-wayland-scanner-0.28) rust-wayland-scanner-0.28
("rust-wayland-sys" ,rust-wayland-sys-0.28))) rust-wayland-sys-0.28))
(home-page "https://github.com/smithay/wayland-rs") (home-page "https://github.com/smithay/wayland-rs")
(synopsis (synopsis
"Bindings to the standard C implementation of the wayland protocol") "Bindings to the standard C implementation of the wayland protocol")
@ -2784,12 +2769,10 @@ the wayland protocol, server side.")
(string-append libwayland "/lib/" shared-lib))) (string-append libwayland "/lib/" shared-lib)))
#t)))))) #t))))))
(inputs (inputs
`(("rust-dlib" ,rust-dlib-0.4) (list rust-dlib-0.4 rust-lazy-static-1 rust-libc-0.2
("rust-lazy-static" ,rust-lazy-static-1) rust-pkg-config-0.3))
("rust-libc" ,rust-libc-0.2)
("rust-pkg-config" ,rust-pkg-config-0.3)))
(propagated-inputs (propagated-inputs
`(("wayland" ,wayland))) (list wayland))
(home-page "https://github.com/smithay/wayland-rs") (home-page "https://github.com/smithay/wayland-rs")
(synopsis "FFI bindings to the various @file{libwayland-*.so} libraries") (synopsis "FFI bindings to the various @file{libwayland-*.so} libraries")
(description (description
@ -2879,7 +2862,7 @@ crate @code{rust-wayland-client} for usable bindings.")
("rust-winapi" ,rust-winapi-0.3) ("rust-winapi" ,rust-winapi-0.3)
("rust-x11-dl" ,rust-x11-dl-2)))) ("rust-x11-dl" ,rust-x11-dl-2))))
(inputs (inputs
`(("rust-wayland-client" ,rust-wayland-client-0.28))) (list rust-wayland-client-0.28))
(home-page "https://github.com/rust-windowing/winit") (home-page "https://github.com/rust-windowing/winit")
(synopsis "Window creation library") (synopsis "Window creation library")
(description (description
@ -3071,7 +3054,7 @@ the platform-specific getters provided by winit, or another library.")
`(#:tests? #f ; Tests require display server. `(#:tests? #f ; Tests require display server.
#:cargo-inputs (("rust-xcb" ,rust-xcb-0.9)))) #:cargo-inputs (("rust-xcb" ,rust-xcb-0.9))))
(native-inputs (native-inputs
`(("python" ,python))))) (list python))))
(define-public rust-x11-dl-2 (define-public rust-x11-dl-2
(package (package

View file

@ -55,8 +55,7 @@
(("rust-shell-words" ,rust-shell-words-0.1) (("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3)))) ("rust-tempfile" ,rust-tempfile-3))))
(inputs (inputs
`(("atk" ,atk) (list atk glib))
("glib" ,glib)))
(home-page "https://gtk-rs.org/") (home-page "https://gtk-rs.org/")
(synopsis "FFI bindings to libatk-1") (synopsis "FFI bindings to libatk-1")
(description "FFI bindings to libatk-1") (description "FFI bindings to libatk-1")
@ -86,8 +85,7 @@
#:cargo-development-inputs #:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
(inputs (inputs
`(("atk" ,atk) (list atk glib))
("glib" ,glib)))
(home-page "https://gtk-rs.org/") (home-page "https://gtk-rs.org/")
(synopsis "Rust bindings for the ATK library") (synopsis "Rust bindings for the ATK library")
(description "Rust bindings for the ATK library") (description "Rust bindings for the ATK library")
@ -119,7 +117,7 @@
#:cargo-development-inputs #:cargo-development-inputs
(("rust-tempfile" ,rust-tempfile-3)))) (("rust-tempfile" ,rust-tempfile-3))))
(inputs (inputs
`(("cairo" ,cairo))) (list cairo))
(home-page "https://gtk-rs.org/") (home-page "https://gtk-rs.org/")
(synopsis "Rust bindings for the Cairo library") (synopsis "Rust bindings for the Cairo library")
(description "Rust bindings for the Cairo library") (description "Rust bindings for the Cairo library")
@ -198,7 +196,7 @@
("rust-winapi" ,rust-winapi-0.3) ("rust-winapi" ,rust-winapi-0.3)
("rust-x11" ,rust-x11-2)))) ("rust-x11" ,rust-x11-2))))
(inputs (inputs
`(("cairo" ,cairo))) (list cairo))
(home-page "https://gtk-rs.org/") (home-page "https://gtk-rs.org/")
(synopsis "FFI bindings to libcairo") (synopsis "FFI bindings to libcairo")
(description "This package provides FFI bindings to libcairo.") (description "This package provides FFI bindings to libcairo.")
@ -255,11 +253,7 @@
#:cargo-development-inputs #:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
(inputs (inputs
`(("cairo" ,cairo) (list cairo gdk-pixbuf glib gtk+ pango))
("gdk-pixbuf" ,gdk-pixbuf)
("glib" ,glib)
("gtk+" ,gtk+)
("pango" ,pango)))
(home-page "https://gtk-rs.org/") (home-page "https://gtk-rs.org/")
(synopsis "Rust bindings for the GDK 3 library") (synopsis "Rust bindings for the GDK 3 library")
(description "This package provides Rust bindings for the GDK 3 library.") (description "This package provides Rust bindings for the GDK 3 library.")
@ -321,7 +315,7 @@
#:cargo-development-inputs #:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
(inputs (inputs
`(("gdk-pixbuf" ,gdk-pixbuf))) (list gdk-pixbuf))
(home-page "https://gtk-rs.org/") (home-page "https://gtk-rs.org/")
(synopsis "Rust bindings for the GdkPixbuf library") (synopsis "Rust bindings for the GdkPixbuf library")
(description "Rust bindings for the GdkPixbuf library") (description "Rust bindings for the GdkPixbuf library")
@ -405,7 +399,7 @@
(("rust-shell-words" ,rust-shell-words-0.1) (("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3)))) ("rust-tempfile" ,rust-tempfile-3))))
(inputs (inputs
`(("gdk-pixbuf" ,gdk-pixbuf))) (list gdk-pixbuf))
(home-page "https://gtk-rs.org/") (home-page "https://gtk-rs.org/")
(synopsis "FFI bindings to libgdk_pixbuf-2.0") (synopsis "FFI bindings to libgdk_pixbuf-2.0")
(description "This package provides FFI bindings to @code{libgdk_pixbuf-2.0}.") (description "This package provides FFI bindings to @code{libgdk_pixbuf-2.0}.")
@ -463,11 +457,7 @@
(("rust-shell-words" ,rust-shell-words-0.1) (("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3)))) ("rust-tempfile" ,rust-tempfile-3))))
(inputs (inputs
`(("cairo" ,cairo) (list cairo gdk-pixbuf gtk+ glib pango))
("gdk-pixbuf" ,gdk-pixbuf)
("gtk+" ,gtk+)
("glib" ,glib)
("pango" ,pango)))
(home-page "https://gtk-rs.org/") (home-page "https://gtk-rs.org/")
(synopsis "FFI bindings to libgdk-3") (synopsis "FFI bindings to libgdk-3")
(description "FFI bindings to libgdk-3") (description "FFI bindings to libgdk-3")
@ -533,7 +523,7 @@
(("rust-gir-format-check" ,rust-gir-format-check-0.1) (("rust-gir-format-check" ,rust-gir-format-check-0.1)
("rust-serial-test" ,rust-serial-test-0.4)))) ("rust-serial-test" ,rust-serial-test-0.4))))
(inputs (inputs
`(("glib" ,glib))) (list glib))
(home-page "https://gtk-rs.org/") (home-page "https://gtk-rs.org/")
(synopsis "Rust bindings for the Gio library") (synopsis "Rust bindings for the Gio library")
(description "Rust bindings for the Gio library") (description "Rust bindings for the Gio library")
@ -621,7 +611,7 @@
("rust-system-deps" ,rust-system-deps-1) ("rust-system-deps" ,rust-system-deps-1)
("rust-winapi" ,rust-winapi-0.3)))) ("rust-winapi" ,rust-winapi-0.3))))
(inputs (inputs
`(("glib" ,glib))) (list glib))
(home-page "https://gtk-rs.org/") (home-page "https://gtk-rs.org/")
(synopsis "FFI bindings to libgio-2.0") (synopsis "FFI bindings to libgio-2.0")
(description "This package provides FFI bindings to libgio-2.0.") (description "This package provides FFI bindings to libgio-2.0.")
@ -697,7 +687,7 @@
("rust-libc" ,rust-libc-0.2) ("rust-libc" ,rust-libc-0.2)
("rust-once-cell" ,rust-once-cell-1)))) ("rust-once-cell" ,rust-once-cell-1))))
(inputs (inputs
`(("glib" ,glib))) (list glib))
(home-page "https://gtk-rs.org/") (home-page "https://gtk-rs.org/")
(synopsis "Rust bindings for the GLib library") (synopsis "Rust bindings for the GLib library")
(description "Rust bindings for the GLib library") (description "Rust bindings for the GLib library")
@ -807,7 +797,7 @@
(("rust-shell-words" ,rust-shell-words-0.1) (("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3)))) ("rust-tempfile" ,rust-tempfile-3))))
(inputs (inputs
`(("glib" ,glib))) (list glib))
(home-page "https://gtk-rs.org/") (home-page "https://gtk-rs.org/")
(synopsis "FFI bindings to libglib-2.0") (synopsis "FFI bindings to libglib-2.0")
(description "This package provides FFI bindings to libglib-2.0.") (description "This package provides FFI bindings to libglib-2.0.")
@ -858,7 +848,7 @@
(("rust-shell-words" ,rust-shell-words-0.1) (("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3)))) ("rust-tempfile" ,rust-tempfile-3))))
(inputs (inputs
`(("glib" ,glib))) (list glib))
(home-page "https://gtk-rs.org/") (home-page "https://gtk-rs.org/")
(synopsis "FFI bindings to libgobject-2.0") (synopsis "FFI bindings to libgobject-2.0")
(description "This package provides FFI bindings to libgobject-2.0.") (description "This package provides FFI bindings to libgobject-2.0.")
@ -925,11 +915,7 @@
#:cargo-development-inputs #:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
(inputs (inputs
`(("atk" ,atk) (list atk cairo glib gtk+ pango))
("cairo" ,cairo)
("glib" ,glib)
("gtk+" ,gtk+)
("pango" ,pango)))
(home-page "https://gtk-rs.org/") (home-page "https://gtk-rs.org/")
(synopsis "Rust bindings for the GTK+ 3 library") (synopsis "Rust bindings for the GTK+ 3 library")
(description "This package provides Rust bindings for the GTK+ 3 library.") (description "This package provides Rust bindings for the GTK+ 3 library.")
@ -985,7 +971,7 @@
(("rust-shell-words" ,rust-shell-words-0.1) (("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3)))) ("rust-tempfile" ,rust-tempfile-3))))
(inputs (inputs
`(("gtk+" ,gtk+))) (list gtk+))
(home-page "https://gtk-rs.org/") (home-page "https://gtk-rs.org/")
(synopsis "FFI bindings to libgtk-3") (synopsis "FFI bindings to libgtk-3")
(description "This package provides FFI bindings to libgtk-3.") (description "This package provides FFI bindings to libgtk-3.")
@ -1017,7 +1003,7 @@
#:cargo-development-inputs #:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
(inputs (inputs
`(("pango" ,pango))) (list pango))
(home-page "https://gtk-rs.org/") (home-page "https://gtk-rs.org/")
(synopsis "Rust bindings for the Pango library") (synopsis "Rust bindings for the Pango library")
(description "Rust bindings for the Pango library") (description "Rust bindings for the Pango library")
@ -1097,7 +1083,7 @@
("rust-libc" ,rust-libc-0.2) ("rust-libc" ,rust-libc-0.2)
("rust-system-deps" ,rust-system-deps-1)))) ("rust-system-deps" ,rust-system-deps-1))))
(inputs (inputs
`(("pango" ,pango))) (list pango))
(home-page "https://gtk-rs.org/") (home-page "https://gtk-rs.org/")
(synopsis "FFI bindings to libpango-1.0") (synopsis "FFI bindings to libpango-1.0")
(description "This package provides FFI bindings to @code{libpango-1.0}.") (description "This package provides FFI bindings to @code{libpango-1.0}.")
@ -1156,7 +1142,7 @@
#:cargo-development-inputs #:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
(inputs (inputs
`(("gtk+" ,gtk+))) (list gtk+))
(home-page "https://gtk-rs.org/") (home-page "https://gtk-rs.org/")
(synopsis "Rust bindings for the PangoCairo library") (synopsis "Rust bindings for the PangoCairo library")
(description (description
@ -1218,7 +1204,7 @@
(("rust-shell-words" ,rust-shell-words-0.1) (("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3)))) ("rust-tempfile" ,rust-tempfile-3))))
(inputs (inputs
`(("gtk+" ,gtk+))) (list gtk+))
(home-page "https://gtk-rs.org/") (home-page "https://gtk-rs.org/")
(synopsis "FFI bindings to libgtk-3") (synopsis "FFI bindings to libgtk-3")
(description "This package provides FFI bindings to libgtk-3.") (description "This package provides FFI bindings to libgtk-3.")

File diff suppressed because it is too large Load diff

View file

@ -4,7 +4,7 @@
;;; Copyright © 2016, 2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2016, 2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2016 Manolis Fragkiskos Ragkousis <manolis837@gmail.com> ;;; Copyright © 2016 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2019, 2020, 2021 Marius Bakke <marius@gnu.org>
;;; Copyright © 2019 Carl Dong <contact@carldong.me> ;;; Copyright © 2019 Carl Dong <contact@carldong.me>
;;; Copyright © 2020 Mathieu Othacehe <m.othacehe@gmail.com> ;;; Copyright © 2020 Mathieu Othacehe <m.othacehe@gmail.com>
;;; ;;;
@ -153,12 +153,6 @@ base compiler and using LIBC (which may be either a libc package or #f.)"
"--disable-decimal-float" ;would need libc "--disable-decimal-float" ;would need libc
"--disable-libcilkrts" "--disable-libcilkrts"
,@(if (string-prefix? "powerpc64le-" target)
;; On POWER9 (little endian) glibc needs
;; the 128-bit long double type.
'("--with-long-double-128")
'())
;; When target is any OS other than 'none' these ;; When target is any OS other than 'none' these
;; libraries will fail if there is no libc ;; libraries will fail if there is no libc
;; present. See ;; present. See
@ -243,6 +237,9 @@ target that libc."
(append (append
(origin-patches (package-source xgcc)) (origin-patches (package-source xgcc))
(append (cond (append (cond
((version>=? (package-version xgcc) "10.0")
(search-patches "gcc-10-cross-environment-variables.patch"
"gcc-cross-gxx-include-dir.patch"))
((version>=? (package-version xgcc) "8.0") ((version>=? (package-version xgcc) "8.0")
(search-patches "gcc-8-cross-environment-variables.patch")) (search-patches "gcc-8-cross-environment-variables.patch"))
((version>=? (package-version xgcc) "6.0") ((version>=? (package-version xgcc) "6.0")
@ -341,15 +338,18 @@ target that libc."
`(#:implicit-cross-inputs? #f `(#:implicit-cross-inputs? #f
,@(package-arguments linux-headers)) ,@(package-arguments linux-headers))
((#:phases phases) ((#:phases phases)
`(alist-replace `(modify-phases ,phases
'build (replace 'build
(lambda _ (lambda _
(setenv "ARCH" ,(system->linux-architecture target)) (setenv "ARCH" ,(system->linux-architecture target))
(format #t "`ARCH' set to `~a' (cross compiling)~%" (getenv "ARCH")) (format #t "`ARCH' set to `~a' (cross compiling)~%"
(getenv "ARCH"))
(invoke "make" ,(system->defconfig target)) (invoke "make" ,(system->defconfig target))
(invoke "make" "mrproper" "headers_check")) (invoke "make" "mrproper"
,phases)))) ,@(if (version>=? (package-version linux-headers) "5.3")
'("headers")
'("headers_check")))))))))
(native-inputs `(("cross-gcc" ,xgcc) (native-inputs `(("cross-gcc" ,xgcc)
("cross-binutils" ,xbinutils) ("cross-binutils" ,xbinutils)
,@(package-native-inputs linux-headers))))) ,@(package-native-inputs linux-headers)))))
@ -505,7 +505,7 @@ and the cross tool chain."
,@(package-arguments libc)) ,@(package-arguments libc))
((#:configure-flags flags) ((#:configure-flags flags)
`(cons ,(string-append "--host=" target) `(cons ,(string-append "--host=" target)
,(if (hurd-triplet? target) ,(if (target-hurd? target)
`(cons "--disable-werror" ,flags) `(cons "--disable-werror" ,flags)
flags))) flags)))
((#:phases phases) ((#:phases phases)
@ -519,7 +519,7 @@ and the cross tool chain."
(setenv "CROSS_LIBRARY_PATH" (setenv "CROSS_LIBRARY_PATH"
(string-append kernel "/lib")) ; for Hurd's libihash (string-append kernel "/lib")) ; for Hurd's libihash
#t))) #t)))
,@(if (hurd-triplet? target) ,@(if (target-hurd? target)
'((add-after 'install 'augment-libc.so '((add-after 'install 'augment-libc.so
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))) (let* ((out (assoc-ref outputs "out")))
@ -527,35 +527,16 @@ and the cross tool chain."
(("/[^ ]+/lib/libc.so.0.3") (("/[^ ]+/lib/libc.so.0.3")
(string-append out "/lib/libc.so.0.3" (string-append out "/lib/libc.so.0.3"
" libmachuser.so libhurduser.so")))) " libmachuser.so libhurduser.so"))))
#t)) #t)))
;; TODO: move to glibc in the next rebuild cycle
(add-after 'unpack 'patch-libc/hurd
(lambda* (#:key inputs #:allow-other-keys)
(for-each
(lambda (name)
(let ((patch (assoc-ref inputs name)))
(invoke "patch" "-p1" "--force" "-i" patch)))
'("hurd-mach-print.patch"
"hurd-gettyent.patch")))))
'()))))) '())))))
;; Shadow the native "kernel-headers" because glibc's recipe expects the ;; Shadow the native "kernel-headers" because glibc's recipe expects the
;; "kernel-headers" input to point to the right thing. ;; "kernel-headers" input to point to the right thing.
(propagated-inputs `(("kernel-headers" ,xheaders))) (propagated-inputs `(("kernel-headers" ,xheaders)))
;; FIXME: 'static-bash' should really be an input, not a native input, but
;; to do that will require building an intermediate cross libc.
(inputs (if (hurd-triplet? target)
`(;; TODO: move to glibc in the next rebuild cycle
("hurd-mach-print.patch"
,(search-patch "glibc-hurd-mach-print.patch"))
("hurd-gettyent.patch"
,(search-patch "glibc-hurd-gettyent.patch")))
'()))
(native-inputs `(("cross-gcc" ,xgcc) (native-inputs `(("cross-gcc" ,xgcc)
("cross-binutils" ,xbinutils) ("cross-binutils" ,xbinutils)
,@(if (hurd-triplet? target) ,@(if (target-hurd? target)
`(("cross-mig" `(("cross-mig"
,@(assoc-ref (package-native-inputs xheaders) ,@(assoc-ref (package-native-inputs xheaders)
"cross-mig"))) "cross-mig")))

View file

@ -86,6 +86,7 @@
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix gexp)
#:use-module (guix build-system cargo) #:use-module (guix build-system cargo)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system copy) #:use-module (guix build-system copy)
@ -230,9 +231,9 @@ communication, encryption, decryption, signatures, etc.")
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure)))) (delete 'configure))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(inputs (inputs
`(("libbsd" ,libbsd))) (list libbsd))
(synopsis "Create and verify cryptographic signatures") (synopsis "Create and verify cryptographic signatures")
(description "The signify utility creates and verifies cryptographic (description "The signify utility creates and verifies cryptographic
signatures using the elliptic curve Ed25519. This is a Linux port of the signatures using the elliptic curve Ed25519. This is a Linux port of the
@ -291,7 +292,7 @@ OpenBSD tool of the same name.")
(arguments (arguments
'(#:import-path "github.com/jedisct1/go-minisign")) '(#:import-path "github.com/jedisct1/go-minisign"))
(propagated-inputs (propagated-inputs
`(("go-golang-org-x-crypto" ,go-golang-org-x-crypto))) (list go-golang-org-x-crypto))
(home-page "https://github.com/jedisct1/go-minisign") (home-page "https://github.com/jedisct1/go-minisign")
(synopsis "Minisign verification library for Golang") (synopsis "Minisign verification library for Golang")
(description "A Golang library to verify Minisign signatures.") (description "A Golang library to verify Minisign signatures.")
@ -326,10 +327,7 @@ OpenBSD tool of the same name.")
("googletest-source" ,(package-source googletest)) ("googletest-source" ,(package-source googletest))
("perl" ,perl))) ("perl" ,perl)))
(inputs (inputs
`(("attr" ,attr) (list attr fuse openssl tinyxml2))
("fuse" ,fuse)
("openssl" ,openssl)
("tinyxml2" ,tinyxml2)))
(arguments (arguments
`(#:configure-flags (list "-DUSE_INTERNAL_TINYXML=OFF") `(#:configure-flags (list "-DUSE_INTERNAL_TINYXML=OFF")
#:phases #:phases
@ -396,7 +394,7 @@ the wrong hands.")
"SHAREDIR=/share/keyutils") "SHAREDIR=/share/keyutils")
#:test-target "test")) #:test-target "test"))
(inputs (inputs
`(("mit-krb5" ,mit-krb5))) (list mit-krb5))
(home-page "https://people.redhat.com/dhowells/keyutils/") (home-page "https://people.redhat.com/dhowells/keyutils/")
(synopsis "Linux key management utilities") (synopsis "Linux key management utilities")
(description (description
@ -439,9 +437,9 @@ secure operations. ")
(install-file "ssss.1.html" docdir) (install-file "ssss.1.html" docdir)
#t)))))) #t))))))
(inputs (inputs
`(("gmp" ,gmp))) (list gmp))
(native-inputs (native-inputs
`(("xmltoman" ,xmltoman))) (list xmltoman))
(home-page "http://point-at-infinity.org/ssss/") (home-page "http://point-at-infinity.org/ssss/")
(synopsis "Shamir's secret sharing scheme implementation") (synopsis "Shamir's secret sharing scheme implementation")
(description "@command{ssss-split} and @command{ssss-combine} are utilities that split (description "@command{ssss-split} and @command{ssss-combine} are utilities that split
@ -462,7 +460,7 @@ total number of shares generated.")
(base32 (base32
"136nfnpaz29hngwwnzrmc858gpnvnb977gf4ldbpapw1h1k3r8mk")))) "136nfnpaz29hngwwnzrmc858gpnvnb977gf4ldbpapw1h1k3r8mk"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs `(("sudo" ,sudo))) ;presence needed for 'check' phase (native-inputs (list sudo)) ;presence needed for 'check' phase
(inputs (inputs
`(("zsh" ,zsh) `(("zsh" ,zsh)
("gnupg" ,gnupg) ("gnupg" ,gnupg)
@ -555,7 +553,7 @@ user's graphical desktop.")
(install-file "FORMAT" doc) (install-file "FORMAT" doc)
#t)))))) #t))))))
(inputs (inputs
`(("openssl" ,openssl))) (list openssl))
(home-page "https://www.tarsnap.com/scrypt.html") (home-page "https://www.tarsnap.com/scrypt.html")
(synopsis "Memory-hard encryption tool based on scrypt") (synopsis "Memory-hard encryption tool based on scrypt")
(description "This package provides a simple password-based encryption (description "This package provides a simple password-based encryption
@ -613,8 +611,7 @@ attacks than alternative functions such as @code{PBKDF2} or @code{bcrypt}.")
"0yxqqcqvj51fn7b7j5xqhz65v74arzgainn66c6k7inijbmr1xws")))) "0yxqqcqvj51fn7b7j5xqhz65v74arzgainn66c6k7inijbmr1xws"))))
(build-system perl-build-system) (build-system perl-build-system)
(native-inputs (native-inputs
`(("perl-module-build" ,perl-module-build) (list perl-module-build perl-test-nowarnings))
("perl-test-nowarnings" ,perl-test-nowarnings)))
(home-page "https://metacpan.org/release/Math-Random-ISAAC-XS") (home-page "https://metacpan.org/release/Math-Random-ISAAC-XS")
(synopsis "C implementation of the ISAAC PRNG algorithm") (synopsis "C implementation of the ISAAC PRNG algorithm")
(description "ISAAC (Indirection, Shift, Accumulate, Add, and Count) is a (description "ISAAC (Indirection, Shift, Accumulate, Add, and Count) is a
@ -640,9 +637,9 @@ This package implements the same interface as @code{Math::Random::ISAAC}.")
"0z1b3xbb3xz71h25fg6jgsccra7migq7s0vawx2rfzi0pwpz0wr7")))) "0z1b3xbb3xz71h25fg6jgsccra7migq7s0vawx2rfzi0pwpz0wr7"))))
(build-system perl-build-system) (build-system perl-build-system)
(native-inputs (native-inputs
`(("perl-test-nowarnings" ,perl-test-nowarnings))) (list perl-test-nowarnings))
(propagated-inputs (propagated-inputs
`(("perl-math-random-isaac-xs" ,perl-math-random-isaac-xs))) (list perl-math-random-isaac-xs))
(home-page "https://metacpan.org/release/Math-Random-ISAAC") (home-page "https://metacpan.org/release/Math-Random-ISAAC")
(synopsis "Perl interface to the ISAAC PRNG algorithm") (synopsis "Perl interface to the ISAAC PRNG algorithm")
(description "ISAAC (Indirection, Shift, Accumulate, Add, and Count) is a (description "ISAAC (Indirection, Shift, Accumulate, Add, and Count) is a
@ -668,16 +665,15 @@ generator.")
(base32 "1rpdds3sy5l1fhngnkrsgwsmwd54wpicx3i9ds69blcskwkcwkpc")))) (base32 "1rpdds3sy5l1fhngnkrsgwsmwd54wpicx3i9ds69blcskwkcwkpc"))))
(build-system perl-build-system) (build-system perl-build-system)
(native-inputs (native-inputs
`(("perl-module-build-tiny" ,perl-module-build-tiny) (list perl-module-build-tiny perl-test-fatal))
("perl-test-fatal" ,perl-test-fatal)))
(propagated-inputs (propagated-inputs
`(("perl-capture-tiny" ,perl-capture-tiny) (list perl-capture-tiny
("perl-module-find" ,perl-module-find) perl-module-find
("perl-module-runtime" ,perl-module-runtime) perl-module-runtime
("perl-moo" ,perl-moo) perl-moo
("perl-namespace-clean" ,perl-namespace-clean) perl-namespace-clean
("perl-sub-exporter" ,perl-sub-exporter) perl-sub-exporter
("perl-type-tiny" ,perl-type-tiny))) perl-type-tiny))
(home-page "https://metacpan.org/release/Crypt-Random-Source") (home-page "https://metacpan.org/release/Crypt-Random-Source")
(synopsis "Get weak or strong random data from pluggable sources") (synopsis "Get weak or strong random data from pluggable sources")
(description "This module provides implementations for a number of (description "This module provides implementations for a number of
@ -698,15 +694,11 @@ byte-oriented sources of random data.")
"0dgbf4ncll4kmgkyb9fsaxn0vf2smc9dmwqzgh3259zc2zla995z")))) "0dgbf4ncll4kmgkyb9fsaxn0vf2smc9dmwqzgh3259zc2zla995z"))))
(build-system perl-build-system) (build-system perl-build-system)
(native-inputs (native-inputs
`(("perl-list-moreutils" ,perl-list-moreutils) (list perl-list-moreutils perl-test-leaktrace perl-test-sharedfork
("perl-test-leaktrace" ,perl-test-leaktrace) perl-test-warn))
("perl-test-sharedfork" ,perl-test-sharedfork)
("perl-test-warn" ,perl-test-warn)))
(inputs (inputs
`(("perl-crypt-random-source" ,perl-crypt-random-source) (list perl-crypt-random-source perl-math-random-isaac
("perl-math-random-isaac" ,perl-math-random-isaac) perl-math-random-isaac-xs perl-moo))
("perl-math-random-isaac-xs" ,perl-math-random-isaac-xs)
("perl-moo" ,perl-moo)))
(home-page "https://metacpan.org/release/Math-Random-Secure") (home-page "https://metacpan.org/release/Math-Random-Secure")
(synopsis "Cryptographically secure replacement for rand()") (synopsis "Cryptographically secure replacement for rand()")
(description "This module is intended to provide a (description "This module is intended to provide a
@ -795,7 +787,7 @@ data on your platform, so the seed itself will be as random as possible.
"Cflags: -I${includedir}\n")) "Cflags: -I${includedir}\n"))
#t)))))))) #t))))))))
(native-inputs (native-inputs
`(("unzip" ,unzip))) (list unzip))
(home-page "https://cryptopp.com/") (home-page "https://cryptopp.com/")
(synopsis "C++ class library of cryptographic schemes") (synopsis "C++ class library of cryptographic schemes")
(description "Crypto++ is a C++ class library of cryptographic schemes.") (description "Crypto++ is a C++ class library of cryptographic schemes.")
@ -878,7 +870,7 @@ SHA-1, SHA-2, and SHA-3, yet is at least as secure as SHA-3.")
(define-public rhash (define-public rhash
(package (package
(name "rhash") (name "rhash")
(version "1.3.9") (version "1.4.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -887,25 +879,26 @@ SHA-1, SHA-2, and SHA-3, yet is at least as secure as SHA-3.")
(file-name (string-append "rhash-" version ".tar.gz")) (file-name (string-append "rhash-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1xn9fqa6rlnhsbgami45g82dlw9i1skg2sri3ydiinwak5ph1ca2")))) "0qpc1fq7gdxxl11zya1gqhl9628jjk3x60q9sna43w0yz7sh03b0"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:configure-flags (list #:configure-flags
(list (string-append "--prefix=" (assoc-ref %outputs "out")) #~(list (string-append "--prefix=" #$output)
,@(let ((target (%current-target-system))) #$@(let ((target (%current-target-system)))
(if target (if target
`((string-append "--target=" ,target) #~((string-append "--target=" #$target)
(string-append "--cc=" (string-append "--cc="
(assoc-ref %build-inputs "cross-gcc") (assoc-ref %build-inputs "cross-gcc")
"/bin/" ,target "-gcc")) "/bin/" #$target "-gcc"))
'()))) #~())))
#:make-flags #:make-flags
;; The binaries in /bin need some help finding librhash.so.0. ;; The binaries in /bin need some help finding librhash.so.0.
(list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")) #~(list (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib"))
#:test-target "test" ; make check just checks the sources #:test-target "test" ; make check just checks the sources
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'configure (delete 'configure)
(add-before 'build 'configure
;; ./configure is not GNU autotools' and doesn't gracefully handle ;; ./configure is not GNU autotools' and doesn't gracefully handle
;; unrecognized options, so we must call it manually. ;; unrecognized options, so we must call it manually.
(lambda* (#:key configure-flags #:allow-other-keys) (lambda* (#:key configure-flags #:allow-other-keys)
@ -913,8 +906,7 @@ SHA-1, SHA-2, and SHA-3, yet is at least as secure as SHA-3.")
(add-before 'check 'patch-/bin/sh (add-before 'check 'patch-/bin/sh
(lambda _ (lambda _
(substitute* "Makefile" (substitute* "Makefile"
(("/bin/sh") (which "sh"))) (("/bin/sh") (which "sh")))))
#t))
(add-after 'install 'install-library-extras (add-after 'install 'install-library-extras
(lambda* (#:key make-flags #:allow-other-keys) (lambda* (#:key make-flags #:allow-other-keys)
(apply invoke (apply invoke
@ -973,9 +965,7 @@ SHA256, SHA512, SHA3, AICH, ED2K, Tiger, DC++ TTH, BitTorrent BTIH, GOST R
`(("python" ,python-wrapper) `(("python" ,python-wrapper)
("python-docutils" ,python-docutils))) ("python-docutils" ,python-docutils)))
(inputs (inputs
`(("sqlite" ,sqlite) (list sqlite bzip2 zlib))
("bzip2" ,bzip2)
("zlib" ,zlib)))
(synopsis "Cryptographic library in C++11") (synopsis "Cryptographic library in C++11")
(description "Botan is a cryptography library, written in C++11, offering (description "Botan is a cryptography library, written in C++11, offering
the tools necessary to implement a range of practical systems, such as TLS/DTLS, the tools necessary to implement a range of practical systems, such as TLS/DTLS,
@ -1031,11 +1021,9 @@ security.")
(string-append "--with-openssl=" (string-append "--with-openssl="
(assoc-ref %build-inputs "openssl"))))) (assoc-ref %build-inputs "openssl")))))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool))
("automake" ,automake)
("libtool" ,libtool)))
(inputs (inputs
`(("openssl" ,openssl))) (list openssl))
(home-page "https://github.com/vstakhov/asignify") (home-page "https://github.com/vstakhov/asignify")
(synopsis "Cryptographic authentication and encryption tool and library") (synopsis "Cryptographic authentication and encryption tool and library")
(description "Asignify offers public cryptographic signatures and (description "Asignify offers public cryptographic signatures and
@ -1103,9 +1091,7 @@ trivial to build for local use. Portability is emphasized over performance.")
"--enable-module-ecdh" "--enable-module-ecdh"
"--enable-shared"))) "--enable-shared")))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool))
("automake" ,automake)
("libtool" ,libtool)))
;; WARNING: This package might need additional configure flags to run properly. ;; WARNING: This package might need additional configure flags to run properly.
;; See https://github.com/archlinux/svntogit-community/blob/packages/libsecp256k1/trunk/PKGBUILD. ;; See https://github.com/archlinux/svntogit-community/blob/packages/libsecp256k1/trunk/PKGBUILD.
(synopsis "C library for EC operations on curve secp256k1") (synopsis "C library for EC operations on curve secp256k1")
@ -1143,9 +1129,7 @@ Features:
(base32 "1rnif3iny6pz1r3g69bagzr342mm3x0v66b60csnmm1rg44bd5v1")))) (base32 "1rnif3iny6pz1r3g69bagzr342mm3x0v66b60csnmm1rg44bd5v1"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool))
("automake" ,automake)
("libtool" ,libtool)))
(arguments (arguments
'(#:configure-flags '("--enable-module-recovery" '(#:configure-flags '("--enable-module-recovery"
"--enable-experimental" "--enable-experimental"
@ -1193,10 +1177,9 @@ Features:
"0npgr6y85gzwksy8jkwa4yzvqwjprwnplx3yiw3ayk4f0ldlhaxa")))) "0npgr6y85gzwksy8jkwa4yzvqwjprwnplx3yiw3ayk4f0ldlhaxa"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(inputs (inputs
`(("nettle" ,nettle) (list nettle libxml2))
("libxml2" ,libxml2)))
(home-page "http://stoken.sf.net") (home-page "http://stoken.sf.net")
(synopsis "Software Token for cryptographic authentication") (synopsis "Software Token for cryptographic authentication")
(description (description
@ -1243,8 +1226,7 @@ utility/testing functions.")
(mkdir-p man1) (mkdir-p man1)
#t)))))) #t))))))
(inputs (inputs
`(("libsodium" ,libsodium) (list libsodium openssl))
("openssl" ,openssl)))
(synopsis "High-performance command-line tool for stream encryption") (synopsis "High-performance command-line tool for stream encryption")
(description "Hpenc is a command-line tool for performing authenticated (description "Hpenc is a command-line tool for performing authenticated
encryption (AES-GCM and ChaCha20-Poly1305) of streaming data. It does not encryption (AES-GCM and ChaCha20-Poly1305) of streaming data. It does not
@ -1271,9 +1253,9 @@ quickly by using all your CPU cores and hardware acceleration.")
; No test suite ; No test suite
`(#:tests? #f)) `(#:tests? #f))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(inputs (inputs
`(("libsodium" ,libsodium))) (list libsodium))
(home-page "https://jedisct1.github.io/minisign") (home-page "https://jedisct1.github.io/minisign")
(synopsis "Tool to sign files and verify signatures") (synopsis "Tool to sign files and verify signatures")
(description (description
@ -1339,14 +1321,11 @@ API.")
(when tests? (when tests?
(add-installed-pythonpath inputs outputs) (add-installed-pythonpath inputs outputs)
(invoke "pytest"))))))) (invoke "pytest")))))))
(inputs `(("libolm" ,libolm))) (inputs (list libolm))
(propagated-inputs (propagated-inputs
`(("python-cffi" ,python-cffi) (list python-cffi python-future))
("python-future" ,python-future)))
(native-inputs (native-inputs
`(("python-pytest" ,python-pytest) (list python-pytest python-pytest-benchmark python-aspectlib))
("python-pytest-benchmark" ,python-pytest-benchmark)
("python-aspectlib" ,python-aspectlib)))
(synopsis "Python bindings for libolm") (synopsis "Python bindings for libolm")
(description "The libolm library implements the Double Ratchet (description "The libolm library implements the Double Ratchet
cryptographic ratchet. It is written in C and C++11, and exposed as a C cryptographic ratchet. It is written in C and C++11, and exposed as a C
@ -1386,7 +1365,7 @@ API. This package contains its Python bindings.")))
(install-file "README.md" docdir) (install-file "README.md" docdir)
#t)))))) #t))))))
(inputs (inputs
`(("openssl" ,openssl))) (list openssl))
(synopsis "Tool for hash length extension attacks") (synopsis "Tool for hash length extension attacks")
(description "@command{hash_extender} is a utility for performing hash (description "@command{hash_extender} is a utility for performing hash
length extension attacks supporting MD4, MD5, RIPEMD-160, SHA-0, SHA-1, length extension attacks supporting MD4, MD5, RIPEMD-160, SHA-0, SHA-1,
@ -1419,9 +1398,9 @@ SHA-256, SHA-512, and WHIRLPOOL hashes.")
(install-file "mkp224o" bindir) (install-file "mkp224o" bindir)
#t)))))) #t))))))
(native-inputs (native-inputs
`(("autoconf" ,autoconf))) (list autoconf))
(inputs (inputs
`(("libsodium" ,libsodium))) (list libsodium))
(synopsis "Tor hidden service v3 name generator") (synopsis "Tor hidden service v3 name generator")
(description "@code{mkp224o} generates valid ed25519 (hidden service (description "@code{mkp224o} generates valid ed25519 (hidden service
version 3) onion addresses. It allows one to produce customized vanity .onion version 3) onion addresses. It allows one to produce customized vanity .onion
@ -1443,8 +1422,7 @@ addresses using a brute-force method.")
(base32 "0bpz1hazbhfb6pqi68x55kq6a31bgh6vwij836slmi4jqiwvnh5a")) (base32 "0bpz1hazbhfb6pqi68x55kq6a31bgh6vwij836slmi4jqiwvnh5a"))
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(inputs (inputs
`(("git" ,git) (list git openssl))
("openssl" ,openssl)))
(build-system copy-build-system) (build-system copy-build-system)
(arguments (arguments
`(#:install-plan `(#:install-plan
@ -1523,11 +1501,7 @@ non-encrypted files.")
`(("python" ,python-wrapper) `(("python" ,python-wrapper)
("pkg-config" ,pkg-config))) ("pkg-config" ,pkg-config)))
(inputs (inputs
`(("boost" ,boost) (list boost curl fuse range-v3 spdlog))
("curl" ,curl)
("fuse" ,fuse)
("range-v3" ,range-v3)
("spdlog" ,spdlog)))
(home-page "https://www.cryfs.org/") (home-page "https://www.cryfs.org/")
(synopsis "Encrypted FUSE filesystem for the cloud") (synopsis "Encrypted FUSE filesystem for the cloud")
(description "CryFS encrypts your files, so you can safely store them anywhere. (description "CryFS encrypts your files, so you can safely store them anywhere.

View file

@ -55,14 +55,14 @@
;; GRUB 2.06 supports LUKS2, but does it reliably support all set-ups…? ;; GRUB 2.06 supports LUKS2, but does it reliably support all set-ups…?
"--with-default-luks-format=LUKS1"))) "--with-default-luks-format=LUKS1")))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(inputs (inputs
`(("argon2" ,argon2) (list argon2
("json-c" ,json-c) json-c
("libgcrypt" ,libgcrypt) libgcrypt
("lvm2" ,lvm2) ; device-mapper lvm2 ; device-mapper
("popt" ,popt) popt
("util-linux" ,util-linux "lib"))) ;libuuid `(,util-linux "lib"))) ;libuuid
(synopsis "Set up transparent encryption of block devices using dm-crypt") (synopsis "Set up transparent encryption of block devices using dm-crypt")
(description (description
"Cryptsetup is a utility used to conveniently set up disk encryption based "Cryptsetup is a utility used to conveniently set up disk encryption based

View file

@ -1,12 +1,13 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015, 2019, 2021 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2015, 2019, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015, 2016, 2017, 2019 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2015, 2016, 2017, 2019, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org> ;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
;;; Copyright © 2017 Leo Famulari <leo@famulari.name> ;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
;;; Copyright © 2017 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2017 Mark H Weaver <mhw@netris.org>
;;; Copyright © 20172021 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 20172021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -83,9 +84,7 @@
(assoc-ref %outputs "out") (assoc-ref %outputs "out")
"/lib/cups")))) "/lib/cups"))))
(inputs (inputs
`(("ghostscript" ,ghostscript) (list ghostscript cups zlib))
("cups" ,cups)
("zlib" ,zlib)))
(home-page "https://github.com/pdewacht/brlaser") (home-page "https://github.com/pdewacht/brlaser")
(synopsis "Brother laser printer driver") (synopsis "Brother laser printer driver")
(description "Brlaser is a CUPS driver for Brother laser printers. This (description "Brlaser is a CUPS driver for Brother laser printers. This
@ -128,7 +127,7 @@ driver is known to work with these printers:
(define-public cups-filters (define-public cups-filters
(package (package
(name "cups-filters") (name "cups-filters")
(version "1.27.4") (version "1.28.9")
(source(origin (source(origin
(method url-fetch) (method url-fetch)
(uri (uri
@ -136,7 +135,7 @@ driver is known to work with these printers:
"cups-filters-" version ".tar.xz")) "cups-filters-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"110b1xhb5vfpcx0zq9kkas7pj281skx5dpnnr22idx509jfdzj8b")) "1bk0x1rrb8wqbhh5c979ppgy6s2kqss8mjdlahgcjvd79wm3fs9g"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
;; install backends, banners and filters to cups-filters output ;; install backends, banners and filters to cups-filters output
@ -196,29 +195,31 @@ driver is known to work with these printers:
#t))) #t)))
(add-after 'install 'wrap-filters (add-after 'install 'wrap-filters
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
;; Some filters expect to find 'gs' in $PATH. We cannot ;; Some filters expect to find things in $PATH. We cannot
;; just hard-code its absolute file name in the source ;; just hard-code all absolute file names in the source
;; because foomatic-rip, for example, has tests like ;; because foomatic-rip, for example, has tests like
;; 'startswith(cmd, "gs")'. ;; 'startswith(cmd, "gs")'.
(let ((out (assoc-ref outputs "out")) (let ((out (assoc-ref outputs "out"))
(ghostscript (assoc-ref inputs "ghostscript"))) (ghostscript (assoc-ref inputs "ghostscript"))
(grep (assoc-ref inputs "grep")))
(for-each (lambda (file) (for-each (lambda (file)
(wrap-program file (wrap-program file
`("PATH" ":" prefix `("PATH" ":" prefix
(,(string-append ghostscript (,(string-append ghostscript "/bin:"
"/bin"))))) grep "/bin")))))
(find-files (string-append (find-files (string-append
out "/lib/cups/filter"))) out "/lib/cups/filter")))
#t)))))) #t))))))
(native-inputs (native-inputs
`(("glib" ,glib "bin") ; for gdbus-codegen (list `(,glib "bin") ; for gdbus-codegen
("pkg-config" ,pkg-config))) pkg-config))
(inputs (inputs
`(("avahi" ,avahi) `(("avahi" ,avahi)
("fontconfig" ,fontconfig) ("fontconfig" ,fontconfig)
("freetype" ,freetype) ("freetype" ,freetype)
("font-dejavu" ,font-dejavu) ; also needed by test suite ("font-dejavu" ,font-dejavu) ; also needed by test suite
("ghostscript" ,ghostscript/cups) ("ghostscript" ,ghostscript/cups)
("grep" ,grep)
("ijs" ,ijs) ("ijs" ,ijs)
("dbus" ,dbus) ("dbus" ,dbus)
("lcms" ,lcms) ("lcms" ,lcms)
@ -251,16 +252,20 @@ filters for the PDF-centric printing workflow introduced by OpenPrinting.")
(define-public cups-minimal (define-public cups-minimal
(package (package
(name "cups-minimal") (name "cups-minimal")
(version "2.3.3") (version "2.3.3op2")
(replacement cups-minimal/fixed)
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/apple/cups/releases/download/v" ;; Version maintained by the OpenPrinting organization, NOT a fork. The
version "/cups-" version "-source.tar.gz")) ;; CUPS author tracks the current Apple CUPS sources and includes common
;; changes and bug fixes for GNU/Linux. See its README and for example
;; <https://github.com/apple/cups/issues/5917#issuecomment-819465891>.
(uri (git-reference
(url "https://github.com/OpenPrinting/cups")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "126d6kd3pkhmsvbcflkcpk3y30iqlkdqyvrk9aqq88vbxzjd5ia6"))))
"1vpk0b2vq830f8fvf9z8qjsm5k141i7pi8djbinpnr78pi4dj7r6"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:configure-flags `(#:configure-flags
@ -273,6 +278,31 @@ filters for the PDF-centric printing workflow introduced by OpenPrinting.")
#:tests? #f #:tests? #f
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'never-cupsAdminGetServerSettings
;; Instead of querying the daemon directly, this part of CUPS assumes
;; that (1) it has access to a cupsd.conf under CUPS_SERVERROOT, and
;; (2) the file's contents apply to the running daemon. (1) is false
;; at least on Guix Systems resulting in extremely long delays when
;; loading the Web interface's /admin page. (2) isn't valid anywhere
;; because it ignores, e.g., -c FILE.
;; Upstream considers this code on life support so just neuter it.
(lambda _
(substitute* "cgi-bin/admin.c"
(("!cupsAdminGetServerSettings" match)
(string-append "0 && " match)))))
(add-after 'unpack 'remove-Web-UI-server-settings
;; The /admin page's server configuration form is questionable for
;; the same reason as cupsAdminGetServerSettings, and won't work at
;; all on Guix Systems. Remove it entirely.
(lambda _
;; SUBSTITUTE* and a patch both have (dis)advantages. This is
;; shorter & should ensure that no translation is forgotten.
(substitute* (find-files "templates" "^admin\\.tmpl$")
((" class=\"halves\"") "")
(("<FORM.* ACTION=\"/jobs.*</FORM>" match)
(string-append match "</P>{BROKEN? "))
(("</FORM>}" match)
(string-append match "}")))))
(add-before 'configure 'patch-makedefs (add-before 'configure 'patch-makedefs
(lambda _ (lambda _
(substitute* "Makedefs.in" (substitute* "Makedefs.in"
@ -295,11 +325,10 @@ filters for the PDF-centric printing workflow introduced by OpenPrinting.")
"#elif defined(HAVE_AVAHI)")) "#elif defined(HAVE_AVAHI)"))
#t))))) #t)))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) (list pkg-config))
(inputs (inputs
`(("zlib" ,zlib) (list zlib gnutls))
("gnutls" ,gnutls))) (home-page "https://openprinting.github.io/")
(home-page "https://www.cups.org")
(synopsis "The Common Unix Printing System") (synopsis "The Common Unix Printing System")
(description (description
"CUPS is a printing system that uses the Internet Printing Protocol "CUPS is a printing system that uses the Internet Printing Protocol
@ -313,32 +342,23 @@ device-specific programs to convert and print many types of files.")
;; CUPS is Apache 2.0 with exceptions, see the NOTICE file. ;; CUPS is Apache 2.0 with exceptions, see the NOTICE file.
(license license:asl2.0))) (license license:asl2.0)))
(define cups-minimal/fixed
(package-with-extra-patches
cups-minimal
(search-patches "cups-CVE-2020-10001.patch")))
(define-public cups (define-public cups
(package/inherit cups-minimal (package/inherit cups-minimal
(name "cups") (name "cups")
(arguments (arguments
`(;; Three tests fail: (substitute-keyword-arguments (package-arguments cups-minimal)
((#:tests? _ #t)
;; Three tests fail:
;; * two tests in ipp-1.1.test related to "RFC 2911 section 3.2.6: ;; * two tests in ipp-1.1.test related to "RFC 2911 section 3.2.6:
;; Get-Jobs Operation" ;; Get-Jobs Operation"
;; * test of number of error/warning messages, probably related to a ;; * test of number of error/warning messages, probably related to a
;; missing font. ;; missing font.
#:tests? #f #f)
#:configure-flags ((#:configure-flags _ '())
'("--disable-launchd" `(list "--disable-launchd"
"--disable-systemd") "--disable-systemd"))
#:phases ((#:phases phases '%standard-phases)
(modify-phases %standard-phases `(modify-phases ,phases
(add-before 'configure 'patch-makedefs
(lambda _
(substitute* "Makedefs.in"
(("INITDIR.*=.*@INITDIR@") "INITDIR = @prefix@/@INITDIR@")
(("/bin/sh") (which "sh")))
#t))
(add-before 'check 'patch-tests (add-before 'check 'patch-tests
(lambda _ (lambda _
(let ((filters (assoc-ref %build-inputs "cups-filters")) (let ((filters (assoc-ref %build-inputs "cups-filters"))
@ -349,19 +369,19 @@ device-specific programs to convert and print many types of files.")
(substitute* "test/run-stp-tests.sh" (substitute* "test/run-stp-tests.sh"
((" *BASE=/tmp/") (string-append "BASE=" testdir)) ((" *BASE=/tmp/") (string-append "BASE=" testdir))
;; allow installation of filters from output dir and from ;; Allow installation of filters from the output directory
;; cups-filters ;; and from cups-filters.
(("for dir in /usr/libexec/cups/filter /usr/lib/cups/filter") (("for dir in /usr/libexec/cups/filter /usr/lib/cups/filter")
(string-append (string-append
"for dir in " "for dir in "
(assoc-ref %outputs "out") "/lib/cups/filter " (assoc-ref %outputs "out") "/lib/cups/filter "
filters "/lib/cups/filter")) filters "/lib/cups/filter"))
;; check for charsets in cups-filters output ;; Check for charsets in the default cups-filters output.
(("/usr/share/cups/charsets") (("/usr/share/cups/charsets")
(string-append filters "/share/cups/charsets")) (string-append filters "/share/cups/charsets"))
;; install additional required filters ;; Install additional required filters.
(("instfilter texttopdf texttopdf pdf") (("instfilter texttopdf texttopdf pdf")
(string-append (string-append
"instfilter texttopdf texttopdf pdf;" "instfilter texttopdf texttopdf pdf;"
@ -371,15 +391,15 @@ device-specific programs to convert and print many types of files.")
"instfilter rastertopdf rastertopdf pdf;" "instfilter rastertopdf rastertopdf pdf;"
"instfilter pstopdf pstopdf pdf")) "instfilter pstopdf pstopdf pdf"))
;; specify location of lpstat binary ;; Specify the location of the lpstat binary.
(("description=\"`lpstat -l") (("description=\"`lpstat -l")
"description=\"`../systemv/lpstat -l") "description=\"`../systemv/lpstat -l")
;; patch shebangs of embedded scripts ;; Patch the shebangs of embedded scripts.
(("#!/bin/sh") (string-append "#!" (which "sh"))) (("#!/bin/sh") (string-append "#!" (which "sh")))
;; also link mime definitions from cups-filters ;; Also link MIME definitions from cups-filters
;; to enable the additional filters for the test suite ;; to enable the additional filters for the test suite.
(("ln -s \\$root/conf/mime\\.types") (("ln -s \\$root/conf/mime\\.types")
(string-append (string-append
"ln -s " filters "ln -s " filters
@ -391,32 +411,22 @@ device-specific programs to convert and print many types of files.")
"/share/cups/mime/cupsfilters.convs $BASE/share/mime; " "/share/cups/mime/cupsfilters.convs $BASE/share/mime; "
"ln -s $root/conf/mime.convs"))) "ln -s $root/conf/mime.convs")))
;; fix search path for "cat" ;; Fix the search path for the "cat" command.
(substitute* "cups/testfile.c" (substitute* "cups/testfile.c"
(("cupsFileFind\\(\"cat\", \"/bin\"") (("cupsFileFind\\(\"cat\", \"/bin\"")
(string-append "cupsFileFind(\"cat\", \"" catpath "\"")) (string-append "cupsFileFind(\"cat\", \"" catpath "\""))
(("cupsFileFind\\(\"cat\", \"/bin:/usr/bin\"") (("cupsFileFind\\(\"cat\", \"/bin:/usr/bin\"")
(string-append "cupsFileFind(\"cat\", \"" catpath "\""))) (string-append "cupsFileFind(\"cat\", \"" catpath "\""))))))
#t)))
;; Make the compressed manpages writable so that the
;; reset-gzip-timestamps phase does not error out.
(add-before 'reset-gzip-timestamps 'make-manpages-writable
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(man (string-append out "/share/man")))
(for-each (lambda (file) (chmod file #o644))
(find-files man "\\.gz"))
#t)))
(add-after 'install 'install-cups-filters-symlinks (add-after 'install 'install-cups-filters-symlinks
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")) (let ((out (assoc-ref outputs "out"))
(cups-filters (assoc-ref inputs "cups-filters"))) (cups-filters (assoc-ref inputs "cups-filters")))
;; charsets ;; Charsets.
(symlink (symlink
(string-append cups-filters "/share/cups/charsets") (string-append cups-filters "/share/cups/charsets")
(string-append out "/share/charsets")) (string-append out "/share/charsets"))
;; mime types, driver file, ppds ;; MIME types, driver files, and PPDs.
(for-each (for-each
(lambda (f) (lambda (f)
(symlink (string-append cups-filters f) (symlink (string-append cups-filters f)
@ -426,14 +436,15 @@ device-specific programs to convert and print many types of files.")
"/share/cups/drv/cupsfilters.drv" "/share/cups/drv/cupsfilters.drv"
"/share/ppd")) "/share/ppd"))
;; filters ;; Filters.
(for-each (for-each
(lambda (f) (lambda (f)
(symlink f (symlink f
(string-append out "/lib/cups/filter" (basename f)))) (string-append out "/lib/cups/filter"
(basename f))))
(find-files (string-append cups-filters "/lib/cups/filter"))) (find-files (string-append cups-filters "/lib/cups/filter")))
;; backends ;; Backends.
(for-each (for-each
(lambda (f) (lambda (f)
(symlink (string-append cups-filters f) (symlink (string-append cups-filters f)
@ -442,19 +453,17 @@ device-specific programs to convert and print many types of files.")
'("/lib/cups/backend/parallel" '("/lib/cups/backend/parallel"
"/lib/cups/backend/serial")) "/lib/cups/backend/serial"))
;; banners ;; Banners.
(let ((banners "/share/cups/banners")) (let ((banners "/share/cups/banners"))
(delete-file-recursively (string-append out banners)) (delete-file-recursively (string-append out banners))
(symlink (string-append cups-filters banners) (symlink (string-append cups-filters banners)
(string-append out banners))) (string-append out banners)))
;; assorted data ;; Assorted data.
(let ((data "/share/cups/data")) (let ((data "/share/cups/data"))
(delete-file-recursively (string-append out data)) (delete-file-recursively (string-append out data))
(symlink (string-append cups-filters data) (symlink (string-append cups-filters data)
(string-append out data))) (string-append out data))))))))))
#t))))))
(inputs (inputs
`(("avahi" ,avahi) `(("avahi" ,avahi)
("gnutls" ,gnutls) ("gnutls" ,gnutls)
@ -474,11 +483,7 @@ device-specific programs to convert and print many types of files.")
"0a52jw6rm7lr5nbyksiia0rn7sasyb5cjqcb95z1wxm2yprgi6lm")))) "0a52jw6rm7lr5nbyksiia0rn7sasyb5cjqcb95z1wxm2yprgi6lm"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("intltool" ,intltool) (list intltool pkg-config glib polkit cups))
("pkg-config" ,pkg-config)
("glib" ,glib)
("polkit" ,polkit)
("cups" ,cups)))
(home-page "https://www.freedesktop.org/wiki/Software/cups-pk-helper/") (home-page "https://www.freedesktop.org/wiki/Software/cups-pk-helper/")
(synopsis "PolicyKit helper to configure CUPS with fine-grained privileges") (synopsis "PolicyKit helper to configure CUPS with fine-grained privileges")
(description (description
@ -592,8 +597,7 @@ should only be used as part of the Guix cups-pk-helper service.")
;; FIXME Use beginning-of-word in regexp. ;; FIXME Use beginning-of-word in regexp.
(("[[:blank:]]plugin\\.py[[:blank:]]") " ") (("[[:blank:]]plugin\\.py[[:blank:]]") " ")
(("/usr/include/libusb-1.0") (("/usr/include/libusb-1.0")
(string-append (assoc-ref inputs "libusb") (search-input-directory inputs "/include/libusb-1.0"))
"/include/libusb-1.0"))
(("hplip_statedir =.*$") (("hplip_statedir =.*$")
;; Don't bail out while trying to create ;; Don't bail out while trying to create
;; /var/lib/hplip. We can safely change its value ;; /var/lib/hplip. We can safely change its value
@ -644,7 +648,7 @@ should only be used as part of the Guix cups-pk-helper service.")
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin")) (bin (string-append out "/bin"))
(python (assoc-ref inputs "python"))) (site (python:site-packages inputs outputs)))
(with-directory-excursion bin (with-directory-excursion bin
(for-each (lambda (file) (for-each (lambda (file)
(let ((target (readlink file))) (let ((target (readlink file)))
@ -653,14 +657,11 @@ should only be used as part of the Guix cups-pk-helper service.")
(lambda _ (lambda _
(format #t (format #t
"#!~a~@ "#!~a~@
export PYTHONPATH=\"~a:~a\"~@ export GUIX_PYTHONPATH=\"~a:~a\"~@
exec -a \"$0\" \"~a/~a\" \"$@\"~%" exec -a \"$0\" \"~a/~a\" \"$@\"~%"
(which "bash") (which "bash")
(string-append site
out "/lib/python" (getenv "GUIX_PYTHONPATH")
(python:python-version python)
"/site-packages")
(getenv "PYTHONPATH")
bin target))) bin target)))
(chmod file #o755))) (chmod file #o755)))
(find-files "." (lambda (file stat) (find-files "." (lambda (file stat)
@ -684,8 +685,7 @@ should only be used as part of the Guix cups-pk-helper service.")
("sane-backends" ,sane-backends-minimal) ("sane-backends" ,sane-backends-minimal)
("zlib" ,zlib))) ("zlib" ,zlib)))
(native-inputs (native-inputs
`(("perl" ,perl) (list perl pkg-config))))
("pkg-config" ,pkg-config)))))
(define-public hplip-minimal (define-public hplip-minimal
(package/inherit hplip (package/inherit hplip
@ -727,11 +727,9 @@ should only be used as part of the Guix cups-pk-helper service.")
(home-page (home-page
"https://wiki.linuxfoundation.org/openprinting/database/foomatic") "https://wiki.linuxfoundation.org/openprinting/database/foomatic")
(native-inputs (native-inputs
`(("perl" ,perl) (list perl pkg-config))
("pkg-config" ,pkg-config)))
(inputs (inputs
`(("dbus" ,dbus) (list dbus a2ps))
("a2ps" ,a2ps)))
(arguments (arguments
'( ;; Specify the installation directories. '( ;; Specify the installation directories.
#:configure-flags (list (string-append "ac_cv_path_CUPS_BACKENDS=" #:configure-flags (list (string-append "ac_cv_path_CUPS_BACKENDS="
@ -746,7 +744,7 @@ should only be used as part of the Guix cups-pk-helper service.")
(string-append "ac_cv_path_PPR_LIB=" (string-append "ac_cv_path_PPR_LIB="
(assoc-ref %outputs "out") (assoc-ref %outputs "out")
"/lib/ppr/lib") "/lib/ppr/lib")
"CFLAGS=-fcommon"
;; For some reason these are misdiagnosed. ;; For some reason these are misdiagnosed.
"ac_cv_func_malloc_0_nonnull=yes" "ac_cv_func_malloc_0_nonnull=yes"
"ac_cv_func_realloc_0_nonnull=yes") "ac_cv_func_realloc_0_nonnull=yes")
@ -845,13 +843,9 @@ printer/driver specific, but spooler-independent PPD file.")
#:tests? #f ;no tests #:tests? #f ;no tests
#:make-flags '("CC=gcc"))) #:make-flags '("CC=gcc")))
(inputs (inputs
`(("coreutils" ,coreutils) (list coreutils sed ghostscript foomatic-filters)) ;for 'foomatic-rip'
("sed" ,sed)
("ghostscript" ,ghostscript)
("foomatic-filters" ,foomatic-filters))) ;for 'foomatic-rip'
(native-inputs (native-inputs
`(("bc" ,bc) (list bc groff))
("groff" ,groff)))
;; The domain has expired and no one has meaningfully taken up the torch. ;; The domain has expired and no one has meaningfully taken up the torch.
(home-page (string-append "https://web.archive.org/web/20210129024712/" (home-page (string-append "https://web.archive.org/web/20210129024712/"
"http://foo2zjs.rkkda.com/")) "http://foo2zjs.rkkda.com/"))
@ -915,8 +909,7 @@ HP@tie{}LaserJet, and possibly other printers. See @file{README} for details.")
(for-each (cut invoke "gzip" "-9" <>) (for-each (cut invoke "gzip" "-9" <>)
(find-files "share/cups" "\\.ppd$"))))))))) (find-files "share/cups" "\\.ppd$")))))))))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake))
("automake" ,automake)))
(inputs (inputs
`(("cups" ,cups-minimal))) `(("cups" ,cups-minimal)))
(synopsis "ESC/P-R printer driver") (synopsis "ESC/P-R printer driver")
@ -1016,7 +1009,7 @@ obtained and installed separately.")
'(;; Tests require CUPS to be running '(;; Tests require CUPS to be running
#:tests? #f)) #:tests? #f))
(inputs (inputs
`(("cups" ,cups))) (list cups))
(home-page "https://github.com/zdohnal/pycups") (home-page "https://github.com/zdohnal/pycups")
(synopsis "Python bindings for libcups") (synopsis "Python bindings for libcups")
(description (description

View file

@ -11,6 +11,7 @@
;;; Copyright © 2019, 2021 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2019, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net> ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2020 Dale Mellor <guix-devel-0brg6b@rdmp.org> ;;; Copyright © 2020 Dale Mellor <guix-devel-0brg6b@rdmp.org>
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2021 Jean-Baptiste Volatier <jbv@pm.me> ;;; Copyright © 2021 Jean-Baptiste Volatier <jbv@pm.me>
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net> ;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;; ;;;
@ -45,7 +46,6 @@
#:use-module (gnu packages guile) #:use-module (gnu packages guile)
#:use-module (gnu packages kerberos) #:use-module (gnu packages kerberos)
#:use-module (gnu packages libidn) #:use-module (gnu packages libidn)
#:use-module (gnu packages openldap)
#: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 python) #:use-module (gnu packages python)
@ -57,29 +57,25 @@
(define-public curl (define-public curl
(package (package
(name "curl") (name "curl")
(replacement curl-7.77.0) (version "7.79.1")
(version "7.74.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://curl.haxx.se/download/curl-" (uri (string-append "https://curl.haxx.se/download/curl-"
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"12w7gskrglg6qrmp822j37fmbr0icrcxv7rib1fy5xiw80n5z7cr")) "129n9hi7rbg3s112chyadhp4y27ppb5i65n12wm77aw2255zf1h6"))
(patches (search-patches "curl-use-ssl-cert-env.patch")))) (patches (search-patches "curl-use-ssl-cert-env.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(outputs '("out" (outputs '("out"
"doc")) ;1.2 MiB of man3 pages "doc")) ;1.2 MiB of man3 pages
(inputs `(("gnutls" ,gnutls) (inputs (list gnutls libidn mit-krb5
("libidn" ,libidn) `(,nghttp2 "lib") zlib))
("openldap" ,openldap)
("mit-krb5" ,mit-krb5)
("nghttp2" ,nghttp2 "lib")
("zlib" ,zlib)))
(native-inputs (native-inputs
`(("perl" ,perl) `(("nghttp2" ,nghttp2)
("perl" ,perl)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
("python" ,python-wrapper))) ("python" ,python-minimal-wrapper)))
(native-search-paths (native-search-paths
;; These variables are introduced by curl-use-ssl-cert-env.patch. ;; These variables are introduced by curl-use-ssl-cert-env.patch.
(list (search-path-specification (list (search-path-specification
@ -112,8 +108,7 @@
;; Do not save the configure options to avoid unnecessary references. ;; Do not save the configure options to avoid unnecessary references.
(substitute* "curl-config.in" (substitute* "curl-config.in"
(("@CONFIGURE_OPTIONS@") (("@CONFIGURE_OPTIONS@")
"\"not available\"")) "\"not available\""))))
#t))
(add-after (add-after
'install 'move-man3-pages 'install 'move-man3-pages
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
@ -122,18 +117,17 @@
(doc (assoc-ref outputs "doc"))) (doc (assoc-ref outputs "doc")))
(mkdir-p (string-append doc "/share/man")) (mkdir-p (string-append doc "/share/man"))
(rename-file (string-append out "/share/man/man3") (rename-file (string-append out "/share/man/man3")
(string-append doc "/share/man/man3")) (string-append doc "/share/man/man3")))))
#t))) (replace 'check
(replace (lambda* (#:key tests? #:allow-other-keys)
'check
(lambda _
(substitute* "tests/runtests.pl" (substitute* "tests/runtests.pl"
(("/bin/sh") (which "sh"))) (("/bin/sh") (which "sh")))
(when tests?
;; The top-level "make check" does "make -C tests quiet-test", which ;; The top-level "make check" does "make -C tests quiet-test", which
;; is too quiet. Use the "test" target instead, which is more ;; is too quiet. Use the "test" target instead, which is more
;; verbose. ;; verbose.
(invoke "make" "-C" "tests" "test")))))) (invoke "make" "-C" "tests" "test")))))))
(synopsis "Command line tool for transferring data with URL syntax") (synopsis "Command line tool for transferring data with URL syntax")
(description (description
"curl is a command line tool for transferring data with URL syntax, "curl is a command line tool for transferring data with URL syntax,
@ -147,14 +141,8 @@ tunneling, and so on.")
"See COPYING in the distribution.")) "See COPYING in the distribution."))
(home-page "https://curl.haxx.se/"))) (home-page "https://curl.haxx.se/")))
;; This package exists mainly to bootstrap CMake. It must not depend on
;; anything that uses cmake-build-system.
(define-public curl-minimal (define-public curl-minimal
(hidden-package (deprecated-package "curl-minimal" curl))
(package/inherit
curl
(name "curl-minimal")
(inputs (alist-delete "openldap" (package-inputs curl))))))
(define-public curl-ssh (define-public curl-ssh
(package/inherit curl (package/inherit curl
@ -167,21 +155,6 @@ tunneling, and so on.")
,@(package-inputs curl))) ,@(package-inputs curl)))
(properties `((hidden? . #t))))) (properties `((hidden? . #t)))))
(define-public curl-7.77.0
(package
(inherit curl)
(version "7.77.0")
(source
(origin
(inherit (package-source curl))
(uri (string-append "https://curl.haxx.se/download/curl-"
version ".tar.xz"))
(patches (search-patches "curl-7.76-use-ssl-cert-env.patch"
"curl-7.77-tls-priority-string.patch"))
(sha256
(base32
"0jsrc97vbghvljic997r9nypc9qqddcil2lzvv032br8ahn5hr0g"))))))
(define-public kurly (define-public kurly
(package (package
(name "kurly") (name "kurly")
@ -214,9 +187,8 @@ tunneling, and so on.")
(string-append man "/kurly.1"))) (string-append man "/kurly.1")))
#t)))))) #t))))))
(inputs (inputs
`(("go-github-com-alsm-ioprogress" ,go-github-com-alsm-ioprogress) (list go-github-com-alsm-ioprogress go-github-com-aki237-nscjar
("go-github-com-aki237-nscjar" ,go-github-com-aki237-nscjar) go-github-com-urfave-cli))
("go-github-com-urfave-cli" ,go-github-com-urfave-cli)))
(synopsis "Command-line HTTP client") (synopsis "Command-line HTTP client")
(description "kurly is an alternative to the @code{curl} program written in (description "kurly is an alternative to the @code{curl} program written in
Go. kurly is designed to operate in a similar manner to curl, with select Go. kurly is designed to operate in a similar manner to curl, with select
@ -287,10 +259,9 @@ not offer a replacement for libcurl.")
;; The build system does not actually compile the Scheme module. ;; The build system does not actually compile the Scheme module.
;; So we can compile it and put it in the right place in one go. ;; So we can compile it and put it in the right place in one go.
(invoke "guild" "compile" curl.scm "-o" curl.go))))))) (invoke "guild" "compile" curl.scm "-o" curl.go)))))))
(native-inputs `(("pkg-config" ,pkg-config))) (native-inputs (list pkg-config))
(inputs (inputs
`(("curl" ,curl) (list curl guile-3.0))
("guile" ,guile-3.0)))
(home-page "http://www.lonelycactus.com/guile-curl.html") (home-page "http://www.lonelycactus.com/guile-curl.html")
(synopsis "Curl bindings for Guile") (synopsis "Curl bindings for Guile")
(description "@code{guile-curl} is a project that has procedures that allow (description "@code{guile-curl} is a project that has procedures that allow
@ -303,8 +274,7 @@ FTP servers. It is based on the curl library.")
(inherit guile-curl) (inherit guile-curl)
(name "guile2.2-curl") (name "guile2.2-curl")
(inputs (inputs
`(("curl" ,curl) (list curl guile-2.2))))
("guile" ,guile-2.2)))))
(define-public curlpp (define-public curlpp
(package (package
@ -325,7 +295,7 @@ FTP servers. It is based on the curl library.")
'(#:tests? #f)) '(#:tests? #f))
;; The installed version needs the header files from the C library. ;; The installed version needs the header files from the C library.
(propagated-inputs (propagated-inputs
`(("curl" ,curl))) (list curl))
(synopsis "C++ wrapper around libcURL") (synopsis "C++ wrapper around libcURL")
(description (description
"This package provides a free and easy-to-use client-side C++ URL "This package provides a free and easy-to-use client-side C++ URL
@ -356,7 +326,7 @@ more!")
'(#:install-plan '(#:install-plan
'(("./h2c" "bin/")))) '(("./h2c" "bin/"))))
(inputs (inputs
`(("perl" ,perl))) (list perl))
(home-page "https://curl.se/h2c/") (home-page "https://curl.se/h2c/")
(synopsis "Convert HTTP headers to a curl command line") (synopsis "Convert HTTP headers to a curl command line")
(description (description

View file

@ -69,9 +69,7 @@
(replace 'configure (replace 'configure
(lambda _ (invoke "qmake")))))) (lambda _ (invoke "qmake"))))))
(inputs (inputs
`(("qtbase" ,qtbase-5) (list qtbase-5 quazip-0 zlib))
("quazip" ,quazip-0)
("zlib" ,zlib)))
(home-page "https://cvassistant.sourceforge.io/") (home-page "https://cvassistant.sourceforge.io/")
(synopsis "Job application organizer") (synopsis "Job application organizer")
(description "Whether you're looking for a job or trying to help (description "Whether you're looking for a job or trying to help

View file

@ -44,7 +44,7 @@
(base32 "08ms7x4af07970ij9899l75sghnxsa7xyx73gkn6gv0l05p1hqfw")))) (base32 "08ms7x4af07970ij9899l75sghnxsa7xyx73gkn6gv0l05p1hqfw"))))
(build-system python-build-system) (build-system python-build-system)
(propagated-inputs (propagated-inputs
`(("python-capstone" ,python-capstone))) (list python-capstone))
(home-page "http://shell-storm.org/project/ROPgadget/") (home-page "http://shell-storm.org/project/ROPgadget/")
(synopsis "Semiautomatic return oriented programming") (synopsis "Semiautomatic return oriented programming")
(description (description
@ -68,23 +68,22 @@ chains of gadgets to execute system calls.")
(arguments (arguments
'(#:tests? #f)) ;XXX: needs a specific version of unicorn '(#:tests? #f)) ;XXX: needs a specific version of unicorn
(propagated-inputs (propagated-inputs
`(("capstone" ,capstone) (list capstone
("python-dateutil" ,python-dateutil) python-dateutil
("python-intervaltree" ,python-intervaltree) python-intervaltree
("python-mako" ,python-mako) python-mako
("python-packaging" ,python-packaging) python-packaging
("python-paramiko" ,python-paramiko) python-paramiko
("python-psutil" ,python-psutil) python-psutil
("python-pyelftools" ,python-pyelftools) python-pyelftools
("python-pygments" ,python-pygments) python-pygments
("python-pyserial" ,python-pyserial) python-pyserial
("python-pysocks" ,python-pysocks) python-pysocks
("python-requests" ,python-requests) python-requests
("ropgadget" ,ropgadget) ropgadget
("python-six" ,python-six) python-six
("python-sortedcontainers" python-sortedcontainers
,python-sortedcontainers) unicorn))
("unicorn" ,unicorn)))
(home-page "https://github.com/Gallopsled/pwntools") (home-page "https://github.com/Gallopsled/pwntools")
(synopsis (synopsis
"Capture-the-flag (CTF) framework and exploit development library") "Capture-the-flag (CTF) framework and exploit development library")

View file

@ -48,14 +48,11 @@
"cyrus-sasl-CVE-2019-19906.patch")))) "cyrus-sasl-CVE-2019-19906.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake libtool))
("automake" ,automake) (inputs (list gdbm openssl))
("libtool" ,libtool)))
(inputs `(("gdbm" ,gdbm)
("openssl" ,openssl)))
(propagated-inputs (propagated-inputs
`(;; cyrus-sasl.pc refers to -lkrb5, so propagate it. (list ;; cyrus-sasl.pc refers to -lkrb5, so propagate it.
("mit-krb5" ,mit-krb5))) mit-krb5))
(arguments (arguments
'(#:configure-flags (list (string-append "--with-plugindir=" '(#:configure-flags (list (string-append "--with-plugindir="
(assoc-ref %outputs "out") (assoc-ref %outputs "out")

File diff suppressed because it is too large Load diff

View file

@ -39,8 +39,8 @@
(base32 (base32
"1cxdlhgz3wzjqlq8bgwad93fgqymk2abbldfzw1ffnhcp4mmjjjp")))) "1cxdlhgz3wzjqlq8bgwad93fgqymk2abbldfzw1ffnhcp4mmjjjp"))))
(native-inputs (native-inputs
`(("which" ,which) ;for tests (list which ;for tests
("perl" ,perl))) ;for help2man perl)) ;for help2man
(build-system gnu-build-system) (build-system gnu-build-system)
(home-page "https://www.gnu.org/software/datamash/") (home-page "https://www.gnu.org/software/datamash/")
(synopsis "Scriptable statistics and data calculation") (synopsis "Scriptable statistics and data calculation")

Some files were not shown because too many files have changed in this diff Show more