Commit graph

51923 commits

Author SHA1 Message Date
Mathieu Othacehe
adf218e2e8
gnu: libxt: Fix cross-compilation.
* gnu/packages/xorg.scm (libxt)[arguments]: Pass --disable-malloc0returnsnull
configure flag when cross-compiling.
2019-12-26 18:13:21 +01:00
Hartmut Goebel
7681436bfd
gnu: poppler: Update to 0.83.0.
* gnu/packages/pdf.scm (poppler): Update to 0.83.0.
2019-12-26 15:51:14 +01:00
Mathieu Othacehe
3cd1444df7
gexp: Add system and target support to gexp->file.
* guix/gexp.scm (gexp->file): Add system and target arguments and pass them to
gexp->derivation and load-path-expression calls,
(scheme-file-compiler): adapt accordingly to pass system and target arguments.
2019-12-22 10:06:57 +01:00
Mathieu Othacehe
80a61b38b8
gnu: wireless-tools: Fix cross-compilation.
* gnu/packages/linux.scm (wireless-tools)[arguments]: Replace 'configure phase
to substitute CC, AR and RANLIB Makefile variables to suitable values when
cross-compiling.
2019-12-19 15:32:04 +01:00
Mathieu Othacehe
45e7599ce8
gnu: isc-dhcp: Fix cross-compilation.
* gnu/packages/admin.scm (isc-dhcp)[arguments]: Add a configure flag to
specify randomdev path, which is needed when cross-compiling. Also add a
fix-bind-cross-compilation phase.
2019-12-19 15:16:05 +01:00
Mathieu Othacehe
8a0e29d8b9
gnu: tcl: Fix cross-compilation.
* gnu/packages/patches/tcl-fix-cross-compilation.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/tcl.scm (tcl): Apply it.
2019-12-19 09:51:56 +01:00
Mathieu Othacehe
8166b6afe5
gnu: psmisc: Fix cross-compilation.
* gnu/packages/linux.scm (psmisc)[arguments]: Pass
ac_cv_func_malloc_0_nonnull=yes and ac_cv_func_realloc_0_nonnull=yes options
that are required when cross-compiling.
2019-12-16 16:44:04 +01:00
Mathieu Othacehe
6eae90898a
gnu: pciutils: Fix cross-compilation.
* gnu/packages/pciutils.scm (pciutils)[arguments]: Set CROSS_COMPILE, HOST and
STRIP variables correctly in Makefile to fix cross-compilation.
2019-12-16 16:33:03 +01:00
Mathieu Othacehe
60825fdd18
gnu: libxslt: Fix cross-compilation.
This package native build was relying on xz as an implicit input. In fact
libxslt is linking against liblzma, and xz is thus an input.

* gnu/packages/xml.scm (libxslt)[inputs]: Add xz.
2019-12-16 16:33:01 +01:00
Mathieu Othacehe
2e4c2a3ae9
gnu: iw: Fix cross-compilation.
* gnu/packages/linux.scm (iw)[arguments]: Set PKG_CONFIG and CC variables
correctly for cross-compilation.
2019-12-16 16:32:59 +01:00
Efraim Flashner
0c25097e8b
gnu: bison: Update to 3.5.
* gnu/packages/bison.scm (bison): Update to 3.5.
2019-12-16 10:30:36 +02:00
Efraim Flashner
28292d8c5c
guix: Fix typo.
This is a follow-up to e8cbebb476.

* guix/profiles.scm (gtk-im-modules): Corectly refer to gtk+-2 package.
2019-12-15 19:21:18 +02:00
Julien Lepiller
50b61ec223
gnu: llvm: split scripts to a separate output.
This reduces the closure size by almost 80 MiB.

