Commit Graph

46300 Commits (97149c576762de7fd8e1a6ac8f46c97d3490b360)

Author SHA1 Message Date
Christopher Baines 1d0bde2ee4
discovery: Handle edge case in scheme-files when looking at symlinks.
Previously, this code would cause crashes in Guix (running guix package -s for
example) which could be experienced when Emacs creates temporary files in the
gnu/packages/patches directory when a patch file has been edited, but not
saved.

* guix/discovery.scm (scheme-files): Add else clause to cond used when
handling symlinks.
2019-07-08 17:04:35 +01:00
Tobias Geerinckx-Rice 7a2e0c52df
guix-install.sh: Add missing ‘local’ declaration.
* etc/guix-install.sh (chk_require): Make $c local.
2019-07-08 17:47:39 +02:00
Tobias Geerinckx-Rice 6c77d79a49
guix-install.sh: Treat REQUIRE as the array it is.
Don't flatten it into a string only to split it again later.

* etc/guix-install.sh (chk_require): Iterate over array elements, not
string tokens.
(main): Pass $REQUIRE as an array of arguments.
2019-07-08 17:47:39 +02:00
Carl Dong b6dc08393e
scripts: environment: Add --no-cwd.
* doc/guix.texi (Invoking guix environment): Add --no-cwd.
* guix/scripts/environment.scm (show-help, %options): Add --no-cwd.
(launch-environment/container): Add 'map-cwd?' param; only add mapping
for cwd if #t.  Only change to cwd within container if #t, otherwise
home.
(guix-environment): Error if --no-cwd without --container.  Provide
'(not no-cwd?)' to launch-environment/container as 'map-cwd?'.
* tests/guix-environment.sh: Add test for no-cwd.

Co-authored-by: Mike Gerwitz <mtg@gnu.org>
2019-07-08 10:33:20 -04:00
Carl Dong a655d504aa
scripts: environment: Only rewrite user-specified mappings.
* guix/scripts/environment.scm (launch-environment/container): Only
  apply override-user-mappings to user-mappings and cwd. Do not apply to
  network configuration mapping and inputs.
2019-07-08 10:33:19 -04:00
Tobias Geerinckx-Rice 0971f8bd88
gnu: Remove r-biocinstaller.
It requires R < 3.6 and is no longer supported.

* gnu/packages/bioinformatics.scm (r-biocinstaller): Define as
deprecated in favour of r-biocmanager.
2019-07-08 16:13:11 +02:00
Tobias Geerinckx-Rice 1042e3481d
gnu: r-xbioc: Update to 0.1.16-1.6ff0670.
This is needed to deprecate r-biocinstaller, which is no longer
distributed.

* gnu/packages/bioinformatics.scm (r-xbioc): Update to 0.1.16-1.6ff0670.
[propagated-inputs]: Replace deprecated r-biocinstaller with
r-biocmanager.
2019-07-08 16:11:55 +02:00
Tobias Geerinckx-Rice ddfb62807d
gnu: cmh: Fix build.
This follows up on commit 1de48e8f8a.

* gnu/packages/algebra.scm (fplll-4-cmh): New variable.
(cmh)[inputs]: Use it.
2019-07-08 15:48:07 +02:00
Tobias Geerinckx-Rice 69e3512b7c
gnu: libomp: Download over HTTPS.
* gnu/packages/llvm.scm (libomp)[source]: Use HTTPS.
2019-07-08 15:33:35 +02:00
Tobias Geerinckx-Rice e2170c3192
gnu: libomp: Fix source hash.
This is a follow-up to commit c5296e205b,
which updated llvm.

* gnu/packages/llvm.scm (libomp)[source]: Fix hash.
2019-07-08 15:33:35 +02:00
Tobias Geerinckx-Rice 61242625ad
gnu: r-txdb-mmusculus-ucsc-mm10-knowngene: Update to 3.4.7.
* gnu/packages/bioconductor.scm (r-txdb-mmusculus-ucsc-mm10-knowngene):
Update to 3.4.7.
2019-07-08 15:33:35 +02:00
Joseph LaFreniere 377b0501c4
gnu: Add emacs-polymode-org.
* gnu/packages/emacs-xyz.scm (emacs-polymode-org): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-08 13:05:56 +02:00
Joseph LaFreniere 85630d8042
gnu: emacs-polymode: Update to 0.2.
* gnu/packages/emacs-xyz.scm (emacs-polymode): Update to 0.2.
[source]: Change URL of Git repository to Polymode GitHub project.
[homepage]: Change URL to polymode GitHub project.
[description]: Realign text.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-08 13:05:56 +02:00
ison 88a29b5cd3
gnu: i3blocks: Update to ec050e7.
* gnu/packages/wm.scm (i3blocks): Update to ec050e7.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-08 13:05:56 +02:00
Pierre Langlois a55dd25d3e
gnu: dosfstools: Enable compat symlinks.
Enable compatibility symlinks to provide commands such as `mkfs.vfat`.

