Commit Graph

45250 Commits

Author SHA1 Message Date
Ludovic Courtès 66229b04ae
publish: Add support for lzip.
* guix/scripts/publish.scm (show-help, %options): Support '-C METHOD'
and '-C METHOD:LEVEL'.
(default-compression): New procedure.
(bake-narinfo+nar): Add lzip.
(nar-response-port): Likewise.
(string->compression-type): New procedure.
(make-request-handler): Generalize /nar/gzip handler to handle /nar/lzip
as well.
* tests/publish.scm ("/nar/lzip/*"): New test.
("/*.narinfo with lzip compression"): New test.
* doc/guix.texi (Invoking guix publish): Document it.
(Requirements): Mention lzlib.
2019-05-27 22:47:24 +02:00
Ludovic Courtès 4e48923e75
utils: Support compression and decompression with lzip.
* guix/utils.scm (lzip-port): New procedure.
(decompressed-port, compressed-port, compressed-output-port): Add 'lzip
case.
* tests/utils.scm <top level>: Call 'test-compression/decompression' for
'lzip as well.
2019-05-27 22:47:24 +02:00
Ludovic Courtès 4c7ebe318f
utils: Test 'compressed-port' and 'decompressed-port' for both gzip and xz.
* tests/utils.scm (test-compression/decompression): New procedure.
<top level>: Call it for both 'xz and 'gzip.
2019-05-27 22:47:24 +02:00
Ludovic Courtès 2a991f3ae4
lzlib: Add 'make-lzip-input-port/compressed'.
* guix/lzlib.scm (lzwrite!, make-lzip-input-port/compressed): New
procedures.
* tests/lzlib.scm ("make-lzip-input-port/compressed"): New test.
* guix/tests.scm (%seed): Export.
2019-05-27 22:47:24 +02:00
Ludovic Courtès e13354a7ca
lzlib: Adjust 'lz-compress-read' docstring.
* guix/lzlib.scm (lz-compress-read): The integer return can be zero;
adjust docstring accordingly.
2019-05-27 22:47:23 +02:00
Ricardo Wurmus 8916034a34
gnu: r-shiny: Fix JavaScript minification.
Fixes <https://bugs.gnu.org/35923>.

* gnu/packages/cran.scm (r-shiny)[native-inputs]: Add uglify-js.
2019-05-27 22:09:22 +02:00
Guillaume LE VAILLANT ed72a133db
gnu: Add osmctools
* gnu/packages/geo.scm (osmctools): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2019-05-27 14:32:13 -04:00
Alex Griffin 521d736ae9
gnu: go@1.4: Update to 1.4-bootstrap-20171003.
* gnu/packages/golang.scm (go-1.4): Use the bootstrap branch that is
still supported upstream.
[version]: Update to 1.4-bootstrap-20171003.
[arguments]: Remove obsolete fix for timezone test which is now included
upstream.  Don't manually disable cgo because it is disabled by default.
Manually enable test suite because future releases will disable tests by
default.

Signed-off-by: Leo Famulari <leo@famulari.name>
2019-05-27 14:26:46 -04:00
Danny Milosavljevic 8d1647b228
gnu: python-alembic: Update to 1.0.10.
* gnu/packages/databases.scm (python-alembic): Update to 1.0.10.
2019-05-27 18:16:25 +02:00
Jakob L. Kreuze f644f63655
doc: Update default value of terminal-outputs.
* doc/guix.texi: (terminal-outputs) Update default value.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-27 16:44:53 +02:00
Stefan Stefanović cf342a8598
gnu: tlp: Add required x86-energy-perf-policy input dependency.
* gnu/packages/linux.scm (tlp)
[inputs]: Add system specific x86-energy-perf-policy dependency.
[arguments]<#:phases>['wrap]:
Adjust bin-directory procedure to return #f on missing input,
a guard against system specific input dependencies.
Filter only strings in the path list. Reformat for-each block.
Add x86-energy-perf-policy in bin-directory input-name list.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-05-27 16:41:12 +02:00
Stefan Stefanović 71bd55cb2a
gnu: Add x86-energy-perf-policy.
* gnu/packages/linux.scm (x86-energy-perf-policy): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-27 16:35:09 +02:00
guy fleury iteriteka 66fca5041b
gnu: MATE: Use mirror://mate/ in source URIs.
* gnu/packages/mate.scm(MATE packages)[source](uri): Use "mirror://mate/"
  instead of "https://pub.mate-desktop.org/releases/" directly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-27 12:02:27 +02:00
Ludovic Courtès ad7466aafd
import: hackage: Fix Cabal test.
* guix/import/hackage.scm (hackage->guix-package): Remove call to 'memoize'.
(hackage->guix-package/m): New procedure.
(hackage-recursive-import): Use it.
* tests/hackage.scm ("hackage->guix-package test 6"): Adjust.

