Commit graph

60713 commits

Author SHA1 Message Date
Ricardo Wurmus
af96575f9d
gnu: openjdk11: Build in parallel.
* gnu/packages/java.scm (openjdk11)[arguments]: Remove #:parallel-build?,
 #:parallel-tests?, and #:make-flags options; add
"write-source-revision-file"; replace "build" phase; do not set
GUIX_LD_WRAPPER_ALLOW_IMPURITIES; pass JOBS variable to make in "build" and
"build-jre" phases.
2020-05-17 15:16:44 +02:00
Ricardo Wurmus
1adf49df29
gnu: openjdk11: Simplify snippet.
* gnu/packages/java.scm (openjdk11)[source]: Use regular expression in
find-files.
2020-05-17 15:16:44 +02:00
Ricardo Wurmus
8a938d4b79
gnu: openjdk10: Simplify snippet.
* gnu/packages/java.scm (openjdk10)[source]: Use regular expression in
find-files.
2020-05-17 15:16:44 +02:00
Ricardo Wurmus
f3273e0f71
gnu: openjdk9: Build in parallel.
* gnu/packages/java.scm (openjdk9)[arguments]: Add phase
"write-source-revision-file"; replace "build" phase; add make-flags; remove
GUIX_LD_WRAPPER_ALLOW_IMPURITIES.
2020-05-17 15:16:44 +02:00
Ricardo Wurmus
91cd6ba71b
gnu: openjdk9: Simplify snippet.
* gnu/packages/java.scm (openjdk9)[source]: Use only one find-files
invocation.
2020-05-17 15:16:43 +02:00
Marius Bakke
8d33f263c1
gnu: autoconf-wrapper: Use Guile 3.0.
* gnu/packages/autotools.scm (make-autoconf-wrapper)[inputs]: Change from
GUILE-2.0 to GUILE-3.0/FIXED.
2020-05-17 14:14:12 +02:00
Marius Bakke
8359a5f187
gnu: autoconf-wrapper: Use 'bash-minimal'.
* gnu/packages/autotools.scm (make-autoconf-wrapper)[inputs]: Change from BASH
to BASH-MINIMAL.
2020-05-17 14:13:42 +02:00
Marius Bakke
ae9c5966c1
gnu: jansson: Update to 2.13.1.
* gnu/packages/web.scm (jansson): Update to 2.13.1.
2020-05-17 14:13:00 +02:00
Marius Bakke
65b1e89942
gnu: c-ares: Update to 1.16.1.
* gnu/packages/adns.scm (c-ares): Update to 1.16.1.
2020-05-17 14:12:38 +02:00
Marius Bakke
fbd2d7c843
gnu: libtextstyle: Update to 0.20.2.
* gnu/packages/gettext.scm (libtextstyle)[version, source]: Inherit from
GETTEXT-MINIMAL.
2020-05-17 12:49:23 +02:00
Josh Marshall
7b46b31336
gnu: gettext-minimal: Update to 0.20.2.
* gnu/packages/gettext.scm (gettext-minimal): Update to 0.20.2.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2020-05-17 12:48:26 +02:00
Tobias Geerinckx-Rice
4c230e713a
gnu: teckit: Update to 2.5.10.
* gnu/packages/fontutils.scm (teckit): Update to 2.5.10.
2020-05-16 22:19:24 +02:00
Tobias Geerinckx-Rice
5ef432bc00
gnu: xz: Update to 5.2.5.
* gnu/packages/compression.scm (xz): Update to 5.2.5.
2020-05-16 22:19:23 +02:00
Tobias Geerinckx-Rice
9be04d64aa
gnu: zziplip: Remove upstreamed patch.
This follows up on 008ad64890,
which was absolute bork.

