Commit graph

60736 commits

Author SHA1 Message Date
Mathieu Othacehe
dff31d41d9
mailmap: Update for self.
Add "othacehe@gnu.org" mail address.
2020-05-15 09:08:46 +02:00
Jan Wielkiewicz
da358e8c88
gnu: Add ffmpeg-jami.
This package is needed because Jami uses a modified version
of ffmpeg, which provides GPU hardware acceleration, automatical
adapting of bitrate and extra codecs. Because of the configure flags
list being long, it is better to keep them separated in variables,
instead of littering the package definition.

* gnu/packages/jami.scm (ffmpeg-jami, %ffmpeg-default-configure-flags,
%ffmpeg-linux-configure-flags, %ffmpeg-linux-x86-configure-flags):
New variables.
(ffmpeg-compose-configure-flags): New procedure.
(libring)[inputs]: Use ffmpeg-jami instead of ffmpeg.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-05-15 09:08:46 +02:00
Maxim Cournoyer
cb21ae7671
etc: indent-code.el: Use the --quick option.
This prevents Emacs from loading the autoload definitions found in its
profile, which needlessly clutters the output.  It also prevents Geiser (if
installed) from blocking the script and asking the user to input the Scheme
implementation to use.

The trick for passing multiple arguments to Emacs is to use what is called a
"sesquicolon" (see https://www.emacswiki.org/emacs/EmacsScripts).

* etc/indent-code.el.in: Rename to...
* etc/indent-code.el: ...this.  Adapt the shebang to use a sesquicolon, and
pass the --quick option to Emacs.  Since this line is interpreted by the
shell, simply use Emacs from the PATH instead of from a hard coded location.
(main): New procedure, used as the entry point.
* configure.ac: Remove the warning about Emacs.  Emacs can now be installed
any time by the user if they want to use the script.
* .gitignore: No longer ignore changes to etc/indent-code.el.
2020-05-14 23:05:42 -04:00
Mark H Weaver
b6d18fbdf6
gnu: linux-libre: Update to 5.4.41.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.41.
(linux-libre-5.4-pristine-source): Update hash.
2020-05-14 18:11:26 -04:00
Mark H Weaver
9e5b793b69
gnu: linux-libre@5.6: Update to 5.6.13.
* gnu/packages/linux.scm (linux-libre-5.6-version): Update to 5.6.13.
(linux-libre-5.6-pristine-source): Update hash.
2020-05-14 18:10:56 -04:00
Mark H Weaver
e57aa31680
gnu: linux-libre@4.19: Update to 4.19.123.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.123.
(linux-libre-4.19-pristine-source): Update hash.
2020-05-14 18:09:59 -04:00
Ludovic Courtès
d395323343
gnu: sudo: Disable Python support when cross-compiling.
* gnu/packages/admin.scm (sudo)[arguments]: Pass "--disable-python"
when (%current-target-system) is true.
[inputs]: Remove PYTHON when (%current-target-system) is true.
2020-05-15 00:01:39 +02:00
Ludovic Courtès
4daa7a85b4
locale: Use the native gzip and libc when building locales.
This fixes system cross-compilation.

* gnu/system/locale.scm (single-locale-directory)[build]: Use the native
GZIP and LIBC.
2020-05-15 00:01:39 +02:00
Ludovic Courtès
2050734717
channels: Move quirks and patches to (guix quirks).
* guix/channels.scm (apply-patches): Don't access <patch> record
directly; use 'applicable-patch?' and 'apply-patch' instead.
(<patch>, syscalls-reexports-local-variables?)
(guile-2.2.4, %quirks, %bug-41028-patch, %patches): Move to...
* guix/quirks.scm: ... here.  New file.
(apply-patch, applicable-patch?): New procedures.
2020-05-15 00:01:39 +02:00
Ludovic Courtès
bbd9c9c901
gnu: mcron: Allow cross-compilation.
* gnu/packages/guile-xyz.scm (mcron)[native-inputs]: Add "guile-native".
2020-05-15 00:01:39 +02:00
Marius Bakke
27ced65656
gnu: blueman: Use bootstrapped tarball.
* gnu/packages/networking.scm (blueman)[source]: Switch to URL-FETCH.
[native-inputs]: Remove AUTOCONF, AUTOMAKE, AUTOGEN, and LIBTOOL.
2020-05-14 23:44:17 +02:00
Marius Bakke
ad477560be
gnu: blueman: Remove obsolete phase.
* gnu/packages/networking.scm (blueman)[arguments]: Remove setenv phase.
2020-05-14 23:44:16 +02:00
Julien Lepiller
9a9799ffa8
gnu: php: Update to 7.4.6.
* gnu/packages/php.scm (php): Update to 7.4.6.
2020-05-14 23:26:14 +02:00
Pierre Neidhardt
93c188d4c4
gnu: ccl: Update to 1.12.
* gnu/packages/lisp.scm (ccl): Update to 1.12.
[native-inputs]: Remove subversion.
[license]: Change to asl2.0.
(ccl-1.12): Remove obsolete variable.
2020-05-14 21:54:57 +02:00
Raghav Gururajan
c5a9b16dbd
gnu: blueman: Update package definition.
* gnu/packages/networking.scm (blueman): Fixes.
[version]: Upgrade to 2.1.3.
[source]<origin>[method]: Change from url-fetch to git-fetch.
[arguments]<#:phases>['setenv]: New phase.
['patch-python-references]: New phase.
['patch-external-programs]: New phase.
['patch-pulseaudio-libraries]: New phase.
['wrap-blueman-progs]: New phase.
[native-inputs]: Add autoconf, autogen, automake and gobject-introspection.
[inputs]: Add iptables and ppp. Remove adwaita-icon-theme.

Signed-off-by: Pierre Neidhardt <mail@ambrevar.xyz>
2020-05-14 19:11:27 +02:00
Nicolò Balzarotti
c7b777130f
gnu: Add libappindicator.
* gnu/packages/freedesktop.scm (libappindicator): New variable.

Signed-off-by: Pierre Neidhardt <mail@ambrevar.xyz>
2020-05-14 19:11:27 +02:00
Nicolò Balzarotti
5e2750fb9e
gnu: Add libindicator.
* gnu/packages/freedesktop.scm (libindicator): New variable.

Signed-off-by: Pierre Neidhardt <mail@ambrevar.xyz>
2020-05-14 19:11:26 +02:00
Nicolò Balzarotti
522b1148d1
gnu: Add dbus-test-runner.
* gnu/packages/glib.scm (dbus-test-runner): New variable.

Signed-off-by: Pierre Neidhardt <mail@ambrevar.xyz>
2020-05-14 19:11:26 +02:00
Ludovic Courtès
febd1fcfa0
news: Add news entry for 'guix pack -RR' and Fakechroot.
* etc/news.scm: Add entry.
2020-05-14 17:21:47 +02:00
Ludovic Courtès
6456232164
pack: Add relocation via ld.so and fakechroot.
* gnu/packages/aux-files/run-in-namespace.c (HAVE_EXEC_WITH_LOADER): New
macro.
(bind_mount): Rename to...
(mirror_directory): ... this.  Add 'firmlink' argument and use it
instead of calling mkdir/open/close/mount directly.
(bind_mount, make_symlink): New functions.
(exec_in_user_namespace): Adjust accordingly.
(exec_with_loader) [HAVE_EXEC_WITH_LOADER]: New function.
(exec_performance): New function.
(engines): Add them.
* guix/scripts/pack.scm (wrapped-package)[fakechroot-library]
[audit-module]: New procedures.
[audit-source]: New variable.
[build](elf-interpreter, elf-loader-compile-flags): New procedures.
(build-wrapper): Use them.
* tests/guix-pack-relocatable.sh: Test with
'GUIX_EXECUTION_ENGINE=fakechroot'.
* doc/guix.texi (Invoking guix pack): Document the 'performance' and
'fakechroot' engines.
* gnu/packages/aux-files/pack-audit.c: New file.
* Makefile.am (AUX_FILES): Add it.
2020-05-14 17:21:27 +02:00
Ludovic Courtès
4449e7c5e4
gnu: Add fakechroot.
* gnu/packages/linux.scm (fakechroot): New variable.
2020-05-14 17:21:27 +02:00
Ludovic Courtès
0cd13e72f2
pack: Factorize store references in wrapper.
* gnu/packages/aux-files/run-in-namespace.c (original_store): New variable.
(exec_in_user_namespace, exec_with_proot, main): Use it instead of the
literal "@STORE_DIRECTORY@".
2020-05-14 17:21:27 +02:00
Ludovic Courtès
fde2aec3f4
pack: Wrapper honors 'GUIX_EXECUTION_ENGINE' environment variable.
* gnu/packages/aux-files/run-in-namespace.c (struct engine): New type.
(exec_default): New function.
(engines): New variable.
(execution_engine): New function.
(main): Use it instead of calling 'exec_in_user_namespace' and
'exec_with_proot' directly.
* tests/guix-pack-relocatable.sh: Add test with 'GUIX_EXECUTION_ENGINE'.
* doc/guix.texi (Invoking guix pack): Document 'GUIX_EXECUTION_ENGINE'.
2020-05-14 17:21:27 +02:00
Ludovic Courtès
80963744a2
store: 'mapm/accumulate-builds' preserves '%current-target-system'.
Fixes <https://bugs.gnu.org/41182>.

* guix/store.scm (mapm/accumulate-builds): Pass #:system and #:target to
'run-with-store'.
* tests/store.scm ("mapm/accumulate-builds, %current-target-system"):
New test.
* tests/guix-pack.sh: Add 'guix pack -d --target' test.
2020-05-14 17:21:27 +02:00
Ludovic Courtès
f52fbf7094
packages: Ensure bags are insensitive to '%current-target-system'.
Fixes a bug whereby a bag's transitive dependencies would depend on the
global '%current-target-system' value.

Partly fixes <https://issues.guix.gnu.org/41182>.

* guix/packages.scm (bag-transitive-inputs)
(bag-transitive-build-inputs, bag-transitive-target-inputs):
Parameterize '%current-target-system'.
* tests/packages.scm ("package->bag, sensitivity to %current-target-system"):
New test.
2020-05-14 17:21:27 +02:00
Ludovic Courtès
a89df83c79
pack: Do not cross-compile the image building tools.
Until now, something like:

  guix pack -f docker --target=arm-linux-gnueabihf

would attempt to cross-compile tar.

* guix/scripts/pack.scm (self-contained-tarball): Pass #:target to
'gexp->derivation'.
(squashfs-image): Use #+ instead of #$ for ARCHIVER.  Use 'file-append'
instead of 'string-append'.  Pass #:target to 'gexp->derivation'.
(docker-image): Likewise.
2020-05-14 17:21:27 +02:00
Guillaume Le Vaillant
19e8a75418
gnu: dump1090: Don't hard-code CC=gcc.
* gnu/packages/radio.scm (dump1090)[arguments]: Add 'make-flags' field to set
  'CC' to the right compiler, remove 'configure' phase.
2020-05-14 17:17:47 +02:00
Guillaume Le Vaillant
ac4847ebaf
gnu: js8call: Fix undefined symbol error when starting the program.
* gnu/packages/radio.scm (js8call)[arguments]: Add 'work-around-runtime-bug'
  phase.
2020-05-14 17:17:47 +02:00
Guillaume Le Vaillant
b79794a763
gnu: wsjtx: Fix undefined symbol error when starting the program.
* gnu/packages/radio.scm (wsjtx)[arguments]: Add 'work-around-runtime-bug'
  phase.
2020-05-14 17:17:47 +02:00
Jan (janneke) Nieuwenhuizen
7adb529949
gnu: Add sparse.
* gnu/packages/c.scm (sparse): New variable.
2020-05-14 16:57:31 +02:00
Jonathan Brielmaier
5c7e477c6c
gnu: exo: Fix exo-compose-mail.
Fixes <https://issues.guix.gnu.org/issue/41244>.

* gnu/packages/xfce.scm (exo)[arguments]: Add wrap-exo-compose-mail phase so
it can find URI::Escape from perl-uri.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2020-05-14 16:48:45 +02:00
Efraim Flashner
355892e1c2
gnu: qemu-minimal: Only build for the host's architecture.
* gnu/packages/virtualization.scm (qemu-minimal)[arguments]: Adjust
configure-flags so that each architecture only builds for its native
architectures.
[synopsis]: Adjust to clarify it's only for the host's architecture.
2020-05-14 17:28:05 +03:00
Marius Bakke
f227dd489b
gnu: python-automat: Update to 20.2.0.
Fixes <https://bugs.gnu.org/41249>.
Reported by Mikhail Tsykalov <tsymsh@gmail.com>.

* gnu/packages/python-xyz.scm (python-automat): Update to 20.2.0.
2020-05-14 16:23:50 +02:00
Brice Waegeneire
32290b2c35
gnu: hackrf: Simplify installation instructions.
* gnu/packages/radio.scm (hackrf)[description]: Replace
'modify-services' snippet with 'udev-rules-service'.
2020-05-14 15:54:34 +02:00
Brice Waegeneire
aee7d000f8
gnu: rtl-sdr: Simplify installation instructions.
* gnu/packages/radio.scm (rtl-sdr)[description]: Replace
'modify-services' snippet with 'udev-rules-service'.
2020-05-14 15:54:09 +02:00
Giacomo Leidi
85eed078ff
gnu: python-language-server: Update to 0.32.0.
* gnu/packages/python-xyz.scm (python-language-server): Update to 0.32.0,
[propagated-inputs]: Remove PYTHON-JEDI-0.15. Add PYTHON-JEDI.
(python-jedi-0.15, python-parso-0.5): Remove variables.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2020-05-14 15:31:23 +02:00
Ricardo Wurmus
f3e8e28152
gnu: Add emacs-icomplete-vertical.
* gnu/packages/emacs-xyz.scm (emacs-icomplete-vertical): New variable.
2020-05-14 13:13:33 +02:00
Michael Rohleder
d4e3ea3f2f
gnu: emacs-org-re-reveal: Update to 2.12.2.
[[PGP Signed Part:No public key for 7C7AFFBEFEF2CB25 created at 2020-05-14T11:15:53+0200 using RSA]]
To test this, I made a presentation about guix git workflow in emacs:
https://www.rohleder.de/~mike/guix-workflow/

maybe, its useful for someone.

From 528ccdab63cf399012582450491be6df3d8cc431 Mon Sep 17 00:00:00 2001
From: Michael Rohleder <mike@rohleder.de>
Date: Thu, 14 May 2020 08:16:49 +0000
Subject: [PATCH] gnu: emacs-org-re-reveal: Update to 2.12.2.

* gnu/packages/emacs-xyz.scm (emacs-org-re-reveal): Update to 2.12.2.
2020-05-14 11:20:51 +02:00
Björn Höfling
f6ec9f9d39
gnu: gcc-arm-none-eabi@7-2018-q2-update: Fix conflicting GCC headers.
This is a follow-up of 7f6d3f3950 and merely
a copy-and-paste of Marius Bakke's fix.

* gnu/packages/embedded.scm (gcc-arm-none-eabi-7-2018-q2-update)[arguments]:
Add phase to remove the default compiler from CPLUS_INCLUDE_PATH.
[native-inputs]: Distinguish GCC-5.
2020-05-14 10:40:30 +02:00
Brice Waegeneire
99f2c93470
gnu: libblockdev: Set default configuration directory.
Fix error from 'udisks': “Failed to get contents of the config
dir (/etc/libblockdev/conf.d/)Error opening directory
"/etc/libblockdev/conf.d/": No such file or directory.”

* gnu/packages/disk.scm (libblockdev)[arguments]: Add phase
'patch-configuration-directory'.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-14 11:25:46 +03:00
Brice Waegeneire
7d18deb22e
gnu: libblockdev: Appease guix lint.
* gnu/packages/disk.scm (libblockdev)[inputs]: Move
gobject-introspection to ...
[native-inputs]: ... here.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-14 11:25:41 +03:00
Brice Waegeneire
34316259c9
gnu: udisks: Appease guix lint.
The line is too long and HTML docs are build fine without it.

* gnu/packages/freedesktop.scm (udisks)[arguments]: Remove configure
flag '--enable-gtk-doc'.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-14 11:02:53 +03:00
Brice Waegeneire
59b7689e28
gnu: udisks: Update to 2.8.4.
* gnu/packages/freedesktop.scm (udisks): Update to 2.8.4.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-14 11:02:49 +03:00
Jan (janneke) Nieuwenhuizen
df05842332
syscalls: Add 'getxattr'.
* guix/build/syscalls.scm (getxattr): New procedure.
* tests/syscalls.scm ("getxattr, setxattr"): Test it, together with setxattr.
2020-05-14 00:48:12 +02:00
Marius Bakke
1a044e3936
gnu: freehdl: Fix build failure.
Fixes <https://bugs.gnu.org/41246>.
Reported by  tsmish <tsymsh@gmail.com>.

* gnu/packages/engineering.scm (freehdl)[source](patches): New field.
[native-inputs]: Remove GCC-5.
2020-05-14 00:21:41 +02:00
Ludovic Courtès
a4d76a514f
compile: Reduce optimization levels for gnu/services and gnu/packages.
* guix/build/compile.scm (optimization-options)[strip-option]
[override-option]: New procedures.
Add case for "gnu/services".  Change "gnu/packages" to
'-O0 -Opartial-eval'.
2020-05-13 23:35:57 +02:00
Ludovic Courtès
ad263045b9
services: Add missing import.
* gnu/services/audio.scm: Import (ice-9 format).
2020-05-13 23:35:57 +02:00
Jan (janneke) Nieuwenhuizen
d155c9d934
syscalls: Add 'setxattr'.
* guix/build/syscalls.scm (setxattr): New procedure.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2020-05-13 23:26:06 +02:00
Kei Kebreau
e792dd3244
gnu: Add libqglviewer.
* gnu/packages/qt.scm (libqglviewer): New variable.
2020-05-13 17:03:55 -04:00
Michael Rohleder
ad81708d22
gnu: hstr: Update to 2.2.
* gnu/packages/shellutils.scm (hstr): Update to 2.2.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-13 22:42:34 +03:00