Commit graph

125677 commits

Author SHA1 Message Date
Sören Tempel
435090fa3f
pack: Allow setting a custom image tag for Docker images
Previously, the image repository name was automatically computed from
the packages in the manifest without allowing the user to set a custom
one. As such, changing the packages in the manifest would result in a
new image name. Thereby requiring updating documentation et cetera when
using `docker load` directory on the resulting image.

Inspired by `docker build -t`, this commit adds a new Docker-specific
option to `guix pack` which allows setting a custom repository name for
the resulting image. If this option is not specified, pack falls back
to computing the name from the manifest. Therefore, this change is
entirely backwards compatible.

Documentation has been added with: 373ec2cf8c.

* guix/scripts/pack.scm (guix-pack): Add --image-tag option.
(%docker-format-options): New constant.
(show-docker-format-options): New procedure.
(show-docker-format-options/detailed): New procedure.
(docker-image): Allow setting a custom
repository name for the created docker image via extra-options.

Signed-off-by: Sören Tempel <soeren@soeren-tempel.net>
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-10-16 09:08:13 +02:00
Efraim Flashner
a0d2ecde94
gnu: tootle: Deprecate in favor of tuba.
* gnu/packages/mastodon.scm (tootle): Deprecate for tuba.
* gnu/packages/patches/tootle-glib-object-renaming.patch,
gnu/packages/patches/tootle-reason-phrase.patch: Remove files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2023-10-15 14:25:29 +03:00
Liliana Marie Prikler
ef026e68fe
etc: snippets: Do not match unintended quotes.
* etc/snippets/tempel/scheme-mode (origin): Unquote ‘git-fetch’, ‘svn-fetch’,
‘hg-fetch’, ‘cvs-fetch’, and ‘bzr-fetch’.  Use ‘otherwise’ instead of ‘t’.
2023-10-15 12:28:19 +02:00
Liliana Marie Prikler
f0a01ff42a
gnu: Add fast-downward.
* gnu/packages/maths.scm (fast-downward): New variable.
2023-10-15 12:28:19 +02:00
Liliana Marie Prikler
f45114f38e
gnu: tracker-miners: Update to 3.3.2.
* gnu/packages/gnome.scm (tracker-miners): Update to 3.3.2.
2023-10-15 12:28:19 +02:00
Liliana Marie Prikler
5ca2a8ad94
gnu: Add ablorb.
* gnu/packages/web.scm (ablorb): New variable.
2023-10-15 12:28:19 +02:00
Liliana Marie Prikler
48286d4da4
gnu: gash-utils: Fix build.
* gnu/packages/shells.scm (gash-utils)[arguments]: Add ‘skip-failing-tests’
phase.
[native-inputs]: Add autoconf and automake.
2023-10-15 12:28:19 +02:00
Efraim Flashner
e1600546b9
gnu: xcb-util-errors: Fix cross-compiling.
* gnu/packages/xorg.scm (xcb-util-errors)[native-inputs]: When
cross-compiling add libxcb.
2023-10-15 13:12:16 +03:00
Efraim Flashner
302b14fb19
gnu: xorg-server-xwayland: Fix cross-compiling.
* gnu/packages/xorg.scm (xorg-server-xwayland)[native-inputs]: When
cross-compiling add pkg-config-for-build, wayland, wayland-protocols.
2023-10-15 13:11:39 +03:00
Efraim Flashner
f668e5c8d2
gnu: egl-wayland: Fix cross-compiling.
* gnu/packages/xorg.scm (egl-wayland)[native-inputs]: When
cross-compiling add pkg-config-for-build, wayland, wayland-protocols.
2023-10-15 13:10:50 +03:00
Efraim Flashner
bc1634a197
gnu: libxkbcommon: Fix cross-compiling.
* gnu/packages/xdisorg.scm (libxkbcommon)[native-inputs]: When
cross-compiling add pkg-config-for-build.
2023-10-15 13:10:10 +03:00
Efraim Flashner
8f84587be7
gnu: swaybg: Fix cross-compiling.
* gnu/packages/wm.scm (swaybg)[inputs]: When cross-compiling add
wayland-protocols.
[native-inputs]: When cross-compiling add pkg-config-for-build, wayland.
2023-10-15 13:08:54 +03:00
Efraim Flashner
d7c5456a39
gnu: sway: Fix cross-compiling.
* gnu/packages/wm.scm (sway)[native-inputs]: When cross-compiling add
pkg-config-for-build, wayland.
2023-10-15 13:08:18 +03:00
Efraim Flashner
76b706c71c
gnu: wlroots: Fix cross-compiling.
* gnu/packages/wm.scm (wlroots)[arguments]: Adjust custom phases to also
search for files from native-inputs.
[native-inputs]: Add wayland. When cross-compiling add
pkg-config-for-build.
2023-10-15 13:06:53 +03:00
Efraim Flashner
dc2cfc9bea
gnu: poppler: Fix cross-compiling.
* gnu/packages/pdf.scm (poppler)[native-inputs]: When cross-compiling
add pkg-config-for-build.
2023-10-15 13:06:03 +03:00
Efraim Flashner
cee779c800
gnu: libtirpc: Keep reference to mit-krb5 when cross-compiling.
* gnu/packages/onc-roc.scm (libtirpc)[arguments]: When cross-compiling
adjust the pkg-config file to retain a reference to mit-krb5.
2023-10-15 13:04:04 +03:00
Efraim Flashner
a888342f89
gnu: nss: Fix cross-compiling.
* gnu/packages/nss.scm (nss)[arguments]: Adjust configure-flags when
cross-compiling to correctly set the target architecture and kernel.
Adjust the custom 'configure-phase when cross-compiling to use the
correct C++ compiler.
2023-10-15 13:02:26 +03:00
Efraim Flashner
2aab62fe24
gnu: mesa: Fix cross-compiling.
* gnu/packages/gl.scm (mesa)[native-inputs]: When cross-compiling add
pkg-config-for-build, wayland, wayland-protocols.
[arguments]: Adjust configure-flags to use cond to also match the
architecture when cross-compiling. Add phase when cross-compilng to set
the location of llvm-config.
2023-10-15 13:00:24 +03:00
Efraim Flashner
7744119c3e
gnu: libinput-minimal: Fix cross-compiling.
* gnu/packages/freedesktop.scm (libinput)[native-inputs]: When
cross-compiling add pkg-config-for-build.
[inputs]: When cross-compiling add check.
2023-10-15 12:58:22 +03:00
Efraim Flashner
d2923babf3
gnu: python-cysignals: Format with 'guix style'.
* gnu/packages/python-xyz.scm (python-cysignals): Reformat package with
'guix style'.
2023-10-15 08:52:36 +03:00
Efraim Flashner
33538f35ed
gnu: python-cysignals: Update to 1.11.4.
* gnu/packages/python-xyz.scm (python-cysignals): Update to 1.11.4.
[native-inputs]: Replace python-cython with python-cython-3.
2023-10-15 08:42:34 +03:00
John Kehayias
5a6b1a5586
gnu: mangohud: Update to 0.7.0.
* gnu/packages/graphics.scm (mangohud): Update to 0.7.0.
[arguments]<#:configure-flags>: Remove "-Duse_system_vulkan=enabled" and
"-Dvulkan_datadir" from as they are no longer supported.
<#:phases>: Add 'unbundle-vulkan-headers'.
[inputs]: Add nlohmann-json.  Replace vulkan-headers with origin for
vulkan-headers@1.2.158.
[native-inputs]: Add git-minimal/pinned.
2023-10-14 16:51:39 -04:00
Paul A. Patience
08c55c03bf
gnu: dealii: Update to 9.5.1.
* gnu/packages/maths.scm (dealii): Update to 9.5.1.
[propagated-inputs]: Add kokkos.
[arguments]<#:phases>: Add 'unset-cpath' phase.
(dealii-openmpi)[propagated-inputs]: Remove kokkos.
[arguments]<#:phases>: Delete 'unset-cpath' phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-14 22:41:45 +02:00
Paul A. Patience
50b82ea44e
gnu: Add kokkos.
* gnu/packages/cpp.scm (kokkos): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-14 22:41:44 +02:00
Paul A. Patience
4fbfe6c4ce
gnu: Add taskflow.
* gnu/packages/cpp.scm (taskflow): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-14 22:41:44 +02:00
Andre A. Gomes
b475b511d3
gnu: sbcl-trivial-clipboard: Update to 0.0.0-7.aee67d6.
* gnu/packages/lisp-xyz.scm (sbcl-trivial-clipboard): Update to 0.0.0-7.aee67d6.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-14 22:41:44 +02:00
Bruno Victal
fec8e51380
doc: Use herd for cerbot deploy hook example.
* doc/guix.texi (Certificate Services): Replace PID file based example with
one using (gnu services herd). Rename %nginx-deploy-hook to
%certbot-deploy-hook.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-14 22:41:44 +02:00
mason1920
63d2241ff9
gnu: Add vim-rainbow
* gnu/packages/vim.scm (vim-rainbow): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-14 22:41:44 +02:00
Andy Tai
504fdfb56f
gnu: icewm: Update to 3.4.3
* gnu/packages/wm.scm (icewm): Update to 3.4.3

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-14 22:41:44 +02:00
Andy Tai
33814fecec
gnu: xnedit: Update to 1.5.2
* gnu/packages/text-editors.scm (xnedit): Update to 1.5.2

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-14 22:41:44 +02:00
Andy Tai
f47d3570bc
gnu: xpra: Update to 5.0.3
* gnu/packages/xorg.scm (xpra): Update to 5.0.3

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-14 22:41:44 +02:00
Paul A. Patience
a4c838ca1e
gnu: f3d: Update to 2.2.1.
* gnu/packages/graphics.scm (f3d): Update to 2.2.1.
[snippet]: Update paths to delete and remove substitutions.
[arguments]<#:configure-flags>: Remove obsolete options, update renamed
options and add -DF3D_EXTERNAL_CXXOPTS, -DF3D_EXTERNAL_NLOHMANN_JSON and
-DF3D_MODULE_EXR.
[phases]: Add 'fix-cmake-rpath' phase.
[inputs]: Add openexr.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-14 22:41:43 +02:00
Lilah Tascheter
489abccd5f
services: dhcp-client-service-type: Support DDNS.
* gnu/services/networking.scm (dhcp-client-shepherd-service): Enable -I
  flag on dhclient.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2023-10-14 22:41:43 +02:00