* gnu/packages/llvm.scm (llvm-8): Add "opt-viewer" output.
2019-12-14 20:54:25 +01:00
Julien Lepiller
e8cbebb476
gnu: gtk+-2: Split binaries.
* gnu/packages/gtk.scm (gtk+-2): Add "bin" output.
* guix/profiles.scm (gtk-im-modules): Use "bin" output for generating gtk+-2
immodules cache file.
2019-12-14 20:54:06 +01:00
Mathieu Othacehe
7b90379db8
gnu: info-reader: Fix cross-compilation.
* gnu/packages/texinfo.scm (info-reader)[arguments]: Add keep-only-info-reader
phase to inherited texinfo package phases, so that fix-cross-configure phase
is preserved.
2019-12-14 17:49:09 +01:00
Mathieu Othacehe
2f014c85f7
gnu: Add u-boot-pine64-lts-bootloader.
* gnu/bootloader/u-boot.scm (u-boot-pine64-lts-bootloader): New variable.
2019-12-14 17:40:16 +01:00
Mathieu Othacehe
de5394f745
gnu: bootloaders: Fix make-u-boot-sunxi64-package cross-compilation.
* gnu/packages/bootloaders.scm (make-u-boot-sunxi64-package)[arguments]:
Search in native-inputs to fix cross-compilation.
2019-12-14 17:40:16 +01:00
Mathieu Othacehe
6d01ff96a3
gnu: Add u-boot-pine64-lts.
* gnu/packages/bootloaders.scm (u-boot-pine64-lts): New variable.
2019-12-14 17:40:16 +01:00
Brett Gilio
fd248cb815
gnu: ruby: Configure for dynamic linking.
* gnu/packages/ruby.scm (ruby)[arguments]: Use #:configure-flags to properly
  enable dynamic linking instead of using libruby-static.a.

Fixes #38500: <https://bugs.gnu.org/38500>

Reported-by: Vicente Eduardo <vic798@gmail.com>
2019-12-12 21:42:39 -06:00
Efraim Flashner
2c267e6300
gnu: nss: Ungraft.
* gnu/packages/nss.scm (nss)[replacement]: Remove field.
[source]: Add patch.
(nss/fixed): Remove variable.
2019-12-12 04:14:40 +02:00
Efraim Flashner
c9e676d0b1
Merge remote-tracking branch 'origin/master' into core-updates 2019-12-12 04:10:59 +02:00
Efraim Flashner
d45720d8b4
gnu: swig: Build with guile-2.2.
This is a follow-up to 8b2c4eb502.

* gnu/packages/swig.scm (swig)[native-inputs]: Replace guile-2.0
with guile-2.2.
2019-12-12 03:44:53 +02:00
Clément Lassieur
dcb7ce500b
doc: Add missing MKDIR call.
* doc/guix.texi (G-Expressions): Add missing MKDIR call.
2019-12-12 01:14:47 +01:00
Nicolas Goaziou
6ffb0b4f6a
gnu: Add emacs-modus-themes.
* gnu/packages/emacs-xyz.scm (emacs-modus-themes): New variable.
2019-12-11 23:23:30 +01:00
Marius Bakke
27664ea0f0
gnu: Remove fmt-restinio.
This is a follow-up to commit 71ce0b5290.

* gnu/packages/pretty-print.scm (fmt-restinio): Remove variable.
2019-12-11 22:49:30 +01:00
Ricardo Wurmus
3158c805f0
gnu: Add emacs-quasi-monochrome.
* gnu/packages/emacs-xyz.scm (emacs-quasi-monochrome): New variable.
2019-12-11 22:47:41 +01:00
Marius Bakke
dbc533c168
gnu: seabios: Update to 1.13.0.
* gnu/packages/firmware.scm (seabios): Update to 1.13.0.
[native-inputs]: Change from PYTHON-2 to PYTHON-WRAPPER.
2019-12-11 22:28:22 +01:00
Marius Bakke
71ce0b5290
gnu: fmt: Build shared library instead of static.
* gnu/packages/pretty-print.scm (fmt)[arguments]: New field.
* gnu/packages/networking.scm (fmt-restinio): Remove variable.
(restinio)[propagated-inputs]: Change from FMT-RESTINIO to FMT.
(opendht)[inputs]: Likewise.
2019-12-11 22:28:22 +01:00
Marius Bakke
2ecb5e7901
gnu: libssh: Update to 0.9.3 [fixes CVE-2019-14889].
* gnu/packages/ssh.scm (libssh): Update to 0.9.3.
[arguments]: Remove #:phases.
2019-12-11 22:28:22 +01:00
Marius Bakke
0222de2c65
gnu: libgit2: Update to 0.28.4 [security fixes].
This fixes CVE-2019-1348, CVE-2019-1349, CVE-2019-1350, CVE-2019-1351,
CVE-2019-1352, CVE-2019-1353, CVE-2019-1354, and CVE-2019-1387.