* gnu/packages/compression.scm (zziplib)[source]: Actually remove patch.
* gnu/packages/patches/zziplib-CVE-2018-16548.patch: Actually delete file.
* gnu/local.mk (dist_patch_DATA): Actually remove it.
2020-05-16 22:19:09 +02:00
Tobias Geerinckx-Rice
008ad64890
gnu: zziplib: Update to 0.13.71.
* gnu/packages/compression.scm (zziplib): Update to 0.13.71.
[arguments]: Make all source files writable after unpacking.
[native-inputs]: Use default Python (3).
2020-05-16 21:27:12 +02:00
Ludovic Courtès
d2cd4134c1
gexp: Simplify use of 'with-target' in 'compiled-modules'.
* guix/gexp.scm (compiled-modules)[build]: Simplify 'with-target'
handling.
2020-05-15 15:22:07 +02:00
Edouard Klein
1130e8c817
gnu: Add python-selenium.
* gnu/packages/python-web.scm (python-selenium): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-05-15 12:27:22 +02:00
Jonathan Brielmaier
35d1ac7fd8
gnu: quaternion: Update to 0.0.9.4e.
* gnu/packages/messaging.scm (quaternion): Update to 0.0.9.4e.
[source]: Upstream moved the repo to quotient-im namespace.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-05-15 12:27:22 +02:00
Jonathan Brielmaier
e9c6aed15d
gnu: libqmatrixclient: Update to 0.5.3.2.
* gnu/packages/messaging.scm (libqmatrixclient): Update to 0.5.3.2.
[source]: Name changed to libquotient, will be visible in 0.6.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-05-15 12:27:22 +02:00
Ludovic Courtès
2b8a9cca01
licenses: Update Zlib license URL.
* guix/licenses.scm (zlib): Change URL.
2020-05-15 12:27:22 +02:00
Ekaitz Zarraga
e3c3fb1d39
gnu: Add openctm.
* gnu/packages/engineering.scm (openctm): New Variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2020-05-15 12:27:17 +02:00
Ludovic Courtès
01611d141e
quirks: Add patch for <https://bugs.gnu.org/41214>.
Fixes <https://bugs.gnu.org/41214>.

* guix/quirks.scm (%bug-41214-patch): New variable.
(%patches): Add it.
2020-05-15 12:27:10 +02:00
Ludovic Courtès
9db8836916
channels: 'build-from-source' restores '%guile-for-build'.
Not restoring it would cause problems when running:

  guix time-machine --commit=6298c3ffd9654d3231a6f25390b056483e8f407c

or similar because the target Guix would be built with 2.2, and then
we'd erroneously go on and attempt build the profile with 2.2.  This
would fail because profile dependencies such as "guile-gdbm-ffi" now
target 3.0.

* guix/channels.scm (call-with-guile): New procedure.
(with-guile): New macro.
(build-from-source): Use it instead of calling 'set-guile-for-build'
just once.  This ensures that '%guile-for-build' is restored
afterwards.
2020-05-15 12:27:10 +02:00
Guillaume Le Vaillant
04191985cc
gnu: chirp: Update to 20200430.
* gnu/packages/radio.scm (chirp): Update to 20200430.
2020-05-15 11:53:29 +02:00
Raghav Gururajan
729cfbdd07
gnu: blueman: Enable AppIndicator.
* gnu/packages/networking.scm (blueman) [arguments]: Remove --disable
-appindicator configure-flag.
[inputs]: Add libappindicator.

Signed-off-by: Pierre Neidhardt <mail@ambrevar.xyz>
2020-05-15 11:43:18 +02:00
Pierre Neidhardt
afc46f2267
gnu: openrct2: Update to 0.2.6.
* gnu/packages/games.scm (openrct2): Update to 0.2.6.
2020-05-15 11:30:24 +02:00
Jan (janneke) Nieuwenhuizen
0d371c633f
syscalls: Adjust 'sockaddr-in', 'sockaddr-in6' structs for the Hurd.
* guix/build/syscalls.scm (sockaddr-in,sockaddr-in6): Rename to ...
(sockaddr-in/linux, sockaddr-in6/linux): ... this.  Rename introduced bindings
as well.
(write-socket-address!/linux,read-socket-address/linux): Rename from
(write-socket-address!, read-socket-address): ... new switches between those
and ...
(write-socket-address!/hurd, read-socket-address/hurd): ... these new function.
2020-05-15 10:08:56 +02:00
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