Co-authored-by: Robert Vollmert <rob@vllmrt.net>
2019-05-26 23:20:30 +02:00
Robert Vollmert 002d17dcaa
discovery: 'all-modules' returns modules in path order.
A particular effect of this is that if there are ambiguous
packages in a directory specified with `-L module_dir` and the
distribution, the version from `module_dir` will be loaded,
which is usually what would be expected. (E.g. for `guix build`
or `guix package -i`.)

* guix/discovery.scm (all-modules): Return modules in path order.
* tests/guix-package.sh: Test local definitions take precedence.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-26 23:02:02 +02:00
Ludovic Courtès dfc69e4b6d
self: 'guix-daemon' honors %localstatedir, %sysconfdir, and %storedir.
Fixes <https://bugs.gnu.org/35874>.
Reported by Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>.

Previously, the 'guix-daemon' program provided by 'guix pull' would
systematically use default directory locations for these.

* guix/self.scm (whole-package)[wrap]: Set GUIX_STATE_DIRECTORY,
GUIX_CONFIGURATION_DIRECTORY, and NIX_STORE_DIR.
2019-05-26 22:01:42 +02:00
Alex Vong 45bdb66251
gnu: you-get: Update to 0.4.1302.
* gnu/packages/video.scm (you-get): Update to 0.4.1302.
2019-05-27 02:28:26 +08:00
Mark H Weaver 5ea87197f6
gnu: linux-libre: Update to 5.1.5.
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.1.5.
(%linux-libre-hash): Update hash.
2019-05-26 14:19:40 -04:00
Mark H Weaver 5b7be798b2
gnu: linux-libre@4.19: Update to 4.19.46.
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.46.
(%linux-libre-4.19-hash): Update hash.
2019-05-26 14:19:38 -04:00
Mark H Weaver d87d375b64
gnu: linux-libre@4.14: Update to 4.14.122.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.122.
(%linux-libre-4.14-hash): Update hash.
2019-05-26 14:19:35 -04:00
Mark H Weaver 5f3f63e5ad
gnu: linux-libre@4.9: Update to 4.9.179.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.179.
2019-05-26 14:19:33 -04:00
Mark H Weaver 2bdce7a654
gnu: linux-libre: Rename a patch.
* gnu/packages/linux.scm (%linux-libre-arm-export-__sync_icache_dcache-patch):
Remove the version from the file name, since it applies to multiple versions.
2019-05-26 14:19:04 -04:00
Mark H Weaver 403b3a8c61
gnu: linux-libre-arm-generic: Move definition.
* gnu/packages/linux.scm (linux-libre-arm-generic): Move the definition down,
next to the other linux-libre-arm-generic-* packages.
2019-05-26 14:19:00 -04:00
Mark H Weaver efbbf9a15c
gnu: vhba-module: Remove duplicate definition.
This is a followup to commit e1f640db8f.

* gnu/packages/linux.scm (vhba-module): Remove duplicate definition.
2019-05-26 14:18:55 -04:00
Marius Bakke 7024846181
gnu: node: Update to 10.15.3.
* gnu/packages/libevent.scm (libuv-1.19): Remove variable.
* gnu/packages/node.scm (node): Update to 10.15.3.
[source]: Use XZ-compressed tarball.
[arguments]: Add #:test-target.  Use DELETE-FILE instead of DELETE-IF-EXISTS.
Remove obsolete test deletions.
[inputs]: Change OPENSSL to OPENSSL-NEXT.  Change LIBUV-1.19 to LIBUV.
(node-lts): Remove variable.
2019-05-26 19:48:39 +02:00
Marius Bakke 0d3dbe3f56
gnu: libevent: Update to 2.1.0.
* gnu/packages/patches/libevent-2.1-dns-tests.patch,
gnu/packages/patches/libevent-2.1-skip-failing-test.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/libevent.scm (libevent): Update to 2.1.10.
[source](patches): Remove.
2019-05-26 19:48:39 +02:00
Alex Vong 304fb7000a
gnu: youtube-dl: Update to 2019.05.20.
* gnu/packages/video.scm (youtube-dl): Update to 2019.05.20.

