Merge branch 'master' into core-updates
This commit is contained in:
commit
e90e0fad1b
|
@ -44,11 +44,6 @@
|
|||
/doc/os-config-desktop.texi
|
||||
/doc/stamp-vti
|
||||
/doc/version.texi
|
||||
/emacs/Makefile
|
||||
/emacs/Makefile.in
|
||||
/emacs/guix-autoloads.el
|
||||
/emacs/guix-config.el
|
||||
/emacs/guix-helper.scm
|
||||
/etc/guix-daemon.conf
|
||||
/etc/guix-daemon.service
|
||||
/etc/guix-publish.conf
|
||||
|
|
25
Makefile.am
25
Makefile.am
|
@ -1,7 +1,7 @@
|
|||
# GNU Guix --- Functional package management for GNU
|
||||
# Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
|
||||
# Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
||||
# Copyright © 2015 Alex Kost <alezost@gmail.com>
|
||||
# Copyright © 2015, 2017 Alex Kost <alezost@gmail.com>
|
||||
# Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
|
||||
# Copyright © 2016, 2017 Mark H Weaver <mhw@netris.org>
|
||||
#
|
||||
|
@ -196,16 +196,17 @@ endif BUILD_DAEMON_OFFLOAD
|
|||
# Internal modules with test suite support.
|
||||
dist_noinst_DATA = guix/tests.scm guix/tests/http.scm
|
||||
|
||||
# Linux-Libre configurations.
|
||||
KCONFIGS = \
|
||||
gnu/packages/linux-libre-4.10-i686.conf \
|
||||
gnu/packages/linux-libre-4.10-x86_64.conf \
|
||||
gnu/packages/linux-libre-4.9-i686.conf \
|
||||
gnu/packages/linux-libre-4.9-x86_64.conf \
|
||||
gnu/packages/linux-libre-4.4-i686.conf \
|
||||
gnu/packages/linux-libre-4.4-x86_64.conf \
|
||||
gnu/packages/linux-libre-4.1-i686.conf \
|
||||
gnu/packages/linux-libre-4.1-x86_64.conf
|
||||
# Auxiliary files for packages.
|
||||
AUX_FILES = \
|
||||
gnu/packages/aux-files/emacs/guix-emacs.el \
|
||||
gnu/packages/aux-files/linux-libre/4.10-i686.conf \
|
||||
gnu/packages/aux-files/linux-libre/4.10-x86_64.conf \
|
||||
gnu/packages/aux-files/linux-libre/4.9-i686.conf \
|
||||
gnu/packages/aux-files/linux-libre/4.9-x86_64.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.1-i686.conf \
|
||||
gnu/packages/aux-files/linux-libre/4.1-x86_64.conf
|
||||
|
||||
# Templates, examples.
|
||||
EXAMPLES = \
|
||||
|
@ -216,7 +217,7 @@ EXAMPLES = \
|
|||
GOBJECTS = $(MODULES:%.scm=%.go) guix/config.go $(dist_noinst_DATA:%.scm=%.go)
|
||||
|
||||
nobase_dist_guilemodule_DATA = \
|
||||
$(MODULES) $(KCONFIGS) $(EXAMPLES) \
|
||||
$(MODULES) $(AUX_FILES) $(EXAMPLES) \
|
||||
$(MISC_DISTRO_FILES)
|
||||
nobase_nodist_guilemodule_DATA = $(GOBJECTS) guix/config.scm
|
||||
|
||||
|
|
|
@ -259,14 +259,17 @@ valid."
|
|||
;; prevents known-to-fail cross-builds from i686-linux or armhf-linux to
|
||||
;; mips64el-linux-gnuabi64.
|
||||
(and (or (string-prefix? "i686-" system)
|
||||
(string-prefix? "i586-" system)
|
||||
(string-prefix? "armhf-" system))
|
||||
(string-suffix? "64" target)))
|
||||
(string-contains target "64"))) ;x86_64, mips64el, aarch64, etc.
|
||||
|
||||
(define (same? target)
|
||||
;; Return true if SYSTEM and TARGET are the same thing. This is so we
|
||||
;; don't try to cross-compile to 'mips64el-linux-gnu' from
|
||||
;; 'mips64el-linux'.
|
||||
(string-contains target system))
|
||||
(or (string-contains target system)
|
||||
(and (string-prefix? "armhf" system) ;armhf-linux
|
||||
(string-prefix? "arm" target)))) ;arm-linux-gnueabihf
|
||||
|
||||
(define (pointless? target)
|
||||
;; Return #t if it makes no sense to cross-build to TARGET from SYSTEM.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# GNU Guix --- Functional package management for GNU
|
||||
# Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
|
||||
# Copyright © 2012, 2013, 2014, 2015, 2017 Ludovic Courtès <ludo@gnu.org>
|
||||
#
|
||||
# This file is part of GNU Guix.
|
||||
#
|
||||
|
@ -45,11 +45,18 @@ export PATH
|
|||
|
||||
NIX_ROOT_FINDER="$abs_top_builddir/nix/scripts/list-runtime-roots"
|
||||
NIX_SUBSTITUTERS="$abs_top_builddir/nix/scripts/substitute"
|
||||
NIX_BUILD_HOOK="$abs_top_builddir/nix/scripts/offload"
|
||||
NIX_LIBEXEC_DIR="@abs_top_builddir@/nix/scripts" # for 'guix-authenticate'
|
||||
|
||||
export NIX_ROOT_FINDER NIX_SUBSTITUTERS \
|
||||
NIX_BUILD_HOOK NIX_LIBEXEC_DIR
|
||||
export NIX_ROOT_FINDER NIX_SUBSTITUTERS NIX_LIBEXEC_DIR
|
||||
|
||||
NIX_BUILD_HOOK="$abs_top_builddir/nix/scripts/offload"
|
||||
if [ -x "$NIX_BUILD_HOOK" ]
|
||||
then
|
||||
export NIX_BUILD_HOOK
|
||||
else
|
||||
# No offloading support.
|
||||
unset NIX_BUILD_HOOK
|
||||
fi
|
||||
|
||||
# The 'guix-register' program.
|
||||
GUIX_REGISTER="$abs_top_builddir/guix-register"
|
||||
|
|
188
doc/guix.texi
188
doc/guix.texi
|
@ -443,8 +443,15 @@ Run the daemon, and set it to automatically start on boot.
|
|||
If your host distro uses the systemd init system, this can be achieved
|
||||
with these commands:
|
||||
|
||||
@c Versions of systemd that supported symlinked service files are not
|
||||
@c yet widely deployed, so we should suggest that users copy the service
|
||||
@c files into place.
|
||||
@c
|
||||
@c See this thread for more information:
|
||||
@c http://lists.gnu.org/archive/html/guix-devel/2017-01/msg01199.html
|
||||
|
||||
@example
|
||||
# ln -s ~root/.guix-profile/lib/systemd/system/guix-daemon.service \
|
||||
# cp ~root/.guix-profile/lib/systemd/system/guix-daemon.service \
|
||||
/etc/systemd/system/
|
||||
# systemctl start guix-daemon && systemctl enable guix-daemon
|
||||
@end example
|
||||
|
@ -452,8 +459,8 @@ with these commands:
|
|||
If your host distro uses the Upstart init system:
|
||||
|
||||
@example
|
||||
# ln -s ~root/.guix-profile/lib/upstart/system/guix-daemon.conf /etc/init/
|
||||
# initctl reload-configuration
|
||||
# cp ~root/.guix-profile/lib/upstart/system/guix-daemon.conf /etc/init/
|
||||
# start guix-daemon
|
||||
@end example
|
||||
|
||||
|
@ -8396,7 +8403,7 @@ other things.
|
|||
|
||||
@deftp {Data Type} mingetty-configuration
|
||||
This is the data type representing the configuration of Mingetty, which
|
||||
implements console log-in.
|
||||
provides the default implementation of virtual console log-in.
|
||||
|
||||
@table @asis
|
||||
|
||||
|
@ -8423,6 +8430,172 @@ The Mingetty package to use.
|
|||
@end table
|
||||
@end deftp
|
||||
|
||||
@deffn {Scheme Procedure} agetty-service @var{config}
|
||||
Return a service to run agetty according to @var{config}, an
|
||||
@code{<agetty-configuration>} object, which specifies the tty to run,
|
||||
among other things.
|
||||
@end deffn
|
||||
|
||||
@deftp {Data Type} agetty-configuration
|
||||
This is the data type representing the configuration of agetty, which
|
||||
implements virtual and serial console log-in. See the @code{agetty(8)}
|
||||
man page for more information.
|
||||
|
||||
@table @asis
|
||||
|
||||
@item @code{tty}
|
||||
The name of the console this agetty runs on, as a string---e.g.,
|
||||
@code{"ttyS0"}. This argument is mandatory.
|
||||
|
||||
@item @code{baud-rate} (default: @code{#f})
|
||||
A string containing a comma-separated list of one or more baud rates, in
|
||||
descending order.
|
||||
|
||||
@item @code{term} (default: @code{#f})
|
||||
A string containing the value used for the @code{TERM} environment
|
||||
variable.
|
||||
|
||||
@item @code{eight-bits?} (default: @code{#f})
|
||||
When @code{#t}, the tty is assumed to be 8-bit clean, and parity detection is
|
||||
disabled.
|
||||
|
||||
@item @code{auto-login} (default: @code{#f})
|
||||
When passed a login name, as a string, the specified user will be logged
|
||||
in automatically without prompting for their login name or password.
|
||||
|
||||
@item @code{no-reset?} (default: @code{#f})
|
||||
When @code{#t}, don't reset terminal cflags (control modes).
|
||||
|
||||
@item @code{host} (default: @code{#f})
|
||||
This accepts a string containing the "login_host", which will be written
|
||||
into the @file{/var/run/utmpx} file.
|
||||
|
||||
@item @code{remote?} (default: @code{#f})
|
||||
When set to @code{#t} in conjunction with @var{host}, this will add an
|
||||
@code{-r} fakehost option to the command line of the login program
|
||||
specified in @var{login-program}.
|
||||
|
||||
@item @code{flow-control?} (default: @code{#f})
|
||||
When set to @code{#t}, enable hardware (RTS/CTS) flow control.
|
||||
|
||||
@item @code{no-issue?} (default: @code{#f})
|
||||
When set to @code{#t}, the contents of the @file{/etc/issue} file will
|
||||
not be displayed before presenting the login prompt.
|
||||
|
||||
@item @code{init-string} (default: @code{#f})
|
||||
This accepts a string that will be sent to the tty or modem before
|
||||
sending anything else. It can be used to initialize a modem.
|
||||
|
||||
@item @code{no-clear?} (default: @code{#f})
|
||||
When set to @code{#t}, agetty will not clear the screen before showing
|
||||
the login prompt.
|
||||
|
||||
@item @code{login-program} (default: (file-append shadow "/bin/login"))
|
||||
This must be either a gexp denoting the name of a log-in program, or
|
||||
unset, in which case the default value is the @command{login} from the
|
||||
Shadow tool suite.
|
||||
|
||||
@item @code{local-line} (default: @code{#f})
|
||||
Control the CLOCAL line flag. This accepts one of three symbols as
|
||||
arguments, @code{'auto}, @code{'always}, or @code{'never}. If @code{#f},
|
||||
the default value chosen by agetty is @code{'auto}.
|
||||
|
||||
@item @code{extract-baud?} (default: @code{#f})
|
||||
When set to @code{#t}, instruct agetty to try to extract the baud rate
|
||||
from the status messages produced by certain types of modems.
|
||||
|
||||
@item @code{skip-login?} (default: @code{#f})
|
||||
When set to @code{#t}, do not prompt the user for a login name. This
|
||||
can be used with @var{login-program} field to use non-standard login
|
||||
systems.
|
||||
|
||||
@item @code{no-newline?} (default: @code{#f})
|
||||
When set to @code{#t}, do not print a newline before printing the
|
||||
@file{/etc/issue} file.
|
||||
|
||||
@c Is this dangerous only when used with login-program, or always?
|
||||
@item @code{login-options} (default: @code{#f})
|
||||
This option accepts a string containing options that are passed to the
|
||||
login program. When used with the @var{login-program}, be aware that a
|
||||
malicious user could try to enter a login name containing embedded
|
||||
options that could be parsed by the login program.
|
||||
|
||||
@item @code{login-pause} (default: @code{#f})
|
||||
When set to @code{#t}, wait for any key before showing the login prompt.
|
||||
This can be used in conjunction with @var{auto-login} to save memory by
|
||||
lazily spawning shells.
|
||||
|
||||
@item @code{chroot} (default: @code{#f})
|
||||
Change root to the specified directory. This option accepts a directory
|
||||
path as a string.
|
||||
|
||||
@item @code{hangup?} (default: @code{#f})
|
||||
Use the Linux system call @code{vhangup} to do a virtual hangup of the
|
||||
specified terminal.
|
||||
|
||||
@item @code{keep-baud?} (default: @code{#f})
|
||||
When set to @code{#t}, try to keep the existing baud rate. The baud
|
||||
rates from @var{baud-rate} are used when agetty receives a @key{BREAK}
|
||||
character.
|
||||
|
||||
@item @code{timeout} (default: @code{#f})
|
||||
When set to an integer value, terminate if no user name could be read
|
||||
within @var{timeout} seconds.
|
||||
|
||||
@item @code{detect-case?} (default: @code{#f})
|
||||
When set to @code{#t}, turn on support for detecting an uppercase-only
|
||||
terminal. This setting will detect a login name containing only
|
||||
uppercase letters as indicating an uppercase-only terminal and turn on
|
||||
some upper-to-lower case conversions. Note that this will not support
|
||||
Unicode characters.
|
||||
|
||||
@item @code{wait-cr?} (default: @code{#f})
|
||||
When set to @code{#t}, wait for the user or modem to send a
|
||||
carriage-return or linefeed character before displaying
|
||||
@file{/etc/issue} or login prompt. This is typically used with the
|
||||
@var{init-string} option.
|
||||
|
||||
@item @code{no-hints?} (default: @code{#f})
|
||||
When set to @code{#t}, do not print hints about Num, Caps, and Scroll
|
||||
locks.
|
||||
|
||||
@item @code{no-hostname?} (default: @code{#f})
|
||||
By default, the hostname is printed. When this option is set to
|
||||
@code{#t}, no hostname will be shown at all.
|
||||
|
||||
@item @code{long-hostname?} (default: @code{#f})
|
||||
By default, the hostname is only printed until the first dot. When this
|
||||
option is set to @code{#t}, the fully qualified hostname by
|
||||
@code{gethostname} or @code{getaddrinfo} is shown.
|
||||
|
||||
@item @code{erase-characters} (default: @code{#f})
|
||||
This option accepts a string of additional characters that should be
|
||||
interpreted as backspace when the user types their login name.
|
||||
|
||||
@item @code{kill-characters} (default: @code{#f})
|
||||
This option accepts a string that should be interpreted to mean "ignore
|
||||
all previous characters" (also called a "kill" character) when the types
|
||||
their login name.
|
||||
|
||||
@item @code{chdir} (default: @code{#f})
|
||||
This option accepts, as a string, a directory path that will be changed
|
||||
to before login.
|
||||
|
||||
@item @code{delay} (default: @code{#f})
|
||||
This options accepts, as an integer, the number of seconds to sleep
|
||||
before opening the tty and displaying the login prompt.
|
||||
|
||||
@item @code{nice} (default: @code{#f})
|
||||
This option accepts, as an integer, the nice value with which to run the
|
||||
@command{login} program.
|
||||
|
||||
@item @code{extra-options} (default: @code{'()})
|
||||
This option provides an "escape hatch" for the user to provide arbitrary
|
||||
command-line arguments to @command{agetty} as a list of strings.
|
||||
|
||||
@end table
|
||||
@end deftp
|
||||
|
||||
@deffn {Scheme Procedure} kmscon-service-type @var{config}
|
||||
Return a service to run @uref{https://www.freedesktop.org/wiki/Software/kmscon,kmscon}
|
||||
according to @var{config}, a @code{<kmscon-configuration>} object, which
|
||||
|
@ -8431,7 +8604,7 @@ specifies the tty to run, among other things.
|
|||
|
||||
@deftp {Data Type} kmscon-configuration
|
||||
This is the data type representing the configuration of Kmscon, which
|
||||
implements console log-in.
|
||||
implements virtual console log-in.
|
||||
|
||||
@table @asis
|
||||
|
||||
|
@ -8616,6 +8789,13 @@ are written.
|
|||
@item @code{lsof} (default: @var{lsof})
|
||||
The lsof package to use.
|
||||
|
||||
@item @code{http-proxy} (default: @code{#f})
|
||||
The HTTP proxy used for downloading fixed-output derivations and
|
||||
substitutes.
|
||||
|
||||
@item @code{tmpdir} (default: @code{#f})
|
||||
A directory path where the @command{guix-daemon} will perform builds.
|
||||
|
||||
@end table
|
||||
@end deftp
|
||||
|
||||
|
|
|
@ -9,4 +9,4 @@ stop on runlevel [016]
|
|||
|
||||
task
|
||||
|
||||
exec @bindir@/guix-daemon --build-users-group=guixbuild
|
||||
exec @localstatedir@/guix/profiles/per-user/root/guix-profile/bin/guix-daemon --build-users-group=guixbuild
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
Description=Build daemon for GNU Guix
|
||||
|
||||
[Service]
|
||||
ExecStart=@bindir@/guix-daemon --build-users-group=guixbuild
|
||||
ExecStart=@localstatedir@/guix/profiles/per-user/root/guix-profile/bin/guix-daemon --build-users-group=guixbuild
|
||||
Environment=GUIX_LOCPATH=/root/.guix-profile/lib/locale
|
||||
RemainAfterExit=yes
|
||||
StandardOutput=syslog
|
||||
|
|
|
@ -9,4 +9,4 @@ stop on runlevel [016]
|
|||
|
||||
task
|
||||
|
||||
exec @bindir@/guix publish --user=nobody --port=8181
|
||||
exec @localstatedir@/guix/profiles/per-user/root/guix-profile/bin/guix publish --user=nobody --port=8181
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
Description=Publish the GNU Guix store
|
||||
|
||||
[Service]
|
||||
ExecStart=@bindir@/guix publish --user=nobody --port=8181
|
||||
ExecStart=@localstatedir@/guix/profiles/per-user/root/guix-profile/bin/guix publish --user=nobody --port=8181
|
||||
Environment=GUIX_LOCPATH=/root/.guix-profile/lib/locale
|
||||
RemainAfterExit=yes
|
||||
StandardOutput=syslog
|
||||
|
|
|
@ -106,15 +106,17 @@ takes a bytevector and returns #t when it's a valid superblock."
|
|||
(bytevector-copy! bv start result 0 size)
|
||||
result))
|
||||
|
||||
(define (null-terminated-latin1->string bv)
|
||||
"Return the volume name of SBLOCK as a string of at most 256 characters, or
|
||||
#f if SBLOCK has no volume name."
|
||||
;; This is a Latin-1, nul-terminated string.
|
||||
(let ((bytes (take-while (negate zero?) (bytevector->u8-list bv))))
|
||||
(define (latin1->string bv terminator)
|
||||
"Return a string of BV, a latin1 bytevector, or #f. TERMINATOR is a predicate
|
||||
that takes a number and returns #t when a termination character is found."
|
||||
(let ((bytes (take-while (negate terminator) (bytevector->u8-list bv))))
|
||||
(if (null? bytes)
|
||||
#f
|
||||
(list->string (map integer->char bytes)))))
|
||||
|
||||
(define null-terminated-latin1->string
|
||||
(cut latin1->string <> zero?))
|
||||
|
||||
|
||||
;;;
|
||||
;;; Ext2 file systems.
|
||||
|
@ -192,6 +194,51 @@ if DEVICE does not contain a btrfs file system."
|
|||
(0 'pass)
|
||||
(_ 'fatal-error)))
|
||||
|
||||
|
||||
;;;
|
||||
;;; FAT32 file systems.
|
||||
;;;
|
||||
|
||||
;; <http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-107.pdf>.
|
||||
|
||||
(define-syntax %fat32-endianness
|
||||
;; Endianness of fat file systems.
|
||||
(identifier-syntax (endianness little)))
|
||||
|
||||
(define (fat32-superblock? sblock)
|
||||
"Return #t when SBLOCK is a fat32 superblock."
|
||||
(bytevector=? (sub-bytevector sblock 82 8)
|
||||
(string->utf8 "FAT32 ")))
|
||||
|
||||
(define (read-fat32-superblock device)
|
||||
"Return the raw contents of DEVICE's fat32 superblock as a bytevector, or
|
||||
#f if DEVICE does not contain a fat32 file system."
|
||||
(read-superblock device 0 90 fat32-superblock?))
|
||||
|
||||
(define (fat32-superblock-uuid sblock)
|
||||
"Return the Volume ID of a fat superblock SBLOCK as a 4-byte bytevector."
|
||||
(sub-bytevector sblock 67 4))
|
||||
|
||||
(define (fat32-uuid->string uuid)
|
||||
"Convert fat32 UUID, a 4-byte bytevector, to its string representation."
|
||||
(let ((high (bytevector-uint-ref uuid 0 %fat32-endianness 2))
|
||||
(low (bytevector-uint-ref uuid 2 %fat32-endianness 2)))
|
||||
(format #f "~:@(~x-~x~)" low high)))
|
||||
|
||||
(define (fat32-superblock-volume-name sblock)
|
||||
"Return the volume name of SBLOCK as a string of at most 11 characters, or
|
||||
#f if SBLOCK has no volume name. The volume name is a latin1 string.
|
||||
Trailing spaces are trimmed."
|
||||
(string-trim-right (latin1->string (sub-bytevector sblock 71 11) (lambda (c) #f)) #\space))
|
||||
|
||||
(define (check-fat32-file-system device)
|
||||
"Return the health of a fat file system on DEVICE."
|
||||
(match (status:exit-val
|
||||
(system* "fsck.vfat" "-v" "-a" device))
|
||||
(0 'pass)
|
||||
(1 'errors-corrected)
|
||||
(_ 'fatal-error)))
|
||||
|
||||
|
||||
;;;
|
||||
;;; LUKS encrypted devices.
|
||||
|
@ -307,13 +354,17 @@ partition field reader that returned a value."
|
|||
(list (partition-field-reader read-ext2-superblock
|
||||
ext2-superblock-volume-name)
|
||||
(partition-field-reader read-btrfs-superblock
|
||||
btrfs-superblock-volume-name)))
|
||||
btrfs-superblock-volume-name)
|
||||
(partition-field-reader read-fat32-superblock
|
||||
fat32-superblock-volume-name)))
|
||||
|
||||
(define %partition-uuid-readers
|
||||
(list (partition-field-reader read-ext2-superblock
|
||||
ext2-superblock-uuid)
|
||||
(partition-field-reader read-btrfs-superblock
|
||||
btrfs-superblock-uuid)))
|
||||
btrfs-superblock-uuid)
|
||||
(partition-field-reader read-fat32-superblock
|
||||
fat32-superblock-uuid)))
|
||||
|
||||
(define read-partition-label
|
||||
(cut read-partition-field <> %partition-label-readers))
|
||||
|
@ -481,6 +532,7 @@ the following:
|
|||
(cond
|
||||
((string-prefix? "ext" type) check-ext2-file-system)
|
||||
((string-prefix? "btrfs" type) check-btrfs-file-system)
|
||||
((string-suffix? "fat" type) check-fat32-file-system)
|
||||
(else #f)))
|
||||
|
||||
(if check-procedure
|
||||
|
|
24
gnu/local.mk
24
gnu/local.mk
|
@ -1,6 +1,6 @@
|
|||
# GNU Guix --- Functional package management for GNU
|
||||
# Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
|
||||
# Copyright © 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr>
|
||||
# Copyright © 2013, 2014, 2015, 2016, 2017 Andreas Enge <andreas@enge.fr>
|
||||
# Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
|
||||
# Copyright © 2013, 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
|
||||
# Copyright © 2016 Chris Marusich <cmmarusich@gmail.com>
|
||||
|
@ -483,7 +483,6 @@ dist_patch_DATA = \
|
|||
%D%/packages/patches/agg-am_c_prototype.patch \
|
||||
%D%/packages/patches/antiword-CVE-2014-8123.patch \
|
||||
%D%/packages/patches/apr-skip-getservbyname-test.patch \
|
||||
%D%/packages/patches/arb-ldconfig.patch \
|
||||
%D%/packages/patches/artanis-fix-Makefile.in.patch \
|
||||
%D%/packages/patches/ath9k-htc-firmware-binutils.patch \
|
||||
%D%/packages/patches/ath9k-htc-firmware-gcc.patch \
|
||||
|
@ -603,6 +602,7 @@ dist_patch_DATA = \
|
|||
%D%/packages/patches/gmp-faulty-test.patch \
|
||||
%D%/packages/patches/gnome-tweak-tool-search-paths.patch \
|
||||
%D%/packages/patches/gnucash-price-quotes-perl.patch \
|
||||
%D%/packages/patches/gnupg-2.1-fix-Y2038-test-failure.patch \
|
||||
%D%/packages/patches/gobject-introspection-absolute-shlib-path.patch \
|
||||
%D%/packages/patches/gobject-introspection-cc.patch \
|
||||
%D%/packages/patches/gobject-introspection-girepository.patch \
|
||||
|
@ -611,7 +611,6 @@ dist_patch_DATA = \
|
|||
%D%/packages/patches/grub-gets-undeclared.patch \
|
||||
%D%/packages/patches/grub-freetype.patch \
|
||||
%D%/packages/patches/gsl-test-i686.patch \
|
||||
%D%/packages/patches/gst-plugins-base-fix-test-on-32bit.patch \
|
||||
%D%/packages/patches/guile-1.8-cpp-4.5.patch \
|
||||
%D%/packages/patches/guile-arm-fixes.patch \
|
||||
%D%/packages/patches/guile-default-utf8.patch \
|
||||
|
@ -655,6 +654,7 @@ dist_patch_DATA = \
|
|||
%D%/packages/patches/jq-CVE-2015-8863.patch \
|
||||
%D%/packages/patches/kdbusaddons-kinit-file-name.patch \
|
||||
%D%/packages/patches/khmer-use-libraries.patch \
|
||||
%D%/packages/patches/kio-CVE-2017-6410.patch \
|
||||
%D%/packages/patches/kmod-module-directory.patch \
|
||||
%D%/packages/patches/kobodeluxe-paths.patch \
|
||||
%D%/packages/patches/kobodeluxe-enemies-pipe-decl.patch \
|
||||
|
@ -691,7 +691,6 @@ dist_patch_DATA = \
|
|||
%D%/packages/patches/libmad-armv7-thumb-pt2.patch \
|
||||
%D%/packages/patches/libmad-frame-length.patch \
|
||||
%D%/packages/patches/libmad-mips-newgcc.patch \
|
||||
%D%/packages/patches/libssh-0.6.5-CVE-2016-0739.patch \
|
||||
%D%/packages/patches/libssh2-fix-build-failure-with-gcrypt.patch \
|
||||
%D%/packages/patches/libtar-CVE-2013-4420.patch \
|
||||
%D%/packages/patches/libtheora-config-guess.patch \
|
||||
|
@ -749,7 +748,6 @@ dist_patch_DATA = \
|
|||
%D%/packages/patches/make-impure-dirs.patch \
|
||||
%D%/packages/patches/mars-install.patch \
|
||||
%D%/packages/patches/mars-sfml-2.3.patch \
|
||||
%D%/packages/patches/matplotlib-setupext-tk.patch \
|
||||
%D%/packages/patches/maxima-defsystem-mkdir.patch \
|
||||
%D%/packages/patches/mcron-install.patch \
|
||||
%D%/packages/patches/mcrypt-CVE-2012-4409.patch \
|
||||
|
@ -767,6 +765,8 @@ dist_patch_DATA = \
|
|||
%D%/packages/patches/mupdf-build-with-openjpeg-2.1.patch \
|
||||
%D%/packages/patches/mupdf-mujs-CVE-2016-10132.patch \
|
||||
%D%/packages/patches/mupdf-mujs-CVE-2016-10133.patch \
|
||||
%D%/packages/patches/mupdf-CVE-2017-5896.patch \
|
||||
%D%/packages/patches/mupdf-CVE-2017-5991.patch \
|
||||
%D%/packages/patches/mupen64plus-ui-console-notice.patch \
|
||||
%D%/packages/patches/musl-CVE-2016-8859.patch \
|
||||
%D%/packages/patches/mutt-store-references.patch \
|
||||
|
@ -811,7 +811,6 @@ dist_patch_DATA = \
|
|||
%D%/packages/patches/patchelf-rework-for-arm.patch \
|
||||
%D%/packages/patches/patchutils-xfail-gendiff-tests.patch \
|
||||
%D%/packages/patches/patch-hurd-path-max.patch \
|
||||
%D%/packages/patches/pcre2-CVE-2016-3191.patch \
|
||||
%D%/packages/patches/perl-autosplit-default-time.patch \
|
||||
%D%/packages/patches/perl-deterministic-ordering.patch \
|
||||
%D%/packages/patches/perl-finance-quote-unuse-mozilla-ca.patch \
|
||||
|
@ -856,17 +855,24 @@ dist_patch_DATA = \
|
|||
%D%/packages/patches/python-3-search-paths.patch \
|
||||
%D%/packages/patches/python-3.4-fix-tests.patch \
|
||||
%D%/packages/patches/python-3.5-fix-tests.patch \
|
||||
%D%/packages/patches/python-dendropy-fix-tests.patch \
|
||||
%D%/packages/patches/python-file-double-encoding-bug.patch \
|
||||
%D%/packages/patches/python-fix-tests.patch \
|
||||
%D%/packages/patches/python-parse-too-many-fields.patch \
|
||||
%D%/packages/patches/python2-rdflib-drop-sparqlwrapper.patch \
|
||||
%D%/packages/patches/python-statsmodels-fix-tests.patch \
|
||||
%D%/packages/patches/python-configobj-setuptools.patch \
|
||||
%D%/packages/patches/python-fake-factory-fix-build-32bit.patch \
|
||||
%D%/packages/patches/python-faker-fix-build-32bit.patch \
|
||||
%D%/packages/patches/python-pandas-skip-failing-tests.patch \
|
||||
%D%/packages/patches/python-paste-remove-website-test.patch \
|
||||
%D%/packages/patches/python-paste-remove-timing-test.patch \
|
||||
%D%/packages/patches/python-pygit2-disable-network-tests.patch \
|
||||
%D%/packages/patches/python-pyopenssl-skip-network-test.patch \
|
||||
%D%/packages/patches/python-pycrypto-CVE-2013-7459.patch \
|
||||
%D%/packages/patches/python2-pygobject-2-gi-info-type-error-domain.patch \
|
||||
%D%/packages/patches/python-pygpgme-fix-pinentry-tests.patch \
|
||||
%D%/packages/patches/python2-subprocess32-disable-input-test.patch \
|
||||
%D%/packages/patches/qemu-CVE-2016-10155.patch \
|
||||
%D%/packages/patches/qemu-CVE-2017-2615.patch \
|
||||
%D%/packages/patches/qemu-CVE-2017-5525.patch \
|
||||
|
@ -894,12 +900,12 @@ dist_patch_DATA = \
|
|||
%D%/packages/patches/ruby-tzinfo-data-ignore-broken-test.patch\
|
||||
%D%/packages/patches/scheme48-tests.patch \
|
||||
%D%/packages/patches/scotch-test-threading.patch \
|
||||
%D%/packages/patches/screen-CVE-2017-5618.patch \
|
||||
%D%/packages/patches/sdl-libx11-1.6.patch \
|
||||
%D%/packages/patches/seq24-rename-mutex.patch \
|
||||
%D%/packages/patches/serf-comment-style-fix.patch \
|
||||
%D%/packages/patches/serf-deflate-buckets-test-fix.patch \
|
||||
%D%/packages/patches/shadow-4.4-su-snprintf-fix.patch \
|
||||
%D%/packages/patches/shadow-CVE-2017-2616.patch \
|
||||
%D%/packages/patches/slim-session.patch \
|
||||
%D%/packages/patches/slim-config.patch \
|
||||
%D%/packages/patches/slim-sigusr1.patch \
|
||||
|
@ -925,6 +931,7 @@ dist_patch_DATA = \
|
|||
%D%/packages/patches/tcsh-fix-autotest.patch \
|
||||
%D%/packages/patches/tcsh-fix-out-of-bounds-read.patch \
|
||||
%D%/packages/patches/teensy-loader-cli-help.patch \
|
||||
%D%/packages/patches/texlive-texmf-CVE-2016-10243.patch \
|
||||
%D%/packages/patches/texi2html-document-encoding.patch \
|
||||
%D%/packages/patches/texi2html-i18n.patch \
|
||||
%D%/packages/patches/tidy-CVE-2015-5522+5523.patch \
|
||||
|
@ -951,9 +958,9 @@ dist_patch_DATA = \
|
|||
%D%/packages/patches/unzip-overflow-long-fsize.patch \
|
||||
%D%/packages/patches/unzip-remove-build-date.patch \
|
||||
%D%/packages/patches/util-linux-tests.patch \
|
||||
%D%/packages/patches/util-linux-CVE-2017-2616.patch \
|
||||
%D%/packages/patches/upower-builddir.patch \
|
||||
%D%/packages/patches/valgrind-enable-arm.patch \
|
||||
%D%/packages/patches/vdirsyncer-test-suite-slow-machines.patch \
|
||||
%D%/packages/patches/vim-CVE-2017-5953.patch \
|
||||
%D%/packages/patches/vorbis-tools-CVE-2014-9638+CVE-2014-9639.patch \
|
||||
%D%/packages/patches/vorbis-tools-CVE-2014-9640.patch \
|
||||
|
@ -973,6 +980,7 @@ dist_patch_DATA = \
|
|||
%D%/packages/patches/wordnet-CVE-2008-3908-pt2.patch \
|
||||
%D%/packages/patches/xcb-proto-python3-print.patch \
|
||||
%D%/packages/patches/xcb-proto-python3-whitespace.patch \
|
||||
%D%/packages/patches/wxwidgets-fix-windowGTK.patch \
|
||||
%D%/packages/patches/xdotool-fix-makefile.patch \
|
||||
%D%/packages/patches/xf86-input-wacom-xorg-abi-25.patch \
|
||||
%D%/packages/patches/xf86-video-ark-remove-mibstore.patch \
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2013 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
|
||||
;;; Copyright © 2016 Alex Kost <alezost@gmail.com>
|
||||
;;; Copyright © 2016, 2017 Alex Kost <alezost@gmail.com>
|
||||
;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
|
@ -40,8 +40,10 @@
|
|||
#:use-module (srfi srfi-39)
|
||||
#:export (search-patch
|
||||
search-patches
|
||||
search-auxiliary-file
|
||||
search-bootstrap-binary
|
||||
%patch-path
|
||||
%auxiliary-files-path
|
||||
%bootstrap-binaries-path
|
||||
%package-module-path
|
||||
|
||||
|
@ -62,17 +64,27 @@
|
|||
;;;
|
||||
;;; Code:
|
||||
|
||||
;; By default, we store patches and bootstrap binaries alongside Guile
|
||||
;; modules. This is so that these extra files can be found without
|
||||
;; requiring a special setup, such as a specific installation directory
|
||||
;; and an extra environment variable. One advantage of this setup is
|
||||
;; that everything just works in an auto-compilation setting.
|
||||
;; By default, we store patches, auxiliary files and bootstrap binaries
|
||||
;; alongside Guile modules. This is so that these extra files can be
|
||||
;; found without requiring a special setup, such as a specific
|
||||
;; installation directory and an extra environment variable. One
|
||||
;; advantage of this setup is that everything just works in an
|
||||
;; auto-compilation setting.
|
||||
|
||||
(define %bootstrap-binaries-path
|
||||
(make-parameter
|
||||
(map (cut string-append <> "/gnu/packages/bootstrap")
|
||||
%load-path)))
|
||||
|
||||
(define %auxiliary-files-path
|
||||
(make-parameter
|
||||
(map (cut string-append <> "/gnu/packages/aux-files")
|
||||
%load-path)))
|
||||
|
||||
(define (search-auxiliary-file file-name)
|
||||
"Search the auxiliary FILE-NAME. Return #f if not found."
|
||||
(search-path (%auxiliary-files-path) file-name))
|
||||
|
||||
(define (search-patch file-name)
|
||||
"Search the patch FILE-NAME. Raise an error if not found."
|
||||
(or (search-path (%patch-path) file-name)
|
||||
|
@ -299,8 +311,8 @@ return its return value."
|
|||
((pkg . pkg*)
|
||||
(unless (null? pkg*)
|
||||
(warning (_ "ambiguous package specification `~a'~%") spec)
|
||||
(warning (_ "choosing ~a from ~a~%")
|
||||
(package-full-name pkg)
|
||||
(warning (_ "choosing ~a@~a from ~a~%")
|
||||
(package-name pkg) (package-version pkg)
|
||||
(location->string (package-location pkg))))
|
||||
(when fallback?
|
||||
(warning (_ "deprecated NAME-VERSION syntax; \
|
||||
|
|
|
@ -256,13 +256,11 @@ re-executing them as necessary.")
|
|||
(base32
|
||||
"05n65k4ixl85dc6rxc51b1b732gnmm8xnqi424dy9f1nz7ppb3xy"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments `(#:configure-flags '("--localstatedir=/var")
|
||||
|
||||
;; FIXME: `tftp.sh' relies on `netstat' from utils-linux,
|
||||
;; which is currently missing.
|
||||
#:tests? #f))
|
||||
(arguments
|
||||
'(#:configure-flags '("--localstatedir=/var")))
|
||||
(inputs `(("ncurses" ,ncurses)
|
||||
("readline" ,readline))) ;for 'ftp'
|
||||
(native-inputs `(("netstat" ,net-tools))) ;for tests
|
||||
(home-page "http://www.gnu.org/software/inetutils/")
|
||||
(synopsis "Basic networking utilities")
|
||||
(description
|
||||
|
@ -279,7 +277,8 @@ client and server, a telnet client and server, and an rsh client and server.")
|
|||
(uri (string-append
|
||||
"https://github.com/shadow-maint/shadow/releases/"
|
||||
"download/" version "/shadow-" version ".tar.xz"))
|
||||
(patches (search-patches "shadow-4.4-su-snprintf-fix.patch"))
|
||||
(patches (search-patches "shadow-4.4-su-snprintf-fix.patch"
|
||||
"shadow-CVE-2017-2616.patch"))
|
||||
(sha256
|
||||
(base32
|
||||
"0g7hf55ar2pafg5g3ldx0fwzjk36wf4xb21p4ndanbjm3c2a9ab1"))))
|
||||
|
@ -1701,15 +1700,29 @@ throughput (in the same interval).")
|
|||
(base32
|
||||
"04q2cn8c83f6z6wn1scla1ilrpi5ssjc64987hvmwfvwvb82bvkp"))))
|
||||
(build-system python-build-system)
|
||||
(inputs
|
||||
(arguments
|
||||
'(#:tests? #f))
|
||||
;; FIXME: 10 test failures. Some require newer pytest (> 2.9.2).
|
||||
;; Others need more work. Un-comment the below to run the tests.
|
||||
;; #:phases
|
||||
;; (modify-phases %standard-phases
|
||||
;; (replace 'check
|
||||
;; (lambda _
|
||||
;; ;; Some tests need write access to $HOME.
|
||||
;; (setenv "HOME" "/tmp")
|
||||
;; (zero? (system* "py.test" "-v")))))))
|
||||
(propagated-inputs
|
||||
`(("python-colorama" ,python-colorama)
|
||||
("python-decorator" ,python-decorator)
|
||||
("python-psutil" ,python-psutil)
|
||||
("python-six" ,python-six)))
|
||||
(native-inputs
|
||||
`(("python-mock" ,python-mock)
|
||||
("python-pytest" ,python-pytest)
|
||||
("python-pytest-mock" ,python-pytest-mock)
|
||||
;; Requires setuptools >= 17.1 due to some features used, while our
|
||||
;; python currently only includes 12.0. TODO: Remove this input.
|
||||
`(("python-setuptools" ,python-setuptools)))
|
||||
("python-setuptools" ,python-setuptools)))
|
||||
(home-page "https://github.com/nvbn/thefuck")
|
||||
(synopsis "Correct mistyped console command")
|
||||
(description
|
||||
|
@ -1720,13 +1733,13 @@ a new command using the matched rule, and runs it.")
|
|||
(define-public di
|
||||
(package
|
||||
(name "di")
|
||||
(version "4.42")
|
||||
(version "4.43")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://gentoo.com/di/di-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1i6m9zdnidn8268q1lz9fd8payk7s4pgwh5zlam9rr4dy6h6a67n"))))
|
||||
(base32 "1q25jy51qfzsym9b2w0cqzscq2j492gn60dy6gbp88m8nwm4sdy8"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; Obscure test failures.
|
||||
|
@ -1751,14 +1764,14 @@ highly portable. Great for heterogenous networks.")
|
|||
(define-public cbatticon
|
||||
(package
|
||||
(name "cbatticon")
|
||||
(version "1.6.4")
|
||||
(version "1.6.5")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/valr/"
|
||||
name "/archive/" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"023fvsa4q7rl98rqgwrb1shyzaybdkkbyz5sywd0s5p7ixkksxqx"))
|
||||
"0xzz1faqgm57bwlkw6sjdfbckf5hck81879zbfk18p7xn9vhvixv"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2012, 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr>
|
||||
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Andreas Enge <andreas@enge.fr>
|
||||
;;; Copyright © 2013, 2015, 2017 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2016 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
||||
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
||||
|
@ -128,7 +128,7 @@ solve the shortest vector problem.")
|
|||
(define-public pari-gp
|
||||
(package
|
||||
(name "pari-gp")
|
||||
(version "2.7.6")
|
||||
(version "2.9.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
|
@ -136,7 +136,7 @@ solve the shortest vector problem.")
|
|||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"04dqi697czd8mmw8aiwzrkgbvkjassqagg6lfy3lkf1k5qi9g9rr"))))
|
||||
"0rq7wz9df1xs4acdzzb5dapx8vs6m5py39n2wynw2qv4d2b0ylfw"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs `(("texlive" ,texlive-minimal)))
|
||||
(inputs `(("gmp" ,gmp)
|
||||
|
@ -168,7 +168,7 @@ PARI is also available as a C library to allow for faster computations.")
|
|||
(define-public gp2c
|
||||
(package
|
||||
(name "gp2c")
|
||||
(version "0.0.9pl5")
|
||||
(version "0.0.10")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
|
@ -176,7 +176,7 @@ PARI is also available as a C library to allow for faster computations.")
|
|||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1q003mkagc5ib6lqb2xfay7j4ffkwv7xlnznp6wdrq2sbqq4vyak"))))
|
||||
"1xhpz5p81iw261ay1kip283ggr0ir8ydz8qx3v24z8jfms1r3y70"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs `(("perl" ,perl)))
|
||||
(inputs `(("pari-gp" ,pari-gp)))
|
||||
|
@ -202,7 +202,7 @@ GP2C, the GP to C compiler, translates GP scripts to PARI programs.")
|
|||
(define-public giac-xcas
|
||||
(package
|
||||
(name "giac-xcas")
|
||||
(version "1.2.3-19")
|
||||
(version "1.2.3-25")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
;; "~parisse/giac" is not used because the maintainer regularly
|
||||
|
@ -214,7 +214,7 @@ GP2C, the GP to C compiler, translates GP scripts to PARI programs.")
|
|||
"source/giac_" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0asynsj0xcfdjn0vkyxdgdy3hfpr6gc9f92xxa1rmn7clbqmlk1y"))))
|
||||
"0d6a42p8111raf7k16yvjajnpj22abiqndy3yzkrb4b8l071r24d"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
|
@ -311,7 +311,7 @@ fast arithmetic.")
|
|||
(define-public arb
|
||||
(package
|
||||
(name "arb")
|
||||
(version "2.8.1")
|
||||
(version "2.10.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
|
@ -320,8 +320,7 @@ fast arithmetic.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"04hhcpshfkcq9fr4hixbhpps50yf9drk62xgkvlcaj5kb4nyrx7l"))
|
||||
(patches (search-patches "arb-ldconfig.patch"))))
|
||||
"0jwcv9ssvi8axb1y7m2h4ykgyl015cl6g28gfl92l4dgnag585ak"))))
|
||||
(build-system gnu-build-system)
|
||||
(propagated-inputs
|
||||
`(("flint" ,flint))) ; flint.h is included by arf.h
|
||||
|
|
|
@ -21,7 +21,13 @@
|
|||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module (guix download)
|
||||
#:use-module (gnu packages image)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages gettext)
|
||||
#:use-module (gnu packages perl)
|
||||
#:use-module (gnu packages gl)
|
||||
#:use-module (gnu packages qt)
|
||||
#:use-module (gnu packages maths)
|
||||
#:use-module (guix build-system cmake)
|
||||
#:use-module (guix build-system gnu))
|
||||
|
||||
(define-public cfitsio
|
||||
|
@ -107,3 +113,43 @@ systems in a FITS image header.")
|
|||
(description "The GNU Astronomy Utilities (Gnuastro) is a suite of
|
||||
programs for the manipulation and analysis of astronomical data.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public stellarium
|
||||
(package
|
||||
(name "stellarium")
|
||||
(version "0.15.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/stellarium/"
|
||||
"Stellarium-sources/"
|
||||
version "/stellarium-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"04avigz8i8mi2x6x71bqr9np85n1p9qnvbj2hxr947f1jv22zr8g"))))
|
||||
(build-system cmake-build-system)
|
||||
(inputs
|
||||
`(("qtbase" ,qtbase)
|
||||
("qtmultimedia" ,qtmultimedia)
|
||||
("qtscript" ,qtscript)
|
||||
("qtserialport" ,qtserialport)
|
||||
("zlib" ,zlib)))
|
||||
(native-inputs
|
||||
`(("gettext" ,gettext-minimal) ; xgettext is used at compile time
|
||||
("perl" ,perl) ; For pod2man
|
||||
("qtbase" ,qtbase) ; Qt MOC is needed at compile time
|
||||
("qttools" ,qttools)))
|
||||
(arguments
|
||||
`(#:test-target "tests"
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-before 'check 'set-offscreen-display
|
||||
(lambda _
|
||||
(setenv "QT_QPA_PLATFORM" "offscreen")
|
||||
(setenv "HOME" "/tmp")
|
||||
#t)))))
|
||||
(home-page "http://www.stellarium.org/")
|
||||
(synopsis "3D sky viewer")
|
||||
(description "Stellarium is a planetarium. It shows a realistic sky in
|
||||
3D, just like what you see with the naked eye, binoculars, or a telescope. It
|
||||
can be used to control telescopes over a serial port for tracking celestial
|
||||
objects.")
|
||||
(license license:gpl2+)))
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
|
||||
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
|
||||
;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
|
||||
|
@ -186,7 +186,7 @@ streams from live audio.")
|
|||
(define-public ardour
|
||||
(package
|
||||
(name "ardour")
|
||||
(version "5.6")
|
||||
(version "5.8")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
|
@ -203,18 +203,20 @@ streams from live audio.")
|
|||
namespace ARDOUR { const char* revision = \"" version "\" ; }")))))
|
||||
(sha256
|
||||
(base32
|
||||
"1fgvjmvdyh61qn8azpmh19ac58ps5sl2dywwshr56v0svakhwwh9"))
|
||||
"1lcvslrcw6g4kp9w0h1jx46x6ilz4nzz0k2yrw4gd545k1rwx0c1"))
|
||||
(file-name (string-append name "-" version))))
|
||||
(build-system waf-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags '("--cxx11" ; required by gtkmm
|
||||
"--no-phone-home") ; don't contact ardour.org
|
||||
"--no-phone-home" ; don't contact ardour.org
|
||||
"--freedesktop" ; install .desktop file
|
||||
"--test") ; build unit tests
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after
|
||||
'unpack 'set-rpath-in-LDFLAGS
|
||||
,(ardour-rpath-phase (version-prefix version 1))))
|
||||
#:tests? #f ; no check target
|
||||
#:test-target "test"
|
||||
#:python ,python-2))
|
||||
(inputs
|
||||
`(("alsa-lib" ,alsa-lib)
|
||||
|
@ -256,6 +258,8 @@ namespace ARDOUR { const char* revision = \"" version "\" ; }")))))
|
|||
(native-inputs
|
||||
`(("perl" ,perl)
|
||||
("cppunit" ,cppunit)
|
||||
("itstool" ,itstool)
|
||||
("gettext" ,gettext-minimal)
|
||||
("pkg-config" ,pkg-config)))
|
||||
(home-page "http://ardour.org")
|
||||
(synopsis "Digital audio workstation")
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; guix-emacs.el --- Emacs packages installed with Guix
|
||||
|
||||
;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
|
||||
;; Copyright © 2014, 2015, 2016, 2017 Alex Kost <alezost@gmail.com>
|
||||
|
||||
;; This file is part of GNU Guix.
|
||||
|
||||
|
@ -19,22 +19,14 @@
|
|||
|
||||
;;; Commentary:
|
||||
|
||||
;; This file provides auxiliary code for working with Emacs packages
|
||||
;; This file provides auxiliary code to autoload Emacs packages
|
||||
;; installed with Guix.
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'cl-lib)
|
||||
(unless (require 'guix-profiles nil t)
|
||||
(defvar guix-user-profile (expand-file-name "~/.guix-profile")))
|
||||
|
||||
(defcustom guix-package-enable-at-startup t
|
||||
"If non-nil, activate Emacs packages installed in a user profile.
|
||||
Set this variable to nil before requiring `guix-emacs' file to
|
||||
avoid loading autoloads of Emacs packages installed in
|
||||
`guix-user-profile'."
|
||||
:type 'boolean
|
||||
:group 'guix)
|
||||
(defvar guix-user-profile (expand-file-name "~/.guix-profile"))
|
||||
|
||||
(defvar guix-emacs-autoloads nil
|
||||
"List of the last loaded Emacs autoloads.")
|
||||
|
@ -92,8 +84,8 @@ profiles.
|
|||
'Autoload' means add directories with Emacs packages to
|
||||
`load-path' and load 'autoloads' files matching
|
||||
`guix-emacs-autoloads-regexp'."
|
||||
(interactive (list (if (fboundp 'guix-profile-prompt)
|
||||
(funcall 'guix-profile-prompt)
|
||||
(interactive (list (if (fboundp 'guix-read-package-profile)
|
||||
(funcall 'guix-read-package-profile)
|
||||
guix-user-profile)))
|
||||
(let ((profiles (or profiles
|
||||
(list "/run/current-system/profile"
|
||||
|
@ -115,9 +107,6 @@ profiles.
|
|||
(setq guix-emacs-autoloads
|
||||
(append new-autoloads guix-emacs-autoloads))))))))
|
||||
|
||||
(when guix-package-enable-at-startup
|
||||
(guix-emacs-autoload-packages))
|
||||
|
||||
(provide 'guix-emacs)
|
||||
|
||||
;;; guix-emacs.el ends here
|
|
@ -3,6 +3,7 @@
|
|||
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
|
||||
;;; Copyright © 2015, 2016 Leo Famulari <leo@famulari.name>
|
||||
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -24,7 +25,6 @@
|
|||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix utils)
|
||||
#:use-module (guix build utils)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix build-system python)
|
||||
#:use-module (gnu packages)
|
||||
|
@ -43,6 +43,7 @@
|
|||
#:use-module (gnu packages mcrypt)
|
||||
#:use-module (gnu packages nettle)
|
||||
#:use-module (gnu packages pcre)
|
||||
#:use-module (gnu packages perl)
|
||||
#:use-module (gnu packages pkg-config)
|
||||
#:use-module (gnu packages python)
|
||||
#:use-module (gnu packages rsync)
|
||||
|
@ -67,6 +68,7 @@
|
|||
(build-system python-build-system)
|
||||
(native-inputs
|
||||
`(("util-linux" ,util-linux) ;setsid command, for the tests
|
||||
("par2cmdline" ,par2cmdline)
|
||||
("python-pexpect" ,python2-pexpect)
|
||||
("mock" ,python2-mock)))
|
||||
(propagated-inputs
|
||||
|
@ -83,16 +85,18 @@
|
|||
#:test-target "test"
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before
|
||||
'build 'patch-source ; embed gpg store name
|
||||
(add-before 'build 'patch-source
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
;; embed gpg store name
|
||||
(substitute* "duplicity/gpginterface.py"
|
||||
(("self.call = 'gpg'")
|
||||
(string-append "self.call = '" (assoc-ref inputs "gnupg") "/bin/gpg'")))))
|
||||
(string-append "self.call = '" (assoc-ref inputs "gnupg") "/bin/gpg'")))
|
||||
(substitute* '("testing/functional/__init__.py"
|
||||
"testing/overrides/bin/lftp")
|
||||
(("/bin/sh") (which "sh")))
|
||||
#t))
|
||||
(add-before 'check 'check-setup
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "testing/functional/__init__.py"
|
||||
(("/bin/sh") (which "sh")))
|
||||
(setenv "HOME" (getcwd)) ;gpg needs to write to $HOME
|
||||
(setenv "TZDIR" ;some timestamp checks need TZDIR
|
||||
(string-append (assoc-ref inputs "tzdata")
|
||||
|
@ -365,6 +369,42 @@ to a remote location, and only the differences will be transmitted. Finally,
|
|||
rdiff-backup is easy to use and settings have sensible defaults.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public rsnapshot
|
||||
(package
|
||||
(name "rsnapshot")
|
||||
(version "1.4.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://github.com/rsnapshot/rsnapshot/releases/download/"
|
||||
version "/rsnapshot-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"05jfy99a0xs6lvsjfp3wz21z0myqhmwl2grn3jr9clijbg282ah4"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(substitute* '("t/cmd-post_pre-exec/conf/pre-true-post-true.conf"
|
||||
"t/backup_exec/conf/backup_exec_fail.conf"
|
||||
"t/backup_exec/conf/backup_exec.conf")
|
||||
(("/bin/true") (which "true"))
|
||||
(("/bin/false") (which "false")))
|
||||
(zero? (system* "make" "test")))))))
|
||||
(inputs
|
||||
`(("perl" ,perl)
|
||||
("rsync" ,rsync)))
|
||||
(home-page "http://rsnapshot.org")
|
||||
(synopsis "Deduplicating snapshot backup utility based on rsync")
|
||||
(description "rsnapshot is a filesystem snapshot utility based on rsync.
|
||||
rsnapshot makes it easy to make periodic snapshots of local machines, and
|
||||
remote machines over SSH. To reduce the disk space required for each backup,
|
||||
rsnapshot uses hard links to deduplicate identical files.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public libchop
|
||||
(package
|
||||
(name "libchop")
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
(define-module (gnu packages bash)
|
||||
#:use-module (guix licenses)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages bootstrap)
|
||||
#:use-module (gnu packages ncurses)
|
||||
#:use-module (gnu packages readline)
|
||||
#:use-module (gnu packages bison)
|
||||
|
@ -262,7 +263,7 @@ without modification.")
|
|||
(define-public bash-completion
|
||||
(package
|
||||
(name "bash-completion")
|
||||
(version "2.4")
|
||||
(version "2.5")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
|
@ -270,7 +271,7 @@ without modification.")
|
|||
version "/" name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1xlhd09sb2w3bw8qaypxgkr0782w082mcbx8zf7yzjgy0996pxy0"))
|
||||
"1kwmii1z1ljx5i4z702ynsr8jgrq64bj9w9hl3n2aa2kcl659fdh"))
|
||||
(patches
|
||||
(search-patches "bash-completion-directories.patch"))))
|
||||
(build-system gnu-build-system)
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
(define-public fio
|
||||
(package
|
||||
(name "fio")
|
||||
(version "2.17")
|
||||
(version "2.18")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
|
@ -37,10 +37,10 @@
|
|||
"fio-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"1kxgad5k2m7y637g3kq8jmhwzlg3c64w9ky7066c5l09bwb6l58h"))))
|
||||
"08kx2mh556xby9saayrbynwrkmh4v8wwrw759nbv025ch3xbw79n"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f ; No tests.
|
||||
'(#:test-target "test"
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2014, 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2015, 2016 Ben Woodcroft <donttrustben@gmail.com>
|
||||
;;; Copyright © 2015, 2016, 2017 Ben Woodcroft <donttrustben@gmail.com>
|
||||
;;; Copyright © 2015, 2016 Pjotr Prins <pjotr.guix@thebird.nl>
|
||||
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
|
||||
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
|
||||
|
@ -238,7 +238,7 @@ instance, it implements several methods to assess contig-wise read coverage.")
|
|||
(define-public bamtools
|
||||
(package
|
||||
(name "bamtools")
|
||||
(version "2.3.0")
|
||||
(version "2.4.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
|
@ -247,7 +247,7 @@ instance, it implements several methods to assess contig-wise read coverage.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1brry29bw2xr2l9pqn240rkqwayg85b8qq78zk2zs6nlspk4d018"))))
|
||||
"0jr024kcrhjb82cm69i7p5fcg5375zlc1h3qh2n1v368hcd0qflk"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ;no "check" target
|
||||
|
@ -499,6 +499,9 @@ provides the Ribotaper pipeline.")
|
|||
("python-matplotlib" ,python2-matplotlib)
|
||||
("python-scipy" ,python2-scipy)
|
||||
("python-statsmodels" ,python2-statsmodels)))
|
||||
(native-inputs
|
||||
`(("python-mock" ,python2-mock)
|
||||
("python-nose" ,python2-nose)))
|
||||
(home-page "http://public.bmi.inf.ethz.ch/user/zhongy/RiboDiff/")
|
||||
(synopsis "Detect translation efficiency changes from ribosome footprints")
|
||||
(description "RiboDiff is a statistical tool that detects the protein
|
||||
|
@ -604,6 +607,8 @@ Python.")
|
|||
("python-future" ,python-future)
|
||||
("python-click" ,python-click)
|
||||
("python-h5py" ,python-h5py)))
|
||||
(native-inputs
|
||||
`(("python-nose" ,python-nose)))
|
||||
(home-page "http://www.biom-format.org")
|
||||
(synopsis "Biological Observation Matrix (BIOM) format utilities")
|
||||
(description
|
||||
|
@ -1602,6 +1607,7 @@ databases.")
|
|||
("python-scipy" ,python2-scipy)))
|
||||
(native-inputs
|
||||
`(("python-mock" ,python2-mock) ; for tests
|
||||
("python-nose" ,python2-nose) ; for tests
|
||||
("python-pytz" ,python2-pytz))) ; for tests
|
||||
(home-page "https://github.com/YeoLab/clipper")
|
||||
(synopsis "CLIP peak enrichment recognition")
|
||||
|
@ -1978,7 +1984,8 @@ accessing bigWig files.")
|
|||
(uri (pypi-uri "DendroPy" version))
|
||||
(sha256
|
||||
(base32
|
||||
"15c7s3d5gf19ljsxvq5advaa752wfi7pwrdjyhzmg85hccyvp47p"))))
|
||||
"15c7s3d5gf19ljsxvq5advaa752wfi7pwrdjyhzmg85hccyvp47p"))
|
||||
(patches (search-patches "python-dendropy-fix-tests.patch"))))
|
||||
(build-system python-build-system)
|
||||
(home-page "http://packages.python.org/DendroPy/")
|
||||
(synopsis "Library for phylogenetics and phylogenetic computing")
|
||||
|
@ -2030,6 +2037,7 @@ trees (phylogenies) and characters.")
|
|||
("python-pybigwig" ,python2-pybigwig)))
|
||||
(native-inputs
|
||||
`(("python-mock" ,python2-mock) ;for tests
|
||||
("python-nose" ,python2-nose) ;for tests
|
||||
("python-pytz" ,python2-pytz))) ;for tests
|
||||
(home-page "https://github.com/fidelram/deepTools")
|
||||
(synopsis "Tools for normalizing and visualizing deep-sequencing data")
|
||||
|
@ -2047,7 +2055,7 @@ identify enrichments with functional annotations of the genome.")
|
|||
(define-public diamond
|
||||
(package
|
||||
(name "diamond")
|
||||
(version "0.8.34")
|
||||
(version "0.8.36")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
|
@ -2056,7 +2064,7 @@ identify enrichments with functional annotations of the genome.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0jvr34g346gbz7z1zb9bs0vplivm9p4cxk0lbzklvdpa7g236p39"))))
|
||||
"092smzzjcg51n3x4h84k52ijpz9m40ri838j9k2i463ribc3c8rh"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f ; no "check" target
|
||||
|
@ -2969,28 +2977,10 @@ data. It also provides the bgzip, htsfile, and tabix utilities.")
|
|||
"1k3x44biak00aiv3hpm1yd6nn4hhp7n0qnbs3zh2q9sw7qr1qj5r"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after
|
||||
'install 'wrap-program
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(python-version (string-take (string-take-right
|
||||
(assoc-ref inputs "python") 5) 3))
|
||||
(path (string-join
|
||||
(map (lambda (name)
|
||||
(string-append (assoc-ref inputs name)
|
||||
"/lib/python" python-version
|
||||
"/site-packages"))
|
||||
'("python-scipy"
|
||||
"python-numpy"
|
||||
"python-matplotlib"))
|
||||
":")))
|
||||
(wrap-program (string-append out "/bin/idr")
|
||||
`("PYTHONPATH" ":" prefix (,path))))
|
||||
#t)))))
|
||||
(inputs
|
||||
`(#:tests? #f)) ; FIXME: "ImportError: No module named 'utility'"
|
||||
(propagated-inputs
|
||||
`(("python-scipy" ,python-scipy)
|
||||
("python-sympy" ,python-sympy)
|
||||
("python-numpy" ,python-numpy)
|
||||
("python-matplotlib" ,python-matplotlib)))
|
||||
(native-inputs
|
||||
|
@ -3679,6 +3669,9 @@ the phenotype as it models the data.")
|
|||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:python ,python-2
|
||||
;; FIXME: Tests fail with "No such file or directory:
|
||||
;; pbtools/pbtranscript/modified_bx_intervals/intersection_unique.so"
|
||||
#:tests? #f
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'enter-directory
|
||||
|
|
|
@ -170,6 +170,7 @@ successful, or false to signal an error."
|
|||
((string=? system "i686-gnu") "/lib/ld.so.1")
|
||||
((string=? system "aarch64-linux") "/lib/ld-linux-aarch64.so.1")
|
||||
((string=? system "powerpc-linux") "/lib/ld.so.1")
|
||||
((string=? system "alpha-linux") "/lib/ld-linux.so.2")
|
||||
|
||||
;; XXX: This one is used bare-bones, without a libc, so add a case
|
||||
;; here just so we can keep going.
|
||||
|
|
|
@ -84,13 +84,13 @@ data units.")
|
|||
(define-public khal
|
||||
(package
|
||||
(name "khal")
|
||||
(version "0.9.2")
|
||||
(version "0.9.3")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "khal" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1ryh5c7408w8gpql5s9mkxkvz1ngnds3xm43p7r96ynx8prr9swp"))))
|
||||
"1iva6cw2x3p2jzjj6bsyx7lc7yxin4fsd37j9c96j07x16p4imyl"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases (modify-phases %standard-phases
|
||||
|
@ -112,7 +112,8 @@ data units.")
|
|||
"/share/zoneinfo/Zulu"))
|
||||
(zero? (system* "py.test" "tests")))))))
|
||||
(native-inputs
|
||||
`(("python-pytest" ,python-pytest)
|
||||
;; XXX Uses tmpdir_factory, introduced in pytest 2.8.
|
||||
`(("python-pytest" ,python-pytest-2.9.2)
|
||||
("python-pytest-cov" ,python-pytest-cov)
|
||||
("python-setuptools-scm" ,python-setuptools-scm)
|
||||
;; Required for tests
|
||||
|
@ -125,7 +126,7 @@ data units.")
|
|||
`(("sqlite" ,sqlite)))
|
||||
(propagated-inputs
|
||||
`(("python-configobj" ,python-configobj)
|
||||
("python-dateutil-2" ,python-dateutil-2)
|
||||
("python-dateutil" ,python-dateutil)
|
||||
("python-icalendar" ,python-icalendar)
|
||||
("python-tzlocal" ,python-tzlocal)
|
||||
("python-urwid" ,python-urwid)
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2016 Alex Kost <alezost@gmail.com>
|
||||
;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
|
||||
;;; Copyright © 2017 John Darrington <jmd@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -496,3 +497,27 @@ session, and it can create M3U playlists.")
|
|||
(synopsis "Command-line program to extract audio CDs")
|
||||
(description "RipIT is used to extract audio from CDs.")
|
||||
(license gpl2)))
|
||||
|
||||
(define-public ccd2cue
|
||||
(package
|
||||
(name "ccd2cue")
|
||||
(version "0.5")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"mirror://gnu/ccd2cue/ccd2cue-" version
|
||||
".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1icrkg25hwx4gsn3dski2172ia4ywjh8m1sa17zmjclnrgdwy9c7"))))
|
||||
(build-system gnu-build-system)
|
||||
(synopsis "CCD to CUE sheet conversion")
|
||||
(description
|
||||
"GNU ccd2cue is a preprocessor for CD burning software that allows
|
||||
the conversion of the proprietary CCD format to the CUE format, which
|
||||
is well-supported by free software. These files are commonly
|
||||
distributed with CD images and are used to describe how tracks are
|
||||
laid out on the image.")
|
||||
(home-page "http://www.gnu.org/software/ccd2cue")
|
||||
(license gpl3+)))
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
(define-public nss-certs
|
||||
(package
|
||||
(name "nss-certs")
|
||||
(version "3.27.1")
|
||||
(version "3.29.2")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (let ((version-with-underscores
|
||||
|
@ -84,7 +84,7 @@
|
|||
"nss-" version ".tar.gz")))
|
||||
(sha256
|
||||
(base32
|
||||
"0sraxk26swlgl7rl742rkfp5k251v5z3lqw9k8ikin0cjfhkfdpx"))))
|
||||
"149807rmzb76hnh48rw4m9jw83iw0168njzchz0hmbsgc8mk0i5w"))))
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("out"))
|
||||
(native-inputs
|
||||
|
|
|
@ -201,7 +201,7 @@ normally do not detect. The goal is to detect only real errors in the code
|
|||
(define-public googletest
|
||||
(package
|
||||
(name "googletest")
|
||||
(version "1.7.0")
|
||||
(version "1.8.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -210,46 +210,10 @@ normally do not detect. The goal is to detect only real errors in the code
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1k0nf1l9cb3prdmsvaajl5i31bx86c1mw0d5jgzykz7rzm36afpp"))))
|
||||
(build-system gnu-build-system)
|
||||
"1n5p1m2m3fjrjdj752lf92f9wq3pl5cbsfrb49jqbg52ghkz99jq"))))
|
||||
(build-system cmake-build-system)
|
||||
(native-inputs
|
||||
`(("python-2" ,python-2)
|
||||
("autoconf" ,autoconf)
|
||||
("automake" ,automake)
|
||||
("libtool" ,libtool)))
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'autoconf
|
||||
(lambda _
|
||||
(zero? (system* "autoreconf" "-vfi"))))
|
||||
(add-before 'autoconf 'generate-headers
|
||||
(lambda _
|
||||
(begin
|
||||
(delete-file "include/gtest/gtest-param-test.h")
|
||||
(system* "python2" "scripts/pump.py"
|
||||
"include/gtest/gtest-param-test.h.pump")
|
||||
(delete-file "include/gtest/internal/gtest-tuple.h")
|
||||
(system* "python2" "scripts/pump.py"
|
||||
"include/gtest//internal/gtest-tuple.h.pump")
|
||||
(delete-file
|
||||
"include/gtest/internal/gtest-param-util-generated.h")
|
||||
(system*
|
||||
"python2" "scripts/pump.py"
|
||||
"include/gtest/internal/gtest-param-util-generated.h.pump")
|
||||
(delete-file "include/gtest/internal/gtest-type-util.h")
|
||||
(system* "python2" "scripts/pump.py"
|
||||
"include/gtest/internal/gtest-type-util.h.pump"))))
|
||||
(replace 'install
|
||||
(lambda _
|
||||
(let ((out (assoc-ref %outputs "out")))
|
||||
(begin
|
||||
(install-file "lib/.libs/libgtest_main.a"
|
||||
(string-append out "/lib"))
|
||||
(install-file "lib/.libs/libgtest.a"
|
||||
(string-append out "/lib"))
|
||||
(copy-recursively "include"
|
||||
(string-append out "/include")))))))))
|
||||
`(("python-2" ,python-2)))
|
||||
(home-page "https://github.com/google/googletest/")
|
||||
(synopsis "Test discovery and XUnit test framework")
|
||||
(description "Google Test features an XUnit test framework, automated test
|
||||
|
|
|
@ -945,7 +945,7 @@ well as bzip2.")
|
|||
(define-public snappy
|
||||
(package
|
||||
(name "snappy")
|
||||
(version "1.1.3")
|
||||
(version "1.1.4")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
|
@ -953,7 +953,7 @@ well as bzip2.")
|
|||
version "/" name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1wzf8yif5ym2gj52db6v5m1pxnmn258i38x7llk9x346y2nq47ig"))))
|
||||
"0mq0nz8gbi1sp3y6xcg0a6wbvnd6gc717f3vh2xrjmfj5w9gwjqk"))))
|
||||
(build-system gnu-build-system)
|
||||
(home-page "https://github.com/google/snappy")
|
||||
(synopsis "Fast compressor/decompressor")
|
||||
|
@ -1128,3 +1128,21 @@ or junctions, and always follows hard links.")
|
|||
;; libzpaq.cpp contains a mix of public-domain and
|
||||
;; expat-licenced (or ‘MIT’) code.
|
||||
license:expat))))
|
||||
|
||||
(define-public unrar
|
||||
(package
|
||||
(name "unrar")
|
||||
(version "0.0.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"http://download.gna.org/unrar/unrar-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1fgmjaxffj3shyxgy765jhxwz1cq88hk0fih1bsdzyvymyyz6mz7"))))
|
||||
(build-system gnu-build-system)
|
||||
(home-page "http://download.gna.org/unrar")
|
||||
(synopsis "RAR archive extraction tool")
|
||||
(description "Unrar is a simple command-line program to list and extract
|
||||
RAR archives.")
|
||||
(license license:gpl2+)))
|
||||
|
|
|
@ -40,14 +40,14 @@
|
|||
(define-public curl
|
||||
(package
|
||||
(name "curl")
|
||||
(version "7.52.1")
|
||||
(version "7.53.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://curl.haxx.se/download/curl-"
|
||||
version ".tar.lzma"))
|
||||
(sha256
|
||||
(base32
|
||||
"0r937wplchjxifxqqcjxd9rzp6l9rqqdfjn41x1y4djrh95nsa24"))))
|
||||
"1k0i31xygb804c61llhin5wbpcscg4gfqmbxcfkpdr1alwh7igrq"))))
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("out"
|
||||
"doc")) ;1.2 MiB of man3 pages
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
|
||||
;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
|
||||
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
|
||||
;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net>
|
||||
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
|
||||
;;; Copyright © 2016 David Craven <david@craven.ch>
|
||||
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
|
||||
|
@ -252,7 +252,7 @@ SQL, Key/Value, XML/XQuery or Java Object storage for their data model.")
|
|||
(define-public leveldb
|
||||
(package
|
||||
(name "leveldb")
|
||||
(version "1.19")
|
||||
(version "1.20")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/google/leveldb"
|
||||
|
@ -260,7 +260,7 @@ SQL, Key/Value, XML/XQuery or Java Object storage for their data model.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"00jjgs9xlwycfkg0xd7n1rj6v9zrx7xc7hann6zalrjyhap18ykx"))))
|
||||
"0r36bcrj6b2afsp4aw1gjai3jbs1c7734pxpc1jz7hh9nasyiazm"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:make-flags (list "CC=gcc")
|
||||
|
@ -553,7 +553,7 @@ types are supported, as is encryption.")
|
|||
(define-public rocksdb
|
||||
(package
|
||||
(name "rocksdb")
|
||||
(version "5.1.2")
|
||||
(version "5.1.4")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/facebook/rocksdb"
|
||||
|
@ -561,7 +561,7 @@ types are supported, as is encryption.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1qdbs13al7g45xc2j44wzx0ywrg32q1gsdhk5j6j4952xg91rfmh"))
|
||||
"0ddyj8lh5jk6vx675pdg4jhgs7c12ckw5j31rz85jlrds68ygrry"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
|
@ -1203,6 +1203,37 @@ and B+ Tree data storage models. It is a fast key-value lightweight
|
|||
database and supports many programming languages. It is a NoSQL database.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public tokyocabinet
|
||||
(package
|
||||
(name "tokyocabinet")
|
||||
(version "1.4.48")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://fallabs.com/tokyocabinet/"
|
||||
name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"140zvr0n8kvsl0fbn2qn3f2kh3yynfwnizn4dgbj47m975yg80x0"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags
|
||||
(list "--enable-pthread" "--enable-off64" "--enable-fastest"
|
||||
(string-append "LDFLAGS=-Wl,-rpath="
|
||||
(assoc-ref %outputs "out") "/lib"))))
|
||||
(inputs
|
||||
`(("zlib" ,zlib)))
|
||||
(home-page "http://fallabs.com/tokyocabinet/")
|
||||
(synopsis "Tokyo Cabinet is a modern implementation of the DBM database")
|
||||
(description
|
||||
"Tokyo Cabinet is a library of routines for managing a database.
|
||||
The database is a simple data file containing records, each is a pair of a
|
||||
key and a value. Every key and value is serial bytes with variable length.
|
||||
Both binary data and character string can be used as a key and a value.
|
||||
There is neither concept of data tables nor data types. Records are
|
||||
organized in hash table, B+ tree, or fixed-length array.")
|
||||
(license license:lgpl2.1+)))
|
||||
|
||||
(define-public wiredtiger
|
||||
(package
|
||||
(name "wiredtiger")
|
||||
|
|
|
@ -55,15 +55,13 @@ clients.")
|
|||
(define-public vdirsyncer
|
||||
(package
|
||||
(name "vdirsyncer")
|
||||
(version "0.14.1")
|
||||
(version "0.15.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri name version))
|
||||
(patches
|
||||
(search-patches "vdirsyncer-test-suite-slow-machines.patch"))
|
||||
(sha256
|
||||
(base32
|
||||
"044f01fjd8dpz4y9dm3qcc1a8cihcxxbr1sz6y6fkvglpb6k85y5"))))
|
||||
"08aa5yxcj7ziz2r0hz4p554q8hgpfl2bh8r6r85f4g24mg6arxsj"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases (modify-phases %standard-phases
|
||||
|
|
|
@ -302,14 +302,14 @@ and can dramatically shorten the lifespan of the drive if left unchecked.")
|
|||
(define-public gparted
|
||||
(package
|
||||
(name "gparted")
|
||||
(version "0.28.0")
|
||||
(version "0.28.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/gparted/gparted/gparted-"
|
||||
version "/gparted-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1w9xsph6fpr7l96b3bxl1bgs94cfp9iisg694h8w3fahihwldzdr"))))
|
||||
(base32 "0cyk8lpimm6wani8khw0szwqkgw5wpq2mfnfxkbgfm2774a1z2bn"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; Tests require a network connection.
|
||||
|
|
|
@ -106,6 +106,10 @@ to the @dfn{don't repeat yourself} (DRY) principle.")
|
|||
(base32
|
||||
"0906hms6y6znjhpd0g4wmzv9vcla4brkdpsm4zha9zdj8g5vq2hd"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
;; FIXME: Upstream uses a 'runtests.py' script that is not
|
||||
;; present in the pypi tarball.
|
||||
'(#:tests? #f))
|
||||
(propagated-inputs
|
||||
`(("python-django" ,python-django)))
|
||||
(home-page "https://github.com/alsoicode/django-simple-math-captcha")
|
||||
|
@ -131,7 +135,8 @@ with arguments to the field constructor.")
|
|||
"1mmc7zsz3dlhs6sx4sppkj1vgshabi362r1a8b8wpj1qfximpqcb"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
`(#:tests? #f ; FIXME: How to run tests?
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-setuppy
|
||||
(lambda _
|
||||
|
@ -163,6 +168,12 @@ useful tools for testing Django applications and projects.")
|
|||
(base32
|
||||
"0f78hmk8c903zwfzlsiw7ivgag81ymmb5hi73rzxbhnlg2v0l3fx"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(zero? (system* "python" "runtests.py")))))))
|
||||
(native-inputs
|
||||
`(("python-django" ,python-django)
|
||||
("python-mock" ,python-mock)))
|
||||
|
|
|
@ -43,44 +43,6 @@
|
|||
#:use-module (guix build-system cmake)
|
||||
#:use-module (srfi srfi-1))
|
||||
|
||||
(define-public stellarium
|
||||
(package
|
||||
(name "stellarium")
|
||||
(version "0.14.2")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/stellarium/"
|
||||
"Stellarium-sources/"
|
||||
version "/stellarium-" version ".tar.gz"))
|
||||
(sha256 (base32
|
||||
"1xxil0rv61zc08znfv83cpsc47y1gjl2f3njhz0pn5zd8jpaa15a"))))
|
||||
(build-system cmake-build-system)
|
||||
(inputs
|
||||
`(("qtbase" ,qtbase)
|
||||
("zlib" ,zlib)
|
||||
("qtserialport" ,qtserialport)
|
||||
("qtscript" ,qtscript)
|
||||
("gettext" ,gettext-minimal)))
|
||||
(native-inputs
|
||||
`(("qtbase" ,qtbase) ;Qt MOC is needed at compile time
|
||||
("qttools" ,qttools)
|
||||
("perl" ,perl))) ;for 'pod2man'
|
||||
(arguments
|
||||
`(#:test-target "tests"
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-before 'check 'set-offscreen-display
|
||||
(lambda _
|
||||
(setenv "QT_QPA_PLATFORM" "offscreen")
|
||||
(setenv "HOME" "/tmp")
|
||||
#t)))))
|
||||
(home-page "http://www.stellarium.org/")
|
||||
(synopsis "3D sky viewer")
|
||||
(description "Stellarium is a planetarium. It shows a realistic sky in
|
||||
3D, just like what you see with the naked eye, binoculars, or a telescope. It
|
||||
can be used to control telescopes over a serial port for tracking celestial
|
||||
objects.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public gcompris
|
||||
(package
|
||||
(name "gcompris")
|
||||
|
|
|
@ -133,22 +133,20 @@
|
|||
(("/bin/pwd")
|
||||
"pwd"))))
|
||||
(add-after 'install 'install-site-start
|
||||
;; Copy guix-emacs.el from Guix and add it to site-start.el. This
|
||||
;; way, Emacs packages provided by Guix and installed in
|
||||
;; Use 'guix-emacs' in "site-start.el". This way, Emacs packages
|
||||
;; provided by Guix and installed in
|
||||
;; ~/.guix-profile/share/emacs/site-lisp/guix.d/PACKAGE-VERSION are
|
||||
;; automatically found.
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let* ((guix-src (assoc-ref inputs "guix-src"))
|
||||
(out (assoc-ref outputs "out"))
|
||||
(lisp-dir (string-append out "/share/emacs/site-lisp"))
|
||||
(unpack (assoc-ref %standard-phases 'unpack)))
|
||||
(mkdir "guix")
|
||||
(with-directory-excursion "guix"
|
||||
(apply unpack (list #:source guix-src))
|
||||
(install-file "emacs/guix-emacs.el" lisp-dir))
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(lisp-dir (string-append out "/share/emacs/site-lisp")))
|
||||
(copy-file (assoc-ref inputs "guix-emacs.el")
|
||||
(string-append lisp-dir "/guix-emacs.el"))
|
||||
(with-output-to-file (string-append lisp-dir "/site-start.el")
|
||||
(lambda ()
|
||||
(display "(require 'guix-emacs nil t)")))
|
||||
(display
|
||||
(string-append "(when (require 'guix-emacs nil t)\n"
|
||||
" (guix-emacs-autoload-packages))\n"))))
|
||||
#t))))))
|
||||
(inputs
|
||||
`(("gnutls" ,gnutls)
|
||||
|
@ -175,13 +173,13 @@
|
|||
("libsm" ,libsm)
|
||||
("alsa-lib" ,alsa-lib)
|
||||
("dbus" ,dbus)
|
||||
("guix-src" ,(package-source guix))
|
||||
|
||||
;; multilingualization support
|
||||
("libotf" ,libotf)
|
||||
("m17n-lib" ,m17n-lib)))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
`(("guix-emacs.el" ,(search-auxiliary-file "emacs/guix-emacs.el"))
|
||||
("pkg-config" ,pkg-config)
|
||||
("texinfo" ,texinfo)))
|
||||
|
||||
(native-search-paths
|
||||
|
@ -1326,7 +1324,7 @@ type, for example: packages, buffers, files, etc.")
|
|||
(define-public emacs-guix
|
||||
(package
|
||||
(name "emacs-guix")
|
||||
(version "0.2.2")
|
||||
(version "0.3")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/alezost/guix.el"
|
||||
|
@ -1334,7 +1332,7 @@ type, for example: packages, buffers, files, etc.")
|
|||
"/emacs-guix-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1i47yh24xvgmnc778765g3j9ip0xb2y85v6w83r4qmkigk9rl2ck"))))
|
||||
"1327zp140c7acckk0ajl88cgwr0lk9j3mb67nsq2janxrkwmj6br"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags
|
||||
|
@ -3834,3 +3832,23 @@ mode-line.")
|
|||
(description
|
||||
"Emacs minor mode for redisplaying parts of the buffer as pretty symbols.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public emacs-yasnippet
|
||||
(package
|
||||
(name "emacs-yasnippet")
|
||||
(version "0.11.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/joaotavora/yasnippet/"
|
||||
"archive/" version ".tar.gz"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"15di6mkkf09b7qddpsrm0qln02hji3sx8blya5jxssi9wxxx9iq5"))))
|
||||
(build-system emacs-build-system)
|
||||
(home-page "http://github.com/joaotavora/yasnippet")
|
||||
(synopsis "Yet another snippet extension for Emacs")
|
||||
(description
|
||||
"YASnippet is a template system for Emacs. It allows you to type an
|
||||
abbreviation and automatically expand it into function templates.")
|
||||
(license license:gpl3+)))
|
||||
|
|
|
@ -30,12 +30,14 @@
|
|||
#:use-module (guix build utils)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages autotools)
|
||||
#:use-module ((gnu packages base) #:prefix base:)
|
||||
#:use-module (gnu packages bison)
|
||||
#:use-module (gnu packages cross-base)
|
||||
#:use-module (gnu packages dejagnu)
|
||||
#:use-module (gnu packages flex)
|
||||
#:use-module (gnu packages gcc)
|
||||
#:use-module (gnu packages gdb)
|
||||
#:use-module (gnu packages guile)
|
||||
#:use-module (gnu packages libftdi)
|
||||
#:use-module (gnu packages libusb)
|
||||
#:use-module (gnu packages perl)
|
||||
|
@ -719,3 +721,54 @@ toolchain, the loader, the Openspin compiler, the Spin2cpp tool, and the Spin
|
|||
simulator.")
|
||||
(home-page (package-home-page propeller-gcc))
|
||||
(license (package-license propeller-gcc))))
|
||||
|
||||
(define-public binutils-vc4
|
||||
(let ((commit "708acc851880dbeda1dd18aca4fd0a95b2573b36"))
|
||||
(package
|
||||
(name "binutils-vc4")
|
||||
(version (string-append "2.23.51-0." (string-take commit 7)))
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/puppeh/binutils-vc4.git")
|
||||
(commit commit)))
|
||||
(sha256
|
||||
(base32
|
||||
"1kdrz6fki55lm15rwwamn74fnqpy0zlafsida2zymk76n3656c63"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags '("--target=vc4-elf"
|
||||
"--disable-werror"
|
||||
"--enable-cgen-maint")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'unpack-cgen
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(copy-recursively (string-append (assoc-ref inputs "cgen")
|
||||
"/cgen") "cgen")
|
||||
#t))
|
||||
(add-after 'unpack-cgen 'fix-cgen-guile
|
||||
(lambda _
|
||||
(substitute* "opcodes/Makefile.in"
|
||||
(("guile\\{,-\\}1.8") "guile"))
|
||||
(zero? (system* "which" "guile")))))))
|
||||
(native-inputs
|
||||
`(("cgen"
|
||||
,(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/puppeh/cgen.git")
|
||||
(commit "d8e2a9eb70425f180fdd5bfd032884b0855f2032")))
|
||||
(sha256
|
||||
(base32
|
||||
"14b3h2ji740s8zq5vwm4qdcxs4aa4wxi6wb9di3bv1h39x14nyr9"))))
|
||||
("texinfo" ,texinfo)
|
||||
("flex" ,flex)
|
||||
("bison" ,bison)
|
||||
("guile-1.8" ,guile-1.8)
|
||||
("which" ,base:which)))
|
||||
(synopsis "Binutils for VC4")
|
||||
(description "This package provides @code{binutils} for VideoCore IV,
|
||||
the Raspberry Pi chip.")
|
||||
(license license:gpl3+)
|
||||
(home-page "https://github.com/puppeh/vc4-toolchain/"))))
|
||||
|
|
|
@ -750,3 +750,27 @@ electrical diagrams), gerbview (viewing Gerber files) and others.")
|
|||
(description "This package provides Kicad component, footprint and 3D
|
||||
render model libraries.")
|
||||
(license license:lgpl2.0+))))
|
||||
|
||||
(define-public linsmith
|
||||
(package
|
||||
(name "linsmith")
|
||||
(version "0.99.30")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"mirror://sourceforge/linsmith/linsmith/linsmith-"
|
||||
version "/linsmith-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"18qslhr2r45rhpj4v6bjcqx189vs0bflvsj271wr7w8kvh69qwvn"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
("gtk" ,gtk+-2)
|
||||
("libgnome" ,libgnomeui)))
|
||||
(home-page "http://jcoppens.com/soft/linsmith/index.en.php")
|
||||
(synopsis "Smith Charting program")
|
||||
(description "LinSmith is a Smith Charting program, mainly designed for
|
||||
educational use. As such, there is an emphasis on capabilities that improve
|
||||
the 'showing the effect of'-style of operation.")
|
||||
(license license:gpl2+)))
|
||||
|
|
|
@ -197,7 +197,7 @@ Libraries with some extra bells and whistles.")
|
|||
(define-public enlightenment
|
||||
(package
|
||||
(name "enlightenment")
|
||||
(version "0.21.5")
|
||||
(version "0.21.6")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri
|
||||
|
@ -205,7 +205,7 @@ Libraries with some extra bells and whistles.")
|
|||
name "/" name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1fslq70z4s6v9ipahnk8s5fgqnqq4njv4rlqv951r1bh1xk5lx7h"))))
|
||||
"0gan3c8jbvhcmvb2fpbprr3m6db0afg1dnrb87nbqb399nsi81zd"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags '("--enable-mount-eeze")))
|
||||
|
@ -253,7 +253,17 @@ embedded systems.")
|
|||
(lambda _
|
||||
(setenv "CFLAGS"
|
||||
(string-append "-I" (assoc-ref %build-inputs "python-dbus")
|
||||
"/include/dbus-1.0")))))))
|
||||
"/include/dbus-1.0"))
|
||||
#t))
|
||||
(add-before 'check 'set-environment
|
||||
(lambda _
|
||||
;; Some tests require write access to HOME.
|
||||
(setenv "HOME" "/tmp")
|
||||
#t)))
|
||||
;; FIXME: Some tests require a running D-Bus server or a network
|
||||
;; connection and should be disabled. Other test failures looks
|
||||
;; legitimate. Disabled for now, needs work!
|
||||
#:tests? #f))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
("python-cython" ,python-cython)))
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix build utils)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix build-system cmake)
|
||||
#:use-module (guix build-system python)
|
||||
|
|
|
@ -401,7 +401,7 @@ and returns a sequence of positioned glyphids from the font.")
|
|||
(define-public potrace
|
||||
(package
|
||||
(name "potrace")
|
||||
(version "1.13")
|
||||
(version "1.14")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -409,7 +409,7 @@ and returns a sequence of positioned glyphids from the font.")
|
|||
"/potrace-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"115p2vgyq7p2mf4nidk2x3aa341nvv2v8ml056vbji36df5l6lk2"))))
|
||||
"0znr9i0ljb818qiwm22zw63g11a4v08gc5xkh0wbdp6g259vcwnv"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs `(("ghostscript" ,ghostscript))) ;for tests
|
||||
(inputs `(("zlib" ,zlib)))
|
||||
|
|
|
@ -88,14 +88,14 @@ freedesktop.org project.")
|
|||
(define-public libinput
|
||||
(package
|
||||
(name "libinput")
|
||||
(version "1.6.0")
|
||||
(version "1.6.3")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://freedesktop.org/software/libinput/"
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0cjq4mjqx8c7iiign330s34dvpw38rlv8byaxlx68p3kim8lylxp"))))
|
||||
"18bx2fz04mf41nf3021pr9k3f741zvc6i8pzvypc6ycffac2gnkl"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("cairo" ,cairo)
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
|
||||
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -26,12 +27,21 @@
|
|||
#:use-module (guix packages)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages autotools)
|
||||
#:use-module (gnu packages check)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages databases)
|
||||
#:use-module (gnu packages freedesktop)
|
||||
#:use-module (gnu packages gettext)
|
||||
#:use-module (gnu packages glib)
|
||||
#:use-module (gnu packages gtk)
|
||||
#:use-module (gnu packages libidn)
|
||||
#:use-module (gnu packages ncurses)
|
||||
#:use-module (gnu packages readline)
|
||||
#:use-module (gnu packages nettle)
|
||||
#:use-module (gnu packages pkg-config)
|
||||
#:use-module (gnu packages readline)
|
||||
#:use-module (gnu packages tls)
|
||||
#:use-module (gnu packages compression))
|
||||
#:use-module (gnu packages wxwidgets)
|
||||
#:use-module (gnu packages xml))
|
||||
|
||||
(define-public lftp
|
||||
(package
|
||||
|
@ -159,3 +169,66 @@ maintaining a web page or other FTP archive. It synchronizes a set of
|
|||
local files to a remote server by performing uploads and remote deletes
|
||||
as required.")
|
||||
(license gpl2+)))
|
||||
|
||||
(define-public libfilezilla
|
||||
(package
|
||||
(name "libfilezilla")
|
||||
(version "0.9.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://download.filezilla-project.org/"
|
||||
name "/" name "-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"0340v5xs48f28q2d16ldb9359dkzlhl4l449mgyv3qabnlz2pl21"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("cppunit" ,cppunit)))
|
||||
(home-page "https://lib.filezilla-project.org")
|
||||
(synopsis "Cross-platform C++ library used by Filezilla client")
|
||||
(description
|
||||
"This package provides some basic functionality to build high-performing,
|
||||
platform-independent programs.")
|
||||
(license gpl2+)))
|
||||
|
||||
(define-public filezilla
|
||||
(package
|
||||
(name "filezilla")
|
||||
(version "3.24.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://sourceforge.net/projects/" name
|
||||
"/files/FileZilla_Client/" version
|
||||
"/FileZilla_" version "_src" ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"0ahcld3g6jj92nakm5i58wgmcv6f4l9yisw3aqbc2ry0gs679pg6"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
;; Don't let filezilla phone home to check for updates.
|
||||
'(#:configure-flags '("--disable-autoupdatecheck")))
|
||||
(native-inputs
|
||||
`(("gettext" ,gettext-minimal)
|
||||
("pkg-config" ,pkg-config)
|
||||
("pugixml" ,pugixml)
|
||||
("xdg-utils" ,xdg-utils)))
|
||||
(inputs
|
||||
`(("dbus" ,dbus)
|
||||
("gnutls" ,gnutls)
|
||||
("gtk+" ,gtk+)
|
||||
("libfilezilla" ,libfilezilla)
|
||||
("libidn" ,libidn)
|
||||
("nettle" ,nettle)
|
||||
("sqlite" ,sqlite)
|
||||
("wxwidgets" ,wxwidgets)))
|
||||
(home-page "https://filezilla-project.org")
|
||||
(synopsis "Full-featured graphical FTP/FTPS/SFTP client")
|
||||
(description
|
||||
"Filezilla client supports FTP, FTP over SSL/TLS (FTPS),
|
||||
SSH File Transfer Protocol (SFTP), HTTP/1.1, SOCKS5, FTP-Proxy, IPv6
|
||||
and others features such as bookmarks, drag and drop, filename filters,
|
||||
directory comparison and more.")
|
||||
(license gpl2+)
|
||||
(properties '((upstream-name . "FileZilla")))))
|
||||
|
|
|
@ -526,18 +526,16 @@ interface (API).")
|
|||
(define-public python-pygame
|
||||
(package
|
||||
(name "python-pygame")
|
||||
(version "1.9.1")
|
||||
(version "1.9.3")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://pygame.org/ftp/pygame-"
|
||||
version "release.tar.gz"))
|
||||
(uri (pypi-uri "pygame" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0cyl0ww4fjlf289pjxa53q4klyn55ajvkgymw0qrdgp4593raq52"))))
|
||||
"1hlydiyygl444bq5m5g8n3jsxsgrdyxlm42ipmfbw36wkf0j243m"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:python ,python-2
|
||||
#:tests? #f ; Tests require pygame to be installed first.
|
||||
`(#:tests? #f ; Tests require pygame to be installed first.
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; Set the paths to the dependencies manually because
|
||||
|
@ -553,6 +551,7 @@ interface (API).")
|
|||
(smpeg-ref (assoc-ref inputs "libsmpeg"))
|
||||
(png-ref (assoc-ref inputs "libpng"))
|
||||
(jpeg-ref (assoc-ref inputs "libjpeg"))
|
||||
(freetype-ref (assoc-ref inputs "freetype"))
|
||||
(v4l-ref (assoc-ref inputs "v4l-utils"))
|
||||
(out-ref (assoc-ref outputs "out")))
|
||||
(substitute* "Setup.in"
|
||||
|
@ -582,9 +581,14 @@ interface (API).")
|
|||
(("JPEG = -ljpeg")
|
||||
(string-append "JPEG = -I" jpeg-ref "/include -L"
|
||||
jpeg-ref "/lib -ljpeg")))
|
||||
|
||||
(substitute* "Setup.in"
|
||||
(("FREETYPE = -lfreetype")
|
||||
(string-append "FREETYPE = -I" freetype-ref "/include/freetype2 -L"
|
||||
freetype-ref "/lib -lfreetype")))
|
||||
|
||||
(substitute* "Setup.in"
|
||||
(("^pypm") "#pypm"))
|
||||
(substitute* "src/movie.c")
|
||||
;; Create a path to a header file provided by v4l-utils.
|
||||
(system* "mkdir" "linux")
|
||||
(system* "ln" "--symbolic"
|
||||
|
@ -592,7 +596,8 @@ interface (API).")
|
|||
"linux/videodev.h")
|
||||
(system* "ln" "--symbolic" "Setup.in" "Setup")))))))
|
||||
(inputs
|
||||
`(("sdl" ,sdl)
|
||||
`(("freetype" ,freetype)
|
||||
("sdl" ,sdl)
|
||||
("sdl-image" ,sdl-image)
|
||||
("sdl-mixer" ,sdl-mixer)
|
||||
("sdl-ttf" ,sdl-ttf)
|
||||
|
@ -619,3 +624,6 @@ to create fully featured games and multimedia programs in the python language.")
|
|||
license:psfl
|
||||
license:public-domain
|
||||
license:lgpl2.1+))))
|
||||
|
||||
(define-public python2-pygame
|
||||
(package-with-python2 python-pygame))
|
||||
|
|
|
@ -175,6 +175,49 @@ You may even apply photos to the faces instead of colors. The game is
|
|||
scriptable with Guile.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public gnushogi
|
||||
(package
|
||||
(name "gnushogi")
|
||||
(version "1.4.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnu/gnushogi/gnushogi-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0a9bsl2nbnb138lq0h14jfc5xvz7hpb2bcsj4mjn6g1hcsl4ik0y"))))
|
||||
(arguments `(#:tests? #f)) ;; No check target.
|
||||
(build-system gnu-build-system)
|
||||
(home-page "http://www.gnu.org/software/gnushogi/")
|
||||
(synopsis "The game of Shogi (Japanese chess)")
|
||||
(description "GNU Shogi is a program that plays the game Shogi (Japanese
|
||||
Chess). It is similar to standard chess but this variant is far more complicated.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public xshogi
|
||||
(package
|
||||
(name "xshogi")
|
||||
(version "1.4.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnu/gnushogi/xshogi-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1dns0nhymak44by18sv48m4xb2skiwbi2i3nb9hl6w9iwd2i2brf"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("libxaw" ,libxaw)
|
||||
("libxt" ,libxt)))
|
||||
(home-page "http://www.gnu.org/software/gnushogi/")
|
||||
(synopsis "User interface for gnushogi")
|
||||
(description "A graphical user interface for the package @code{gnushogi}.")
|
||||
;; Contains a copy of GPLv3 but the licence notices simply
|
||||
;; state "GNU General Public Licence" without specifying a version.
|
||||
(license license:gpl1+)))
|
||||
|
||||
(define-public abbaye
|
||||
(package
|
||||
(name "abbaye")
|
||||
|
@ -840,15 +883,15 @@ using the curses.h library for screen control.")
|
|||
(define-public glulxe
|
||||
(package
|
||||
(name "glulxe")
|
||||
(version "0.5.2")
|
||||
(version "0.5.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://www.ifarchive.org/if-archive/programming/"
|
||||
"glulx/interpreters/glulxe/glulxe-052.tar.gz"))
|
||||
"glulx/interpreters/glulxe/glulxe-054.tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"19iw6kl8ncqcy9pv4gsqfh3xsa1n94zd234rqavvmxccnf3nj19g"))))
|
||||
"0vipydg6ra90yf9b3ipgppwxyb2xdhcxwvirgjy0v20wlf56zhhz"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs `(("glk" ,glkterm)))
|
||||
(arguments
|
||||
|
@ -873,7 +916,7 @@ using the curses.h library for screen control.")
|
|||
playing interactive fiction. It was designed by Andrew Plotkin to relieve
|
||||
some of the restrictions in the venerable Z-machine format. This is the
|
||||
reference interpreter, using Glk API.")
|
||||
(license (license:fsf-free "file://README"))))
|
||||
(license license:expat)))
|
||||
|
||||
(define-public fizmo
|
||||
(package
|
||||
|
@ -2574,7 +2617,7 @@ tactics.")
|
|||
(define-public starfighter
|
||||
(package
|
||||
(name "starfighter")
|
||||
(version "1.6")
|
||||
(version "1.7")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
|
@ -2583,18 +2626,8 @@ tactics.")
|
|||
name "-" version "-src.tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1qb5nk0b3d0ia5zszmg4a3ydf4fiy39fmymb66vwkqn4djajdhzq"))))
|
||||
"1646hpjq8bz2fkfkja1dah511hn7zd2r7da4w9c9blhad3p5732v"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f ; no check target
|
||||
#:make-flags
|
||||
(let ((out (assoc-ref %outputs "out")))
|
||||
(list (string-append "PREFIX=" out)
|
||||
(string-append "BINDIR=" out "/bin/")))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; no configure script
|
||||
(delete 'configure))))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
|
|
|
@ -59,7 +59,8 @@
|
|||
focus on accuracy and performance. It uses the International Color
|
||||
Consortium standard (ICC), approved as ISO 15076-1.")
|
||||
(license license:x11)
|
||||
(home-page "http://www.littlecms.com/")))
|
||||
(home-page "http://www.littlecms.com/")
|
||||
(properties '((cpe-name . "little_cms_color_engine")))))
|
||||
|
||||
(define-public libpaper
|
||||
(package
|
||||
|
|
|
@ -5606,7 +5606,7 @@ functionality and behavior.")
|
|||
(define-public arc-theme
|
||||
(package
|
||||
(name "arc-theme")
|
||||
(version "20161119")
|
||||
(version "20170302")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/horst3180/arc-theme"
|
||||
|
@ -5614,7 +5614,7 @@ functionality and behavior.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1kbhaxmydyip3vdw4kf8rk776jcd9wf0w7z6h2i4naxdn4rsnw54"))))
|
||||
"0igxpngnkf1wpsg872a9jg3c9f5z8afm312yfbillz16mk8w39cw"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
|
@ -5639,7 +5639,7 @@ like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
|
|||
(define-public moka-icon-theme
|
||||
(package
|
||||
(name "moka-icon-theme")
|
||||
(version "5.3.1")
|
||||
(version "5.3.5")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/moka-project"
|
||||
|
@ -5648,7 +5648,7 @@ like GNOME, Unity, Budgie, Pantheon, XFCE, Mate, etc.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1lnk7p8dsd9xh6cgz5krvlcr457w8yl4m6p6s5c2g5narsjswzrm"))))
|
||||
"062rab0ggmgb3y0d6b3k5d47wsadi28cdnyyr2vqbjhza01dglci"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
|
@ -5674,7 +5674,7 @@ simple and consistent.")
|
|||
(define-public arc-icon-theme
|
||||
(package
|
||||
(name "arc-icon-theme")
|
||||
(version "20160605")
|
||||
(version "20161122")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/horst3180/arc-icon-theme"
|
||||
|
@ -5682,7 +5682,7 @@ simple and consistent.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1npf0ki0j0llrw9wbffhxxa1cdms0q7b8xlg9m943dd9g7pgdm2p"))))
|
||||
"1ya1cqvv8q847c0rpcg6apzky87q3h04y8jz5nmi52qk6kg8si0b"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
|
|
|
@ -184,16 +184,14 @@ and support for SSL3 and TLS.")
|
|||
(define-public gnurl
|
||||
(package
|
||||
(name "gnurl")
|
||||
(version "7.52.1")
|
||||
(version "7.53.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (let ((version-with-underscores
|
||||
(string-join (string-split version #\.) "_")))
|
||||
(string-append "https://gnunet.org/sites/default/files/"
|
||||
name "-" version-with-underscores ".tar.bz2")))
|
||||
(uri (string-append "https://gnunet.org/sites/default/files/"
|
||||
name "-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"1gn6mvab2vhfj9637ykg1zjzb23fngfnyd24wlgxmjhf49pn334h"))))
|
||||
"1ah2304cm6y7d201vdph170mrwxmg6r72v2zsxzjn0jk68d8kb6d"))))
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("out"
|
||||
"doc")) ; 1.5 MiB of man3 pages
|
||||
|
|
|
@ -217,14 +217,15 @@ compatible to GNU Pth.")
|
|||
(define-public gnupg
|
||||
(package
|
||||
(name "gnupg")
|
||||
(version "2.1.18")
|
||||
(version "2.1.19")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnupg/gnupg/gnupg-" version
|
||||
".tar.bz2"))
|
||||
(patches (search-patches "gnupg-2.1-fix-Y2038-test-failure.patch"))
|
||||
(sha256
|
||||
(base32
|
||||
"157rrv3ly9j2k0acz43nhiba5hfl6h7048jvj55wwqjmgsmnyk6h"))))
|
||||
"1w4vccmb5l50lm4yrz9vkdj7whbfvzx543r55362kkj1aqgyvk26"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
|
@ -243,7 +244,11 @@ compatible to GNU Pth.")
|
|||
("sqlite" ,sqlite)
|
||||
("zlib" ,zlib)))
|
||||
(arguments
|
||||
`(#:configure-flags '("--enable-gpg2-is-gpg")
|
||||
`(#:configure-flags '("--enable-gpg2-is-gpg"
|
||||
;; Otherwise, the test suite looks for the `gpg`
|
||||
;; executable in its installation directory in
|
||||
;; /gnu/store before it has been installed.
|
||||
"--enable-gnupg-builddir-envvar")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'patch-paths
|
||||
|
@ -259,11 +264,27 @@ compatible to GNU Pth.")
|
|||
(("/usr/bin/env gpgscm")
|
||||
(string-append (getcwd) "/tests/gpgscm/gpgscm")))
|
||||
#t))
|
||||
;; If this variable is undefined, /bin/pwd is invoked.
|
||||
(add-before 'check 'set-gnupg-home
|
||||
(lambda _
|
||||
(setenv "GNUPGHOME" (getcwd))
|
||||
#t)))))
|
||||
(add-before 'build 'patch-test-paths
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let* ((coreutils (assoc-ref inputs "coreutils"))
|
||||
(cat (string-append coreutils "/bin/cat"))
|
||||
(pwd (string-append coreutils "/bin/pwd"))
|
||||
(true (string-append coreutils "/bin/true"))
|
||||
(false (string-append coreutils "/bin/false")))
|
||||
(substitute* '("tests/inittests"
|
||||
"tests/pkits/inittests"
|
||||
"tests/Makefile"
|
||||
"tests/pkits/common.sh"
|
||||
"tests/pkits/Makefile"
|
||||
)
|
||||
(("/bin/pwd") pwd))
|
||||
(substitute* "common/t-exectool.c"
|
||||
(("/bin/cat") cat))
|
||||
(substitute* "common/t-exectool.c"
|
||||
(("/bin/true") true))
|
||||
(substitute* "common/t-exectool.c"
|
||||
(("/bin/false") false))
|
||||
#t))))))
|
||||
(home-page "https://gnupg.org/")
|
||||
(synopsis "GNU Privacy Guard")
|
||||
(description
|
||||
|
|
|
@ -152,7 +152,7 @@ in C/C++.")
|
|||
(define-public nspr
|
||||
(package
|
||||
(name "nspr")
|
||||
(version "4.12")
|
||||
(version "4.13.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
|
@ -160,7 +160,7 @@ in C/C++.")
|
|||
version "/src/nspr-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1pk98bmc5xzbl62q5wf2d6mryf0v95z6rsmxz27nclwiaqg0mcg0"))))
|
||||
"1arkg08l6zlp8v44shqbk2c8qzwd913lgh60fb3yfxls6d8ifk2y"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("perl" ,perl)))
|
||||
|
@ -186,7 +186,7 @@ in the Mozilla clients.")
|
|||
(define-public nss
|
||||
(package
|
||||
(name "nss")
|
||||
(version "3.27.1")
|
||||
(version "3.29.2")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (let ((version-with-underscores
|
||||
|
@ -197,7 +197,7 @@ in the Mozilla clients.")
|
|||
"nss-" version ".tar.gz")))
|
||||
(sha256
|
||||
(base32
|
||||
"0sraxk26swlgl7rl742rkfp5k251v5z3lqw9k8ikin0cjfhkfdpx"))
|
||||
"149807rmzb76hnh48rw4m9jw83iw0168njzchz0hmbsgc8mk0i5w"))
|
||||
;; Create nss.pc and nss-config.
|
||||
(patches (search-patches "nss-pkgconfig.patch"))))
|
||||
(build-system gnu-build-system)
|
||||
|
@ -303,7 +303,7 @@ standards.")
|
|||
(define-public icecat
|
||||
(package
|
||||
(name "icecat")
|
||||
(version "45.5.1-gnu1")
|
||||
(version "45.7.0-gnu1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -312,68 +312,43 @@ standards.")
|
|||
"/" name "-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"1sbfgsibmb8wfmb2g40gmqwq3nikmrgzksf51ydrz7gnafyfaqw1"))
|
||||
"1mn73liylqzxk441f28wk326yglqs8zcwqs4zz51s8i2id2jsnv3"))
|
||||
(patches
|
||||
(list
|
||||
(search-patch "icecat-avoid-bundled-libraries.patch")
|
||||
(search-patch "icecat-binutils.patch")
|
||||
(mozilla-patch "icecat-CVE-2016-9897.patch" "2e5438a92617" "0pyjbzyy04759ldpcar8q8cccv67j1jkxsg46rkq7a3rbhmwmw4p")
|
||||
(mozilla-patch "icecat-CVE-2016-9899.patch" "7391f60fb790" "1hydggpmmm2cs9lb15micnkxn4wl4cda9g74hkn3zmks805vjz3h")
|
||||
(mozilla-patch "icecat-CVE-2016-9893-pt1.patch" "744e01001e6e" "0z2fq765kap3ll9as5rvjpnbj3pw26074alw7df0zi215qz47nxr")
|
||||
(mozilla-patch "icecat-CVE-2016-9904-pt1.patch" "8ae673f34a5b" "1rlbihckl9afa0y91lqs7gpnv6a7zxzrmxjv95y3yrl03kibqp76")
|
||||
(mozilla-patch "icecat-CVE-2016-9904-pt2.patch" "409c23c144fe" "05kgs16y8s5pxmg2dxp93247zagnj6zgj3209qpm5hz3an7gr13h")
|
||||
(mozilla-patch "icecat-CVE-2016-9900.patch" "994d9bd0e28d" "007wifyx3b2ln4fwv1i8n24yz5ngjf4mkzd7sqr5bpd3q88ff293")
|
||||
(mozilla-patch "icecat-CVE-2016-9893-pt2.patch" "0fc43af8982e" "0pc8q9knzq2knj723mwkay1lnzbzysb07ygxnc16mcb6f7vl2mw8")
|
||||
(mozilla-patch "icecat-CVE-2016-9893-pt3.patch" "19f9a4643d77" "0w5yxj1l0hvs66q9agjp4m5sfby7fj05lx33gaqf899bw4hn4vcf")
|
||||
(mozilla-patch "icecat-CVE-2016-9893-pt4.patch" "c58442c414f5" "1z1w1v8xagkhrwgp51ij1k2gx0ripslia09vm78812n7gcwddaas")
|
||||
(mozilla-patch "icecat-CVE-2016-9898.patch" "5054047b7328" "0xlw8irymfp3bcaa5jpf7clf7bq6qxp3i8zapp8jya8lzr1nf868")
|
||||
(mozilla-patch "icecat-bug-881832-pt1.patch" "1123263318a3" "1qkxwva3zrcs1zhga8ncmndq03988dx75i896g53gbvpskj06915")
|
||||
(mozilla-patch "icecat-bug-881832-pt2.patch" "dc87c0a39adf" "01rapf14f3r2wk0cjd16dn1rll4ipgs33cnjmjck48nvk67ikz6h")
|
||||
(mozilla-patch "icecat-bug-881832-pt3.patch" "f20e5f488368" "15ql9ywifb3gm2g1057k63f821dbs3wqsh3zhndprzf3dn6aha4i")
|
||||
(mozilla-patch "icecat-bug-881832-pt4.patch" "7950c4d5bd7c" "0jhkg5hq5yfy7rh21k1mpbsbr81ql85aazym30zy3n2cf28xxhd7")
|
||||
(mozilla-patch "icecat-bug-881832-pt5.patch" "972734ec21b6" "073i4v1f1ydy49i57pvzscz95sjr5bbk9s5sajxvmmcsmwhpjdfy")
|
||||
(mozilla-patch "icecat-CVE-2016-9905-pt1.patch" "aebd3687e05e" "1qz6hdgflcrqyg7fv66cbg23v4b7q5bc2yxzrgjxs4j1d7jy1s0s")
|
||||
(mozilla-patch "icecat-CVE-2016-9905-pt2.patch" "63d8e5cd27cb" "11fsgyngy7v59ma30xdbmycwf4izwikzvaljngm3ks4534inpl4a")
|
||||
(mozilla-patch "icecat-bug-1279202.patch" "e560997291af" "1hn35slasfcj3ryka4fsarx4l9r99z0iwj67fmbv6zxz4z133kks")
|
||||
(mozilla-patch "icecat-CVE-2016-9902.patch" "21c615b65048" "0ibgsxa36x9ajn2jqbhxxvrfvj6x6iyspsmzzn4brdz11n93skhr")
|
||||
(mozilla-patch "icecat-CVE-2016-9901.patch" "c15e5afc0430" "17gj32agqs94548z8lvz0l6zz3kbwajn8as0y4iw5nb6jsll4c66")
|
||||
(mozilla-patch "icecat-CVE-2016-9893-pt5.patch" "46163fb1cb34" "1yikayczfgfla3aka0159apq3149d52sgvlca0sivx4myd0lvjm7")
|
||||
(mozilla-patch "icecat-CVE-2016-9893-pt6.patch" "cde2a37100f5" "100abggnhwyw84almxrkxqfpyfkd4pqkcrh5y9g4d3jd2h16asvl")
|
||||
(mozilla-patch "icecat-CVE-2016-9893-pt7.patch" "9b78ab1e6d07" "19ib6bp96xk000ll40b8qxvizkncyzclz2rsb9w5fa42qs9978ff")
|
||||
(mozilla-patch "icecat-CVE-2016-9893-pt8.patch" "78ebf9c9dfb0" "1shgr4rk6r2zxr1qqk1j3qnnqzqxnbi093qhlrfh8q5q1ivqf6k1")
|
||||
(mozilla-patch "icecat-CVE-2016-9893-pt9.patch" "a46a9f16823c" "0dwkyz3kcqnfcbhbfh2lss7s0yh87rgzb871qxx3x4ynyqph9mnz")
|
||||
(mozilla-patch "icecat-CVE-2017-5376.patch" "6bc7cc7a33a6" "1wggcqv84n8mp7xps7hy4rwy61fkh45imfqzc0b46s3w5hyhypn2")
|
||||
(mozilla-patch "icecat-CVE-2016-9893-pt10.patch" "778f65148b40" "0j2a153sk0654vv2lnxjib4lwml3mlqn6vs46c2pp82iba8nyfrm")
|
||||
(mozilla-patch "icecat-CVE-2016-9895.patch" "94bd2b43c766" "10h0qpr6m9cqyqxxnkbb6mzb3cagavzlynkxgd7a4izyq1bv28rk")
|
||||
(mozilla-patch "icecat-CVE-2016-9893-pt11.patch" "893de7431d51" "11gyik8mwipl6ipypkvdq519pw7ccbg0g0bnvxb7271n44cqqcq5")
|
||||
(mozilla-patch "icecat-CVE-2017-5383-pt1.patch" "b21dee058b2c" "005khpimffqzas7slajid4dd2c15nyk7rjk6fsps87bgnx0gx0s4")
|
||||
(mozilla-patch "icecat-bug-1258410-pt1.patch" "cd23c5d74be8" "1myzkpzg6pmjacjz8az06m9kz84in1mwsiaw5sgx47pm02598wm5")
|
||||
(mozilla-patch "icecat-bug-1258410-pt2.patch" "b83594617d15" "171cqflc9jh47az96im1whwhyq4ayicspqsczsmn2x5ll9lqw5fq")
|
||||
(mozilla-patch "icecat-CVE-2017-5380.patch" "d6c6f5e4e641" "10x9f46ylm2q3i669hj1csd6agdm8w7xa0iln691z8ayg2hcrxdz")
|
||||
(mozilla-patch "icecat-CVE-2017-5373-pt1.patch" "122f5fbfc563" "05pp2f4pg4j8a8pdgjhfrc8g2chhkhsarn9n8sbyag0fy3ig1cvd")
|
||||
(mozilla-patch "icecat-CVE-2017-5390.patch" "297c675ddadc" "1jc1b5i69vq1fvz3qfnnv52c9cj17bjbmfyzmqlw5ywna0wfvabz")
|
||||
(mozilla-patch "icecat-CVE-2017-5373-pt2.patch" "3cff736e3bb6" "1nxqwnl9zksvkfkmis7zica4xrhwfndjyy2sxc1dvrh9rshk1swq")
|
||||
(mozilla-patch "icecat-CVE-2017-5373-pt3.patch" "2732280adabc" "0zrpq3aybaw2yy38vs6883a4nw01x4kxn3lfqn9yhcgjvngmmyia")
|
||||
(mozilla-patch "icecat-CVE-2017-5373-pt4.patch" "81c9fdbd96e8" "0scv1zyi4vbsjdsyj4w70n5jd50baq0dzw3qpxqf1n69nfb9k214")
|
||||
(mozilla-patch "icecat-CVE-2017-5373-pt5.patch" "a386ca6a3013" "1m1scz2pxzmg9wya8is5dcr3mgvkx3g1xlykgigmw2mqs5zcdg9s")
|
||||
(mozilla-patch "icecat-CVE-2017-5373-pt6.patch" "0521b0e4707c" "1mv057p4hcvapibpbd9apryag19aiqdzafc6df2angl97m4mcbjx")
|
||||
(mozilla-patch "icecat-bug-1290037.patch" "bf0dd9ae6807" "02iw5ngsvvij95arnn69a744d6si27g1x41ixg16l51dbn900b3r")
|
||||
(mozilla-patch "icecat-bug-1322666.patch" "576f03e362c5" "0m88xs0jwhzx2lg12cvimxjknp7rpsvvhxxblhiqqjwnqip0pyc0")
|
||||
(mozilla-patch "icecat-bug-1304266.patch" "4d82e7314a72" "1rrrw4rw0xv7c2myiypcqh1fk47rk3fvic79zh6m04bl3knclr1r")
|
||||
(mozilla-patch "icecat-CVE-2017-5373-pt7.patch" "0617dd4b444d" "1ipags2cl2p521pm0qx110h5di2mgif6h1r3g8l9b0rc5m9b1y2j")
|
||||
(mozilla-patch "icecat-CVE-2017-5375.patch" "ead08c2a6c57" "1nnnwdr7411xpz6n9j869g6sz447cq6xsmds9cw6d24iprcinp5m")
|
||||
(mozilla-patch "icecat-CVE-2017-5378-pt1.patch" "c5e67d41bdd0" "05kwn5zv381lsiw9vbzm8fh6s1lddx47l8f4pwg487h9dj7vbdfq")
|
||||
(mozilla-patch "icecat-CVE-2017-5373-pt8.patch" "2ce94f2ea797" "1yrnjqpafjns68z99s1m6jins3agid7c1z3v9qgk5xzfcddl31pn")
|
||||
(mozilla-patch "icecat-CVE-2017-5373-pt9.patch" "e4ac8a66d3db" "1ggbh6nk005plm7kvp7qznbnlpidqkipxc5hlaqbjc3m0z9mypzl")
|
||||
(mozilla-patch "icecat-CVE-2017-5386.patch" "8c171b75a0c6" "1cplkgwkhqvb62q7s8cya2drjdswnlicv5d9a60fxvnp6m7a3z02")
|
||||
(mozilla-patch "icecat-CVE-2017-5383-pt2.patch" "79a31d8153bf" "0dzwk2hc741c0jr8xya4y8q59lk8mcgnvfdrdk0vzq1gby16b9zi")
|
||||
(mozilla-patch "icecat-CVE-2017-5378-pt2.patch" "747085a1cd93" "0rpc8hl0jka4akdjnlwya4x9v4pqa1r5vc4pkmxsgvqpp2vkq4m2")
|
||||
(mozilla-patch "icecat-bug-1331606.patch" "f0329536734b" "1br5shyfwp009y623wgjq60vhcp5k5zpzkgy4r3s5yrm5xyfcprf")
|
||||
(mozilla-patch "icecat-bug-1328642.patch" "237c1ca6e035" "0808g5j17var6wv6ivj08i43fwkga9abmmgmz5w3hb8mhajkjw58")
|
||||
(mozilla-patch "icecat-CVE-2017-5396.patch" "910ad552cbf5" "1qss3gc6n4myzwvwanc09xvyiq3hwhixn2xvpbk9xkfz2apdlfa6")
|
||||
(mozilla-patch "icecat-bug-1312827.patch" "5c894801eb1e" "03xyjwx9rfx5w7q6wq9if83fcfgrlvvbyxpsawzxxgybnizyy7g8")
|
||||
(mozilla-patch "icecat-bug-1191841.patch" "83ee87b301bd" "1kd9z4py372a2f1jg7jwvwri43vipf0k7lcvsg7b0cqr5p70zwcg")
|
||||
(mozilla-patch "icecat-bug-1234317.patch" "eb6f18dbfe8d" "1dh3263fvg3dxav09g6fn41ax4q1jmwp5fk6pl6shn16mrfha1qq")))
|
||||
(mozilla-patch "icecat-CVE-2017-5398-pt01.patch" "1a39a54b5fea" "0k3sbf2w2yng2rpv6wl9zrm5cbsgq3pslr19xwrk8sk753as79fp")
|
||||
(mozilla-patch "icecat-CVE-2017-5402.patch" "9828c3bb7b73" "0zgks0v9sqhwwkmry4daswvjwk6aqln6abx0iac1vwqqpg6swff6")
|
||||
(mozilla-patch "icecat-CVE-2017-5398-pt02.patch" "fa3268a1147e" "1jyd1hvp42pz5l15agmb1jhw74b38x8xnj9ih5v4pskv41bgmyg5")
|
||||
(mozilla-patch "icecat-CVE-2017-5400.patch" "347c10e4d6d1" "1w6yrm97l477q4ripbj0nimc87p4jscabvihpncxqbq9xzc4km7p")
|
||||
(mozilla-patch "icecat-CVE-2017-5410.patch" "fe4a2cda54ad" "0spcs93hpz13d8670jgvww80f0ynrbhwbh62fkv27lpr6wmqwqh1")
|
||||
(mozilla-patch "icecat-CVE-2017-5401.patch" "c38f8546be5f" "1sa22w9kzgynsn4c6zh4d66byskk5kffzbvlzrhyzvqjddypf9p8")
|
||||
(mozilla-patch "icecat-CVE-2017-5398-pt03.patch" "41c80ecafa99" "0r33arr5wcgl00zgncasiyl65bmm6jy45clxnbb75nzjmsd1zx1s")
|
||||
(mozilla-patch "icecat-CVE-2017-5405.patch" "381552c888b4" "1sjhh390cx1jqx74lxk6qd8f8ccppqgagqfhc9pnbm2m67hxvkj9")
|
||||
(mozilla-patch "icecat-CVE-2017-5407.patch" "4ba337cdb998" "0vyknizid2z9nvl31m08c7fknizhv8dh8m54apm39k8lx77vf70p")
|
||||
(mozilla-patch "icecat-CVE-2017-5398-pt04.patch" "886650fac531" "18fsr5dmav96ja0dah7mj34n8mjpckp0bbc32zjyaj5qx0m4h5cw")
|
||||
(mozilla-patch "icecat-CVE-2017-5409.patch" "0a22becb23cd" "19fshrq4qkj5s0mjrads6by84gy7rsq3k57gha6sw6rvx8chjaz6")
|
||||
(mozilla-patch "icecat-CVE-2017-5398-pt05.patch" "a0ead6ef09eb" "1hpsq81hhhq2a2dcq2dfndiwx93vvp5rfq0cgv6kwk2bsrq77wqq")
|
||||
(mozilla-patch "icecat-CVE-2017-5398-pt06.patch" "d3fede027d06" "1aw02p367cm0ayijdiiawlb7qhab6jwqwkakj317yd1cjnmkalwr")
|
||||
(mozilla-patch "icecat-CVE-2017-5398-pt07.patch" "ffca0f060bb4" "0qwisfp7idjj5nc1vp1afrf5lj66l2gp7rllkjmrqpz6cyfc708v")
|
||||
(mozilla-patch "icecat-CVE-2017-5398-pt08.patch" "4aa65b44dcb9" "07j6dz2b7hp1bkfvkxwgpn2wc3hqrgjgwpaz96fcpz8yadg2fssw")
|
||||
(mozilla-patch "icecat-bug-1318914.patch" "30e2382d800f" "0w8zky5i7zc5q943x37rdvi4wbcing0q7w9fcgvnnh5li2sbrsy8")
|
||||
(mozilla-patch "icecat-CVE-2017-5408.patch" "403d2300adc2" "06r4j48rc1fd9gvmvqy68mlqah5xfxpkvwmxk0gnqc364kpq9slk")
|
||||
(mozilla-patch "icecat-CVE-2017-5398-pt09.patch" "546ab5e99568" "05rdb9bm3n4lj0zq5a95xnwsb0vzirb9mbc2wf9xbi4xlamsgvvw")
|
||||
(mozilla-patch "icecat-bug-1311380.patch" "ef6eeb7f8846" "1w19is5blbrwf3wlmy6wzgabih8sxp2kmkffqcj2g4jypfwyqn73")
|
||||
(mozilla-patch "icecat-CVE-2017-5398-pt10.patch" "eec69810d80e" "1r20abhw7b38igsrdpkhcfwx9i9gmcxikv4y3sjr4wkbp684f7av")
|
||||
(mozilla-patch "icecat-CVE-2017-5398-pt11.patch" "fec35ce6e68b" "1imdfrs8dxz44rhsmvydh29w5j64cij6g5ggrmhvz3386xvlil2v")
|
||||
(mozilla-patch "icecat-CVE-2017-5398-pt12.patch" "725e2a217722" "06gfhi2ich279rjnxi15fb4igimsxnv5w6bx4g91js8wbvp2r3v0")
|
||||
(mozilla-patch "icecat-CVE-2017-5398-pt13.patch" "d905a2e3a4d9" "1ibxi2s0czj47b739zmmjzbln8lpn27hdg4b17w58vhbhzkq31cx")
|
||||
(mozilla-patch "icecat-CVE-2017-5398-pt14.patch" "0032560ae945" "0md3p5cix6nzbj5m199awc9gk52pygy5s9lx3a38vh3xvd92lsbj")
|
||||
(mozilla-patch "icecat-CVE-2017-5398-pt15.patch" "91dda1e79ad8" "0b5h8fhagczfqkdgby982w6qgkw9y11zxxpdbn89rwmjpyp9nghx")
|
||||
(mozilla-patch "icecat-CVE-2017-5404.patch" "556dd9e4a9e3" "0mbdx4xn1xs67n47ys9m42lc5ny96rz21ala848yajpdlxsz680g")
|
||||
(mozilla-patch "icecat-bug-1341137-pt1.patch" "e86e0423dad1" "0dk1v7lcs61nx76qxcibha3ygqri15ldcvwwsrsayff9fq6k0v4y")
|
||||
(mozilla-patch "icecat-bug-1341137-pt2.patch" "9aebee8b8cb9" "0m7p5iprhhwdv89aqqg7fla5szw6v7x2sll4ns0zg60pk4vm6izq")
|
||||
(mozilla-patch "icecat-bug-1341137-pt3.patch" "69f3d44bdb48" "1ad7rw6nmg3c49ylqxlqqkb6cm2f0ygfzrigs6b60a2zkjqhbl0h")
|
||||
(mozilla-patch "icecat-bug-1341137-pt4.patch" "22546e2cee64" "0gbwxa3p7qkq53hwnvxcqhx8h34qmnjdxy0h3ajik4mw76vrna9s")
|
||||
(mozilla-patch "icecat-bug-1341137-pt5.patch" "e5083d8a855a" "1247vbpqzf007nigbxxqd6nwgr1dxd4p8cd0dr45afqh19vhlapj")
|
||||
(mozilla-patch "icecat-bug-1339122.patch" "b0d156c7445e" "026jp5bb565yvhkmmicgygcn1lmak85p0466yl1vnjlx1rc8n724")))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
|
|
|
@ -98,7 +98,7 @@ arrays of data.")
|
|||
(define-public gstreamer
|
||||
(package
|
||||
(name "gstreamer")
|
||||
(version "1.10.3")
|
||||
(version "1.10.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -107,7 +107,7 @@ arrays of data.")
|
|||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0gdnxg5igbhnpjhrzp31w1ww95j805byqd6mj3x29wli54dxrfc5"))))
|
||||
"062jidnw17hkpva6ddygp80gyasyigfkpm1y7w56rk56a2pzbhjh"))))
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("out" "doc"))
|
||||
(arguments
|
||||
|
@ -146,7 +146,7 @@ This package provides the core library and elements.")
|
|||
(define-public gst-plugins-base
|
||||
(package
|
||||
(name "gst-plugins-base")
|
||||
(version "1.10.3")
|
||||
(version "1.10.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -154,9 +154,11 @@ This package provides the core library and elements.")
|
|||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"040pifl4cgsqqz2si4s1y5khj3zwm39w21siagxwp805swbrcag6"))
|
||||
(patches
|
||||
(search-patches "gst-plugins-base-fix-test-on-32bit.patch"))))
|
||||
"1dsyjf6rncsbg4rfj40cvf1wwpjj9h3j3c7bh4zp7jylnfv4blpn"))
|
||||
; (patches
|
||||
; (search-patches "gst-plugins-base-fix-test-on-32bit.patch"))
|
||||
|
||||
))
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("out" "doc"))
|
||||
(propagated-inputs
|
||||
|
@ -203,7 +205,7 @@ for the GStreamer multimedia library.")
|
|||
(define-public gst-plugins-good
|
||||
(package
|
||||
(name "gst-plugins-good")
|
||||
(version "1.10.3")
|
||||
(version "1.10.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -212,7 +214,7 @@ for the GStreamer multimedia library.")
|
|||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0mar8ss8bvpz699ql4kgndvna8qsv7kj372py4435ffl6hzfj1sf"))))
|
||||
"0zjdwxn83sp9wjp9rxjbyk8kf284g9av7l2v6rjldi586hacd1la"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("aalib" ,aalib)
|
||||
|
@ -268,14 +270,14 @@ developers consider to have good quality code and correct functionality.")
|
|||
(define-public gst-plugins-bad
|
||||
(package
|
||||
(name "gst-plugins-bad")
|
||||
(version "1.10.3")
|
||||
(version "1.10.4")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://gstreamer.freedesktop.org/src/"
|
||||
name "/" name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1rwla1p57yzygb68z2xk5l5kvqzj5w3nxq0davkwk139zd8r6294"))))
|
||||
"0rk9rlzf2b0hjw5hwbadz53yh4ls7vm3w3cshsa3n8isdd8axp93"))))
|
||||
(outputs '("out" "doc"))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
|
@ -345,7 +347,7 @@ par compared to the rest.")
|
|||
(define-public gst-plugins-ugly
|
||||
(package
|
||||
(name "gst-plugins-ugly")
|
||||
(version "1.10.3")
|
||||
(version "1.10.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -353,7 +355,7 @@ par compared to the rest.")
|
|||
name "/" name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1lkb8kznc9wxmhbp7k67b50y27nz8jp2x2flb91xzydz7b89f5f9"))))
|
||||
"0ngsiwcsz3jd08id4mc0qiy2q1n7h2kkvdnh3r1vm725m1ycg1k3"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("gst-plugins-base" ,gst-plugins-base)
|
||||
|
@ -384,7 +386,7 @@ distribution problems in some jurisdictions, e.g. due to patent threats.")
|
|||
(define-public gst-libav
|
||||
(package
|
||||
(name "gst-libav")
|
||||
(version "1.10.3")
|
||||
(version "1.10.4")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
|
@ -392,7 +394,7 @@ distribution problems in some jurisdictions, e.g. due to patent threats.")
|
|||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1aajayv63ardkbmcg7pnh2d87r067325a5wzinwihaw6n5jw2sws"))))
|
||||
"12r68ri03mgbbwsxyn6yklgfsq32rwvyq83zw0aq7m73fp5gx83c"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:configure-flags '("--with-system-libav")
|
||||
|
@ -422,7 +424,7 @@ compression formats through the use of the libav library.")
|
|||
(define-public python-gst
|
||||
(package
|
||||
(name "python-gst")
|
||||
(version "1.10.3")
|
||||
(version "1.10.4")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
|
@ -430,7 +432,7 @@ compression formats through the use of the libav library.")
|
|||
"gst-python-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1s5437bnk0j5hfg2gwfwq4b68l6vj1lfskxh73v6ikp0vw32vymx"))))
|
||||
"04l2hvvz9b0f3nyds1k3yfk5di8a91fpr6maj19c11mwp1s82l2r"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
;; XXX: Factorize python-sitedir with python-build-system.
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
;;; Copyright © 2016 Adonay "adfeno" Felipe Nogueira <https://libreplanet.org/wiki/User:Adfeno> <adfeno@openmailbox.org>
|
||||
;;; Copyright © 2016 Amirouche <amirouche@hypermove.net>
|
||||
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
|
||||
;;; Copyright © 2017 Andy Wingo <wingo@igalia.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -219,7 +220,7 @@ without requiring the source code to be rewritten.")
|
|||
(define-public guile-next
|
||||
(package (inherit guile-2.0)
|
||||
(name "guile-next")
|
||||
(version "2.1.5")
|
||||
(version "2.1.7")
|
||||
(replacement #f)
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
|
@ -227,7 +228,7 @@ without requiring the source code to be rewritten.")
|
|||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0r9y4hw17dlxahik4zsccfb2f3p2a07wqndfm251bgmam9hln6gi"))
|
||||
"0qf2664bglv5rrj4c99cc7gry7v9x0sqdyzgfg8zi8gm5wbcmqda"))
|
||||
(modules '((guix build utils)))
|
||||
|
||||
;; Remove the pre-built object files. Instead, build everything
|
||||
|
@ -428,22 +429,18 @@ more.")
|
|||
(define-public guile-reader
|
||||
(package
|
||||
(name "guile-reader")
|
||||
(version "0.6.1")
|
||||
(version "0.6.2")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://savannah/guile-reader/guile-reader-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"020wz5w8z6g79nbqifg2n496wxwkcjzh8xizpv6mz0hczpl155ma"))))
|
||||
"0592s2s8ampqmqwilc4fvcild6rb9gy79di6vxv5kcdmv23abkgx"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs `(("pkgconfig" ,pkg-config)
|
||||
("gperf" ,gperf)))
|
||||
(inputs `(("guile" ,guile-2.0)))
|
||||
(arguments `(#:configure-flags
|
||||
(let ((out (assoc-ref %outputs "out")))
|
||||
(list (string-append "--with-guilemoduledir="
|
||||
out "/share/guile/site/2.0")))))
|
||||
(synopsis "Framework for building readers for GNU Guile")
|
||||
(description
|
||||
"Guile-Reader is a simple framework for building readers for GNU Guile.
|
||||
|
@ -460,6 +457,9 @@ many readers as needed).")
|
|||
(home-page "http://www.nongnu.org/guile-reader/")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public guile2.2-reader
|
||||
(package-for-guile-2.2 guile-reader))
|
||||
|
||||
(define-public guile-ncurses
|
||||
(package
|
||||
(name "guile-ncurses")
|
||||
|
@ -617,17 +617,20 @@ The library is shipped with documentation in Info format and usage examples.")
|
|||
(define-public guile-lib
|
||||
(package
|
||||
(name "guile-lib")
|
||||
(version "0.2.3")
|
||||
(version "0.2.5")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://savannah/guile-lib/guile-lib-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0pwdd52vakni1fabaiav8v0ad7xp3bx8x3brijbr1mpgamm9dxqc"))))
|
||||
"1qbk485djgxqrbfjvk4b7w7y4x9xygf2qb8dqnl7885kajasx8qg"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases (modify-phases %standard-phases
|
||||
'(#:make-flags
|
||||
'("GUILE_AUTO_COMPILE=0") ;to prevent guild errors
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'patch-module-dir
|
||||
(lambda _
|
||||
(substitute* "src/Makefile.in"
|
||||
|
@ -636,13 +639,7 @@ The library is shipped with documentation in Info format and usage examples.")
|
|||
(("^godir = ([[:graph:]]+)")
|
||||
"godir = \
|
||||
$(libdir)/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache\n"))
|
||||
#t))
|
||||
(replace 'check
|
||||
(lambda _
|
||||
;; Work around a harmless test failure involving
|
||||
;; two-spaces-after-period rendering.
|
||||
(zero? (system* "make" "check" ;"-C" "unit-tests"
|
||||
"XFAIL_TESTS=texinfo.serialize.scm")))))))
|
||||
#t)))))
|
||||
(native-inputs `(("pkg-config" ,pkg-config)))
|
||||
(inputs `(("guile" ,guile-2.0)))
|
||||
(home-page "http://www.nongnu.org/guile-lib/")
|
||||
|
@ -1052,6 +1049,10 @@ interface for reading articles in any format.")
|
|||
(home-page "http://haunt.dthompson.us")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public guile2.2-haunt
|
||||
(package-for-guile-2.2
|
||||
(package (inherit haunt) (name "guile2.2-haunt"))))
|
||||
|
||||
(define-public guile-config
|
||||
(package
|
||||
(name "guile-config")
|
||||
|
@ -1641,6 +1642,38 @@ library for GNU Guile based on the actor model.
|
|||
Note that 8sync is only available for Guile 2.2 (guile-next in Guix).")
|
||||
(license license:lgpl3+)))
|
||||
|
||||
(define-public guile-fibers
|
||||
(package
|
||||
(name "guile-fibers")
|
||||
(version "1.0.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://wingolog.org/pub/fibers/fibers-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0vjkg72ghgdgphzbjz9ig8al8271rq8974viknb2r1rg4lz92ld0"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("texinfo" ,texinfo)
|
||||
("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
`(("guile" ,guile-next)))
|
||||
(synopsis "Lightweight concurrency facility for Guile")
|
||||
(description
|
||||
"Fibers is a Guile library that implements a a lightweight concurrency
|
||||
facility, inspired by systems like Concurrent ML, Go, and Erlang. A fiber is
|
||||
like a \"goroutine\" from the Go language: a lightweight thread-like
|
||||
abstraction. Systems built with Fibers can scale up to millions of concurrent
|
||||
fibers, tens of thousands of concurrent socket connections, and many parallel
|
||||
cores. The Fibers library also provides Concurrent ML-like channels for
|
||||
communication between fibers.
|
||||
|
||||
Note that Fibers makes use of some Guile 2.1/2.2-specific features and
|
||||
is not available for Guile 2.0.")
|
||||
(home-page "https://github.com/wingo/fibers")
|
||||
(license license:lgpl3+)))
|
||||
|
||||
(define-public guile-git
|
||||
(let ((revision "0")
|
||||
(commit "969514aa7224217bc3c1a4c5312a9469ac5f13d5"))
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
(define-public feh
|
||||
(package
|
||||
(name "feh")
|
||||
(version "2.18")
|
||||
(version "2.18.2")
|
||||
(home-page "https://feh.finalrewind.org/")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
|
@ -51,7 +51,7 @@
|
|||
name "-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"036lgv81d0vmrnmh1z1x360nr5avb2sk5jb1h3g5n6jijm8vzblx"))))
|
||||
"09f5rfzls4h5jcrp7ylwbiljp5qzc2nbw9p2csv0pnlaixj69gil"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases (alist-delete 'configure %standard-phases)
|
||||
|
@ -212,7 +212,7 @@ your images. Among its features are:
|
|||
(define-public catimg
|
||||
(package
|
||||
(name "catimg")
|
||||
(version "2.2.1")
|
||||
(version "2.2.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -221,10 +221,10 @@ your images. Among its features are:
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"14g90zwh2d3s13hgyxypx2vc0rj1g58l6zcxhgc84wsyxfxd6xpb"))))
|
||||
"1abkhrhw4r221lwn2vb8in3vmp6gxn3qlv34cqndr55v5gdpb9qz"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; No check target
|
||||
`(#:tests? #f ; no tests
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'configure
|
||||
|
@ -240,14 +240,16 @@ your images. Among its features are:
|
|||
#t)))
|
||||
(replace 'build
|
||||
(lambda _
|
||||
(zero? (system* "cmake" "-D"
|
||||
(string-append "CMAKE_INSTALL_PREFIX="
|
||||
(assoc-ref %outputs "out"))
|
||||
(let* ((out (assoc-ref %outputs "out"))
|
||||
(man (string-append out "/share/man/man1")))
|
||||
(zero? (system* "cmake"
|
||||
(string-append "-DCMAKE_INSTALL_PREFIX=" out)
|
||||
(string-append "-DMAN_OUTPUT_PATH=" man)
|
||||
"."))
|
||||
(zero? (system* "make"))))
|
||||
(zero? (system* "make")))))
|
||||
(add-before 'install 'install-script
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; The bashscript lacks an file extension, we have to rename
|
||||
;; The bash script lacks an file extension. We have to rename
|
||||
;; it so that the C program and the bash script can be happy
|
||||
;; side by side.
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
|
@ -257,7 +259,7 @@ your images. Among its features are:
|
|||
(string-append bin "/catimg.sh"))
|
||||
#t))))))
|
||||
(inputs
|
||||
`(("imagemagick" ,imagemagick))) ; For the bash script version
|
||||
`(("imagemagick" ,imagemagick))) ; for the bash script version
|
||||
(home-page "https://github.com/posva/catimg")
|
||||
(synopsis "Render images in the terminal")
|
||||
(description
|
||||
|
|
|
@ -868,14 +868,14 @@ convert, manipulate, filter and display a wide variety of image formats.")
|
|||
(define-public jasper
|
||||
(package
|
||||
(name "jasper")
|
||||
(version "2.0.10")
|
||||
(version "2.0.12")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://www.ece.uvic.ca/~frodo/jasper"
|
||||
"/software/jasper-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1s022mfxyw8jw60fgyj60lbm9h6bc4nk2751b0in8qsjwcl59n2l"))))
|
||||
"1njdbxv7d4anzrd476wjww2qsi96dd8vfnp4hri0srrqxpszl92v"))))
|
||||
(build-system cmake-build-system)
|
||||
(inputs `(("libjpeg" ,libjpeg)))
|
||||
(synopsis "JPEG-2000 library")
|
||||
|
|
|
@ -46,14 +46,14 @@
|
|||
;; The 7 release series has an incompatible API, while the 6 series is still
|
||||
;; maintained. Don't update to 7 until we've made sure that the ImageMagick
|
||||
;; users are ready for the 7-series API.
|
||||
(version "6.9.7-7")
|
||||
(version "6.9.7-9")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://imagemagick/ImageMagick-"
|
||||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"02x463z31j449pfm8czb7jlpkd3nx4a3yyjxq3bhpjfq13i20d62"))))
|
||||
"1fqvi6h96mfbyw292awiwsqs449sjmw6i9ib53c66nnq1zchw7l3"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags '("--with-frozenpaths" "--without-gcc-arch")
|
||||
|
@ -162,11 +162,12 @@ script.")
|
|||
(license (package-license imagemagick))))
|
||||
|
||||
(define-public graphicsmagick
|
||||
(let ((changeset "56c8cae") ; 3e01b
|
||||
(revision "1"))
|
||||
(let ((changeset "6156b4c2992d855ece6079653b3b93c3229fc4b8") ; fix CVE-2017-6335
|
||||
(revision "2"))
|
||||
(package
|
||||
(name "graphicsmagick")
|
||||
(version (string-append "1.3.25-" revision "." changeset))
|
||||
(version (string-append "1.3.25-" revision "."
|
||||
(string-take changeset 7)))
|
||||
(source (origin
|
||||
(method hg-fetch)
|
||||
(uri (hg-reference
|
||||
|
@ -179,7 +180,7 @@ script.")
|
|||
;; "/GraphicsMagick-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1s9apvkn0kxr6i4i5wlkfw1prja02rgk689n3cf822zc0dkycxdh"))))
|
||||
"08yfsn8mrqkwpax43vv1crfr55rcf004wwpzsinr5c6m0asqr08b"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
|
||||
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
|
||||
;;; Copyright © 2016, 2017 Roel Janssen <roel@gnu.org>
|
||||
;;; Copyright © 2017 Carlo Zancanaro <carlo@zancanaro.id.au>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -334,18 +335,26 @@ and is best suited to building Java projects. Ant uses XML to describe the
|
|||
build process and its dependencies, whereas Make uses Makefile format.")
|
||||
(license license:asl2.0)))
|
||||
|
||||
(define-public icedtea-6
|
||||
(define-public icedtea-7
|
||||
(let* ((version "2.6.9")
|
||||
(drop (lambda (name hash)
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"http://icedtea.classpath.org/download/drops/"
|
||||
"/icedtea7/" version "/" name ".tar.bz2"))
|
||||
(sha256 (base32 hash))))))
|
||||
(package
|
||||
(name "icedtea")
|
||||
(version "1.13.13")
|
||||
(version version)
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"http://icedtea.wildebeest.org/download/source/icedtea6-"
|
||||
"http://icedtea.wildebeest.org/download/source/icedtea-"
|
||||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0bg9sb4f7qbq77c0zf9m17p47ga0kf0r9622g9p12ysg26jd1ksg"))
|
||||
"1slmajiakq7sk137vgqq9c93r5s620a46lw2jwbnzxhysjw3wkwf"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(substitute* "Makefile.in"
|
||||
|
@ -360,58 +369,40 @@ build process and its dependencies, whereas Make uses Makefile format.")
|
|||
"jdk" ; Java Development Kit
|
||||
"doc")) ; all documentation
|
||||
(arguments
|
||||
`(;; There are many failing tests and many are known to fail upstream.
|
||||
;;
|
||||
;; * Hotspot VM tests:
|
||||
;; FAILED: compiler/7082949/Test7082949.java
|
||||
;; FAILED: compiler/7088020/Test7088020.java
|
||||
;; FAILED: runtime/6929067/Test6929067.sh
|
||||
;; FAILED: serviceability/sa/jmap-hashcode/Test8028623.java
|
||||
;; => Test results: passed: 161; failed: 4
|
||||
;;
|
||||
;; * langtools tests:
|
||||
;; FAILED: com/sun/javadoc/testHtmlDefinitionListTag/TestHtmlDefinitionListTag.java
|
||||
;; FAILED: tools/javac/6627362/T6627362.java
|
||||
;; FAILED: tools/javac/7003595/T7003595.java
|
||||
;; FAILED: tools/javac/7024568/T7024568.java
|
||||
;; FAILED: tools/javap/4111861/T4111861.java
|
||||
;; FAILED: tools/javap/ListTest.java
|
||||
;; FAILED: tools/javap/OptionTest.java
|
||||
;; FAILED: tools/javap/T4884240.java
|
||||
;; FAILED: tools/javap/T4975569.java
|
||||
;; --> fails because of insignificant whitespace differences
|
||||
;; in output of javap
|
||||
;; FAILED: tools/javap/T6868539.java
|
||||
;; => Test results: passed: 1,445; failed: 10
|
||||
;;
|
||||
;; * JDK tests:
|
||||
;; Tests are incomplete because of a segfault after this test:
|
||||
;; javax/crypto/spec/RC5ParameterSpec/RC5ParameterSpecEquals.java
|
||||
;; A bug report has already been filed upstream:
|
||||
;; http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2188
|
||||
;;
|
||||
;; The tests require xvfb-run, a wrapper script around Xvfb, which
|
||||
;; has not been packaged yet. Without it many AWT tests fail, so I
|
||||
;; made no attempts to make a list of failing JDK tests. At least
|
||||
;; 222 tests are failing of which at least 132 are AWT tests.
|
||||
`(;; There are many test failures. Some are known to
|
||||
;; fail upstream, others relate to not having an X
|
||||
;; server running at test time, yet others are a
|
||||
;; complete mystery to me.
|
||||
|
||||
;; hotspot: passed: 241; failed: 45; error: 2
|
||||
;; langtools: passed: 1,934; failed: 26
|
||||
;; jdk: unknown
|
||||
#:tests? #f
|
||||
|
||||
;; The DSOs use $ORIGIN to refer to each other, but (guix build
|
||||
;; gremlin) doesn't support it yet, so skip this phase.
|
||||
#:validate-runpath? #f
|
||||
|
||||
;; Apparently, the C locale is needed for some of the tests.
|
||||
#:locale "C"
|
||||
|
||||
#:modules ((guix build utils)
|
||||
(guix build gnu-build-system)
|
||||
(ice-9 match)
|
||||
(ice-9 popen)
|
||||
(ice-9 rdelim)
|
||||
(srfi srfi-19))
|
||||
(srfi srfi-19)
|
||||
(srfi srfi-26))
|
||||
|
||||
#:configure-flags
|
||||
(let* ((gcjdir (assoc-ref %build-inputs "gcj"))
|
||||
(ecj (string-append gcjdir "/share/java/ecj.jar"))
|
||||
(jdk (string-append gcjdir "/lib/jvm/"))
|
||||
(gcj (string-append gcjdir "/bin/gcj")))
|
||||
`("--enable-bootstrap"
|
||||
;; TODO: package pcsc and sctp, and add to inputs
|
||||
`("--disable-system-pcsc"
|
||||
"--disable-system-sctp"
|
||||
"--enable-bootstrap"
|
||||
"--enable-nss"
|
||||
"--without-rhino"
|
||||
"--disable-downloading"
|
||||
|
@ -422,24 +413,46 @@ build process and its dependencies, whereas Make uses Makefile format.")
|
|||
,(string-append "--with-gcj=" gcj)
|
||||
,(string-append "--with-jdk-home=" jdk)
|
||||
,(string-append "--with-java=" jdk "/bin/java")))
|
||||
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'unpack
|
||||
(lambda* (#:key source inputs #:allow-other-keys)
|
||||
(and (zero? (system* "tar" "xvf" source))
|
||||
(begin
|
||||
(chdir (string-append "icedtea6-" ,version))
|
||||
(mkdir "openjdk.src")
|
||||
(let ((target (string-append "icedtea-" ,version))
|
||||
(unpack (lambda* (name #:optional dir)
|
||||
(let ((dir (or dir
|
||||
(string-drop-right name 5))))
|
||||
(mkdir dir)
|
||||
(zero? (system* "tar" "xvf"
|
||||
(assoc-ref inputs name)
|
||||
"-C" dir
|
||||
"--strip-components=1"))))))
|
||||
(mkdir target)
|
||||
(and
|
||||
(zero? (system* "tar" "xvf" source
|
||||
"-C" target "--strip-components=1"))
|
||||
(chdir target)
|
||||
(unpack "openjdk-src" "openjdk.src")
|
||||
(with-directory-excursion "openjdk.src"
|
||||
(copy-file (assoc-ref inputs "openjdk6-src")
|
||||
"openjdk6-src.tar.xz")
|
||||
(zero? (system* "tar" "xvf" "openjdk6-src.tar.xz")))))))
|
||||
(add-after 'unpack 'patch-patches
|
||||
(lambda _
|
||||
;; shebang in patches so that they apply cleanly
|
||||
(substitute* '("patches/jtreg-jrunscript.patch"
|
||||
"patches/hotspot/hs23/drop_unlicensed_test.patch")
|
||||
(("#!/bin/sh") (string-append "#!" (which "sh"))))
|
||||
(for-each unpack
|
||||
(filter (cut string-suffix? "-drop" <>)
|
||||
(map (match-lambda
|
||||
((name . _) name))
|
||||
inputs))))
|
||||
#t))))
|
||||
(add-after 'unpack 'fix-x11-extension-include-path
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "openjdk.src/jdk/make/sun/awt/mawt.gmk"
|
||||
(((string-append "\\$\\(firstword \\$\\(wildcard "
|
||||
"\\$\\(OPENWIN_HOME\\)"
|
||||
"/include/X11/extensions\\).*$"))
|
||||
(string-append (assoc-ref inputs "libxrender")
|
||||
"/include/X11/extensions"
|
||||
" -I" (assoc-ref inputs "libxtst")
|
||||
"/include/X11/extensions"
|
||||
" -I" (assoc-ref inputs "libxinerama")
|
||||
"/include/X11/extensions"))
|
||||
(("\\$\\(wildcard /usr/include/X11/extensions\\)\\)") ""))
|
||||
#t))
|
||||
(add-after 'unpack 'patch-paths
|
||||
(lambda _
|
||||
|
@ -524,43 +537,56 @@ build process and its dependencies, whereas Make uses Makefile format.")
|
|||
(("AZ=AZM;2005-12-31-20-00-00;AZN") "AZ=AZN")
|
||||
(("MZ=MZM;2006-06-30-22-00-00;MZN") "MZ=MZN")
|
||||
(("RO=ROL;2005-06-30-21-00-00;RON") "RO=RON")
|
||||
(("TR=TRL;2004-12-31-22-00-00;TRY") "TR=TRY")))))
|
||||
(("TR=TRL;2004-12-31-22-00-00;TRY") "TR=TRY")))
|
||||
#t))
|
||||
(add-before 'configure 'set-additional-paths
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let* ((gcjdir (assoc-ref %build-inputs "gcj"))
|
||||
(gcjlib (string-append gcjdir "/lib"))
|
||||
;; Get target-specific include directory so that
|
||||
(let ( ;; Get target-specific include directory so that
|
||||
;; libgcj-config.h is found when compiling hotspot.
|
||||
(gcjinclude (let* ((port (open-input-pipe "gcj -print-file-name=include"))
|
||||
(str (read-line port)))
|
||||
(close-pipe port)
|
||||
str)))
|
||||
(substitute* "openjdk.src/jdk/make/common/shared/Sanity.gmk"
|
||||
(("ALSA_INCLUDE=/usr/include/alsa/version.h")
|
||||
(string-append "ALSA_INCLUDE="
|
||||
(assoc-ref inputs "alsa-lib")
|
||||
"/include/alsa/version.h")))
|
||||
(setenv "CC" "gcc")
|
||||
(setenv "CPATH"
|
||||
(string-append gcjinclude ":"
|
||||
(assoc-ref %build-inputs "libxrender")
|
||||
(assoc-ref inputs "libxcomposite")
|
||||
"/include/X11/extensions" ":"
|
||||
(assoc-ref %build-inputs "libxtst")
|
||||
(assoc-ref inputs "libxrender")
|
||||
"/include/X11/extensions" ":"
|
||||
(assoc-ref %build-inputs "libxinerama")
|
||||
(assoc-ref inputs "libxtst")
|
||||
"/include/X11/extensions" ":"
|
||||
(assoc-ref inputs "libxinerama")
|
||||
"/include/X11/extensions" ":"
|
||||
(or (getenv "CPATH") "")))
|
||||
(setenv "ALT_OBJCOPY" (which "objcopy"))
|
||||
(setenv "ALT_CUPS_HEADERS_PATH"
|
||||
(string-append (assoc-ref %build-inputs "cups")
|
||||
(string-append (assoc-ref inputs "cups")
|
||||
"/include"))
|
||||
(setenv "ALT_FREETYPE_HEADERS_PATH"
|
||||
(string-append (assoc-ref %build-inputs "freetype")
|
||||
(string-append (assoc-ref inputs "freetype")
|
||||
"/include"))
|
||||
(setenv "ALT_FREETYPE_LIB_PATH"
|
||||
(string-append (assoc-ref %build-inputs "freetype")
|
||||
"/lib")))))
|
||||
(string-append (assoc-ref inputs "freetype")
|
||||
"/lib")))
|
||||
#t))
|
||||
(add-before 'check 'fix-test-framework
|
||||
(lambda _
|
||||
;; Fix PATH in test environment
|
||||
(substitute* "src/jtreg/com/sun/javatest/regtest/Main.java"
|
||||
(substitute* "test/jtreg/com/sun/javatest/regtest/Main.java"
|
||||
(("PATH=/bin:/usr/bin")
|
||||
(string-append "PATH=" (getenv "PATH"))))
|
||||
(substitute* "src/jtreg/com/sun/javatest/util/SysEnv.java"
|
||||
(substitute* "test/jtreg/com/sun/javatest/util/SysEnv.java"
|
||||
(("/usr/bin/env") (which "env")))
|
||||
(substitute* "openjdk.src/hotspot/test/test_env.sh"
|
||||
(("/bin/rm") (which "rm"))
|
||||
(("/bin/cp") (which "cp"))
|
||||
(("/bin/mv") (which "mv")))
|
||||
#t))
|
||||
(add-before 'check 'fix-hotspot-tests
|
||||
(lambda _
|
||||
|
@ -664,7 +690,8 @@ build process and its dependencies, whereas Make uses Makefile format.")
|
|||
(jdk (assoc-ref outputs "jdk")))
|
||||
(copy-recursively "openjdk.build/docs" doc)
|
||||
(copy-recursively "openjdk.build/j2re-image" jre)
|
||||
(copy-recursively "openjdk.build/j2sdk-image" jdk))))
|
||||
(copy-recursively "openjdk.build/j2sdk-image" jdk))
|
||||
#t))
|
||||
;; By default IcedTea only generates an empty keystore. In order to
|
||||
;; be able to use certificates in Java programs we need to generate a
|
||||
;; keystore from a set of certificates. For convenience we use the
|
||||
|
@ -706,7 +733,7 @@ build process and its dependencies, whereas Make uses Makefile format.")
|
|||
"-file" temp)))
|
||||
(display "yes\n" port)
|
||||
(when (not (zero? (status:exit-val (close-pipe port))))
|
||||
(error "failed to import" cert)))
|
||||
(format #t "failed to import ~a\n" cert)))
|
||||
(delete-file temp)))
|
||||
|
||||
;; This is necessary because the certificate directory contains
|
||||
|
@ -719,6 +746,15 @@ build process and its dependencies, whereas Make uses Makefile format.")
|
|||
"/lib/security"))
|
||||
(mkdir-p (string-append (assoc-ref outputs "jdk")
|
||||
"/jre/lib/security"))
|
||||
|
||||
;; The cacerts files we are going to overwrite are chmod'ed as
|
||||
;; read-only (444) in icedtea-8 (which derives from this
|
||||
;; package). We have to change this so we can overwrite them.
|
||||
(chmod (string-append (assoc-ref outputs "out")
|
||||
"/lib/security/" keystore) #o644)
|
||||
(chmod (string-append (assoc-ref outputs "jdk")
|
||||
"/jre/lib/security/" keystore) #o644)
|
||||
|
||||
(install-file keystore
|
||||
(string-append (assoc-ref outputs "out")
|
||||
"/lib/security"))
|
||||
|
@ -726,204 +762,6 @@ build process and its dependencies, whereas Make uses Makefile format.")
|
|||
(string-append (assoc-ref outputs "jdk")
|
||||
"/jre/lib/security"))
|
||||
#t))))))
|
||||
(native-inputs
|
||||
`(("ant" ,ant)
|
||||
("alsa-lib" ,alsa-lib)
|
||||
("attr" ,attr)
|
||||
("autoconf" ,autoconf)
|
||||
("automake" ,automake)
|
||||
("coreutils" ,coreutils)
|
||||
("diffutils" ,diffutils) ;for tests
|
||||
("gawk" ,gawk)
|
||||
("grep" ,grep)
|
||||
("libtool" ,libtool)
|
||||
("pkg-config" ,pkg-config)
|
||||
("cups" ,cups)
|
||||
("wget" ,wget)
|
||||
("which" ,which)
|
||||
("cpio" ,cpio)
|
||||
("zip" ,zip)
|
||||
("unzip" ,unzip)
|
||||
("fastjar" ,fastjar)
|
||||
("libxslt" ,libxslt) ;for xsltproc
|
||||
("mit-krb5" ,mit-krb5)
|
||||
("nss" ,nss)
|
||||
("nss-certs" ,nss-certs)
|
||||
("libx11" ,libx11)
|
||||
("libxcomposite" ,libxcomposite)
|
||||
("libxt" ,libxt)
|
||||
("libxtst" ,libxtst)
|
||||
("libxi" ,libxi)
|
||||
("libxinerama" ,libxinerama)
|
||||
("libxrender" ,libxrender)
|
||||
("libjpeg" ,libjpeg)
|
||||
("libpng" ,libpng)
|
||||
("giflib" ,giflib)
|
||||
("perl" ,perl)
|
||||
("procps" ,procps) ;for "free", even though I'm not sure we should use it
|
||||
("openjdk6-src"
|
||||
,(origin
|
||||
(method url-fetch)
|
||||
(uri "https://java.net/downloads/openjdk6/openjdk-6-src-b41-04_jan_2017.tar.xz")
|
||||
(sha256
|
||||
(base32
|
||||
"058szix0j280g14jzajvsixx1j2dxmc10r848f5swpy6rr8x8d4f"))))
|
||||
("lcms" ,lcms)
|
||||
("zlib" ,zlib)
|
||||
("gtk" ,gtk+-2)
|
||||
("fontconfig" ,fontconfig)
|
||||
("freetype" ,freetype)
|
||||
("gcj" ,gcj)))
|
||||
(home-page "http://icedtea.classpath.org")
|
||||
(synopsis "Java development kit")
|
||||
(description
|
||||
"The OpenJDK built with the IcedTea build harness.")
|
||||
;; IcedTea is released under the GPL2 + Classpath exception, which is the
|
||||
;; same license as both GNU Classpath and OpenJDK.
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public icedtea-7
|
||||
(let* ((version "2.6.9")
|
||||
(drop (lambda (name hash)
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"http://icedtea.classpath.org/download/drops/"
|
||||
"/icedtea7/" version "/" name ".tar.bz2"))
|
||||
(sha256 (base32 hash))))))
|
||||
(package (inherit icedtea-6)
|
||||
(version version)
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"http://icedtea.wildebeest.org/download/source/icedtea-"
|
||||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1slmajiakq7sk137vgqq9c93r5s620a46lw2jwbnzxhysjw3wkwf"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(substitute* "Makefile.in"
|
||||
;; link against libgcj to avoid linker error
|
||||
(("-o native-ecj")
|
||||
"-lgcj -o native-ecj")
|
||||
;; do not leak information about the build host
|
||||
(("DISTRIBUTION_ID=\"\\$\\(DIST_ID\\)\"")
|
||||
"DISTRIBUTION_ID=\"\\\"guix\\\"\"")))))
|
||||
(arguments
|
||||
`(;; There are many test failures. Some are known to
|
||||
;; fail upstream, others relate to not having an X
|
||||
;; server running at test time, yet others are a
|
||||
;; complete mystery to me.
|
||||
|
||||
;; hotspot: passed: 241; failed: 45; error: 2
|
||||
;; langtools: passed: 1,934; failed: 26
|
||||
;; jdk: unknown
|
||||
#:tests? #f
|
||||
;; Apparently, the C locale is needed for some of the tests.
|
||||
#:locale "C"
|
||||
,@(substitute-keyword-arguments (package-arguments icedtea-6)
|
||||
((#:modules modules)
|
||||
`((ice-9 match)
|
||||
(srfi srfi-26)
|
||||
,@modules))
|
||||
((#:configure-flags flags)
|
||||
;; TODO: package pcsc and sctp, and add to inputs
|
||||
`(append '("--disable-system-pcsc"
|
||||
"--disable-system-sctp")
|
||||
,flags))
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(replace 'unpack
|
||||
(lambda* (#:key source inputs #:allow-other-keys)
|
||||
(let ((target (string-append "icedtea-" ,version))
|
||||
(unpack (lambda* (name #:optional dir)
|
||||
(let ((dir (or dir
|
||||
(string-drop-right name 5))))
|
||||
(mkdir dir)
|
||||
(zero? (system* "tar" "xvf"
|
||||
(assoc-ref inputs name)
|
||||
"-C" dir
|
||||
"--strip-components=1"))))))
|
||||
(mkdir target)
|
||||
(and
|
||||
(zero? (system* "tar" "xvf" source
|
||||
"-C" target "--strip-components=1"))
|
||||
(chdir target)
|
||||
(unpack "openjdk-src" "openjdk.src")
|
||||
(with-directory-excursion "openjdk.src"
|
||||
(for-each unpack
|
||||
(filter (cut string-suffix? "-drop" <>)
|
||||
(map (match-lambda
|
||||
((name . _) name))
|
||||
inputs))))
|
||||
#t))))
|
||||
(replace
|
||||
'set-additional-paths
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let (;; Get target-specific include directory so that
|
||||
;; libgcj-config.h is found when compiling hotspot.
|
||||
(gcjinclude (let* ((port (open-input-pipe "gcj -print-file-name=include"))
|
||||
(str (read-line port)))
|
||||
(close-pipe port)
|
||||
str)))
|
||||
(substitute* "openjdk.src/jdk/make/common/shared/Sanity.gmk"
|
||||
(("ALSA_INCLUDE=/usr/include/alsa/version.h")
|
||||
(string-append "ALSA_INCLUDE="
|
||||
(assoc-ref inputs "alsa-lib")
|
||||
"/include/alsa/version.h")))
|
||||
(setenv "CC" "gcc")
|
||||
(setenv "CPATH"
|
||||
(string-append gcjinclude ":"
|
||||
(assoc-ref inputs "libxcomposite")
|
||||
"/include/X11/extensions" ":"
|
||||
(assoc-ref inputs "libxrender")
|
||||
"/include/X11/extensions" ":"
|
||||
(assoc-ref inputs "libxtst")
|
||||
"/include/X11/extensions" ":"
|
||||
(assoc-ref inputs "libxinerama")
|
||||
"/include/X11/extensions" ":"
|
||||
(or (getenv "CPATH") "")))
|
||||
(setenv "ALT_OBJCOPY" (which "objcopy"))
|
||||
(setenv "ALT_CUPS_HEADERS_PATH"
|
||||
(string-append (assoc-ref inputs "cups")
|
||||
"/include"))
|
||||
(setenv "ALT_FREETYPE_HEADERS_PATH"
|
||||
(string-append (assoc-ref inputs "freetype")
|
||||
"/include"))
|
||||
(setenv "ALT_FREETYPE_LIB_PATH"
|
||||
(string-append (assoc-ref inputs "freetype")
|
||||
"/lib")))))
|
||||
(add-after
|
||||
'unpack 'fix-x11-extension-include-path
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "openjdk.src/jdk/make/sun/awt/mawt.gmk"
|
||||
(((string-append "\\$\\(firstword \\$\\(wildcard "
|
||||
"\\$\\(OPENWIN_HOME\\)"
|
||||
"/include/X11/extensions\\).*$"))
|
||||
(string-append (assoc-ref inputs "libxrender")
|
||||
"/include/X11/extensions"
|
||||
" -I" (assoc-ref inputs "libxtst")
|
||||
"/include/X11/extensions"
|
||||
" -I" (assoc-ref inputs "libxinerama")
|
||||
"/include/X11/extensions"))
|
||||
(("\\$\\(wildcard /usr/include/X11/extensions\\)\\)") ""))
|
||||
#t))
|
||||
(replace
|
||||
'fix-test-framework
|
||||
(lambda _
|
||||
;; Fix PATH in test environment
|
||||
(substitute* "test/jtreg/com/sun/javatest/regtest/Main.java"
|
||||
(("PATH=/bin:/usr/bin")
|
||||
(string-append "PATH=" (getenv "PATH"))))
|
||||
(substitute* "test/jtreg/com/sun/javatest/util/SysEnv.java"
|
||||
(("/usr/bin/env") (which "env")))
|
||||
(substitute* "openjdk.src/hotspot/test/test_env.sh"
|
||||
(("/bin/rm") (which "rm"))
|
||||
(("/bin/cp") (which "cp"))
|
||||
(("/bin/mv") (which "mv")))
|
||||
#t))
|
||||
(delete 'patch-patches))))))
|
||||
(native-inputs
|
||||
`(("openjdk-src"
|
||||
,(drop "openjdk"
|
||||
|
@ -946,11 +784,55 @@ build process and its dependencies, whereas Make uses Makefile format.")
|
|||
("hotspot-drop"
|
||||
,(drop "hotspot"
|
||||
"16ijxy8br8dla339m4i90wr9xpf7s8z3nrhfyxm7jahr8injpzyl"))
|
||||
,@(fold alist-delete (package-native-inputs icedtea-6)
|
||||
'("openjdk6-src"))))
|
||||
("ant" ,ant)
|
||||
("attr" ,attr)
|
||||
("autoconf" ,autoconf)
|
||||
("automake" ,automake)
|
||||
("coreutils" ,coreutils)
|
||||
("diffutils" ,diffutils) ;for tests
|
||||
("gawk" ,gawk)
|
||||
("grep" ,grep)
|
||||
("libtool" ,libtool)
|
||||
("pkg-config" ,pkg-config)
|
||||
("wget" ,wget)
|
||||
("which" ,which)
|
||||
("cpio" ,cpio)
|
||||
("zip" ,zip)
|
||||
("unzip" ,unzip)
|
||||
("fastjar" ,fastjar)
|
||||
("libxslt" ,libxslt) ;for xsltproc
|
||||
("nss-certs" ,nss-certs)
|
||||
("perl" ,perl)
|
||||
("procps" ,procps) ;for "free", even though I'm not sure we should use it
|
||||
("gcj" ,gcj)))
|
||||
(inputs
|
||||
`(("libxcomposite" ,libxcomposite)
|
||||
,@(package-inputs icedtea-6))))))
|
||||
`(("alsa-lib" ,alsa-lib)
|
||||
("cups" ,cups)
|
||||
("libx11" ,libx11)
|
||||
("libxcomposite" ,libxcomposite)
|
||||
("libxt" ,libxt)
|
||||
("libxtst" ,libxtst)
|
||||
("libxi" ,libxi)
|
||||
("libxinerama" ,libxinerama)
|
||||
("libxrender" ,libxrender)
|
||||
("libjpeg" ,libjpeg)
|
||||
("libpng" ,libpng)
|
||||
("mit-krb5" ,mit-krb5)
|
||||
("nss" ,nss)
|
||||
("giflib" ,giflib)
|
||||
("fontconfig" ,fontconfig)
|
||||
("freetype" ,freetype)
|
||||
("lcms" ,lcms)
|
||||
("zlib" ,zlib)
|
||||
("gtk" ,gtk+-2)))
|
||||
(home-page "http://icedtea.classpath.org")
|
||||
(synopsis "Java development kit")
|
||||
(description
|
||||
"This package provides the Java development kit OpenJDK built with the
|
||||
IcedTea build harness.")
|
||||
;; IcedTea is released under the GPL2 + Classpath exception, which is the
|
||||
;; same license as both GNU Classpath and OpenJDK.
|
||||
(license license:gpl2+))))
|
||||
|
||||
(define-public icedtea-8
|
||||
(let* ((version "3.3.0")
|
||||
|
@ -973,10 +855,15 @@ build process and its dependencies, whereas Make uses Makefile format.")
|
|||
"02vmxa6gc6gizcri1fy797qmmm9y77vgi7gy9pwkk4agcw4zyr5p"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(substitute* "Makefile.am"
|
||||
;; do not leak information about the build host
|
||||
(("DISTRIBUTION_ID=\"\\$\\(DIST_ID\\)\"")
|
||||
"DISTRIBUTION_ID=\"\\\"guix\\\"\"")))))
|
||||
'(begin
|
||||
(substitute* "acinclude.m4"
|
||||
;; Do not embed build time
|
||||
(("(DIST_ID=\"Custom build).*$" _ prefix)
|
||||
(string-append prefix "\"\n"))
|
||||
;; Do not leak information about the build host
|
||||
(("DIST_NAME=\"\\$build_os\"")
|
||||
"DIST_NAME=\"guix\""))
|
||||
#t))))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments icedtea-7)
|
||||
((#:configure-flags flags)
|
||||
|
@ -1023,9 +910,6 @@ build process and its dependencies, whereas Make uses Makefile format.")
|
|||
(find-files "openjdk.src/jdk/src/solaris/native"
|
||||
"\\.c|\\.h"))
|
||||
#t)))
|
||||
;; FIXME: This phase is needed but fails with this version of
|
||||
;; IcedTea.
|
||||
(delete 'install-keystore)
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((doc (string-append (assoc-ref outputs "doc")
|
||||
|
@ -1074,13 +958,13 @@ build process and its dependencies, whereas Make uses Makefile format.")
|
|||
(define-public java-xz
|
||||
(package
|
||||
(name "java-xz")
|
||||
(version "1.5")
|
||||
(version "1.6")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://tukaani.org/xz/xz-java-" version ".zip"))
|
||||
(sha256
|
||||
(base32
|
||||
"0x6vn9dp9kxk83x2fp3394n95dk8fx9yg8jns9371iqsn0vy8ih1"))))
|
||||
"1z3p1ri1gvl07inxn0agx44ck8n7wrzfmvkz8nbq3njn8r9wba8x"))))
|
||||
(build-system ant-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; There are no tests to run.
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
(define-public jemalloc
|
||||
(package
|
||||
(name "jemalloc")
|
||||
(version "4.4.0")
|
||||
(version "4.5.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
|
@ -35,7 +35,7 @@
|
|||
version "/jemalloc-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"0cxhhybcbi02szavlxzwhvmqvddi7kgy71qxz2nz3lhqjwzadbm7"))))
|
||||
"10373xhpc10pgmai9fkc1z0rs029qlcb3c0qfnvkbwdlcibdh2cl"))))
|
||||
(build-system gnu-build-system)
|
||||
(home-page "http://jemalloc.net/")
|
||||
(synopsis "General-purpose scalable concurrent malloc implementation")
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
("python-pytz" ,python-pytz)
|
||||
("python-tzlocal" ,python-tzlocal)
|
||||
("python-six" ,python-six)
|
||||
("python-dateutil" , python-dateutil-2)
|
||||
("python-dateutil" ,python-dateutil)
|
||||
("python-parsedatetime" ,python-parsedatetime)))
|
||||
(home-page "http://maebert.github.io/jrnl/")
|
||||
(synopsis "Personal journal application")
|
||||
|
|
|
@ -2202,6 +2202,7 @@ makes starting KDE applications faster and reduces memory consumption.")
|
|||
"mirror://kde/stable/frameworks/"
|
||||
(version-major+minor version) "/"
|
||||
name "-" version ".tar.xz"))
|
||||
(patches (search-patches "kio-CVE-2017-6410.patch"))
|
||||
(sha256
|
||||
(base32
|
||||
"1hqc88c2idi9fkb7jy82csb0i740lghv0p2fg1gaglcarjdz7nia"))))
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
(define-public kdevelop
|
||||
(package
|
||||
(name "kdevelop")
|
||||
(version "5.0.3")
|
||||
(version "5.0.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -48,7 +48,7 @@
|
|||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"00gn2c66pyd9qaa0zhn2lqam0zsg7fbyi13hk32wclxq73y8v98p"))))
|
||||
"0max4g1i8xf5g7a8zm60qkr2j8w5bsqzxz914z43fj5ipnr4448r"))))
|
||||
(build-system cmake-build-system)
|
||||
(native-inputs
|
||||
`(("extra-cmake-modules" ,extra-cmake-modules)
|
||||
|
@ -148,15 +148,15 @@ for some KDevelop language plugins (Ruby, PHP, CSS...).")
|
|||
(define-public kdevplatform
|
||||
(package
|
||||
(name "kdevplatform")
|
||||
(version "5.0.3")
|
||||
(version "5.0.4")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/KDE/kdevplatform/archive/v"
|
||||
version ".tar.gz"))
|
||||
(uri (string-append "mirror://kde/stable/kdevelop"
|
||||
"/" version "/src/kdevplatform-"
|
||||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1k40wg08iwyswnpbs4bfh4yq38pp0qi78shjh4pf7yfa2kbid30j"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))))
|
||||
"0wfl5azblnpmc7hydfvm7450343m1v7cr2g9gw0qs1432gbzraq1"))))
|
||||
(build-system cmake-build-system)
|
||||
(native-inputs
|
||||
`(("extra-cmake-modules" ,extra-cmake-modules)
|
||||
|
|
|
@ -77,7 +77,7 @@ and freshness without requiring additional information from the user.")
|
|||
(define-public ldc-bootstrap
|
||||
(package
|
||||
(name "ldc")
|
||||
(version "0.17.2")
|
||||
(version "0.17.3")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
|
@ -86,7 +86,7 @@ and freshness without requiring additional information from the user.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0iksl6cvhsiwnlh15b7s9v8f3grxk27jn0vja9n4sad7fvfwmmlc"))))
|
||||
"135rgwwk82ccqp4n3fhqz4696jmvip90fg5ql2kccq5h1r71gb82"))))
|
||||
(build-system cmake-build-system)
|
||||
(supported-systems '("x86_64-linux" "i686-linux" "armhf-linux"))
|
||||
(arguments
|
||||
|
@ -140,7 +140,7 @@ and freshness without requiring additional information from the user.")
|
|||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"07hh3ic3r755mq9hn9gfr0wlc5y8cr91xz2ydb6gqy4zy8jgp5s9"))
|
||||
"0qywnvnp019mmmr74aw90ir9f03iz0hc7cgzna609agsar0b27jl"))
|
||||
(patches (search-patches "ldc-disable-tests.patch"))))
|
||||
("druntime-src"
|
||||
,(origin
|
||||
|
@ -150,7 +150,7 @@ and freshness without requiring additional information from the user.")
|
|||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1m1dhday9dl3s04njmd29z7ism2xn2ksb9qlrwzykdgz27b3dk6x"))))
|
||||
"0z418n6x2fxac07sxpi4rl69069qiym4w6r9sjppn91q58qh8hjs"))))
|
||||
("dmd-testsuite-src"
|
||||
,(origin
|
||||
(method url-fetch)
|
||||
|
@ -159,7 +159,7 @@ and freshness without requiring additional information from the user.")
|
|||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0n7gvalxwfmia4gag53r9qhcnk2cqrw3n4icj1yri0zkgc27pm60"))))))
|
||||
"196mkfax5y3yqm3gz7jhqhnkjwrvr2m4a8nc9k41l0511ldzsk9x"))))))
|
||||
(home-page "http://wiki.dlang.org/LDC")
|
||||
(synopsis "LLVM compiler for the D programming language")
|
||||
(description
|
||||
|
@ -181,7 +181,7 @@ latest DMD frontend and uses LLVM as backend.")
|
|||
(package
|
||||
(inherit ldc-bootstrap)
|
||||
(name "ldc")
|
||||
(version "1.1.0")
|
||||
(version "1.1.1")
|
||||
;; Beta version needed to compile various scientific tools that require
|
||||
;; the newer beta versions, and won't compile successfully with the
|
||||
;; older stable version.
|
||||
|
@ -193,7 +193,7 @@ latest DMD frontend and uses LLVM as backend.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"10zkrmx9bcmhfxvgykm3fkjamzc8js96wm032bv0fyil5c9ja2y1"))))
|
||||
"0yjiwg8pnlm2286bwdkwasaqw6ys7lymrqvhh5xyb1adha1ndcav"))))
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
|
|
|
@ -26,10 +26,13 @@
|
|||
#:use-module (guix packages)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (gnu packages base)
|
||||
#:use-module (gnu packages python)
|
||||
#:use-module (guix build-system perl)
|
||||
#:use-module (gnu packages autotools)
|
||||
#:use-module (gnu packages pkg-config))
|
||||
#:use-module (gnu packages base)
|
||||
#:use-module (gnu packages perl)
|
||||
#:use-module (gnu packages pkg-config)
|
||||
#:use-module (gnu packages python)
|
||||
#:use-module (gnu packages tls))
|
||||
|
||||
(define-public libevent
|
||||
(package
|
||||
|
@ -149,3 +152,78 @@ resolution, asynchronous file system operations, and threading primitives.")
|
|||
;; A few files fall under other non-copyleft licenses; see 'LICENSE' for
|
||||
;; details.
|
||||
(license x11)))
|
||||
|
||||
(define-public perl-anyevent
|
||||
(package
|
||||
(name "perl-anyevent")
|
||||
(version "7.13")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://cpan/authors/id/M/ML/MLEHMANN/"
|
||||
"AnyEvent-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1b84ilkbrfbzqapv25x8z6gva92skbrf2srybdabb1wnxx6ky454"))))
|
||||
(build-system perl-build-system)
|
||||
(native-inputs
|
||||
`(("perl-canary-stability" ,perl-canary-stability)))
|
||||
(propagated-inputs
|
||||
`(("perl-async-interrupt" ,perl-async-interrupt)
|
||||
("perl-ev" ,perl-ev)
|
||||
("perl-guard" ,perl-guard)
|
||||
("perl-json" ,perl-json)
|
||||
("perl-json-xs" ,perl-json-xs)
|
||||
("perl-net-ssleay" ,perl-net-ssleay)
|
||||
("perl-task-weaken" ,perl-task-weaken)))
|
||||
(home-page "http://search.cpan.org/dist/AnyEvent")
|
||||
(synopsis
|
||||
"API for I/O, timer, signal, child process and completion events")
|
||||
(description
|
||||
"This module allows using a variety of events without forcing module
|
||||
authors to pick a specific event loop, and without noticable overhead.
|
||||
Currently supported event loops are EV, Event, Glib/Gtk2, Tk, Qt,
|
||||
@code{Event::Lib}, Irssi, @code{IO::Async} and POE (and thus also WxWidgets
|
||||
and Prima). It also comes with a very fast Pure Perl event loop that does
|
||||
not rely on XS.")
|
||||
(license (package-license perl))))
|
||||
|
||||
(define-public perl-ev
|
||||
(package
|
||||
(name "perl-ev")
|
||||
(version "4.22")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://cpan/authors/id/M/ML/MLEHMANN/EV-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"14d9115q8f2ca2q3vbcalm55zqsbx8xjq5aj098laj9f9rrzirra"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
;; Drop bundled libev.
|
||||
(delete-file-recursively "libev")
|
||||
#t))))
|
||||
(build-system perl-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'unpack-libev
|
||||
;; This package requires the libev *sources* in order
|
||||
;; to build. Unpack system libev here...
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(mkdir "./libev")
|
||||
(zero? (system* "tar" "-xf" (assoc-ref inputs "libev-source")
|
||||
"-C" "./libev" "--strip-components=1")))))))
|
||||
(native-inputs
|
||||
`(("libev-source" ,(package-source libev))
|
||||
("perl-canary-stability" ,perl-canary-stability)))
|
||||
(propagated-inputs
|
||||
`(("perl-common-sense" ,perl-common-sense)))
|
||||
(home-page "http://search.cpan.org/dist/EV")
|
||||
(synopsis "Perl interface to libev")
|
||||
(description
|
||||
"This module provides an interface to @code{libev}, a high performance
|
||||
full-featured event loop. It can be used through the @code{AnyEvent} module
|
||||
and still be faster than other event loops currently supported in Perl.")
|
||||
(license (package-license perl))))
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
(define-public ola
|
||||
(package
|
||||
(name "ola")
|
||||
(version "0.10.2")
|
||||
(version "0.10.3")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
|
@ -45,7 +45,7 @@
|
|||
(patches (search-patches "ola-readdir-r.patch"))
|
||||
(sha256
|
||||
(base32
|
||||
"09zx1c8nkj29shfdzkahrh9397m3mwnsy0gj7jrb63f89f3n2vlq"))))
|
||||
"1yf1yy9n64n73zjq2bwc0gik0dd3n05297hdrrma2qvb0imzm5h1"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("bison" ,bison)
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2016 Christopher Allan Webber <cwebber@dustycloud.org>
|
||||
;;; Copyright © 2016, 2017 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;; Copyright © 2016 Alex Kost <alezost@gmail.com>
|
||||
;;; Copyright © 2016, 2017 Alex Kost <alezost@gmail.com>
|
||||
;;; Copyright © 2016 Raymond Nicholson <rain1@openmailbox.org>
|
||||
;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
|
||||
;;; Copyright © 2016 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
||||
|
@ -107,6 +107,7 @@
|
|||
((string-prefix? "mips" arch) "mips")
|
||||
((string-prefix? "arm" arch) "arm")
|
||||
((string-prefix? "aarch64" arch) "arm64")
|
||||
((string-prefix? "alpha" arch) "alpha")
|
||||
(else arch))))
|
||||
|
||||
(define-public (system->defconfig system)
|
||||
|
@ -204,11 +205,10 @@ defconfig. Return the appropiate make target if applicable, otherwise return
|
|||
(define* (kernel-config arch #:key variant)
|
||||
"Return the absolute file name of the Linux-Libre build configuration file
|
||||
for ARCH and optionally VARIANT, or #f if there is no such configuration."
|
||||
(let* ((name (string-append "linux-libre-"
|
||||
(if variant (string-append variant "-") "")
|
||||
(let* ((name (string-append (if variant (string-append variant "-") "")
|
||||
(if (string=? "i386" arch) "i686" arch) ".conf"))
|
||||
(file (string-append "gnu/packages/" name)))
|
||||
(search-path %load-path file)))
|
||||
(file (string-append "linux-libre/" name)))
|
||||
(search-auxiliary-file file)))
|
||||
|
||||
(define %default-extra-linux-options
|
||||
`(;; https://lists.gnu.org/archive/html/guix-devel/2014-04/msg00039.html
|
||||
|
@ -348,8 +348,8 @@ It has been modified to remove all non-free binary blobs.")
|
|||
|
||||
(define %intel-compatible-systems '("x86_64-linux" "i686-linux"))
|
||||
|
||||
(define %linux-libre-version "4.10")
|
||||
(define %linux-libre-hash "167zzgkivpqsp07did25wjqsswddzp3gifcdkq7xk00llxlmspla")
|
||||
(define %linux-libre-version "4.10.1")
|
||||
(define %linux-libre-hash "0mvwrjny1bjqyjqjxff9m97j48ybfdw8qpdazr5rwk12234v4k3d")
|
||||
|
||||
(define-public linux-libre
|
||||
(make-linux-libre %linux-libre-version
|
||||
|
@ -358,14 +358,14 @@ It has been modified to remove all non-free binary blobs.")
|
|||
#:configuration-file kernel-config))
|
||||
|
||||
(define-public linux-libre-4.9
|
||||
(make-linux-libre "4.9.11"
|
||||
"1gypfg2984zr4z7hihnl3bbpxnk1mrqbynb6xd8ad2v2z04aw13q"
|
||||
(make-linux-libre "4.9.13"
|
||||
"16miggwcwfpm7kx0yz256x887rky9wgmp1grg850lf8sdkiz0a1p"
|
||||
%intel-compatible-systems
|
||||
#:configuration-file kernel-config))
|
||||
|
||||
(define-public linux-libre-4.4
|
||||
(make-linux-libre "4.4.50"
|
||||
"0c157kk0vgrb1fsyy4q3czqdg4npgql82n6p303afy8ylh2w6d3l"
|
||||
(make-linux-libre "4.4.52"
|
||||
"1fzcq9bbsxiij2fh6kgwrp417sy2j5gnbzs0wwlmznj7mvysl7qg"
|
||||
%intel-compatible-systems
|
||||
#:configuration-file kernel-config))
|
||||
|
||||
|
@ -373,7 +373,17 @@ It has been modified to remove all non-free binary blobs.")
|
|||
(make-linux-libre "4.1.38"
|
||||
"165kmzglhg63hn7y4q7r6cb2dpsljxiq1czvgyx0bkd1vd2bcvsa"
|
||||
%intel-compatible-systems
|
||||
#:configuration-file kernel-config))
|
||||
#:configuration-file kernel-config
|
||||
#:patches
|
||||
(list %boot-logo-patch
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri "\
|
||||
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=5edabca9d4cff7f1f2b68f0bac55ef99d9798ba4")
|
||||
(file-name "linux-libre-CVE-2017-6074.patch")
|
||||
(sha256
|
||||
(base32
|
||||
"1x40slfz1qxgiaznyy13bwlh34450pkyyrkljpyjlx6c4mrzb1jj"))))))
|
||||
|
||||
(define-public linux-libre-arm-generic
|
||||
(make-linux-libre %linux-libre-version
|
||||
|
@ -821,17 +831,25 @@ images more compressible.")
|
|||
(define-public strace
|
||||
(package
|
||||
(name "strace")
|
||||
(version "4.7")
|
||||
(version "4.16")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/strace/strace/" version
|
||||
"/strace-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"158iwk0pl2mfw93m1843xb7a2zb8p6lh0qim07rca6f1ff4dk764"))))
|
||||
"1vzhmpcy989i4k12q4cc438yal2ghhm6x7ychscjbhcf2yspqj4q"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-/bin/sh
|
||||
(lambda _
|
||||
(substitute* "strace.c"
|
||||
(("/bin/sh") (which "sh")))
|
||||
#t)))))
|
||||
(native-inputs `(("perl" ,perl)))
|
||||
(home-page "http://strace.sourceforge.net/")
|
||||
(home-page "https://strace.io/")
|
||||
(synopsis "System call tracer for Linux")
|
||||
(description
|
||||
"strace is a system call tracer, i.e. a debugging tool which prints out a
|
||||
|
@ -1022,7 +1040,7 @@ packet filter.")
|
|||
(define-public iproute
|
||||
(package
|
||||
(name "iproute2")
|
||||
(version "4.9.0")
|
||||
(version "4.10.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
|
@ -1030,7 +1048,7 @@ packet filter.")
|
|||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1i0n071hiqxw1gisngw2jln3kcp9sh47n6fj5hdwqrvp7w20zwy0"))))
|
||||
"1a59y1zkddvr7z0lh2y9iasbh9wpfc1n39p56xcd6jkhzk0y3c92"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no test suite
|
||||
|
@ -1039,6 +1057,7 @@ packet filter.")
|
|||
(string-append "BASH_COMPDIR=" out
|
||||
"/etc/bash_completion.d")
|
||||
(string-append "LIBDIR=" out "/lib")
|
||||
(string-append "HDRDIR=" out "/include")
|
||||
(string-append "SBINDIR=" out "/sbin")
|
||||
(string-append "CONFDIR=" out "/etc")
|
||||
(string-append "DOCDIR=" out "/share/doc/"
|
||||
|
@ -1075,10 +1094,10 @@ allows a system administrator to make use of all iproute2 features, including
|
|||
traffic control.
|
||||
|
||||
iproute2 is usually shipped in a package called iproute or iproute2 and
|
||||
consists of several tools, of which the most important are ip and tc. ip
|
||||
controls IPv4 and IPv6 configuration and tc stands for traffic control. Both
|
||||
tools print detailed usage messages and are accompanied by a set of
|
||||
manpages.")
|
||||
consists of several tools, of which the most important are @command{ip} and
|
||||
@command{tc}. @command{ip} controls IPv4 and IPv6 configuration and
|
||||
@command{tc} stands for traffic control. Both tools print detailed usage
|
||||
messages and are accompanied by a set of manpages.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public net-tools
|
||||
|
@ -2318,14 +2337,14 @@ about ACPI devices.")
|
|||
(define-public acpid
|
||||
(package
|
||||
(name "acpid")
|
||||
(version "2.0.23")
|
||||
(version "2.0.28")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/acpid2/acpid-"
|
||||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1vl7c6vc724v4jwki17czgj6lnrknnj1a6llm8gkl32i2gnam5j3"))))
|
||||
"043igasvp1l6nv5rzh4sksmymay2qn20anl4zm4zvwnkn1a3l34q"))))
|
||||
(build-system gnu-build-system)
|
||||
(home-page "https://sourceforge.net/projects/acpid2/")
|
||||
(synopsis "Daemon for delivering ACPI events to user-space programs")
|
||||
|
@ -3209,7 +3228,7 @@ of flash storage.")
|
|||
(define-public libseccomp
|
||||
(package
|
||||
(name "libseccomp")
|
||||
(version "2.3.1")
|
||||
(version "2.3.2")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/seccomp/libseccomp/"
|
||||
|
@ -3217,7 +3236,7 @@ of flash storage.")
|
|||
"/libseccomp-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0asnlkzqms520r0dra08dzcz5hh6hs7lkajfw9wij3vrd0hxsnzz"))))
|
||||
"18dwfxzsw3agiy2dxbflrkhmjgvlji0wwkk636nabh2ng41qrp1x"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("which" ,which)))
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
|
||||
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2016 Federico Beffa <beffa@fbengineering.ch>
|
||||
;;; Copyright © 2016 ng0 <ngillmann@runbox.com>
|
||||
;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net>
|
||||
;;; Copyright © 2016 Andy Patterson <ajpatter@uwaterloo.ca>
|
||||
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;;
|
||||
|
@ -37,16 +37,27 @@
|
|||
#:use-module (guix build-system asdf)
|
||||
#:use-module (guix build-system trivial)
|
||||
#:use-module (gnu packages base)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages fontutils)
|
||||
#:use-module (gnu packages maths)
|
||||
#:use-module (gnu packages multiprecision)
|
||||
#:use-module (gnu packages bdw-gc)
|
||||
#:use-module (gnu packages libffi)
|
||||
#:use-module (gnu packages libffcall)
|
||||
#:use-module (gnu packages readline)
|
||||
#:use-module (gnu packages sdl)
|
||||
#:use-module (gnu packages libsigsegv)
|
||||
#:use-module (gnu packages linux)
|
||||
#:use-module (gnu packages admin)
|
||||
#:use-module (gnu packages ed)
|
||||
#:use-module (gnu packages gl)
|
||||
#:use-module (gnu packages gcc)
|
||||
#:use-module (gnu packages glib)
|
||||
#:use-module (gnu packages gettext)
|
||||
#:use-module (gnu packages m4)
|
||||
#:use-module (gnu packages pkg-config)
|
||||
#:use-module (gnu packages version-control)
|
||||
#:use-module (gnu packages xorg)
|
||||
#:use-module (ice-9 match)
|
||||
#:use-module (srfi srfi-1))
|
||||
|
||||
|
@ -530,6 +541,69 @@ The core is 12 builtin special forms and 33 builtin functions.")
|
|||
(home-page "https://github.com/JeffBezanson/femtolisp")
|
||||
(license license:bsd-3))))
|
||||
|
||||
(define-public lush2
|
||||
(package
|
||||
(name "lush2")
|
||||
(version "2.0.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/lush/lush2/lush-"
|
||||
version ".tar.gz"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
(substitute* "src/unix.c"
|
||||
(("\\{ \"LUSH_DATE\", __DATE__ \\},") "")
|
||||
(("\\{ \"LUSH_TIME\", __TIME__ \\},") ""))
|
||||
(substitute* "src/main.c"
|
||||
(("\" \\(built \" __DATE__ \"\\)\"") ""))))
|
||||
(sha256
|
||||
(base32
|
||||
"02pkfn3nqdkm9fm44911dbcz0v3r0l53vygj8xigl6id5g3iwi4k"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(;; We have to add these LIBS so that they are found.
|
||||
#:configure-flags (list "LIBS=-lz"
|
||||
"X_EXTRA_LIBS=-lfontconfig"
|
||||
"--with-x")
|
||||
#:tests? #f)) ; No make check.
|
||||
(native-inputs `(("intltool" ,intltool)))
|
||||
(inputs
|
||||
`(("alsa-lib" ,alsa-lib)
|
||||
("sdl" ,sdl)
|
||||
("sdl-image" ,sdl-image)
|
||||
("sdl-mixer" ,sdl-mixer)
|
||||
("sdl-net" ,sdl-net)
|
||||
("sdl-ttf" ,sdl-ttf)
|
||||
("lapack" ,lapack)
|
||||
("libxft" ,libxft)
|
||||
("fontconfig" ,fontconfig)
|
||||
("gsl" ,gsl)
|
||||
("openblas" ,openblas)
|
||||
("glu" ,glu)
|
||||
("mesa" ,mesa)
|
||||
("mesa-utils" ,mesa-utils)
|
||||
("binutils" ,binutils)
|
||||
("libiberty" ,libiberty)
|
||||
("readline" ,readline)
|
||||
("zlib" ,zlib)
|
||||
("gettext-minimal" ,gettext-minimal)))
|
||||
(synopsis "Lisp Universal Shell")
|
||||
(description
|
||||
"Lush is an object-oriented Lisp interpreter/compiler with features
|
||||
designed to please people who want to prototype large numerical
|
||||
applications. Lush includes an extensive library of
|
||||
vector/matrix/tensor manipulation, numerous numerical libraries
|
||||
(including GSL, LAPACK, and BLAS), a set of graphic functions, a
|
||||
simple GUI toolkit, and interfaces to various graphic and multimedia
|
||||
libraries such as OpenGL, SDL, Video4Linux, and ALSA (video/audio
|
||||
grabbing), and others. Lush is an ideal frontend script language for
|
||||
programming projects written in C or other languages. Lush also has
|
||||
libraries for Machine Learning, Neural Nets and statistical estimation.")
|
||||
(home-page "http://lush.sourceforge.net/")
|
||||
(license license:lgpl2.1+)))
|
||||
|
||||
(define-public sbcl-alexandria
|
||||
(let ((revision "1")
|
||||
(commit "926a066611b7b11cb71e26c827a271e500888c30"))
|
||||
|
|
|
@ -283,18 +283,6 @@ communication. It takes an already established TCP connection and creates a
|
|||
secure session between the peers.")
|
||||
(license (package-license lua-5.1))))
|
||||
|
||||
(define-public lua5.1-sec-0.5
|
||||
(package
|
||||
(inherit lua5.1-sec)
|
||||
(version "0.5.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/brunoos/luasec/archive/"
|
||||
"luasec-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"01llf5bcrjmqqy6m65avqkajz7h79rvkka6rd131kwr10n75yp3d"))))))
|
||||
|
||||
(define-public lua-lgi
|
||||
(package
|
||||
(name "lua-lgi")
|
||||
|
|
|
@ -504,20 +504,21 @@ and a QP solver.")
|
|||
(define-public dlib
|
||||
(package
|
||||
(name "dlib")
|
||||
(version "19.1")
|
||||
(version "19.3")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"http://dlib.net/files/dlib-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"0p2pvcdalc6jhb6r99ybvjd9x74sclr0ngswdg9j2xl5pj7knbr4"))
|
||||
"0gfy83av717qymv53yv7ki6mgh6mdw4xcxxbjk8lrs72f8qvnrcw"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
;; Delete ~13MB of bundled dependencies.
|
||||
(delete-file-recursively "dlib/external")
|
||||
(delete-file-recursively "docs/dlib/external")))))
|
||||
(delete-file-recursively "docs/dlib/external")
|
||||
#t))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
|
@ -532,8 +533,7 @@ and a QP solver.")
|
|||
(add-after 'disable-asserts 'disable-failing-tests
|
||||
(lambda _
|
||||
;; One test times out on MIPS, so we need to disable it.
|
||||
;; The rest is known to fail on non-x86_64 platforms in the current release.
|
||||
;; Some have been fixed in git; this list should be readjusted next update.
|
||||
;; Others are flaky on some platforms.
|
||||
(let* ((system ,(or (%current-target-system)
|
||||
(%current-system)))
|
||||
(disabled-tests (cond
|
||||
|
@ -541,17 +541,16 @@ and a QP solver.")
|
|||
'("object_detector" ; timeout
|
||||
"data_io"))
|
||||
((string-prefix? "armhf" system)
|
||||
'("learning_to_track" "max_cost_assignment"))
|
||||
'("learning_to_track"))
|
||||
((string-prefix? "i686" system)
|
||||
'("optimization" "matrix2" "mpc"))
|
||||
'("optimization"))
|
||||
(else '()))))
|
||||
;; The following test fails due a bug in openblas < 0.2.18.
|
||||
(append! disabled-tests '("empirical_map"))
|
||||
(for-each
|
||||
(lambda (test)
|
||||
(substitute* "dlib/test/makefile"
|
||||
(((string-append "SRC \\+= " test "\\.cpp")) "")) #t)
|
||||
disabled-tests))))
|
||||
(((string-append "SRC \\+= " test "\\.cpp")) "")))
|
||||
disabled-tests)
|
||||
#t)))
|
||||
(replace 'check
|
||||
(lambda _
|
||||
;; No test target, so we build and run the unit tests here.
|
||||
|
@ -562,7 +561,9 @@ and a QP solver.")
|
|||
(zero? (system* "./dtest" "--runall")))))))
|
||||
(add-after 'install 'delete-static-library
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(delete-file (string-append (assoc-ref outputs "out") "/lib/libdlib.a")))))))
|
||||
(delete-file (string-append (assoc-ref outputs "out")
|
||||
"/lib/libdlib.a"))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
|
||||
;;; Copyright © 2015, 2016 Eric Bavier <bavier@member.fsf.org>
|
||||
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
|
||||
;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2016 Christopher Allan Webber <cwebber@dustycloud.org>
|
||||
;;; Copyright © 2016 Al McElrath <hello@yrns.org>
|
||||
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
|
||||
|
@ -214,14 +214,14 @@ aliasing facilities to work just as they would on normal mail.")
|
|||
(define-public mutt
|
||||
(package
|
||||
(name "mutt")
|
||||
(version "1.7.2")
|
||||
(version "1.8.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "ftp://ftp.mutt.org/pub/mutt/mutt-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1yazrl82s9fxmamnlvwmsxhwrxnwv6kwakgfmawda8ndhwb50lqm"))
|
||||
"1axdcylyv0p194y6lj1jx127g5yc74zqzzxdc014cjw02bd1x125"))
|
||||
(patches (search-patches "mutt-store-references.patch"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
|
@ -254,7 +254,7 @@ operating systems.")
|
|||
(package
|
||||
(inherit mutt)
|
||||
(name "neomutt")
|
||||
(version "20170113")
|
||||
(version "20170225")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -263,10 +263,12 @@ operating systems.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0cqr77q263b5qcmdw6g0qixdpk6gmzgzpa03v226nr55v2ips9jg"))))
|
||||
"00ll35g9pcanzrxsjp09vrmq6flml249dipcznrq2z4jy2zd386p"))))
|
||||
(inputs
|
||||
`(("cyrus-sasl" ,cyrus-sasl)
|
||||
("gdbm" ,gdbm)
|
||||
("lmdb" ,lmdb)
|
||||
("tokyocabinet" ,tokyocabinet)
|
||||
("gpgme" ,gpgme)
|
||||
("ncurses" ,ncurses)
|
||||
("gnutls" ,gnutls)
|
||||
|
@ -289,10 +291,11 @@ operating systems.")
|
|||
"--enable-gpgme"
|
||||
|
||||
;; database, implies header caching
|
||||
"--without-tokyocabinet"
|
||||
;; neomutt supports building multiple backends
|
||||
"--with-tokyocabinet"
|
||||
"--without-qdbm"
|
||||
"--without-bdb"
|
||||
"--without-lmdb"
|
||||
"--with-lmdb"
|
||||
"--with-gdbm"
|
||||
|
||||
"--with-gnutls"
|
||||
|
@ -659,14 +662,14 @@ invoking @command{notifymuch} from the post-new hook.")
|
|||
(define-public notmuch
|
||||
(package
|
||||
(name "notmuch")
|
||||
(version "0.23.5")
|
||||
(version "0.23.7")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://notmuchmail.org/releases/notmuch-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0ry2k9sdwd1vw8cf6svch8wk98523s07mwxvsf7b8kghqnrr89n6"))))
|
||||
"04w90c43zk23pys6prkqb14al408qypifcfj2qznqpwlf46v26zi"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:make-flags (list "V=1") ; Verbose test output.
|
||||
|
@ -1509,7 +1512,11 @@ maintained.")
|
|||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(doc (string-append out "/share/doc/khard")))
|
||||
(copy-recursively "misc/khard" doc)))))))
|
||||
(copy-recursively "misc/khard" doc)
|
||||
#t))))
|
||||
;; FIXME: check phase fails with
|
||||
;; "Config file /tmp/.config/khard/khard.conf not available"
|
||||
#:tests? #f))
|
||||
(propagated-inputs
|
||||
`(("python-vobject" ,python-vobject)
|
||||
("python-pyyaml" ,python-pyyaml)
|
||||
|
@ -1951,3 +1958,38 @@ installation on systems where resources are limited. Its features include:
|
|||
@item Rich and customisable texts for automated operations.
|
||||
@end enumerate\n")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public blists
|
||||
(package
|
||||
(name "blists")
|
||||
(version "1.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://download.openwall.net/pub/projects/"
|
||||
"blists/blists-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1gp51kmb8yv8d693wcpdslmwlbw5w2kgz4kxhrcaf7y89w8wy4qd"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; No tests
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(bin (string-append out "/bin")))
|
||||
(install-file "bindex" bin)
|
||||
(install-file "bit" bin)
|
||||
#t))))))
|
||||
(home-page "http://www.openwall.com/blists/")
|
||||
(synopsis "Web interface to mailing list archives")
|
||||
(description
|
||||
"Blists is a web interface to mailing list archives that works off
|
||||
indexed mbox files. There are two programs: @code{bindex} and @code{bit}.
|
||||
@code{bindex} generates or updates the index file (incremental updates
|
||||
are supported). @code{bit} is a CGI/SSI program that generates web pages
|
||||
on the fly. Both programs are written in C and are very fast.")
|
||||
(license license:expat)))
|
||||
|
|
|
@ -202,7 +202,7 @@ automatically.")
|
|||
(define-public txt2man
|
||||
(package
|
||||
(name "txt2man")
|
||||
(version "1.5.6")
|
||||
(version "1.6.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -211,7 +211,7 @@ automatically.")
|
|||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0sjq687jknq65wbnjh2siq8hc09ydpnlmrkrnwl66mrhd4n9g7fz"))))
|
||||
"168cj96974n2z0igin6j1ic1m45zyic7nm5ark7frq8j78rrx4zn"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no "check" target
|
||||
|
|
|
@ -104,7 +104,7 @@ convert it to structurally valid XHTML (or HTML).")
|
|||
(define-public cmark
|
||||
(package
|
||||
(name "cmark")
|
||||
(version "0.26.1")
|
||||
(version "0.27.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/jgm/cmark/archive/"
|
||||
|
@ -112,7 +112,7 @@ convert it to structurally valid XHTML (or HTML).")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1mpmcy4bbmc8m058zqs9dwx49lcfi7bdnfszsr9y66cwgylia1mm"))))
|
||||
"1da62ispca9aal2a36gaj87175rv5013pl7x740vk32y6lclr6v6"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
'(#:test-target "test"))
|
||||
|
|
|
@ -83,6 +83,7 @@
|
|||
#:use-module (gnu packages python)
|
||||
#:use-module (gnu packages readline)
|
||||
#:use-module (gnu packages tbb)
|
||||
#:use-module (gnu packages scheme)
|
||||
#:use-module (gnu packages shells)
|
||||
#:use-module (gnu packages tcl)
|
||||
#:use-module (gnu packages texinfo)
|
||||
|
@ -142,14 +143,14 @@ interactive dialogs to guide them.")
|
|||
(define-public coda
|
||||
(package
|
||||
(name "coda")
|
||||
(version "2.17.3")
|
||||
(version "2.18")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/stcorp/coda/releases/download/"
|
||||
version "/coda-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "04b9l3wzcix0mnfq77mwnil6cbr8h2mki8myvy0lzn236qcwaq1h"))
|
||||
(base32 "11asla1ap8vd73farqjlpb179sfiy0biydcwxjfcakrp9sf8v9bs"))
|
||||
(patches (search-patches "coda-use-system-libs.patch"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
|
@ -923,7 +924,7 @@ can solve two kinds of problems:
|
|||
(define-public octave
|
||||
(package
|
||||
(name "octave")
|
||||
(version "4.2.0")
|
||||
(version "4.2.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -931,7 +932,7 @@ can solve two kinds of problems:
|
|||
version ".tar.lz"))
|
||||
(sha256
|
||||
(base32
|
||||
"19vvliwxgip0af812vny5xy5r8kacyj7v62203mh4z2n3p14b78i"))))
|
||||
"09zhhch79jw3ynw39vizx0i2cbd2bjz3sp38pjdzraqrbivpwp92"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("lapack" ,lapack)
|
||||
|
@ -2008,7 +2009,9 @@ point numbers.")
|
|||
(define-public wxmaxima
|
||||
(package
|
||||
(name "wxmaxima")
|
||||
(version "16.12.2")
|
||||
;; Versions 16.12.0 to 16.12.2 have a bug which causes output lines to
|
||||
;; overlap. See <https://debbugs.gnu.org/25793>
|
||||
(version "16.04.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -2016,7 +2019,7 @@ point numbers.")
|
|||
version "/" name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0y22zhyhyxj2cbhzvs9c4pxr44i55ryfy5xi96d39bg2nbgs9h22"))))
|
||||
"1fpqzk1921isiqrpgpf433ldq41924qs9sy99fl1zn5661b2l73n"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("wxwidgets" ,wxwidgets)
|
||||
|
@ -2956,3 +2959,54 @@ algorithm for LCS. It is a fast program to compute the approximate
|
|||
Longest Commons Subsequence of a set of strings.")
|
||||
(home-page "https://github.com/gdv/Reduce-Expand-for-LCS")
|
||||
(license license:gpl3+))))
|
||||
|
||||
(define-public jacal
|
||||
(package
|
||||
(name "jacal")
|
||||
(version "1c4")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"http://groups.csail.mit.edu/mac/ftpdir/scm/jacal-"
|
||||
version ".zip"))
|
||||
(sha256 (base32
|
||||
"055zrn12a1dmy0dqkwrkq3fklbhg3yir6vn0lacp4mvbg8573a3q"))
|
||||
(patches (search-patches "jacal-fix-texinfo.patch"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'build 'pre-build
|
||||
;; Don't use upstream's script - it really doesn't fit into
|
||||
;; Guix's functional paradigm.
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(substitute* "Makefile"
|
||||
(("^install: install-script") "install: "))))
|
||||
(add-after 'install 'post-install
|
||||
;; Instead, we provide our own simplified script.
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let ((wrapper (string-append (assoc-ref outputs "out")
|
||||
"/bin/jacal")))
|
||||
(format (open wrapper (logior O_WRONLY O_CREAT))
|
||||
(string-append "#!~a\nexec ~a/bin/scm -ip1 "
|
||||
"-e '(slib:load \"~a/lib/jacal/math\") "
|
||||
"(math)' \"$@\"\n")
|
||||
(which "bash")
|
||||
(assoc-ref inputs "scm")
|
||||
(assoc-ref outputs "out"))
|
||||
(chmod wrapper #o555))))
|
||||
(replace 'configure
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(zero? (system* "./configure"
|
||||
(string-append "--prefix="
|
||||
(assoc-ref outputs "out")))))))))
|
||||
(inputs `(("scm" ,scm)))
|
||||
(native-inputs `(("unzip" ,unzip)
|
||||
("texinfo" ,texinfo)))
|
||||
(synopsis "Symbolic mathematics system")
|
||||
(description "GNU JACAL is an interactive symbolic mathematics program based on
|
||||
Scheme. It manipulate and simplify a range of mathematical expressions such
|
||||
as equations, scalars, vectors, and matrices.")
|
||||
(home-page "http://www.gnu.org/software/jacal")
|
||||
(license license:gpl3+)))
|
||||
|
||||
|
|
|
@ -495,14 +495,14 @@ end-to-end encryption support; XML console.")
|
|||
(define-public prosody
|
||||
(package
|
||||
(name "prosody")
|
||||
(version "0.9.10")
|
||||
(version "0.9.12")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://prosody.im/downloads/source/"
|
||||
"prosody-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0bv6s5c0iizz015hh1lxlwlw1iwvisywajm2rcrbdfyrskzfwdj8"))))
|
||||
"139yxqpinajl32ryrybvilh54ddb1q6s0ajjhlcs4a0rnwia6n8s"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no "check" target
|
||||
|
@ -572,8 +572,7 @@ end-to-end encryption support; XML console.")
|
|||
("lua5.1-expat" ,lua5.1-expat)
|
||||
("lua5.1-socket" ,lua5.1-socket)
|
||||
("lua5.1-filesystem" ,lua5.1-filesystem)
|
||||
;; See <https://prosody.im/doc/depends#luasec>.
|
||||
("lua5.1-sec" ,lua5.1-sec-0.5)))
|
||||
("lua5.1-sec" ,lua5.1-sec)))
|
||||
(home-page "https://prosody.im/")
|
||||
(synopsis "Jabber (XMPP) server")
|
||||
(description "Prosody is a modern XMPP communication server. It aims to
|
||||
|
|
|
@ -230,7 +230,7 @@ pre-defined or user-specifiable output format.")
|
|||
(define-public libmp3splt
|
||||
(package
|
||||
(name "libmp3splt")
|
||||
(version "0.8.1a")
|
||||
(version "0.9.2")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/mp3splt/libmp3splt/"
|
||||
|
@ -238,7 +238,7 @@ pre-defined or user-specifiable output format.")
|
|||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0d20r1bd4fgp9kp7w3qixjgll34czck9dgw59mx2kbhb0mhh00d8"))))
|
||||
"1p1mn2hsmj5cp40fnc8g1yfvk72p8pjxi866gjdkgjsqrr7xdvih"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs `(("libid3tag" ,libid3tag)
|
||||
("libmad" ,libmad)
|
||||
|
@ -263,7 +263,7 @@ This package contains the library.")
|
|||
(define-public mp3splt
|
||||
(package
|
||||
(name "mp3splt")
|
||||
(version "2.5.1")
|
||||
(version "2.6.2")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/mp3splt/mp3splt/"
|
||||
|
@ -271,8 +271,9 @@ This package contains the library.")
|
|||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"106dnka56prlc9nsfh300f8841am2lmkwlzgl9lkr25mgnc35wwh"))))
|
||||
"1aiv20gypb6r84qabz8gblk8vi42cg3x333vk2pi3fyqvl82phry"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs `(("pkg-config" ,pkg-config)))
|
||||
(inputs `(("libmp3splt" ,libmp3splt)))
|
||||
(synopsis "Utility for splitting mp3 and ogg vorbis files")
|
||||
(description
|
||||
|
|
|
@ -2061,6 +2061,8 @@ detailed track info including timbre, pitch, rhythm and loudness information.
|
|||
(base32
|
||||
"0bml11gfkxqd3i2jxkn5k2xllc4rvxjcyhs8an05gcyy1zp2bwvb"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f)) ; FIXME: Requires unpackaged python-flaky.
|
||||
(native-inputs
|
||||
`(("python-coverage" ,python-coverage)
|
||||
("python-mock" ,python-mock)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
|
||||
;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
|
@ -29,7 +29,7 @@
|
|||
(define-public nano
|
||||
(package
|
||||
(name "nano")
|
||||
(version "2.7.4")
|
||||
(version "2.7.5")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -37,7 +37,7 @@
|
|||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"135wzlv77p9za8679j2jpfkpvainvyagrhkdxngp71ynabgc5zr3"))))
|
||||
"01yrh66rph0vn9q9r2d2jji5yzaakxrj75j9fsm0g41m8qpy4sr2"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("gettext" ,gettext-minimal)
|
||||
|
@ -45,7 +45,8 @@
|
|||
(home-page "https://www.nano-editor.org/")
|
||||
(synopsis "Small, user-friendly console text editor")
|
||||
(description
|
||||
"GNU Nano is a small and simple text editor. In addition to basic
|
||||
editing, it supports interactive search and replace, go to line and column
|
||||
number, auto-indentation and more.")
|
||||
"GNU nano is a small and simple text editor for use in a terminal. Besides
|
||||
basic editing, it supports: undo/redo, syntax highlighting, spell checking,
|
||||
justifying, auto-indentation, bracket matching, interactive search-and-replace
|
||||
(with regular expressions), and the editing of multiple files.")
|
||||
(license gpl3+))) ; some files are under GPLv2+
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
;;; Copyright © 2016, 2017 ng0 <ng0@libertad.pw>
|
||||
;;; Copyright © 2016 Arun Isaac <arunisaac@systemreboot.net>
|
||||
;;; Copyright © 2016 Benz Schenk <benz.schenk@uzh.ch>
|
||||
;;; Copyright © 2016, 2017 Pjotr Prins <pjotr.guix@thebird.nl>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -430,7 +431,7 @@ and up to 1 Mbit/s downstream.")
|
|||
(define-public whois
|
||||
(package
|
||||
(name "whois")
|
||||
(version "5.2.14")
|
||||
(version "5.2.15")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -438,7 +439,7 @@ and up to 1 Mbit/s downstream.")
|
|||
name "_" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1lmh7168yby1ma8r1svgvmv9hbgjyniy9c64r6lby3zdmd0sy7d4"))))
|
||||
"123ingf699javzh8qm6ny10nl28zbjzasa4k5pcn0qzw1dlnnnks"))))
|
||||
(build-system gnu-build-system)
|
||||
;; TODO: unbundle mkpasswd binary + its po files.
|
||||
(arguments
|
||||
|
@ -469,7 +470,7 @@ which can be used to encrypt a password with @code{crypt(3)}.")
|
|||
(define-public wireshark
|
||||
(package
|
||||
(name "wireshark")
|
||||
(version "2.2.4")
|
||||
(version "2.2.5")
|
||||
(synopsis "Network traffic analyzer")
|
||||
(source
|
||||
(origin
|
||||
|
@ -478,7 +479,7 @@ which can be used to encrypt a password with @code{crypt(3)}.")
|
|||
version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"049r5962yrajhhz9r4dsnx403dab50d6091y2mw298ymxqszp9s2"))))
|
||||
"1j4sc3pmy8l6k41007spglcqiabjlzc7f85pn3jmjr9ksv9qipbm"))))
|
||||
(build-system glib-or-gtk-build-system)
|
||||
(inputs `(("bison" ,bison)
|
||||
("c-ares" ,c-ares)
|
||||
|
@ -1006,14 +1007,14 @@ that block port 22.")
|
|||
(define-public iperf
|
||||
(package
|
||||
(name "iperf")
|
||||
(version "3.1.3")
|
||||
(version "3.1.7")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://downloads.es.net/pub/iperf"
|
||||
"/iperf-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1gwmhm29zlp5grrpglmqj7vgx19s6xy33hk6hpbn8jnpn5lxpn30"))))
|
||||
"0kvk8d0a3dcxc8fisyprbn01y8akxj4sx8ld5dh508p9dx077vx4"))))
|
||||
(build-system gnu-build-system)
|
||||
(synopsis "TCP, UDP and SCTP bandwidth measurement tool")
|
||||
(description
|
||||
|
@ -1119,3 +1120,24 @@ IPFIX, RSPAN, CLI, LACP, 802.1ag).")
|
|||
license:gpl2 ; datapath
|
||||
license:bsd-2 license:bsd-3
|
||||
license:asl2.0)))) ; all other
|
||||
|
||||
(define-public speedtest-cli
|
||||
(package
|
||||
(name "speedtest-cli")
|
||||
(version "1.0.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://github.com/sivel/speedtest-cli/archive/v" version ".tar.gz"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1ir9fqwr7cl9kfq7dgh9vkydkwf59wsx0cwbzbffw8i313xhzxa1"))))
|
||||
(build-system python-build-system)
|
||||
(home-page "https://github.com/sivel/speedtest-cli")
|
||||
(synopsis "Internet bandwidth tester")
|
||||
(description
|
||||
"Command line interface for testing internet bandwidth using
|
||||
speedtest.net.")
|
||||
(license license:asl2.0)))
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
(define-module (gnu packages openstack)
|
||||
#:use-module (gnu packages gnupg)
|
||||
#:use-module (gnu packages python)
|
||||
#:use-module (gnu packages ssh)
|
||||
#:use-module (gnu packages tls)
|
||||
|
@ -64,10 +65,16 @@
|
|||
To do this Bandit processes each file, builds an AST from it, and runs
|
||||
appropriate plugins against the AST nodes. Once Bandit has finished scanning
|
||||
all the files it generates a report.")
|
||||
(properties `((python2-variant . ,(delay python2-bandit))))
|
||||
(license asl2.0)))
|
||||
|
||||
(define-public python2-bandit
|
||||
(package-with-python2 python-bandit))
|
||||
(package (inherit (package-with-python2
|
||||
(strip-python2-variant python-bandit)))
|
||||
(arguments
|
||||
`(#:python ,python-2
|
||||
;; FIXME: 'subunit.run discover: error: no such option: --list'
|
||||
#:tests? #f))))
|
||||
|
||||
(define-public python-debtcollector
|
||||
(package
|
||||
|
@ -81,6 +88,8 @@ all the files it generates a report.")
|
|||
(base32
|
||||
"0g4dfskaiy47rhsh4gh66l5vmdsrgq0qk68pl3ix1cj3ffvfndzv"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f)) ;FIXME: Requires packaging python-doc8.
|
||||
(propagated-inputs
|
||||
`(("python-six" ,python-six)
|
||||
("python-wrapt" ,python-wrapt)))
|
||||
|
@ -113,6 +122,9 @@ manner.")
|
|||
(base32
|
||||
"1a310k3dv04jg7zvmk37h2ql7y9kf4hvdxb74bjlwdxgmy6h4wap"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
;; TODO: Requires unpackaged 'eventlet'.
|
||||
'(#:tests? #f))
|
||||
(propagated-inputs
|
||||
`(("python-flake8-2.2.4" ,python-flake8-2.2.4)
|
||||
("python-mccabe-0.2.1" ,python-mccabe-0.2.1)
|
||||
|
@ -146,9 +158,14 @@ guidelines}.")
|
|||
(base32
|
||||
"0njmh40i1lg5mzn9hc2ax83adj6dli455j6xifilrw27c4wlkjzx"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
;; TODO: Resolve dependency cycle and re-enable.
|
||||
'(#:tests? #f))
|
||||
(native-inputs
|
||||
`(("python-fixtures" ,python-fixtures)
|
||||
; TODO re-add ("python-oslosphinx" ,python-oslosphinx)
|
||||
("python-pbr" ,python-pbr)
|
||||
("python-sphinx" ,python-sphinx)
|
||||
("python-testtools" ,python-testtools)))
|
||||
(home-page "http://www.openstack.org/")
|
||||
(synopsis "Mock object framework for Python")
|
||||
|
@ -234,14 +251,14 @@ tested on Python version 3.2, 2.7 and 2.6.")
|
|||
(define-public python-requests-mock
|
||||
(package
|
||||
(name "python-requests-mock")
|
||||
(version "1.0.0")
|
||||
(version "1.3.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "requests-mock" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0gcjjwsckhqixyffflc54i59x41jnbb37bli077vabii1bjmkin6"))))
|
||||
"0jr997dvk6zbmhvbpcv3rajrgag69mcsm1ai3w3rgk2jdh6rg1mx"))))
|
||||
(build-system python-build-system)
|
||||
(propagated-inputs
|
||||
`(("python-requests" ,python-requests)
|
||||
|
@ -260,10 +277,16 @@ tested on Python version 3.2, 2.7 and 2.6.")
|
|||
(description
|
||||
"This module provides a building block to stub out the HTTP requests
|
||||
portions of your testing code.")
|
||||
(properties `((python2-variant . ,(delay python2-requests-mock))))
|
||||
(license asl2.0)))
|
||||
|
||||
(define-public python2-requests-mock
|
||||
(package-with-python2 python-requests-mock))
|
||||
(package (inherit (package-with-python2
|
||||
(strip-python2-variant python-requests-mock)))
|
||||
(arguments
|
||||
`(#:python ,python-2
|
||||
;; FIXME: 'subunit.run discover: error: no such option: --list'
|
||||
#:tests? #f))))
|
||||
|
||||
(define-public python-stevedore
|
||||
(package
|
||||
|
@ -282,10 +305,13 @@ portions of your testing code.")
|
|||
(native-inputs
|
||||
`(("python-pbr" ,python-pbr)
|
||||
;; Tests
|
||||
("python-discover" ,python-discover)
|
||||
("python-docutils" ,python-docutils)
|
||||
("python-mock" ,python-mock)
|
||||
("python-oslosphinx" ,python-oslosphinx)
|
||||
("python-oslotest" ,python-oslotest)
|
||||
("python-sphinx" ,python-sphinx)))
|
||||
("python-sphinx" ,python-sphinx)
|
||||
("python-testrepository" ,python-testrepository)))
|
||||
(home-page "https://github.com/dreamhost/stevedore")
|
||||
(synopsis "Manage dynamic plugins for Python applications")
|
||||
(description
|
||||
|
@ -297,10 +323,16 @@ mechanism by building on top of setuptools entry points. The code for managing
|
|||
entry points tends to be repetitive, though, so stevedore provides manager
|
||||
classes for implementing common patterns for using dynamically loaded
|
||||
extensions.")
|
||||
(properties `((python2-variant . ,(delay python2-stevedore))))
|
||||
(license asl2.0)))
|
||||
|
||||
(define-public python2-stevedore
|
||||
(package-with-python2 python-stevedore))
|
||||
(package (inherit (package-with-python2
|
||||
(strip-python2-variant python-stevedore)))
|
||||
(arguments
|
||||
`(#:python ,python-2
|
||||
;; FIXME: 'subunit.run discover: error: no such option: --list'
|
||||
#:tests? #f))))
|
||||
|
||||
(define-public python-tempest-lib
|
||||
(package
|
||||
|
@ -315,7 +347,8 @@ extensions.")
|
|||
"1cpp2vwmawpd29hjsklsps181lq2ah91cl412qvpnz228nf9sqn5"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
`(#:tests? #f ; FIXME: Requires oslo.log >= 1.14.0.
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before
|
||||
'check 'pre-check
|
||||
|
@ -362,6 +395,8 @@ common features used in Tempest.")
|
|||
(base32
|
||||
"13r778jfb0fhna37c2pd1f2xipnsbd7zli7qhn96acrzymrwj5k1"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f)) ; FIXME: Requires packaging python-argparse.
|
||||
(propagated-inputs
|
||||
`(("python-netaddr" ,python-netaddr)
|
||||
("python-six" ,python-six)
|
||||
|
@ -395,11 +430,19 @@ common features used in Tempest.")
|
|||
(base32
|
||||
"0kvha0rs9295njyl2z6n6zm5dapi5mrl5zwjm0m6ldqrvccyf8c3"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f)) ; FIXME: Requires python-mock >= 1.2.
|
||||
(native-inputs
|
||||
`(("python-babel" ,python-babel)
|
||||
("python-pbr" ,python-pbr)
|
||||
;; Tests.
|
||||
("python-oslotest" ,python-oslotest)))
|
||||
("python-coverage" ,python-coverage)
|
||||
("python-hacking" ,python-hacking)
|
||||
("python-mock" ,python-mock)
|
||||
("python-os-client-config" ,python-os-client-config)
|
||||
("python-oslotest" ,python-oslotest)
|
||||
("python-oslosphinx" ,python-oslosphinx)
|
||||
("python-sphinx" ,python-sphinx)))
|
||||
(home-page "http://launchpad.net/oslo")
|
||||
(synopsis "Oslo context library")
|
||||
(description
|
||||
|
@ -423,6 +466,8 @@ pipeline and used by various modules such as logging.")
|
|||
(base32
|
||||
"0bpb1c20sm8my650gl824nzaip83bfn8hr91s65k5ncmyh8hb6pl"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f)) ; FIXME: Circular dependency on python-oslo.config.
|
||||
(propagated-inputs
|
||||
`(("python-babel" ,python-babel)
|
||||
("python-six" ,python-six)))
|
||||
|
@ -459,6 +504,8 @@ in an application or library.")
|
|||
(base32
|
||||
"1fhy6yvbd565nv4x4i3ppyrlbmz3yy9d0xsvw5nkqsa7g43nmf8z"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f)) ; FIXME: Requires oslo.utils >= 3.2.0.
|
||||
(propagated-inputs
|
||||
`(("python-debtcollector" ,python-debtcollector)
|
||||
("python-oslo.config" ,python-oslo.config)
|
||||
|
@ -496,6 +543,8 @@ handlers and support for context specific logging (like resource id’s etc).")
|
|||
(base32
|
||||
"00s03krhf833gs76aw5ns32w9m1i4hx6x6d9g82m0j5wyqk0sci4"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f)) ; FIXME: Requires python-oslo.utils >= 3.2.0.
|
||||
(propagated-inputs
|
||||
`(("python-iso8601" ,python-iso8601)
|
||||
("python-netaddr" ,python-netaddr)
|
||||
|
@ -520,18 +569,74 @@ in transmittable and storable formats, such as JSON and MessagePack.")
|
|||
(define-public python2-oslo.serialization
|
||||
(package-with-python2 python-oslo.serialization))
|
||||
|
||||
(define-public python-reno
|
||||
(package
|
||||
(name "python-reno")
|
||||
(version "2.0.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "reno" version))
|
||||
(sha256
|
||||
(base32 "1i2wnn5fnm3jm5774pahg000q0lma5i913hml91bbbm2mybphndd"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'check 'init-git
|
||||
(lambda _
|
||||
;; reno expects a git repo
|
||||
(zero? (system* "git" "init")))))))
|
||||
(propagated-inputs
|
||||
`(("python-babel" ,python-babel)
|
||||
("python-dulwich" ,python-dulwich)
|
||||
("python-pyyaml" ,python-pyyaml)
|
||||
("python-six" ,python-six)))
|
||||
(native-inputs
|
||||
`(("python-testtools" ,python-testtools)
|
||||
("python-pbr" ,python-pbr)
|
||||
("python-testscenarios" ,python-testscenarios)
|
||||
("python-testrepository" ,python-testrepository)
|
||||
("python-mock" ,python-mock)
|
||||
("python-oslotest" ,python-oslotest)
|
||||
("gnupg" ,gnupg)
|
||||
("git" ,git)))
|
||||
(home-page "http://docs.openstack.org/developer/reno/")
|
||||
(synopsis "Release notes manager")
|
||||
(description "Reno is a tool for storing release notes in a git repository
|
||||
and building documentation from them.")
|
||||
(properties `((python2-variant . ,(delay python2-reno))))
|
||||
(license asl2.0)))
|
||||
|
||||
(define-public python2-reno
|
||||
(package (inherit (package-with-python2
|
||||
(strip-python2-variant python-reno)))
|
||||
(arguments
|
||||
`(#:python ,python-2
|
||||
;; FIXME: 'subunit.run discover: error: no such option: --list'
|
||||
#:tests? #f))))
|
||||
|
||||
(define-public python-oslosphinx
|
||||
(package
|
||||
(name "python-oslosphinx")
|
||||
(version "4.3.0")
|
||||
(version "4.10.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "oslosphinx" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0cz8ym4i1n4rgljlqhyhfkpgdmid7nkb909k8r8nk186m9cmpla2"))))
|
||||
"09mxqyabi68f3s3arvdhlhq0mn38vf74jbsfcg84151hcj6czhnl"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
;; Note: Upstream tests would have also built the release notes.
|
||||
;; That only would work if we were in a git checkout.
|
||||
;; Therefore, we don't do it here.
|
||||
(zero? (system* "python" "setup.py" "build_sphinx")))))))
|
||||
(propagated-inputs
|
||||
`(("python-requests" ,python-requests)))
|
||||
(native-inputs
|
||||
|
@ -581,10 +686,16 @@ from the OpenStack project.")
|
|||
(description
|
||||
"The Oslo Test framework provides common fixtures, support for debugging,
|
||||
and better support for mocking results.")
|
||||
(properties `((python2-variant . ,(delay python2-oslotest))))
|
||||
(license asl2.0)))
|
||||
|
||||
(define-public python2-oslotest
|
||||
(package-with-python2 python-oslotest))
|
||||
(package (inherit (package-with-python2
|
||||
(strip-python2-variant python-oslotest)))
|
||||
(arguments
|
||||
`(#:python ,python-2
|
||||
;; FIXME: 'subunit.run discover: error: no such option: --list'
|
||||
#:tests? #f))))
|
||||
|
||||
(define-public python-oslo.utils
|
||||
(package
|
||||
|
@ -603,6 +714,8 @@ and better support for mocking results.")
|
|||
;; phase.
|
||||
(delete-file "oslo_utils/tests/test_netutils.py")))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f)) ; FIXME: Requires oslo.config >= 2.7.0.
|
||||
(propagated-inputs
|
||||
`(("python-debtcollector" ,python-debtcollector)
|
||||
("python-oslo.i18n" ,python-oslo.i18n)
|
||||
|
@ -616,6 +729,8 @@ and better support for mocking results.")
|
|||
`(("python-babel" ,python-babel)
|
||||
("python-pbr" ,python-pbr)
|
||||
;; Tests.
|
||||
("python-bandit" ,python-bandit)
|
||||
("python-oslo.config" ,python-oslo.config)
|
||||
("python-oslotest" ,python-oslotest)
|
||||
("python-mock" ,python-mock)
|
||||
("python-mox3" ,python-mox3)
|
||||
|
@ -643,6 +758,8 @@ handling.")
|
|||
(base32
|
||||
"1w4csvkah67rfpxylxnvs2s3594i0f9isy8pf4gnsqs5zirvjaa4"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f)) ; FIXME: Many tests are failing.
|
||||
(native-inputs
|
||||
`(("python-sphinx" ,python-sphinx)
|
||||
;; and some packages for the tests
|
||||
|
@ -749,6 +866,10 @@ permanence.")
|
|||
(define-public python2-swiftclient
|
||||
(let ((swiftclient (package-with-python2 python-swiftclient)))
|
||||
(package (inherit swiftclient)
|
||||
(arguments
|
||||
`(#:python ,python-2
|
||||
;; FIXME: subunit.run discover: error: no such option: --list
|
||||
#:tests? #f))
|
||||
(propagated-inputs
|
||||
`(("python2-futures" ,python2-futures)
|
||||
("python2-requests" ,python2-requests)
|
||||
|
|
|
@ -219,9 +219,9 @@ the Nix package manager.")
|
|||
;;
|
||||
;; Note: use a very short commit id; with a longer one, the limit on
|
||||
;; hash-bang lines would be exceeded while running the tests.
|
||||
(let ((commit "d9da3a757d3081403081577c4e07763c9b809043"))
|
||||
(let ((commit "1162418ee88f155f6b14fd8926479c2176e40e76"))
|
||||
(package (inherit guix-0.12.0)
|
||||
(version (string-append "0.12.0-4." (string-take commit 4)))
|
||||
(version (string-append "0.12.0-5." (string-take commit 4)))
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
|
@ -231,7 +231,7 @@ the Nix package manager.")
|
|||
(commit commit)))
|
||||
(sha256
|
||||
(base32
|
||||
"17w9jdzm3lvfbchx7qrlkczp2jsfsi6v8cpfqh290cip5gxgz9bn"))
|
||||
"16pxqbywhayazdgg9l19frigncmyq20j5fvaq4zgvm0iidndhfja"))
|
||||
(file-name (string-append "guix-" version "-checkout"))))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments guix-0.12.0)
|
||||
|
@ -445,13 +445,13 @@ transactions from C or Python.")
|
|||
(define-public diffoscope
|
||||
(package
|
||||
(name "diffoscope")
|
||||
(version "63")
|
||||
(version "77")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri name version))
|
||||
(sha256
|
||||
(base32
|
||||
"12q5d2nszql1g4jf2ss863v0wpvvhrkaivqzhy6af9m9zwvw0p0k"))))
|
||||
"0wrb6pl88611frxj19kq3vikhbld40fy1ncrskb1iayxsmbfcbn9"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases (modify-phases %standard-phases
|
||||
|
@ -464,12 +464,7 @@ transactions from C or Python.")
|
|||
(("'python-magic',") ""))))
|
||||
(add-after 'unpack 'embed-tool-references
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "diffoscope/difference.py"
|
||||
(("@tool_required\\('colordiff'\\)") "")
|
||||
(("\\[\"colordiff\"")
|
||||
(string-append "[\"" (which "colordiff") "\"")))
|
||||
(substitute* "diffoscope/comparators/utils.py"
|
||||
(("@tool_required\\('xxd'\\)") "")
|
||||
(substitute* "diffoscope/comparators/utils/compare.py"
|
||||
(("\\['xxd',")
|
||||
(string-append "['" (which "xxd") "',")))
|
||||
(substitute* "diffoscope/comparators/elf.py"
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#:use-module (guix packages)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages admin)
|
||||
#:use-module (gnu packages aidc)
|
||||
#:use-module (gnu packages base)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages glib)
|
||||
|
@ -282,7 +283,7 @@ any X11 window.")
|
|||
(define-public password-store
|
||||
(package
|
||||
(name "password-store")
|
||||
(version "1.6.5")
|
||||
(version "1.7")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri
|
||||
|
@ -290,7 +291,7 @@ any X11 window.")
|
|||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"05bk3lrp5jwg0v338lvylp7glpliydzz4jf5pjr6k3kagrv3jyik"))))
|
||||
"002mw7j0m33bw483rllzhcf41wp3ixka8yma6kqrfaj57jyw66hn"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
|
@ -302,7 +303,7 @@ any X11 window.")
|
|||
(let ((out (assoc-ref outputs "out"))
|
||||
(path (map (lambda (pkg)
|
||||
(string-append (assoc-ref inputs pkg) "/bin"))
|
||||
'("coreutils" "getopt" "git" "gnupg" "pwgen"
|
||||
'("coreutils" "getopt" "git" "gnupg" "qrencode"
|
||||
"sed" "tree" "which" "xclip"))))
|
||||
(wrap-program (string-append out "/bin/pass")
|
||||
`("PATH" ":" prefix (,(string-join path ":"))))
|
||||
|
@ -325,7 +326,7 @@ any X11 window.")
|
|||
`(("getopt" ,util-linux)
|
||||
("git" ,git)
|
||||
("gnupg" ,gnupg)
|
||||
("pwgen" ,pwgen)
|
||||
("qrencode" ,qrencode)
|
||||
("sed" ,sed)
|
||||
("tree" ,tree)
|
||||
("which" ,which)
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
diff -u -r arb-2.8.1.orig/configure arb-2.8.1/configure
|
||||
--- arb-2.8.1.orig/configure 2015-12-31 17:30:01.000000000 +0100
|
||||
+++ arb-2.8.1/configure 2016-01-20 16:41:41.336726596 +0100
|
||||
@@ -647,6 +647,7 @@
|
||||
echo "ARB_SHARED=$SHARED" >> Makefile
|
||||
echo "ARB_LIB=$ARB_LIB" >> Makefile
|
||||
echo "ARB_LIBNAME=$ARB_LIBNAME" >> Makefile
|
||||
+echo "ARB_MAJOR=$ARB_MAJOR" >> Makefile
|
||||
echo "ARB_SOLIB=$ARB_SOLIB" >> Makefile
|
||||
echo "EXEEXT=$EXEEXT" >> Makefile
|
||||
echo "PREFIX=$PREFIX" >> Makefile
|
||||
diff -u -r arb-2.8.1.orig/Makefile.in arb-2.8.1/Makefile.in
|
||||
--- arb-2.8.1.orig/Makefile.in 2015-12-31 17:30:01.000000000 +0100
|
||||
+++ arb-2.8.1/Makefile.in 2016-01-20 16:30:32.575298517 +0100
|
||||
@@ -101,6 +101,7 @@
|
||||
$(LDCONFIG) -n "$(CURDIR)"; \
|
||||
fi
|
||||
ln -sf "$(ARB_LIB)" "$(ARB_LIBNAME)"; \
|
||||
+ ln -sf "$(ARB_LIB)" "$(ARB_LIBNAME).$(ARB_MAJOR)"; \
|
||||
|
||||
libarb.a: $(OBJS) $(LIB_SOURCES) $(EXT_SOURCES) $(HEADERS) $(EXT_HEADERS) | build build/interfaces
|
||||
$(AT)$(foreach ext, $(EXTENSIONS), $(foreach dir, $(patsubst $(ext)/%.h, %, $(wildcard $(ext)/*.h)), mkdir -p build/$(dir); BUILD_DIR=$(CURDIR)/build/$(dir); export BUILD_DIR; MOD_DIR=$(dir); export MOD_DIR; $(MAKE) -f $(CURDIR)/Makefile.subdirs -C $(ext)/$(dir) static || exit $$?;))
|
|
@ -0,0 +1,67 @@
|
|||
Fix a Y2038 test failure on systems where time_t is a signed 32-bit value:
|
||||
|
||||
https://bugs.gnupg.org/gnupg/issue2988
|
||||
|
||||
Patch copied from upstream source repository:
|
||||
|
||||
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=de3838372ae3cdecbd83eea2c53c8e2656d93052
|
||||
|
||||
From de3838372ae3cdecbd83eea2c53c8e2656d93052 Mon Sep 17 00:00:00 2001
|
||||
From: Justus Winter <justus@g10code.com>
|
||||
Date: Tue, 7 Mar 2017 12:18:59 +0100
|
||||
Subject: [PATCH] tests: Avoid overflowing signed 32 bit time_t.
|
||||
|
||||
* tests/openpgp/quick-key-manipulation.scm: Use expiration times in
|
||||
the year 2038 instead of 2105 to avoid overflowing 32 bit time_t.
|
||||
time_t is used internally to parse the expiraton time from the iso
|
||||
timestamp.
|
||||
|
||||
GnuPG-bug-id: 2988
|
||||
Signed-off-by: Justus Winter <justus@g10code.com>
|
||||
---
|
||||
tests/openpgp/quick-key-manipulation.scm | 15 +++++++++++----
|
||||
1 file changed, 11 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/tests/openpgp/quick-key-manipulation.scm b/tests/openpgp/quick-key-manipulation.scm
|
||||
index 10f0bfe21..08ef62613 100755
|
||||
--- a/tests/openpgp/quick-key-manipulation.scm
|
||||
+++ b/tests/openpgp/quick-key-manipulation.scm
|
||||
@@ -125,8 +125,13 @@
|
||||
(default default never)
|
||||
(rsa "sign auth encr" "seconds=600") ;; GPGME uses this
|
||||
(rsa "auth,encr" "2") ;; "without a letter, days is assumed"
|
||||
- (rsa "sign" "2105-01-01") ;; "last year GnuPG can represent is 2105"
|
||||
- (rsa "sign" "21050101T115500") ;; "last year GnuPG can represent is 2105"
|
||||
+ ;; Sadly, the timestamp is truncated by the use of time_t on
|
||||
+ ;; systems where time_t is a signed 32 bit value.
|
||||
+ (rsa "sign" "2038-01-01") ;; unix millennium
|
||||
+ (rsa "sign" "20380101T115500") ;; unix millennium
|
||||
+ ;; Once fixed, we can use later timestamps:
|
||||
+ ;; (rsa "sign" "2105-01-01") ;; "last year GnuPG can represent is 2105"
|
||||
+ ;; (rsa "sign" "21050101T115500") ;; "last year GnuPG can represent is 2105"
|
||||
(rsa sign "2d")
|
||||
(rsa1024 sign "2w")
|
||||
(rsa2048 encr "2m")
|
||||
@@ -157,7 +162,8 @@
|
||||
(lambda (subkey)
|
||||
(assert (= 1 (:alg subkey)))
|
||||
(assert (string-contains? (:cap subkey) "s"))
|
||||
- (assert (time-matches? 4260207600 ;; 2105-01-01
|
||||
+ (assert (time-matches? 2145916800 ;; 2038-01-01
|
||||
+ ;; 4260207600 ;; 2105-01-01
|
||||
(string->number (:expire subkey))
|
||||
;; This is off by 12h, but I guess it just
|
||||
;; choses the middle of the day.
|
||||
@@ -165,7 +171,8 @@
|
||||
(lambda (subkey)
|
||||
(assert (= 1 (:alg subkey)))
|
||||
(assert (string-contains? (:cap subkey) "s"))
|
||||
- (assert (time-matches? 4260254100 ;; UTC 2105-01-01 11:55:00
|
||||
+ (assert (time-matches? 2145959700 ;; UTC 2038-01-01 11:55:00
|
||||
+ ;; 4260254100 ;; UTC 2105-01-01 11:55:00
|
||||
(string->number (:expire subkey))
|
||||
(minutes->seconds 5))))
|
||||
(lambda (subkey)
|
||||
--
|
||||
2.12.0
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
This fixes a test failure on i686.
|
||||
|
||||
Patch copied from upstream source repository:
|
||||
|
||||
https://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=5e2e111627871c566ffc6607eda8f4ef4699d040
|
||||
|
||||
From 5e2e111627871c566ffc6607eda8f4ef4699d040 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
|
||||
Date: Thu, 2 Feb 2017 14:56:39 +0200
|
||||
Subject: [PATCH] multifdsink: Make sure to use a 64 bit integer for the
|
||||
units-max property
|
||||
|
||||
---
|
||||
tests/check/elements/multifdsink.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/check/elements/multifdsink.c b/tests/check/elements/multifdsink.c
|
||||
index af138cc92..951b1b9fa 100644
|
||||
--- a/tests/check/elements/multifdsink.c
|
||||
+++ b/tests/check/elements/multifdsink.c
|
||||
@@ -869,7 +869,7 @@ GST_START_TEST (test_client_kick)
|
||||
gint i, initial_buffers = 3, num_buffers = 0;
|
||||
|
||||
sink = setup_multifdsink ();
|
||||
- g_object_set (sink, "units-max", initial_buffers, NULL);
|
||||
+ g_object_set (sink, "units-max", (gint64) initial_buffers, NULL);
|
||||
|
||||
fail_if (pipe (pfd1) == -1);
|
||||
fail_if (pipe (pfd2) == -1);
|
||||
--
|
||||
2.11.0
|
||||
|
|
@ -0,0 +1,92 @@
|
|||
Fix the broken Texinfo in the Jacal package documentation
|
||||
|
||||
--- jacal/jacal.texi,orig 2017-02-23 20:35:55.303980444 +0100
|
||||
+++ jacal/jacal.texi 2017-02-23 20:53:14.539024674 +0100
|
||||
@@ -343,7 +343,7 @@
|
||||
|
||||
With the standard input grammar, the precedence of @samp{-} as a prefix
|
||||
behaves strangely. @code{a^-b*c} becomes @code{a^(-b*c)} while
|
||||
-@code{@result{a^b*c} (a^b)*c}.
|
||||
+@code{a^b*c @result{} (a^b)*c}.
|
||||
|
||||
Using @code{divide} to divide a polynomial by an integer does not work.
|
||||
|
||||
@@ -675,8 +675,9 @@
|
||||
e1: ---------
|
||||
a
|
||||
@end example
|
||||
+@end deffn
|
||||
|
||||
-@deffnx Command suchthat var exp
|
||||
+@deffn Command suchthat var exp
|
||||
|
||||
If an expression rather than an equation is given to @code{suchthat}, it
|
||||
is as though the equation @code{@var{exp}=0} was given.
|
||||
@@ -688,8 +689,9 @@
|
||||
e2: ---------
|
||||
a
|
||||
@end example
|
||||
+@end deffn
|
||||
|
||||
-@deffnx Operator | var exp_or_eqn
|
||||
+@deffn Operator | var exp_or_eqn
|
||||
|
||||
An alternative infix notation is also available for @code{suchthat}.
|
||||
|
||||
@@ -857,8 +859,9 @@
|
||||
|
||||
Returns the degree of polynomial or equation @var{poly} in variable
|
||||
@var{var}.
|
||||
+@end deffn
|
||||
|
||||
-@deffnx Operator degree poly
|
||||
+@deffn Operator degree poly
|
||||
|
||||
Returns the total-degree, the degree of its highest degree monomial,
|
||||
of polynomial or equation @var{poly}.
|
||||
@@ -1016,10 +1019,12 @@
|
||||
Returns @var{poly1} reduced with respect to @var{poly2} (or @var{eqn})
|
||||
and @var{var}. If @var{poly2} is univariate, the third argument is not
|
||||
needed.
|
||||
+@end deffn
|
||||
|
||||
-@deffnx Command mod poly1 n
|
||||
+@deffn Command mod poly1 n
|
||||
Returns @var{poly1} with all the coefficients taken modulo @var{n}.
|
||||
-@deffnx Command mod poly1
|
||||
+@end deffn
|
||||
+@deffn Command mod poly1
|
||||
Returns @var{poly1} with all the coefficients taken modulo the
|
||||
current modulus.
|
||||
|
||||
@@ -1220,8 +1225,9 @@
|
||||
e1: -1 2 3 5
|
||||
@end group
|
||||
@end example
|
||||
+@end deffn
|
||||
|
||||
-@deffnx Command factor polyratio
|
||||
+@deffn Command factor polyratio
|
||||
Given a univariate ratio of polynomials @var{polyratio}, returns a
|
||||
matrix of factors and exponents.
|
||||
|
||||
@@ -2028,7 +2034,7 @@
|
||||
formed from the pair-wise products of components of the inputs. For
|
||||
example, for the input tensors @code{x[a,b]} and @code{y[c]}
|
||||
@example
|
||||
-@result{z:tmult(x,y);} z[a,b,c] = x[a,b]*y[c]
|
||||
+z:tmult(x,y); @result{} z[a,b,c] = x[a,b]*y[c]
|
||||
@end example
|
||||
|
||||
With an additional argument, @code{tmult} will produce the inner product
|
||||
@@ -2464,8 +2470,9 @@
|
||||
If you do not wish to return to Jacal but really want to terminate the
|
||||
session and return to the operating system, then after typing
|
||||
@code{qed();}, type @code{(slib:exit)} or use @code{quit}.
|
||||
+@end deffn
|
||||
|
||||
-@deffnx Command quit
|
||||
+@deffn Command quit
|
||||
Exit directly from Jacal to the operating system. You will not be able
|
||||
to continue your Jacal session.
|
||||
|
|
@ -0,0 +1,53 @@
|
|||
Fix CVE-2017-6410, "Information Leak when accessing https when using a
|
||||
malicious PAC file":
|
||||
|
||||
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-6410
|
||||
https://www.kde.org/info/security/advisory-20170228-1.txt
|
||||
|
||||
Patch copied from upstream source repository:
|
||||
|
||||
https://cgit.kde.org/kio.git/commit/?id=f9d0cb47cf94e209f6171ac0e8d774e68156a6e4
|
||||
|
||||
From f9d0cb47cf94e209f6171ac0e8d774e68156a6e4 Mon Sep 17 00:00:00 2001
|
||||
From: Albert Astals Cid <aacid@kde.org>
|
||||
Date: Tue, 28 Feb 2017 19:00:48 +0100
|
||||
Subject: Sanitize URLs before passing them to FindProxyForURL
|
||||
|
||||
Remove user/password information
|
||||
For https: remove path and query
|
||||
|
||||
Thanks to safebreach.com for reporting the problem
|
||||
|
||||
CCMAIL: yoni.fridburg@safebreach.com
|
||||
CCMAIL: amit.klein@safebreach.com
|
||||
CCMAIL: itzik.kotler@safebreach.com
|
||||
---
|
||||
src/kpac/script.cpp | 11 +++++++++--
|
||||
1 file changed, 9 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/kpac/script.cpp b/src/kpac/script.cpp
|
||||
index a0235f7..2485c54 100644
|
||||
--- a/src/kpac/script.cpp
|
||||
+++ b/src/kpac/script.cpp
|
||||
@@ -754,9 +754,16 @@ QString Script::evaluate(const QUrl &url)
|
||||
}
|
||||
}
|
||||
|
||||
+ QUrl cleanUrl = url;
|
||||
+ cleanUrl.setUserInfo(QString());
|
||||
+ if (cleanUrl.scheme() == QLatin1String("https")) {
|
||||
+ cleanUrl.setPath(QString());
|
||||
+ cleanUrl.setQuery(QString());
|
||||
+ }
|
||||
+
|
||||
QScriptValueList args;
|
||||
- args << url.url();
|
||||
- args << url.host();
|
||||
+ args << cleanUrl.url();
|
||||
+ args << cleanUrl.host();
|
||||
|
||||
QScriptValue result = func.call(QScriptValue(), args);
|
||||
if (result.isError()) {
|
||||
--
|
||||
cgit v0.11.2
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
Fix CVE-2016-0739 (Weak Diffie-Hellman secret generation in
|
||||
dh_generate_x() and dh_generate_y()).
|
||||
|
||||
"Due to a byte/bit confusion, the DH secret was too short. This file was
|
||||
completely reworked and will be commited in a future version."
|
||||
Source:
|
||||
https://git.libssh.org/projects/libssh.git/commit/?id=f8d0026c65fc8a55748ae481758e2cf376c26c86
|
||||
|
||||
This patch was created by upstream for libssh-0.7.3, but applied without
|
||||
modification to libssh-0.6.3 by Debian. In Guix, we apply it without
|
||||
modification to libssh-0.6.5.
|
||||
|
||||
References:
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-0739
|
||||
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-0739
|
||||
https://security-tracker.debian.org/tracker/CVE-2016-0739
|
||||
|
||||
---
|
||||
src/dh.c | 22 +++++++++++++++++-----
|
||||
1 file changed, 17 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/src/dh.c b/src/dh.c
|
||||
index e489a1d..d27b66e 100644
|
||||
--- a/src/dh.c
|
||||
+++ b/src/dh.c
|
||||
@@ -227,15 +227,21 @@ void ssh_crypto_finalize(void) {
|
||||
}
|
||||
|
||||
int dh_generate_x(ssh_session session) {
|
||||
+ int keysize;
|
||||
+ if (session->next_crypto->kex_type == SSH_KEX_DH_GROUP1_SHA1) {
|
||||
+ keysize = 1023;
|
||||
+ } else {
|
||||
+ keysize = 2047;
|
||||
+ }
|
||||
session->next_crypto->x = bignum_new();
|
||||
if (session->next_crypto->x == NULL) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
#ifdef HAVE_LIBGCRYPT
|
||||
- bignum_rand(session->next_crypto->x, 128);
|
||||
+ bignum_rand(session->next_crypto->x, keysize);
|
||||
#elif defined HAVE_LIBCRYPTO
|
||||
- bignum_rand(session->next_crypto->x, 128, 0, -1);
|
||||
+ bignum_rand(session->next_crypto->x, keysize, -1, 0);
|
||||
#endif
|
||||
|
||||
/* not harder than this */
|
||||
@@ -248,15 +254,21 @@ int dh_generate_x(ssh_session session) {
|
||||
|
||||
/* used by server */
|
||||
int dh_generate_y(ssh_session session) {
|
||||
- session->next_crypto->y = bignum_new();
|
||||
+ int keysize;
|
||||
+ if (session->next_crypto->kex_type == SSH_KEX_DH_GROUP1_SHA1) {
|
||||
+ keysize = 1023;
|
||||
+ } else {
|
||||
+ keysize = 2047;
|
||||
+ }
|
||||
+ session->next_crypto->y = bignum_new();
|
||||
if (session->next_crypto->y == NULL) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
#ifdef HAVE_LIBGCRYPT
|
||||
- bignum_rand(session->next_crypto->y, 128);
|
||||
+ bignum_rand(session->next_crypto->y, keysize);
|
||||
#elif defined HAVE_LIBCRYPTO
|
||||
- bignum_rand(session->next_crypto->y, 128, 0, -1);
|
||||
+ bignum_rand(session->next_crypto->y, keysize, -1, 0);
|
||||
#endif
|
||||
|
||||
/* not harder than this */
|
||||
--
|
||||
cgit v0.12
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
Use 'pkg-config' instead of heuristics to find 'tk' flags.
|
||||
|
||||
--- matplotlib-1.4.3/setupext.py.orig 2015-12-01 14:21:19.554417453 +0100
|
||||
+++ matplotlib-1.4.3/setupext.py 2015-12-02 10:39:47.282363530 +0100
|
||||
@@ -1457,7 +1457,7 @@
|
||||
p = subprocess.Popen(
|
||||
'. %s ; eval echo ${%s}' % (file, varname),
|
||||
shell=True,
|
||||
- executable="/bin/sh",
|
||||
+ executable="sh",
|
||||
stdout=subprocess.PIPE)
|
||||
result = p.communicate()[0]
|
||||
return result.decode('ascii')
|
||||
@@ -1601,8 +1601,19 @@
|
||||
# of distros.
|
||||
|
||||
# Query Tcl/Tk system for library paths and version string
|
||||
+ def getoutput(s):
|
||||
+ ret = os.popen(s).read().strip()
|
||||
+ return ret
|
||||
try:
|
||||
- tcl_lib_dir, tk_lib_dir, tk_ver = self.query_tcltk()
|
||||
+ pkg_config_libs = getoutput('pkg-config --libs-only-L tk').split()
|
||||
+ # drop '-L' part of strings
|
||||
+ pkg_config_libs = [s[2:] for s in pkg_config_libs]
|
||||
+ pkg_config_ver = getoutput('pkg-config --modversion tk')
|
||||
+ tk_ver = re.match(r"(\d+.\d+)[\d.]*", pkg_config_ver).group(1)
|
||||
+ tcl_lib_dir = next(s for s in pkg_config_libs
|
||||
+ if re.match(r".*-tcl-.*", s)) + '/tcl' + tk_ver
|
||||
+ tk_lib_dir = next(s for s in pkg_config_libs
|
||||
+ if re.match(r".*-tk-.*", s)) + '/tk' + tk_ver
|
||||
except:
|
||||
tk_ver = ''
|
||||
result = self.hardcoded_tcl_config()
|
|
@ -0,0 +1,63 @@
|
|||
Fix CVE-2017-5896:
|
||||
|
||||
https://bugs.ghostscript.com/show_bug.cgi?id=697515
|
||||
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-5896
|
||||
http://www.openwall.com/lists/oss-security/2017/02/10/1
|
||||
https://security-tracker.debian.org/tracker/CVE-2017-5896
|
||||
https://blogs.gentoo.org/ago/2017/02/09/mupdf-use-after-free-in-fz_subsample_pixmap-pixmap-c/
|
||||
|
||||
Patch lifted from upstream source repository:
|
||||
|
||||
http://git.ghostscript.com/?p=mupdf.git;h=2c4e5867ee699b1081527bc6c6ea0e99a35a5c27
|
||||
|
||||
From 2c4e5867ee699b1081527bc6c6ea0e99a35a5c27 Mon Sep 17 00:00:00 2001
|
||||
From: Robin Watts <Robin.Watts@artifex.com>
|
||||
Date: Thu, 9 Feb 2017 07:12:16 -0800
|
||||
Subject: [PATCH] bug 697515: Fix out of bounds read in fz_subsample_pixmap
|
||||
|
||||
Pointer arithmetic for final special case was going wrong.
|
||||
---
|
||||
source/fitz/pixmap.c | 6 ++++--
|
||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/source/fitz/pixmap.c b/source/fitz/pixmap.c
|
||||
index a8317127..f1291dc2 100644
|
||||
--- a/source/fitz/pixmap.c
|
||||
+++ b/source/fitz/pixmap.c
|
||||
@@ -1104,6 +1104,7 @@ fz_subsample_pixmap_ARM(unsigned char *ptr, int w, int h, int f, int factor,
|
||||
"@STACK:r1,<9>,factor,n,fwd,back,back2,fwd2,divX,back4,fwd4,fwd3,divY,back5,divXY\n"
|
||||
"ldr r4, [r13,#4*22] @ r4 = divXY \n"
|
||||
"ldr r5, [r13,#4*11] @ for (nn = n; nn > 0; n--) { \n"
|
||||
+ "ldr r8, [r13,#4*17] @ r8 = back4 \n"
|
||||
"18: @ \n"
|
||||
"mov r14,#0 @ r14= v = 0 \n"
|
||||
"sub r5, r5, r1, LSL #8 @ for (xx = x; xx > 0; x--) { \n"
|
||||
@@ -1120,7 +1121,7 @@ fz_subsample_pixmap_ARM(unsigned char *ptr, int w, int h, int f, int factor,
|
||||
"mul r14,r4, r14 @ r14= v *= divX \n"
|
||||
"mov r14,r14,LSR #16 @ r14= v >>= 16 \n"
|
||||
"strb r14,[r9], #1 @ *d++ = r14 \n"
|
||||
- "sub r0, r0, r8 @ s -= back2 \n"
|
||||
+ "sub r0, r0, r8 @ s -= back4 \n"
|
||||
"subs r5, r5, #1 @ n-- \n"
|
||||
"bgt 18b @ } \n"
|
||||
"21: @ \n"
|
||||
@@ -1249,6 +1250,7 @@ fz_subsample_pixmap(fz_context *ctx, fz_pixmap *tile, int factor)
|
||||
x += f;
|
||||
if (x > 0)
|
||||
{
|
||||
+ int back4 = x * n - 1;
|
||||
div = x * y;
|
||||
for (nn = n; nn > 0; nn--)
|
||||
{
|
||||
@@ -1263,7 +1265,7 @@ fz_subsample_pixmap(fz_context *ctx, fz_pixmap *tile, int factor)
|
||||
s -= back5;
|
||||
}
|
||||
*d++ = v / div;
|
||||
- s -= back2;
|
||||
+ s -= back4;
|
||||
}
|
||||
}
|
||||
}
|
||||
--
|
||||
2.12.0
|
||||
|
|
@ -0,0 +1,101 @@
|
|||
Fix CVE-2017-5991:
|
||||
|
||||
https://bugs.ghostscript.com/show_bug.cgi?id=697500
|
||||
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-5991
|
||||
https://security-tracker.debian.org/tracker/CVE-2017-5991
|
||||
|
||||
Patch lifted from upstream source repository:
|
||||
|
||||
http://git.ghostscript.com/?p=mupdf.git;h=1912de5f08e90af1d9d0a9791f58ba3afdb9d465
|
||||
|
||||
From 1912de5f08e90af1d9d0a9791f58ba3afdb9d465 Mon Sep 17 00:00:00 2001
|
||||
From: Robin Watts <robin.watts@artifex.com>
|
||||
Date: Thu, 9 Feb 2017 15:49:15 +0000
|
||||
Subject: [PATCH] Bug 697500: Fix NULL ptr access.
|
||||
|
||||
Cope better with errors during rendering - avoid letting the
|
||||
gstate stack get out of sync.
|
||||
|
||||
This avoids us ever getting into the situation of popping
|
||||
a clip when we should be popping a mask or a group. This was
|
||||
causing an unexpected case in the painting.
|
||||
---
|
||||
source/pdf/pdf-op-run.c | 26 ++++++++++++++++++--------
|
||||
1 file changed, 18 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/source/pdf/pdf-op-run.c b/source/pdf/pdf-op-run.c
|
||||
index a3ea895d..f1eac8d3 100644
|
||||
--- a/source/pdf/pdf-op-run.c
|
||||
+++ b/source/pdf/pdf-op-run.c
|
||||
@@ -1213,6 +1213,7 @@ pdf_run_xobject(fz_context *ctx, pdf_run_processor *proc, pdf_xobject *xobj, pdf
|
||||
pdf_run_processor *pr = (pdf_run_processor *)proc;
|
||||
pdf_gstate *gstate = NULL;
|
||||
int oldtop = 0;
|
||||
+ int oldbot = -1;
|
||||
fz_matrix local_transform = *transform;
|
||||
softmask_save softmask = { NULL };
|
||||
int gparent_save;
|
||||
@@ -1232,16 +1233,17 @@ pdf_run_xobject(fz_context *ctx, pdf_run_processor *proc, pdf_xobject *xobj, pdf
|
||||
fz_var(cleanup_state);
|
||||
fz_var(gstate);
|
||||
fz_var(oldtop);
|
||||
+ fz_var(oldbot);
|
||||
|
||||
gparent_save = pr->gparent;
|
||||
pr->gparent = pr->gtop;
|
||||
+ oldtop = pr->gtop;
|
||||
|
||||
fz_try(ctx)
|
||||
{
|
||||
pdf_gsave(ctx, pr);
|
||||
|
||||
gstate = pr->gstate + pr->gtop;
|
||||
- oldtop = pr->gtop;
|
||||
|
||||
pdf_xobject_bbox(ctx, xobj, &xobj_bbox);
|
||||
pdf_xobject_matrix(ctx, xobj, &xobj_matrix);
|
||||
@@ -1302,12 +1304,25 @@ pdf_run_xobject(fz_context *ctx, pdf_run_processor *proc, pdf_xobject *xobj, pdf
|
||||
|
||||
doc = pdf_get_bound_document(ctx, xobj->obj);
|
||||
|
||||
+ oldbot = pr->gbot;
|
||||
+ pr->gbot = pr->gtop;
|
||||
+
|
||||
pdf_process_contents(ctx, (pdf_processor*)pr, doc, resources, xobj->obj, NULL);
|
||||
}
|
||||
fz_always(ctx)
|
||||
{
|
||||
+ /* Undo any gstate mismatches due to the pdf_process_contents call */
|
||||
+ if (oldbot != -1)
|
||||
+ {
|
||||
+ while (pr->gtop > pr->gbot)
|
||||
+ {
|
||||
+ pdf_grestore(ctx, pr);
|
||||
+ }
|
||||
+ pr->gbot = oldbot;
|
||||
+ }
|
||||
+
|
||||
if (cleanup_state >= 3)
|
||||
- pdf_grestore(ctx, pr); /* Remove the clippath */
|
||||
+ pdf_grestore(ctx, pr); /* Remove the state we pushed for the clippath */
|
||||
|
||||
/* wrap up transparency stacks */
|
||||
if (transparency)
|
||||
@@ -1341,13 +1356,8 @@ pdf_run_xobject(fz_context *ctx, pdf_run_processor *proc, pdf_xobject *xobj, pdf
|
||||
pr->gstate[pr->gparent].ctm = gparent_save_ctm;
|
||||
pr->gparent = gparent_save;
|
||||
|
||||
- if (gstate)
|
||||
- {
|
||||
- while (oldtop < pr->gtop)
|
||||
- pdf_grestore(ctx, pr);
|
||||
-
|
||||
+ while (oldtop < pr->gtop)
|
||||
pdf_grestore(ctx, pr);
|
||||
- }
|
||||
|
||||
pdf_unmark_obj(ctx, xobj->obj);
|
||||
}
|
||||
--
|
||||
2.12.0
|
||||
|
|
@ -221,5 +221,5 @@ Later adapted to apply cleanly to nss-3.21.
|
|||
|
||||
RELEASE = nss
|
||||
|
||||
-DIRS = coreconf lib cmd external_tests
|
||||
+DIRS = coreconf lib cmd external_tests config
|
||||
-DIRS = coreconf lib cmd gtests
|
||||
+DIRS = coreconf lib cmd gtests config
|
||||
|
|
|
@ -1,179 +0,0 @@
|
|||
Fixes CVE-2016-3191 (remote execution of arbitrary code or denial of
|
||||
service (stack-based buffer overflow) via a crafted regular expression).
|
||||
|
||||
See <https://bugzilla.redhat.com/show_bug.cgi?id=1311503>.
|
||||
|
||||
This is svn r489 at <svn://vcs.exim.org/pcre2/code>, omitting the
|
||||
changes to 'testdata/testoutput8-16-4', which does not exist in the
|
||||
source tarball.
|
||||
|
||||
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@489 6239d852-aaf2-0410-a92c-79f79f948069
|
||||
---
|
||||
ChangeLog | 4 ++++
|
||||
src/pcre2_compile.c | 16 ++++++++++++++--
|
||||
testdata/testinput8 | 2 ++
|
||||
testdata/testoutput8-16-2 | 3 +++
|
||||
testdata/testoutput8-16-3 | 3 +++
|
||||
testdata/testoutput8-16-4 | 3 +++
|
||||
testdata/testoutput8-32-2 | 3 +++
|
||||
testdata/testoutput8-32-3 | 3 +++
|
||||
testdata/testoutput8-32-4 | 3 +++
|
||||
testdata/testoutput8-8-2 | 3 +++
|
||||
testdata/testoutput8-8-3 | 3 +++
|
||||
testdata/testoutput8-8-4 | 3 +++
|
||||
12 files changed, 47 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/ChangeLog b/ChangeLog
|
||||
index 3ce0207..65e333e 100644
|
||||
--- a/ChangeLog
|
||||
+++ b/ChangeLog
|
||||
@@ -58,6 +58,10 @@ some head-scratching the next time this happens.
|
||||
assertion, caused pcre2test to output a very large number of spaces when the
|
||||
callout was taken, making the program appearing to loop.
|
||||
|
||||
+12. A pattern that included (*ACCEPT) in the middle of a sufficiently deeply
|
||||
+nested set of parentheses of sufficient size caused an overflow of the
|
||||
+compiling workspace (which was diagnosed, but of course is not desirable).
|
||||
+
|
||||
|
||||
Version 10.21 12-January-2016
|
||||
-----------------------------
|
||||
diff --git a/src/pcre2_compile.c b/src/pcre2_compile.c
|
||||
index e33d620..887fbfd 100644
|
||||
--- a/src/pcre2_compile.c
|
||||
+++ b/src/pcre2_compile.c
|
||||
@@ -5901,10 +5901,22 @@ for (;; ptr++)
|
||||
goto FAILED;
|
||||
}
|
||||
cb->had_accept = TRUE;
|
||||
+
|
||||
+ /* In the first pass, just accumulate the length required;
|
||||
+ otherwise hitting (*ACCEPT) inside many nested parentheses can
|
||||
+ cause workspace overflow. */
|
||||
+
|
||||
for (oc = cb->open_caps; oc != NULL; oc = oc->next)
|
||||
{
|
||||
- *code++ = OP_CLOSE;
|
||||
- PUT2INC(code, 0, oc->number);
|
||||
+ if (lengthptr != NULL)
|
||||
+ {
|
||||
+ *lengthptr += CU2BYTES(1) + IMM2_SIZE;
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ *code++ = OP_CLOSE;
|
||||
+ PUT2INC(code, 0, oc->number);
|
||||
+ }
|
||||
}
|
||||
setverb = *code++ =
|
||||
(cb->assert_depth > 0)? OP_ASSERT_ACCEPT : OP_ACCEPT;
|
||||
diff --git a/testdata/testinput8 b/testdata/testinput8
|
||||
index ca3b1b9..7e2a1f0 100644
|
||||
--- a/testdata/testinput8
|
||||
+++ b/testdata/testinput8
|
||||
@@ -182,4 +182,6 @@
|
||||
|
||||
/((?1)(?2)(?3)(?4)(?5)(?6)(?7)(?8)(?9)(?9)(?8)(?7)(?6)(?5)(?4)(?3)(?2)(?1)(?0)){2,}()()()()()()()()()/debug
|
||||
|
||||
+/([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00](*ACCEPT)/
|
||||
+
|
||||
# End of testinput8
|
||||
diff --git a/testdata/testoutput8-16-2 b/testdata/testoutput8-16-2
|
||||
index 05669bb..a5e8dec 100644
|
||||
--- a/testdata/testoutput8-16-2
|
||||
+++ b/testdata/testoutput8-16-2
|
||||
@@ -1027,4 +1027,7 @@ Capturing subpattern count = 10
|
||||
May match empty string
|
||||
Subject length lower bound = 0
|
||||
|
||||
+/([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00](*ACCEPT)/
|
||||
+Failed: error 186 at offset 490: regular expression is too complicated
|
||||
+
|
||||
# End of testinput8
|
||||
diff --git a/testdata/testoutput8-16-3 b/testdata/testoutput8-16-3
|
||||
index 31884e1..36133b3 100644
|
||||
--- a/testdata/testoutput8-16-3
|
||||
+++ b/testdata/testoutput8-16-3
|
||||
@@ -1023,4 +1023,7 @@ Capturing subpattern count = 10
|
||||
May match empty string
|
||||
Subject length lower bound = 0
|
||||
|
||||
+/([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00](*ACCEPT)/
|
||||
+Failed: error 114 at offset 509: missing closing parenthesis
|
||||
+
|
||||
# End of testinput8
|
||||
diff --git a/testdata/testoutput8-32-2 b/testdata/testoutput8-32-2
|
||||
index babd0c7..99c4fad 100644
|
||||
--- a/testdata/testoutput8-32-2
|
||||
+++ b/testdata/testoutput8-32-2
|
||||
@@ -1023,4 +1023,7 @@ Capturing subpattern count = 10
|
||||
May match empty string
|
||||
Subject length lower bound = 0
|
||||
|
||||
+/([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00](*ACCEPT)/
|
||||
+Failed: error 114 at offset 509: missing closing parenthesis
|
||||
+
|
||||
# End of testinput8
|
||||
diff --git a/testdata/testoutput8-32-3 b/testdata/testoutput8-32-3
|
||||
index babd0c7..99c4fad 100644
|
||||
--- a/testdata/testoutput8-32-3
|
||||
+++ b/testdata/testoutput8-32-3
|
||||
@@ -1023,4 +1023,7 @@ Capturing subpattern count = 10
|
||||
May match empty string
|
||||
Subject length lower bound = 0
|
||||
|
||||
+/([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00](*ACCEPT)/
|
||||
+Failed: error 114 at offset 509: missing closing parenthesis
|
||||
+
|
||||
# End of testinput8
|
||||
diff --git a/testdata/testoutput8-32-4 b/testdata/testoutput8-32-4
|
||||
index babd0c7..99c4fad 100644
|
||||
--- a/testdata/testoutput8-32-4
|
||||
+++ b/testdata/testoutput8-32-4
|
||||
@@ -1023,4 +1023,7 @@ Capturing subpattern count = 10
|
||||
May match empty string
|
||||
Subject length lower bound = 0
|
||||
|
||||
+/([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00](*ACCEPT)/
|
||||
+Failed: error 114 at offset 509: missing closing parenthesis
|
||||
+
|
||||
# End of testinput8
|
||||
diff --git a/testdata/testoutput8-8-2 b/testdata/testoutput8-8-2
|
||||
index 6a9aa0a..6dc1f42 100644
|
||||
--- a/testdata/testoutput8-8-2
|
||||
+++ b/testdata/testoutput8-8-2
|
||||
@@ -1026,4 +1026,7 @@ Capturing subpattern count = 10
|
||||
May match empty string
|
||||
Subject length lower bound = 0
|
||||
|
||||
+/([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00](*ACCEPT)/
|
||||
+Failed: error 114 at offset 509: missing closing parenthesis
|
||||
+
|
||||
# End of testinput8
|
||||
diff --git a/testdata/testoutput8-8-3 b/testdata/testoutput8-8-3
|
||||
index 2fe1168..ae14946 100644
|
||||
--- a/testdata/testoutput8-8-3
|
||||
+++ b/testdata/testoutput8-8-3
|
||||
@@ -1024,4 +1024,7 @@ Capturing subpattern count = 10
|
||||
May match empty string
|
||||
Subject length lower bound = 0
|
||||
|
||||
+/([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00](*ACCEPT)/
|
||||
+Failed: error 114 at offset 509: missing closing parenthesis
|
||||
+
|
||||
# End of testinput8
|
||||
diff --git a/testdata/testoutput8-8-4 b/testdata/testoutput8-8-4
|
||||
index 91993b2..6c79956 100644
|
||||
--- a/testdata/testoutput8-8-4
|
||||
+++ b/testdata/testoutput8-8-4
|
||||
@@ -1022,4 +1022,7 @@ Capturing subpattern count = 10
|
||||
May match empty string
|
||||
Subject length lower bound = 0
|
||||
|
||||
+/([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00]([00](*ACCEPT)/
|
||||
+Failed: error 114 at offset 509: missing closing parenthesis
|
||||
+
|
||||
# End of testinput8
|
||||
--
|
||||
2.8.3
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
This patch fixes two test failures. It was downloaded from:
|
||||
https://github.com/jeetsukumaran/DendroPy/commit/93f984bba7a6c588a28ca87f4e557ce283809453
|
||||
|
||||
From 93f984bba7a6c588a28ca87f4e557ce283809453 Mon Sep 17 00:00:00 2001
|
||||
From: jeetsukumaran <jeetsukumaran@gmail.com>
|
||||
Date: Tue, 21 Feb 2017 16:41:01 -0500
|
||||
Subject: [PATCH] Update to Python 3 container and iteration semantics
|
||||
|
||||
---
|
||||
dendropy/dataio/newickreader.py | 3 ++-
|
||||
dendropy/datamodel/treemodel.py | 3 +++
|
||||
2 files changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dendropy/dataio/newickreader.py b/dendropy/dataio/newickreader.py
|
||||
index 6dcf3c5..f978729 100644
|
||||
--- a/dendropy/dataio/newickreader.py
|
||||
+++ b/dendropy/dataio/newickreader.py
|
||||
@@ -303,7 +303,8 @@ def tree_iter(self,
|
||||
taxon_symbol_map_fn=taxon_symbol_mapper.require_taxon_for_symbol)
|
||||
yield tree
|
||||
if tree is None:
|
||||
- raise StopIteration
|
||||
+ # raise StopIteration
|
||||
+ return
|
||||
|
||||
def _read(self,
|
||||
stream,
|
||||
diff --git a/dendropy/datamodel/treemodel.py b/dendropy/datamodel/treemodel.py
|
||||
index 0ecfe31..73146f0 100644
|
||||
--- a/dendropy/datamodel/treemodel.py
|
||||
+++ b/dendropy/datamodel/treemodel.py
|
||||
@@ -772,6 +772,9 @@ def __hash__(self):
|
||||
def __eq__(self, other):
|
||||
return self is other
|
||||
|
||||
+ def __lt__(self, other):
|
||||
+ return id(self) < id(other)
|
||||
+
|
||||
###########################################################################
|
||||
### Basic Structure
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
These tests fail on 32-bit due to an overflow.
|
||||
|
||||
Upstream bug URL: https://github.com/joke2k/faker/issues/408
|
||||
|
||||
diff --git a/faker/tests/__init__.py b/faker/tests/__init__.py
|
||||
index 6026772..58b6b83 100644
|
||||
--- a/faker/tests/__init__.py
|
||||
+++ b/faker/tests/__init__.py
|
||||
@@ -384,7 +384,6 @@ class FactoryTestCase(unittest.TestCase):
|
||||
provider = Provider
|
||||
# test century
|
||||
self.assertTrue(self._datetime_to_time(provider.date_time_this_century(after_now=False)) <= self._datetime_to_time(datetime.datetime.now()))
|
||||
- self.assertTrue(self._datetime_to_time(provider.date_time_this_century(before_now=False, after_now=True)) >= self._datetime_to_time(datetime.datetime.now()))
|
||||
# test decade
|
||||
self.assertTrue(self._datetime_to_time(provider.date_time_this_decade(after_now=False)) <= self._datetime_to_time(datetime.datetime.now()))
|
||||
self.assertTrue(self._datetime_to_time(provider.date_time_this_decade(before_now=False, after_now=True)) >= self._datetime_to_time(datetime.datetime.now()))
|
||||
@@ -413,8 +412,6 @@ class FactoryTestCase(unittest.TestCase):
|
||||
|
||||
# ensure all methods provide timezone aware datetimes
|
||||
with self.assertRaises(TypeError):
|
||||
- provider.date_time_this_century(before_now=False, after_now=True, tzinfo=utc) >= datetime.datetime.now()
|
||||
- with self.assertRaises(TypeError):
|
||||
provider.date_time_this_decade(after_now=False, tzinfo=utc) <= datetime.datetime.now()
|
||||
with self.assertRaises(TypeError):
|
||||
provider.date_time_this_year(after_now=False, tzinfo=utc) <= datetime.datetime.now()
|
||||
@@ -423,7 +420,6 @@ class FactoryTestCase(unittest.TestCase):
|
||||
|
||||
# test century
|
||||
self.assertTrue(provider.date_time_this_century(after_now=False, tzinfo=utc) <= datetime.datetime.now(utc))
|
||||
- self.assertTrue(provider.date_time_this_century(before_now=False, after_now=True, tzinfo=utc) >= datetime.datetime.now(utc))
|
||||
# test decade
|
||||
self.assertTrue(provider.date_time_this_decade(after_now=False, tzinfo=utc) <= datetime.datetime.now(utc))
|
||||
self.assertTrue(provider.date_time_this_decade(before_now=False, after_now=True, tzinfo=utc) >= datetime.datetime.now(utc))
|
||||
--
|
||||
2.11.1
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
These tests fail on 32-bit due to an overflow.
|
||||
|
||||
Upstream bug URL: https://github.com/joke2k/faker/issues/408
|
||||
|
||||
diff --git a/tests/__init__.py b/tests/__init__.py
|
||||
index 6026772..58b6b83 100644
|
||||
--- a/tests/__init__.py
|
||||
+++ b/tests/__init__.py
|
||||
@@ -384,7 +384,6 @@ class FactoryTestCase(unittest.TestCase):
|
||||
provider = Provider
|
||||
# test century
|
||||
self.assertTrue(self._datetime_to_time(provider.date_time_this_century(after_now=False)) <= self._datetime_to_time(datetime.datetime.now()))
|
||||
- self.assertTrue(self._datetime_to_time(provider.date_time_this_century(before_now=False, after_now=True)) >= self._datetime_to_time(datetime.datetime.now()))
|
||||
# test decade
|
||||
self.assertTrue(self._datetime_to_time(provider.date_time_this_decade(after_now=False)) <= self._datetime_to_time(datetime.datetime.now()))
|
||||
self.assertTrue(self._datetime_to_time(provider.date_time_this_decade(before_now=False, after_now=True)) >= self._datetime_to_time(datetime.datetime.now()))
|
||||
@@ -413,8 +412,6 @@ class FactoryTestCase(unittest.TestCase):
|
||||
|
||||
# ensure all methods provide timezone aware datetimes
|
||||
with self.assertRaises(TypeError):
|
||||
- provider.date_time_this_century(before_now=False, after_now=True, tzinfo=utc) >= datetime.datetime.now()
|
||||
- with self.assertRaises(TypeError):
|
||||
provider.date_time_this_decade(after_now=False, tzinfo=utc) <= datetime.datetime.now()
|
||||
with self.assertRaises(TypeError):
|
||||
provider.date_time_this_year(after_now=False, tzinfo=utc) <= datetime.datetime.now()
|
||||
@@ -423,7 +420,6 @@ class FactoryTestCase(unittest.TestCase):
|
||||
|
||||
# test century
|
||||
self.assertTrue(provider.date_time_this_century(after_now=False, tzinfo=utc) <= datetime.datetime.now(utc))
|
||||
- self.assertTrue(provider.date_time_this_century(before_now=False, after_now=True, tzinfo=utc) >= datetime.datetime.now(utc))
|
||||
# test decade
|
||||
self.assertTrue(provider.date_time_this_decade(after_now=False, tzinfo=utc) <= datetime.datetime.now(utc))
|
||||
self.assertTrue(provider.date_time_this_decade(before_now=False, after_now=True, tzinfo=utc) >= datetime.datetime.now(utc))
|
||||
--
|
||||
2.11.1
|
||||
|
|
@ -0,0 +1,59 @@
|
|||
These tests fail on 32bit architectures.
|
||||
|
||||
Upstream bug URL: https://github.com/pandas-dev/pandas/issues/14866
|
||||
|
||||
--- a/pandas/tests/test_base.py 2017-03-08 17:49:44.422282717 +0100
|
||||
+++ b/pandas/tests/test_base.py 2017-03-08 17:50:59.476701799 +0100
|
||||
@@ -363,30 +363,6 @@
|
||||
self.assertFalse(result.iat[0])
|
||||
self.assertFalse(result.iat[1])
|
||||
|
||||
- def test_ndarray_compat_properties(self):
|
||||
-
|
||||
- for o in self.objs:
|
||||
-
|
||||
- # check that we work
|
||||
- for p in ['shape', 'dtype', 'flags', 'T', 'strides', 'itemsize',
|
||||
- 'nbytes']:
|
||||
- self.assertIsNotNone(getattr(o, p, None))
|
||||
- self.assertTrue(hasattr(o, 'base'))
|
||||
-
|
||||
- # if we have a datetimelike dtype then needs a view to work
|
||||
- # but the user is responsible for that
|
||||
- try:
|
||||
- self.assertIsNotNone(o.data)
|
||||
- except ValueError:
|
||||
- pass
|
||||
-
|
||||
- self.assertRaises(ValueError, o.item) # len > 1
|
||||
- self.assertEqual(o.ndim, 1)
|
||||
- self.assertEqual(o.size, len(o))
|
||||
-
|
||||
- self.assertEqual(Index([1]).item(), 1)
|
||||
- self.assertEqual(Series([1]).item(), 1)
|
||||
-
|
||||
def test_ops(self):
|
||||
for op in ['max', 'min']:
|
||||
for o in self.objs:
|
||||
--- a/pandas/tools/tests/test_tile.py 2017-03-08 17:47:39.762261841 +0100
|
||||
+++ b/pandas/tools/tests/test_tile.py 2017-03-08 17:48:26.831780495 +0100
|
||||
@@ -271,19 +271,6 @@
|
||||
np.array([0, 0, 1, 1], dtype=np.int8))
|
||||
tm.assert_numpy_array_equal(bins, np.array([0, 1.5, 3]))
|
||||
|
||||
- def test_single_bin(self):
|
||||
- # issue 14652
|
||||
- expected = Series([0, 0])
|
||||
-
|
||||
- s = Series([9., 9.])
|
||||
- result = cut(s, 1, labels=False)
|
||||
- tm.assert_series_equal(result, expected)
|
||||
-
|
||||
- s = Series([-9., -9.])
|
||||
- result = cut(s, 1, labels=False)
|
||||
- tm.assert_series_equal(result, expected)
|
||||
-
|
||||
-
|
||||
def curpath():
|
||||
pth, _ = os.path.split(os.path.abspath(__file__))
|
||||
return pth
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue