mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-07-10 09:14:05 +02:00
Compare commits
284 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 376a9fa08f | |||
| b90dc06410 | |||
| 6eaa449d63 | |||
| f28254d0c4 | |||
| 202c1b9703 | |||
| 566f13f845 | |||
| 247b1bd2b6 | |||
| 56eb7bd33c | |||
| 38566e975e | |||
| 7bd9020e48 | |||
| b5bb0b500b | |||
| 20f48e4b5d | |||
| ad8d463740 | |||
| 38d346dcc6 | |||
| 66fb6e292a | |||
| e53121b36f | |||
| 8cb9128173 | |||
| 77d8a91792 | |||
| 43a5c17737 | |||
| 1db1e3c79e | |||
| 2e42e587b4 | |||
| 9a7f157571 | |||
| 90f2a84805 | |||
| 27d59d8bf5 | |||
| 15272a5053 | |||
| 71f3680499 | |||
| ff2d11c3ce | |||
| d5599afadf | |||
| 171c3259fc | |||
| 6a95e3a3a4 | |||
| 386bd7ba39 | |||
| 48a279ee14 | |||
| 19789c8b91 | |||
| 6fa257cca7 | |||
| a9010ead4c | |||
| 7eb0ad380b | |||
| 830dc25176 | |||
| 5787e15230 | |||
| 569adffe4b | |||
| 716cd19ad2 | |||
| e5d757709a | |||
| d0d3ed6dfc | |||
| ce7ceef37f | |||
| d9bcdfce29 | |||
| 94617bddb0 | |||
| 50f5aa4b9e | |||
| 0ba0ab814a | |||
| d78587edca | |||
| b4237a6ec0 | |||
| 12995856e2 | |||
| b55697fbb4 | |||
| d89872f955 | |||
| bf076d8ba6 | |||
| 64fac507dd | |||
| d58aefdf06 | |||
| 088096aa0e | |||
| 70c488f8dd | |||
| f0ac761f95 | |||
| a89f731b15 | |||
| a640492f6d | |||
| d0ff383ed8 | |||
| 844b3272da | |||
| ce08d54c35 | |||
| d6a9c4ecfb | |||
| 661da25133 | |||
| ee5c83533d | |||
| 3891c38346 | |||
| 2820e31590 | |||
| 62a14bd26f | |||
| 63abd1e2a3 | |||
| 47d7c10387 | |||
| 9b9aaa57e3 | |||
| 1b50df7d5b | |||
| cb61baf0e7 | |||
| e810de3e68 | |||
| 90fb136ff7 | |||
| 4350cacdf7 | |||
| 3743e117a6 | |||
| f38eedd518 | |||
| 3ad0a35890 | |||
| f232c875d2 | |||
| b45688313b | |||
| 9861bcd182 | |||
| 50401c2a68 | |||
| 51f4e36cb9 | |||
| 3a352a4405 | |||
| 09aa3d063a | |||
| 318ec0a896 | |||
| 69c69c2d8e | |||
| dc3dfa131f | |||
| df71447e99 | |||
| ff598353c0 | |||
| 16d212510a | |||
| aff38cb199 | |||
| f8ee22fc8b | |||
| 4d93a9a36c | |||
| 4b8f4536ce | |||
| 50e33c3a8c | |||
| 0db75f7a79 | |||
| 38622ccd14 | |||
| c96ca68f31 | |||
| 949fa34b84 | |||
| 5748fe5fcc | |||
| 4348a059e5 | |||
| f50f343e0d | |||
| 1d0669f4b4 | |||
| 893fbf1285 | |||
| 49b2e86adf | |||
| 1c06399358 | |||
| 7a1e62ca67 | |||
| 4d494a4fa3 | |||
| e6b65bd219 | |||
| 42643fc24d | |||
| 6b31040ae6 | |||
| 6b7260bad1 | |||
| a5b0038cbd | |||
| 7321920cd3 | |||
| 8640f9ec91 | |||
| f5cec0068a | |||
| 2ba2d62c69 | |||
| 1d18ee6dfd | |||
| 9a6808e0c0 | |||
| f7618bf18e | |||
| 668834cae0 | |||
| c4a7a51292 | |||
| 9ab6c680ba | |||
| 673364cd3a | |||
| 3a69b59332 | |||
| 9b6dc31b6d | |||
| b6b3e5120a | |||
| c8d62d936e | |||
| 920de4286a | |||
| ab5e4be647 | |||
| 8941b4ab3d | |||
| 8eadc55202 | |||
| 2c17bd7b29 | |||
| 617c478506 | |||
| 21c837405a | |||
| f45093429c | |||
| f8b697a385 | |||
| 337d72fb44 | |||
| c793f4d8fb | |||
| 95758e2faf | |||
| 8b4102b903 | |||
| 895cf8278a | |||
| 129363b762 | |||
| bfa47f14b1 | |||
| 82cbe4e046 | |||
| 227da3a4c5 | |||
| 67fd64a490 | |||
| e661dca879 | |||
| 91c5e6a69d | |||
| 292d637b9e | |||
| 2f1dacc281 | |||
| 45dcdf5349 | |||
| 9137596179 | |||
| 83246854f3 | |||
| 42f9ebdc77 | |||
| 0d3f170864 | |||
| b5a927b3ba | |||
| 64791eb7e1 | |||
| bc83b2e22f | |||
| cdb84eb0e6 | |||
| 0ee6692a63 | |||
| b1e6b93805 | |||
| 4680fef705 | |||
| 19c924af4f | |||
| fbdb7b9526 | |||
| 3bd45f5c80 | |||
| e2e5004f6e | |||
| 24fd7586a4 | |||
| c80dfee9f1 | |||
| 7b5b8c4405 | |||
| a3bdddc359 | |||
| 9ecc457b52 | |||
| 7176fe7c32 | |||
| 867b3f4780 | |||
| 77a5461c31 | |||
| 64dcf7d99b | |||
| c88985d9b0 | |||
| 85be9191ee | |||
| 4aa2342008 | |||
| 2cc931db44 | |||
| dedbf37e5d | |||
| 4624d2e2b4 | |||
| 8f065b47c7 | |||
| 4112307268 | |||
| d3142f2ffb | |||
| 9eea4e0302 | |||
| 99b3d203fb | |||
| 5d9bf76235 | |||
| 92b1d09b68 | |||
| 144085cd69 | |||
| a889ba99c1 | |||
| 6fef7c0ec8 | |||
| eb766dfed0 | |||
| 3f4c21c53e | |||
| 1de50cb73e | |||
| a28d00d999 | |||
| 28b52970ba | |||
| 41b3b866ce | |||
| 86afb0a272 | |||
| 1a42bb80cb | |||
| 68a7b929f3 | |||
| 8caa928dd4 | |||
| d414223205 | |||
| 5b8a801d16 | |||
| 9f3000cc11 | |||
| 19a1c3be97 | |||
| c4d4ae1e16 | |||
| 109ce303f4 | |||
| a927eb3653 | |||
| 8d8d1c8d6c | |||
| f07efbf1e6 | |||
| fb8c4bc6ba | |||
| e549ba0598 | |||
| fbdd9b2c8b | |||
| 5800c538a1 | |||
| 1855496813 | |||
| 1a3d39c446 | |||
| ef0c3e1429 | |||
| b4ba1c0a38 | |||
| 6a1761cbf6 | |||
| 141001597d | |||
| bdf83297a8 | |||
| 989cd79b5c | |||
| 8f41fa066e | |||
| 232e1abce7 | |||
| ef091e9155 | |||
| 2d418bfa39 | |||
| 4ef9ddbdae | |||
| 0cd6fb4970 | |||
| 8c661ff1ef | |||
| 99c6124229 | |||
| e7b2937d19 | |||
| 17ef5f1ff9 | |||
| 910d67fb95 | |||
| 0e73c11bb2 | |||
| 707babdde4 | |||
| b718793e2a | |||
| 0fd874ebd1 | |||
| 2f4d43584c | |||
| 7d1f21c69a | |||
| 7277d06d8b | |||
| eed00f93e8 | |||
| 75b2afd953 | |||
| ef8e7e3298 | |||
| 1e672a01be | |||
| 29f40ee547 | |||
| 2c0a3ed1f9 | |||
| a908ffd1ab | |||
| 3d472b5ee1 | |||
| 402e60859d | |||
| d36cd88873 | |||
| 33428d1267 | |||
| 6662d65f96 | |||
| 53fb0476ec | |||
| 39d7fdce45 | |||
| 03fd37b4eb | |||
| b286e3b368 | |||
| 0592db2873 | |||
| acce0a474c | |||
| a55ebe2e3a | |||
| 90aeaee861 | |||
| 1d43756107 | |||
| 82402f76be | |||
| c4d62443eb | |||
| 05f8943f04 | |||
| 15b283e712 | |||
| 24220e0f09 | |||
| 278f86a43f | |||
| 6f1ce09d79 | |||
| c8e3651a82 | |||
| ad0082afe0 | |||
| 02d5ed4a27 | |||
| 2d4a753a7c | |||
| f1376bfabe | |||
| 503fe87098 | |||
| 532f92c8f3 | |||
| f9a8fce10f | |||
| 6ef61cc4c3 | |||
| 2ab321ca37 | |||
| 2c89b4b550 | |||
| b7028a16e6 |
@@ -45,6 +45,7 @@
|
||||
(eval . (put 'manifest-pattern 'scheme-indent-function 0))
|
||||
(eval . (put 'substitute-keyword-arguments 'scheme-indent-function 1))
|
||||
(eval . (put 'with-store 'scheme-indent-function 1))
|
||||
(eval . (put 'with-external-store 'scheme-indent-function 1))
|
||||
(eval . (put 'with-error-handling 'scheme-indent-function 0))
|
||||
(eval . (put 'with-mutex 'scheme-indent-function 1))
|
||||
(eval . (put 'with-atomic-file-output 'scheme-indent-function 1))
|
||||
|
||||
+10
-8
@@ -188,8 +188,9 @@ MODULES = \
|
||||
guix/import/cabal.scm \
|
||||
guix/import/cran.scm \
|
||||
guix/import/hackage.scm \
|
||||
guix/import/elpa.scm \
|
||||
guix/import/texlive.scm \
|
||||
guix/import/elpa.scm \
|
||||
guix/import/texlive.scm \
|
||||
guix/import/gopkg.scm \
|
||||
guix/scripts.scm \
|
||||
guix/scripts/download.scm \
|
||||
guix/scripts/perform-download.scm \
|
||||
@@ -214,8 +215,9 @@ MODULES = \
|
||||
guix/scripts/import/gnu.scm \
|
||||
guix/scripts/import/nix.scm \
|
||||
guix/scripts/import/hackage.scm \
|
||||
guix/scripts/import/elpa.scm \
|
||||
guix/scripts/import/texlive.scm \
|
||||
guix/scripts/import/elpa.scm \
|
||||
guix/scripts/import/texlive.scm \
|
||||
guix/scripts/import/gopkg.scm \
|
||||
guix/scripts/environment.scm \
|
||||
guix/scripts/publish.scm \
|
||||
guix/scripts/edit.scm \
|
||||
@@ -279,10 +281,10 @@ dist_noinst_DATA = guix/tests.scm guix/tests/http.scm
|
||||
# Auxiliary files for packages.
|
||||
AUX_FILES = \
|
||||
gnu/packages/aux-files/emacs/guix-emacs.el \
|
||||
gnu/packages/aux-files/linux-libre/4.18-arm.conf \
|
||||
gnu/packages/aux-files/linux-libre/4.18-arm64.conf \
|
||||
gnu/packages/aux-files/linux-libre/4.18-i686.conf \
|
||||
gnu/packages/aux-files/linux-libre/4.18-x86_64.conf \
|
||||
gnu/packages/aux-files/linux-libre/4.19-arm.conf \
|
||||
gnu/packages/aux-files/linux-libre/4.19-arm64.conf \
|
||||
gnu/packages/aux-files/linux-libre/4.19-i686.conf \
|
||||
gnu/packages/aux-files/linux-libre/4.19-x86_64.conf \
|
||||
gnu/packages/aux-files/linux-libre/4.14-arm.conf \
|
||||
gnu/packages/aux-files/linux-libre/4.14-i686.conf \
|
||||
gnu/packages/aux-files/linux-libre/4.14-x86_64.conf \
|
||||
|
||||
+76
-33
@@ -20,7 +20,7 @@ Copyright @copyright{} 2014, 2015, 2016 Alex Kost@*
|
||||
Copyright @copyright{} 2015, 2016 Mathieu Lirzin@*
|
||||
Copyright @copyright{} 2014 Pierre-Antoine Rault@*
|
||||
Copyright @copyright{} 2015 Taylan Ulrich Bayırlı/Kammer@*
|
||||
Copyright @copyright{} 2015, 2016, 2017 Leo Famulari@*
|
||||
Copyright @copyright{} 2015, 2016, 2017, 2018 Leo Famulari@*
|
||||
Copyright @copyright{} 2015, 2016, 2017, 2018 Ricardo Wurmus@*
|
||||
Copyright @copyright{} 2016 Ben Woodcroft@*
|
||||
Copyright @copyright{} 2016, 2017, 2018 Chris Marusich@*
|
||||
@@ -7179,6 +7179,13 @@ Import metadata from the crates.io Rust package repository
|
||||
@cindex OCaml
|
||||
Import metadata from the @uref{https://opam.ocaml.org/, OPAM} package
|
||||
repository used by the OCaml community.
|
||||
|
||||
@item gopkg
|
||||
@cindex gopkg
|
||||
@cindex Golang
|
||||
@cindex Go
|
||||
Import metadata from the @uref{https://gopkg.in/, gopkg} package
|
||||
versioning service used by some Go software.
|
||||
@end table
|
||||
|
||||
The structure of the @command{guix import} code is modular. It would be
|
||||
@@ -11000,6 +11007,12 @@ Return a service that runs a syslog daemon according to @var{config}.
|
||||
information on the configuration file syntax.
|
||||
@end deffn
|
||||
|
||||
@defvr {Scheme Variable} guix-service-type
|
||||
This is the type of the service that runs the build daemon,
|
||||
@command{guix-daemon} (@pxref{Invoking guix-daemon}). Its value must be a
|
||||
@code{guix-configuration} record as described below.
|
||||
@end defvr
|
||||
|
||||
@anchor{guix-configuration-type}
|
||||
@deftp {Data Type} guix-configuration
|
||||
This data type represents the configuration of the Guix build daemon.
|
||||
@@ -11060,11 +11073,6 @@ A directory path where the @command{guix-daemon} will perform builds.
|
||||
@end table
|
||||
@end deftp
|
||||
|
||||
@deffn {Scheme Procedure} guix-service @var{config}
|
||||
Return a service that runs the Guix build daemon according to
|
||||
@var{config}.
|
||||
@end deffn
|
||||
|
||||
@deffn {Scheme Procedure} udev-service [#:udev @var{eudev} #:rules @code{'()}]
|
||||
Run @var{udev}, which populates the @file{/dev} directory dynamically.
|
||||
udev rules can be provided as a list of files through the @var{rules}
|
||||
@@ -11545,10 +11553,11 @@ The @code{(gnu services networking)} module provides services to configure
|
||||
the network interface.
|
||||
|
||||
@cindex DHCP, networking service
|
||||
@deffn {Scheme Procedure} dhcp-client-service [#:dhcp @var{isc-dhcp}]
|
||||
Return a service that runs @var{dhcp}, a Dynamic Host Configuration
|
||||
Protocol (DHCP) client, on all the non-loopback network interfaces.
|
||||
@end deffn
|
||||
@defvr {Scheme Variable} dhcp-client-service-type
|
||||
This is the type of services that run @var{dhcp}, a Dynamic Host Configuration
|
||||
Protocol (DHCP) client, on all the non-loopback network interfaces. Its value
|
||||
is the DHCP client package to use, @code{isc-dhcp} by default.
|
||||
@end defvr
|
||||
|
||||
@deffn {Scheme Procedure} dhcpd-service-type
|
||||
This type defines a service that runs a DHCP daemon. To create a
|
||||
@@ -11737,19 +11746,36 @@ When true, enable connman's vpn plugin.
|
||||
@defvr {Scheme Variable} wpa-supplicant-service-type
|
||||
This is the service type to run @url{https://w1.fi/wpa_supplicant/,WPA
|
||||
supplicant}, an authentication daemon required to authenticate against
|
||||
encrypted WiFi or ethernet networks. It is configured to listen for
|
||||
requests on D-Bus.
|
||||
|
||||
The value of this service is the @code{wpa-supplicant} package to use.
|
||||
Thus, it can be instantiated like this:
|
||||
|
||||
@lisp
|
||||
(use-modules (gnu services networking))
|
||||
|
||||
(service wpa-supplicant-service-type)
|
||||
@end lisp
|
||||
encrypted WiFi or ethernet networks.
|
||||
@end defvr
|
||||
|
||||
@deftp {Data Type} wpa-supplicant-configuration
|
||||
Data type representing the configuration of WPA Supplicant.
|
||||
|
||||
It takes the following parameters:
|
||||
|
||||
@table @asis
|
||||
@item @code{wpa-supplicant} (default: @code{wpa-supplicant})
|
||||
The WPA Supplicant package to use.
|
||||
|
||||
@item @code{dbus?} (default: @code{#t})
|
||||
Whether to listen for requests on D-Bus.
|
||||
|
||||
@item @code{pid-file} (default: @code{"/var/run/wpa_supplicant.pid"})
|
||||
Where to store the PID file.
|
||||
|
||||
@item @code{interface} (default: @code{#f})
|
||||
If this is set, it must specify the name of a network interface that
|
||||
WPA supplicant will control.
|
||||
|
||||
@item @code{config-file} (default: @code{#f})
|
||||
Optional configuration file to use.
|
||||
|
||||
@item @code{extra-options} (default: @code{'()})
|
||||
List of additional command-line arguments to pass to the daemon.
|
||||
@end table
|
||||
@end deftp
|
||||
|
||||
@cindex iptables
|
||||
@defvr {Scheme Variable} iptables-service-type
|
||||
This is the service type to set up an iptables configuration. iptables is a
|
||||
@@ -11798,20 +11824,37 @@ objects}).
|
||||
@end table
|
||||
@end deftp
|
||||
|
||||
@cindex NTP
|
||||
@cindex NTP (Network Time Protocol), service
|
||||
@cindex real time clock
|
||||
@deffn {Scheme Procedure} ntp-service [#:ntp @var{ntp}] @
|
||||
[#:servers @var{%ntp-servers}] @
|
||||
[#:allow-large-adjustment? #f]
|
||||
Return a service that runs the daemon from @var{ntp}, the
|
||||
@uref{http://www.ntp.org, Network Time Protocol package}. The daemon will
|
||||
keep the system clock synchronized with that of @var{servers}.
|
||||
@var{allow-large-adjustment?} determines whether @command{ntpd} is allowed to
|
||||
make an initial adjustment of more than 1,000 seconds.
|
||||
@end deffn
|
||||
@defvr {Scheme Variable} ntp-service-type
|
||||
This is the type of the service running the the @uref{http://www.ntp.org,
|
||||
Network Time Protocol (NTP)} daemon, @command{ntpd}. The daemon will keep the
|
||||
system clock synchronized with that of the specified NTP servers.
|
||||
|
||||
The value of this service is an @code{ntpd-configuration} object, as described
|
||||
below.
|
||||
@end defvr
|
||||
|
||||
@deftp {Data Type} ntp-configuration
|
||||
This is the data type for the NTP service configuration.
|
||||
|
||||
@table @asis
|
||||
@item @code{servers} (default: @code{%ntp-servers})
|
||||
This is the list of servers (host names) with which @command{ntpd} will be
|
||||
synchronized.
|
||||
|
||||
@item @code{allow-large-adjustment?} (default: @code{#f})
|
||||
This determines whether @command{ntpd} is allowed to make an initial
|
||||
adjustment of more than 1,000 seconds.
|
||||
|
||||
@item @code{ntp} (default: @code{ntp})
|
||||
The NTP package to use.
|
||||
@end table
|
||||
@end deftp
|
||||
|
||||
@defvr {Scheme Variable} %ntp-servers
|
||||
List of host names used as the default NTP servers.
|
||||
List of host names used as the default NTP servers. These are servers of the
|
||||
@uref{https://www.ntppool.org/en/, NTP Pool Project}.
|
||||
@end defvr
|
||||
|
||||
@cindex OpenNTPD
|
||||
@@ -17150,7 +17193,7 @@ A helper function to quickly add php to an @code{nginx-server-configuration}.
|
||||
|
||||
A simple services setup for nginx with php can look like this:
|
||||
@example
|
||||
(services (cons* (dhcp-client-service)
|
||||
(services (cons* (service dhcp-client-service-type)
|
||||
(service php-fpm-service-type)
|
||||
(service nginx-service-type
|
||||
(nginx-server-configuration
|
||||
|
||||
@@ -199,7 +199,7 @@ This is used to create the self-contained tarballs with 'guix pack'."
|
||||
(mkdir-p* %root-profile)
|
||||
(symlink* profile
|
||||
(string-append %root-profile "/guix-profile-1-link"))
|
||||
(symlink* (string-append %root-profile "/guix-profile-1-link")
|
||||
(symlink* "guix-profile-1-link"
|
||||
(string-append %root-profile "/guix-profile"))
|
||||
|
||||
(mkdir-p* "/root")
|
||||
|
||||
+8
-7
@@ -234,6 +234,7 @@ GNU_SYSTEM_MODULES = \
|
||||
%D%/packages/imagemagick.scm \
|
||||
%D%/packages/inklingreader.scm \
|
||||
%D%/packages/inkscape.scm \
|
||||
%D%/packages/ipfs.scm \
|
||||
%D%/packages/irc.scm \
|
||||
%D%/packages/iso-codes.scm \
|
||||
%D%/packages/java.scm \
|
||||
@@ -634,7 +635,6 @@ dist_patch_DATA = \
|
||||
%D%/packages/patches/cracklib-fix-buffer-overflow.patch \
|
||||
%D%/packages/patches/crawl-upgrade-saves.patch \
|
||||
%D%/packages/patches/crda-optional-gcrypt.patch \
|
||||
%D%/packages/patches/crossmap-allow-system-pysam.patch \
|
||||
%D%/packages/patches/clucene-contribs-lib.patch \
|
||||
%D%/packages/patches/cube-nocheck.patch \
|
||||
%D%/packages/patches/cursynth-wave-rand.patch \
|
||||
@@ -643,7 +643,6 @@ dist_patch_DATA = \
|
||||
%D%/packages/patches/datamash-arm-tests.patch \
|
||||
%D%/packages/patches/dbus-helper-search-path.patch \
|
||||
%D%/packages/patches/deja-dup-use-ref-keyword-for-iter.patch \
|
||||
%D%/packages/patches/delly-use-system-libraries.patch \
|
||||
%D%/packages/patches/dfu-programmer-fix-libusb.patch \
|
||||
%D%/packages/patches/diffutils-gets-undeclared.patch \
|
||||
%D%/packages/patches/diffutils-getopt.patch \
|
||||
@@ -659,7 +658,6 @@ dist_patch_DATA = \
|
||||
%D%/packages/patches/elogind-glibc-2.27.patch \
|
||||
%D%/packages/patches/einstein-build.patch \
|
||||
%D%/packages/patches/emacs-exec-path.patch \
|
||||
%D%/packages/patches/emacs-exwm-fix-fullscreen-issue.patch \
|
||||
%D%/packages/patches/emacs-fix-scheme-indent-function.patch \
|
||||
%D%/packages/patches/emacs-json-reformat-fix-tests.patch \
|
||||
%D%/packages/patches/emacs-highlight-stages-add-gexp.patch \
|
||||
@@ -884,12 +882,10 @@ dist_patch_DATA = \
|
||||
%D%/packages/patches/libgnome-encoding.patch \
|
||||
%D%/packages/patches/libgnomeui-utf8.patch \
|
||||
%D%/packages/patches/libgpg-error-aarch64-logging-fix.patch \
|
||||
%D%/packages/patches/libgxps-CVE-2017-11590.patch \
|
||||
%D%/packages/patches/libffi-3.2.1-complex-alpha.patch \
|
||||
%D%/packages/patches/libjxr-fix-function-signature.patch \
|
||||
%D%/packages/patches/libjxr-fix-typos.patch \
|
||||
%D%/packages/patches/libotr-test-auth-fix.patch \
|
||||
%D%/packages/patches/liblxqt-include.patch \
|
||||
%D%/packages/patches/libmad-armv7-thumb-pt1.patch \
|
||||
%D%/packages/patches/libmad-armv7-thumb-pt2.patch \
|
||||
%D%/packages/patches/libmad-frame-length.patch \
|
||||
@@ -1069,6 +1065,10 @@ dist_patch_DATA = \
|
||||
%D%/packages/patches/pygpgme-disable-problematic-tests.patch \
|
||||
%D%/packages/patches/pyqt-configure.patch \
|
||||
%D%/packages/patches/pyqt-public-sip.patch \
|
||||
%D%/packages/patches/python2-CVE-2018-1060.patch \
|
||||
%D%/packages/patches/python2-CVE-2018-1061.patch \
|
||||
%D%/packages/patches/python2-CVE-2018-14647.patch \
|
||||
%D%/packages/patches/python2-CVE-2018-1000802.patch \
|
||||
%D%/packages/patches/python-2-deterministic-build-info.patch \
|
||||
%D%/packages/patches/python-2.7-adjust-tests.patch \
|
||||
%D%/packages/patches/python-2.7-search-paths.patch \
|
||||
@@ -1077,6 +1077,7 @@ dist_patch_DATA = \
|
||||
%D%/packages/patches/python-3-deterministic-build-info.patch \
|
||||
%D%/packages/patches/python-3-search-paths.patch \
|
||||
%D%/packages/patches/python-3-fix-tests.patch \
|
||||
%D%/packages/patches/python-CVE-2018-14647.patch \
|
||||
%D%/packages/patches/python-axolotl-AES-fix.patch \
|
||||
%D%/packages/patches/python-cairocffi-dlopen-path.patch \
|
||||
%D%/packages/patches/python-fix-tests.patch \
|
||||
@@ -1146,6 +1147,7 @@ dist_patch_DATA = \
|
||||
%D%/packages/patches/slim-reset.patch \
|
||||
%D%/packages/patches/slim-login.patch \
|
||||
%D%/packages/patches/sooperlooper-build-with-wx-30.patch \
|
||||
%D%/packages/patches/soundconverter-remove-gconf-dependency.patch \
|
||||
%D%/packages/patches/soundtouch-CVE-2018-14044-14045.patch \
|
||||
%D%/packages/patches/soundtouch-CVE-2018-1000223.patch \
|
||||
%D%/packages/patches/steghide-fixes.patch \
|
||||
@@ -1173,7 +1175,6 @@ dist_patch_DATA = \
|
||||
%D%/packages/patches/tk-find-library.patch \
|
||||
%D%/packages/patches/ttf2eot-cstddef.patch \
|
||||
%D%/packages/patches/ttfautohint-source-date-epoch.patch \
|
||||
%D%/packages/patches/tophat-build-with-later-seqan.patch \
|
||||
%D%/packages/patches/totem-meson-easy-codec.patch \
|
||||
%D%/packages/patches/tuxpaint-stamps-path.patch \
|
||||
%D%/packages/patches/twinkle-include-qregexpvalidator.patch \
|
||||
@@ -1227,7 +1228,7 @@ dist_patch_DATA = \
|
||||
%D%/packages/patches/wpa-supplicant-fix-nonce-reuse.patch \
|
||||
%D%/packages/patches/wpa-supplicant-krack-followups.patch \
|
||||
%D%/packages/patches/wxmaxima-do-not-use-old-gnuplot-parameters.patch \
|
||||
%D%/packages/patches/x265-arm-asm-primitives.patch \
|
||||
%D%/packages/patches/x265-detect512-all-arches.patch \
|
||||
%D%/packages/patches/xapian-revert-5489fb2f8.patch \
|
||||
%D%/packages/patches/xboing-CVE-2004-0149.patch \
|
||||
%D%/packages/patches/xf86-video-ark-remove-mibstore.patch \
|
||||
|
||||
+25
-8
@@ -14,6 +14,7 @@
|
||||
;;; Copyright © 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
|
||||
;;; Copyright © 2018 Brett Gilio <brettg@posteo.net>
|
||||
;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -1041,7 +1042,7 @@ follower.")
|
||||
(define-public fluidsynth
|
||||
(package
|
||||
(name "fluidsynth")
|
||||
(version "1.1.11")
|
||||
(version "2.0.1")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
@@ -1050,7 +1051,7 @@ follower.")
|
||||
(file-name (string-append name "-" version "-checkout"))
|
||||
(sha256
|
||||
(base32
|
||||
"0n75jq3xgq46hfmjkaaxz3gic77shs4fzajq40c8gk043i84xbdh"))))
|
||||
"1mqyym5qkh8xd1rqj3yhfxbw5dxjcrljb6nkfqzvcarlv4h6rjn7"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f ; no check target
|
||||
@@ -1082,6 +1083,22 @@ device. It is the software analogue of a MIDI synthesizer. FluidSynth can
|
||||
also play midifiles using a Soundfont.")
|
||||
(license license:lgpl2.1+)))
|
||||
|
||||
;; gzdoom@3.3.0 and lmms@1.1.3 requires this version. Remove once no longer
|
||||
;; needed.
|
||||
(define-public fluidsynth-1
|
||||
(package
|
||||
(inherit fluidsynth)
|
||||
(version "1.1.11")
|
||||
(source (origin
|
||||
(inherit (package-source fluidsynth))
|
||||
(uri (git-reference
|
||||
(url "https://github.com/FluidSynth/fluidsynth")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name "fluidsynth" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0n75jq3xgq46hfmjkaaxz3gic77shs4fzajq40c8gk043i84xbdh"))))))
|
||||
|
||||
(define-public faad2
|
||||
(package
|
||||
(name "faad2")
|
||||
@@ -1910,7 +1927,7 @@ lv2-c++-tools.")
|
||||
(define-public openal
|
||||
(package
|
||||
(name "openal")
|
||||
(version "1.19.0")
|
||||
(version "1.19.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
@@ -1918,7 +1935,7 @@ lv2-c++-tools.")
|
||||
version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"1mhf5bsb58s1xk6hvxl7ly7rd4rpl9z8h07xl1q94brywykg7bgi"))))
|
||||
"1sdjhkz2gd6lbnwphi1b6aw3br4wv2lik5vnqh6mxfc8a7zqfbsw"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no check target
|
||||
@@ -2759,7 +2776,7 @@ interface.")
|
||||
(define-public qsynth
|
||||
(package
|
||||
(name "qsynth")
|
||||
(version "0.5.2")
|
||||
(version "0.5.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -2767,7 +2784,7 @@ interface.")
|
||||
"/qsynth-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1rfkaxq1pyc4hv3l0i6wicianbcbm1wp53kh9i5d4jsljgisd1dv"))))
|
||||
"1jghczmmva7cyavg1q0j8nr3hmjpzzglzi5ckg92ax4ji8gpks9c"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no "check" phase
|
||||
@@ -3088,7 +3105,7 @@ with support for HD extensions.")
|
||||
(define-public bs1770gain
|
||||
(package
|
||||
(name "bs1770gain")
|
||||
(version "0.5.0")
|
||||
(version "0.5.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -3096,7 +3113,7 @@ with support for HD extensions.")
|
||||
version "/bs1770gain-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0vd7320k7s2zcn2vganclxbr1vav18ghld27rcwskvcc3dm8prii"))))
|
||||
"0r4fbajgfmnwgl63hcm56f1j8m5f135q6j5jkzdvrrhpcj39yx06"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs `(("ffmpeg" ,ffmpeg)
|
||||
("sox" ,sox)))
|
||||
|
||||
+603
-516
File diff suppressed because it is too large
Load Diff
+788
-654
File diff suppressed because it is too large
Load Diff
+740
-634
File diff suppressed because it is too large
Load Diff
+791
-685
File diff suppressed because it is too large
Load Diff
@@ -913,3 +913,29 @@ can be analyzed regarding their minimal, maximal and average distances between
|
||||
barcodes. Finally, reads that start with a (possibly mutated) barcode can be
|
||||
demultiplexed, i.e. assigned to their original reference barcode.")
|
||||
(license license:gpl2)))
|
||||
|
||||
(define-public r-ruvseq
|
||||
(package
|
||||
(name "r-ruvseq")
|
||||
(version "1.14.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (bioconductor-uri "RUVSeq" version))
|
||||
(sha256
|
||||
(base32
|
||||
"16i5sm5af761k4zvspfi8jknsgln48bn538hxqqmlaq7wvlfxqxj"))))
|
||||
(properties `((upstream-name . "RUVSeq")))
|
||||
(build-system r-build-system)
|
||||
(propagated-inputs
|
||||
`(("r-biobase" ,r-biobase)
|
||||
("r-edaseq" ,r-edaseq)
|
||||
("r-edger" ,r-edger)
|
||||
("r-mass" ,r-mass)))
|
||||
(home-page "https://github.com/drisso/RUVSeq")
|
||||
(synopsis "Remove unwanted variation from RNA-Seq data")
|
||||
(description
|
||||
"This package implements methods to @dfn{remove unwanted variation} (RUV)
|
||||
of Risso et al. (2014) for the normalization of RNA-Seq read counts between
|
||||
samples.")
|
||||
(license license:artistic2.0)))
|
||||
|
||||
+546
-430
File diff suppressed because it is too large
Load Diff
@@ -4,6 +4,7 @@
|
||||
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
|
||||
;;; Copyright © 2018 Tomáš Čech <sleep_walker@gnu.org>
|
||||
;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -98,6 +99,63 @@ it is easy to re-run the compilation with alternate programs. Bear is used to
|
||||
generate such a compilation database.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public gn
|
||||
(let ((commit "f73698ebb33e26a0bf120e2b55d12528fd1dbe7d")
|
||||
(revision "1481")) ;as returned by `git describe`, used below
|
||||
(package
|
||||
(name "gn")
|
||||
(version (git-version "0.0" revision commit))
|
||||
(home-page "https://gn.googlesource.com/gn")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference (url home-page) (commit commit)))
|
||||
(sha256
|
||||
(base32
|
||||
"078ydwak4424bkqh3hd7q955zxp2c3qlw44lsb29i8jqap140f9d"))
|
||||
(file-name (git-file-name name version))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ;FIXME: How to run?
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-before 'configure 'set-build-environment
|
||||
(lambda _
|
||||
(setenv "CC" "gcc") (setenv "CXX" "g++")
|
||||
(setenv "AR" "ar")
|
||||
#t))
|
||||
(replace 'configure
|
||||
(lambda _
|
||||
(invoke "python" "build/gen.py" "--no-sysroot"
|
||||
"--no-last-commit-position")))
|
||||
(add-after 'configure 'create-last-commit-position
|
||||
(lambda _
|
||||
;; Create "last_commit_position.h" to avoid a dependency
|
||||
;; on 'git' (and the checkout..).
|
||||
(call-with-output-file "out/last_commit_position.h"
|
||||
(lambda (port)
|
||||
(format port
|
||||
"#define LAST_COMMIT_POSITION \"~a (~a)\"\n"
|
||||
,revision ,(string-take commit 8))
|
||||
#t))))
|
||||
(replace 'build
|
||||
(lambda _
|
||||
(invoke "ninja" "-C" "out" "gn"
|
||||
"-j" (number->string (parallel-job-count)))))
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(install-file "out/gn" (string-append out "/bin"))
|
||||
#t))))))
|
||||
(native-inputs
|
||||
`(("ninja" ,ninja)
|
||||
("python" ,python-2)))
|
||||
(synopsis "Generate Ninja build files")
|
||||
(description
|
||||
"GN is a tool that collects information about a project from @file{.gn}
|
||||
files and generates build instructions for the Ninja build system.")
|
||||
;; GN is distributed as BSD-3, but bundles some files from ICU using the
|
||||
;; X11 license.
|
||||
(license (list license:bsd-3 license:x11)))))
|
||||
|
||||
(define-public meson
|
||||
(package
|
||||
(name "meson")
|
||||
|
||||
+4
-4
@@ -178,15 +178,15 @@ compiler while still keeping it small, simple, fast and understandable.")
|
||||
(define-public libbytesize
|
||||
(package
|
||||
(name "libbytesize")
|
||||
(version "1.3")
|
||||
(version "1.4")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://github.com/storaged-project/libbytesize/releases/download/1.3/libbytesize-"
|
||||
version ".tar.gz"))
|
||||
"https://github.com/storaged-project/libbytesize/releases/"
|
||||
"download/" version "/libbytesize-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1l7mxm2vq2h6137fyfa46v9r4lydp9dvmsixkd64xr3ylqk1g6fi"))))
|
||||
"0bbqzln1nhjxl71aydq9k4jg3hvki9lqsb4w10s1i27jgibxqkdv"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("gettext" ,gettext-minimal)
|
||||
|
||||
@@ -293,13 +293,13 @@ format.")
|
||||
(define-public cppcheck
|
||||
(package
|
||||
(name "cppcheck")
|
||||
(version "1.84")
|
||||
(version "1.85")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/danmar/cppcheck/archive/"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1ibz07dgs1dpfb8bmjh3qsma37wl5p6s6b4qlv5ccpshj4yjk9ma"))
|
||||
(base32 "18qlddf1i9bk5nnvy1v2nfxjd46y8wvp3rqz2hrfxjxsyvrfq5yw"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))))
|
||||
(build-system cmake-build-system)
|
||||
(home-page "http://cppcheck.sourceforge.net")
|
||||
|
||||
@@ -1694,14 +1694,14 @@ or junctions, and always follows hard links.")
|
||||
(define-public zstd
|
||||
(package
|
||||
(name "zstd")
|
||||
(version "1.3.6")
|
||||
(version "1.3.7")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/facebook/zstd/releases/download/"
|
||||
"v" version "/zstd-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1525b31jmbiczjj1n58nckdzky4cdnbwcsil3zgy4cx03v0a0cp8"))))
|
||||
(base32 "0gapsdzqfsfqqddzv22592iwa0008xjyi15f06pfv9hcvwvg4xrj"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
;;; Copyright © 2018 Charlie Ritter <chewzeirta@posteo.net>
|
||||
;;; Copyright © 2018 Konrad Hinsen <konrad.hinsen@fastmail.net>
|
||||
;;; Copyright © 2018 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
|
||||
;;; Copyright © 2018 Laura Lazzati <laura.lazzati.15@gmail.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -6256,3 +6257,23 @@ a header row or not. The dataset should contain only one independent variable
|
||||
(x) and one dependent variable (y) and can contain a weight for each
|
||||
observation.")
|
||||
(license license:gpl2)))
|
||||
|
||||
(define-public r-aspi
|
||||
(package
|
||||
(name "r-aspi")
|
||||
(version "0.2.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (cran-uri "aspi" version))
|
||||
(sha256
|
||||
(base32 "0rhvxw243vvdv3hxa6pi343gcjc2cbxq1jzqirl9k1l4i3897l87"))))
|
||||
(build-system r-build-system)
|
||||
(home-page
|
||||
"https://cran.r-project.org/web/packages/aspi/")
|
||||
(synopsis
|
||||
"Analysis of symmetry of parasitic infections")
|
||||
(description
|
||||
"This package provides tools for the analysis and visualization of bilateral
|
||||
asymmetry in parasitic infections.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
+36
-2
@@ -10,6 +10,7 @@
|
||||
;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
|
||||
;;; Copyright © 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
||||
;;; Copyright © 2018 Nicolò Balzarotti <nicolo@nixo.xyz>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -93,7 +94,7 @@ communication, encryption, decryption, signatures, etc.")
|
||||
(define-public libmd
|
||||
(package
|
||||
(name "libmd")
|
||||
(version "1.0.0")
|
||||
(version "1.0.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri
|
||||
@@ -104,7 +105,7 @@ communication, encryption, decryption, signatures, etc.")
|
||||
version ".tar.xz")))
|
||||
(sha256
|
||||
(base32
|
||||
"1iv45npzv0gncjgcpx5m081861zdqxw667ysghqb8721yrlyl6pj"))))
|
||||
"0waclg2d5qin3r26gy5jvy4584ik60njc8pqbzwk0lzq3j9ynkp1"))))
|
||||
(build-system gnu-build-system)
|
||||
(synopsis "Message Digest functions from BSD systems")
|
||||
(description
|
||||
@@ -854,3 +855,36 @@ public-key cryptography. Asignify is designed to be portable and self-contained
|
||||
with zero external dependencies. Asignify can verify OpenBSD signatures, but it
|
||||
cannot sign messages in OpenBSD format yet.")
|
||||
(license license:bsd-2))))
|
||||
|
||||
(define-public enchive
|
||||
(package
|
||||
(name "enchive")
|
||||
(version "3.4")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/skeeto/" name "/archive/"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"17hrxpp4cpn10bk48sfvfjc8hghky34agsnypam1v9f36kbalqfk"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f ; no check target '
|
||||
#:make-flags (list "CC=gcc" "PREFIX=$(out)")
|
||||
#:phases (modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(add-after 'install 'post-install
|
||||
(lambda _
|
||||
(let* ((out (assoc-ref %outputs "out"))
|
||||
(lisp (string-append out "/share/emacs/site-lisp")))
|
||||
(install-file "enchive-mode.el" lisp)
|
||||
#t))))))
|
||||
(synopsis "Encrypted personal archives")
|
||||
(description
|
||||
"Enchive is a tool to encrypt files to yourself for long-term
|
||||
archival. It's a focused, simple alternative to more complex solutions such as
|
||||
GnuPG or encrypted filesystems. Enchive has no external dependencies and is
|
||||
trivial to build for local use. Portability is emphasized over performance.")
|
||||
(home-page "https://github.com/skeeto/enchive")
|
||||
(license license:unlicense)))
|
||||
|
||||
+21
-11
@@ -503,10 +503,9 @@ applications.")
|
||||
#t))
|
||||
(replace 'build
|
||||
(lambda _
|
||||
(zero? (apply system*
|
||||
`("scons"
|
||||
(apply invoke `("scons"
|
||||
,@common-options
|
||||
"mongod" "mongo" "mongos")))))
|
||||
"mongod" "mongo" "mongos"))))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? inputs #:allow-other-keys)
|
||||
(setenv "TZDIR"
|
||||
@@ -1768,19 +1767,32 @@ trees (LSM), for sustained throughput under random insert workloads.")
|
||||
;; configure.ac: WiredTiger requires a 64-bit build.
|
||||
(supported-systems '("x86_64-linux" "mips64el-linux" "aarch64-linux"))))
|
||||
|
||||
(define-public wiredtiger-3
|
||||
(package
|
||||
(inherit wiredtiger)
|
||||
(name "wiredtiger")
|
||||
(version "3.1.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://source.wiredtiger.com/releases/wiredtiger-"
|
||||
version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"014awypv579ascg4jbx4pndj2wld337m79yyzrzyr7hxrff139jx"))))))
|
||||
|
||||
(define-public guile-wiredtiger
|
||||
(package
|
||||
(name "guile-wiredtiger")
|
||||
(version "0.6.3")
|
||||
(version "0.7.0")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://framagit.org/a-guile-mind/guile-wiredtiger.git")
|
||||
(commit "070ed68139d99c279f058a6c293f00292d35dbd7")))
|
||||
(commit "340ad4bc2ff4dcc6216a2f5c6f9172ca320ac66b")))
|
||||
(file-name (string-append name "-" version "-checkout"))
|
||||
(sha256
|
||||
(base32
|
||||
"14rna97wsylajzxfif95wnblq85csgcfc666gh5dl0ssgd7x8llh"))))
|
||||
"15j36bvxxzil7qpwlmh1rffqpva3ynvrcpqhhqbj2c9208ayz595"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:parallel-tests? #f ;; tests can't be run in parallel, yet.
|
||||
@@ -1788,21 +1800,19 @@ trees (LSM), for sustained throughput under random insert workloads.")
|
||||
(list (string-append "--with-libwiredtiger-prefix="
|
||||
(assoc-ref %build-inputs "wiredtiger")))
|
||||
#:make-flags '("GUILE_AUTO_COMPILE=0")))
|
||||
;; TODO: Remove microkanren.scm when we have a separate package
|
||||
;; for it.
|
||||
(native-inputs
|
||||
`(("autoconf" ,autoconf)
|
||||
("automake" ,automake)
|
||||
("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
`(("wiredtiger" ,wiredtiger)
|
||||
`(("wiredtiger" ,wiredtiger-3)
|
||||
("guile" ,guile-2.2)))
|
||||
(propagated-inputs
|
||||
`(("guile-lib" ,guile-lib))) ;for (htmlprag)
|
||||
`(("guile-bytestructures" ,guile-bytestructures)))
|
||||
(synopsis "WiredTiger bindings for GNU Guile")
|
||||
(description
|
||||
"This package provides Guile bindings to the WiredTiger ``NoSQL''
|
||||
database. Various higher level database abstractions.")
|
||||
database.")
|
||||
(home-page "https://framagit.org/a-guile-mind/guile-wiredtiger")
|
||||
(license license:gpl3+)))
|
||||
|
||||
|
||||
@@ -222,7 +222,7 @@ It comes with a German-English dictionary with approximately 270,000 entries.")
|
||||
(base32
|
||||
"11byjs3ggdhia5f4vyfqfvbbczsfqimll98h98g7hlsrm7vrifb0"))))
|
||||
(build-system python-build-system)
|
||||
(home-page "https://www.dicollecte.org")
|
||||
(home-page "https://grammalecte.net")
|
||||
(synopsis "French spelling and grammar checker")
|
||||
(description "Grammalecte is a grammar checker dedicated to the French
|
||||
language, derived from Lightproof.
|
||||
|
||||
@@ -363,7 +363,7 @@ to result in system-wide compromise.")
|
||||
(define-public unbound
|
||||
(package
|
||||
(name "unbound")
|
||||
(version "1.8.0")
|
||||
(version "1.8.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -371,7 +371,7 @@ to result in system-wide compromise.")
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0gxqc4ynd2g1a5dwaazqh9n8injh49a7dz0l9bbxqgv47dnrvxvq"))))
|
||||
"0p9w6spar5dfi7fplxjcq4394wldabaws0ns30cqq6sxqfwv6qn3"))))
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("out" "python"))
|
||||
(native-inputs
|
||||
@@ -569,14 +569,14 @@ Extensions} (DNSSEC).")
|
||||
(define-public knot
|
||||
(package
|
||||
(name "knot")
|
||||
(version "2.7.2")
|
||||
(version "2.7.3")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://secure.nic.cz/files/knot-dns/"
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0cc4wgb02ch09x99a1fnr7vsdik8k920q7jafzcamjvy3kpb4w6b"))
|
||||
"1pwjcv7hzhqawisibybma160k77a6f1v94xw6ay9c7j49vrw05w7"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
|
||||
@@ -243,17 +243,17 @@ easy.")
|
||||
(define-public snap
|
||||
(package
|
||||
(name "snap")
|
||||
(version "4.2.1.4")
|
||||
(version "4.2.2.2")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/jmoenig/Snap--Build-Your-Own-Blocks.git")
|
||||
(url "https://github.com/jmoenig/Snap.git")
|
||||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0yc0w0cdhvi0nwqqrann2v3y0n7shxh7irgixqvlavp4k49d7aqj"))))
|
||||
"0bay08yr58qj8wzpjg33gdj78rfhyskfzidknpdl3cr1jrj6i4p9"))))
|
||||
(build-system trivial-build-system)
|
||||
(arguments
|
||||
`(#:modules ((guix build utils))
|
||||
@@ -265,7 +265,7 @@ easy.")
|
||||
(share (string-append out "/share/snap")))
|
||||
(copy-recursively source share)
|
||||
;; Replace the sole minified file in the package.
|
||||
(with-directory-excursion share
|
||||
(with-directory-excursion (string-append share "/src")
|
||||
(delete-file "FileSaver.min.js")
|
||||
(symlink (string-append (assoc-ref %build-inputs "js-filesaver")
|
||||
"/share/javascript/FileSaver.min.js")
|
||||
|
||||
+87
-29
@@ -6,7 +6,7 @@
|
||||
;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
|
||||
;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2016, 2017, 2018 Chris Marusich <cmmarusich@gmail.com>
|
||||
;;; Copyright © 2015, 2016 Christopher Allan Webber <cwebber@dustycloud.org>
|
||||
;;; Copyright © 2015, 2016, 2018 Christopher Lemmer Webber <cwebber@dustycloud.org>
|
||||
;;; Copyright © 2016 Adriano Peluso <catonano@gmail.com>
|
||||
;;; Copyright © 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2016 David Thompson <davet@gnu.org>
|
||||
@@ -654,6 +654,33 @@ Gitlab APIs from Emacs packages. It abstracts access to API resources using
|
||||
only a handful of functions that are not resource-specific.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public emacs-scribble-mode
|
||||
(let ((commit "34e9e5edb921813b6483e0fefa848efb6ee4b314")
|
||||
(version "0.0")
|
||||
(revision 0))
|
||||
(package
|
||||
(name "emacs-scribble-mode")
|
||||
(version (if (zero? revision)
|
||||
version
|
||||
(string-append version "-"
|
||||
(number->string revision)
|
||||
"." (string-take commit 7))))
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/emacs-pe/scribble-mode.git")
|
||||
(commit commit)))
|
||||
(sha256
|
||||
(base32
|
||||
"0598byqpz2q6yi2q4dwd77jj9z3n99z34d3an51s9m2za0nh1qvp"))))
|
||||
(build-system emacs-build-system)
|
||||
(home-page "https://github.com/emacs-pe/scribble-mode")
|
||||
(synopsis "Emacs mode for editing the Scribble documentation syntax.")
|
||||
(description
|
||||
"This package provides basic syntax highlighting and editing support
|
||||
for editing Racket's Scribble documentation syntax in Emacs.")
|
||||
(license license:gpl3+))))
|
||||
|
||||
(define-public emacs-haskell-mode
|
||||
(package
|
||||
(name "emacs-haskell-mode")
|
||||
@@ -1376,7 +1403,7 @@ environment set through Direnv.")
|
||||
(define-public emacs-ggtags
|
||||
(package
|
||||
(name "emacs-ggtags")
|
||||
(version "0.8.12")
|
||||
(version "0.8.13")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -1384,7 +1411,7 @@ environment set through Direnv.")
|
||||
version ".el"))
|
||||
(sha256
|
||||
(base32
|
||||
"0ny3llk021g6r0s75xdm4hzpbxv393ddm2r6f2xdk8kqnq4gnirp"))))
|
||||
"1qa7lcrcmf76sf6dy8sxbg4adq7rg59fm0n5848w3qxgsr0h45fg"))))
|
||||
(build-system emacs-build-system)
|
||||
(home-page "https://github.com/leoliu/ggtags")
|
||||
(synopsis "Frontend to the GNU Global source code tagging system")
|
||||
@@ -2162,7 +2189,7 @@ keep pressing the key until it selects what you want. There's also
|
||||
(define-public emacs-fill-column-indicator
|
||||
(package
|
||||
(name "emacs-fill-column-indicator")
|
||||
(version "1.81")
|
||||
(version "1.89")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -2171,7 +2198,7 @@ keep pressing the key until it selects what you want. There's also
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1xwyqbjbbicmvhlb85vg4j5snwy1vd7rfk89ws4viws5ljkhhyg8"))))
|
||||
"09ab01np14bdcsr38xf95kpnvxzqr46mdjmphg3pigwnx39a3jvg"))))
|
||||
(build-system emacs-build-system)
|
||||
(home-page "https://www.emacswiki.org/emacs/FillColumnIndicator")
|
||||
(synopsis "Graphically indicate the fill column")
|
||||
@@ -2512,7 +2539,7 @@ snippets for yasnippet.")
|
||||
(define-public emacs-smart-mode-line
|
||||
(package
|
||||
(name "emacs-smart-mode-line")
|
||||
(version "2.10.1")
|
||||
(version "2.12.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -2521,7 +2548,7 @@ snippets for yasnippet.")
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0i9wajabrrsjzwd842q0m2611kf0q31p9hg1pdj81177gynkw8l8"))))
|
||||
"1hn8s6laijmg7w1bgwdfrki6h9vxkbgr8rmmssvd5yqyad5w2sba"))))
|
||||
(build-system emacs-build-system)
|
||||
(propagated-inputs
|
||||
`(("emacs-rich-minority" ,emacs-rich-minority)))
|
||||
@@ -3091,7 +3118,7 @@ an Emacs minor mode that complements the standard @command{lisp-mode}.
|
||||
While lisp-mode supports editing Lisp source files, @command{slime-mode}
|
||||
adds support for interacting with a running Common Lisp process
|
||||
for compilation, debugging, documentation lookup, and so on.")
|
||||
(license license:gpl2+)))
|
||||
(license (list license:gpl2+ license:public-domain))))
|
||||
|
||||
(define-public emacs-popup
|
||||
(package
|
||||
@@ -4307,14 +4334,14 @@ strings, and code folding.")
|
||||
(define-public emacs-nodejs-repl
|
||||
(package
|
||||
(name "emacs-nodejs-repl")
|
||||
(version "0.1.6")
|
||||
(version "0.2.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/abicky/nodejs-repl.el"
|
||||
"/archive/" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0sphg1jxi3a5l0gqdp27d0qgyjaiq2p293av9zm8ksm0vwqp3fr9"))
|
||||
"0hq2cqdq2668yf48g7qnkci90nhih1gnhacsgz355jnib56lhmkz"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))))
|
||||
(build-system emacs-build-system)
|
||||
(home-page "https://github.com/abicky/nodejs-repl.el")
|
||||
@@ -4757,14 +4784,14 @@ of its name.")
|
||||
(define-public emacs-rainbow-mode
|
||||
(package
|
||||
(name "emacs-rainbow-mode")
|
||||
(version "0.13")
|
||||
(version "1.0.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"http://elpa.gnu.org/packages/rainbow-mode-" version ".el"))
|
||||
(sha256
|
||||
(base32
|
||||
"1d3aamx6qgqqpqijwsr02ggwrh67gfink1bir0692alfkm3zdddl"))))
|
||||
"0cpga4ax635rfpj7y2vmh7ank0yw00dcy20gjg1mj74r97by8csf"))))
|
||||
(build-system emacs-build-system)
|
||||
(home-page "http://elpa.gnu.org/packages/rainbow-mode.html")
|
||||
(synopsis "Colorize color names in buffers")
|
||||
@@ -5599,7 +5626,7 @@ This package contains the library runtime.")
|
||||
(define-public emacs-nginx-mode
|
||||
(package
|
||||
(name "emacs-nginx-mode")
|
||||
(version "1.1.4")
|
||||
(version "1.1.9")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -5609,7 +5636,7 @@ This package contains the library runtime.")
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1lvkj07kq0jkskr2f61vqb5rlrbnaz9a76ikq40w6925i2r970rr"))))
|
||||
"0bzyrj6zz1hm67bkhw23bam7qc869s3zg7m1rb1c3aa4n0aw90cq"))))
|
||||
(build-system emacs-build-system)
|
||||
(home-page "https://github.com/ajc/nginx-mode")
|
||||
(synopsis "Emacs major mode for editing nginx config files")
|
||||
@@ -5814,7 +5841,7 @@ mode-line.")
|
||||
(define-public emacs-yasnippet
|
||||
(package
|
||||
(name "emacs-yasnippet")
|
||||
(version "0.12.2")
|
||||
(version "0.13.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/joaotavora/yasnippet/"
|
||||
@@ -5822,7 +5849,7 @@ mode-line.")
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"01jabaz0g67bsziayrxgv74px55fx4nlrcl0csl8f1by2102pwc5"))
|
||||
"12ls2x17agzbrj1xynjbmfa11igqxia4hj4fv6fpr66yci2r1plc"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
@@ -5929,8 +5956,20 @@ Yasnippet.")
|
||||
(base32
|
||||
"01by0c4lqi2cw8xmbxkjw7m9x78zssm31sx4hdpw5j35s2951j0f"))))
|
||||
(build-system emacs-build-system)
|
||||
(inputs
|
||||
`(("recutils" ,recutils)))
|
||||
(propagated-inputs
|
||||
`(("emacs-helm" ,emacs-helm)))
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'configure
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let ((recutils (assoc-ref inputs "recutils")))
|
||||
;; Specify the absolute file names of the various
|
||||
;; programs so that everything works out-of-the-box.
|
||||
(substitute* "helm-system-packages-guix.el"
|
||||
(("recsel") (string-append recutils "/bin/recsel")))))))))
|
||||
(home-page "https://github.com/emacs-helm/helm-system-packages")
|
||||
(synopsis "Helm System Packages is an interface to your package manager")
|
||||
(description "List all available packages in Helm (with installed
|
||||
@@ -6576,14 +6615,14 @@ which code derived from Kelvin H's org-page.")
|
||||
(define-public emacs-xelb
|
||||
(package
|
||||
(name "emacs-xelb")
|
||||
(version "0.15")
|
||||
(version "0.16")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://elpa.gnu.org/packages/xelb-"
|
||||
version ".tar"))
|
||||
(sha256
|
||||
(base32
|
||||
"031rvgprsqhf344p9wsczr50vj2qcpwdmhxi80jdbrsm7wyxf3qz"))))
|
||||
"03wsr1jr7f7zfd80h864rd4makwh4widdnj1kjv2xyjwdgap9rl8"))))
|
||||
(build-system emacs-build-system)
|
||||
;; The following functions and variables needed by emacs-xelb are
|
||||
;; not included in emacs-minimal:
|
||||
@@ -6615,7 +6654,7 @@ It should enable you to implement low-level X11 applications.")
|
||||
(define-public emacs-exwm
|
||||
(package
|
||||
(name "emacs-exwm")
|
||||
(version "0.19")
|
||||
(version "0.20")
|
||||
(synopsis "Emacs X window manager")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
@@ -6623,8 +6662,7 @@ It should enable you to implement low-level X11 applications.")
|
||||
version ".tar"))
|
||||
(sha256
|
||||
(base32
|
||||
"11xd2w4h3zdwkdxypvmcz8s7q72cn76lfr9js77jbizyj6b04lr0"))
|
||||
(patches (search-patches "emacs-exwm-fix-fullscreen-issue.patch"))))
|
||||
"0nhhzbkm0mkj7sd1dy2c19cmn56gyaj9nl8kgy86h4fp63hjaz04"))))
|
||||
(build-system emacs-build-system)
|
||||
(propagated-inputs
|
||||
`(("emacs-xelb" ,emacs-xelb)))
|
||||
@@ -7232,7 +7270,7 @@ or @code{treemacs}, but leveraging @code{Dired} to do the job of display.")
|
||||
(define-public emacs-which-key
|
||||
(package
|
||||
(name "emacs-which-key")
|
||||
(version "3.0.2")
|
||||
(version "3.3.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -7241,7 +7279,7 @@ or @code{treemacs}, but leveraging @code{Dired} to do the job of display.")
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1xvd70cwq9n31f28viyjxmr3nn8l153gsy6scpszvgvjxkiikv24"))
|
||||
"1lsj314111cp2hjjwnv3f46ws1za6bm39rgy3l19044xf6a68j5w"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))))
|
||||
(build-system emacs-build-system)
|
||||
(arguments
|
||||
@@ -7410,7 +7448,7 @@ created by @code{git format-patch}, from @code{magit}, @code{dired} and
|
||||
(define-public emacs-erc-hl-nicks
|
||||
(package
|
||||
(name "emacs-erc-hl-nicks")
|
||||
(version "1.3.2")
|
||||
(version "1.3.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -7419,7 +7457,7 @@ created by @code{git format-patch}, from @code{magit}, @code{dired} and
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"01svpl9bps5kx4y1wnymakxya2cznqmlynvqv2r500wpnbxczrbs"))))
|
||||
"1a1r2kc3688g8c2ybkpwh88kgmnqhg3h3032g2yn4zr9m0n3vpkr"))))
|
||||
(build-system emacs-build-system)
|
||||
(synopsis "Nickname highlighting for Emacs ERC")
|
||||
(description "@code{erc-hl-nicks} highlights nicknames in ERC, an IRC
|
||||
@@ -8162,7 +8200,7 @@ the format.")
|
||||
(define-public emacs-nov-el
|
||||
(package
|
||||
(name "emacs-nov-el")
|
||||
(version "0.2.2")
|
||||
(version "0.2.6")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
@@ -8171,7 +8209,7 @@ the format.")
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"03s0qjvwk1f7y3i4wh2p5y3z4hdv00adgz8za3vphzc0q8i1kjzb"))))
|
||||
"188h5gzn1zf443g0b7q5bpmvvpr6ds5h8aci8vxc92py56rhyrvc"))))
|
||||
(build-system emacs-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
@@ -9725,7 +9763,7 @@ documentation.")
|
||||
(define-public emacs-hy-mode
|
||||
(package
|
||||
(name "emacs-hy-mode")
|
||||
(version "1.0.2")
|
||||
(version "1.0.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -9734,7 +9772,7 @@ documentation.")
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0sbga36zkyhzrzcczsyjzll7b9qsa215pnlw51m4li2irm23jh17"))))
|
||||
"0b4pvbr2hf77bq2vsyfsv653q0dab7qzq85wc7kdziw7687jdf2z"))))
|
||||
(build-system emacs-build-system)
|
||||
(propagated-inputs
|
||||
`(("emacs-dash" ,emacs-dash)
|
||||
@@ -12375,3 +12413,23 @@ have special meaning. It is also handy for aligning text across long vertical
|
||||
distances. Multi-column characters, such as @kbd{TAB} are treated
|
||||
correctly.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public emacs-slime-repl-ansi-color
|
||||
(let ((commit "ad03263f5d4de473bc173b64a6fc3dc1106393d7"))
|
||||
(package
|
||||
(name "emacs-slime-repl-ansi-color")
|
||||
(version (git-version "0.0.0" "1" commit))
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/deadtrickster/slime-repl-ansi-color")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0bpg7gxz310x7bnlg324c507sxc5gxwwz6h64h6kdq141r73vbi4"))))
|
||||
(build-system emacs-build-system)
|
||||
(home-page "https://github.com/deadtrickster/slime-repl-ansi-color")
|
||||
(synopsis "Color ANSI codes in the REPL of SLIME")
|
||||
(description "Color ANSI codes in the REPL of SLIME")
|
||||
(license license:gpl2+))))
|
||||
|
||||
+24
-19
@@ -246,8 +246,8 @@ canyons and wait for the long I-shaped block to clear four rows at a time.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public cataclysm-dda
|
||||
(let ((commit "ad3b0c3d521292d119f97a83390e7acfe9e9e7f7")
|
||||
(revision "1"))
|
||||
(let ((commit "0b2c194e5c6a06f4fbf14a0ec1260e0f3cf2567c")
|
||||
(revision "2"))
|
||||
(package
|
||||
(name "cataclysm-dda")
|
||||
;; This denotes the version released after the 0.C release.
|
||||
@@ -260,7 +260,7 @@ canyons and wait for the long I-shaped block to clear four rows at a time.")
|
||||
(commit commit)))
|
||||
(sha256
|
||||
(base32
|
||||
"1kdgbl8zqd53f5yilm2c9nyq3w6585yxl5jvgxy65dlpzxcqqj7y"))
|
||||
"1yzsn0y2g27bvbxjvivjyjhkmf2w5na1qqw5qfkswcfqqwym2y33"))
|
||||
(file-name (git-file-name name version))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
@@ -1000,7 +1000,7 @@ Every puzzle has a complete solution, although there may be more than one.")
|
||||
(define-public retux
|
||||
(package
|
||||
(name "retux")
|
||||
(version "1.3.5")
|
||||
(version "1.3.6")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://savannah/retux/"
|
||||
@@ -1008,7 +1008,7 @@ Every puzzle has a complete solution, although there may be more than one.")
|
||||
version "-src.tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1pcrh3z16fl412r3k7xccrgika19ahb1xh90jihgl8yy7zza2i6p"))))
|
||||
"01bidh4zisjp3nc436x0g85v60dvwb3ig37i7y01sa71j8fm4fmb"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no check target
|
||||
@@ -2137,7 +2137,7 @@ falling, themeable graphics and sounds, and replays.")
|
||||
(define-public wesnoth
|
||||
(package
|
||||
(name "wesnoth")
|
||||
(version "1.14.4")
|
||||
(version "1.14.5")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/wesnoth/wesnoth-"
|
||||
@@ -2146,7 +2146,7 @@ falling, themeable graphics and sounds, and replays.")
|
||||
name "-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"1hw1ap8xxpdwyx1sf8fm1g75p6724y3hwb4kpvyqbsq7bwfwsb9i"))))
|
||||
"1kgpj2f22nnx4mwd1zis3s5ny2983aasgqsmz7wnqaq7n6a7ac85"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f)) ; no check target
|
||||
@@ -3658,7 +3658,7 @@ throwing people around in pseudo-randomly generated buildings.")
|
||||
(define-public hyperrogue
|
||||
(package
|
||||
(name "hyperrogue")
|
||||
(version "10.4j")
|
||||
(version "10.4t")
|
||||
;; When updating this package, be sure to update the "hyperrogue-data"
|
||||
;; origin in native-inputs.
|
||||
(source (origin
|
||||
@@ -3669,11 +3669,12 @@ throwing people around in pseudo-randomly generated buildings.")
|
||||
"-src.tgz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0909p4xvbi1c2jc5rdgrf8b1c60fmsaapabsi6yyglh5znkf0k27"))))
|
||||
"0phqhmnzmc16a23qb4fkil0flzb86kibdckf1r35nc3l0k4193nn"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no check target
|
||||
#:make-flags '("CXXFLAGS=-std=c++11")
|
||||
#:make-flags '("HYPERROGUE_USE_GLEW=1"
|
||||
"HYPERROGUE_USE_PNG=1")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'set-paths 'set-sdl-paths
|
||||
@@ -3696,12 +3697,16 @@ throwing people around in pseudo-randomly generated buildings.")
|
||||
(string-append dejavu-dir "/" dejavu-font)))
|
||||
(substitute* music-file
|
||||
(("\\*/")
|
||||
(string-append share-dir "/sounds/"))))
|
||||
;; Fix Makefile.
|
||||
(substitute* "Makefile"
|
||||
(("g\\+\\+ langen.cpp")
|
||||
"g++ langen.cpp ${CXXFLAGS}")
|
||||
(("savepng.c") "savepng.cpp"))
|
||||
(string-append share-dir "/sounds/")))
|
||||
(substitute* "sound.cpp"
|
||||
(("musicfile = \"\"")
|
||||
(string-append "musicfile = \""
|
||||
share-dir "/" music-file "\"")))
|
||||
;; Disable build machine CPU optimizations and warnings treated
|
||||
;; as errors.
|
||||
(substitute* "Makefile"
|
||||
(("-march=native") "")
|
||||
(("-Werror") "")))
|
||||
#t))
|
||||
(replace 'install
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
@@ -3709,7 +3714,7 @@ throwing people around in pseudo-randomly generated buildings.")
|
||||
(bin (string-append out "/bin"))
|
||||
(share-dir (string-append out "/share/hyperrogue")))
|
||||
(mkdir-p bin)
|
||||
(copy-file "hyper" (string-append bin "/hyperrogue"))
|
||||
(install-file "hyperrogue" bin)
|
||||
(install-file "hyperrogue-music.txt" share-dir))
|
||||
#t))
|
||||
(add-after 'install 'install-data
|
||||
@@ -3741,7 +3746,7 @@ throwing people around in pseudo-randomly generated buildings.")
|
||||
"-win.zip"))
|
||||
(sha256
|
||||
(base32
|
||||
"0w61iv2rn93hi0q3hxyyyf9xcr8vi9zd7fjvpz5adpgf94jm3zsc"))))
|
||||
"1xd9v8zzgi8m5ar8g4gy1xx5zqwidz3gn1knz0lwib3kbxx4drpg"))))
|
||||
("unzip" ,unzip)))
|
||||
(inputs
|
||||
`(("font-dejavu" ,font-dejavu)
|
||||
@@ -5350,7 +5355,7 @@ You can save humanity and get programming skills!")
|
||||
(build-system cmake-build-system)
|
||||
(inputs `(("bzip2" ,bzip2)
|
||||
("fluid-3" ,fluid-3)
|
||||
("fluidsynth" ,fluidsynth)
|
||||
("fluidsynth" ,fluidsynth-1) ;XXX: try using 2.x when updating
|
||||
("gtk+3" ,gtk+)
|
||||
("libgme" ,libgme)
|
||||
("libjpeg" ,libjpeg)
|
||||
|
||||
@@ -787,7 +787,7 @@ programming langauage. It also contains the utility
|
||||
(define-public appstream-glib
|
||||
(package
|
||||
(name "appstream-glib")
|
||||
(version "0.7.12")
|
||||
(version "0.7.14")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://people.freedesktop.org/~hughsient/"
|
||||
@@ -795,7 +795,7 @@ programming langauage. It also contains the utility
|
||||
"appstream-glib-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1jcb2bggcic3iczr2hn8zp8a3c2hl1xjij0aawr7kwqmzh9b3jms"))))
|
||||
"0n0s99jmx2sx5895lcvmfjwa9r0f06i71495dpn9v9frz4asvk3d"))))
|
||||
(build-system meson-build-system)
|
||||
(native-inputs
|
||||
`(("gettext" ,gettext-minimal)
|
||||
|
||||
+78
-11
@@ -397,28 +397,30 @@ access the common Google services, and has full asynchronous support.")
|
||||
(define-public libgxps
|
||||
(package
|
||||
(name "libgxps")
|
||||
(version "0.2.5")
|
||||
(version "0.3.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnome/sources/" name "/"
|
||||
(version-major+minor version) "/"
|
||||
name "-" version ".tar.xz"))
|
||||
(patches (search-patches "libgxps-CVE-2017-11590.patch"))
|
||||
(sha256
|
||||
(base32
|
||||
"184r06s8g20cfigg7m169n42jjsc9wmzzlycr4g1fxxhr72r8x9y"))))
|
||||
(build-system gnu-build-system)
|
||||
"1bhgrpb6ndlp11qwr95g9piklmjcsca7bi04f8gy9ziipm1i6as1"))))
|
||||
(build-system meson-build-system)
|
||||
(native-inputs
|
||||
`(("gobject-introspection" ,gobject-introspection)
|
||||
("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
`(("cairo" ,cairo)
|
||||
("glib" ,glib)
|
||||
("libarchive" ,libarchive)
|
||||
("libjpeg" ,libjpeg)
|
||||
`(("gtk+" ,gtk+)
|
||||
("libjpeg" ,libjpeg-turbo)
|
||||
("lcms" ,lcms)
|
||||
("libtiff" ,libtiff)
|
||||
("nettle" ,nettle)))
|
||||
(propagated-inputs
|
||||
;; In Requires of libgxps.pc.
|
||||
`(("cairo" ,cairo)
|
||||
("glib" ,glib)
|
||||
("libarchive" ,libarchive)))
|
||||
(home-page "https://wiki.gnome.org/Projects/libgxps")
|
||||
(synopsis "GObject-based library for handling and rendering XPS documents")
|
||||
(description
|
||||
@@ -4090,15 +4092,15 @@ work and the interface is well tested.")
|
||||
(define-public eolie
|
||||
(package
|
||||
(name "eolie")
|
||||
(version "0.9.38")
|
||||
(version "0.9.45")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://gitlab.gnome.org/World/eolie/"
|
||||
"uploads/9814c06a1bc83ea09c3da8719a9ed11b/"
|
||||
"uploads/020f3f686e2b938731752a1d9f5bfa7e/"
|
||||
"eolie-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"10vrh91rapgfmqwc6jkcybpmlvn4q0y8bnklw3rddzigf9kvqsff"))))
|
||||
"0371p7g13r0b7zjc48fdcil43ddwpmyvkd2a4vv6ifsqmny6kl42"))))
|
||||
(build-system meson-build-system)
|
||||
(arguments
|
||||
`(#:glib-or-gtk? #t
|
||||
@@ -7220,6 +7222,71 @@ It supports ripping to any audio codec supported by a GStreamer plugin, such as
|
||||
mp3, Ogg Vorbis and FLAC")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public soundconverter
|
||||
(package
|
||||
(name "soundconverter")
|
||||
(version "3.0.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://launchpad.net/soundconverter/trunk/"
|
||||
version "/+download/"
|
||||
"soundconverter-" version ".tar.xz"))
|
||||
|
||||
(sha256
|
||||
(base32
|
||||
"1wrxf5py54xplrf97qp24pzbis0cvax5c6k0c7vr3z3ry8r7gd7c"))
|
||||
(patches
|
||||
(search-patches
|
||||
"soundconverter-remove-gconf-dependency.patch"))))
|
||||
(build-system glib-or-gtk-build-system)
|
||||
(arguments
|
||||
`(#:imported-modules ((guix build python-build-system)
|
||||
(guix build glib-or-gtk-build-system)
|
||||
,@%gnu-build-system-modules)
|
||||
|
||||
#:modules ((guix build glib-or-gtk-build-system)
|
||||
(guix build utils)
|
||||
((guix build gnu-build-system) #:prefix gnu:)
|
||||
((guix build python-build-system) #:prefix python:))
|
||||
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-POTFILES.in
|
||||
(lambda _
|
||||
(substitute* "po/POTFILES.in"
|
||||
;; This file doesn't exist, so without removing it, the 'check
|
||||
;; phase fails for the po directory
|
||||
(("soundconverter/gconfstore\\.py") ""))))
|
||||
(add-after 'install 'wrap-soundconverter-for-python
|
||||
(assoc-ref python:%standard-phases 'wrap))
|
||||
(add-after 'install 'wrap-soundconverter
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out"))
|
||||
(gi-typelib-path (getenv "GI_TYPELIB_PATH"))
|
||||
(gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
|
||||
(wrap-program (string-append out "/bin/soundconverter")
|
||||
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
|
||||
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("intltool" ,intltool)
|
||||
("pkg-config" ,pkg-config)
|
||||
("glib:bin" ,glib "bin")))
|
||||
(inputs
|
||||
`(("gtk+" ,gtk+)
|
||||
("python" ,python)
|
||||
("python-pygobject" ,python-pygobject)
|
||||
("gstreamer" ,gstreamer)
|
||||
("gst-plugins-base" ,gst-plugins-base)))
|
||||
(home-page "http://soundconverter.org/")
|
||||
(synopsis "Convert between audio formats with a graphical interface")
|
||||
(description
|
||||
"SoundConverter supports converting between many audio formats including
|
||||
Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and
|
||||
configurable file renaming. ")
|
||||
(license license:gpl3)))
|
||||
|
||||
(define-public workrave
|
||||
(let ((commit "v1_10_21"))
|
||||
(package
|
||||
|
||||
+10
-2
@@ -1,7 +1,7 @@
|
||||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2013, 2015, 2018 Andreas Enge <andreas@enge.fr>
|
||||
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
|
||||
;;; Copyright © 2014, 2018 Eric Bavier <bavier@member.fsf.org>
|
||||
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
|
||||
;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
|
||||
@@ -67,7 +67,8 @@
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix build-system perl)
|
||||
#:use-module (guix build-system python))
|
||||
#:use-module (guix build-system python)
|
||||
#:use-module (srfi srfi-1))
|
||||
|
||||
(define-public libgpg-error
|
||||
(package
|
||||
@@ -485,6 +486,13 @@ strong randomness, and more. It is implemented using the foreign function
|
||||
interface (FFI) of Guile.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public guile2.0-gcrypt
|
||||
(package (inherit guile-gcrypt)
|
||||
(name "guile2.0-gcrypt")
|
||||
(inputs
|
||||
`(("guile" ,guile-2.0)
|
||||
,@(alist-delete "guile" (package-inputs guile-gcrypt))))))
|
||||
|
||||
(define-public python-gpg
|
||||
(package
|
||||
(name "python-gpg")
|
||||
|
||||
@@ -510,15 +510,55 @@ security standards.")
|
||||
(mozilla-patch "icecat-bug-1478685.patch" "098585dc86fc" "1b0x4qdh6isvffmibvc8ad8z62m3iky9q6jq0z6gyvn8q252cqal")
|
||||
(mozilla-patch "icecat-bug-1486080.patch" "3f8d57d936ea" "0pz2c18wcgj44v0j8my9xbm90m4bsjcvzmavj569fi8bh6s6zz8p")
|
||||
(mozilla-patch "icecat-bug-1423278.patch" "878ceaee5634" "0i47s5nvrx9vqbnj6s9y9f4ffww20p8nviqa6frg676y1188xlyl")
|
||||
(mozilla-patch "icecat-bug-1442010.patch" "87be1b98ec9a" "15f4l18c7hz9aqn89gg3dwmdidfwgn10dywgpzydm8mps45amx7j")
|
||||
(mozilla-patch "icecat-CVE-2018-12390-pt01.patch" "87be1b98ec9a" "15f4l18c7hz9aqn89gg3dwmdidfwgn10dywgpzydm8mps45amx7j")
|
||||
(mozilla-patch "icecat-bug-1484559.patch" "99e58b5307ce" "02fdgbliwzi2r2376wg6k1rky1isfka0smac4ii2cll01jhpfrn6")
|
||||
(mozilla-patch "icecat-bug-1487098.patch" "f25ce451a492" "18nzg39iyxza1686180qk9cc88l5j2hf1h35d62lrqmdgd9vcj33")
|
||||
(mozilla-patch "icecat-bug-1484905.patch" "35c26bc231df" "0qh8d4z6y03h5xh7djci26a01l6zq667lg2k11f6zzg7z2j0h67x")
|
||||
(mozilla-patch "icecat-CVE-2018-12390-pt02.patch" "f25ce451a492" "18nzg39iyxza1686180qk9cc88l5j2hf1h35d62lrqmdgd9vcj33")
|
||||
(mozilla-patch "icecat-CVE-2018-12390-pt03.patch" "35c26bc231df" "0qh8d4z6y03h5xh7djci26a01l6zq667lg2k11f6zzg7z2j0h67x")
|
||||
(mozilla-patch "icecat-bug-1488061.patch" "050d0cfa8e3d" "05ql798ynbyz5pvyri4b95j4ixmgnny3zl7sd2ckfrrbm9mxh627")
|
||||
(mozilla-patch "icecat-bug-1434963-pt1.patch" "1e6dad87efed" "1v00a6cmgswjk54041jyv1ib129fxshpzwk6mn6lr0v5hylk3bx9")
|
||||
(mozilla-patch "icecat-bug-1434963-pt2.patch" "6558c46df9ea" "0vdy9dm9w5k1flhcfxwvvff0aa415b5mgmmq5r37i83686768xfb")
|
||||
(mozilla-patch "icecat-bug-1434963-pt3.patch" "686fcfa8abd6" "0ihqr11aq4b0y7mx7bwn8yzn25mv3k2gdphm951mj1g85qg35ann")
|
||||
(mozilla-patch "icecat-bug-1491132.patch" "14120e0c74d6" "188c5fbhqqhmlk88p70l6d97skh7xy4jhqdby1ri3h9ix967515j")))
|
||||
(mozilla-patch "icecat-bug-1491132.patch" "14120e0c74d6" "188c5fbhqqhmlk88p70l6d97skh7xy4jhqdby1ri3h9ix967515j")
|
||||
(mozilla-patch "icecat-bug-1492065.patch" "ec4b5969c6ae" "18gfwn15kh0826vlg6lhrx3q4gv82i7v1k3y5jp72mvrjq154gy0")
|
||||
(mozilla-patch "icecat-bug-1492064.patch" "528cabdd9665" "0rdwpkfma24hn8namfb9saw4rgi9yyyj4af5h2ijrvadw6r8lyyn")
|
||||
(mozilla-patch "icecat-bug-1489757.patch" "46f19852aaa6" "0dga7mw847klm8x6il2fyzpjxqxxgx1q5cya658f1w66kxms1f29")
|
||||
(mozilla-patch "icecat-bug-1492897.patch" "c3a48066f383" "09n6sdck4jzzmznzrq0iixg5nsgrc5ibpdfsh3i7ppwad3fsy2m3")
|
||||
(mozilla-patch "icecat-bug-1492915.patch" "2d280e557331" "11x2n61pw5way9cg8lbrfl3lqvgfnbmcs1fwm78i06kmfwj0msk3")
|
||||
(mozilla-patch "icecat-CVE-2018-12390-pt04.patch" "b80f94262165" "1hw43h4sgf77x323745rixyp6cci3fb6d3fnp33q82m4ssdb5623")
|
||||
(mozilla-patch "icecat-bug-1492484.patch" "1b3e6759cf3a" "1yn2cd2227ncg90c88ymdi5fyfs4hk335bd16vkkgljs0924yy0m")
|
||||
(mozilla-patch "icecat-bug-1493590.patch" "d9fe3b2025fc" "06783hj1aqms2f9a3mp18bk8hgijk3pz70bpccn173v4w0zlbbd4")
|
||||
(mozilla-patch "icecat-CVE-2018-12390-pt05.patch" "20c59797e994" "1vxnhpirjsj040hrq9xmq2xhkpq4l5mnnzqy0nda92dfh47zvidj")
|
||||
(mozilla-patch "icecat-CVE-2018-12390-pt06.patch" "1749661dfd28" "0g0sj2fgp3asj0yvxksnhrc59yxncn35bz5nzlvkpgdf7h06gscd")
|
||||
(mozilla-patch "icecat-CVE-2018-12390-pt07.patch" "a511a9242406" "1hhfrvdmkccnhs4skbi06174x37rmvf4ic86xawyyzr67yga73b2")
|
||||
(mozilla-patch "icecat-bug-1495404.patch" "3232bb3b622f" "1pnaxf8r9h0wldjc4qgl7z3rk34fpz9h1vd3zmhswa6mvyln5jhg")
|
||||
(mozilla-patch "icecat-bug-1465388.patch" "a9577451dcc2" "0v29s0v3vv9vblkcachhh46qvwjcrmv2bkcdb7sj2asc503l0lqv")
|
||||
(mozilla-patch "icecat-CVE-2018-12390-pt08.patch" "e965f6f6ed75" "0hh091854xj5j0x1r8pg46xmn00fqi5n212xhzbdpgyf96rsf513")
|
||||
(mozilla-patch "icecat-bug-1445528.patch" "8a503e022a29" "1y2ll3h0yz8sfdddjmk90qjfxcr1ffhw7a9ww3yw26gyhnbpg404")
|
||||
(mozilla-patch "icecat-bug-1409570.patch" "8d326641d1c0" "0w29s6dixi7b7q3nicshrp29n9sj5awssdln00yx664m8a8a8ihs")
|
||||
(mozilla-patch "icecat-bug-1496094.patch" "6cdd6d88eca9" "1ssqa4fy2xpbr63ph3av3hkpl92g4yszx402fq9d2xn9482q43dp")
|
||||
(mozilla-patch "icecat-CVE-2018-12391.patch" "0fa07c704ca4" "055xdyb3g2l4rj188235i579qnr50v19q36jjpliws9nik129iqy")
|
||||
(mozilla-patch "icecat-bug-1462162.patch" "739e898cb7c8" "17m9y0pskmqx15dkgkw4k93njph14mpsf37wb1azwkq3xx7s0fhx")
|
||||
(mozilla-patch "icecat-bug-1492764.patch" "16310ab35452" "1kq5r3w9i4n6q9msmw2qsqa0jd4qw1mjlyyz8aq14fwlbkhvv199")
|
||||
(mozilla-patch "icecat-CVE-2018-12390-pt09.patch" "9b669d047d55" "063ig49gx9468nvc9w8259j819qfdjvq0sbbz8n4kj5r6hcxjc5l")
|
||||
(mozilla-patch "icecat-CVE-2018-12390-pt10.patch" "9d51e65c797a" "0m23cq9zl22w80dvx5rlgpbam1l3d6v56h7g9wzamzl21bwxq9fv")
|
||||
(mozilla-patch "icecat-CVE-2018-12390-pt11.patch" "efc0596dd381" "1alvbb6wvawxxh6isisk9c40vhdiv59fy0af0n10yn1dgy8ffv5i")
|
||||
(mozilla-patch "icecat-CVE-2018-12393.patch" "c4fb48bb5d28" "09izww9dsg9n8cish8f3y7phxibsnd12bfkcxd7rzcdhg10nr4pl")
|
||||
(mozilla-patch "icecat-CVE-2018-12390-pt12.patch" "b3359becd7b1" "188byxmbgrvrid2fcz34w5xdvaw571frxx1c6nqaa9k03iljdzjr")
|
||||
(mozilla-patch "icecat-CVE-2018-12390-pt13.patch" "791c8ecf252d" "02h37594aba0pklxm3g7w1wv8vz9xmcf30fd0az8pfaccsklmx74")
|
||||
(mozilla-patch "icecat-bug-1494328.patch" "333276fac37c" "0qyq42jl0al63m6pwj9gva7nj82l76szzbj7sklsygx0a9mqs13z")
|
||||
(mozilla-patch "icecat-CVE-2018-12397.patch" "cb73374a0e4e" "0x2s1nwgwdag9df5hkwzvjj0qznp5c3d6w6y63rn2y287jn9m3vl")
|
||||
(mozilla-patch "icecat-CVE-2018-12392.patch" "f6bb138ad0ab" "0f0z9dsyw2a11p4p31mdyic571153jpfgy2q04i4v6dmmcz76pm3")
|
||||
(mozilla-patch "icecat-CVE-2018-12396.patch" "f27145bd5502" "0vznmlm1fbl3ynax2zpi6xxzr9qp9b83afr3mv90jgrhlgpzdbcz")
|
||||
(mozilla-patch "icecat-CVE-2018-12395-pt1.patch" "133a99a8f3ca" "0im7m4jmc273mg9kih0i70hxsgzy04j6ydm9zmaz2933hkhdf4iw")
|
||||
(mozilla-patch "icecat-CVE-2018-12395-pt2.patch" "82176a4a9b14" "0g3yqx4854d4mx5a0ghb7p7saj6y5d5bm2lfhabvkwybcd477zmc")
|
||||
(mozilla-patch "icecat-bug-1474265.patch" "e8abd9a8ce6e" "1q2sv5h081rvnhsx6g1y8a43hwv6hsg0cr6zdcij58mkgzf6hyvd")
|
||||
(mozilla-patch "icecat-bug-1492737-pt1.patch" "eeb9060379dc" "1d2mf0x4rni7anvi0sgra4dg87fmc6g7zhizzl9jv2x8va27ycbp")
|
||||
(mozilla-patch "icecat-bug-1492737-pt2.patch" "99eae0d15092" "0f9j6cvhrbrrxa95p4pkcn285r9wmi9yj13nwj5x0gkglwx6idbk")
|
||||
(mozilla-patch "icecat-CVE-2018-12389-pt1.patch" "23b23e12c548" "0nsdycggki5rhh59yvmh41nf1ahjmgii89fx38jryprhspy3wg62")
|
||||
(mozilla-patch "icecat-CVE-2018-12390-pt14.patch" "023133ff02ec" "1g22qxnmgiy8bgrn2nv6har6vpz4p2h5pdas8ib1yyz7p2ic8652")
|
||||
(mozilla-patch "icecat-CVE-2018-12390-pt15.patch" "9461988ff462" "0yq2cr5grqskr0kz4nxcwmnywy9g0xyv6k6q44i490jcj8x2y1vw")
|
||||
(mozilla-patch "icecat-CVE-2018-12390-pt16.patch" "09939be135d8" "1546xlk368v4hnjd3hf4w868i6m8r4wfd34qxz4wg1cdpr4m5mik")
|
||||
(mozilla-patch "icecat-CVE-2018-12389-pt2.patch" "ea9412b18ca8" "0fmdncrylbmjh0bcb6dmw1rq7zww8a0v9v9p1pxqfz0vbc6v9l5d")))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
|
||||
+969
-3
File diff suppressed because it is too large
Load Diff
@@ -227,6 +227,7 @@ for the GStreamer multimedia library.")
|
||||
("gdk-pixbuf" ,gdk-pixbuf)
|
||||
("gst-plugins-base" ,gst-plugins-base)
|
||||
("jack" ,jack-1)
|
||||
("lame" ,lame)
|
||||
("libavc1394" ,libavc1394)
|
||||
("libcaca" ,libcaca)
|
||||
("libdv" ,libdv)
|
||||
@@ -236,10 +237,12 @@ for the GStreamer multimedia library.")
|
||||
("libshout" ,libshout)
|
||||
("libsoup" ,libsoup)
|
||||
("libvpx" ,libvpx)
|
||||
("mpg123" ,mpg123)
|
||||
("orc" ,orc)
|
||||
("pulseaudio" ,pulseaudio)
|
||||
("speex" ,speex)
|
||||
("taglib" ,taglib)
|
||||
("twolame" ,twolame)
|
||||
("wavpack" ,wavpack)))
|
||||
(native-inputs
|
||||
`(("glib:bin" ,glib "bin")
|
||||
@@ -320,7 +323,6 @@ developers consider to have good quality code and correct functionality.")
|
||||
("libxml2" ,libxml2)
|
||||
("lrdf" ,lrdf)
|
||||
("mesa" ,mesa)
|
||||
("mpg123" ,mpg123)
|
||||
("neon" ,neon)
|
||||
("openal" ,openal)
|
||||
("openexr" ,openexr)
|
||||
@@ -357,13 +359,10 @@ par compared to the rest.")
|
||||
(inputs
|
||||
`(("gst-plugins-base" ,gst-plugins-base)
|
||||
("liba52" ,liba52)
|
||||
("lame" ,lame)
|
||||
("libcdio" ,libcdio)
|
||||
("twolame" ,twolame)
|
||||
("libmpeg2" ,libmpeg2)
|
||||
("libdvdread" ,libdvdread)
|
||||
("libx264" ,libx264)
|
||||
("mpg123" ,mpg123)
|
||||
;; TODO:
|
||||
;; * opencore-amr (for the AMR-NB decoder and encoder and the
|
||||
;; AMR-WB decoder) <http://sourceforge.net/projects/opencore-amr/>
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
;;; Copyright © 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
|
||||
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
|
||||
;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -225,6 +226,20 @@ without requiring the source code to be rewritten.")
|
||||
(home-page "https://www.gnu.org/software/guile/")
|
||||
(license license:lgpl3+)))
|
||||
|
||||
(define-public guile-2.0.13
|
||||
;; For testing a "minimal" Guix
|
||||
(hidden-package
|
||||
(package (inherit guile-2.0)
|
||||
(name "guile")
|
||||
(version "2.0.13")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnu/guile/guile-" version
|
||||
".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"12yqkr974y91ylgw6jnmci2v90i90s7h9vxa4zk0sai8vjnz4i1p")))))))
|
||||
|
||||
(define-public guile-2.2
|
||||
(package (inherit guile-2.0)
|
||||
(name "guile")
|
||||
@@ -1151,6 +1166,9 @@ Guile's foreign function interface.")
|
||||
"This package provides Guile bindings to the SQLite database system.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public guile2.0-sqlite3
|
||||
(package-for-guile-2.0 guile-sqlite3))
|
||||
|
||||
(define-public haunt
|
||||
(package
|
||||
(name "haunt")
|
||||
|
||||
@@ -22,11 +22,13 @@
|
||||
#:use-module (gnu packages glib)
|
||||
#:use-module (gnu packages libusb)
|
||||
#:use-module (gnu packages linux)
|
||||
#:use-module (gnu packages ncurses)
|
||||
#:use-module (gnu packages pkg-config)
|
||||
#:use-module (gnu packages xdisorg)
|
||||
#:use-module (gnu packages xorg)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module (guix packages))
|
||||
|
||||
@@ -232,3 +234,45 @@ such as the Turbo Boost ratio and Thermal Design Power (@dfn{TDP}) limits.
|
||||
MSR addresses differ (greatly) between processors, and any such modification can
|
||||
be dangerous and may void your CPU or system board's warranty.")
|
||||
(license license:gpl2))) ; cpuid.c is gpl2, {rd,wr}msr.c are gpl2+
|
||||
|
||||
(define-public wavemon
|
||||
(package
|
||||
(name "wavemon")
|
||||
(version "0.8.2")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/uoaerg/wavemon.git")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0rqpp7rhl9rlwnihsapaiy62v33h45fm3d0ia2nhdjw7fwkwcqvs"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:make-flags
|
||||
(list "CC=gcc"
|
||||
;; Makefile.in (ab)uses $(datadir) as $(docdir). Set it to Guix's
|
||||
;; standard --docdir since it's only used as such.
|
||||
(string-append "datadir=" (assoc-ref %outputs "out")
|
||||
"/share/doc/" ,name "-" ,version))
|
||||
#:tests? #f)) ; no tests
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
`(("libcap" ,libcap)
|
||||
("libnl" ,libnl)
|
||||
("ncurses" ,ncurses)))
|
||||
(home-page "https://github.com/uoaerg/wavemon")
|
||||
(synopsis "Wireless network device monitor")
|
||||
(description
|
||||
"Wavemon is a wireless device monitor with an interactive ncurses terminal
|
||||
interface. It can display and plot signal and noise levels in real time. It
|
||||
also reports packet statistics, device configuration, network parameters, and
|
||||
access points and other wireless clients of your wireless network hardware.
|
||||
|
||||
Wavemon should work (with varying levels of detail and features) with any device
|
||||
supported by the Linux kernel.")
|
||||
;; Source file headers still say GPL2+, but the authorial intent
|
||||
;; (from COPYING and the F9 'about' screen) is clearly GPL3+.
|
||||
(license license:gpl3+)))
|
||||
|
||||
@@ -0,0 +1,231 @@
|
||||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
||||
;;; under the terms of the GNU General Public License as published by
|
||||
;;; the Free Software Foundation; either version 3 of the License, or (at
|
||||
;;; your option) any later version.
|
||||
;;;
|
||||
;;; GNU Guix is distributed in the hope that it will be useful, but
|
||||
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
;;; GNU General Public License for more details.
|
||||
;;;
|
||||
;;; You should have received a copy of the GNU General Public License
|
||||
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
(define-module (gnu packages ipfs)
|
||||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix gx-download)
|
||||
#:use-module (guix build-system go)
|
||||
#:use-module (gnu packages golang))
|
||||
|
||||
(define-public ipfs-go-ipfs-cmdkit
|
||||
(let ((ipfs-hash "QmSP88ryZkHSRn1fnngAaV2Vcn63WUJzAavnRM9CVdU1Ky"))
|
||||
(package
|
||||
(name "ipfs-go-ipfs-cmdkit")
|
||||
(version (gx-version "1.1.3" "1" ipfs-hash))
|
||||
(source
|
||||
(origin
|
||||
(method gx-fetch)
|
||||
(uri (gx-reference (hash ipfs-hash)))
|
||||
(file-name (gx-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0qk6fshgdmhp8dip2ksm13j6nywi41m9mn0czkvmw6b697z85l2r"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
`(#:unpack-path ,(string-append "gx/ipfs/" ipfs-hash "/go-ipfs-config")
|
||||
#:import-path ,(string-append "gx/ipfs/" ipfs-hash "/go-ipfs-config")))
|
||||
(home-page
|
||||
"https://github.com/ipfs/go-ipfs-cmdkit")
|
||||
(synopsis "Shared types, functions and values for go-ipfs")
|
||||
(description "@command{cmdkit} offers some types, functions and values
|
||||
that are shared between @command{go-ipfs/commands} and its rewrite @command{go-ipfs-cmds}.")
|
||||
(license license:expat))))
|
||||
|
||||
(define-public go-github-com-ipfs-go-ipfs-cmdkit-files
|
||||
(let ((commit
|
||||
"386fcf8f18a185ec121676665fe2d9574496048d")
|
||||
(revision "0"))
|
||||
(package
|
||||
(name "go-github-com-ipfs-go-ipfs-cmdkit-files")
|
||||
(version (git-version "1.1.3" revision commit))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/ipfs/go-ipfs-cmdkit.git")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0qk6fshgdmhp8dip2ksm13j6nywi41m9mn0czkvmw6b697z85l2r"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
'(#:unpack-path "github.com/ipfs/go-ipfs-cmdkit"
|
||||
#:import-path "github.com/ipfs/go-ipfs-cmdkit/files"))
|
||||
(home-page "https://github.com/ipfs/go-ipfs-cmdkit")
|
||||
(synopsis "Shared types, functions and values for go-ipfs")
|
||||
(description "@command{cmdkit} offers some types, functions and values
|
||||
that are shared between @command{go-ipfs/commands} and its rewrite
|
||||
@command{go-ipfs-cmds}.")
|
||||
(license license:expat))))
|
||||
|
||||
(define-public go-github-com-ipfs-go-ipfs-api
|
||||
(let ((commit
|
||||
"dafc2a13a4389ac1a6c2786e34ab70a4f26d3a3f")
|
||||
(revision "0"))
|
||||
(package
|
||||
(name "go-github-com-ipfs-go-ipfs-api")
|
||||
(version (git-version "1.3.1" revision commit))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/ipfs/go-ipfs-api.git")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"06kibnwb037sqynk99j07wm8alvxwx3bari9gdax4jv93396kycj"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
'(#:import-path "github.com/ipfs/go-ipfs-api"
|
||||
;; TODO: Tests fail, might need network access.
|
||||
#:tests? #f))
|
||||
(native-inputs
|
||||
`(("go-github-com-ipfs-go-ipfs-cmdkit-files" ,go-github-com-ipfs-go-ipfs-cmdkit-files)
|
||||
("go-github-com-libp2p-go-libp2p-metrics" ,go-github-com-libp2p-go-libp2p-metrics)
|
||||
("go-github-com-libp2p-go-flow-metrics" ,go-github-com-libp2p-go-flow-metrics)
|
||||
("go-github-com-libp2p-go-libp2p-peer" ,go-github-com-libp2p-go-libp2p-peer)
|
||||
("go-github-com-libp2p-go-libp2p-protocol" ,go-github-com-libp2p-go-libp2p-protocol)
|
||||
("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
|
||||
("go-github-com-mitchellh-go-homedir" ,go-github-com-mitchellh-go-homedir)
|
||||
("go-github-com-multiformats-go-multiaddr" ,go-github-com-multiformats-go-multiaddr)
|
||||
("go-github-com-multiformats-go-multiaddr-net" ,go-github-com-multiformats-go-multiaddr-net)
|
||||
("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
|
||||
("go-github-com-gogo-protobuf-proto" ,go-github-com-gogo-protobuf-proto)
|
||||
("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
|
||||
("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
|
||||
("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
|
||||
("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
|
||||
("go-golang-org-x-crypto-union" ,(go-golang-org-x-crypto-union))
|
||||
("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
|
||||
("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
|
||||
("go-github-com-whyrusleeping-tar-utils" ,go-github-com-whyrusleeping-tar-utils)
|
||||
("go-github-com-cheekybits-is" ,go-github-com-cheekybits-is)))
|
||||
(home-page "https://github.com/ipfs/go-ipfs-api")
|
||||
(synopsis "Unofficial Go interface to IPFS's HTTP API")
|
||||
(description "An unofficial Go interface to IPFS's HTTP API")
|
||||
(license license:expat))))
|
||||
|
||||
(define-public gx
|
||||
(let ((commit
|
||||
"89338e509426d2895f20086685cf4c77d64cc5df")
|
||||
(revision "0"))
|
||||
(package
|
||||
(name "gx")
|
||||
(version (git-version "0.14.0" revision commit))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/whyrusleeping/gx.git")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"08gh04jln8rxpq0j4fm4chjap162wp8cjwj9szbvj9c7123s42rd"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
'(#:import-path "github.com/whyrusleeping/gx"))
|
||||
(native-inputs
|
||||
`(("go-github-com-blang-semver" ,go-github-com-blang-semver)
|
||||
("go-github-com-gxed-hashland-keccakpg" ,go-github-com-gxed-hashland-keccakpg)
|
||||
("go-github-com-ipfs-go-ipfs-api" ,go-github-com-ipfs-go-ipfs-api)
|
||||
("go-github-com-ipfs-go-ipfs-cmdkit-files" ,go-github-com-ipfs-go-ipfs-cmdkit-files)
|
||||
("go-github-com-libp2p-go-flow-metrics" ,go-github-com-libp2p-go-flow-metrics)
|
||||
("go-github-com-libp2p-go-libp2p-crypto" ,go-github-com-libp2p-go-libp2p-crypto)
|
||||
("go-github-com-libp2p-go-libp2p-metrics" ,go-github-com-libp2p-go-libp2p-metrics)
|
||||
("go-github-com-libp2p-go-libp2p-peer" ,go-github-com-libp2p-go-libp2p-peer)
|
||||
("go-github-com-libp2p-go-libp2p-protocol" ,go-github-com-libp2p-go-libp2p-protocol)
|
||||
("go-github-com-minio-blake2b-simd" ,go-github-com-minio-blake2b-simd)
|
||||
("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd)
|
||||
("go-github-com-mitchellh-go-homedir" ,go-github-com-mitchellh-go-homedir)
|
||||
("go-github-com-mr-tron-base58" ,go-github-com-mr-tron-base58)
|
||||
("go-github-com-multiformats-go-multiaddr" ,go-github-com-multiformats-go-multiaddr)
|
||||
("go-github-com-multiformats-go-multiaddr-net" ,go-github-com-multiformats-go-multiaddr-net)
|
||||
("go-github-com-multiformats-go-multihash" ,go-github-com-multiformats-go-multihash)
|
||||
("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3)
|
||||
("go-github-com-whyrusleeping-tar-utils" ,go-github-com-whyrusleeping-tar-utils)
|
||||
("go-golang-org-x-crypto-union" ,(go-golang-org-x-crypto-union))
|
||||
("go-github-com-btcsuite-btcd-btcec" ,go-github-com-btcsuite-btcd-btcec)
|
||||
("go-github-com-gogo-protobuf-proto" ,go-github-com-gogo-protobuf-proto)
|
||||
("go-github-com-sabhiram-go-gitignore" ,go-github-com-sabhiram-go-gitignore)
|
||||
("go-github-com-urfave-cli" ,go-github-com-urfave-cli)
|
||||
("go-github-com-whyrusleeping-json-filter" ,go-github-com-whyrusleeping-json-filter)
|
||||
("go-github-com-whyrusleeping-progmeter" ,go-github-com-whyrusleeping-progmeter)
|
||||
("go-github-com-whyrusleeping-stump" ,go-github-com-whyrusleeping-stump)))
|
||||
(home-page "https://github.com/whyrusleeping/gx")
|
||||
(synopsis "Package management tool using IPFS")
|
||||
(description "@command{gx} is a packaging tool built around the
|
||||
distributed, content addressed filesystem IPFS. It aims to be flexible,
|
||||
powerful and simple.")
|
||||
(license license:expat))))
|
||||
|
||||
(define-public go-ipfs
|
||||
(let ((commit
|
||||
"9bf4e4145ea897ced2f9aa2087296b3beda6e941")
|
||||
(revision "0"))
|
||||
(package
|
||||
(name "go-ipfs")
|
||||
(version (git-version "0.4.17" revision commit))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/ipfs/go-ipfs.git")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"01zqll453gbjjfkm6jvpp49i1al8ic3pdg3ivqhyiilcsmhf8b8i"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
;; install_unsupported:
|
||||
;; @echo "note: this command has yet to be tested to build in the system you are using"
|
||||
;; @echo "installing gx"
|
||||
;; go get -v -u github.com/whyrusleeping/gx
|
||||
;; go get -v -u github.com/whyrusleeping/gx-go
|
||||
;; @echo check gx and gx-go
|
||||
;; gx -v && gx-go -v
|
||||
;; @echo downloading dependencies
|
||||
;; gx install --global
|
||||
;; @echo "installing go-ipfs"
|
||||
;; go install -v -tags nofuse ./cmd/ipfs
|
||||
'(#:import-path "github.com/ipfs/go-ipfs/cmd/ipfs"
|
||||
#:unpack-path "github.com/ipfs/go-ipfs"
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'reset-gzip-timestamps 'make-gzip-archive-writable
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(map (lambda (file)
|
||||
(make-file-writable file))
|
||||
(find-files
|
||||
(assoc-ref outputs "out")
|
||||
".*\\.gz$"))
|
||||
#t)))))
|
||||
(native-inputs `())
|
||||
(home-page "https://ipfs.io")
|
||||
(synopsis "IPFS implementation in Go ")
|
||||
(description "IPFS is a global, versioned, peer-to-peer filesystem. It
|
||||
combines good ideas from Git, BitTorrent, Kademlia, SFS, and the Web. It is
|
||||
like a single bittorrent swarm, exchanging git objects. IPFS provides an
|
||||
interface as simple as the HTTP web, but with permanence built in. You can
|
||||
also mount the world at /ipfs.")
|
||||
(license license:expat))))
|
||||
+49
-28
@@ -1948,27 +1948,43 @@ designs.")
|
||||
license:asl2.0
|
||||
license:cpl1.0)))))
|
||||
|
||||
(define-public javacc
|
||||
(define-public javacc-4
|
||||
(package
|
||||
(name "javacc")
|
||||
(version "7.0.3")
|
||||
(version "4.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/javacc/javacc/"
|
||||
"archive/" version ".tar.gz"))
|
||||
(file-name (string-append "javacc-" version ".tar.gz"))
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/javacc/javacc.git")
|
||||
(commit "release_41")))
|
||||
(file-name (string-append "javacc-" version "-checkout"))
|
||||
(sha256
|
||||
(base32
|
||||
"111xc9mnmc5a6qz6x3xbhqc07y1lg2b996ggzw0hrblg42zya9xf"))))
|
||||
"07ysav7j8r1c6h8qxrgqk6lwdp74ly0ad1935lragxml0qqc3ka0"))
|
||||
(modules '((guix build utils)))
|
||||
;; delete bundled jars
|
||||
(snippet '(begin (delete-file-recursively "lib") #t))))
|
||||
(build-system ant-build-system)
|
||||
;; Tests fail with
|
||||
;; /tmp/guix-build-javacc-4.1.drv-0/source/test/javacodeLA/build.xml:60:
|
||||
;; JAVACODE failed
|
||||
(arguments
|
||||
`(#:test-target "test"
|
||||
`(#:tests? #f
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'delete-bundled-libs
|
||||
;; Delete tests to avoid build failure (we don't run them anyway).
|
||||
(add-after 'unpack 'delete-tests
|
||||
(lambda _
|
||||
(delete-file-recursively "lib") #t))
|
||||
(replace 'install (install-jars "target")))))
|
||||
(for-each delete-file
|
||||
'("src/org/javacc/JavaCCTestCase.java"
|
||||
"src/org/javacc/parser/ExpansionTest.java"
|
||||
"src/org/javacc/parser/OptionsTest.java"
|
||||
"src/org/javacc/jjtree/JJTreeOptionsTest.java"))
|
||||
(for-each delete-file-recursively
|
||||
'("src/org/javacc/parser/test"
|
||||
"src/org/javacc/jjdoc/test"))
|
||||
#t))
|
||||
(replace 'install (install-jars "bin/lib")))))
|
||||
(home-page "https://javacc.org/")
|
||||
(synopsis "Java parser generator")
|
||||
(description "Java Compiler Compiler (JavaCC) is the most popular parser
|
||||
@@ -1980,29 +1996,34 @@ as tree building (via a tool called JJTree included with JavaCC), actions,
|
||||
debugging, etc.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public javacc-4
|
||||
(package (inherit javacc)
|
||||
(version "4.1")
|
||||
(define-public javacc
|
||||
(package
|
||||
(inherit javacc-4)
|
||||
(version "7.0.3")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/javacc/javacc.git")
|
||||
(commit "release_41")))
|
||||
(file-name (string-append "javacc-" version "-checkout"))
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/javacc/javacc/"
|
||||
"archive/" version ".tar.gz"))
|
||||
(file-name (string-append "javacc-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"07ysav7j8r1c6h8qxrgqk6lwdp74ly0ad1935lragxml0qqc3ka0"))))
|
||||
;; Tests fail with
|
||||
;; /tmp/guix-build-javacc-4.1.drv-0/source/test/javacodeLA/build.xml:60:
|
||||
;; JAVACODE failed
|
||||
"111xc9mnmc5a6qz6x3xbhqc07y1lg2b996ggzw0hrblg42zya9xf"))
|
||||
(modules '((guix build utils)))
|
||||
;; delete bundled jars
|
||||
(snippet '(begin (for-each delete-file-recursively
|
||||
'("bootstrap" "lib"))
|
||||
#t))))
|
||||
(arguments
|
||||
`(#:tests? #f
|
||||
`(#:make-flags ; bootstrap from javacc-4
|
||||
(list (string-append "-Dbootstrap-jar="
|
||||
(assoc-ref %build-inputs "javacc")
|
||||
"/share/java/javacc.jar"))
|
||||
#:test-target "test"
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'delete-bundled-libs
|
||||
(lambda _
|
||||
(delete-file-recursively "lib") #t))
|
||||
(replace 'install (install-jars "bin/lib")))))))
|
||||
(replace 'install (install-jars "target")))))
|
||||
(native-inputs
|
||||
`(("javacc" ,javacc-4)))))
|
||||
|
||||
;; This is the last 3.x release of ECJ
|
||||
(define-public java-ecj-3
|
||||
|
||||
@@ -317,6 +317,11 @@ generator library for C++.")
|
||||
(string-append (assoc-ref inputs "tzdata")
|
||||
"/share/zoneinfo")))
|
||||
|
||||
;; Don't phone home to check for updates.¬
|
||||
(substitute* "system/addon-manifest.xml"¬
|
||||
(("<addon optional=\\\"true\\\">service.xbmc.versioncheck</addon>")
|
||||
""))
|
||||
|
||||
;; Let's disable some tests that are known not to work here.
|
||||
;; Doing this later while in the cmake "../build" directory
|
||||
;; is trickier.
|
||||
|
||||
+28
-42
@@ -30,6 +30,7 @@
|
||||
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
|
||||
;;; Copyright © 2018 Brendan Tildesley <brendan.tildesley@openmailbox.org>
|
||||
;;; Copyright © 2018 Manuel Graf <graf@init.at>
|
||||
;;; Copyright © 2018 Pierre Langlois <pierre.langlois@gmx.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -405,10 +406,10 @@ It has been modified to remove all non-free binary blobs.")
|
||||
;; supports qemu "virt" machine and possibly a large number of ARM boards.
|
||||
;; See : https://wiki.debian.org/DebianKernel/ARMMP.
|
||||
|
||||
(define %linux-libre-version "4.18.14")
|
||||
(define %linux-libre-hash "1gwwx8l283w8v1zylw2haqahvjns5dzqxx9li2586nnl8cfmfnwc")
|
||||
(define %linux-libre-version "4.19")
|
||||
(define %linux-libre-hash "1j4lizjygy7hb7sq2kxqkpcs4nhxgmi48cpng97b0sm9b46plvfh")
|
||||
|
||||
(define %linux-libre-4.18-patches
|
||||
(define %linux-libre-4.19-patches
|
||||
(list %boot-logo-patch
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -419,25 +420,17 @@ It has been modified to remove all non-free binary blobs.")
|
||||
"arm-mm-export-__sync_icache_dcache-for-xen-privcmd.patch"))
|
||||
(file-name "linux-libre-4.18-arm-export-__sync_icache_dcache.patch")
|
||||
(sha256
|
||||
(base32 "1ifnfhpakzffn4b8n7x7w5cps9mzjxlkcfz9zqak2vaw8nzvl39f")))
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git"
|
||||
"/patch/?id=c5157101e7793b42a56e07368c7f4cb73fb58008"))
|
||||
(file-name "linux-libre-4.18-arm64-export-__sync_icache_dcache.patch")
|
||||
(sha256
|
||||
(base32 "0q13arsi8al3l3yq6d76z4h8n45wlpkjyxlrgn1sqbx5xjksycyz")))))
|
||||
(base32 "1ifnfhpakzffn4b8n7x7w5cps9mzjxlkcfz9zqak2vaw8nzvl39f")))))
|
||||
|
||||
(define-public linux-libre
|
||||
(make-linux-libre %linux-libre-version
|
||||
%linux-libre-hash
|
||||
%linux-compatible-systems
|
||||
#:patches %linux-libre-4.18-patches
|
||||
#:patches %linux-libre-4.19-patches
|
||||
#:configuration-file kernel-config))
|
||||
|
||||
(define %linux-libre-4.14-version "4.14.76")
|
||||
(define %linux-libre-4.14-hash "1y5zqf84ngb6f5f85xpd4bdy6mlxr52x19bx3mdrp82awc9fvr7q")
|
||||
(define %linux-libre-4.14-version "4.14.78")
|
||||
(define %linux-libre-4.14-hash "07dhhw6zdnqn2dznpmkniz58hfkdx89yx7csm9vbx45blnyhjw5z")
|
||||
|
||||
(define-public linux-libre-4.14
|
||||
(make-linux-libre %linux-libre-4.14-version
|
||||
@@ -446,14 +439,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.133"
|
||||
"1vr94czdv5alzsgm2k1r6wqm01r2zafrayjn10l6kdr4g7aga488"
|
||||
(make-linux-libre "4.9.135"
|
||||
"07v5s6hl08ls2z9xdkbqq1s210mqayfchqbckhp8hlaw089ap71f"
|
||||
%intel-compatible-systems
|
||||
#:configuration-file kernel-config))
|
||||
|
||||
(define-public linux-libre-4.4
|
||||
(make-linux-libre "4.4.161"
|
||||
"1q6bsndpjgw72mybhl5l8vrxs4mimg6821bjgi1pjkxbc7nd921b"
|
||||
(make-linux-libre "4.4.162"
|
||||
"1anb2k9i03369lvbwlw24vimxvk8zpcql4ryz0ydvf3pxv8lirm2"
|
||||
%intel-compatible-systems
|
||||
#:configuration-file kernel-config))
|
||||
|
||||
@@ -461,7 +454,7 @@ It has been modified to remove all non-free binary blobs.")
|
||||
(make-linux-libre %linux-libre-version
|
||||
%linux-libre-hash
|
||||
'("armhf-linux")
|
||||
#:patches %linux-libre-4.18-patches
|
||||
#:patches %linux-libre-4.19-patches
|
||||
#:defconfig "multi_v7_defconfig"
|
||||
#:extra-version "arm-generic"))
|
||||
|
||||
@@ -476,7 +469,7 @@ It has been modified to remove all non-free binary blobs.")
|
||||
(make-linux-libre %linux-libre-version
|
||||
%linux-libre-hash
|
||||
'("armhf-linux")
|
||||
#:patches %linux-libre-4.18-patches
|
||||
#:patches %linux-libre-4.19-patches
|
||||
#:defconfig "omap2plus_defconfig"
|
||||
#:extra-version "arm-omap2plus"))
|
||||
|
||||
@@ -961,6 +954,8 @@ Zerofree requires the file system to be unmounted or mounted read-only.")
|
||||
(substitute* "strace.c"
|
||||
(("/bin/sh") (which "sh")))
|
||||
#t)))
|
||||
;; Don't fail if the architecture doesn't support different personalities.
|
||||
#:configure-flags '("--enable-mpers=check")
|
||||
;; See <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32459>.
|
||||
#:parallel-tests? #f)) ; undeterministic failures
|
||||
(native-inputs `(("perl" ,perl)))
|
||||
@@ -3669,7 +3664,7 @@ The collection contains a set of bandwidth and latency benchmark such as:
|
||||
(package
|
||||
(name "rng-tools")
|
||||
(home-page "https://github.com/nhorman/rng-tools")
|
||||
(version "6.5")
|
||||
(version "6.6")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference (url home-page)
|
||||
@@ -3677,7 +3672,7 @@ The collection contains a set of bandwidth and latency benchmark such as:
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"11kw1rcgzmgzwk7g1w2g0nzjraqb0pf24gxpy50k4ls2qxslw3rk"))))
|
||||
"0c32sxfvngdjzfmxn5ngc5yxwi8ij3yl216nhzyz9r31qi3m14v7"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(;; Avoid using OpenSSL, curl, and libxml2, reducing the closure by 166 MiB.
|
||||
@@ -4165,30 +4160,21 @@ monitoring tools for Linux. These include @code{mpstat}, @code{iostat},
|
||||
(define-public light
|
||||
(package
|
||||
(name "light")
|
||||
(version "1.1.2")
|
||||
(version "1.2")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/haikarainen/light")
|
||||
(commit version)))
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://github.com/haikarainen/light/archive/v"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0c934gxav9cgdf94li6dp0rfqmpday9d33vdn9xb2mfp4war9n4w"))))
|
||||
"1gfvsw7gh5pis733l7j54vzp272pvjyzbg8a0pvapfmg0s7mip97"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f ; no tests
|
||||
#:make-flags (list "CC=gcc"
|
||||
(string-append "PREFIX=" %output))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure) ; no configure script
|
||||
(add-after 'unpack 'patch-makefile
|
||||
(lambda _
|
||||
(substitute* "Makefile" (("chown") "#"))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("help2man" ,help2man)))
|
||||
(home-page "https://haikarainen.github.io/light")
|
||||
`(("autoconf" ,autoconf)
|
||||
("automake" ,automake)))
|
||||
(home-page "https://haikarainen.github.io/light/")
|
||||
(synopsis "GNU/Linux application to control backlights")
|
||||
(description
|
||||
"Light is a program to send commands to screen backlight controllers
|
||||
|
||||
+2003
-1
File diff suppressed because it is too large
Load Diff
+148
-71
@@ -5,6 +5,7 @@
|
||||
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2017 Nils Gillmann <ng0@n0.is>
|
||||
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;; Copyright © 2018 Meiyo Peng <meiyo.peng@gmail.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -23,119 +24,153 @@
|
||||
|
||||
(define-module (gnu packages lxqt)
|
||||
#:use-module (guix download)
|
||||
#:use-module ((guix licenses) #:select (lgpl2.1+))
|
||||
#:use-module ((guix licenses))
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix utils)
|
||||
#:use-module (guix build-system cmake)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages documentation)
|
||||
#:use-module (gnu packages freedesktop)
|
||||
#:use-module (gnu packages glib)
|
||||
#:use-module (gnu packages kde-frameworks)
|
||||
#:use-module (gnu packages linux)
|
||||
#:use-module (gnu packages perl)
|
||||
#:use-module (gnu packages pkg-config)
|
||||
#:use-module (gnu packages qt))
|
||||
#:use-module (gnu packages polkit)
|
||||
#:use-module (gnu packages qt)
|
||||
#:use-module (gnu packages xorg))
|
||||
|
||||
(define-public libqtxdg
|
||||
(define-public libdbusmenu-qt
|
||||
(package
|
||||
(name "libqtxdg")
|
||||
(version "1.2.0")
|
||||
(name "libdbusmenu-qt")
|
||||
(version "0.9.3+16.04.20160218-0ubuntu1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri
|
||||
(string-append "https://github.com/lxde/libqtxdg/releases/"
|
||||
"download/" version "/" name "-" version ".tar.xz"))
|
||||
;; Download from github rather than launchpad beacuse launchpad trunk
|
||||
;; tarball hash is not deterministic.
|
||||
(uri (string-append "https://github.com/unity8-team/" name
|
||||
"/archive/" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1ncqs0lcll5nx69hxfg33m3jfkryjqrjhr2kdci0b8pyaqdv1jc8"))))
|
||||
(base32 "0abwyggnpg50sa9cxphscp5zdkv9nxqnlav55vj21df6q1h3jb5w"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; test fails with message "Exception"
|
||||
#:configure-flags '("-DBUILD_TESTS=ON")))
|
||||
;; XXX: Tests require a dbus session and some icons.
|
||||
'(#:tests? #f))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(propagated-inputs
|
||||
`(("qtbase" ,qtbase))) ; according to Qt5Xdg.pc
|
||||
(home-page "https://github.com/lxde/libqtxdg")
|
||||
(synopsis "Qt implementation of freedesktop.org xdg specifications")
|
||||
(description "Libqtxdg implements the freedesktop.org xdg specifications
|
||||
in Qt.")
|
||||
`(("doxygen" ,doxygen)))
|
||||
(inputs
|
||||
`(("qtbase" ,qtbase)))
|
||||
(home-page "https://launchpad.net/libdbusmenu-qt")
|
||||
(synopsis "Qt implementation of the DBusMenu spec")
|
||||
(description "This library provides a Qt implementation of the DBusMenu
|
||||
protocol. The DBusMenu protocol makes it possible for applications to export
|
||||
and import their menus over DBus.")
|
||||
(license lgpl2.1+)))
|
||||
|
||||
(define-public liblxqt
|
||||
(package
|
||||
(name "liblxqt")
|
||||
(version "0.9.0")
|
||||
(version "0.13.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri
|
||||
(string-append "https://github.com/lxde/" name
|
||||
"/archive/" version ".tar.gz"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(uri (string-append
|
||||
"https://github.com/lxqt/" name "/releases/download/"
|
||||
version "/" name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0mbl3qc0yfgfsndqrw8vg8k5irsy0pg2wrad8nwv0aphphd4n7rg"))
|
||||
(patches (search-patches "liblxqt-include.patch"))))
|
||||
(base32 "0fba0nq5b9fvvmklcikcd4nwhzlp5d6k1q1f80r34kncdzfvj7dl"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f))
|
||||
(native-inputs `(("pkg-config" ,pkg-config)))
|
||||
`(#:tests? #f ; no tests
|
||||
#:configure-flags
|
||||
;; TODO: prefetch translations files from 'lxqt-l10n'.
|
||||
'("-DPULL_TRANSLATIONS=NO")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-source
|
||||
(lambda _
|
||||
(substitute* "CMakeLists.txt"
|
||||
(("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
|
||||
"DESTINATION \"${CMAKE_INSTALL_PREFIX}/share/polkit-1/actions"))
|
||||
#t)))))
|
||||
(inputs
|
||||
`(("kwindowsystem" ,kwindowsystem)
|
||||
("libqtxdg" ,libqtxdg)
|
||||
("qtbase" ,qtbase)
|
||||
("libxscrnsaver" ,libxscrnsaver)
|
||||
("polkit-qt" ,polkit-qt)
|
||||
("qtsvg" ,qtsvg)
|
||||
("qttools" ,qttools)
|
||||
("qtx11extras" ,qtx11extras)))
|
||||
(home-page "http://lxqt.org/")
|
||||
(native-inputs
|
||||
`(("lxqt-build-tools" ,lxqt-build-tools)))
|
||||
(home-page "https://lxqt.org/")
|
||||
(synopsis "Core utility library for all LXQt components")
|
||||
(description "liblxqt provides the basic libraries shared by the
|
||||
components of the LXQt desktop environment.")
|
||||
(license lgpl2.1+)))
|
||||
|
||||
(define-public lxqt-session
|
||||
(define-public libqtxdg
|
||||
(package
|
||||
(name "lxqt-session")
|
||||
(version "0.9.0")
|
||||
(name "libqtxdg")
|
||||
(version "3.2.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri
|
||||
(string-append "https://github.com/lxde/" name
|
||||
"/archive/" version ".tar.gz"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(uri (string-append
|
||||
"https://github.com/lxqt/" name "/releases/download/"
|
||||
version "/" name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1sdwcfrfqkg7ibrsncs1skdap9n8wm4rg6n9d0fgdz2q4d45h75a"))))
|
||||
(base32 "0lq548pa69hfvnbj2ypba5ygm8n6v6g7bqqm8p5g538l1l3394cl"))))
|
||||
(build-system cmake-build-system)
|
||||
(native-inputs `(("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
`(("kwindowsystem" ,kwindowsystem)
|
||||
("liblxqt" ,liblxqt)
|
||||
("libqtxdg" ,libqtxdg)
|
||||
("qtbase" ,qtbase)
|
||||
("qttools" ,qttools)
|
||||
("qtx11extras" ,qtx11extras)))
|
||||
(arguments
|
||||
`(#:tests? #f ; no check target
|
||||
`(#:configure-flags
|
||||
`("-DBUILD_TESTS=ON"
|
||||
,(string-append "-DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH="
|
||||
%output "/lib/qt5/plugins/iconengines"))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'fix-installation-paths
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'check 'pre-check
|
||||
(lambda _
|
||||
;; The variable LXQT_TRANSLATIONS_DIR is set in
|
||||
;; liblxqt-0.9.0/share/cmake/lxqt/lxqt-config.cmake
|
||||
;; to the liblxqt installation directory, followed by
|
||||
;; "/share/lxqt/translations".
|
||||
;; We need to have it point to the current installation
|
||||
;; directory instead.
|
||||
(substitute* '("lxqt-session/CMakeLists.txt"
|
||||
"lxqt-config-session/CMakeLists.txt")
|
||||
(("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
|
||||
"${CMAKE_INSTALL_PREFIX}/share/lxqt/translations")))))))
|
||||
(home-page "http://lxqt.org/")
|
||||
(synopsis "Session manager for LXQt")
|
||||
(description "lxqt-session provides the standard session manager
|
||||
for the LXQt desktop environment.")
|
||||
;; Run the tests offscreen.
|
||||
(setenv "QT_QPA_PLATFORM" "offscreen")
|
||||
#t)))))
|
||||
(propagated-inputs
|
||||
;; required by Qt5XdgIconLoader.pc
|
||||
`(("qtbase" ,qtbase)
|
||||
("qtsvg" ,qtsvg)))
|
||||
(home-page "https://github.com/lxqt/libqtxdg")
|
||||
(synopsis "Qt implementation of freedesktop.org xdg specifications")
|
||||
(description "Libqtxdg implements the freedesktop.org xdg specifications
|
||||
in Qt.")
|
||||
(license lgpl2.1+)))
|
||||
|
||||
(define-public libstatgrab
|
||||
(package
|
||||
(name "libstatgrab")
|
||||
(version "0.91")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://ftp.i-scream.org/pub/i-scream/libstatgrab/"
|
||||
name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1azinx2yzs442ycwq6p15skl3mscmqj7fd5hq7fckhjp92735s83"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:configure-flags '("--enable-tests")))
|
||||
(native-inputs
|
||||
;; For testing.
|
||||
`(("perl" ,perl)))
|
||||
(home-page "https://www.i-scream.org/libstatgrab/")
|
||||
(synopsis "Provides access to statistics about the system")
|
||||
(description "libstatgrab is a library that provides cross platform access
|
||||
to statistics about the system on which it's run.")
|
||||
;; Libraries are under LGPL2.1+, and programs under GPLv2+.
|
||||
(license gpl2+)))
|
||||
|
||||
(define-public lxqt-build-tools
|
||||
(package
|
||||
(name "lxqt-build-tools")
|
||||
@@ -143,12 +178,10 @@ for the LXQt desktop environment.")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/lxde/lxqt-build-tools/releases/"
|
||||
"download/" version "/" name "-" version ".tar.xz"))
|
||||
(file-name (string-append name "-" version ".tar.xz"))
|
||||
(uri (string-append "https://github.com/lxqt/" name "/releases/download/"
|
||||
version "/" name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"13b5x26p6ycnwzlgg1cgvlc88wjrjmlb3snrrmzh0xgh9h6hhvd6"))))
|
||||
(base32 "13b5x26p6ycnwzlgg1cgvlc88wjrjmlb3snrrmzh0xgh9h6hhvd6"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f)) ; no tests
|
||||
@@ -161,5 +194,49 @@ for the LXQt desktop environment.")
|
||||
(description
|
||||
"Lxqt-build-tools is providing several tools needed to build LXQt
|
||||
itself as well as other components maintained by the LXQt project.")
|
||||
(home-page "http://lxqt.org")
|
||||
(home-page "https://lxqt.org")
|
||||
(license lgpl2.1+)))
|
||||
|
||||
(define-public lxqt-session
|
||||
(package
|
||||
(name "lxqt-session")
|
||||
(version "0.13.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/lxqt/" name "/releases/download/"
|
||||
version "/" name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32 "1aibppppmg46ybbajx2qc395l0yp9rqlp2am01fqjxadsf8vci5z"))))
|
||||
(build-system cmake-build-system)
|
||||
(inputs
|
||||
`(("eudev" ,eudev)
|
||||
("kwindowsystem" ,kwindowsystem)
|
||||
("liblxqt" ,liblxqt)
|
||||
("libqtxdg" ,libqtxdg)
|
||||
("qtbase" ,qtbase)
|
||||
("qtsvg" ,qtsvg)
|
||||
("qttools" ,qttools)
|
||||
("qtx11extras" ,qtx11extras)
|
||||
("xdg-user-dirs" ,xdg-user-dirs)))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
("lxqt-build-tools" ,lxqt-build-tools)))
|
||||
(arguments
|
||||
`(#:tests? #f
|
||||
#:configure-flags
|
||||
`("-DPULL_TRANSLATIONS=NO")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-source
|
||||
(lambda _
|
||||
(substitute* '("autostart/CMakeLists.txt"
|
||||
"config/CMakeLists.txt")
|
||||
(("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
|
||||
"DESTINATION \"${CMAKE_INSTALL_PREFIX}/etc/xdg"))
|
||||
#t)))))
|
||||
(home-page "https://lxqt.org/")
|
||||
(synopsis "Session manager for LXQt")
|
||||
(description "lxqt-session provides the standard session manager
|
||||
for the LXQt desktop environment.")
|
||||
(license lgpl2.1+)))
|
||||
|
||||
@@ -763,14 +763,14 @@ invoking @command{notifymuch} from the post-new hook.")
|
||||
(define-public notmuch
|
||||
(package
|
||||
(name "notmuch")
|
||||
(version "0.27")
|
||||
(version "0.28")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://notmuchmail.org/releases/notmuch-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0xh8vq2sa7r07xb3n13drc6gdiqhcgl0pj0za5xj43qkiwpikls0"))))
|
||||
"0dqarmjc8544m2w7bqrqmvsfy55fw82707z3lz9cql8nr777bjmc"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:modules ((guix build gnu-build-system)
|
||||
|
||||
@@ -2659,7 +2659,7 @@ to BMP, JPEG or PNG image formats.")
|
||||
(define-public maxima
|
||||
(package
|
||||
(name "maxima")
|
||||
(version "5.41.0")
|
||||
(version "5.42.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -2667,7 +2667,7 @@ to BMP, JPEG or PNG image formats.")
|
||||
version "-source/" name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0x0n81z0s4pl8nwpf7ivlsbvsdphm9w42250g7qdkizl0132by6s"))
|
||||
"0d5pdihvcbwb7r4i4qs5qqgsz46hxlq33qj8is053llrgn9ylpyn"))
|
||||
(patches (search-patches "maxima-defsystem-mkdir.patch"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
|
||||
+41
-42
@@ -32,71 +32,70 @@
|
||||
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
(define-module (gnu packages messaging)
|
||||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module (guix utils)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix build-system glib-or-gtk)
|
||||
#:use-module (guix build-system meson)
|
||||
#:use-module (guix build-system python)
|
||||
#:use-module (guix build-system perl)
|
||||
#:use-module (guix build-system cmake)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages admin)
|
||||
#:use-module (gnu packages aidc)
|
||||
#:use-module (gnu packages aspell)
|
||||
#:use-module (gnu packages audio)
|
||||
#:use-module (gnu packages autotools)
|
||||
#:use-module (gnu packages avahi)
|
||||
#:use-module (gnu packages base)
|
||||
#:use-module (gnu packages bash)
|
||||
#:use-module (gnu packages bison)
|
||||
#:use-module (gnu packages check)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages crypto)
|
||||
#:use-module (gnu packages curl)
|
||||
#:use-module (gnu packages cyrus-sasl)
|
||||
#:use-module (gnu packages databases)
|
||||
#:use-module (gnu packages documentation)
|
||||
#:use-module (gnu packages enchant)
|
||||
#:use-module (gnu packages fontutils)
|
||||
#:use-module (gnu packages gettext)
|
||||
#:use-module (gnu packages gnome)
|
||||
#:use-module (gnu packages gtk)
|
||||
#:use-module (gnu packages image)
|
||||
#:use-module (gnu packages xorg)
|
||||
#:use-module (gnu packages xdisorg)
|
||||
#:use-module (gnu packages libcanberra)
|
||||
#:use-module (gnu packages man)
|
||||
#:use-module (gnu packages networking)
|
||||
#:use-module (gnu packages libidn)
|
||||
#:use-module (gnu packages lua)
|
||||
#:use-module (gnu packages xml)
|
||||
#:use-module (gnu packages gnupg)
|
||||
#:use-module (gnu packages ncurses)
|
||||
#:use-module (gnu packages pkg-config)
|
||||
#:use-module (gnu packages glib)
|
||||
#:use-module (gnu packages python)
|
||||
#:use-module (gnu packages python-crypto)
|
||||
#:use-module (gnu packages gnome)
|
||||
#:use-module (gnu packages gnupg)
|
||||
#:use-module (gnu packages gtk)
|
||||
#:use-module (gnu packages guile)
|
||||
#:use-module (gnu packages icu4c)
|
||||
#:use-module (gnu packages image)
|
||||
#:use-module (gnu packages less)
|
||||
#:use-module (gnu packages libcanberra)
|
||||
#:use-module (gnu packages libidn)
|
||||
#:use-module (gnu packages linux)
|
||||
#:use-module (gnu packages lua)
|
||||
#:use-module (gnu packages man)
|
||||
#:use-module (gnu packages ncurses)
|
||||
#:use-module (gnu packages networking)
|
||||
#:use-module (gnu packages pcre)
|
||||
#:use-module (gnu packages perl)
|
||||
#:use-module (gnu packages photo)
|
||||
#:use-module (gnu packages pkg-config)
|
||||
#:use-module (gnu packages python)
|
||||
#:use-module (gnu packages python-crypto)
|
||||
#:use-module (gnu packages qt)
|
||||
#:use-module (gnu packages readline)
|
||||
#:use-module (gnu packages tcl)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages check)
|
||||
#:use-module (gnu packages admin)
|
||||
#:use-module (gnu packages linux)
|
||||
#:use-module (gnu packages texinfo)
|
||||
#:use-module (gnu packages textutils)
|
||||
#:use-module (gnu packages tls)
|
||||
#:use-module (gnu packages icu4c)
|
||||
#:use-module (gnu packages qt)
|
||||
#:use-module (gnu packages video)
|
||||
#:use-module (gnu packages web)
|
||||
#:use-module (gnu packages xdisorg)
|
||||
#:use-module (gnu packages xiph)
|
||||
#:use-module (gnu packages audio)
|
||||
#:use-module (gnu packages bison)
|
||||
#:use-module (gnu packages fontutils)
|
||||
#:use-module (gnu packages bash)
|
||||
#:use-module (gnu packages guile)
|
||||
#:use-module (gnu packages less)
|
||||
#:use-module (gnu packages readline)
|
||||
#:use-module (gnu packages photo)
|
||||
#:use-module (gnu packages texinfo))
|
||||
#:use-module (gnu packages xml)
|
||||
#:use-module (gnu packages xorg)
|
||||
#:use-module (guix build-system cmake)
|
||||
#:use-module (guix build-system glib-or-gtk)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix build-system meson)
|
||||
#:use-module (guix build-system perl)
|
||||
#:use-module (guix build-system python)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix utils))
|
||||
|
||||
(define-public libotr
|
||||
(package
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
(define-public libmpdclient
|
||||
(package
|
||||
(name "libmpdclient")
|
||||
(version "2.15")
|
||||
(version "2.16")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri
|
||||
@@ -67,7 +67,7 @@
|
||||
"/libmpdclient-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1la60ar6i4ghpscrlgm45kci9b74bvkpsfybhg0ygs4rzpwzdnxl"))))
|
||||
"0r24cl3i9nvs6a47mvwaxk1kb5wmnhkhrw1q5cq9010fgjvdlszs"))))
|
||||
(build-system meson-build-system)
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
|
||||
@@ -3567,7 +3567,7 @@ are a C compiler and glib. Full API documentation and examples are included.")
|
||||
("fltk" ,fltk)
|
||||
("libogg" ,libogg)
|
||||
("libsamplerate" ,libsamplerate)
|
||||
("fluidsynth" ,fluidsynth)
|
||||
("fluidsynth" ,fluidsynth-1) ;XXX: try using 2.x when updating
|
||||
("libvorbis" ,libvorbis)
|
||||
("alsa-lib" ,alsa-lib)
|
||||
("portaudio" ,portaudio)
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
;;; Copyright © 2018 Julien Lepiller <julien@lepiller.eu>
|
||||
;;; Copyright © 2018 Rutger Helling <rhelling@mykolab.com>
|
||||
;;; Copyright © 2018 Sou Bunnbu <iyzsong@member.fsf.org>
|
||||
;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -101,8 +102,8 @@
|
||||
;; Note: the 'update-guix-package.scm' script expects this definition to
|
||||
;; start precisely like this.
|
||||
(let ((version "0.15.0")
|
||||
(commit "1d0be47ab680db938ac8da1ee65e1de91e198f67")
|
||||
(revision 5))
|
||||
(commit "f9a8fce10f2d99efec7cb1dd0f6c5f0df9d1b2df")
|
||||
(revision 6))
|
||||
(package
|
||||
(name "guix")
|
||||
|
||||
@@ -118,7 +119,7 @@
|
||||
(commit commit)))
|
||||
(sha256
|
||||
(base32
|
||||
"19cn4ndmr9cqd7qh6w3nchbmdpaawdl9kc6g0v6g680vzcja417k"))
|
||||
"1733d5id0h44rrkyj9xw4fcqr1wawcfi8igpgk5wsn1iq4qqwv5f"))
|
||||
(file-name (string-append "guix-" version "-checkout"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
@@ -232,13 +233,13 @@
|
||||
(map (cut string-append <>
|
||||
"/share/guile/site/"
|
||||
effective)
|
||||
deps)
|
||||
(delete #f deps))
|
||||
":"))
|
||||
(gopath (string-join
|
||||
(map (cut string-append <>
|
||||
"/lib/guile/" effective
|
||||
"/site-ccache")
|
||||
deps)
|
||||
(delete #f deps))
|
||||
":")))
|
||||
|
||||
(wrap-program (string-append out "/bin/guix")
|
||||
@@ -367,10 +368,29 @@ the Nix package manager.")
|
||||
,@(alist-delete "guile" (package-inputs guix))))
|
||||
(propagated-inputs
|
||||
`(("gnutls" ,gnutls/guile-2.0)
|
||||
("guile-gcrypt" ,guile2.0-gcrypt)
|
||||
("guile-json" ,guile2.0-json)
|
||||
("guile-sqlite3" ,guile2.0-sqlite3)
|
||||
("guile-ssh" ,guile2.0-ssh)
|
||||
("guile-git" ,guile2.0-git)))))
|
||||
|
||||
(define-public guix-minimal
|
||||
;; A version of Guix which is built with the minimal set of dependencies, as
|
||||
;; outlined in the README "Requirements" section. Intended as a CI job, so
|
||||
;; marked as hidden.
|
||||
(let ((guix guile2.0-guix))
|
||||
(hidden-package
|
||||
(package
|
||||
(inherit guix)
|
||||
(name "guix-minimal")
|
||||
(inputs
|
||||
`(("guile" ,guile-2.0.13)
|
||||
,@(alist-delete "guile" (package-inputs guix))))
|
||||
(propagated-inputs
|
||||
(fold alist-delete
|
||||
(package-propagated-inputs guix)
|
||||
'("guile-json" "guile-ssh")))))))
|
||||
|
||||
(define (source-file? file stat)
|
||||
"Return true if FILE is likely a source file, false if it is a typical
|
||||
generated file."
|
||||
|
||||
@@ -1,121 +0,0 @@
|
||||
This patch modifies the build process such that the bundled copy of pysam does
|
||||
not need to be built if CROSSMAP_USE_SYSTEM_PYSAM is set and the pysam module
|
||||
can be imported.
|
||||
|
||||
Upstream has agreed to apply the patch in the next maintenance release of
|
||||
crossmap. The patch has already been uploaded to
|
||||
http://sourceforge.net/projects/crossmap/files/patch/.
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
--- a/setup.py 2015-02-26 15:28:49.771189185 +0100
|
||||
+++ b/setup.py 2015-02-26 15:55:03.440327752 +0100
|
||||
@@ -19,6 +19,15 @@
|
||||
except:
|
||||
have_numpy = False
|
||||
|
||||
+try:
|
||||
+ import pysam
|
||||
+ if os.environ['CROSSMAP_USE_SYSTEM_PYSAM']:
|
||||
+ have_pysam = True
|
||||
+ else:
|
||||
+ have_pysam = False
|
||||
+except ImportError:
|
||||
+ have_pysam = False
|
||||
+
|
||||
if platform.system()=='Windows':
|
||||
print >> sys.stderr, "Sorry, Windows platform is not supported!"
|
||||
sys.exit()
|
||||
@@ -165,49 +174,50 @@
|
||||
|
||||
|
||||
#================= pysam samtools ====================
|
||||
- extensions.append(Extension(
|
||||
- "pysam.csamtools",
|
||||
- csamtools_sources + [ "lib/pysam/%s" % x for x in ("pysam_util.c", )] +\
|
||||
- glob.glob( os.path.join( "lib/samtools", "*.pysam.c" )) +\
|
||||
- os_c_files + \
|
||||
- glob.glob( os.path.join( "lib/samtools", "*", "*.pysam.c" ) ),
|
||||
- library_dirs=[],
|
||||
- include_dirs=[ "lib/samtools", "lib/pysam" ] + include_os,
|
||||
- libraries=[ "z", ],
|
||||
- language="c",
|
||||
- define_macros = [('_FILE_OFFSET_BITS','64'),('_USE_KNETFILE','')],
|
||||
- ))
|
||||
-
|
||||
- extensions.append(Extension(
|
||||
- "pysam.ctabix",
|
||||
- tabix_sources + [ "lib/pysam/%s" % x for x in ( "tabix_util.c", )] +\
|
||||
- os_c_files + \
|
||||
- glob.glob( os.path.join( "lib/tabix", "*.pysam.c" ) ),
|
||||
- library_dirs=[],
|
||||
- include_dirs=[ "lib/tabix", "lib/pysam" ] + include_os,
|
||||
- libraries=[ "z", ],
|
||||
- language="c",
|
||||
- define_macros = [('_FILE_OFFSET_BITS','64'),
|
||||
- ('_USE_KNETFILE','')],
|
||||
- ))
|
||||
-
|
||||
- extensions.append(Extension(
|
||||
- "pysam.TabProxies",
|
||||
- tabproxies_sources + os_c_files,
|
||||
- library_dirs=[],
|
||||
- include_dirs= include_os,
|
||||
- libraries=[ "z", ],
|
||||
- language="c",
|
||||
- ))
|
||||
-
|
||||
- extensions.append(Extension(
|
||||
- "pysam.cvcf",
|
||||
- cvcf_sources + os_c_files,
|
||||
- library_dirs=[],
|
||||
- include_dirs= ["lib/tabix",] + include_os,
|
||||
- libraries=[ "z", ],
|
||||
- language="c",
|
||||
- ))
|
||||
+ if not have_pysam:
|
||||
+ extensions.append(Extension(
|
||||
+ "pysam.csamtools",
|
||||
+ csamtools_sources + [ "lib/pysam/%s" % x for x in ("pysam_util.c", )] +\
|
||||
+ glob.glob( os.path.join( "lib/samtools", "*.pysam.c" )) +\
|
||||
+ os_c_files + \
|
||||
+ glob.glob( os.path.join( "lib/samtools", "*", "*.pysam.c" ) ),
|
||||
+ library_dirs=[],
|
||||
+ include_dirs=[ "lib/samtools", "lib/pysam" ] + include_os,
|
||||
+ libraries=[ "z", ],
|
||||
+ language="c",
|
||||
+ define_macros = [('_FILE_OFFSET_BITS','64'),('_USE_KNETFILE','')],
|
||||
+ ))
|
||||
+
|
||||
+ extensions.append(Extension(
|
||||
+ "pysam.ctabix",
|
||||
+ tabix_sources + [ "lib/pysam/%s" % x for x in ( "tabix_util.c", )] +\
|
||||
+ os_c_files + \
|
||||
+ glob.glob( os.path.join( "lib/tabix", "*.pysam.c" ) ),
|
||||
+ library_dirs=[],
|
||||
+ include_dirs=[ "lib/tabix", "lib/pysam" ] + include_os,
|
||||
+ libraries=[ "z", ],
|
||||
+ language="c",
|
||||
+ define_macros = [('_FILE_OFFSET_BITS','64'),
|
||||
+ ('_USE_KNETFILE','')],
|
||||
+ ))
|
||||
+
|
||||
+ extensions.append(Extension(
|
||||
+ "pysam.TabProxies",
|
||||
+ tabproxies_sources + os_c_files,
|
||||
+ library_dirs=[],
|
||||
+ include_dirs= include_os,
|
||||
+ libraries=[ "z", ],
|
||||
+ language="c",
|
||||
+ ))
|
||||
+
|
||||
+ extensions.append(Extension(
|
||||
+ "pysam.cvcf",
|
||||
+ cvcf_sources + os_c_files,
|
||||
+ library_dirs=[],
|
||||
+ include_dirs= ["lib/tabix",] + include_os,
|
||||
+ libraries=[ "z", ],
|
||||
+ language="c",
|
||||
+ ))
|
||||
|
||||
|
||||
return extensions
|
||||
@@ -1,56 +0,0 @@
|
||||
--- a/Makefile 2017-04-09 12:48:15.000000000 +0200
|
||||
+++ b/Makefile 2017-06-21 14:26:02.749282787 +0200
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
# Flags
|
||||
CXX=g++
|
||||
-CXXFLAGS += -isystem ${SEQTK_ROOT} -isystem ${BOOST_ROOT} -pedantic -W -Wall -Wno-unknown-pragmas -D__STDC_LIMIT_MACROS -fno-strict-aliasing
|
||||
-LDFLAGS += -L${SEQTK_ROOT} -L${BOOST_ROOT}/stage/lib -lboost_iostreams -lboost_filesystem -lboost_system -lboost_program_options -lboost_date_time
|
||||
+CXXFLAGS += -pedantic -W -Wall -Wno-unknown-pragmas -D__STDC_LIMIT_MACROS -fno-strict-aliasing
|
||||
+LDFLAGS += -lboost_iostreams -lboost_filesystem -lboost_system -lboost_program_options -lboost_date_time
|
||||
|
||||
# Additional flags for release/debug
|
||||
ifeq (${PARALLEL}, 1)
|
||||
@@ -23,7 +23,7 @@
|
||||
ifeq (${STATIC}, 1)
|
||||
LDFLAGS += -static -static-libgcc -pthread -lhts -lz
|
||||
else
|
||||
- LDFLAGS += -lhts -lz -Wl,-rpath,${SEQTK_ROOT},-rpath,${BOOST_ROOT}/stage/lib
|
||||
+ LDFLAGS += -lhts -lz
|
||||
endif
|
||||
ifeq (${DEBUG}, 1)
|
||||
CXXFLAGS += -g -O0 -fno-inline -DDEBUG
|
||||
@@ -41,29 +41,17 @@
|
||||
DELLYSOURCES = $(wildcard src/*.h) $(wildcard src/*.cpp)
|
||||
|
||||
# Targets
|
||||
-TARGETS = .htslib .bcftools .boost src/delly src/cov src/dpe
|
||||
+TARGETS = src/delly src/cov src/dpe
|
||||
|
||||
all: $(TARGETS)
|
||||
|
||||
-.htslib: $(HTSLIBSOURCES)
|
||||
- cd src/htslib && make && make lib-static && cd ../../ && touch .htslib
|
||||
-
|
||||
-.bcftools: $(HTSLIBSOURCES)
|
||||
- cd src/bcftools && make && cd ../../ && touch .bcftools
|
||||
-
|
||||
-.boost: $(BOOSTSOURCES)
|
||||
- cd src/modular-boost && ./bootstrap.sh --prefix=${PWD}/src/modular-boost --without-icu --with-libraries=iostreams,filesystem,system,program_options,date_time && ./b2 && ./b2 headers && cd ../../ && touch .boost
|
||||
-
|
||||
-src/delly: .htslib .bcftools .boost $(DELLYSOURCES)
|
||||
- $(CXX) $(CXXFLAGS) $@.cpp -o $@ $(LDFLAGS)
|
||||
-
|
||||
-src/cov: .htslib .bcftools .boost $(DELLYSOURCES)
|
||||
+src/cov: $(DELLYSOURCES)
|
||||
$(CXX) $(CXXFLAGS) $@.cpp -o $@ $(LDFLAGS)
|
||||
|
||||
-src/dpe: .htslib .bcftools .boost $(DELLYSOURCES)
|
||||
+src/dpe: $(DELLYSOURCES)
|
||||
$(CXX) $(CXXFLAGS) $@.cpp -o $@ $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
cd src/htslib && make clean
|
||||
cd src/modular-boost && ./b2 --clean-all
|
||||
- rm -f $(TARGETS) $(TARGETS:=.o) .htslib .boost .bcftools
|
||||
+ rm -f $(TARGETS) $(TARGETS:=.o)
|
||||
@@ -1,27 +0,0 @@
|
||||
From 13a14579cc1bb772735f895dd5b4b90c6812f3ee Mon Sep 17 00:00:00 2001
|
||||
From: Chris Feng <chris.w.feng@gmail.com>
|
||||
Date: Sun, 29 Jul 2018 00:00:00 +0000
|
||||
Subject: [PATCH] Fix issues with destroying full screen X windows
|
||||
|
||||
* exwm-manage.el (exwm-manage--unmanage-window): Set the Emacs window
|
||||
of an full screen X window as non-dedicated before killing its buffer
|
||||
so as not to cause other side effects.
|
||||
---
|
||||
exwm-manage.el | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/exwm-manage.el b/exwm-manage.el
|
||||
index a0a9e05..349157f 100644
|
||||
--- a/exwm-manage.el
|
||||
+++ b/exwm-manage.el
|
||||
@@ -392,6 +392,10 @@ manager is shutting down."
|
||||
:window window :parent exwm--root :x 0 :y 0))
|
||||
(xcb:+request exwm--connection
|
||||
(make-instance 'xcb:DestroyWindow :window container))))
|
||||
+ (when (exwm-layout--fullscreen-p)
|
||||
+ (let ((window (get-buffer-window)))
|
||||
+ (when window
|
||||
+ (set-window-dedicated-p window nil))))
|
||||
(exwm-manage--set-client-list)
|
||||
(xcb:flush exwm--connection))
|
||||
(let ((kill-buffer-func
|
||||
@@ -160,7 +160,7 @@ index 5e4cdfd..690f180 100644
|
||||
|
||||
/* Try to make this image bootable using the EFI Boot Manager, if available. */
|
||||
if (!efi_distributor || efi_distributor[0] == '\0')
|
||||
@@ -1887,8 +1892,11 @@ main (int argc, char *argv[])
|
||||
@@ -1887,7 +1892,10 @@ main (int argc, char *argv[])
|
||||
efidir_grub_dev->disk->name,
|
||||
(part ? ",": ""), (part ? : ""));
|
||||
grub_free (part);
|
||||
@@ -173,4 +173,25 @@ index 5e4cdfd..690f180 100644
|
||||
+ strerror (ret));
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Below is a followup to the patch above: the uninitialized variable could lead
|
||||
‘grub-install’ to error out when it shouldn’t (seen on an AArch64 box where
|
||||
‘grub_install_remove_efi_entries_by_distributor’ didn't have any entry to
|
||||
remove):
|
||||
|
||||
grub-install: error: efibootmgr failed to register the boot entry: Unknown error 65535.
|
||||
|
||||
See <http://lists.gnu.org/archive/html/bug-grub/2018-10/msg00006.html>.
|
||||
|
||||
--- grub-2.02/grub-core/osdep/unix/platform.c 2018-10-17 22:21:53.015284846 +0200
|
||||
+++ grub-2.02/grub-core/osdep/unix/platform.c 2018-10-17 22:21:55.595271222 +0200
|
||||
@@ -85,7 +85,7 @@ grub_install_remove_efi_entries_by_distr
|
||||
pid_t pid = grub_util_exec_pipe ((const char * []){ "efibootmgr", NULL }, &fd);
|
||||
char *line = NULL;
|
||||
size_t len = 0;
|
||||
- int rc;
|
||||
+ int rc = 0;
|
||||
|
||||
if (!pid)
|
||||
{
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
Fix CVE-2017-11590:
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=785479
|
||||
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-11590
|
||||
|
||||
Patch copied from upstream source repository:
|
||||
|
||||
https://git.gnome.org/browse/libgxps/commit/?id=9d5d292055250ed298f3b89dc332d6db4003a031
|
||||
|
||||
From 9d5d292055250ed298f3b89dc332d6db4003a031 Mon Sep 17 00:00:00 2001
|
||||
From: Marek Kasik <mkasik@redhat.com>
|
||||
Date: Wed, 26 Jul 2017 16:23:37 +0200
|
||||
Subject: archive: Check for pathname being NULL before dereferencing
|
||||
|
||||
Check whether "archive_entry_pathname ()" returns a non-NULL pathname
|
||||
before using it to avoid a NULL pointer being dereferenced.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=785479
|
||||
---
|
||||
libgxps/gxps-archive.c | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libgxps/gxps-archive.c b/libgxps/gxps-archive.c
|
||||
index acf8d7d..e763773 100644
|
||||
--- a/libgxps/gxps-archive.c
|
||||
+++ b/libgxps/gxps-archive.c
|
||||
@@ -257,6 +257,7 @@ gxps_archive_initable_init (GInitable *initable,
|
||||
GXPSArchive *archive;
|
||||
ZipArchive *zip;
|
||||
struct archive_entry *entry;
|
||||
+ const gchar *pathname;
|
||||
|
||||
archive = GXPS_ARCHIVE (initable);
|
||||
|
||||
@@ -281,7 +282,9 @@ gxps_archive_initable_init (GInitable *initable,
|
||||
|
||||
while (gxps_zip_archive_iter_next (zip, &entry)) {
|
||||
/* FIXME: We can ignore directories here */
|
||||
- g_hash_table_add (archive->entries, g_strdup (archive_entry_pathname (entry)));
|
||||
+ pathname = archive_entry_pathname (entry);
|
||||
+ if (pathname != NULL)
|
||||
+ g_hash_table_add (archive->entries, g_strdup (pathname));
|
||||
archive_read_data_skip (zip->archive);
|
||||
}
|
||||
|
||||
--
|
||||
cgit v0.12
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
Patch to fix build with Qt 5.5, taken from upstream:
|
||||
https://github.com/lxde/liblxqt/commit/7303ea207de0771d6f450a31ec4a1ce69202869b
|
||||
|
||||
diff -u -r liblxqt-0.9.0.orig/lxqtnotification.h liblxqt-0.9.0/lxqtnotification.h
|
||||
--- liblxqt-0.9.0.orig/lxqtnotification.h 2015-07-27 22:49:05.365166482 +0200
|
||||
+++ liblxqt-0.9.0/lxqtnotification.h 2015-07-27 22:49:36.897606619 +0200
|
||||
@@ -25,6 +25,7 @@
|
||||
#ifndef LXQTNOTIFICATION_H
|
||||
#define LXQTNOTIFICATION_H
|
||||
|
||||
+#include <QObject>
|
||||
#include <QStringList>
|
||||
#include "lxqtglobals.h"
|
||||
|
||||
@@ -1,31 +1,17 @@
|
||||
Fix "Hostname" parsing in OpenSSH config files, as reported
|
||||
at <https://red.libssh.org/issues/260>.
|
||||
|
||||
From: Niels Ole Salscheider <niels_ole@salscheider-online.de>
|
||||
Date: Mon, 8 May 2017 17:36:13 +0200
|
||||
Subject: [PATCH] Fix reading of the first parameter
|
||||
|
||||
This is a fixup for 7b8b5eb4eac314a3a29be812bef0264c6611f6e7.
|
||||
Previously, it would return as long as the parameter was _not_ seen
|
||||
before. It also did not handle the case for the unsupported opcode (-1)
|
||||
It does not handle the case for the unsupported opcode (-1)
|
||||
which would cause a segfault when accessing the "seen" array.
|
||||
---
|
||||
src/config.c | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/config.c b/src/config.c
|
||||
index 7c03b27..238a655 100644
|
||||
index c5313ec8..72e07639 100644
|
||||
--- a/src/config.c
|
||||
+++ b/src/config.c
|
||||
@@ -218,8 +218,9 @@ static int ssh_config_parse_line(ssh_session session, const char *line,
|
||||
@@ -218,7 +218,8 @@ static int ssh_config_parse_line(ssh_session session, const char *line,
|
||||
}
|
||||
|
||||
opcode = ssh_config_get_opcode(keyword);
|
||||
- if (*parsing == 1 && opcode != SOC_HOST) {
|
||||
- if (seen[opcode] == 0) {
|
||||
+ if (*parsing == 1 && opcode != SOC_HOST &&
|
||||
+ opcode > SOC_UNSUPPORTED && opcode < SOC_END) {
|
||||
+ if (seen[opcode] == 1) {
|
||||
if (seen[opcode] != 0) {
|
||||
return 0;
|
||||
}
|
||||
seen[opcode] = 1;
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
Fix CVE-2018-14647:
|
||||
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14647
|
||||
https://bugs.python.org/issue34623
|
||||
|
||||
Taken from upstream:
|
||||
https://github.com/python/cpython/commit/f7666e828cc3d5873136473ea36ba2013d624fa1
|
||||
|
||||
diff --git Include/pyexpat.h Include/pyexpat.h
|
||||
index 44259bf6d7..07020b5dc9 100644
|
||||
--- Include/pyexpat.h
|
||||
+++ Include/pyexpat.h
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
/* note: you must import expat.h before importing this module! */
|
||||
|
||||
-#define PyExpat_CAPI_MAGIC "pyexpat.expat_CAPI 1.0"
|
||||
+#define PyExpat_CAPI_MAGIC "pyexpat.expat_CAPI 1.1"
|
||||
#define PyExpat_CAPSULE_NAME "pyexpat.expat_CAPI"
|
||||
|
||||
struct PyExpat_CAPI
|
||||
@@ -48,6 +48,8 @@ struct PyExpat_CAPI
|
||||
enum XML_Status (*SetEncoding)(XML_Parser parser, const XML_Char *encoding);
|
||||
int (*DefaultUnknownEncodingHandler)(
|
||||
void *encodingHandlerData, const XML_Char *name, XML_Encoding *info);
|
||||
+ /* might be none for expat < 2.1.0 */
|
||||
+ int (*SetHashSalt)(XML_Parser parser, unsigned long hash_salt);
|
||||
/* always add new stuff to the end! */
|
||||
};
|
||||
|
||||
diff --git Modules/_elementtree.c Modules/_elementtree.c
|
||||
index 707ab2912b..53f05f937f 100644
|
||||
--- Modules/_elementtree.c
|
||||
+++ Modules/_elementtree.c
|
||||
@@ -3261,6 +3261,11 @@ _elementtree_XMLParser___init___impl(XMLParserObject *self, PyObject *html,
|
||||
PyErr_NoMemory();
|
||||
return -1;
|
||||
}
|
||||
+ /* expat < 2.1.0 has no XML_SetHashSalt() */
|
||||
+ if (EXPAT(SetHashSalt) != NULL) {
|
||||
+ EXPAT(SetHashSalt)(self->parser,
|
||||
+ (unsigned long)_Py_HashSecret.expat.hashsalt);
|
||||
+ }
|
||||
|
||||
if (target) {
|
||||
Py_INCREF(target);
|
||||
diff --git Modules/pyexpat.c Modules/pyexpat.c
|
||||
index 47c3e86c20..aa21d93c11 100644
|
||||
--- Modules/pyexpat.c
|
||||
+++ Modules/pyexpat.c
|
||||
@@ -1887,6 +1887,11 @@ MODULE_INITFUNC(void)
|
||||
capi.SetStartDoctypeDeclHandler = XML_SetStartDoctypeDeclHandler;
|
||||
capi.SetEncoding = XML_SetEncoding;
|
||||
capi.DefaultUnknownEncodingHandler = PyUnknownEncodingHandler;
|
||||
+#if XML_COMBINED_VERSION >= 20100
|
||||
+ capi.SetHashSalt = XML_SetHashSalt;
|
||||
+#else
|
||||
+ capi.SetHashSalt = NULL;
|
||||
+#endif
|
||||
|
||||
/* export using capsule */
|
||||
capi_object = PyCapsule_New(&capi, PyExpat_CAPSULE_NAME, NULL);
|
||||
@@ -0,0 +1,47 @@
|
||||
Fix CVE-2018-1000802:
|
||||
|
||||
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1000802
|
||||
|
||||
Taken from upstream commit (sans NEWS):
|
||||
https://github.com/python/cpython/commit/d8b103b8b3ef9644805341216963a64098642435
|
||||
|
||||
diff --git a/Lib/shutil.py b/Lib/shutil.py
|
||||
index 3462f7c5e9..0ab1a06f52 100644
|
||||
--- a/Lib/shutil.py
|
||||
+++ b/Lib/shutil.py
|
||||
@@ -413,17 +413,21 @@ def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0,
|
||||
|
||||
return archive_name
|
||||
|
||||
-def _call_external_zip(base_dir, zip_filename, verbose=False, dry_run=False):
|
||||
+def _call_external_zip(base_dir, zip_filename, verbose, dry_run, logger):
|
||||
# XXX see if we want to keep an external call here
|
||||
if verbose:
|
||||
zipoptions = "-r"
|
||||
else:
|
||||
zipoptions = "-rq"
|
||||
- from distutils.errors import DistutilsExecError
|
||||
- from distutils.spawn import spawn
|
||||
+ cmd = ["zip", zipoptions, zip_filename, base_dir]
|
||||
+ if logger is not None:
|
||||
+ logger.info(' '.join(cmd))
|
||||
+ if dry_run:
|
||||
+ return
|
||||
+ import subprocess
|
||||
try:
|
||||
- spawn(["zip", zipoptions, zip_filename, base_dir], dry_run=dry_run)
|
||||
- except DistutilsExecError:
|
||||
+ subprocess.check_call(cmd)
|
||||
+ except subprocess.CalledProcessError:
|
||||
# XXX really should distinguish between "couldn't find
|
||||
# external 'zip' command" and "zip failed".
|
||||
raise ExecError, \
|
||||
@@ -458,7 +462,7 @@ def _make_zipfile(base_name, base_dir, verbose=0, dry_run=0, logger=None):
|
||||
zipfile = None
|
||||
|
||||
if zipfile is None:
|
||||
- _call_external_zip(base_dir, zip_filename, verbose, dry_run)
|
||||
+ _call_external_zip(base_dir, zip_filename, verbose, dry_run, logger)
|
||||
else:
|
||||
if logger is not None:
|
||||
logger.info("creating '%s' and adding '%s' to it",
|
||||
@@ -0,0 +1,20 @@
|
||||
Fix CVE-2018-1060:
|
||||
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1060
|
||||
|
||||
Taken from upstream commit (sans test and NEWS):
|
||||
https://github.com/python/cpython/commit/e052d40cea15f582b50947f7d906b39744dc62a2
|
||||
|
||||
diff --git a/Lib/poplib.py b/Lib/poplib.py
|
||||
index b91e5f72d2ca..a238510b38fc 100644
|
||||
--- a/Lib/poplib.py
|
||||
+++ b/Lib/poplib.py
|
||||
@@ -274,7 +274,7 @@ def rpop(self, user):
|
||||
return self._shortcmd('RPOP %s' % user)
|
||||
|
||||
|
||||
- timestamp = re.compile(r'\+OK.*(<[^>]+>)')
|
||||
+ timestamp = re.compile(br'\+OK.[^<]*(<.*>)')
|
||||
|
||||
def apop(self, user, secret):
|
||||
"""Authorisation
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
Fix CVE-2018-1061:
|
||||
|
||||
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1061
|
||||
|
||||
Taken from upstream commit (sans test and NEWS):
|
||||
https://github.com/python/cpython/commit/e052d40cea15f582b50947f7d906b39744dc62a2
|
||||
|
||||
diff --git a/Lib/difflib.py b/Lib/difflib.py
|
||||
index 1c6fbdbedcb7..788a92df3f89 100644
|
||||
--- a/Lib/difflib.py
|
||||
+++ b/Lib/difflib.py
|
||||
@@ -1103,7 +1103,7 @@ def _qformat(self, aline, bline, atags, btags):
|
||||
|
||||
import re
|
||||
|
||||
-def IS_LINE_JUNK(line, pat=re.compile(r"\s*#?\s*$").match):
|
||||
+def IS_LINE_JUNK(line, pat=re.compile(r"\s*(?:#\s*)?$").match):
|
||||
r"""
|
||||
Return 1 for ignorable line: iff `line` is blank or contains a single '#'.
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
Fix CVE-2018-14647:
|
||||
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14647
|
||||
https://bugs.python.org/issue34623
|
||||
|
||||
Taken from upstream:
|
||||
https://github.com/python/cpython/commit/18b20bad75b4ff0486940fba4ec680e96e70f3a2
|
||||
|
||||
diff --git a/Include/pyexpat.h b/Include/pyexpat.h
|
||||
index 5340ef5fa3..3fc5fa54da 100644
|
||||
--- a/Include/pyexpat.h
|
||||
+++ b/Include/pyexpat.h
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
/* note: you must import expat.h before importing this module! */
|
||||
|
||||
-#define PyExpat_CAPI_MAGIC "pyexpat.expat_CAPI 1.0"
|
||||
+#define PyExpat_CAPI_MAGIC "pyexpat.expat_CAPI 1.1"
|
||||
#define PyExpat_CAPSULE_NAME "pyexpat.expat_CAPI"
|
||||
|
||||
struct PyExpat_CAPI
|
||||
@@ -43,6 +43,8 @@ struct PyExpat_CAPI
|
||||
XML_Parser parser, XML_UnknownEncodingHandler handler,
|
||||
void *encodingHandlerData);
|
||||
void (*SetUserData)(XML_Parser parser, void *userData);
|
||||
+ /* might be none for expat < 2.1.0 */
|
||||
+ int (*SetHashSalt)(XML_Parser parser, unsigned long hash_salt);
|
||||
/* always add new stuff to the end! */
|
||||
};
|
||||
|
||||
diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c
|
||||
index f7f992dd3a..b38e0ab329 100644
|
||||
--- a/Modules/_elementtree.c
|
||||
+++ b/Modules/_elementtree.c
|
||||
@@ -2574,6 +2574,11 @@ xmlparser(PyObject* self_, PyObject* args, PyObject* kw)
|
||||
PyErr_NoMemory();
|
||||
return NULL;
|
||||
}
|
||||
+ /* expat < 2.1.0 has no XML_SetHashSalt() */
|
||||
+ if (EXPAT(SetHashSalt) != NULL) {
|
||||
+ EXPAT(SetHashSalt)(self->parser,
|
||||
+ (unsigned long)_Py_HashSecret.prefix);
|
||||
+ }
|
||||
|
||||
ALLOC(sizeof(XMLParserObject), "create expatparser");
|
||||
|
||||
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
|
||||
index 2b4d31293c..1f8c0d70a5 100644
|
||||
--- a/Modules/pyexpat.c
|
||||
+++ b/Modules/pyexpat.c
|
||||
@@ -2042,6 +2042,11 @@ MODULE_INITFUNC(void)
|
||||
capi.SetProcessingInstructionHandler = XML_SetProcessingInstructionHandler;
|
||||
capi.SetUnknownEncodingHandler = XML_SetUnknownEncodingHandler;
|
||||
capi.SetUserData = XML_SetUserData;
|
||||
+#if XML_COMBINED_VERSION >= 20100
|
||||
+ capi.SetHashSalt = XML_SetHashSalt;
|
||||
+#else
|
||||
+ capi.SetHashSalt = NULL;
|
||||
+#endif
|
||||
|
||||
/* export using capsule */
|
||||
capi_object = PyCapsule_New(&capi, PyExpat_CAPSULE_NAME, NULL);
|
||||
@@ -0,0 +1,83 @@
|
||||
From: Sebastian Ramacher <sebastian@ramacher.at>
|
||||
Date: Fri, 6 Apr 2018 13:25:35 +0200
|
||||
Subject: Only fetch profiles if GConf is still available
|
||||
|
||||
---
|
||||
bin/soundconverter.py | 1 -
|
||||
soundconverter/gstreamer.py | 44 ++++++++++++++++++++++++--------------------
|
||||
2 files changed, 24 insertions(+), 21 deletions(-)
|
||||
|
||||
diff --git a/bin/soundconverter.py b/bin/soundconverter.py
|
||||
index 39055ce..5198443 100644
|
||||
--- a/bin/soundconverter.py
|
||||
+++ b/bin/soundconverter.py
|
||||
@@ -66,7 +66,6 @@ def _check_libs():
|
||||
import gi
|
||||
gi.require_version('Gst', '1.0')
|
||||
gi.require_version('Gtk', '3.0')
|
||||
- gi.require_version('GConf', '2.0')
|
||||
from gi.repository import GObject
|
||||
# force GIL creation - see https://bugzilla.gnome.org/show_bug.cgi?id=710447
|
||||
import threading
|
||||
diff --git a/soundconverter/gstreamer.py b/soundconverter/gstreamer.py
|
||||
index 23aaa9b..211b052 100644
|
||||
--- a/soundconverter/gstreamer.py
|
||||
+++ b/soundconverter/gstreamer.py
|
||||
@@ -25,7 +25,7 @@ from urllib.parse import urlparse
|
||||
from gettext import gettext as _
|
||||
|
||||
import gi
|
||||
-from gi.repository import Gst, Gtk, GObject, GConf, Gio
|
||||
+from gi.repository import Gst, Gtk, GObject, Gio
|
||||
|
||||
from soundconverter.fileoperations import vfs_encode_filename, file_encode_filename
|
||||
from soundconverter.fileoperations import unquote_filename, vfs_makedirs, vfs_unlink
|
||||
@@ -66,25 +66,29 @@ _GCONF_PROFILE_LIST_PATH = "/system/gstreamer/1.0/audio/global/profile_list"
|
||||
audio_profiles_list = []
|
||||
audio_profiles_dict = {}
|
||||
|
||||
-_GCONF = GConf.Client.get_default()
|
||||
-profiles = _GCONF.all_dirs(_GCONF_PROFILE_LIST_PATH)
|
||||
-for name in profiles:
|
||||
- if _GCONF.get_bool(_GCONF_PROFILE_PATH + name + "/active"):
|
||||
- # get profile
|
||||
- description = _GCONF.get_string(_GCONF_PROFILE_PATH + name + "/name")
|
||||
- extension = _GCONF.get_string(_GCONF_PROFILE_PATH + name + "/extension")
|
||||
- pipeline = _GCONF.get_string(_GCONF_PROFILE_PATH + name + "/pipeline")
|
||||
- # check profile validity
|
||||
- if not extension or not pipeline:
|
||||
- continue
|
||||
- if not description:
|
||||
- description = extension
|
||||
- if description in audio_profiles_dict:
|
||||
- continue
|
||||
- # store
|
||||
- profile = description, extension, pipeline
|
||||
- audio_profiles_list.append(profile)
|
||||
- audio_profiles_dict[description] = profile
|
||||
+try:
|
||||
+ from gi.repository import GConf
|
||||
+ _GCONF = GConf.Client.get_default()
|
||||
+ profiles = _GCONF.all_dirs(_GCONF_PROFILE_LIST_PATH)
|
||||
+ for name in profiles:
|
||||
+ if _GCONF.get_bool(_GCONF_PROFILE_PATH + name + "/active"):
|
||||
+ # get profile
|
||||
+ description = _GCONF.get_string(_GCONF_PROFILE_PATH + name + "/name")
|
||||
+ extension = _GCONF.get_string(_GCONF_PROFILE_PATH + name + "/extension")
|
||||
+ pipeline = _GCONF.get_string(_GCONF_PROFILE_PATH + name + "/pipeline")
|
||||
+ # check profile validity
|
||||
+ if not extension or not pipeline:
|
||||
+ continue
|
||||
+ if not description:
|
||||
+ description = extension
|
||||
+ if description in audio_profiles_dict:
|
||||
+ continue
|
||||
+ # store
|
||||
+ profile = description, extension, pipeline
|
||||
+ audio_profiles_list.append(profile)
|
||||
+ audio_profiles_dict[description] = profile
|
||||
+except ImportError:
|
||||
+ pass
|
||||
|
||||
required_elements = ('decodebin', 'fakesink', 'audioconvert', 'typefind', 'audiorate')
|
||||
for element in required_elements:
|
||||
@@ -1,24 +0,0 @@
|
||||
This patch resolves a build failure when building TopHat 2.1.0 with SeqAn 1.4.
|
||||
This is the relevant part of a patch originally posted here:
|
||||
https://lists.fu-berlin.de/pipermail/seqan-dev/2014-July/msg00001.html
|
||||
|
||||
--- a/src/segment_juncs.cpp
|
||||
+++ b/src/segment_juncs.cpp
|
||||
@@ -2050,10 +2050,13 @@ void juncs_from_ref_segs(RefSequenceTabl
|
||||
typedef map<uint32_t, IntronMotifs> MotifMap;
|
||||
|
||||
MotifMap ims;
|
||||
-
|
||||
- seqan::DnaStringReverseComplement rev_donor_dinuc(donor_dinuc);
|
||||
- seqan::DnaStringReverseComplement rev_acceptor_dinuc(acceptor_dinuc);
|
||||
-
|
||||
+
|
||||
+ typedef seqan::ModifiedString<
|
||||
+ seqan::ModifiedString<seqan::DnaString const, seqan::ModView<seqan::FunctorComplement<seqan::Dna> > >,
|
||||
+ seqan::ModReverse> ConstDnaStringReverseComplement;
|
||||
+ ConstDnaStringReverseComplement rev_donor_dinuc(donor_dinuc);
|
||||
+ ConstDnaStringReverseComplement rev_acceptor_dinuc(acceptor_dinuc);
|
||||
+
|
||||
if (talkative)
|
||||
fprintf(stderr, "Collecting potential splice sites in islands\n");
|
||||
|
||||
@@ -1,360 +0,0 @@
|
||||
From <https://git.busybox.net/buildroot/tree/package/x265/0003-arm-asm-primitives.patch?id=57d4a27eaf1a9e59d767c321e7b7500c5060a2ac>.
|
||||
This fixes build errors like:
|
||||
|
||||
cd /tmp/guix-build-x265-2.8.drv-0/x265_2.8/build/encoder && /gnu/store/cd5q2pni1d95fs3cdabbclyh9hqhw2nq-gcc-5.5.0/bin/c++ -DEXPORT_C_API=1 -DHAVE_ARMV6=1 -DHAVE_INT_TYPES_H=1 -DHAVE_NEON -DHIGH_BIT_DEPTH=0 -DX265_ARCH_ARM=1 -DX265_DEPTH=8 -DX265_NS=x265 -D__STDC_LIMIT_MACROS=1 -I/tmp/guix-build-x265-2.8.drv-0/x265_2.8/source/. -I/tmp/guix-build-x265-2.8.drv-0/x265_2.8/source/common -I/tmp/guix-build-x265-2.8.drv-0/x265_2.8/source/encoder -I/tmp/guix-build-x265-2.8.drv-0/x265_2.8/build -O2 -g -DNDEBUG -Wall -Wextra -Wshadow -std=gnu++98 -fPIC -mcpu=native -mfloat-abi=hard -mfpu=neon -marm -fPIC -Wno-array-bounds -ffast-math -fno-exceptions -Wno-uninitialized -o CMakeFiles/encoder.dir/search.cpp.o -c /tmp/guix-build-x265-2.8.drv-0/x265_2.8/source/encoder/search.cpp
|
||||
/tmp/guix-build-x265-2.8.drv-0/x265_2.8/source/common/arm/asm-primitives.cpp:437:38: error: incompatible types in assignment of ?void(const pixel*, intptr_t, int16_t*, intptr_t) {aka void(const unsigned char*, int, short int*, int)}? to ?void (* [2])(const pixel*, intptr_t, int16_t*, intptr_t) {aka void (* [2])(const unsigned char*, int, short int*, int)}?
|
||||
p.pu[LUMA_64x48].convert_p2s = PFX(filterPixelToShort_64x48_neon);
|
||||
^
|
||||
|
||||
Downloaded from upstream bug report:
|
||||
https://bitbucket.org/multicoreware/x265/issues/406
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
|
||||
--- ./source/common/arm/asm-primitives.cpp.orig 2018-05-21 02:33:10.000000000 -0600
|
||||
+++ ./source/common/arm/asm-primitives.cpp 2018-05-28 20:38:37.302378303 -0600
|
||||
@@ -48,77 +48,77 @@ void setupAssemblyPrimitives(EncoderPrim
|
||||
p.ssim_4x4x2_core = PFX(ssim_4x4x2_core_neon);
|
||||
|
||||
// addAvg
|
||||
- p.pu[LUMA_4x4].addAvg = PFX(addAvg_4x4_neon);
|
||||
- p.pu[LUMA_4x8].addAvg = PFX(addAvg_4x8_neon);
|
||||
- p.pu[LUMA_4x16].addAvg = PFX(addAvg_4x16_neon);
|
||||
- p.pu[LUMA_8x4].addAvg = PFX(addAvg_8x4_neon);
|
||||
- p.pu[LUMA_8x8].addAvg = PFX(addAvg_8x8_neon);
|
||||
- p.pu[LUMA_8x16].addAvg = PFX(addAvg_8x16_neon);
|
||||
- p.pu[LUMA_8x32].addAvg = PFX(addAvg_8x32_neon);
|
||||
- p.pu[LUMA_12x16].addAvg = PFX(addAvg_12x16_neon);
|
||||
- p.pu[LUMA_16x4].addAvg = PFX(addAvg_16x4_neon);
|
||||
- p.pu[LUMA_16x8].addAvg = PFX(addAvg_16x8_neon);
|
||||
- p.pu[LUMA_16x12].addAvg = PFX(addAvg_16x12_neon);
|
||||
- p.pu[LUMA_16x16].addAvg = PFX(addAvg_16x16_neon);
|
||||
- p.pu[LUMA_16x32].addAvg = PFX(addAvg_16x32_neon);
|
||||
- p.pu[LUMA_16x64].addAvg = PFX(addAvg_16x64_neon);
|
||||
- p.pu[LUMA_24x32].addAvg = PFX(addAvg_24x32_neon);
|
||||
- p.pu[LUMA_32x8].addAvg = PFX(addAvg_32x8_neon);
|
||||
- p.pu[LUMA_32x16].addAvg = PFX(addAvg_32x16_neon);
|
||||
- p.pu[LUMA_32x24].addAvg = PFX(addAvg_32x24_neon);
|
||||
- p.pu[LUMA_32x32].addAvg = PFX(addAvg_32x32_neon);
|
||||
- p.pu[LUMA_32x64].addAvg = PFX(addAvg_32x64_neon);
|
||||
- p.pu[LUMA_48x64].addAvg = PFX(addAvg_48x64_neon);
|
||||
- p.pu[LUMA_64x16].addAvg = PFX(addAvg_64x16_neon);
|
||||
- p.pu[LUMA_64x32].addAvg = PFX(addAvg_64x32_neon);
|
||||
- p.pu[LUMA_64x48].addAvg = PFX(addAvg_64x48_neon);
|
||||
- p.pu[LUMA_64x64].addAvg = PFX(addAvg_64x64_neon);
|
||||
+ p.pu[LUMA_4x4].addAvg[ALIGNED] = PFX(addAvg_4x4_neon);
|
||||
+ p.pu[LUMA_4x8].addAvg[ALIGNED] = PFX(addAvg_4x8_neon);
|
||||
+ p.pu[LUMA_4x16].addAvg[ALIGNED] = PFX(addAvg_4x16_neon);
|
||||
+ p.pu[LUMA_8x4].addAvg[ALIGNED] = PFX(addAvg_8x4_neon);
|
||||
+ p.pu[LUMA_8x8].addAvg[ALIGNED] = PFX(addAvg_8x8_neon);
|
||||
+ p.pu[LUMA_8x16].addAvg[ALIGNED] = PFX(addAvg_8x16_neon);
|
||||
+ p.pu[LUMA_8x32].addAvg[ALIGNED] = PFX(addAvg_8x32_neon);
|
||||
+ p.pu[LUMA_12x16].addAvg[ALIGNED] = PFX(addAvg_12x16_neon);
|
||||
+ p.pu[LUMA_16x4].addAvg[ALIGNED] = PFX(addAvg_16x4_neon);
|
||||
+ p.pu[LUMA_16x8].addAvg[ALIGNED] = PFX(addAvg_16x8_neon);
|
||||
+ p.pu[LUMA_16x12].addAvg[ALIGNED] = PFX(addAvg_16x12_neon);
|
||||
+ p.pu[LUMA_16x16].addAvg[ALIGNED] = PFX(addAvg_16x16_neon);
|
||||
+ p.pu[LUMA_16x32].addAvg[ALIGNED] = PFX(addAvg_16x32_neon);
|
||||
+ p.pu[LUMA_16x64].addAvg[ALIGNED] = PFX(addAvg_16x64_neon);
|
||||
+ p.pu[LUMA_24x32].addAvg[ALIGNED] = PFX(addAvg_24x32_neon);
|
||||
+ p.pu[LUMA_32x8].addAvg[ALIGNED] = PFX(addAvg_32x8_neon);
|
||||
+ p.pu[LUMA_32x16].addAvg[ALIGNED] = PFX(addAvg_32x16_neon);
|
||||
+ p.pu[LUMA_32x24].addAvg[ALIGNED] = PFX(addAvg_32x24_neon);
|
||||
+ p.pu[LUMA_32x32].addAvg[ALIGNED] = PFX(addAvg_32x32_neon);
|
||||
+ p.pu[LUMA_32x64].addAvg[ALIGNED] = PFX(addAvg_32x64_neon);
|
||||
+ p.pu[LUMA_48x64].addAvg[ALIGNED] = PFX(addAvg_48x64_neon);
|
||||
+ p.pu[LUMA_64x16].addAvg[ALIGNED] = PFX(addAvg_64x16_neon);
|
||||
+ p.pu[LUMA_64x32].addAvg[ALIGNED] = PFX(addAvg_64x32_neon);
|
||||
+ p.pu[LUMA_64x48].addAvg[ALIGNED] = PFX(addAvg_64x48_neon);
|
||||
+ p.pu[LUMA_64x64].addAvg[ALIGNED] = PFX(addAvg_64x64_neon);
|
||||
|
||||
// chroma addAvg
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_4x2].addAvg = PFX(addAvg_4x2_neon);
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_4x4].addAvg = PFX(addAvg_4x4_neon);
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_4x8].addAvg = PFX(addAvg_4x8_neon);
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_4x16].addAvg = PFX(addAvg_4x16_neon);
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_6x8].addAvg = PFX(addAvg_6x8_neon);
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_8x2].addAvg = PFX(addAvg_8x2_neon);
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_8x4].addAvg = PFX(addAvg_8x4_neon);
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_8x6].addAvg = PFX(addAvg_8x6_neon);
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_8x8].addAvg = PFX(addAvg_8x8_neon);
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_8x16].addAvg = PFX(addAvg_8x16_neon);
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_8x32].addAvg = PFX(addAvg_8x32_neon);
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_12x16].addAvg = PFX(addAvg_12x16_neon);
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_16x4].addAvg = PFX(addAvg_16x4_neon);
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_16x8].addAvg = PFX(addAvg_16x8_neon);
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_16x12].addAvg = PFX(addAvg_16x12_neon);
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_16x16].addAvg = PFX(addAvg_16x16_neon);
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_16x32].addAvg = PFX(addAvg_16x32_neon);
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_24x32].addAvg = PFX(addAvg_24x32_neon);
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_32x8].addAvg = PFX(addAvg_32x8_neon);
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_32x16].addAvg = PFX(addAvg_32x16_neon);
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_32x24].addAvg = PFX(addAvg_32x24_neon);
|
||||
- p.chroma[X265_CSP_I420].pu[CHROMA_420_32x32].addAvg = PFX(addAvg_32x32_neon);
|
||||
-
|
||||
- p.chroma[X265_CSP_I422].pu[CHROMA_422_4x8].addAvg = PFX(addAvg_4x8_neon);
|
||||
- p.chroma[X265_CSP_I422].pu[CHROMA_422_4x16].addAvg = PFX(addAvg_4x16_neon);
|
||||
- p.chroma[X265_CSP_I422].pu[CHROMA_422_4x32].addAvg = PFX(addAvg_4x32_neon);
|
||||
- p.chroma[X265_CSP_I422].pu[CHROMA_422_6x16].addAvg = PFX(addAvg_6x16_neon);
|
||||
- p.chroma[X265_CSP_I422].pu[CHROMA_422_8x4].addAvg = PFX(addAvg_8x4_neon);
|
||||
- p.chroma[X265_CSP_I422].pu[CHROMA_422_8x8].addAvg = PFX(addAvg_8x8_neon);
|
||||
- p.chroma[X265_CSP_I422].pu[CHROMA_422_8x12].addAvg = PFX(addAvg_8x12_neon);
|
||||
- p.chroma[X265_CSP_I422].pu[CHROMA_422_8x16].addAvg = PFX(addAvg_8x16_neon);
|
||||
- p.chroma[X265_CSP_I422].pu[CHROMA_422_8x32].addAvg = PFX(addAvg_8x32_neon);
|
||||
- p.chroma[X265_CSP_I422].pu[CHROMA_422_8x64].addAvg = PFX(addAvg_8x64_neon);
|
||||
- p.chroma[X265_CSP_I422].pu[CHROMA_422_12x32].addAvg = PFX(addAvg_12x32_neon);
|
||||
- p.chroma[X265_CSP_I422].pu[CHROMA_422_16x8].addAvg = PFX(addAvg_16x8_neon);
|
||||
- p.chroma[X265_CSP_I422].pu[CHROMA_422_16x16].addAvg = PFX(addAvg_16x16_neon);
|
||||
- p.chroma[X265_CSP_I422].pu[CHROMA_422_16x24].addAvg = PFX(addAvg_16x24_neon);
|
||||
- p.chroma[X265_CSP_I422].pu[CHROMA_422_16x32].addAvg = PFX(addAvg_16x32_neon);
|
||||
- p.chroma[X265_CSP_I422].pu[CHROMA_422_16x64].addAvg = PFX(addAvg_16x64_neon);
|
||||
- p.chroma[X265_CSP_I422].pu[CHROMA_422_24x64].addAvg = PFX(addAvg_24x64_neon);
|
||||
- p.chroma[X265_CSP_I422].pu[CHROMA_422_32x16].addAvg = PFX(addAvg_32x16_neon);
|
||||
- p.chroma[X265_CSP_I422].pu[CHROMA_422_32x32].addAvg = PFX(addAvg_32x32_neon);
|
||||
- p.chroma[X265_CSP_I422].pu[CHROMA_422_32x48].addAvg = PFX(addAvg_32x48_neon);
|
||||
- p.chroma[X265_CSP_I422].pu[CHROMA_422_32x64].addAvg = PFX(addAvg_32x64_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_4x2].addAvg[ALIGNED] = PFX(addAvg_4x2_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_4x4].addAvg[ALIGNED] = PFX(addAvg_4x4_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_4x8].addAvg[ALIGNED] = PFX(addAvg_4x8_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_4x16].addAvg[ALIGNED] = PFX(addAvg_4x16_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_6x8].addAvg[ALIGNED] = PFX(addAvg_6x8_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_8x2].addAvg[ALIGNED] = PFX(addAvg_8x2_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_8x4].addAvg[ALIGNED] = PFX(addAvg_8x4_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_8x6].addAvg[ALIGNED] = PFX(addAvg_8x6_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_8x8].addAvg[ALIGNED] = PFX(addAvg_8x8_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_8x16].addAvg[ALIGNED] = PFX(addAvg_8x16_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_8x32].addAvg[ALIGNED] = PFX(addAvg_8x32_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_12x16].addAvg[ALIGNED] = PFX(addAvg_12x16_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_16x4].addAvg[ALIGNED] = PFX(addAvg_16x4_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_16x8].addAvg[ALIGNED] = PFX(addAvg_16x8_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_16x12].addAvg[ALIGNED] = PFX(addAvg_16x12_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_16x16].addAvg[ALIGNED] = PFX(addAvg_16x16_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_16x32].addAvg[ALIGNED] = PFX(addAvg_16x32_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_24x32].addAvg[ALIGNED] = PFX(addAvg_24x32_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_32x8].addAvg[ALIGNED] = PFX(addAvg_32x8_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_32x16].addAvg[ALIGNED] = PFX(addAvg_32x16_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_32x24].addAvg[ALIGNED] = PFX(addAvg_32x24_neon);
|
||||
+ p.chroma[X265_CSP_I420].pu[CHROMA_420_32x32].addAvg[ALIGNED] = PFX(addAvg_32x32_neon);
|
||||
+
|
||||
+ p.chroma[X265_CSP_I422].pu[CHROMA_422_4x8].addAvg[ALIGNED] = PFX(addAvg_4x8_neon);
|
||||
+ p.chroma[X265_CSP_I422].pu[CHROMA_422_4x16].addAvg[ALIGNED] = PFX(addAvg_4x16_neon);
|
||||
+ p.chroma[X265_CSP_I422].pu[CHROMA_422_4x32].addAvg[ALIGNED] = PFX(addAvg_4x32_neon);
|
||||
+ p.chroma[X265_CSP_I422].pu[CHROMA_422_6x16].addAvg[ALIGNED] = PFX(addAvg_6x16_neon);
|
||||
+ p.chroma[X265_CSP_I422].pu[CHROMA_422_8x4].addAvg[ALIGNED] = PFX(addAvg_8x4_neon);
|
||||
+ p.chroma[X265_CSP_I422].pu[CHROMA_422_8x8].addAvg[ALIGNED] = PFX(addAvg_8x8_neon);
|
||||
+ p.chroma[X265_CSP_I422].pu[CHROMA_422_8x12].addAvg[ALIGNED] = PFX(addAvg_8x12_neon);
|
||||
+ p.chroma[X265_CSP_I422].pu[CHROMA_422_8x16].addAvg[ALIGNED] = PFX(addAvg_8x16_neon);
|
||||
+ p.chroma[X265_CSP_I422].pu[CHROMA_422_8x32].addAvg[ALIGNED] = PFX(addAvg_8x32_neon);
|
||||
+ p.chroma[X265_CSP_I422].pu[CHROMA_422_8x64].addAvg[ALIGNED] = PFX(addAvg_8x64_neon);
|
||||
+ p.chroma[X265_CSP_I422].pu[CHROMA_422_12x32].addAvg[ALIGNED] = PFX(addAvg_12x32_neon);
|
||||
+ p.chroma[X265_CSP_I422].pu[CHROMA_422_16x8].addAvg[ALIGNED] = PFX(addAvg_16x8_neon);
|
||||
+ p.chroma[X265_CSP_I422].pu[CHROMA_422_16x16].addAvg[ALIGNED] = PFX(addAvg_16x16_neon);
|
||||
+ p.chroma[X265_CSP_I422].pu[CHROMA_422_16x24].addAvg[ALIGNED] = PFX(addAvg_16x24_neon);
|
||||
+ p.chroma[X265_CSP_I422].pu[CHROMA_422_16x32].addAvg[ALIGNED] = PFX(addAvg_16x32_neon);
|
||||
+ p.chroma[X265_CSP_I422].pu[CHROMA_422_16x64].addAvg[ALIGNED] = PFX(addAvg_16x64_neon);
|
||||
+ p.chroma[X265_CSP_I422].pu[CHROMA_422_24x64].addAvg[ALIGNED] = PFX(addAvg_24x64_neon);
|
||||
+ p.chroma[X265_CSP_I422].pu[CHROMA_422_32x16].addAvg[ALIGNED] = PFX(addAvg_32x16_neon);
|
||||
+ p.chroma[X265_CSP_I422].pu[CHROMA_422_32x32].addAvg[ALIGNED] = PFX(addAvg_32x32_neon);
|
||||
+ p.chroma[X265_CSP_I422].pu[CHROMA_422_32x48].addAvg[ALIGNED] = PFX(addAvg_32x48_neon);
|
||||
+ p.chroma[X265_CSP_I422].pu[CHROMA_422_32x64].addAvg[ALIGNED] = PFX(addAvg_32x64_neon);
|
||||
|
||||
// quant
|
||||
p.quant = PFX(quant_neon);
|
||||
@@ -402,7 +402,7 @@ void setupAssemblyPrimitives(EncoderPrim
|
||||
p.scale2D_64to32 = PFX(scale2D_64to32_neon);
|
||||
|
||||
// scale1D_128to64
|
||||
- p.scale1D_128to64 = PFX(scale1D_128to64_neon);
|
||||
+ p.scale1D_128to64[ALIGNED] = PFX(scale1D_128to64_neon);
|
||||
|
||||
// copy_count
|
||||
p.cu[BLOCK_4x4].copy_cnt = PFX(copy_cnt_4_neon);
|
||||
@@ -411,37 +411,37 @@ void setupAssemblyPrimitives(EncoderPrim
|
||||
p.cu[BLOCK_32x32].copy_cnt = PFX(copy_cnt_32_neon);
|
||||
|
||||
// filterPixelToShort
|
||||
- p.pu[LUMA_4x4].convert_p2s = PFX(filterPixelToShort_4x4_neon);
|
||||
- p.pu[LUMA_4x8].convert_p2s = PFX(filterPixelToShort_4x8_neon);
|
||||
- p.pu[LUMA_4x16].convert_p2s = PFX(filterPixelToShort_4x16_neon);
|
||||
- p.pu[LUMA_8x4].convert_p2s = PFX(filterPixelToShort_8x4_neon);
|
||||
- p.pu[LUMA_8x8].convert_p2s = PFX(filterPixelToShort_8x8_neon);
|
||||
- p.pu[LUMA_8x16].convert_p2s = PFX(filterPixelToShort_8x16_neon);
|
||||
- p.pu[LUMA_8x32].convert_p2s = PFX(filterPixelToShort_8x32_neon);
|
||||
- p.pu[LUMA_12x16].convert_p2s = PFX(filterPixelToShort_12x16_neon);
|
||||
- p.pu[LUMA_16x4].convert_p2s = PFX(filterPixelToShort_16x4_neon);
|
||||
- p.pu[LUMA_16x8].convert_p2s = PFX(filterPixelToShort_16x8_neon);
|
||||
- p.pu[LUMA_16x12].convert_p2s = PFX(filterPixelToShort_16x12_neon);
|
||||
- p.pu[LUMA_16x16].convert_p2s = PFX(filterPixelToShort_16x16_neon);
|
||||
- p.pu[LUMA_16x32].convert_p2s = PFX(filterPixelToShort_16x32_neon);
|
||||
- p.pu[LUMA_16x64].convert_p2s = PFX(filterPixelToShort_16x64_neon);
|
||||
- p.pu[LUMA_24x32].convert_p2s = PFX(filterPixelToShort_24x32_neon);
|
||||
- p.pu[LUMA_32x8].convert_p2s = PFX(filterPixelToShort_32x8_neon);
|
||||
- p.pu[LUMA_32x16].convert_p2s = PFX(filterPixelToShort_32x16_neon);
|
||||
- p.pu[LUMA_32x24].convert_p2s = PFX(filterPixelToShort_32x24_neon);
|
||||
- p.pu[LUMA_32x32].convert_p2s = PFX(filterPixelToShort_32x32_neon);
|
||||
- p.pu[LUMA_32x64].convert_p2s = PFX(filterPixelToShort_32x64_neon);
|
||||
- p.pu[LUMA_48x64].convert_p2s = PFX(filterPixelToShort_48x64_neon);
|
||||
- p.pu[LUMA_64x16].convert_p2s = PFX(filterPixelToShort_64x16_neon);
|
||||
- p.pu[LUMA_64x32].convert_p2s = PFX(filterPixelToShort_64x32_neon);
|
||||
- p.pu[LUMA_64x48].convert_p2s = PFX(filterPixelToShort_64x48_neon);
|
||||
- p.pu[LUMA_64x64].convert_p2s = PFX(filterPixelToShort_64x64_neon);
|
||||
+ p.pu[LUMA_4x4].convert_p2s[ALIGNED] = PFX(filterPixelToShort_4x4_neon);
|
||||
+ p.pu[LUMA_4x8].convert_p2s[ALIGNED] = PFX(filterPixelToShort_4x8_neon);
|
||||
+ p.pu[LUMA_4x16].convert_p2s[ALIGNED] = PFX(filterPixelToShort_4x16_neon);
|
||||
+ p.pu[LUMA_8x4].convert_p2s[ALIGNED] = PFX(filterPixelToShort_8x4_neon);
|
||||
+ p.pu[LUMA_8x8].convert_p2s[ALIGNED] = PFX(filterPixelToShort_8x8_neon);
|
||||
+ p.pu[LUMA_8x16].convert_p2s[ALIGNED] = PFX(filterPixelToShort_8x16_neon);
|
||||
+ p.pu[LUMA_8x32].convert_p2s[ALIGNED] = PFX(filterPixelToShort_8x32_neon);
|
||||
+ p.pu[LUMA_12x16].convert_p2s[ALIGNED] = PFX(filterPixelToShort_12x16_neon);
|
||||
+ p.pu[LUMA_16x4].convert_p2s[ALIGNED] = PFX(filterPixelToShort_16x4_neon);
|
||||
+ p.pu[LUMA_16x8].convert_p2s[ALIGNED] = PFX(filterPixelToShort_16x8_neon);
|
||||
+ p.pu[LUMA_16x12].convert_p2s[ALIGNED] = PFX(filterPixelToShort_16x12_neon);
|
||||
+ p.pu[LUMA_16x16].convert_p2s[ALIGNED] = PFX(filterPixelToShort_16x16_neon);
|
||||
+ p.pu[LUMA_16x32].convert_p2s[ALIGNED] = PFX(filterPixelToShort_16x32_neon);
|
||||
+ p.pu[LUMA_16x64].convert_p2s[ALIGNED] = PFX(filterPixelToShort_16x64_neon);
|
||||
+ p.pu[LUMA_24x32].convert_p2s[ALIGNED] = PFX(filterPixelToShort_24x32_neon);
|
||||
+ p.pu[LUMA_32x8].convert_p2s[ALIGNED] = PFX(filterPixelToShort_32x8_neon);
|
||||
+ p.pu[LUMA_32x16].convert_p2s[ALIGNED] = PFX(filterPixelToShort_32x16_neon);
|
||||
+ p.pu[LUMA_32x24].convert_p2s[ALIGNED] = PFX(filterPixelToShort_32x24_neon);
|
||||
+ p.pu[LUMA_32x32].convert_p2s[ALIGNED] = PFX(filterPixelToShort_32x32_neon);
|
||||
+ p.pu[LUMA_32x64].convert_p2s[ALIGNED] = PFX(filterPixelToShort_32x64_neon);
|
||||
+ p.pu[LUMA_48x64].convert_p2s[ALIGNED] = PFX(filterPixelToShort_48x64_neon);
|
||||
+ p.pu[LUMA_64x16].convert_p2s[ALIGNED] = PFX(filterPixelToShort_64x16_neon);
|
||||
+ p.pu[LUMA_64x32].convert_p2s[ALIGNED] = PFX(filterPixelToShort_64x32_neon);
|
||||
+ p.pu[LUMA_64x48].convert_p2s[ALIGNED] = PFX(filterPixelToShort_64x48_neon);
|
||||
+ p.pu[LUMA_64x64].convert_p2s[ALIGNED] = PFX(filterPixelToShort_64x64_neon);
|
||||
|
||||
// Block_fill
|
||||
- p.cu[BLOCK_4x4].blockfill_s = PFX(blockfill_s_4x4_neon);
|
||||
- p.cu[BLOCK_8x8].blockfill_s = PFX(blockfill_s_8x8_neon);
|
||||
- p.cu[BLOCK_16x16].blockfill_s = PFX(blockfill_s_16x16_neon);
|
||||
- p.cu[BLOCK_32x32].blockfill_s = PFX(blockfill_s_32x32_neon);
|
||||
+ p.cu[BLOCK_4x4].blockfill_s[ALIGNED] = PFX(blockfill_s_4x4_neon);
|
||||
+ p.cu[BLOCK_8x8].blockfill_s[ALIGNED] = PFX(blockfill_s_8x8_neon);
|
||||
+ p.cu[BLOCK_16x16].blockfill_s[ALIGNED] = PFX(blockfill_s_16x16_neon);
|
||||
+ p.cu[BLOCK_32x32].blockfill_s[ALIGNED] = PFX(blockfill_s_32x32_neon);
|
||||
|
||||
// Blockcopy_ss
|
||||
p.cu[BLOCK_4x4].copy_ss = PFX(blockcopy_ss_4x4_neon);
|
||||
@@ -495,21 +495,21 @@ void setupAssemblyPrimitives(EncoderPrim
|
||||
p.chroma[X265_CSP_I422].cu[BLOCK_422_32x64].copy_sp = PFX(blockcopy_sp_32x64_neon);
|
||||
|
||||
// pixel_add_ps
|
||||
- p.cu[BLOCK_4x4].add_ps = PFX(pixel_add_ps_4x4_neon);
|
||||
- p.cu[BLOCK_8x8].add_ps = PFX(pixel_add_ps_8x8_neon);
|
||||
- p.cu[BLOCK_16x16].add_ps = PFX(pixel_add_ps_16x16_neon);
|
||||
- p.cu[BLOCK_32x32].add_ps = PFX(pixel_add_ps_32x32_neon);
|
||||
- p.cu[BLOCK_64x64].add_ps = PFX(pixel_add_ps_64x64_neon);
|
||||
+ p.cu[BLOCK_4x4].add_ps[ALIGNED] = PFX(pixel_add_ps_4x4_neon);
|
||||
+ p.cu[BLOCK_8x8].add_ps[ALIGNED] = PFX(pixel_add_ps_8x8_neon);
|
||||
+ p.cu[BLOCK_16x16].add_ps[ALIGNED] = PFX(pixel_add_ps_16x16_neon);
|
||||
+ p.cu[BLOCK_32x32].add_ps[ALIGNED] = PFX(pixel_add_ps_32x32_neon);
|
||||
+ p.cu[BLOCK_64x64].add_ps[ALIGNED] = PFX(pixel_add_ps_64x64_neon);
|
||||
|
||||
// chroma add_ps
|
||||
- p.chroma[X265_CSP_I420].cu[BLOCK_420_4x4].add_ps = PFX(pixel_add_ps_4x4_neon);
|
||||
- p.chroma[X265_CSP_I420].cu[BLOCK_420_8x8].add_ps = PFX(pixel_add_ps_8x8_neon);
|
||||
- p.chroma[X265_CSP_I420].cu[BLOCK_420_16x16].add_ps = PFX(pixel_add_ps_16x16_neon);
|
||||
- p.chroma[X265_CSP_I420].cu[BLOCK_420_32x32].add_ps = PFX(pixel_add_ps_32x32_neon);
|
||||
- p.chroma[X265_CSP_I422].cu[BLOCK_422_4x8].add_ps = PFX(pixel_add_ps_4x8_neon);
|
||||
- p.chroma[X265_CSP_I422].cu[BLOCK_422_8x16].add_ps = PFX(pixel_add_ps_8x16_neon);
|
||||
- p.chroma[X265_CSP_I422].cu[BLOCK_422_16x32].add_ps = PFX(pixel_add_ps_16x32_neon);
|
||||
- p.chroma[X265_CSP_I422].cu[BLOCK_422_32x64].add_ps = PFX(pixel_add_ps_32x64_neon);
|
||||
+ p.chroma[X265_CSP_I420].cu[BLOCK_420_4x4].add_ps[ALIGNED] = PFX(pixel_add_ps_4x4_neon);
|
||||
+ p.chroma[X265_CSP_I420].cu[BLOCK_420_8x8].add_ps[ALIGNED] = PFX(pixel_add_ps_8x8_neon);
|
||||
+ p.chroma[X265_CSP_I420].cu[BLOCK_420_16x16].add_ps[ALIGNED] = PFX(pixel_add_ps_16x16_neon);
|
||||
+ p.chroma[X265_CSP_I420].cu[BLOCK_420_32x32].add_ps[ALIGNED] = PFX(pixel_add_ps_32x32_neon);
|
||||
+ p.chroma[X265_CSP_I422].cu[BLOCK_422_4x8].add_ps[ALIGNED] = PFX(pixel_add_ps_4x8_neon);
|
||||
+ p.chroma[X265_CSP_I422].cu[BLOCK_422_8x16].add_ps[ALIGNED] = PFX(pixel_add_ps_8x16_neon);
|
||||
+ p.chroma[X265_CSP_I422].cu[BLOCK_422_16x32].add_ps[ALIGNED] = PFX(pixel_add_ps_16x32_neon);
|
||||
+ p.chroma[X265_CSP_I422].cu[BLOCK_422_32x64].add_ps[ALIGNED] = PFX(pixel_add_ps_32x64_neon);
|
||||
|
||||
// cpy2Dto1D_shr
|
||||
p.cu[BLOCK_4x4].cpy2Dto1D_shr = PFX(cpy2Dto1D_shr_4x4_neon);
|
||||
@@ -518,10 +518,10 @@ void setupAssemblyPrimitives(EncoderPrim
|
||||
p.cu[BLOCK_32x32].cpy2Dto1D_shr = PFX(cpy2Dto1D_shr_32x32_neon);
|
||||
|
||||
// ssd_s
|
||||
- p.cu[BLOCK_4x4].ssd_s = PFX(pixel_ssd_s_4x4_neon);
|
||||
- p.cu[BLOCK_8x8].ssd_s = PFX(pixel_ssd_s_8x8_neon);
|
||||
- p.cu[BLOCK_16x16].ssd_s = PFX(pixel_ssd_s_16x16_neon);
|
||||
- p.cu[BLOCK_32x32].ssd_s = PFX(pixel_ssd_s_32x32_neon);
|
||||
+ p.cu[BLOCK_4x4].ssd_s[ALIGNED] = PFX(pixel_ssd_s_4x4_neon);
|
||||
+ p.cu[BLOCK_8x8].ssd_s[ALIGNED] = PFX(pixel_ssd_s_8x8_neon);
|
||||
+ p.cu[BLOCK_16x16].ssd_s[ALIGNED] = PFX(pixel_ssd_s_16x16_neon);
|
||||
+ p.cu[BLOCK_32x32].ssd_s[ALIGNED] = PFX(pixel_ssd_s_32x32_neon);
|
||||
|
||||
// sse_ss
|
||||
p.cu[BLOCK_4x4].sse_ss = PFX(pixel_sse_ss_4x4_neon);
|
||||
@@ -548,10 +548,10 @@ void setupAssemblyPrimitives(EncoderPrim
|
||||
p.chroma[X265_CSP_I422].cu[BLOCK_422_32x64].sub_ps = PFX(pixel_sub_ps_32x64_neon);
|
||||
|
||||
// calc_Residual
|
||||
- p.cu[BLOCK_4x4].calcresidual = PFX(getResidual4_neon);
|
||||
- p.cu[BLOCK_8x8].calcresidual = PFX(getResidual8_neon);
|
||||
- p.cu[BLOCK_16x16].calcresidual = PFX(getResidual16_neon);
|
||||
- p.cu[BLOCK_32x32].calcresidual = PFX(getResidual32_neon);
|
||||
+ p.cu[BLOCK_4x4].calcresidual[ALIGNED] = PFX(getResidual4_neon);
|
||||
+ p.cu[BLOCK_8x8].calcresidual[ALIGNED] = PFX(getResidual8_neon);
|
||||
+ p.cu[BLOCK_16x16].calcresidual[ALIGNED] = PFX(getResidual16_neon);
|
||||
+ p.cu[BLOCK_32x32].calcresidual[ALIGNED] = PFX(getResidual32_neon);
|
||||
|
||||
// sse_pp
|
||||
p.cu[BLOCK_4x4].sse_pp = PFX(pixel_sse_pp_4x4_neon);
|
||||
@@ -722,31 +722,31 @@ void setupAssemblyPrimitives(EncoderPrim
|
||||
p.pu[LUMA_64x64].sad_x4 = PFX(sad_x4_64x64_neon);
|
||||
|
||||
// pixel_avg_pp
|
||||
- p.pu[LUMA_4x4].pixelavg_pp = PFX(pixel_avg_pp_4x4_neon);
|
||||
- p.pu[LUMA_4x8].pixelavg_pp = PFX(pixel_avg_pp_4x8_neon);
|
||||
- p.pu[LUMA_4x16].pixelavg_pp = PFX(pixel_avg_pp_4x16_neon);
|
||||
- p.pu[LUMA_8x4].pixelavg_pp = PFX(pixel_avg_pp_8x4_neon);
|
||||
- p.pu[LUMA_8x8].pixelavg_pp = PFX(pixel_avg_pp_8x8_neon);
|
||||
- p.pu[LUMA_8x16].pixelavg_pp = PFX(pixel_avg_pp_8x16_neon);
|
||||
- p.pu[LUMA_8x32].pixelavg_pp = PFX(pixel_avg_pp_8x32_neon);
|
||||
- p.pu[LUMA_12x16].pixelavg_pp = PFX(pixel_avg_pp_12x16_neon);
|
||||
- p.pu[LUMA_16x4].pixelavg_pp = PFX(pixel_avg_pp_16x4_neon);
|
||||
- p.pu[LUMA_16x8].pixelavg_pp = PFX(pixel_avg_pp_16x8_neon);
|
||||
- p.pu[LUMA_16x12].pixelavg_pp = PFX(pixel_avg_pp_16x12_neon);
|
||||
- p.pu[LUMA_16x16].pixelavg_pp = PFX(pixel_avg_pp_16x16_neon);
|
||||
- p.pu[LUMA_16x32].pixelavg_pp = PFX(pixel_avg_pp_16x32_neon);
|
||||
- p.pu[LUMA_16x64].pixelavg_pp = PFX(pixel_avg_pp_16x64_neon);
|
||||
- p.pu[LUMA_24x32].pixelavg_pp = PFX(pixel_avg_pp_24x32_neon);
|
||||
- p.pu[LUMA_32x8].pixelavg_pp = PFX(pixel_avg_pp_32x8_neon);
|
||||
- p.pu[LUMA_32x16].pixelavg_pp = PFX(pixel_avg_pp_32x16_neon);
|
||||
- p.pu[LUMA_32x24].pixelavg_pp = PFX(pixel_avg_pp_32x24_neon);
|
||||
- p.pu[LUMA_32x32].pixelavg_pp = PFX(pixel_avg_pp_32x32_neon);
|
||||
- p.pu[LUMA_32x64].pixelavg_pp = PFX(pixel_avg_pp_32x64_neon);
|
||||
- p.pu[LUMA_48x64].pixelavg_pp = PFX(pixel_avg_pp_48x64_neon);
|
||||
- p.pu[LUMA_64x16].pixelavg_pp = PFX(pixel_avg_pp_64x16_neon);
|
||||
- p.pu[LUMA_64x32].pixelavg_pp = PFX(pixel_avg_pp_64x32_neon);
|
||||
- p.pu[LUMA_64x48].pixelavg_pp = PFX(pixel_avg_pp_64x48_neon);
|
||||
- p.pu[LUMA_64x64].pixelavg_pp = PFX(pixel_avg_pp_64x64_neon);
|
||||
+ p.pu[LUMA_4x4].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_4x4_neon);
|
||||
+ p.pu[LUMA_4x8].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_4x8_neon);
|
||||
+ p.pu[LUMA_4x16].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_4x16_neon);
|
||||
+ p.pu[LUMA_8x4].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_8x4_neon);
|
||||
+ p.pu[LUMA_8x8].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_8x8_neon);
|
||||
+ p.pu[LUMA_8x16].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_8x16_neon);
|
||||
+ p.pu[LUMA_8x32].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_8x32_neon);
|
||||
+ p.pu[LUMA_12x16].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_12x16_neon);
|
||||
+ p.pu[LUMA_16x4].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_16x4_neon);
|
||||
+ p.pu[LUMA_16x8].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_16x8_neon);
|
||||
+ p.pu[LUMA_16x12].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_16x12_neon);
|
||||
+ p.pu[LUMA_16x16].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_16x16_neon);
|
||||
+ p.pu[LUMA_16x32].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_16x32_neon);
|
||||
+ p.pu[LUMA_16x64].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_16x64_neon);
|
||||
+ p.pu[LUMA_24x32].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_24x32_neon);
|
||||
+ p.pu[LUMA_32x8].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_32x8_neon);
|
||||
+ p.pu[LUMA_32x16].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_32x16_neon);
|
||||
+ p.pu[LUMA_32x24].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_32x24_neon);
|
||||
+ p.pu[LUMA_32x32].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_32x32_neon);
|
||||
+ p.pu[LUMA_32x64].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_32x64_neon);
|
||||
+ p.pu[LUMA_48x64].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_48x64_neon);
|
||||
+ p.pu[LUMA_64x16].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_64x16_neon);
|
||||
+ p.pu[LUMA_64x32].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_64x32_neon);
|
||||
+ p.pu[LUMA_64x48].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_64x48_neon);
|
||||
+ p.pu[LUMA_64x64].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_64x64_neon);
|
||||
|
||||
// planecopy
|
||||
p.planecopy_cp = PFX(pixel_planecopy_cp_neon);
|
||||
@@ -0,0 +1,37 @@
|
||||
https://sources.debian.org/data/main/x/x265/2.9-3/debian/patches/0003-detect512-is-needed-on-all-architectures.patch
|
||||
|
||||
From: Adam Sampson <unknown@bitbucket>
|
||||
Date: Sun, 14 Oct 2018 14:04:18 +0200
|
||||
Subject: detect512 is needed on all architectures
|
||||
|
||||
---
|
||||
source/common/cpu.cpp | 9 +++++----
|
||||
1 file changed, 5 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/source/common/cpu.cpp b/source/common/cpu.cpp
|
||||
index 0681ff5..fa687da 100644
|
||||
--- a/source/common/cpu.cpp
|
||||
+++ b/source/common/cpu.cpp
|
||||
@@ -110,6 +110,11 @@ const cpu_name_t cpu_names[] =
|
||||
{ "", 0 },
|
||||
};
|
||||
|
||||
+bool detect512()
|
||||
+{
|
||||
+ return(enable512);
|
||||
+}
|
||||
+
|
||||
#if X265_ARCH_X86
|
||||
|
||||
extern "C" {
|
||||
@@ -123,10 +128,6 @@ uint64_t PFX(cpu_xgetbv)(int xcr);
|
||||
#pragma warning(disable: 4309) // truncation of constant value
|
||||
#endif
|
||||
|
||||
-bool detect512()
|
||||
-{
|
||||
- return(enable512);
|
||||
-}
|
||||
uint32_t cpu_detect(bool benableavx512 )
|
||||
{
|
||||
|
||||
@@ -131,14 +131,14 @@ data as produced by digital cameras.")
|
||||
(define-public libgphoto2
|
||||
(package
|
||||
(name "libgphoto2")
|
||||
(version "2.5.18")
|
||||
(version "2.5.19")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/gphoto/libgphoto/"
|
||||
version "/libgphoto2-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"1v57ayp17j88bj79nl7rf4iyajbxx00kgb4l5k3kbv50gjfvh5sv"))))
|
||||
"0qrcc6kajbfb237paxrl904vvwl7hd8mnqvjw00j6m5qwd93wlk2"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs `(("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
|
||||
@@ -850,16 +850,15 @@ in userspace)
|
||||
(define-public python-m2crypto
|
||||
(package
|
||||
(name "python-m2crypto")
|
||||
(version "0.29.0")
|
||||
(version "0.30.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "M2Crypto" version))
|
||||
(sha256
|
||||
(base32 "1h16gpilrnlzc0iyj1mnd1iqh8wchzjsxjqw9n344glimg2s5zm0"))))
|
||||
(base32 "1iizrpkn4c2n70nvcjqlmnk6fz3vddkrjmwavz1zlsnwv8f7bcm1"))))
|
||||
(build-system python-build-system)
|
||||
(inputs `(("openssl" ,openssl)))
|
||||
(propagated-inputs `(("python-typing" ,python-typing)))
|
||||
(home-page "https://gitlab.com/m2crypto/m2crypto")
|
||||
(synopsis "Python crypto and TLS toolkit")
|
||||
(description "@code{M2Crypto} is a complete Python wrapper for OpenSSL
|
||||
@@ -869,10 +868,15 @@ extensions to Python's httplib, urllib, and xmlrpclib; unforgeable HMAC'ing
|
||||
AuthCookies for web session management; FTP/TLS client and server; S/MIME;
|
||||
M2Crypto can also be used to provide TLS for Twisted. Smartcards supported
|
||||
through the Engine interface.")
|
||||
(properties `((python2-variant . ,(delay python2-m2crypto))))
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python2-m2crypto
|
||||
(package-with-python2 python-m2crypto))
|
||||
(let ((m2crypto (package-with-python2
|
||||
(strip-python2-variant python-m2crypto))))
|
||||
(package (inherit m2crypto)
|
||||
(propagated-inputs
|
||||
`(("python2-typing" ,python2-typing))))))
|
||||
|
||||
(define-public python-pylibscrypt
|
||||
(package
|
||||
|
||||
+75
-24
@@ -55,6 +55,7 @@
|
||||
;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
|
||||
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
|
||||
;;; Copyright © 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
;;; Copyright © 2018 Luther Thompson <lutheroto@gmail.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -148,6 +149,7 @@
|
||||
(package
|
||||
(name "python2")
|
||||
(version "2.7.14")
|
||||
(replacement python-2/fixed)
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -344,6 +346,18 @@ data types.")
|
||||
;; Current 2.x version.
|
||||
(define-public python-2 python-2.7)
|
||||
|
||||
(define python-2/fixed
|
||||
(package
|
||||
(inherit python-2)
|
||||
(source (origin
|
||||
(inherit (package-source python-2))
|
||||
(patches (append
|
||||
(origin-patches (package-source python-2))
|
||||
(search-patches "python2-CVE-2018-1060.patch"
|
||||
"python2-CVE-2018-1061.patch"
|
||||
"python2-CVE-2018-14647.patch"
|
||||
"python2-CVE-2018-1000802.patch")))))))
|
||||
|
||||
(define-public python2-called-python
|
||||
;; Both 2.x and 3.x used to be called "python". In commit
|
||||
;; a7714d42de2c3082f3609d1e63c83d703fb39cf9 (March 2018), we renamed the
|
||||
@@ -357,6 +371,7 @@ data types.")
|
||||
(package (inherit python-2)
|
||||
(name "python")
|
||||
(version "3.6.5")
|
||||
(replacement python-3/fixed)
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://www.python.org/ftp/python/"
|
||||
@@ -456,6 +471,24 @@ data types.")
|
||||
;; Current 3.x version.
|
||||
(define-public python-3 python-3.6)
|
||||
|
||||
(define python-3/fixed
|
||||
(package
|
||||
(inherit python-3)
|
||||
(source (origin
|
||||
(inherit (package-source python-3))
|
||||
(patches (append (origin-patches (package-source python-3))
|
||||
(search-patches "python-CVE-2018-14647.patch")))))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments python-3)
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(add-after 'unpack 'delete-broken-test
|
||||
(lambda _
|
||||
;; Delete test which fails on recent kernels:
|
||||
;; <https://bugs.python.org/issue34587>.
|
||||
(delete-file "Lib/test/test_socket.py")
|
||||
#t))))))))
|
||||
|
||||
;; Current major version.
|
||||
(define-public python python-3)
|
||||
|
||||
@@ -463,7 +496,7 @@ data types.")
|
||||
;; Python (Tk -> libxcb -> Python.)
|
||||
|
||||
(define-public python2-minimal
|
||||
(package (inherit python-2)
|
||||
(package/inherit python-2
|
||||
(name "python2-minimal")
|
||||
(outputs '("out"))
|
||||
|
||||
@@ -474,7 +507,7 @@ data types.")
|
||||
("zlib" ,zlib)))))
|
||||
|
||||
(define-public python-minimal
|
||||
(package (inherit python)
|
||||
(package/inherit python
|
||||
(name "python-minimal")
|
||||
(outputs '("out"))
|
||||
|
||||
@@ -486,8 +519,7 @@ data types.")
|
||||
("zlib" ,zlib)))))
|
||||
|
||||
(define-public python-debug
|
||||
(package
|
||||
(inherit python)
|
||||
(package/inherit python
|
||||
(name "python-debug")
|
||||
(outputs '("out" "debug"))
|
||||
(build-system gnu-build-system)
|
||||
@@ -506,7 +538,7 @@ for more information.")))
|
||||
(define* (wrap-python3 python
|
||||
#:optional
|
||||
(name (string-append (package-name python) "-wrapper")))
|
||||
(package (inherit python)
|
||||
(package/inherit python
|
||||
(name name)
|
||||
(source #f)
|
||||
(build-system trivial-build-system)
|
||||
@@ -5972,14 +6004,14 @@ plugins that intend to support Flake8 2.x and 3.x simultaneously.")
|
||||
(define-public python-mistune
|
||||
(package
|
||||
(name "python-mistune")
|
||||
(version "0.8.3")
|
||||
(version "0.8.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "mistune" version))
|
||||
(sha256
|
||||
(base32
|
||||
"06b662p6kf46wh2jsabaqhaq4bz1srh2zxkrnx4yg96azlxw645w"))))
|
||||
"0vkmsh0x480rni51lhyvigfdf06b9247z868pk3bal1wnnfl58sr"))))
|
||||
(build-system python-build-system)
|
||||
(native-inputs
|
||||
`(("python-nose" ,python-nose)
|
||||
@@ -5996,25 +6028,19 @@ Python.")
|
||||
(define-public python-markdown
|
||||
(package
|
||||
(name "python-markdown")
|
||||
(version "2.6.11")
|
||||
(version "3.0.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "Markdown" version))
|
||||
(sha256
|
||||
(base32
|
||||
"108g80ryzykh8bj0i7jfp71510wrcixdi771lf2asyghgyf8cmm8"))))
|
||||
"0z6v8649sr434d5r5zmrhydka7v7f9yas4bwcgkcs0650jdhybnh"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(zero? (system* "python" "run-tests.py")))))))
|
||||
(native-inputs
|
||||
`(("python-nose" ,python-nose)
|
||||
("python-pyyaml" ,python-pyyaml)))
|
||||
(home-page "https://pythonhosted.org/Markdown/")
|
||||
(home-page "https://python-markdown.github.io/")
|
||||
(synopsis "Python implementation of Markdown")
|
||||
(description
|
||||
"This package provides a Python implementation of John Gruber's
|
||||
@@ -9546,13 +9572,13 @@ docstring and colored output.")
|
||||
(define-public python-lazy-object-proxy
|
||||
(package
|
||||
(name "python-lazy-object-proxy")
|
||||
(version "1.2.2")
|
||||
(version "1.3.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "lazy-object-proxy" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0s22aqqkdscyh8sjspyyax7qa1aiz8p4midrnyf39717fhfczm6x"))))
|
||||
"0yha7q9bhw857fwaby785d63mffhngl9npwzlk9i0pwlkwvbx4gb"))))
|
||||
(build-system python-build-system)
|
||||
(home-page "https://github.com/ionelmc/python-lazy-object-proxy")
|
||||
(synopsis "Lazy object proxy for python")
|
||||
@@ -10034,13 +10060,13 @@ reasoning, wrappers for natural language processing libraries.")
|
||||
(define-public python-pymongo
|
||||
(package
|
||||
(name "python-pymongo")
|
||||
(version "3.3.0")
|
||||
(version "3.7.2")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "pymongo" version))
|
||||
(sha256
|
||||
(base32
|
||||
"07mra6w86wjqy4lx5fvimidjhhfzd562gfjn8grsnbv2q8pk0i9x"))))
|
||||
"0zis4707r9hdg5qgkhp3wss9camr9h56ixyfc8n9dxwlnnly4x4c"))))
|
||||
(build-system python-build-system)
|
||||
(propagated-inputs
|
||||
`(("python-certifi" ,python-certifi)))
|
||||
@@ -10215,14 +10241,14 @@ functionality in the command line.")
|
||||
(define-public python-glances
|
||||
(package
|
||||
(name "python-glances")
|
||||
(version "2.7.1")
|
||||
(version "3.0.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "Glances" version))
|
||||
(sha256
|
||||
(base32
|
||||
"11jbq40g8alsbirnd4kiagznqg270247i0m8qhi48ldf2i5xppxg"))))
|
||||
"09fxysfp1n16csqvzvawy74qm6a94nvwjf3vcf5gkqp4i6k4vjjy"))))
|
||||
(build-system python-build-system)
|
||||
(propagated-inputs
|
||||
`(("python-psutil" ,python-psutil)))
|
||||
@@ -11907,14 +11933,14 @@ Supported metrics are:
|
||||
(define-public python-sure
|
||||
(package
|
||||
(name "python-sure")
|
||||
(version "1.4.6")
|
||||
(version "1.4.11")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "sure" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1iyqsy2d6radi88g1qf0lziy5b39h5cpb3g5jiqyb4xi46ig3x1z"))))
|
||||
"1and0drq8w9iplsic22n2h7hkpyq03a1mbqk4sgcdqhqzdqm539w"))))
|
||||
(build-system python-build-system)
|
||||
(propagated-inputs
|
||||
`(("python-mock" ,python-mock)
|
||||
@@ -14473,3 +14499,28 @@ extend common interfaces like NumPy, Pandas, or Python iterators to
|
||||
larger-than-memory or distributed environments. These parallel collections
|
||||
run on top of the dynamic task schedulers. ")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public python-ilinkedlist
|
||||
(package
|
||||
(name "python-ilinkedlist")
|
||||
(version "0.1.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "ilinkedlist" version))
|
||||
(sha256
|
||||
(base32
|
||||
"063c2gm4jkgkv0nsg7mrc8y0w82ms98l4xchmbrvr68cscglhk69"))))
|
||||
(build-system python-build-system)
|
||||
(native-inputs `(("python-pytest" ,python-pytest)))
|
||||
(inputs `(("python" ,python)))
|
||||
(home-page "https://github.com/luther9/ilinkedlist-py")
|
||||
(synopsis "Immutable linked list library")
|
||||
(description
|
||||
"This is a implementation of immutable linked lists for Python. It
|
||||
contains @code{nil} (the empty linked list) and a @code{Pair} class for nodes.
|
||||
Since a linked list is treated as immutable, it is hashable, and its length
|
||||
can be retrieved in constant time. Some of the terminology is inspired by
|
||||
LISP. It is possible to create an improper list by creating a @code{Pair}
|
||||
with a non-list @code{cdr}.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
(define-public re2
|
||||
(package
|
||||
(name "re2")
|
||||
(version "2018-09-01")
|
||||
(version "2018-10-01")
|
||||
(home-page "https://github.com/google/re2")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
@@ -37,7 +37,7 @@
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0hygr88hvy7if1i45m5r6x60zf73439j2fwzw7wwcw9gb01v690l"))))
|
||||
"10fsxsj3yip34hp2zl5rw8h2x2lgnp83fwrh7m0qfd9m99qrf4x3"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:modules ((guix build gnu-build-system)
|
||||
|
||||
@@ -150,14 +150,14 @@ anywhere.")
|
||||
(define-public samba
|
||||
(package
|
||||
(name "samba")
|
||||
(version "4.8.5")
|
||||
(version "4.8.6")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://download.samba.org/pub/samba/stable/"
|
||||
"samba-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0mailvhjsma19k6b6zjl02z9n2hbbyfybvicjfw2hh9d4sqyd3p5"))))
|
||||
"15hawqdm37l6lp9k14c634315p77cllsx89bvbw9h38fg1hj3fbk"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
|
||||
@@ -160,7 +160,7 @@ the low-level development kit for the Yubico YubiKey authentication device.")
|
||||
(define-public pcsc-lite
|
||||
(package
|
||||
(name "pcsc-lite")
|
||||
(version "1.8.23")
|
||||
(version "1.8.24")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
@@ -168,7 +168,7 @@ the low-level development kit for the Yubico YubiKey authentication device.")
|
||||
name "-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"1jc9ws5ra6v3plwraqixin0w0wfxj64drahrbkyrrwzghqjjc9ss"))))
|
||||
"0s3mv6csbi9303vvis0hilm71xsmi6cqkbh2kiipdisydbx6865q"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags '("--enable-usbdropdir=/var/lib/pcsc/drivers"
|
||||
|
||||
@@ -569,19 +569,20 @@ The OpenBSD Korn Shell is a cleaned up and enhanced ksh.")
|
||||
(define-public loksh
|
||||
(package
|
||||
(name "loksh")
|
||||
(version "6.3")
|
||||
(version "6.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/dimkr/loksh/archive/"
|
||||
version ".tar.gz"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/dimkr/loksh.git")
|
||||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0i1b60g1p19s5cnzz0nmjzjnxywm9szzyp1rcwfcx3gmzvrwr2sc"))))
|
||||
(base32 "1d92cf5iadj1vwg0wwksaq1691zaxjrd2y4qygj4sdd25zsahj6p"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("libbsd" ,libbsd)))
|
||||
`(("libbsd" ,libbsd)
|
||||
("ncurses" ,ncurses)))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(arguments
|
||||
|
||||
+37
-35
@@ -65,40 +65,42 @@
|
||||
#:use-module (srfi srfi-1))
|
||||
|
||||
(define-public libssh
|
||||
;; This commit from the 'v0-7' branch contains 7 memory-management-related
|
||||
;; bug fixes that we'd rather have.
|
||||
(let ((commit "239d0f75b5f909174c2ef7fb08d23bcfa6b20ba0")
|
||||
(revision "0"))
|
||||
(package
|
||||
(name "libssh")
|
||||
(version (git-version "0.7.5" revision commit))
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://git.libssh.org/projects/libssh.git")
|
||||
(commit commit)))
|
||||
(sha256
|
||||
(base32
|
||||
"01w72w1jsgs9ilj3n1gp6qkmdxr9n74i5h2nipi3x1vzm7bv8na1"))
|
||||
(patches (search-patches "libssh-hostname-parser-bug.patch"))
|
||||
(file-name (git-file-name name version))))
|
||||
(build-system cmake-build-system)
|
||||
(outputs '("out" "debug"))
|
||||
(arguments
|
||||
'(#:configure-flags '("-DWITH_GCRYPT=ON")
|
||||
(package
|
||||
(name "libssh")
|
||||
(version "0.7.6")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
;; git.libssh.org does not support the fast "smart" HTTP
|
||||
;; Git protocol. The "dumb" HTTP Git protocol is extremely
|
||||
;; slow, and does not support shallow clones, so we use the
|
||||
;; plain Git protocol despite its flaws. This offers an
|
||||
;; incredible speedup and reduces the size of the the
|
||||
;; source by more than half.
|
||||
(url "git://git.libssh.org/projects/libssh.git")
|
||||
(commit (string-append "libssh-" version))))
|
||||
(patches (search-patches "libssh-hostname-parser-bug.patch"))
|
||||
(sha256
|
||||
(base32
|
||||
"0slwqa36mhyb6brdv2jvb9fxp7rvsv3ziv67kaxx615jxn52l5pa"))
|
||||
(file-name (git-file-name name version))))
|
||||
(build-system cmake-build-system)
|
||||
(outputs '("out" "debug"))
|
||||
(arguments
|
||||
'(#:configure-flags '("-DWITH_GCRYPT=ON")
|
||||
|
||||
;; TODO: Add 'CMockery' and '-DWITH_TESTING=ON' for the test suite.
|
||||
#:tests? #f))
|
||||
(inputs `(("zlib" ,zlib)
|
||||
("libgcrypt" ,libgcrypt)))
|
||||
(synopsis "SSH client library")
|
||||
(description
|
||||
"libssh is a C library implementing the SSHv2 and SSHv1 protocol for
|
||||
client and server implementations. With libssh, you can remotely execute
|
||||
programs, transfer files, and use a secure and transparent tunnel for your
|
||||
remote applications.")
|
||||
(home-page "https://www.libssh.org")
|
||||
(license license:lgpl2.1+))))
|
||||
;; TODO: Add 'CMockery' and '-DWITH_TESTING=ON' for the test suite.
|
||||
#:tests? #f))
|
||||
(inputs `(("zlib" ,zlib)
|
||||
("libgcrypt" ,libgcrypt)))
|
||||
(synopsis "SSH client library")
|
||||
(description
|
||||
"libssh is a C library implementing the SSHv2 and SSHv1 protocol for client
|
||||
and server implementations. With libssh, you can remotely execute programs,
|
||||
transfer files, and use a secure and transparent tunnel for your remote
|
||||
applications.")
|
||||
(home-page "https://www.libssh.org")
|
||||
(license license:lgpl2.1+)))
|
||||
|
||||
(define-public libssh2
|
||||
(package
|
||||
@@ -151,14 +153,14 @@ a server that supports the SSH-2 protocol.")
|
||||
(define-public openssh
|
||||
(package
|
||||
(name "openssh")
|
||||
(version "7.8p1")
|
||||
(version "7.9p1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://openbsd/OpenSSH/portable/"
|
||||
name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1jj4f586r9lhakp2w0zv7j616d6x62m15q8l4nxq7haja6qlnj0s"))))
|
||||
"1b8sy6v0b8v4ggmknwcqx3y1rjcpsll0f1f8f4vyv11x4ni3njvb"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs `(("groff" ,groff)))
|
||||
(inputs `(("openssl" ,openssl)
|
||||
|
||||
@@ -298,100 +298,6 @@ structs in the Go programming language.")
|
||||
(home-page "https://github.com/gobwas/glob")
|
||||
(license expat))))
|
||||
|
||||
(define* (go-github-com-gogo-protobuf-union
|
||||
#:optional (packages (list go-github-com-gogo-protobuf
|
||||
go-github-com-gogo-protobuf-protoc-gen-gogo)))
|
||||
(package
|
||||
(name "go-github-com-gogo-protobuf-union")
|
||||
(version (package-version go-github-com-gogo-protobuf))
|
||||
(source #f)
|
||||
(build-system trivial-build-system)
|
||||
(arguments
|
||||
'(#:modules ((guix build union))
|
||||
#:builder (begin
|
||||
(use-modules (ice-9 match)
|
||||
(guix build union))
|
||||
(match %build-inputs
|
||||
(((names . directories) ...)
|
||||
(union-build (assoc-ref %outputs "out")
|
||||
directories)
|
||||
#t)))))
|
||||
(inputs (map (lambda (package)
|
||||
(list (package-name package) package))
|
||||
packages))
|
||||
(synopsis "Union of Go protobuf libraries")
|
||||
(description "This is a union of Go protobuf libraries")
|
||||
(home-page (package-home-page go-github-com-gogo-protobuf))
|
||||
(license (package-license go-github-com-gogo-protobuf))))
|
||||
|
||||
(define-public go-github-com-gogo-protobuf
|
||||
(let ((commit "160de10b2537169b5ae3e7e221d28269ef40d311")
|
||||
(revision "2"))
|
||||
(package
|
||||
(name "go-github-com-gogo-protobuf")
|
||||
(version (git-version "0.5" revision commit))
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/gogo/protobuf")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0hxq28sgxym04rv0q40gpwkh4ni359q21hq3g78wwxwx4qfd4zwm"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
`(#:import-path "github.com/gogo/protobuf/proto"
|
||||
#:unpack-path "github.com/gogo/protobuf"))
|
||||
(propagated-inputs
|
||||
`(("go-github-com-gogo-protobuf-protoc-gen-gogo"
|
||||
,go-github-com-gogo-protobuf-protoc-gen-gogo)))
|
||||
(synopsis "Protocol Buffers for Go with Gadgets")
|
||||
(description "Gogoprotobuf is a fork of golang/protobuf with extra code
|
||||
generation features. This code generation is used to achieve:
|
||||
@itemize
|
||||
@item fast marshalling and unmarshalling
|
||||
@item more canonical Go structures
|
||||
@item goprotobuf compatibility
|
||||
@item less typing by optionally generating extra helper code
|
||||
@item peace of mind by optionally generating test and benchmark code
|
||||
@item other serialization formats
|
||||
@end itemize")
|
||||
(home-page "https://github.com/gogo/protobuf")
|
||||
(license bsd-3))))
|
||||
|
||||
(define-public go-github-com-gogo-protobuf-protoc-gen-gogo
|
||||
(let ((commit "efccd33a0c20aa078705571d5ddbfa14c8395a63")
|
||||
(revision "0"))
|
||||
(package
|
||||
(name "go-github-com-gogo-protobuf-protoc-gen-gogo")
|
||||
(version (git-version "0.2" revision commit))
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/gogo/protobuf")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"09kfa3aqmhh7p0rc6wd4fw5cjccidsk9vgcy13albv0g8vnbmmgw"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
`(#:import-path "github.com/gogo/protobuf/protoc-gen-gogo"
|
||||
#:unpack-path "github.com/gogo/protobuf"))
|
||||
(synopsis "Protocol Buffers for Go with Gadgets")
|
||||
(description "Gogoprotobuf is a fork of golang/protobuf with extra code
|
||||
generation features. This code generation is used to achieve:
|
||||
@itemize
|
||||
@item fast marshalling and unmarshalling
|
||||
@item more canonical Go structures
|
||||
@item goprotobuf compatibility
|
||||
@item less typing by optionally generating extra helper code
|
||||
@item peace of mind by optionally generating test and benchmark code
|
||||
@item other serialization formats
|
||||
@end itemize")
|
||||
(home-page "https://github.com/gogo/protobuf")
|
||||
(license bsd-3))))
|
||||
|
||||
(define-public go-github-com-golang-groupcache-lru
|
||||
(let ((commit "84a468cf14b4376def5d68c722b139b881c450a4")
|
||||
@@ -822,44 +728,6 @@ generation.")
|
||||
(home-page "https://github.com/vitrun/qart")
|
||||
(license bsd-3))))
|
||||
|
||||
;; Go searches for library modules by looking in the GOPATH environment
|
||||
;; variable. This variable is a list of paths. However, Go does not
|
||||
;; keep searching on GOPATH if it tries and fails to import a module.
|
||||
;; So, we use a union for packages sharing a namespace.
|
||||
(define* (go-golang-org-x-crypto-union #:optional
|
||||
(packages (list go-golang-org-x-crypto-blowfish
|
||||
go-golang-org-x-crypto-bcrypt
|
||||
go-golang-org-x-crypto-tea
|
||||
go-golang-org-x-crypto-xtea
|
||||
go-golang-org-x-crypto-pbkdf2
|
||||
go-golang-org-x-crypto-twofish
|
||||
go-golang-org-x-crypto-cast5
|
||||
go-golang-org-x-crypto-salsa20)))
|
||||
(package
|
||||
(name "go-golang-org-x-crypto")
|
||||
(version (package-version go-golang-org-x-crypto-bcrypt))
|
||||
(source #f)
|
||||
(build-system trivial-build-system)
|
||||
(arguments
|
||||
'(#:modules ((guix build union))
|
||||
#:builder (begin
|
||||
(use-modules (ice-9 match)
|
||||
(guix build union))
|
||||
(match %build-inputs
|
||||
(((names . directories) ...)
|
||||
(union-build (assoc-ref %outputs "out")
|
||||
directories)
|
||||
#t)))))
|
||||
(inputs (map (lambda (package)
|
||||
(list (package-name package) package))
|
||||
packages))
|
||||
(synopsis "Union of the Go x crypto libraries")
|
||||
(description "A union of the Golang cryptographic libraries. A
|
||||
union is required because `go build` assumes that all of the headers and
|
||||
libraries are in the same directory.")
|
||||
(home-page (package-home-page go-golang-org-x-crypto-bcrypt))
|
||||
(license (package-license go-golang-org-x-crypto-bcrypt))))
|
||||
|
||||
(define* (go-golang-org-x-net-union #:optional
|
||||
(packages (list go-golang-org-x-net-ipv4
|
||||
go-golang-org-x-net-bpf
|
||||
|
||||
+435
-1
@@ -6,7 +6,7 @@
|
||||
;;; Copyright © 2016, 2018 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2016 Federico Beffa <beffa@fbengineering.ch>
|
||||
;;; Copyright © 2016 Thomas Danckaert <post@thomasdanckaert.be>
|
||||
;;; Copyright © 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2016, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
|
||||
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
|
||||
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
@@ -2274,6 +2274,44 @@ space-stripped macros.")
|
||||
to something that's not a float.")
|
||||
(license license:lppl)))
|
||||
|
||||
(define-public texlive-latex-doi
|
||||
(package
|
||||
(name "texlive-latex-doi")
|
||||
(version (number->string %texlive-revision))
|
||||
(source (origin
|
||||
(method svn-fetch)
|
||||
(uri (svn-reference
|
||||
(url (string-append "svn://www.tug.org/texlive/tags/"
|
||||
%texlive-tag "/Master/texmf-dist/"
|
||||
"/tex/latex/doi"))
|
||||
(revision %texlive-revision)))
|
||||
(file-name (string-append name "-" version "-checkout"))
|
||||
(sha256
|
||||
(base32
|
||||
"0378rdmrgr2lzbfi4qqy4dfpj5im20diyd8z8b9m4mlg05r7wgnb"))))
|
||||
(build-system trivial-build-system)
|
||||
(arguments
|
||||
`(#:modules ((guix build utils))
|
||||
#:builder
|
||||
(begin
|
||||
(use-modules (guix build utils))
|
||||
(let ((target (string-append (assoc-ref %outputs "out")
|
||||
"/share/texmf-dist/tex/latex/doi")))
|
||||
(mkdir-p target)
|
||||
(copy-recursively (assoc-ref %build-inputs "source") target)
|
||||
#t))))
|
||||
(home-page "https://www.ctan.org/pkg/doi")
|
||||
(synopsis "Create correct hyperlinks for DOI numbers")
|
||||
(description
|
||||
"You can hyperlink DOI numbers to doi.org. However, some publishers have
|
||||
elected to use nasty characters in their DOI numbering scheme (@code{<},
|
||||
@code{>}, @code{_} and @code{;} have all been spotted). This will either
|
||||
upset LaTeX, or your PDF reader. This package contains a single user-level
|
||||
command @code{\\doi{}}, which takes a DOI number, and creates a correct
|
||||
hyperlink to the target of the DOI.")
|
||||
;; Any version of the LPPL.
|
||||
(license license:lppl1.3+)))
|
||||
|
||||
(define-public texlive-latex-etoolbox
|
||||
(package
|
||||
(name "texlive-latex-etoolbox")
|
||||
@@ -4492,3 +4530,399 @@ including:
|
||||
|
||||
It also ensures compatibility with the @code{media9} and @code{animate} packages.")
|
||||
(license license:lppl)))
|
||||
|
||||
(define-public texlive-latex-ms
|
||||
(package
|
||||
(name "texlive-latex-ms")
|
||||
(version (number->string %texlive-revision))
|
||||
(source (origin
|
||||
(method svn-fetch)
|
||||
(uri (texlive-ref "latex" "ms"))
|
||||
(file-name (string-append name "-" version "-checkout"))
|
||||
(sha256
|
||||
(base32
|
||||
"0m4wx3yjb5al1qsv995z8fii8xxy96mcfihbnlx43lpgayiwz35s"))))
|
||||
(build-system texlive-build-system)
|
||||
(arguments
|
||||
'(#:tex-directory "latex/ms"
|
||||
#:tex-format "latex"))
|
||||
(home-page "https://ctan.org/pkg/ms")
|
||||
(synopsis "Various LATEX packages by Martin Schröder")
|
||||
(description
|
||||
"A bundle of LATEX packages by Martin Schröder; the collection comprises:
|
||||
|
||||
@itemize
|
||||
@item @command{count1to}, make use of fixed TEX counters;
|
||||
@item @command{everysel}, set commands to execute every time a font is selected;
|
||||
@item @command{everyshi}, set commands to execute whenever a page is shipped out;
|
||||
@item @command{multitoc}, typeset the table of contents in multiple columns;
|
||||
@item @command{prelim2e}, mark typeset pages as preliminary; and
|
||||
@item @command{ragged2e}, typeset ragged text and allow hyphenation.
|
||||
@end itemize\n")
|
||||
(license license:lppl1.3c+)))
|
||||
|
||||
(define-public texlive-latex-needspace
|
||||
(package
|
||||
(name "texlive-latex-needspace")
|
||||
(version (number->string %texlive-revision))
|
||||
(source (origin
|
||||
(method svn-fetch)
|
||||
(uri (texlive-ref "latex" "needspace"))
|
||||
(file-name (string-append name "-" version "-checkout"))
|
||||
(sha256
|
||||
(base32
|
||||
"0kw80f5jh4gdpa2ka815abza3gr5z8b929w0745vrlc59pl0017y"))))
|
||||
(build-system texlive-build-system)
|
||||
(arguments
|
||||
'(#:tex-directory "latex/needspace"
|
||||
#:tex-format "latex"))
|
||||
(inputs
|
||||
`(("texlive-latex-filecontents" ,texlive-latex-filecontents)))
|
||||
(home-page "https://www.ctan.org/pkg/needspace")
|
||||
(synopsis "Insert pagebreak if not enough space")
|
||||
(description
|
||||
"Provides commands to disable pagebreaking within a given vertical
|
||||
space. If there is not enough space between the command and the bottom of the
|
||||
page, a new page will be started.")
|
||||
(license license:lppl)))
|
||||
|
||||
(define-public texlive-latex-eukdate
|
||||
(package
|
||||
(name "texlive-latex-eukdate")
|
||||
(version (number->string %texlive-revision))
|
||||
(source
|
||||
(origin
|
||||
(method svn-fetch)
|
||||
(uri (svn-reference
|
||||
(url (string-append "svn://www.tug.org/texlive/tags/"
|
||||
%texlive-tag "/Master/texmf-dist/"
|
||||
"/tex/latex/eukdate"))
|
||||
(revision %texlive-revision)))
|
||||
(file-name (string-append name "-" version "-checkout"))
|
||||
(sha256
|
||||
(base32
|
||||
"18xan116l8w47v560bkw6nbhkrml7g04xrlzk3jrpc7qsyf3n5fz"))))
|
||||
(build-system trivial-build-system)
|
||||
(arguments
|
||||
`(#:modules ((guix build utils))
|
||||
#:builder
|
||||
(begin
|
||||
(use-modules (guix build utils))
|
||||
(let ((target (string-append (assoc-ref %outputs "out")
|
||||
"/share/texmf-dist/tex/latex/eukdate")))
|
||||
(mkdir-p target)
|
||||
(copy-recursively (assoc-ref %build-inputs "source") target)
|
||||
#t))))
|
||||
(home-page "https://www.ctan.org/pkg/eukdate")
|
||||
(synopsis "UK format dates, with weekday")
|
||||
(description
|
||||
"The package is used to change the format of @code{\\today}’s date,
|
||||
including the weekday, e.g., \"Saturday, 26 June 2008\", the 'UK format', which
|
||||
is preferred in many parts of the world, as distinct from that which is used in
|
||||
@code{\\maketitle} of the article class, \"June 26, 2008\", the 'US format'.")
|
||||
(license license:lppl)))
|
||||
|
||||
(define-public texlive-generic-ulem
|
||||
(package
|
||||
(name "texlive-generic-ulem")
|
||||
(version (number->string %texlive-revision))
|
||||
(source
|
||||
(origin
|
||||
(method svn-fetch)
|
||||
(uri (svn-reference
|
||||
(url (string-append "svn://www.tug.org/texlive/tags/"
|
||||
%texlive-tag "/Master/texmf-dist/"
|
||||
"/tex/generic/ulem"))
|
||||
(revision %texlive-revision)))
|
||||
(file-name (string-append name "-" version "-checkout"))
|
||||
(sha256
|
||||
(base32
|
||||
"1rzdniqq9zk39w8ch8ylx3ywh2mj87s4ivchrsk2b8nx06jyn797"))))
|
||||
(build-system trivial-build-system)
|
||||
(arguments
|
||||
`(#:modules ((guix build utils))
|
||||
#:builder
|
||||
(begin
|
||||
(use-modules (guix build utils))
|
||||
(let ((target (string-append (assoc-ref %outputs "out")
|
||||
"/share/texmf-dist/tex/generic/ulem")))
|
||||
(mkdir-p target)
|
||||
(copy-recursively (assoc-ref %build-inputs "source") target)
|
||||
#t))))
|
||||
(home-page "https://www.ctan.org/pkg/ulem")
|
||||
(synopsis "Underline text in TeX")
|
||||
(description
|
||||
"The package provides an @code{\\ul} (underline) command which will break
|
||||
over line ends; this technique may be used to replace @code{\\em} (both in that
|
||||
form and as the @code{\\emph} command), so as to make output look as if it comes
|
||||
from a typewriter. The package also offers double and wavy underlining, and
|
||||
striking out (line through words) and crossing out (/// over words).")
|
||||
(license license:lppl1.3c+)))
|
||||
|
||||
(define-public texlive-latex-pgf
|
||||
(package
|
||||
(name "texlive-latex-pgf")
|
||||
(version (number->string %texlive-revision))
|
||||
(source
|
||||
(origin
|
||||
(method svn-fetch)
|
||||
(uri (svn-reference
|
||||
(url (string-append "svn://www.tug.org/texlive/tags/"
|
||||
%texlive-tag "/Master/texmf-dist/"
|
||||
"/tex/latex/pgf"))
|
||||
(revision %texlive-revision)))
|
||||
(file-name (string-append name "-" version "-checkout"))
|
||||
(sha256
|
||||
(base32
|
||||
"1dq8p10pz8wn0vx412m7d7d5gj1syxly3yqdqvf7lv2xl8zndn5h"))))
|
||||
(build-system trivial-build-system)
|
||||
(native-inputs
|
||||
`(("texlive-latex-pgf-generic"
|
||||
,(origin
|
||||
(method svn-fetch)
|
||||
(uri (svn-reference
|
||||
(url (string-append "svn://www.tug.org/texlive/tags/"
|
||||
%texlive-tag "/Master/texmf-dist/"
|
||||
"/tex/generic/pgf"))
|
||||
(revision %texlive-revision)))
|
||||
(file-name (string-append "texlive-latex-pgf-generic" version "-checkout"))
|
||||
(sha256
|
||||
(base32
|
||||
"0xkxw26sjzr5npjpzpr28yygwdbhzpdd0hsk80gjpidhcxmz393i"))))))
|
||||
(arguments
|
||||
`(#:modules ((guix build utils))
|
||||
#:builder
|
||||
(begin
|
||||
(use-modules (guix build utils))
|
||||
(let ((target-generic (string-append (assoc-ref %outputs "out")
|
||||
"/share/texmf-dist/tex/generic/pgf"))
|
||||
(target-latex (string-append (assoc-ref %outputs "out")
|
||||
"/share/texmf-dist/tex/latex/pgf")))
|
||||
(mkdir-p target-generic)
|
||||
(mkdir-p target-latex)
|
||||
(copy-recursively (assoc-ref %build-inputs "texlive-latex-pgf-generic") target-generic)
|
||||
(copy-recursively (assoc-ref %build-inputs "source") target-latex)
|
||||
#t))))
|
||||
(home-page "https://www.ctan.org/pkg/tikz")
|
||||
(synopsis "Create PostScript and PDF graphics in TeX")
|
||||
(description
|
||||
"PGF is a macro package for creating graphics. It is platform- and
|
||||
format-independent and works together with the most important TeX backend
|
||||
drivers, including pdfTeX and dvips. It comes with a user-friendly syntax layer
|
||||
called TikZ.
|
||||
|
||||
Its usage is similar to pstricks and the standard picture environment. PGF
|
||||
works with plain (pdf-)TeX, (pdf-)LaTeX, and ConTeXt. Unlike pstricks, it can
|
||||
produce either PostScript or PDF output.")
|
||||
(license license:lppl1.3c+)))
|
||||
|
||||
(define-public texlive-latex-koma-script
|
||||
(package
|
||||
(name "texlive-latex-koma-script")
|
||||
(version (number->string %texlive-revision))
|
||||
(source (origin
|
||||
(method svn-fetch)
|
||||
(uri (svn-reference
|
||||
(url (string-append "svn://www.tug.org/texlive/tags/"
|
||||
%texlive-tag "/Master/texmf-dist/"
|
||||
"/tex/latex/koma-script"))
|
||||
(revision %texlive-revision)))
|
||||
(file-name (string-append name "-" version "-checkout"))
|
||||
(sha256
|
||||
(base32
|
||||
"1g8qg796hc6s092islnybaxs115ldsqwp2vxkk3gpy6vh7wc9r50"))))
|
||||
(build-system trivial-build-system)
|
||||
(arguments
|
||||
`(#:modules ((guix build utils)
|
||||
(ice-9 match))
|
||||
#:builder
|
||||
(begin
|
||||
(use-modules (guix build utils)
|
||||
(ice-9 match))
|
||||
(let ((root (string-append (assoc-ref %outputs "out")
|
||||
"/share/texmf-dist/"))
|
||||
(pkgs '(("source" . "tex/latex/koma-script"))))
|
||||
(for-each (match-lambda
|
||||
((pkg . dir)
|
||||
(let ((target (string-append root dir)))
|
||||
(mkdir-p target)
|
||||
(copy-recursively (assoc-ref %build-inputs pkg)
|
||||
target))))
|
||||
pkgs)
|
||||
#t))))
|
||||
(home-page "https://www.ctan.org/pkg/koma-script")
|
||||
(synopsis "Bundle of versatile classes and packages")
|
||||
(description
|
||||
"The KOMA-Script bundle provides replacements for the article, report, and
|
||||
book classes with emphasis on typography and versatility. There is also a
|
||||
letter class.
|
||||
|
||||
The bundle also offers:
|
||||
|
||||
@itemize
|
||||
@item a package for calculating type areas in the way laid down by the
|
||||
typographer Jan Tschichold,
|
||||
@item packages for easily changing and defining page styles,
|
||||
@item a package scrdate for getting not only the current date but also the name
|
||||
of the day, and
|
||||
@item a package scrtime for getting the current time.
|
||||
@end itemize
|
||||
|
||||
All these packages may be used not only with KOMA-Script classes but also with
|
||||
the standard classes.
|
||||
|
||||
Since every package has its own version number, the version number quoted only
|
||||
refers to the version of scrbook, scrreprt, scrartcl, scrlttr2 and
|
||||
typearea (which are the main parts of the bundle).")
|
||||
(license license:lppl1.3+)))
|
||||
|
||||
(define-public texlive-generic-listofitems
|
||||
(package
|
||||
(name "texlive-generic-listofitems")
|
||||
(version (number->string %texlive-revision))
|
||||
(source (origin
|
||||
(method svn-fetch)
|
||||
(uri (svn-reference
|
||||
(url (string-append "svn://www.tug.org/texlive/tags/"
|
||||
%texlive-tag "/Master/texmf-dist/"
|
||||
"/tex/generic/listofitems"))
|
||||
(revision %texlive-revision)))
|
||||
(file-name (string-append name "-" version "-checkout"))
|
||||
(sha256
|
||||
(base32
|
||||
"1k50z6ixgwwzy84mi0dr5vcjah5p7wvgq66y45bilm91a4m8sgla"))))
|
||||
(build-system trivial-build-system)
|
||||
(arguments
|
||||
`(#:modules ((guix build utils))
|
||||
#:builder
|
||||
(begin
|
||||
(use-modules (guix build utils))
|
||||
(let ((target (string-append (assoc-ref %outputs "out")
|
||||
"/share/texmf-dist/tex/generic/listofitems")))
|
||||
(mkdir-p target)
|
||||
(copy-recursively (assoc-ref %build-inputs "source") target)
|
||||
#t))))
|
||||
(home-page "https://www.ctan.org/pkg/listofitems")
|
||||
(synopsis "Grab items in lists using user-specified seperation character")
|
||||
(description
|
||||
"This package allows one to capture all the items of a list, for which
|
||||
the parsing character has been selected by the user, and to access any of
|
||||
these items with a simple syntax.")
|
||||
(license license:lppl1.3c+)))
|
||||
|
||||
(define-public texlive-latex-readarray
|
||||
(package
|
||||
(name "texlive-latex-readarray")
|
||||
(version (number->string %texlive-revision))
|
||||
(source (origin
|
||||
(method svn-fetch)
|
||||
(uri (svn-reference
|
||||
(url (string-append "svn://www.tug.org/texlive/tags/"
|
||||
%texlive-tag "/Master/texmf-dist/"
|
||||
"/tex/latex/readarray"))
|
||||
(revision %texlive-revision)))
|
||||
(file-name (string-append name "-" version "-checkout"))
|
||||
(sha256
|
||||
(base32
|
||||
"0c53k180ivn1n7fz3ngvd2w1i5dw3kxml0n64vhki88xsylz7lxp"))))
|
||||
(build-system trivial-build-system)
|
||||
(arguments
|
||||
`(#:modules ((guix build utils))
|
||||
#:builder
|
||||
(begin
|
||||
(use-modules (guix build utils))
|
||||
(let ((target (string-append (assoc-ref %outputs "out")
|
||||
"/share/texmf-dist/tex/latex/readarray")))
|
||||
(mkdir-p target)
|
||||
(copy-recursively (assoc-ref %build-inputs "source") target)
|
||||
#t))))
|
||||
(propagated-inputs
|
||||
`(("texlive-generic-listofitems" ,texlive-generic-listofitems)))
|
||||
(home-page "https://www.ctan.org/pkg/readarray")
|
||||
(synopsis "Read, store and recall array-formatted data")
|
||||
(description
|
||||
"This package allows the user to input formatted data into elements of a
|
||||
2-D or 3-D array and to recall that data at will by individual cell number.
|
||||
The data can be but need not be numerical in nature. It can be, for example,
|
||||
formatted text.")
|
||||
(license license:lppl1.3)))
|
||||
|
||||
(define-public texlive-latex-verbatimbox
|
||||
(package
|
||||
(name "texlive-latex-verbatimbox")
|
||||
(version (number->string %texlive-revision))
|
||||
(source (origin
|
||||
(method svn-fetch)
|
||||
(uri (svn-reference
|
||||
(url (string-append "svn://www.tug.org/texlive/tags/"
|
||||
%texlive-tag "/Master/texmf-dist/"
|
||||
"/tex/latex/verbatimbox"))
|
||||
(revision %texlive-revision)))
|
||||
(file-name (string-append name "-" version "-checkout"))
|
||||
(sha256
|
||||
(base32
|
||||
"0qh1cgvfs463zsi2pjg490gj0mkjfdpfc381j10cbb5la304psna"))))
|
||||
(build-system trivial-build-system)
|
||||
(arguments
|
||||
`(#:modules ((guix build utils))
|
||||
#:builder
|
||||
(begin
|
||||
(use-modules (guix build utils))
|
||||
(let ((target (string-append (assoc-ref %outputs "out")
|
||||
"/share/texmf-dist/tex/latex/verbatimbox")))
|
||||
(mkdir-p target)
|
||||
(copy-recursively (assoc-ref %build-inputs "source") target)
|
||||
#t))))
|
||||
(propagated-inputs
|
||||
`(("texlive-latex-readarray" ,texlive-latex-readarray)))
|
||||
(home-page "https://www.ctan.org/pkg/verbatimbox")
|
||||
(synopsis "Deposit verbatim text in a box")
|
||||
(description
|
||||
"The package provides a @code{verbbox} environment to place its contents
|
||||
into a globally available box, or into a box specified by the user. The
|
||||
global box may then be used in a variety of situations (for example, providing
|
||||
a replica of the @code{boxedverbatim} environment itself). A valuable use is
|
||||
in places where the standard @code{verbatim} environment (which is based on a
|
||||
@code{trivlist}) may not appear.")
|
||||
(license license:lppl1.3+)))
|
||||
|
||||
(define-public texlive-latex-examplep
|
||||
(package
|
||||
(name "texlive-latex-examplep")
|
||||
(version (number->string %texlive-revision))
|
||||
(source (origin
|
||||
(method svn-fetch)
|
||||
(uri (svn-reference
|
||||
(url (string-append "svn://www.tug.org/texlive/tags/"
|
||||
%texlive-tag "/Master/texmf-dist/"
|
||||
"/tex/latex/examplep"))
|
||||
(revision %texlive-revision)))
|
||||
(file-name (string-append name "-" version "-checkout"))
|
||||
(sha256
|
||||
(base32
|
||||
"0fsvvmz68ij0zwfzrny6x13d92grxr4ap59lxgah4smbkccd6s27"))))
|
||||
(build-system trivial-build-system)
|
||||
(arguments
|
||||
`(#:modules ((guix build utils))
|
||||
#:builder
|
||||
(begin
|
||||
(use-modules (guix build utils))
|
||||
(let ((target (string-append (assoc-ref %outputs "out")
|
||||
"/share/texmf-dist/tex/latex/examplep")))
|
||||
(mkdir-p target)
|
||||
(copy-recursively (assoc-ref %build-inputs "source") target)
|
||||
#t))))
|
||||
(home-page "https://www.ctan.org/pkg/examplep")
|
||||
(synopsis "Verbatim phrases and listings in LaTeX")
|
||||
(description
|
||||
"Examplep provides sophisticated features for typesetting verbatim source
|
||||
code listings, including the display of the source code and its compiled LaTeX
|
||||
or METAPOST output side-by-side, with automatic width detection and enabled
|
||||
page breaks (in the source), without the need for specifying the source twice.
|
||||
Special care is taken that section, page and footnote numbers do not interfere
|
||||
with the main document. For typesetting short verbatim phrases, a replacement
|
||||
for the @code{\\verb} command is also provided in the package, which can be
|
||||
used inside tables and moving arguments such as footnotes and section
|
||||
titles.")
|
||||
;; No version of the GPL is specified.
|
||||
(license license:gpl3+)))
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
(define-public tmux
|
||||
(package
|
||||
(name "tmux")
|
||||
(version "2.7")
|
||||
(version "2.8")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
@@ -42,7 +42,7 @@
|
||||
version "/tmux-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0lnlhnafvi5700afr69g6gr62pblnd440jj0hxdbrxhk0c87vvcx"))))
|
||||
"1fm22wva2znkcs5jczrnlxrpzsk2jlwdwy4dhzzyrbsgccsz6svz"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("libevent" ,libevent)
|
||||
|
||||
@@ -427,7 +427,7 @@ everything from small to very large projects with speed and efficiency.")
|
||||
(define-public libgit2
|
||||
(package
|
||||
(name "libgit2")
|
||||
(version "0.26.6")
|
||||
(version "0.26.7")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/libgit2/libgit2/"
|
||||
@@ -435,7 +435,7 @@ everything from small to very large projects with speed and efficiency.")
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0qjn1v5q282v8jih8rqjdqxr5v4n4manr0c8i3nnrf6sxd3xssbn"))
|
||||
"1vy4dnbvhcq3pw8n8zz6clnsv2xnkrichl8k96w3lb6yyk0lln35"))
|
||||
(patches (search-patches "libgit2-mtime-0.patch"))
|
||||
|
||||
;; Remove bundled software.
|
||||
|
||||
+36
-45
@@ -401,7 +401,7 @@ and creating Matroska files from other media files (@code{mkvmerge}).")
|
||||
(sha256
|
||||
(base32
|
||||
"090hp4216isis8q5gb7bwzia8rfyzni54z21jnwm97x3hiy6ibpb"))
|
||||
(patches (search-patches "x265-arm-asm-primitives.patch"))
|
||||
(patches (search-patches "x265-detect512-all-arches.patch"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet '(begin
|
||||
(delete-file-recursively "source/compat/getopt")
|
||||
@@ -409,12 +409,8 @@ and creating Matroska files from other media files (@code{mkvmerge}).")
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; tests are skipped if cpu-optimized code isn't built
|
||||
;; Currently the source code doesn't check for aarch64.
|
||||
,@(if (any (cute string-prefix? <> (or (%current-system)
|
||||
(%current-target-system)))
|
||||
'("armhf" "aarch64"))
|
||||
'(#:configure-flags '("-DENABLE_PIC=TRUE"))
|
||||
'())
|
||||
;; Ensure position independent code for everyone.
|
||||
#:configure-flags '("-DENABLE_PIC=TRUE")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'prepare-build
|
||||
@@ -1272,7 +1268,7 @@ access to mpv's powerful playback capabilities.")
|
||||
(define-public youtube-dl
|
||||
(package
|
||||
(name "youtube-dl")
|
||||
(version "2018.09.18")
|
||||
(version "2018.10.05")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://yt-dl.org/downloads/"
|
||||
@@ -1280,7 +1276,7 @@ access to mpv's powerful playback capabilities.")
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0mlsdmddmyy3xaqy366k48xds14g17l81al3kglndjkbrrji63sb"))))
|
||||
"1iq02kwxdgh07bf0w0fvbsjbdshs4kja35gy8m70ji9cj10l1mbw"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
;; The problem here is that the directory for the man page and completion
|
||||
@@ -1864,41 +1860,36 @@ and custom quantization matrices.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public streamlink
|
||||
;; Release tarball doesn't contain ‘tests/resources/dash/’ directory.
|
||||
(let ((commit "2dca7930a938f60b48d8e23260963ea7c49d979f"))
|
||||
(package
|
||||
(name "streamlink")
|
||||
(version (git-version "0.13.0" "1" commit))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/streamlink/streamlink.git")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0vq19aspshim63aj8yl2p64ykrbk2mwwlawdx427b3j2djlc5qhw"))))
|
||||
(build-system python-build-system)
|
||||
(home-page "https://github.com/streamlink/streamlink")
|
||||
(native-inputs
|
||||
`(("python-freezegun" ,python-freezegun)
|
||||
("python-pytest" ,python-pytest)
|
||||
("python-mock" ,python-mock)
|
||||
("python-requests-mock" ,python-requests-mock)))
|
||||
(propagated-inputs
|
||||
`(("python-pysocks" ,python-pysocks)
|
||||
("python-websocket-client" ,python-websocket-client)
|
||||
("python-iso3166" ,python-iso3166)
|
||||
("python-iso639" ,python-iso639)
|
||||
("python-isodate", python-isodate)
|
||||
("python-pycryptodome" ,python-pycryptodome)
|
||||
("python-requests" ,python-requests)
|
||||
("python-urllib3" ,python-urllib3)))
|
||||
(synopsis "Extract streams from various services")
|
||||
(description "Streamlink is command-line utility that extracts streams
|
||||
(package
|
||||
(name "streamlink")
|
||||
(version "0.14.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "streamlink" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0l2145fd60i76afjisfxd48cwhwyir07i7s3bnimdq5db2kzkix8"))))
|
||||
(build-system python-build-system)
|
||||
(home-page "https://github.com/streamlink/streamlink")
|
||||
(native-inputs
|
||||
`(("python-freezegun" ,python-freezegun)
|
||||
("python-pytest" ,python-pytest)
|
||||
("python-mock" ,python-mock)
|
||||
("python-requests-mock" ,python-requests-mock)))
|
||||
(propagated-inputs
|
||||
`(("python-pysocks" ,python-pysocks)
|
||||
("python-websocket-client" ,python-websocket-client)
|
||||
("python-iso3166" ,python-iso3166)
|
||||
("python-iso639" ,python-iso639)
|
||||
("python-isodate", python-isodate)
|
||||
("python-pycryptodome" ,python-pycryptodome)
|
||||
("python-requests" ,python-requests)
|
||||
("python-urllib3" ,python-urllib3)))
|
||||
(synopsis "Extract streams from various services")
|
||||
(description "Streamlink is command-line utility that extracts streams
|
||||
from sites like Twitch.tv and pipes them into a video player of choice.")
|
||||
(license license:bsd-2))))
|
||||
(license license:bsd-2)))
|
||||
|
||||
(define-public livestreamer
|
||||
(deprecated-package "livestreamer" streamlink))
|
||||
@@ -2654,7 +2645,7 @@ many codecs and formats supported by libmediainfo.")
|
||||
(define-public livemedia-utils
|
||||
(package
|
||||
(name "livemedia-utils")
|
||||
(version "2017.10.28")
|
||||
(version "2018.10.17")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
@@ -2662,7 +2653,7 @@ many codecs and formats supported by libmediainfo.")
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0f5kxpayqn3yhabqrd2cqlc74i6x2xr01jfkank1lcilxnfyrsnq"))
|
||||
"1s69ipvdc6ldscp0cr1zpsll8xc3qcagr95nl84x7b1rbg4xjs3w"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet '(begin
|
||||
;; As of glibc 2.26, <xlocale.h> no longer is.
|
||||
|
||||
@@ -312,14 +312,14 @@ traversing network address translators (@dfn{NAT}s) and firewalls.")
|
||||
(define-public tinc
|
||||
(package
|
||||
(name "tinc")
|
||||
(version "1.0.33")
|
||||
(version "1.0.35")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://tinc-vpn.org/packages/"
|
||||
name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1x0hpfz13vn4pl6dcpnls6xq3rfcbdsg90awcfn53ijb8k35svvz"))))
|
||||
"0pl92sdwrkiwgll78x0ww06hfljd07mkwm62g8x17qn3gha3pj0q"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:configure-flags
|
||||
|
||||
@@ -163,7 +163,7 @@ interpretation of the specifications for these languages.")
|
||||
(define-public vulkan-headers
|
||||
(package
|
||||
(name "vulkan-headers")
|
||||
(version "1.1.82.0")
|
||||
(version "1.1.85.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -172,7 +172,7 @@ interpretation of the specifications for these languages.")
|
||||
"archive/sdk-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1rbra47f1dkw5bjzvm0k9s2f89c2x80j904ply4bxks7sl3xlwyz"))))
|
||||
"166hqqb97kjg6h9vp8yxb1cq02i1kqaxvl693482gf8v21fl7ink"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f)) ; No tests.
|
||||
@@ -195,7 +195,7 @@ interpretation of the specifications for these languages.")
|
||||
"archive/sdk-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"032vfysb8mi19c2lx08vc6k9mbzxmiy17wp7a22vpgwwv69kxkc6"))))
|
||||
"04d53ynlc0ww8r67hv4sxwg5sirjhpr1laaa9hc6j4niliw0166n"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ;FIXME: 23/39 tests fail. Try "tests/run_all_tests.sh".
|
||||
@@ -251,7 +251,7 @@ and the ICD.")
|
||||
"archive/sdk-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"175qhfg9lxxfm5zks6jxaybcxamwd9q5kvjq8ikf2dbmskgybr92"))))
|
||||
"0r26px9rh09giddajlmafv21rx1la1y3bbnjgnpai8aw98wvq9mm"))))
|
||||
(build-system cmake-build-system)
|
||||
(inputs
|
||||
`(("glslang" ,glslang)
|
||||
|
||||
@@ -225,7 +225,7 @@ integrate Windows applications into your desktop.")
|
||||
(define-public wine-staging-patchset-data
|
||||
(package
|
||||
(name "wine-staging-patchset-data")
|
||||
(version "3.17")
|
||||
(version "3.18")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
@@ -235,7 +235,7 @@ integrate Windows applications into your desktop.")
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1ds9q90xjg59ikic98kqkhmijnqx4yplvwsm6rav4mx72yci7d4w"))))
|
||||
"18g1lmqzkc7ngppynimfvza1gkdhqlnjbvnckmaws847ns4i0kzp"))))
|
||||
(build-system trivial-build-system)
|
||||
(native-inputs
|
||||
`(("bash" ,bash)
|
||||
@@ -281,7 +281,7 @@ integrate Windows applications into your desktop.")
|
||||
(file-name (string-append name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"08fcziadw40153a9rv630m7iz6ipfzylms5y191z4sj2vvhy5vac"))))
|
||||
"0xqs76hxcym8nb95r7l72xx0msbscp7fhkr1wrv4r0923d5x9s4v"))))
|
||||
(inputs `(("autoconf" ,autoconf) ; for autoreconf
|
||||
("gtk+" ,gtk+)
|
||||
("libva" ,libva)
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
;;; Copyright © 2017 Oleg Pykhalov <go.wigust@gmail.com>
|
||||
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;; Copyright © 2018 Pierre-Antoine Rouby <contact@parouby.fr>
|
||||
;;; Copyright © 2018 Meiyo Peng <meiyo.peng@gmail.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -233,6 +234,46 @@ from scratch. i3 is primarily targeted at advanced users and
|
||||
developers.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public i3blocks
|
||||
(let ((commit "37f23805ff886639163fbef8aedba71c8071eff8")
|
||||
(revision "1"))
|
||||
(package
|
||||
(name "i3blocks")
|
||||
(version (string-append "1.4-" revision "."
|
||||
(string-take commit 7)))
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/vivien/i3blocks.git")
|
||||
(commit commit)))
|
||||
(sha256
|
||||
(base32
|
||||
"15rnrcajzyrmhlz1a21qqsjlj3dkib70806dlb386fliylc2kisb"))
|
||||
(file-name (string-append name "-" version "-checkout"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:make-flags (list "CC=gcc" (string-append "PREFIX=" %output))
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-after 'unpack 'autogen
|
||||
(lambda _ (invoke "sh" "autogen.sh")))
|
||||
(add-after 'install 'install-doc
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(man1 (string-append out "/share/man/man1")))
|
||||
(install-file "docs/i3blocks.1" man1)
|
||||
#t))))))
|
||||
(native-inputs
|
||||
`(("autoconf" ,autoconf)
|
||||
("automake" ,automake)
|
||||
("pkg-config" ,pkg-config)))
|
||||
(home-page "https://github.com/vivien/i3blocks")
|
||||
(synopsis "Minimalist scheduler for status bar scripts")
|
||||
(description "i3blocks executes your command lines and generates a
|
||||
status line from their output. The generated line is meant to be displayed by
|
||||
the i3 window manager through its i3bar component, as an alternative to
|
||||
i3status.")
|
||||
(license license:gpl3+))))
|
||||
|
||||
(define-public perl-anyevent-i3
|
||||
(package
|
||||
(name "perl-anyevent-i3")
|
||||
|
||||
+51
-25
@@ -8,6 +8,7 @@
|
||||
;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2017, 2018 Marius Bakke <mbakke@fastmail.com>
|
||||
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;; Copyright © 2018 Leo Famulari <leo@famulari.name>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -60,7 +61,7 @@
|
||||
(version "1.3.3")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://downloads.xiph.org/releases/ogg/libogg-"
|
||||
(uri (string-append "https://downloads.xiph.org/releases/ogg/libogg-"
|
||||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
@@ -83,7 +84,7 @@ periodic timestamps for seeking.")
|
||||
(version "1.3.6")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://downloads.xiph.org/releases/vorbis/"
|
||||
(uri (string-append "https://downloads.xiph.org/releases/vorbis/"
|
||||
"libvorbis-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
@@ -109,7 +110,7 @@ polyphonic) audio and music at fixed and variable bitrates from 16 to
|
||||
(version "1.1.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://downloads.xiph.org/releases/theora/"
|
||||
(uri (string-append "https://downloads.xiph.org/releases/theora/"
|
||||
"libtheora-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
@@ -134,7 +135,7 @@ compressed video format.")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://downloads.xiph.org/releases/speex/speex-"
|
||||
(uri (string-append "https://downloads.xiph.org/releases/speex/speex-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
@@ -162,7 +163,7 @@ stereo encoding, and voice activity detection.")
|
||||
(version "1.2rc3")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://downloads.xiph.org/releases/speex/"
|
||||
(uri (string-append "https://downloads.xiph.org/releases/speex/"
|
||||
"speexdsp-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
@@ -188,7 +189,7 @@ work from the @code{speex} codec.")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://downloads.xiph.org/releases/ao/libao-"
|
||||
(uri (string-append "https://downloads.xiph.org/releases/ao/libao-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
@@ -237,7 +238,7 @@ It currently supports:
|
||||
(version "1.3.2")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://downloads.xiph.org/releases/flac/flac-"
|
||||
(uri (string-append "https://downloads.xiph.org/releases/flac/flac-"
|
||||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
@@ -261,7 +262,7 @@ meaning that audio is compressed in FLAC without any loss in quality.")
|
||||
(version "0.4.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://downloads.xiph.org/releases/kate/"
|
||||
(uri (string-append "https://downloads.xiph.org/releases/kate/"
|
||||
"libkate-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
@@ -297,7 +298,7 @@ Kate stream.")
|
||||
(version "1.4.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://downloads.xiph.org/releases/vorbis/"
|
||||
(uri (string-append "https://downloads.xiph.org/releases/vorbis/"
|
||||
"vorbis-tools-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
@@ -332,14 +333,14 @@ ogginfo, to obtain information (tags, bitrate, length, etc.) about
|
||||
(define opus
|
||||
(package
|
||||
(name "opus")
|
||||
(version "1.2.1")
|
||||
(version "1.3")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://archive.mozilla.org/pub/opus/opus-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0ch7yzgg4bn1g36bpjsfrgs4n19c84d7wpdida6yzifrrhwx7byg"))))
|
||||
"0l651n19h0vhc0sn6w2c95hgqks1i8m4b3j04ncaznzjznp6jgag"))))
|
||||
(build-system gnu-build-system)
|
||||
(synopsis "Versatile audio codec")
|
||||
(description
|
||||
@@ -354,15 +355,15 @@ incorporated technology from Skype's SILK codec and Xiph.Org's CELT codec.")
|
||||
(define opus-tools
|
||||
(package
|
||||
(name "opus-tools")
|
||||
(version "0.1.10")
|
||||
(version "0.2")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"http://downloads.xiph.org/releases/opus/opus-tools-"
|
||||
"https://downloads.xiph.org/releases/opus/opus-tools-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"135jfb9ny3xvd27idsxj7j5ns90lslbyrq70cq3bfwcls4r7add2"))))
|
||||
"11pzl27s4vcz4m18ch72nivbhww2zmzn56wspb7rll1y1nq6rrdl"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
;; The package developers misuse pkg-config such that it doesn't work
|
||||
@@ -373,9 +374,12 @@ incorporated technology from Skype's SILK codec and Xiph.Org's CELT codec.")
|
||||
"/include -I"
|
||||
(assoc-ref %build-inputs "opus")
|
||||
"/include/opus"))))
|
||||
(inputs `(("libogg" ,libogg)
|
||||
("opus" ,opus)
|
||||
("flac" ,flac)))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
`(("libopusenc" ,libopusenc)
|
||||
("opusfile" ,opusfile)
|
||||
("flac" ,flac)))
|
||||
(synopsis
|
||||
"Command line utilities to encode, inspect, and decode .opus files")
|
||||
(description "Opus is a royalty-free, highly versatile audio codec.
|
||||
@@ -391,19 +395,19 @@ decoding .opus files.")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"http://downloads.xiph.org/releases/opus/opusfile-" version
|
||||
"https://downloads.xiph.org/releases/opus/opusfile-" version
|
||||
".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1gq3aszzl5glgbajw5p1f5a1kdyf23w5vjdmwwrk246syin9pkkl"))))
|
||||
(build-system gnu-build-system)
|
||||
;; Required by opusfile.pc and opusurl.pc.
|
||||
(propagated-inputs
|
||||
`(("opus" ,opus)))
|
||||
`(("libogg" ,libogg)
|
||||
("openssl" ,openssl)
|
||||
("opus" ,opus)))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
`(("libogg" ,libogg)
|
||||
("openssl" ,openssl)))
|
||||
(synopsis "Versatile audio codec")
|
||||
(description
|
||||
"The opusfile library provides seeking, decode, and playback of Opus
|
||||
@@ -412,6 +416,28 @@ windows systems.")
|
||||
(license license:bsd-3)
|
||||
(home-page "https://www.opus-codec.org")))
|
||||
|
||||
(define-public libopusenc
|
||||
(package
|
||||
(name "libopusenc")
|
||||
(version "0.2.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://archive.mozilla.org/pub/opus/"
|
||||
"libopusenc-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1ffb0vhlymlsq70pxsjj0ksz77yfm2x0a1x8q50kxmnkm1hxp642"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(propagated-inputs
|
||||
`(("opus" ,opus)))
|
||||
(synopsis "Library for encoding Opus audio files and streams ")
|
||||
(description "The libopusenc libraries provide a high-level API for
|
||||
encoding Opus files and streams.")
|
||||
(home-page "https://www.opus-codec.org/")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public icecast
|
||||
(package
|
||||
(name "icecast")
|
||||
@@ -419,7 +445,7 @@ windows systems.")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"http://downloads.xiph.org/releases/icecast/icecast-"
|
||||
"https://downloads.xiph.org/releases/icecast/icecast-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
@@ -451,7 +477,7 @@ things in between.")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"http://downloads.xiph.org/releases/libshout/"
|
||||
"https://downloads.xiph.org/releases/libshout/"
|
||||
name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
@@ -464,7 +490,7 @@ things in between.")
|
||||
`(("libtheora" ,libtheora)
|
||||
("libvorbis" ,libvorbis)
|
||||
("speex" ,speex)))
|
||||
(home-page "http://www.icecast.org/")
|
||||
(home-page "https://icecast.org/")
|
||||
(synopsis "Audio streaming library for icecast encoders")
|
||||
(description
|
||||
"Libshout is a library for communicating with and sending data to an
|
||||
|
||||
@@ -920,16 +920,16 @@ XSL-T processor. It also performs any necessary post-processing.")
|
||||
(define-public xmlsec
|
||||
(package
|
||||
(name "xmlsec")
|
||||
(version "1.2.26")
|
||||
(version "1.2.27")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://www.aleksey.com/xmlsec/download/"
|
||||
name "1-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0l1dk344rn3j2vnj13daz72xd8j1msvzhg82n2il5ji0qz4pd0ld"))))
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://www.aleksey.com/xmlsec/download/"
|
||||
"xmlsec1-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1dlf263mvxj9n4lnhhjawc2hv45agrwjf8kxk7k8h9g9v2x5dmwp"))))
|
||||
(build-system gnu-build-system)
|
||||
(propagated-inputs ; according to xmlsec1.pc
|
||||
(propagated-inputs ; according to xmlsec1.pc
|
||||
`(("libxml2" ,libxml2)
|
||||
("libxslt" ,libxslt)))
|
||||
(inputs
|
||||
|
||||
@@ -2448,7 +2448,7 @@ including most mice, keyboards, tablets and touchscreens.")
|
||||
(define-public xf86-input-libinput
|
||||
(package
|
||||
(name "xf86-input-libinput")
|
||||
(version "0.28.0")
|
||||
(version "0.28.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
@@ -2456,7 +2456,7 @@ including most mice, keyboards, tablets and touchscreens.")
|
||||
name "-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"189h8vl0005yizwrs4d0sng6j8lwkd3xi1zwqg8qavn2bw34v691"))))
|
||||
"12yr0yki94j2416bfhmkz5jpacffm27jkra89fl7h03c0y749nls"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:configure-flags
|
||||
@@ -5065,7 +5065,7 @@ over Xlib, including:
|
||||
(define-public xorg-server
|
||||
(package
|
||||
(name "xorg-server")
|
||||
(version "1.20.1")
|
||||
(version "1.20.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -5074,7 +5074,7 @@ over Xlib, including:
|
||||
name "-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"0679942x1ma2p30vlvqylpjc5v1ak1pgqysnqrj82nz7dzl9zjar"))
|
||||
"1qnf7jdygdgbgjfm5mfr691dl8d56mpssa82mvhm8bzj92yggm8f"))
|
||||
(patches
|
||||
(list
|
||||
;; See:
|
||||
@@ -5936,7 +5936,7 @@ basic eye-candy effects.")
|
||||
(define-public xpra
|
||||
(package
|
||||
(name "xpra")
|
||||
(version "2.3.4")
|
||||
(version "2.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
@@ -5944,7 +5944,7 @@ basic eye-candy effects.")
|
||||
version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0wa3kx54himy3i1b2801hlzfilh3cf4kjk40k1cjl0ds28m5hija"))))
|
||||
"0blzx231sr1ri1zwzpwzf611sq9104bv3ccvnap9pbvfrc05sfwx"))))
|
||||
(build-system python-build-system)
|
||||
(inputs `(("ffmpeg" ,ffmpeg)
|
||||
("flac" ,flac)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
|
||||
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
|
||||
@@ -996,7 +996,7 @@ as expected.")))
|
||||
(elogind-service)
|
||||
(dbus-service)
|
||||
|
||||
(ntp-service)
|
||||
(service ntp-service-type)
|
||||
|
||||
x11-socket-directory-service
|
||||
|
||||
|
||||
+73
-25
@@ -5,7 +5,7 @@
|
||||
;;; Copyright © 2016 John Darrington <jmd@gnu.org>
|
||||
;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
|
||||
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
|
||||
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
|
||||
;;; Copyright © 2017, 2018 Marius Bakke <mbakke@fastmail.com>
|
||||
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;; Copyright © 2018 Chris Marusich <cmmarusich@gmail.com>
|
||||
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
|
||||
@@ -53,6 +53,7 @@
|
||||
static-networking-service-type)
|
||||
#:export (%facebook-host-aliases
|
||||
dhcp-client-service
|
||||
dhcp-client-service-type
|
||||
|
||||
dhcpd-service-type
|
||||
dhcpd-configuration
|
||||
@@ -101,6 +102,16 @@
|
||||
modem-manager-configuration
|
||||
modem-manager-configuration?
|
||||
modem-manager-service-type
|
||||
|
||||
<wpa-supplicant-configuration>
|
||||
wpa-supplicant-configuration
|
||||
wpa-supplicant-configuration?
|
||||
wpa-supplicant-configuration-wpa-supplicant
|
||||
wpa-supplicant-configuration-pid-file
|
||||
wpa-supplicant-configuration-dbus?
|
||||
wpa-supplicant-configuration-interface
|
||||
wpa-supplicant-configuration-config-file
|
||||
wpa-supplicant-configuration-extra-options
|
||||
wpa-supplicant-service-type
|
||||
|
||||
openvswitch-service-type
|
||||
@@ -192,9 +203,10 @@ fe80::1%lo0 apps.facebook.com\n")
|
||||
"-pf" #$pid-file ifaces))))
|
||||
(and (zero? (cdr (waitpid pid)))
|
||||
(read-pid-file #$pid-file)))))
|
||||
(stop #~(make-kill-destructor))))))
|
||||
(stop #~(make-kill-destructor))))
|
||||
isc-dhcp))
|
||||
|
||||
(define* (dhcp-client-service #:key (dhcp isc-dhcp))
|
||||
(define* (dhcp-client-service #:key (dhcp isc-dhcp)) ;deprecated
|
||||
"Return a service that runs @var{dhcp}, a Dynamic Host Configuration
|
||||
Protocol (DHCP) client, on all the non-loopback network interfaces."
|
||||
(service dhcp-client-service-type dhcp))
|
||||
@@ -285,7 +297,8 @@ Protocol (DHCP) client, on all the non-loopback network interfaces."
|
||||
ntp-configuration?
|
||||
(ntp ntp-configuration-ntp
|
||||
(default ntp))
|
||||
(servers ntp-configuration-servers)
|
||||
(servers ntp-configuration-servers
|
||||
(default %ntp-servers))
|
||||
(allow-large-adjustment? ntp-allow-large-adjustment?
|
||||
(default #f)))
|
||||
|
||||
@@ -358,9 +371,10 @@ restrict -6 ::1\n"))
|
||||
(description
|
||||
"Run the @command{ntpd}, the Network Time Protocol (NTP)
|
||||
daemon of the @uref{http://www.ntp.org, Network Time Foundation}. The daemon
|
||||
will keep the system clock synchronized with that of the given servers.")))
|
||||
will keep the system clock synchronized with that of the given servers.")
|
||||
(default-value (ntp-configuration))))
|
||||
|
||||
(define* (ntp-service #:key (ntp ntp)
|
||||
(define* (ntp-service #:key (ntp ntp) ;deprecated
|
||||
(servers %ntp-servers)
|
||||
allow-large-adjustment?)
|
||||
"Return a service that runs the daemon from @var{ntp}, the
|
||||
@@ -1019,28 +1033,62 @@ networking."))))
|
||||
;;; WPA supplicant
|
||||
;;;
|
||||
|
||||
(define-record-type* <wpa-supplicant-configuration>
|
||||
wpa-supplicant-configuration make-wpa-supplicant-configuration
|
||||
wpa-supplicant-configuration?
|
||||
(wpa-supplicant wpa-supplicant-configuration-wpa-supplicant ;<package>
|
||||
(default wpa-supplicant))
|
||||
(pid-file wpa-supplicant-configuration-pid-file ;string
|
||||
(default "/var/run/wpa_supplicant.pid"))
|
||||
(dbus? wpa-supplicant-configuration-dbus? ;Boolean
|
||||
(default #t))
|
||||
(interface wpa-supplicant-configuration-interface ;#f | string
|
||||
(default #f))
|
||||
(config-file wpa-supplicant-configuration-config-file ;#f | <file-like>
|
||||
(default #f))
|
||||
(extra-options wpa-supplicant-configuration-extra-options ;list of strings
|
||||
(default '())))
|
||||
|
||||
(define (wpa-supplicant-shepherd-service wpa-supplicant)
|
||||
"Return a shepherd service for wpa_supplicant"
|
||||
(list (shepherd-service
|
||||
(documentation "Run WPA supplicant with dbus interface")
|
||||
(provision '(wpa-supplicant))
|
||||
(requirement '(user-processes dbus-system loopback))
|
||||
(start #~(make-forkexec-constructor
|
||||
(list (string-append #$wpa-supplicant
|
||||
"/sbin/wpa_supplicant")
|
||||
"-u" "-B" "-P/var/run/wpa_supplicant.pid")
|
||||
#:pid-file "/var/run/wpa_supplicant.pid"))
|
||||
(stop #~(make-kill-destructor)))))
|
||||
(define wpa-supplicant-shepherd-service
|
||||
(match-lambda
|
||||
(($ <wpa-supplicant-configuration> wpa-supplicant pid-file dbus? interface
|
||||
config-file extra-options)
|
||||
(list (shepherd-service
|
||||
(documentation "Run the WPA supplicant daemon")
|
||||
(provision '(wpa-supplicant))
|
||||
(requirement '(user-processes dbus-system loopback))
|
||||
(start #~(make-forkexec-constructor
|
||||
(list (string-append #$wpa-supplicant
|
||||
"/sbin/wpa_supplicant")
|
||||
(string-append "-P" #$pid-file)
|
||||
"-B" ;run in background
|
||||
#$@(if dbus?
|
||||
#~("-u")
|
||||
#~())
|
||||
#$@(if interface
|
||||
#~((string-append "-i" #$interface))
|
||||
#~())
|
||||
#$@(if config-file
|
||||
#~((string-append "-c" #$config-file))
|
||||
#~())
|
||||
#$@extra-options)
|
||||
#:pid-file #$pid-file))
|
||||
(stop #~(make-kill-destructor)))))))
|
||||
|
||||
(define wpa-supplicant-service-type
|
||||
(service-type (name 'wpa-supplicant)
|
||||
(extensions
|
||||
(list (service-extension shepherd-root-service-type
|
||||
wpa-supplicant-shepherd-service)
|
||||
(service-extension dbus-root-service-type list)
|
||||
(service-extension profile-service-type list)))
|
||||
(default-value wpa-supplicant)))
|
||||
(let ((config->package
|
||||
(match-lambda
|
||||
(($ <wpa-supplicant-configuration> wpa-supplicant)
|
||||
(list wpa-supplicant)))))
|
||||
(service-type (name 'wpa-supplicant)
|
||||
(extensions
|
||||
(list (service-extension shepherd-root-service-type
|
||||
wpa-supplicant-shepherd-service)
|
||||
(service-extension dbus-root-service-type config->package)
|
||||
(service-extension profile-service-type config->package)))
|
||||
(description "Run the WPA Supplicant daemon, a service that
|
||||
implements authentication, key negotiation and more for wireless networks.")
|
||||
(default-value (wpa-supplicant-configuration)))))
|
||||
|
||||
|
||||
;;;
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
;; Add services to the baseline: a DHCP client and
|
||||
;; an SSH server.
|
||||
(services (cons* (dhcp-client-service)
|
||||
(services (cons* (service dhcp-client-service-type)
|
||||
(service openssh-service-type
|
||||
(openssh-configuration
|
||||
(port-number 2222)))
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
;; Globally-installed packages.
|
||||
(packages (cons* screen openssh %base-packages))
|
||||
|
||||
(services (cons* (dhcp-client-service)
|
||||
(services (cons* (service dhcp-client-service-type)
|
||||
;; mingetty does not work on serial lines.
|
||||
;; Use agetty with board-specific serial parameters.
|
||||
(agetty-service
|
||||
|
||||
@@ -181,7 +181,7 @@ fi
|
||||
alias ls='ls -p --color=auto'
|
||||
alias ll='ls -l'
|
||||
alias grep='grep --color=auto'\n"))
|
||||
(zlogin (plain-file "zlogin" "\
|
||||
(zprofile (plain-file "zprofile" "\
|
||||
# Honor system-wide environment variables
|
||||
source /etc/profile\n"))
|
||||
(guile-wm (computed-file "guile-wm" copy-guile-wm))
|
||||
@@ -197,7 +197,10 @@ set debug-file-directory ~/.guix-profile/lib/debug
|
||||
set auto-load safe-path /gnu/store/*/lib\n")))
|
||||
`((".bash_profile" ,profile)
|
||||
(".bashrc" ,bashrc)
|
||||
(".zlogin" ,zlogin)
|
||||
;; Zsh sources ~/.zprofile before ~/.zshrc, and it sources ~/.zlogin
|
||||
;; after ~/.zshrc. To avoid interfering with any customizations a user
|
||||
;; may have made in their ~/.zshrc, put this in .zprofile, not .zlogin.
|
||||
(".zprofile" ,zprofile)
|
||||
(".nanorc" ,(plain-file "nanorc" "\
|
||||
# Include all the syntax highlighting modules.
|
||||
include /run/current-system/profile/share/nano/*.nanorc\n"))
|
||||
|
||||
+1
-1
@@ -673,7 +673,7 @@ non-ASCII names from /tmp.")
|
||||
(name-service-switch %mdns-host-lookup-nss)
|
||||
(services (cons* (avahi-service #:debug? #t)
|
||||
(dbus-service)
|
||||
(dhcp-client-service) ;needed for multicast
|
||||
(service dhcp-client-service-type) ;needed for multicast
|
||||
|
||||
;; Enable heavyweight debugging output.
|
||||
(modify-services (operating-system-user-services
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
(define %memcached-os
|
||||
(simple-operating-system
|
||||
(dhcp-client-service)
|
||||
(service dhcp-client-service-type)
|
||||
(service memcached-service-type)))
|
||||
|
||||
(define* (run-memcached-test #:optional (port 11211))
|
||||
@@ -130,7 +130,7 @@
|
||||
(operating-system
|
||||
(inherit
|
||||
(simple-operating-system
|
||||
(dhcp-client-service)
|
||||
(service dhcp-client-service-type)
|
||||
(service mongodb-service-type)))
|
||||
(packages (cons* mongodb
|
||||
%base-packages))))
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@
|
||||
|
||||
(define %dicod-os
|
||||
(simple-operating-system
|
||||
(dhcp-client-service)
|
||||
(service dhcp-client-service-type)
|
||||
(service dicod-service-type
|
||||
(dicod-configuration
|
||||
(interfaces '("0.0.0.0"))
|
||||
|
||||
+3
-3
@@ -36,7 +36,7 @@
|
||||
|
||||
(define %opensmtpd-os
|
||||
(simple-operating-system
|
||||
(dhcp-client-service)
|
||||
(service dhcp-client-service-type)
|
||||
(service opensmtpd-service-type
|
||||
(opensmtpd-configuration
|
||||
(config-file
|
||||
@@ -155,7 +155,7 @@ accept from any for local deliver to mbox
|
||||
|
||||
(define %exim-os
|
||||
(simple-operating-system
|
||||
(dhcp-client-service)
|
||||
(service dhcp-client-service-type)
|
||||
(service mail-aliases-service-type '())
|
||||
(service exim-service-type
|
||||
(exim-configuration
|
||||
@@ -283,7 +283,7 @@ acl_check_data:
|
||||
|
||||
(define %dovecot-os
|
||||
(simple-operating-system
|
||||
(dhcp-client-service)
|
||||
(service dhcp-client-service-type)
|
||||
(dovecot-service #:config
|
||||
(dovecot-configuration
|
||||
(disable-plaintext-auth? #f)
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
"Run a test of an OS running XMPP-SERVICE, which writes its PID to PID-FILE."
|
||||
(define os
|
||||
(marionette-operating-system
|
||||
(simple-operating-system (dhcp-client-service)
|
||||
(simple-operating-system (service dhcp-client-service-type)
|
||||
xmpp-service)
|
||||
#:imported-modules '((gnu services herd))))
|
||||
|
||||
@@ -167,7 +167,7 @@
|
||||
(define (run-bitlbee-test)
|
||||
(define os
|
||||
(marionette-operating-system
|
||||
(simple-operating-system (dhcp-client-service)
|
||||
(simple-operating-system (service dhcp-client-service-type)
|
||||
(service bitlbee-service-type
|
||||
(bitlbee-configuration
|
||||
(interface "0.0.0.0"))))
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
|
||||
(define %prometheus-node-exporter-os
|
||||
(simple-operating-system
|
||||
(dhcp-client-service)
|
||||
(service dhcp-client-service-type)
|
||||
(service prometheus-node-exporter-service-type
|
||||
(prometheus-node-exporter-configuration))))
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
(define %inetd-os
|
||||
;; Operating system with 2 inetd services.
|
||||
(simple-operating-system
|
||||
(dhcp-client-service)
|
||||
(service dhcp-client-service-type)
|
||||
(service inetd-service-type
|
||||
(inetd-configuration
|
||||
(entries (list
|
||||
@@ -463,7 +463,7 @@ COMMIT
|
||||
(define os
|
||||
(marionette-operating-system
|
||||
(simple-operating-system
|
||||
(dhcp-client-service)
|
||||
(service dhcp-client-service-type)
|
||||
(service inetd-service-type
|
||||
(inetd-configuration
|
||||
(entries (list
|
||||
|
||||
+1
-1
@@ -55,7 +55,7 @@
|
||||
(services (cons*
|
||||
(service rpcbind-service-type
|
||||
(rpcbind-configuration))
|
||||
(dhcp-client-service)
|
||||
(service dhcp-client-service-type)
|
||||
%base-services))))
|
||||
|
||||
(define (run-nfs-test name socket)
|
||||
|
||||
+1
-1
@@ -111,7 +111,7 @@ PORT."
|
||||
;; Return operating system under test.
|
||||
(let ((base-os
|
||||
(simple-operating-system
|
||||
(dhcp-client-service)
|
||||
(service dhcp-client-service-type)
|
||||
(service rsync-service-type))))
|
||||
(operating-system
|
||||
(inherit base-os)
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ empty-password logins.
|
||||
When SFTP? is true, run an SFTP server test."
|
||||
(define os
|
||||
(marionette-operating-system
|
||||
(simple-operating-system (dhcp-client-service) ssh-service)
|
||||
(simple-operating-system (service dhcp-client-service-type) ssh-service)
|
||||
#:imported-modules '((gnu services herd)
|
||||
(guix combinators))))
|
||||
(define vm
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
;; Operating system under test.
|
||||
(let ((base-os
|
||||
(simple-operating-system
|
||||
(dhcp-client-service)
|
||||
(service dhcp-client-service-type)
|
||||
(service cgit-service-type
|
||||
(cgit-configuration
|
||||
(nginx %cgit-configuration-nginx)))
|
||||
@@ -237,7 +237,7 @@ HTTP-PORT."
|
||||
|
||||
(define %git-http-os
|
||||
(simple-operating-system
|
||||
(dhcp-client-service)
|
||||
(service dhcp-client-service-type)
|
||||
(service fcgiwrap-service-type)
|
||||
(service nginx-service-type %git-nginx-configuration)
|
||||
%test-repository-service))
|
||||
@@ -328,7 +328,7 @@ HTTP-PORT."
|
||||
|
||||
(define %gitolite-os
|
||||
(simple-operating-system
|
||||
(dhcp-client-service)
|
||||
(service dhcp-client-service-type)
|
||||
(service openssh-service-type)
|
||||
(service gitolite-service-type
|
||||
(gitolite-configuration
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
(define %libvirt-os
|
||||
(simple-operating-system
|
||||
(dhcp-client-service)
|
||||
(service dhcp-client-service-type)
|
||||
(dbus-service)
|
||||
(polkit-service)
|
||||
(service libvirt-service-type)))
|
||||
|
||||
+6
-6
@@ -125,7 +125,7 @@ HTTP-PORT."
|
||||
|
||||
(define %httpd-os
|
||||
(simple-operating-system
|
||||
(dhcp-client-service)
|
||||
(service dhcp-client-service-type)
|
||||
(service httpd-service-type
|
||||
(httpd-configuration
|
||||
(config
|
||||
@@ -154,7 +154,7 @@ HTTP-PORT."
|
||||
(define %nginx-os
|
||||
;; Operating system under test.
|
||||
(simple-operating-system
|
||||
(dhcp-client-service)
|
||||
(service dhcp-client-service-type)
|
||||
(service nginx-service-type
|
||||
(nginx-configuration
|
||||
(log-directory "/var/log/nginx")
|
||||
@@ -188,7 +188,7 @@ sub vcl_synth {
|
||||
|
||||
(define %varnish-os
|
||||
(simple-operating-system
|
||||
(dhcp-client-service)
|
||||
(service dhcp-client-service-type)
|
||||
;; Pretend to be a web server that serves %index.html-contents.
|
||||
(service varnish-service-type
|
||||
(varnish-configuration
|
||||
@@ -237,7 +237,7 @@ echo(\"Computed by php:\".((string)(2+3)));
|
||||
(define %php-fpm-os
|
||||
;; Operating system under test.
|
||||
(simple-operating-system
|
||||
(dhcp-client-service)
|
||||
(service dhcp-client-service-type)
|
||||
(service php-fpm-service-type)
|
||||
(service nginx-service-type
|
||||
(nginx-configuration
|
||||
@@ -392,7 +392,7 @@ HTTP-PORT, along with php-fpm."
|
||||
|
||||
(define %hpcguix-web-os
|
||||
(simple-operating-system
|
||||
(dhcp-client-service)
|
||||
(service dhcp-client-service-type)
|
||||
(service hpcguix-web-service-type
|
||||
(hpcguix-web-configuration
|
||||
(specs %hpcguix-web-specs)))))
|
||||
@@ -407,7 +407,7 @@ HTTP-PORT, along with php-fpm."
|
||||
(define %tailon-os
|
||||
;; Operating system under test.
|
||||
(simple-operating-system
|
||||
(dhcp-client-service)
|
||||
(service dhcp-client-service-type)
|
||||
(service tailon-service-type
|
||||
(tailon-configuration
|
||||
(config-file
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
"Return a URI string for the Python package hosted on the Python Package
|
||||
Index (PyPI) corresponding to NAME and VERSION. EXTENSION is the file name
|
||||
extension, such as '.tar.gz'."
|
||||
(string-append "https://pypi.io/packages/source/"
|
||||
(string-append "https://pypi.org/packages/source/"
|
||||
(string-take name 1) "/" name "/"
|
||||
name "-" version extension))
|
||||
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
||||
;;; under the terms of the GNU General Public License as published by
|
||||
;;; the Free Software Foundation; either version 3 of the License, or (at
|
||||
;;; your option) any later version.
|
||||
;;;
|
||||
;;; GNU Guix is distributed in the hope that it will be useful, but
|
||||
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
;;; GNU General Public License for more details.
|
||||
;;;
|
||||
;;; You should have received a copy of the GNU General Public License
|
||||
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
(define-module (guix build gx)
|
||||
#:use-module (guix build utils)
|
||||
#:use-module (ice-9 popen)
|
||||
#:export (gx-fetch))
|
||||
|
||||
;;; Commentary:
|
||||
;;;
|
||||
;;; This is the build-side support code of (guix gx-download). It allows a
|
||||
;;; gx hash to be fetched.
|
||||
;;;
|
||||
;;; Code:
|
||||
|
||||
(define* (gx-fetch hash directory
|
||||
#:key (gx-command "gx"))
|
||||
"Fetch IPFS HASH into DIRECTORY. HASH must be a valid IPFS hash.
|
||||
Return #t on success, #f otherwise."
|
||||
|
||||
(mkdir-p directory)
|
||||
|
||||
(with-directory-excursion directory
|
||||
;; TODO: Silence verbose output.
|
||||
|
||||
;; Initialization is interactive, but we can shut it up by piping it to
|
||||
;; nothing.
|
||||
(let ((port (open-pipe* OPEN_WRITE gx-command "init")))
|
||||
(display "\n" port)
|
||||
(if (not (eqv? 0 (status:exit-val (close-pipe port))))
|
||||
(error "Cannot initialize gx package")))
|
||||
|
||||
;; Fetch to the "vendor" directory.
|
||||
(let ((port (open-pipe* OPEN_WRITE gx-command "import" "--local" hash)))
|
||||
(display "N\n" port)
|
||||
(if (not (eqv? 0 (status:exit-val (close-pipe port))))
|
||||
(error "Cannot import gx package")))
|
||||
|
||||
(delete-file "package.json")
|
||||
(mkdir-p "gx/ipfs")
|
||||
(rename-file (string-append "vendor/gx/ipfs/" hash) (string-append "gx/ipfs/" hash))
|
||||
(delete-file-recursively "vendor")
|
||||
#t))
|
||||
|
||||
;;; gx.scm ends here
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user