Sergio Pastor Pérez
d17c403115
gnu: Add dexy-color-sddm-theme.
* gnu/packages/display-managers.scm (dexy-color-sddm-theme): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-14 22:41:43 +02:00
Sergio Pastor Pérez
f81cfc2f51
gnu: Add abstractdark-sddm-theme.
* gnu/packages/display-managers.scm (abstractdark-sddm-theme): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-10-14 22:41:43 +02:00
Efraim Flashner
7ce925fbe2
gnu: wpewebkit: Update to 2.40.5.
* gnu/packages/webkit.scm (wpewebkit): Update to 2.40.5.
2023-10-14 21:27:02 +03:00
Yovan Naumovski
3d0cdf9638
gnu: dool: Update to 1.3.0.
* gnu/packages/admin.scm (dool): Update to 1.3.0.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-10-14 15:40:03 +02:00
Gabriel Wicki
64e7081851
gnu: Add python-icmplib.
* gnu/packages/python-xyz.scm (python-icmplib): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-10-14 15:38:49 +02:00
Sören Tempel
373ec2cf8c
pack: Allow setting a custom image tag for Docker images
Previously, the image repository name was automatically computed from
the packages in the manifest without allowing the user to set a custom
one. As such, changing the packages in the manifest would result in a
new image name. Thereby requiring updating documentation et cetera when
using `docker load` directory on the resulting image.

