Attila Lendvai
42e3089752
guix: build: Factor out default collision-resolver.
...
This prepares the stage for new collision resolvers without changing the
underlying semantics too much.
* guix/build/union.scm (resolve+warn-if-harmful): New variable.
(warn-about-collision): Rename to...
(resolve-collision/default): ... this. Implement in terms of
resolve+warn-if-harmful.
(union-build): Adjust accordingly.
* guix/gexp.scm (directory-union): Likewise.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-02 17:04:46 +02:00
Attila Lendvai
e4adc665e1
guix: build: Avoid using magic literals in the code for hash length.
...
* guix/build/utils.scm (%store-hash-string-length): New constant.
(store-path-prefix-length): Factor out the calculation of the total store
prefix length.
* guix/build/graft.scm (hash-length): Use it.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-02 17:04:46 +02:00
Attila Lendvai
54c365d645
guix: build: Promote local define-inline to a define-constant util.
...
* guix/build/utils.scm: Moved/renamed define-inline from grafts.scm to an
exported define-constant util.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-02 17:04:46 +02:00
Liliana Marie Prikler
21175594a2
gnu: Make gtksourceview-5 the default gtksourceview.
...
* gnu/packages/gtk.scm (gtksourceview-5): Rename to gtksourceview.
(gtksourceview): Rename to gtksourceview-4. Adjust accordingly.
(gtksourceview-3): Adjust accordingly.
* gnu/packages/gnome.scm (tepl, sushi, gedit, gnome-calculator, xpad)
(gitg, gnome-boxes, gnome-latex, setzer, gnome-builder)
(gtranslator): Use gtksourceview-4.
* gnu/packages/guile-xyz.scm (nomad): Likewise.
* gnu/packages/mail.scm (balsa): Likewise.
* gnu/packages/messaging.scm (gajim): Likewise.
* gnu/packages/music.scm (zrythm, quodlibet): Likewise.
* gnu/packages/syndication.scm (giara): Likewise.
* gnu/packages/xfce.scm (mousepad): Likewise.
2022-09-02 17:04:46 +02:00
Liliana Marie Prikler
d30f6a2e06
gnu: gtksourceview: Update to 5.4.2.
...
* gnu/packages/gtk.scm (gtksourceview-5): New variable.
(gtksourceview): Inherit from gtksourceview-5.
2022-09-02 17:04:46 +02:00
Liliana Marie Prikler
286aedd14e
gnu: gtk: Add missing input.
...
* gnu/packages/gtk.scm (gtk)[inputs]: Add libgudev.
2022-09-02 17:04:45 +02:00
Greg Hogan
08380429b8
gnu: boost: Update to 1.80.0.
...
* gnu/packages/boost.scm (boost): Update to 1.80.0.
[source](patches): Add new and remove old upstream patches.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-01 23:37:13 +02:00
Greg Hogan
d5a122921a
gnu: doxygen: Fix build with GCC-12.
...
* gnu/packages/patches/doxygen-support-gcc-12.patch: New file.
* gnu/local.mk: Add it.
* gnu/packages/documentation.scm (doxygen)[source]: Add patch.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-01 23:37:13 +02:00
Greg Hogan
35db5d5ca4
gnu: swig: Fix build with GCC-12.
...
* gnu/packages/patches/swig-support-gcc-12.patch: New file.
* gnu/local.mk: Add it.
* gnu/packages/swig.scm (swig)[source]: Add patch.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-01 23:37:13 +02:00
Greg Hogan
6f8083e6ec
gnu: llvm-14, llvm-12: Enable RTTI.
...
* gnu/packages/llvm.scm (llvm-14, llvm-12): Enable RTTI.
[arguments]<#:configure-flags>: Switch to proper CMake flag.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-01 23:37:12 +02:00
Marius Bakke
f807d1795f
gnu: cURL: Update to 7.85.0.
...
* gnu/packages/curl.scm (curl): Update to 7.85.0.
[source](patches): Remove obsolete.
[arguments]: Remove obsolete phase.
* gnu/packages/patches/curl-easy-lock.patch,
gnu/packages/patches/curl-nghttp2-compat.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-09-01 23:37:12 +02:00
Marius Bakke
648f3d5d49
gnu: perl-io-socket-ssl: Update to 2.074.
...
* gnu/packages/web.scm (perl-io-socket-ssl): Update to 2.074.
2022-09-01 23:37:12 +02:00
Marius Bakke
d5f69a9fe5
gnu: CMake: Update to 3.24.1.
...
* gnu/packages/cmake.scm (cmake-bootstrap): Update to 3.24.1.
2022-09-01 23:37:12 +02:00
Marius Bakke
1cad443b02
gnu: mozjs@78: Patch for Python 3.10.
...
* gnu/packages/gnuzilla.scm (mozjs-78)[arguments]: Add phase.
2022-09-01 23:37:12 +02:00
Marius Bakke
48718135e7
gnu: GHC: Adjust for Python 3.10.
...
* gnu/packages/haskell.scm (ghc-8.6, ghc-8.8, ghc-8.10)[native-inputs]: Patch
the test suite for Python 3.10 compatibility.
2022-09-01 23:37:11 +02:00
Marius Bakke
7db5168db1
gnu: ruby@2.7: Incorporate grafted changes.
...
* gnu/packages/ruby.scm (ruby-2.7): Update to 2.7.6.
[replacement]: Remove.
(ruby-2.7-fixed): Remove variable.
2022-09-01 23:37:11 +02:00
Marius Bakke
58863b93b0
Merge branch 'staging' into core-updates
2022-09-01 23:26:57 +02:00
Marius Bakke
0c518f974e
Merge branch 'master' into staging
2022-09-01 23:07:33 +02:00
Maxim Cournoyer
4d361a6b51
gnu: fwupd: Disable remotes by default.
...
* gnu/packages/firmware.scm (fwupd)
[configure-flags]: Add "-Dlvfs=disabled".
[phases]{ensure-all-remotes-are-disabled}: New phase.
2022-09-01 16:26:29 -04:00
Marius Bakke
23a91e9a2e
gnu: gnome-music: Remove input labels.
...
* gnu/packages/gnome.scm (gnome-music)[native-inputs, inputs]: Remove labels.
2022-09-01 22:22:52 +02:00
Marius Bakke
ebd78999bb
gnu: network-manager-applet: Remove obsolete input.
...
* gnu/packages/gnome.scm (network-manager-applet)[native-inputs]: Remove
INTLTOOL. Add GETTEXT-MINIMAL.
2022-09-01 22:22:52 +02:00
Marius Bakke
f7902a68f9
gnu: network-manager-applet: Remove input labels.
...
* gnu/packages/gnome.scm (network-manager-applet)[native-inputs]: Remove
labels.
2022-09-01 22:22:52 +02:00
Marius Bakke
85eab13718
gnu: network-manager-applet: Update to 1.28.0.
...
* gnu/packages/gnome.scm (network-manager-applet): Update to 1.28.0.
2022-09-01 22:22:52 +02:00
Marius Bakke
a68515296c
gnu: cheese: Don't patch docbook references.
...
* gnu/packages/gnome.scm (cheese)[arguments]: Remove phase patch-docbook-xml.
2022-09-01 22:22:52 +02:00
Marius Bakke
ebcb752d4b
gnu: cheese: Remove input labels.
...
* gnu/packages/gnome.scm (cheese)[native-inputs]: Remove labels.
2022-09-01 22:22:52 +02:00
Marius Bakke
6e95917b64
gnu: cheese: Update to 41.0.
...
* gnu/packages/gnome.scm (cheese): Update to 41.0.
[source](patches): Remove.
* gnu/packages/patches/cheese-vala-update.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-09-01 22:22:51 +02:00
Marius Bakke
d2bddfd736
gnu: glade: Use G-expression.
...
* gnu/packages/gnome.scm (glade3)[arguments]: Convert to gexp.
2022-09-01 22:22:51 +02:00
Marius Bakke
ced93c14d1
gnu: glade: Don't patch docbook files.
...
* gnu/packages/gnome.scm (glade3)[arguments]: Remove phase fix-docbook.
[native-inputs]: Add LIBXML2.
2022-09-01 22:22:51 +02:00
Marius Bakke
cce200369f
gnu: glade: Remove obsolete input.
...
* gnu/packages/gnome.scm (glade3)[native-inputs]: Remove INTLTOOL. Add
GETTEXT-MINIMAL.
2022-09-01 22:22:51 +02:00
Marius Bakke
e0f79f02db
gnu: glade: Remove input labels.
...
* gnu/packages/gnome.scm (glade3)[native-inputs]: Remove labels.
2022-09-01 22:22:51 +02:00
Marius Bakke
fce9b7c365
gnu: glade: Update to 3.40.0.
...
* gnu/packages/gnome.scm (glade3): Update to 3.40.0.
[source](patches): Remove.
* gnu/packages/patches/glade-gls-set-script-name.patch,
gnu/packages/patches/glade-test-widget-null-icon.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-09-01 22:22:51 +02:00
Marius Bakke
e21e7b0b4f
gnu: glade: gjs is a run-time dependency.
...
* gnu/packages/gnome.scm (glade3)[native-inputs]: Move GJS ...
[inputs]: ... here.
2022-09-01 22:22:51 +02:00
Marius Bakke
f22c65e019
gnu: gtk-vnc: Remove obsolete input.
...
* gnu/packages/gnome.scm (gtk-vnc)[native-inputs]: Remove INTLTOOL. Add
GETTEXT-MINIMAL.
2022-09-01 22:22:51 +02:00
Marius Bakke
f5efb4271d
gnu: gtk-vnc: Remove input labels.
...
* gnu/packages/gnome.scm (gtk-vnc)[native-inputs]: Remove labels.
2022-09-01 22:22:51 +02:00
Marius Bakke
9c852ae229
gnu: gtk-vnc: Update to 1.2.0.
...
* gnu/packages/gnome.scm (gtk-vnc): Update to 1.2.0.
[inputs]: Move GLIB, GNUTLS, LIBGCRYPT, CYRUS-SASL, LIBX11, and ZLIB ...
[propagated-inputs]: ... here. Add GDK-PIXBUF.
2022-09-01 22:22:51 +02:00
Guillaume Le Vaillant
aa5e030713
gnu: Add convert-samples.
...
* gnu/packages/radio.scm (convert-samples): New variable.
2022-09-01 20:36:42 +02:00
Guillaume Le Vaillant
839349e187
gnu: csdr: Update to 0.18.0.
...
* gnu/packages/radio.scm (csdr): Update to 0.18.0.
[source, home-page]: Switch to maintained repository.
[build-system]: Switch to cmake-build-system.
[native-inputs]: Add pkg-config.
[inputs]: Add libsamplerate.
[arguments]: Remove custom 'make-flags' and phases.
2022-09-01 20:36:42 +02:00
Marius Bakke
cd10a235d9
gnu: ungoogled-chromium: Update to 105.0.5195.52-1.
...
* gnu/packages/chromium.scm (%preserved-third-party-files): Adjust for 105.
(%chromium-version): Set to 105.0.5195.52.
(%ungoogled-origin): Update hash.
(%chromium-gcc-patchset): New origin.
(origin-file, gcc-patch): New procedures.
(%gcc-patches): New variable.
(debian-patch): Implement in terms of ORIGIN-FILE.
(ungoogled-chromium-snippet): Apply %GCC-PATCHES.
(ungoogled-chromium)[source](sha256): Update hash.
[arguments]: Patch more Opus headers & simplify.
2022-09-01 19:05:17 +02:00
Josselin Poiret
4989f6acff
installer: Fix segfault on double logical partition removal.
...
* gnu/installer/parted.scm (auto-partition!): Avoid removing logical
partitions twice.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-01 18:43:28 +02:00
Ludovic Courtès
c3b1cfe76b
read-print: Guess the base to use for integers being printed.
...
Fixes <https://issues.guix.gnu.org/57090 >.
Reported by Christopher Rodriguez <yewscion@gmail.com>.
* guix/read-print.scm (%symbols-followed-by-octal-integers)
(%symbols-followed-by-hexadecimal-integers): New variables.
* guix/read-print.scm (integer->string): New procedure.
(pretty-print-with-comments): Use it.
* tests/read-print.scm: Add test.
2022-09-01 18:31:26 +02:00
Ludovic Courtès
8cf7997d7c
gnu: libtool: Reinstate 2.4.7.
...
This reverts commit 5b6b731c7d
, which was
most likely intended for 'core-updates'; 'libtool-2.4.7' is *not* a
duplicate package on the current 'master' branch.
Fixes <https://issues.guix.gnu.org/57356 >.
Reported by Michael Ford <fanquake@gmail.com>.
* gnu/packages/autotools.scm (libtool-2.4.7): New variable.
2022-09-01 18:31:26 +02:00
Ludovic Courtès
98a8b48a69
doc: Suggest more RAM for "Running Guix in a VM".
...
Fixes <https://issues.guix.gnu.org/57474 >.
Reported by Michael F. Lamb <mike@orbital.rodeo>.
Running 'guix pull' to target current revisions would lead to memory
exhaustion. Bumping the memory size works around that.
* doc/guix.texi (Running Guix in a VM): Change "-m 1024" to "-m 2048".
2022-09-01 18:31:26 +02:00
Ludovic Courtès
fe149b01d0
maint: Ignore cross-compilation to x86.
...
This is consistent with what's done by 'cross-jobs' in (gnu ci).
* etc/release-manifest.scm (%cross-manifest): Remove "x86_64-linux-gnu"
and "i686-linux-gnu" from the list returned by 'targets'.
2022-09-01 18:31:26 +02:00
Ludovic Courtès
294db8497c
gnu: ilmbase: Skip failing test on i686-linux.
...
* gnu/packages/graphics.scm (ilmbase)[arguments]: Add 'skip-test'
phase.
2022-09-01 18:31:26 +02:00
Ludovic Courtès
dfe848c9dc
gnu: ilmbase: Switch to gexps.
...
* gnu/packages/graphics.scm (ilmbase)[arguments]: Use a gexp.
2022-09-01 18:31:25 +02:00
Josselin Poiret
618699cb52
gnu: qpwgraph: Update to 0.3.5.
...
* gnu/packages/audio.scm (qpwgraph): Do it.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-01 17:42:36 +02:00
Josselin Poiret
f109f0dfe3
gnu: wireplumber: Update to 0.4.11.
...
* gnu/packages/linux.scm (wireplumber): Do it.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-01 17:42:36 +02:00
Josselin Poiret
ea87b4e98a
gnu: pipewire-0.3: Update to 0.3.56.
...
* gnu/packages/linux.scm (pipewire-0.3): Update it.
[arguments]: Restore the shrink-runpath phase, as validate-runpath passes now.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-01 17:42:36 +02:00
Peter Polidoro
13f53335ef
gnu: Add python-plotille.
...
* gnu/packages/python-xyz.scm (python-plotille): New variable.
Signed-off-by: David Thompson <davet@gnu.org>
2022-09-01 11:32:18 -04:00
Brendan Tildesley
a38889b14d
gnu: Add kwayland-server.
...
* gnu/packages/kde-plasma.scm (kwayland-server): New variable.
Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-01 17:24:01 +02:00