* gnu/packages/disk.scm (dosfstools)[arguments]: Pass
"--enable-compat-symlinks" to configure.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-08 13:05:56 +02:00
Pierre Langlois b9a1d74de5
gnu: wireservice: New wireservice-package macro.
Replace the parent 'base-package' variable with a 'wireservice-package' macro
that includes all common package fields.

* gnu/packages/wireservice.scm (base-package): Delete.
(wireservice-package): New macro.
(python-leather, python-agate, python-agate-sql, python-agate-dbf,
python-agate-excel): Use wireservice-package.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-08 13:05:55 +02:00
Ludovic Courtès cdf689471a
channels: Key cached channel derivations by system.
Previously, the channel instance to derivation mapping would be
independent of the system.  Thus, building the same channel instance for
several different systems would always return the derivation that was
first computed.

This is a followup to c3ab921eed.

* guix/channels.scm (channel-instance-derivations)[instance->derivation]:
Pass the current system as a third argument to 'mcached'.
2019-07-08 13:05:55 +02:00
Christopher Baines 8747477deb
gnu: gobject-introspection: Update absolute-shlib-path.patch.
Incorporate some changes from nixpkgs to the gobject-introspection package
patches.  This is motivated by looking at issues with libsoup and lollypop.
These changes mean that the share/gir-1.0/Soup-2.4.gir file within
libsoup (and the corresponding binary typelib) references libsoup-2.4.so.1
with an absolute filename, whereas previously, the filename wasn't absolute.

With an absolute filename in the typelib, loading libsoup from lollypop should
work.

* gnu/packages/patches/gobject-introspection-absolute-shlib-path.patch:
Incorporate changes from nixpkgs.
2019-07-08 08:42:29 +01:00
Efraim Flashner c7b757c46c
gnu: gama: Update to 2.06.
* gnu/packages/gps.scm (gama): Update to 2.06.
2019-07-08 10:38:23 +03:00
Vagrant Cascadian d335ef51d7
gnu: diffoscope: Update to 116.
* gnu/packages/package-management (diffoscope): Update to 116.
2019-07-07 18:57:28 -07:00
Marius Bakke a7ed2d534c
gnu: python-pytest: Update to 4.4.2.
This is necessary to fix a test failure on 32-bit platforms in 4.4.1.