* gnu/packages/version-control.scm (libgit2): Update to 0.28.4.
2019-12-11 22:28:21 +01:00
Marius Bakke
29256cbef3
gnu: speex: Do not build static libraries.
* gnu/packages/xiph.scm (speex)[arguments]: New field.
2019-12-11 22:28:21 +01:00
Marius Bakke
1e667df433
gnu: libvpx: Do not build static libraries.
* gnu/packages/video.scm (libvpx)[arguments]: Add "--disable-static" to
  #:configure-flags.
2019-12-11 22:28:21 +01:00
Ricardo Wurmus
1f3a2ebd6a
gnu: Add emacs-almost-mono-themes.
* gnu/packages/emacs-xyz.scm (emacs-almost-mono-themes): New variable.
2019-12-11 21:59:00 +01:00
Alex Griffin
b0945d6944
gnu: netcat-openbsd: Update to 1.206-1.
* gnu/packages/admin.scm (netcat-openbsd): Update to 1.206-1.
2019-12-11 13:38:15 -06:00
Leo Prikler
997153a132
gnu: gnome-shell-extension-dash-to-dock: Update to 66.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-dash-to-dock):
Update to 66.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2019-12-11 18:05:18 +02:00
Ricardo Wurmus
98aecd3a5e
gnu: python-argcomplete: Update to 1.10.3.
Co-authored-by: pimi <madalinionel.patrascu@mdc-berlin.de>

* gnu/packages/python-xyz.scm (python-argcomplete): Update to 1.10.3.
[arguments]: Patch completion script to keep tool references.
[inputs]: Add "grep" and "which".
[native-inputs]: Add "python-coverage", "python-flake8", "python-wheel", and
"fish".
2019-12-11 15:50:00 +01:00
Ricardo Wurmus
b47e083b59
gnu: vpnc-scripts: Use WRAP-SCRIPT.
* gnu/packages/vpn.scm (vpnc-scripts)[arguments]: Use WRAP-SCRIPT instead of
WRAP-PROGRAM.
[inputs]: Add guile.
2019-12-11 15:50:00 +01:00
Diego Nicola Barbato
1e2640baac
gnu: qemu: Build with vde2 support.
* gnu/packages/virtualization.scm (qemu)[inputs]: Add vde2.
* gnu/packages/virtualization.scm (qemu-minimal)[inputs]: Remove vde2 from
  inherited inputs.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-12-11 12:13:03 +01:00
Diego Nicola Barbato
a0993c29da
gnu: Add vde2.
* gnu/packages/networking.scm (vde2): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-12-11 12:13:03 +01:00
Brice Waegeneire
263a267b75
import: crate: Better handle license expressions.
* guix/import/crate.scm (%dual-license-rx): Removed function.
(crate->guix-package): Handle most of the multi-licensing cases.
* tests/crate.scm (licenses): Add tests for some licenses.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-12-11 12:13:03 +01:00
Brian Leung
4982de4c32
import: crate: Add recursive import test.
* tests/crate.scm (test-crate): Rename to...
(test-foo-crate): ... this.
(test-dependencies): Rename to...
(test-foo-dependencies): ... this.
(test-root-crate, test-root-dependencies, test-intermediate-1-crate)
(test-intermediate-1-dependencies, test-intermediate-2-crate)
(test-intermediate-2-dependencies, test-leaf-alice-crate)
(test-leaf-alice-dependencies, test-leaf-bob-crate)
(test-leaf-bob-dependencies): New variables.
("crate->guix-package"): Adjust accordingly.
("cargo-recursive-import"): New test.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-12-11 12:13:03 +01:00
Ludovic Courtès
70a8e13277
import: utils: 'recursive-import' returns a list rather than a stream.
* guix/import/utils.scm (recursive-import): Remove 'list->stream' call.
* guix/scripts/import/cran.scm (guix-import-cran): Remove 'stream->list'
call.
* guix/scripts/import/crate.scm (guix-import-crate): Likewise.
* guix/scripts/import/elpa.scm (guix-import-elpa): Likewise.
* guix/scripts/import/gem.scm (guix-import-gem): Likewise.
* guix/scripts/import/hackage.scm (guix-import-hackage): Likewise.
* guix/scripts/import/opam.scm (guix-import-opam): Likewise.
* guix/scripts/import/pypi.scm (guix-import-pypi): Likewise.
* guix/scripts/import/stackage.scm (guix-import-stackage): Likewise.
* tests/gem.scm ("gem-recursive-import"): Likewise.
* tests/import-utils.scm ("recursive-import"): Likewise.