Inspired by `docker build -t`, this commit adds a new Docker-specific
option to `guix pack` which allows setting a custom repository name for
the resulting image. If this option is not specified, pack falls back
to computing the name from the manifest. Therefore, this change is
entirely backwards compatible.

* guix/scripts/pack.scm (guix-pack): Add --image-tag option.
(%docker-format-options): New constant.
(show-docker-format-options): New procedure.
(show-docker-format-options/detailed): New procedure.
(docker-image): Allow setting a custom
repository name for the created docker image via extra-options.
* doc/guix.texi (Invoking guix pack)[docker]: Document --image-tag option.

Signed-off-by: Sören Tempel <soeren@soeren-tempel.net>
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-10-14 15:31:30 +02:00
Fabio Natali
e4fb70e2e8
gnu: guile-proba: Fix environment vars in Guile Proba's script.
* gnu/packages/check.scm (guile-proba): Micro fix.

Guile Proba's CLI script, as created via Guix's `wrap-program', should take
into account (as opposed to discard) the original, user-defined values of
`GUILE_LOAD_PATH' and `GUILE_LOAD_COMPILED_PATH'.

Currently, Guile Proba's CLI script is unable to find any third-party library
needed by the app being tested. This micro change should fix this.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-10-14 15:31:28 +02:00
David Thompson
8e8d20b6b3
gnu: guile-next: Update to 3.0.9-0.79e836b.
* gnu/packages/guile.scm (guile-next): Update to 3.0.9-0.79e836b.
2023-10-13 19:31:22 -04:00
Fabio Natali
8aad7210ea
gnu: guile-ini: Update to 0.5.4.
* gnu/packages/guile-xyz.scm: Update to 0.5.4.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-10-13 23:28:54 +02:00
Nicolas Goaziou
27c2ebd7ce
gnu: rosegarden: Update to 23.06.
* gnu/packages/music.scm (rosegarden): Update to 23.06.
2023-10-13 20:09:52 +02:00
Nicolas Goaziou
df8dd9caed
gnu: xournalpp: Update to 1.2.1.
* gnu/packages/pdf.scm (xournalpp): Update to 1.2.1.
[arguments]<#:configure-flags>: Replace "ENABLE_CPPUNIT" with "ENABLE_GTEST".
<#:phases>: Add a phase to build test files.
[native-inputs]: Add GOOGLETEST.
2023-10-13 20:09:51 +02:00
Nicolas Goaziou
4de27da44f
gnu: converseen: Update to 0.11.0.0.
* gnu/packages/image.scm (converseen): Update to 0.11.0.0.
* gnu/packages/patches/converseen-hide-updates-checks.patch: Update patch.
2023-10-13 20:09:51 +02:00
Leo Famulari
5498835bb3
gnu: linux-libre: Update to 6.5.7.
* gnu/packages/linux.scm (linux-libre-version, linux-libre-gnu-revision,
linux-libre-pristine-source, linux-libre-source, linux-libre,
linux-libre-with-bpf): Update to linux-libre 6.5.
2023-07-23 22:26:01 -04:00
Ricardo Wurmus
dcfd4d9c48
gnu: distrobox: Update to 1.5.0.2.
* gnu/packages/containers.scm (distrobox): Update to 1.5.0.2.
[arguments]: Do not patch files with extensions, such as a .pdf.
2023-10-13 17:45:56 +02:00
Afkhami, Navid
21b44bbc7c
gnu: Add r-mafh5-gnomad-v3-1-2-grch38.
* gnu/packages/bioconductor.scm (r-mafh5-gnomad-v3-1-2-grch38): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2023-10-13 14:42:16 +02:00
Efraim Flashner
4ec6fd7817
doc: Document specification->package+output.
Reported by nutcase on IRC.

* doc/guix.texi (Using the Configuration System): Add a section about
using specification->package+output.
2023-10-13 11:48:43 +03:00
Vinicius Monego
08a1126428
gnu: gsequencer: Update to 6.1.3.
* gnu/packages/music.scm (gsequencer): Update to 6.1.3.
2023-10-12 21:48:47 -03:00