Signed-off-by: Alex Vong <alexvong1995@gmail.com>
2019-05-27 01:34:09 +08:00
Efraim Flashner 51daf2f553
gnu: ioquake: Build on all architectures.
* gnu/packages/game-development.scm (ioquake)[supported-systems]: Remove
field.
2019-05-26 20:22:36 +03:00
Ricardo Wurmus 164cb4da63
gnu: pigx-chipseq: Update to 0.0.41.
* gnu/packages/bioinformatics.scm (pigx-chipseq): Update to 0.0.41.
2019-05-26 10:56:52 +02:00
Robert Vollmert 0607f89088
import: hackage: Recognize "BSD-3-Clause" and "PublicDomain".
* guix/import/hackage.scm (string->license): Add two licenses.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2019-05-26 10:22:05 +02:00
Brett Gilio 6d94465b4e
gnu: python-shapely: Update to 1.6.4.post2.
* gnu/packages/python-xyz.scm (python-shapely): Update to 1.6.4.post2.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2019-05-26 10:22:05 +02:00
Brett Gilio 7abf3cbf71
gnu: python-psutil: Update to 5.6.2.
* gnu/packages/python-xyz.scm (python-psutil): Update to 5.6.2.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2019-05-26 10:22:05 +02:00
Dan Frumin 414f545ee6
gnu: coq-equations: Update to 1.2.
Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2019-05-26 10:22:05 +02:00
Rutger Helling 9c11ba9282
gnu: mgba: Update to 0.7.2.
* gnu/packages/emulators.scm (mgba): Update to 0.7.2.
2019-05-26 10:15:21 +02:00
Rutger Helling d21c68ac46
gnu: kitty: Update to 0.14.0.
* gnu/packages/terminals.scm (kitty): Update to 0.14.0.
2019-05-26 10:15:21 +02:00
Tobias Geerinckx-Rice ac12a01394
gnu: wine-staging: Update to 4.9.
* gnu/packages/wine.scm (wine-staging-patchset-data, wine-staging):
Update to 4.9.
2019-05-26 05:22:51 +02:00
Tobias Geerinckx-Rice 5daafe0b5d
gnu: rxcpp: Don't use unstable tarball.
* gnu/packages/machine-learning.scm (rxcpp)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
2019-05-26 05:00:50 +02:00
Tobias Geerinckx-Rice e91a0bff01
gnu: rxcpp: Update to 4.1.0.
* gnu/packages/machine-learning.scm (rxcpp): Update to 4.1.0.
2019-05-26 05:00:50 +02:00
Tobias Geerinckx-Rice f3addff21c
gnu: libelf: Use archived home page and mirrored source.
* gnu/packages/elf.scm (libelf)[source]: Use mirror URLs.
[home-page]: Use archived home page.
2019-05-26 03:27:33 +02:00
Tobias Geerinckx-Rice dbe2dfa528
gnu: pidgin: Use HTTPS home page.
* gnu/packages/messaging.scm (pidgin)[home-page]: Use HTTPS.
2019-05-26 03:27:33 +02:00
Tobias Geerinckx-Rice 569958aeb5
gnu: pidgin: Add network-manager support.
* gnu/packages/messaging.scm (pidgin)[inputs]: Add network-manager.
[arguments]: Undisable it in #:configure-flags.
2019-05-26 03:27:33 +02:00
Tobias Geerinckx-Rice 0fcb0e5076
gnu: pidgin: Update to 2.13.0.
* gnu/packages/messaging.scm (pidgin): Update to 2.13.0.
2019-05-26 03:27:33 +02:00
Tobias Geerinckx-Rice a4cf65c804
gnu: pidgin: Don't use NAME in source URI.
* gnu/packages/messaging.scm (pidgin)[source]: Hard-code NAME.
2019-05-26 03:27:33 +02:00
Tobias Geerinckx-Rice 8a8597819e
gnu: duplicity: Update to 0.7.19.
* gnu/packages/backup.scm (duplicity): Update to 0.7.19.
2019-05-26 03:27:33 +02:00
Ludovic Courtès 7fcb86da2b
store: Fix 'hash-part->path' docstring.
* guix/store.scm (hash-part->path): Adjust docstring to match reality.
2019-05-26 01:34:17 +02:00
Ludovic Courtès 493375cdb2
publish: Maintain a hash-part-to-store-item mapping in cache.
Fixes <https://bugs.gnu.org/33897>.

* guix/scripts/publish.scm (hash-part-mapping-cache-file)
(hash-part->path*): New procedures.
* guix/scripts/publish.scm (render-narinfo/cached)[delete-entry]: Delete
the 'hash-part-mapping-cache-file'.
Use 'hash-part->path*' instead of 'hash-part->path'.
* tests/publish.scm ("with cache, vanishing item"): New test.
2019-05-26 01:34:17 +02:00
Reza Alizadeh Majd ed90104cc8
services: sddm: Fix root login failure issue.
* gnu/services/sddm.scm (sdm-pam-service): Set uid from CONFIG.
(sdm-autologin-pam-service): Set uid from CONFIG.
(sdm-pam-services): Pass CONFIG to 'sddm-pam-service' and
'sddm-autologin-pam-service'.
* doc/guix.texi (X Window): Adjust 'minimum-uid' documentation.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-05-26 01:34:16 +02:00
Arun Isaac 336674549d
services: cgit: Fix typo.
* gnu/services/cgit.scm (cgit-configuration)[root-readme]: Replace "thef" with
"the".
2019-05-25 15:58:03 +05:30
Kei Kebreau 41cdaf47e1
gnu: squirrel: Fix build.
This follows commit 9d0c291e3e.

* gnu/packages/squirrel.scm: Adjust module reference.
2019-05-25 06:08:23 -04:00
Brian Leung 7547648091
gnu: emacs-lispy: Update to 0.27.0.
* gnu/packages/emacs-xyz.scm (emacs-lispy): Update to 0.27.0.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-05-25 11:52:37 +02:00