Co-authored-by: Brian Leung <bkleung89@gmail.com>
2019-12-11 12:13:03 +01:00
Ludovic Courtès
ddd5915900
import: utils: 'recursive-import' returns packages in topological order.
* guix/import/utils.scm (topological-sort): New procedure.
(recursive-import): Rewrite to use it.
* tests/import-utils.scm ("recursive-import"): New test.
* guix/import/cran.scm (cran->guix-package): Always return two values.
* guix/scripts/import/cran.scm (guix-import-cran): Remove 'reverse' call
on 'cran-recursive-import' result.
* guix/scripts/import/crate.scm (guix-import-crate): Likewise.
* guix/scripts/import/elpa.scm (guix-import-elpa): Likewise.
* guix/scripts/import/gem.scm (guix-import-gem): Likewise.
* guix/scripts/import/hackage.scm (guix-import-hackage): Likewise.
* guix/scripts/import/opam.scm (guix-import-opam): Likewise.
* guix/scripts/import/pypi.scm (guix-import-pypi): Likewise.
* guix/scripts/import/stackage.scm (guix-import-stackage): Likewise.
* tests/gem.scm ("gem-recursive-import"): Change the order of package
expressions accordingly.
2019-12-11 12:12:58 +01:00
Nicolò Balzarotti
6c3021a840
gnu: Add r-lintr.
* gnu/packages/cran.scm (r-lintr): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-12-11 12:10:15 +01:00
Nicolò Balzarotti
bd538a031e
gnu: Add r-cyclocomp.
* gnu/packages/cran.scm (r-cyclocomp): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-12-11 12:08:19 +01:00
Nicolò Balzarotti
f00da07471
gnu: Add r-xmlparsedata.
* gnu/packages/cran.scm (r-xmlparsedata): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-12-11 12:06:41 +01:00
Nicolò Balzarotti
5d387030e8
gnu: Add r-statcheck.
* gnu/packages/cran.scm (r-statcheck): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-12-11 12:06:41 +01:00
Hartmut Goebel
e87b83b62c
gnu: Deprecate kdevplatform package.
* gnu/packages/kde.scm (kdevplatform): Define as a deprecated alias
  for 'kdevelop`.
2019-12-11 11:52:51 +01:00
Hartmut Goebel
6e23bee634
gnu: kdevelop: Update to 5.4.5.
* gnu/packages/kde.scm(kdevelop): Update to 5.4.5, use qt-build-sytem.
  [native-inputs]: Move shared-mime-info from …
  [inputs] … here; Remove kconfig, kdevplatform, libepoxy; Add apr, apr-util,
  astyle, attica, boost, kconfigwidgets, kservice, libkomparediff2,
  oxygen-icons, qtquickcontrols2, sonnet, subversion; structure and sort list
  of inputs.
  [arguments] Disable tests.  <phases>: Base on phases from qt-build-system.
  {wrap-executable}: Remove.  {add-include-path}: New phase.  {check} Keep it..
2019-12-11 11:52:50 +01:00
Hartmut Goebel
498abd9534
gnu: kdevelop-pg-qt: Update to 2.2.0.
* gnu/packages/kde.scm(kdevelop-pg-qt): Update to 2.2.0.
2019-12-11 11:52:50 +01:00