* gnu/packages/check.scm (python-pytest): Update to 4.4.2.
2019-07-08 00:58:31 +02:00
Marius Bakke e5731c0382
gnu: python-pluggy: Update to 0.11.0.
* gnu/packages/python-xyz.scm (python-pluggy): Update to 0.11.0.
2019-07-08 00:58:09 +02:00
Marius Bakke 625801f500
gnu: webkitgtk: Build with Python 3.
* gnu/packages/webkit.scm (webkitgtk)[native-inputs]: Change PYTHON-2 to
PYTHON-WRAPPER.
2019-07-08 00:37:03 +02:00
Marius Bakke 0403b04d76
gnu: jalv: Remove GCC5 workaround.
* gnu/packages/audio.scm (jalv)[arguments]: Remove <#:phases>.
2019-07-07 23:27:37 +02:00
Marius Bakke 6fe808f4c3
gnu: mesa: Use the "release" Meson build type.
* gnu/packages/gl.scm (mesa)[arguments]: Add <#:build-type>.
2019-07-07 22:05:34 +02:00
Marius Bakke f826ac4704
gnu: doxygen: Build with Python 3.
* gnu/packages/documentation.scm (doxygen)[native-inputs]: Change PYTHON-2 to PYTHON.
2019-07-07 20:07:22 +02:00
Marius Bakke ff6850490f
gnu: doxygen: Don't build against special Flex variant.
* gnu/packages/documentation.scm (doxygen)[native-inputs]: Change FLEX-2.6.1
to FLEX.
2019-07-07 20:00:21 +02:00
Marius Bakke 794c773d0c
gnu: libinput: Use the 'release' Meson build type.
* gnu/packages/freedesktop.scm (libinput)[arguments]: Add <#:build-type>.
2019-07-07 19:19:39 +02:00
Marius Bakke c43b090326
build-system/meson: Enable compiler optimizations.
* guix/build-system/meson.scm (meson-build)[#:build-type]: Set to 'debugoptimized'.
2019-07-07 19:14:04 +02:00
Marius Bakke f7e25e2ec7
gnu: libpsl: Python is a native input.
* gnu/packages/web.scm (libpsl)[inputs]: Move PYTHON-WRAPPER ...
[native-inputs]: ... here.
2019-07-07 18:55:57 +02:00
Marius Bakke c4fa39188a
gnu: graphite2: Build against Python 3.
Previously, the Python tests were skipped, because they require Python 3.

* gnu/packages/fontutils.scm (graphite2)[arguments]: New field.
[native-inputs]: Change PYTHON-2 and PYTHON2-FONTTOOLS to PYTHON and PYTHON-FONTTOOLS.
2019-07-07 18:53:32 +02:00
Marius Bakke b0dc2454cc
gnu: zziplib: Don't run failing tests.
* gnu/packages/compression.scm (zziplib)[arguments]: Set <#:test-target>.
2019-07-07 18:38:19 +02:00
Marius Bakke d0a52e65b5
gnu: zziplib: Don't use unstable tarball.
* gnu/packages/compression.scm (zziplib)[source]: Change to GIT-FETCH.
[argumnents]: New field.
2019-07-07 18:38:19 +02:00
Marius Bakke ee3a4d3678
gnu: libpsl: Build against Python 3.
* gnu/packages/web.scm (libpsl)[inputs]: Change PYTHON-2 to PYTHON-WRAPPER.
2019-07-07 18:38:19 +02:00
Marius Bakke 2c886af911
gnu: ninja: Python is a regular input.
Ninja uses Python at run time, so it must not be a native input.

* gnu/packages/ninja.scm (ninja)[native-inputs]: Change to ...
[inputs]: ... this.
2019-07-07 18:38:19 +02:00
Marius Bakke b78491f857
gnu: ninja: Build against Python 3.
* gnu/packages/ninja.scm (ninja)[native-inputs]: Change PYTHON-2 to PYTHON-WRAPPER.
2019-07-07 18:38:19 +02:00
Marius Bakke cf3f7aa197
gnu: libevent: Use Python 3 for event_rpcgen.py.
* gnu/packages/libevent.scm (libevent)[inputs]: Change PYTHON-2 to PYTHON-WRAPPER.
2019-07-07 18:38:18 +02:00
Marius Bakke d7b63ba92d
gnu: itstool: Update to 2.0.6.
* gnu/packages/glib.scm (itstool): Update to 2.0.6.
[inputs]: Change PYTHON2-LIBXML and PYTHON-2 to PYTHON-LIBXML and PYTHON.
* gnu/packages/gnome.scm (totem)[inputs]: Change PYTHON-2 to PYTHON.
2019-07-07 18:38:18 +02:00
Marius Bakke 53ffc043af
gnu: cURL: Build against Python 3.
* gnu/packages/curl.scm (curl)[native-inputs]: Change PYTHON-2 to PYTHON-WRAPPER.
2019-07-07 18:38:11 +02:00
Marius Bakke ac135287d2
gnu: icu4c: Enable tests on i686.
* gnu/packages/icu4c.scm (icu4c)[arguments]: Don't override <#:tests?>.
2019-07-07 16:55:10 +02:00
Marius Bakke a4c38f812c
gnu: icu4c: Use 'python-minimal' for tests.
* gnu/packages/icu4c.scm (icu4c)[native-inputs]: Change PYTHON to
PYTHON-MINIMAL.
2019-07-07 16:54:15 +02:00
Marius Bakke fcb5493793
gnu: Python: Avoid needless reference on coreutils.
* gnu/packages/python.scm (python-2.7)[arguments]: Pass "INSTALL" and
"MKDIR_P" in <#:configure-flags>.
2019-07-07 16:51:26 +02:00
Marius Bakke 4f5fe46388
gnu: commencement: Fix Python build on non-x86 platforms.
* gnu/packages/commencement.scm (python-boot0)[version, source]: Downgrade to 3.5.7.
[arguments]: Remove <#:make-flags>.  Add <#:phases>.
[native-inputs]: Remove artifical dependency on PKG-CONFIG.
2019-07-07 16:32:53 +02:00
Pierre Langlois bf187d92e3
gnu: Add csvkit.
* gnu/packages/wireservice.scm (csvkit): New variable.
* gnu/packages/patches/csvkit-fix-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-07 15:48:20 +02:00
Pierre Langlois 213b05f04e
gnu: Add python-agate-excel.
* gnu/packages/wireservice.scm (python-agate-excel): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-07 15:48:20 +02:00
Pierre Langlois f1122a2c91
gnu: Add python-agate-dbf.
* gnu/packages/wireservice.scm (python-agate-dbf): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-07 15:48:20 +02:00
Pierre Langlois 9b2850c845
gnu: Add python-agate-sql.
* gnu/packages/wireservice.scm (python-agate-sql): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-07 15:48:20 +02:00
Pierre Langlois dc835e75ce
gnu: Add python-agate.
* gnu/packages/wireservice.scm (python-agate): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-07 15:48:20 +02:00
Pierre Langlois 451742bcf6
gnu: Add python-leather.
* gnu/packages/wireservice.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-07 15:48:20 +02:00
Pierre Langlois edeb04bfb7
gnu: Add python-dbfread.
* gnu/packages/python-xyz.scm (python-dbfread): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-07 15:48:20 +02:00