Commit graph

58122 commits

Author SHA1 Message Date
Ludovic Courtès
376ba0ce57
store: 'with-store' uses 'with-exception-handler'.
This ensures the stack is not unwound before the exception is re-thrown,
as was the case since 8ed597f4a2, leading
to '&store-protocol-error' being uncaught by 'with-error-handling'
in (guix scripts build) & co.

* guix/store.scm (call-with-store): Define 'thunk'.  Add 'cond-expand'
to use 'with-exception-handler' on 'guile-3' and 'catch' otherwise.
2020-04-05 00:36:44 +02:00
Ludovic Courtès
524a4e357c
gnu: cross-base: Remove unneeded 'let'.
This is a followup to 102d307520.

* gnu/packages/cross-base.scm (cross-libc): Remove (let ((libc libc)) …).
2020-04-05 00:36:43 +02:00
Nicolas Goaziou
0189574375
gnu: hydrogen: Update to 1.0.0-beta2.
* gnu/packages/music.scm (hydrogen): Update to 1.0.0-beta2.
[native-inputs]: Add qttools.
[inputs]: Add liblo and pulseaudio, remove libtar.
2020-04-05 00:25:10 +02:00
Nicolas Goaziou
211cf6dc68
gnu: denemo: Update to 2.3.0.
* gnu/packages/music.scm (denemo): Update to 2.3.0.
[arguments]: Augment `check' phase for tests to pass.  Remove unnecessary
phase.
[native-inputs]: Add diffutils.
2020-04-04 23:30:47 +02:00
Carl Dong
4719b71572
gnu: mingw: Add mingw-w64 reproducibility patches.
These patches were originally found at the debian mingw-w64 team's
mingw-w64 repo, and should improve the reproducibility of our mingw-w64
toolchain.

* gnu/packages/patches/mingw-w64-dlltool-temp-prefix.patch: New file.
* gnu/packages/patches/mingw-w64-reproducible-gendef.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/mingw.scm (make-mingw-w64): Apply patches.
2020-04-04 16:23:07 -04:00
Vincent Legoll
19b10c91e8
gnu: gparted: Make some inputs native.
* gnu/packages/disk.scm (gparted)[inputs]: Move yelp-tools from here...
[native-inputs]: ...to here.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-04-04 22:02:17 +02:00
Ivan Kozlov
b2fff3b5de
system: Don’t create a module database when no modules are available.
* gnu/system.scm (operating-system-directory-base-entries): Don't create
a module database when no modules are available.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-04-04 21:13:26 +02:00
Vincent Legoll
5a46779e9f
gnu: rubber: Make some inputs native.
* gnu/packages/tex.scm (rubber)[inputs]: Move texinfo from here...
[native-inputs]: ...to this new field.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-04-04 20:19:19 +02:00
Vincent Legoll
525e83ec83
gnu: scotch: Make some inputs native.
* gnu/packages/math.scm (scotch)[inputs]: Move flex & bison from here...
[native-inputs]: ...to this new field.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-04-04 20:19:03 +02:00
Vincent Legoll
79edfcf268
gnu: telegram-purple: Make some inputs native.
* gnu/packages/telephony.scm (telegram-purple)[inputs]: Move gettext from here...
[native-inputs]: ...to here.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-04-04 20:18:52 +02:00
Vincent Legoll
28c0a2d4f5
gnu: jami: Make some inputs native.
* gnu/packages/telephony.scm (jami)[inputs]: Move gettext from here...
[native-inputs]: ...to here.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-04-04 20:18:42 +02:00
Vincent Legoll
a7f6202437
gnu: libkate: Make some inputs native.
* gnu/packages/xiph.scm (libkate)[inputs]: Move bison from here...
[native-inputs]: ...to here.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-04-04 20:18:29 +02:00
Vincent Legoll
4a5ae4ebf7
gnu: man-db: Make some inputs native.
* gnu/packages/man.scm (man-db)[inputs]: Move flex from here...
[native-inputs]: ...to here.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-04-04 20:18:10 +02:00
Guillaume Le Vaillant
5ef1b17578
gnu: qgis: Fix some plugins.
* gnu/packages/geo.scm (qgis)[arguments]: Add a 'wrap-gis' phase to set the
  environment variables required by some plugins.
2020-04-04 20:03:06 +02:00
Ludovic Courtès
3cea550788
tests: Adjust '--with-commit' test for tags.
This is a followup to efa578ecae.

* tests/guix-build-branch.sh: Adjust '--with-commit=guile-gcrypt=v0.1.0'
test to expect the tag ID rather than the commit ID.
2020-04-04 18:52:36 +02:00
Ludovic Courtès
8ed597f4a2
store: 'with-store' doesn't close the store upon abort.
Fixes <https://bugs.gnu.org/40428>.
Reported by Marius Bakke <mbakke@fastmail.com> and 白い熊.

Regression introduced with the first uses of 'with-build-handler' in
commit 62195b9a8f and subsequent.

* guix/store.scm (call-with-store): Use 'catch #t' instead of
'dynamic-wind'.  This ensures STORE remains open when a non-local exit
other than an exception occurs, such as an abort to the build handler
prompt.
* tests/store.scm ("with-build-handler + with-store"): New test.
2020-04-04 18:52:35 +02:00
Ludovic Courtès
d8c8bfcc1f
maint: Remove unsupported cross-compilation jobs from 'release-manifest.scm'.
* etc/release-manifest.scm (%packages-to-cross-build-for-mingw): New
variable.
(%cross-manifest): Use it.  Remove "riscv64-linux-gnu" from %CROSS-TARGETS.
2020-04-04 18:52:35 +02:00
Julien Lepiller
3a3b594822
gnu: ocaml-menhir: Update to 20190626.
* gnu/packages/ocaml.scm (ocaml-menhir): Update to 20190626.
2020-04-04 18:34:42 +02:00
Marius Bakke
f2d97d577d
gnu: Replace uses of 'gettext' with 'gettext-minimal'.
* gnu/packages/cdrom.scm (dvdstyler)[native-inputs]: Change from GNU-GETTEXT
to GETTEXT-MINIMAL.
* gnu/packages/emulators.scm (dolphin-emu)[native-inputs]: Likewise.
* gnu/packages/engineering.scm (lepton-eda, kicad, kicad-i18l)[native-inputs]:
Likewise.
* gnu/packages/games.scm (quadrapassel, edgar)[native-inputs]: Likewise.
* gnu/packages/gnome.scm (eog-plugins, workrave, geary)[native-inputs]: Likewise.
* gnu/packages/guile-xyz.scm (guile-gi, emacsy)[native-inputs]: Likewise.
* gnu/packages/image.scm (gpick)[native-inputs]: Likewise.
* gnu/packages/messaging.scm (telegram-purple)[native-inputs]: Likewise.
* gnu/packages/music.scm (fmit)[native-inputs]: Likewise.
* gnu/packages/package-management.scm (flatpak)[native-inputs]: Likewise.
* gnu/packages/patchutils.scm (quilt)[native-inputs]: Likewise.
* gnu/packages/photo.scm (hugin)[native-inputs]: Likewise.
* gnu/packages/security-token.scm (eid-mw)[native-inputs]: Likewise.
* gnu/packages/telephony.scm (jami)[native-inputs]: Likewise.
* gnu/packages/texinfo.scm (pinfo)[native-inputs]: Likewise.
* gnu/packages/vulkan.scm (vkd3d)[native-inputs]: Likewise.
* gnu/packages/web.scm (cadaver)[native-inputs]: Likewise.
2020-04-04 15:48:44 +02:00
Marius Bakke
0c2e94f21f
gnu: cadaver: Build with OpenSSL 1.0.
* gnu/packages/web.scm (cadaver)[inputs]: Change from OPENSSL to OPENSSL-1.0.
2020-04-04 15:48:31 +02:00
Naga Malleswari
600b6d4378
gnu: Add r-asd.
* gnu/packages/cran.scm (r-asd): New variable.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-04-04 15:26:06 +02:00
Vincent Legoll
a5a2d79b91
gnu: c-reduce: Make some inputs native.
* gnu/packages/debug.scm (c-reduce)[inputs]: Move flex from here...
[native-inputs]: ...to this new field.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-04-04 12:45:36 +02:00
Vincent Legoll
d6f1f60721
gnu: ell: Make some inputs native.
* gnu/packages/linux.scm (ell)[inputs]: Move libtool from here...
[native-inputs]: ...to here.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-04-04 12:45:36 +02:00
Vincent Legoll
5f98b84cd9
gnu: dico: Make some inputs native.
* gnu/packages/dico.scm (dico)[inputs]: Move groff from here...
[native-inputs]: ...to this new field.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-04-04 12:45:36 +02:00
Vincent Legoll
6e834bdd9f
gnu: a2ps: Make some inputs native.
* gnu/packages/pretty-print.scm (a2ps)[inputs]: Move groff from here...
[native-inputs]: ...to here.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-04-04 12:45:36 +02:00
Naga Malleswari
dd233e4dfa
gnu: gnome-online-accounts: Update to 3.36.0.
* gnu/packages/gnome.scm (gnome-online-accounts): Update to 3.36.0.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-04-04 12:14:21 +02:00
Naga Malleswari
49dcd7fc2f
gnu: gnome-online-miners: Update to 3.34.0.
* gnu/packages/gnome.scm (gnome-online-miners): Update to 3.34.0.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-04-04 12:14:20 +02:00
Dimakakos Dimos
cdbbb94c69
gnu: Deprecate emacs-modus-themes.
* gnu/package/emacs-xyz.scm (emacs-modus-themes): Deprecate it.
2020-04-04 11:34:26 +02:00
Dimakakos Dimos
56ec01132e
gnu: Add emacs-modus-operandi-theme.
* gnu/packages/emacs-xyz.scm (emacs-modus-operandi-theme): New variable.
2020-04-04 11:34:24 +02:00
Dimakakos Dimos
51d4587a69
gnu: Add emacs-modus-vivendi-theme.
* gnu/packages/emacs-xyz.scm (emacs-modus-vivendi-theme): New variable.
2020-04-04 11:33:09 +02:00
Maxim Cournoyer
e8a1c5af84
gnu: spandsp: Disable parallel build.
The build could otherwise fail non-deterministically.

Reported-by: Raghav Gururajan <raghavgururajan@disroot.org>

* gnu/packages/telephony.scm (spandsp)[arguments]: Set parallel-build? to
false.
2020-04-03 23:01:45 -04:00
Mark H Weaver
d24e598a78
gnu: icecat: Update to 68.6.1-guix0-preview1 [security fixes].
Includes fixes for CVE-2020-6819 and CVE-2020-6820.

* gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update.
(icecat-source): Update gnuzilla commit, base version, and hashes.
* gnu/packages/patches/icecat-makeicecat.patch: Adapt to new version.
2020-04-03 21:28:43 -04:00
Vagrant Cascadian
f97a4279f0
gnu: Add linux-libre-arm64-generic-5.6.
* gnu/packages/linux (linux-libre-arm64-generic-5.6): New variable.
2020-04-03 16:09:12 -07:00
Vagrant Cascadian
3e91ca4476
gnu: Add linux-libre-arm-generic-5.6.
* gnu/packages/linux (linux-libre-arm-generic-5.6): New variable.
2020-04-03 16:08:55 -07:00
Vagrant Cascadian
1b131e1f5a
gnu: Add linux-libre 5.6.2.
* gnu/packages/linux (deblob-scripts-5.6): New variable.
  (linux-libre-5.6-version): New variable.
  (linux-libre-5.6-pristine-source): New variable.
  (linux-libre-5.6-source): New variable.
  (linux-libre-headers-5.6): New variable.
  (linux-libre-5.6): New variable.
2020-04-03 16:08:03 -07:00
Mark H Weaver
41a795e726
gnu: linux-libre: Update to 5.4.30.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.30.
(linux-libre-5.4-pristine-source): Update hash.
2020-04-03 17:30:39 -04:00
Mark H Weaver
fa015e2f68
gnu: linux-libre@4.19: Update to 4.19.114.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.114.
(linux-libre-4.19-pristine-source): Update hash.
2020-04-03 17:30:03 -04:00
Mark H Weaver
331c55059c
gnu: linux-libre@4.14: Update to 4.14.175.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.175.
(linux-libre-4.14-pristine-source): Update hash.
2020-04-03 17:29:28 -04:00
Mark H Weaver
486ff941cb
gnu: linux-libre@4.9: Update to 4.9.218.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.218.
(linux-libre-4.9-pristine-source): Update hash.
2020-04-03 17:28:57 -04:00
Mark H Weaver
cec3a09314
gnu: linux-libre@4.4: Update to 4.4.218.
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.218.
(linux-libre-4.4-pristine-source): Update hash.
2020-04-03 17:27:48 -04:00
Ludovic Courtès
b256d13619
gnu: cross-base: Add 'package-with-patches'.
This is a followup to c1c50cb5b0.

* gnu/packages/cross-base.scm (package-with-patch): Rename to...
(package-with-patches): ... this, and take a list of patches.
(package-with-extra-patches): Use it.
(cross-binutils): Use 'search-patches' instead of 'search-patch'.
2020-04-03 23:09:59 +02:00
Ludovic Courtès
f7b5b8cd45
pack: Pass the cross-compilation target to 'run-with-store'.
This ensures '%current-target-system' is correctly bound upfront, which
some packages rely on.

* guix/scripts/pack.scm (guix-pack): Pass #:target to 'run-with-store'.
2020-04-03 23:06:43 +02:00
Carl Dong
c1c50cb5b0
gnu: cross-base: Fix PACKAGE-WITH-EXTRA-PATCHES
This also removes the execute bit from the patches added. Not sure how
or why those were set in the first place.

* gnu/packages/cross-base.scm (package-with-extra-patches): Imitate
PACKAGE-WITH-PATCH instead of using it.
* gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.patch:
Remove execute bit.
* gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch:
Remove execute bit.
2020-04-03 14:13:36 -04:00
Marius Bakke
e7a353ed46
gnu: ungoogled-chromium: Update to 80.0.3987.163-0.516e2d9.
* gnu/packages/chromium.scm (%chromium-version): Set to 80.0.3987.163.
(%chromium-origin): Update hash.
2020-04-03 17:54:39 +02:00
Maxim Cournoyer
5179b5cbe9
gnu: Add python-cantools.
* gnu/packages/python-xyz.scm (python-cantools): New variable.
2020-04-03 11:25:17 -04:00
Maxim Cournoyer
22a49c09ee
gnu: Add python-bitstruct.
* gnu/packages/python-xyz.scm (python-bitstruct): New variable.
2020-04-03 11:25:17 -04:00
Maxim Cournoyer
91b3f58de8
gnu: Add python-diskcache.
* gnu/packages/python-xyz.scm (python-diskcache): New variable.
2020-04-03 11:25:16 -04:00
Maxim Cournoyer
a9d58a801e
gnu: Add python-can.
* gnu/packages/python-xyz.scm (python-can): New variable.
2020-04-03 11:25:16 -04:00
Maxim Cournoyer
e063426031
gnu: Add python-aenum.
* gnu/packages/python-xyz.scm (python-aenum): New variable.
2020-04-03 11:25:16 -04:00
Maxim Cournoyer
aeee50b661
gnu: Add python-textparser.
* gnu/packages/python-xyz.scm (python-textparser): New variable.
2020-04-03 11:25:16 -04:00