Commit graph

923 commits

Author SHA1 Message Date
Leo Famulari
d07d6ea31a
maint: Add a manifest for everything related to linux-libre.
* etc/kernels-manifest.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2022-12-29 13:51:58 -05:00
Ludovic Courtès
7fde166715
Merge branch 'version-1.4.0' 2022-12-05 15:51:04 +01:00
Ludovic Courtès
90612b9f1f
build: Add 'sanity-check-next.py' to the distribution.
Reported by Vagrant Cascadian <vagrant@debian.org>.

* Makefile.am (AUX_FILES): Add 'sanity-check-next.py'.
2022-12-03 18:50:10 +01:00
Ludovic Courtès
020184fd39
maint: Adjust sed script from 'release' target.
This is a followup to fdafd40432.  This
effect would to set 'GUIX_DISPLAYED_VERSION' to the empty string.

* Makefile.am (release): Remove '/v' from sed script for
GUIX_DISPLAYED_VERSION.
2022-11-30 20:02:41 +01:00
Ludovic Courtès
1aa7ee52c6
build: Build gnu/packages/*.go in two passes.
This works around <https://issues.guix.gnu.org/59717>, whereby heap
usage would go beyond what's reasonable, preventing compilation of the
'guix' package on armhf-linux.

This is a followup to ef82ba9dd9.

* Makefile.am (MODULES_PACKAGES1, MODULES_PACKAGES): New variables.
(MODULES_PACKAGES): Define in terms of them and use :=.
(MODULES_CORE, MODULES_SYSTEM, MODULES_CLI, MODULES_PO): Define with :=.
2022-11-30 19:58:33 +01:00
Stefan
c7793b82ef
gnu: raspberry-pi: Add a bootloader-chain for the Raspberry Pi and os examples.
* gnu/packages/raspberry-pi.scm (grub-efi-bootloader-chain-raspi-64): New
bootloader variable, capable to boot a Raspberry Pi over network or from a
local storage.
* gnu/system/examples/raspberry-pi-64.tmpl: New operating-system example.
* gnu/system/examples/raspberry-pi-64-nfs-root.tmpl: New operating-system
example for booting over network.
* Makefile.am (EXAMPLES): Register the new files.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-12-01 14:31:29 -05:00
Stefan
a3f638e748
build: kconfig: Add new module to modify defconfig files.
* guix/build/kconfig.scm: New file.
* Makefile.am: Register it.
* gnu/packages/bootloaders.scm (make-u-boot-package)
(make-u-boot-sunxi64-package): Add DEFCONFIGS and CONFIGS arguments.  Remove
dead code.
(u-boot-am335x-boneblack, u-boot-pinebook)
(u-boot-novena,u-boot-rockpro64-rk3399): Simplify packages by using the new
keyword arguments.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-12-01 11:57:06 -05:00
Maxim Cournoyer
8934827014
Makefile.am: Sort EXTRA_DIST entries.
* Makefile.am (EXTRA_DIST): Sort.
2022-11-15 14:15:10 -05:00
Leo Famulari
c52cdd18d6
gnu: Remove linux-libre 5.19.
* gnu/packages/linux.scm (linux-libre-5.19-version,
linux-libre-5.19-gnu-revision, deblob-scripts-5.19,
linux-libre-5.19-pristine-source, linux-libre-5.19-source,
linux-libre-headers-5.19, linux-libre-5.19): Remove variables.
* gnu/packages/aux-files/linux-libre/5.19-arm.conf,
gnu/packages/aux-files/linux-libre/5.19-arm64.conf,
gnu/packages/aux-files/linux-libre/5.19-i686.conf,
gnu/packages/aux-files/linux-libre/5.19-x86_64.conf: Delete files.
* Makefile.am (AUX_FILES): Remove them.
2022-11-08 12:54:32 -05:00
Leo Famulari
2fde8cf399
gnu: linux-libre: Add linux-libre 6.0.6.
* gnu/packages/linux.scm (linux-libre-6.0-version,
linux-libre-6.0-pristine-source, linux-libre-6.0-source,
linux-libre-headers-6.0, linux-libre-6.0): New variables.
* gnu/packages/aux-files/linux-libre/6.0-arm.conf,
gnu/packages/aux-files/linux-libre/6.0-arm64.conf,
gnu/packages/aux-files/linux-libre/6.0-i686.conf,
gnu/packages/aux-files/linux-libre/6.0-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Add them.
2022-11-02 01:01:51 -04:00
Lars-Dominik Braun
400a7a4c80
build-system: Add pyproject-build-system.
This is an experimental build system based on python-build-system
that implements PEP 517-compliant builds.

* doc/guix.texi (Build Systems): Add pyproject-build-system section.
* doc/contributing.texi (Python Modules): Mention pyproject.toml and the
PYTHON-TOOLCHAIN package, as well as differences to python-build-system.
* guix/build-system/pyproject.scm,
guix/build/pyproject-build-system.scm,
gnu/packages/aux-files/python/sanity-check-next.py,
gnu/packages/python-commencement.scm: New files.
* Makefile.am (MODULES): Register the new build systems.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add python-commencement.scm.
* gnu/packages/python.scm (python-sans-pip, python-sans-pip-wrapper): New
variables.

Co-authored-by: Marius Bakke <marius@gnu.org>
2022-10-27 19:43:06 +02:00
Leo Famulari
0f2776399e
gnu: Remove linux-libre 5.18.
* gnu/packages/linux.scm (linux-libre-5.18-version,
linux-libre-5.18-gnu-revision, deblob-scripts-5.18,
linux-libre-5.18-pristine-source, linux-libre-5.18-source,
linux-libre-headers-5.18, linux-libre-5.18): Remove variables.
* gnu/packages/aux-files/linux-libre/5.18-arm.conf,
gnu/packages/aux-files/linux-libre/5.18-arm64.conf,
gnu/packages/aux-files/linux-libre/5.18-i686.conf,
gnu/packages/aux-files/linux-libre/5.18-x86_64.conf: Delete files.
* Makefile.am (AUX_FILES): Remove them.
2022-09-06 08:58:13 -04:00
Leo Famulari
58ff455328
gnu: Add linux-libre 5.19.
* gnu/packages/linux.scm (linux-libre-5.19-version,
linux-libre-5.19-gnu-revision, deblob-scripts-5.19,
linux-libre-5.19-pristine-source, linux-libre-5.19-source,
linux-libre-headers-5.19, linux-libre-5.19): New variables.
* gnu/packages/aux-files/linux-libre/5.19-arm.conf,
gnu/packages/aux-files/linux-libre/5.19-arm64.conf,
gnu/packages/aux-files/linux-libre/5.19-i686.conf,
gnu/packages/aux-files/linux-libre/5.19-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Add them.
2022-08-31 15:00:45 -04:00
Maxim Cournoyer
0ea62e84a7
services: Add lightdm-service-type.
* gnu/services/lightdm.scm: New service.
* tests/services/lightdm.scm: Test it.
* doc/guix.texi (X Window): Document it.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register it.

Co-authored-by: L p R n d n <guix@lprndn.info>
Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
2022-08-28 22:28:47 -04:00
Ludovic Courtès
fdafd40432
maint: Use a pretty version string in ISO and VM images.
* gnu/system/examples/vm-image.tmpl: Use the 'GUIX_DISPLAYED_VERSION'
environment variable in 'label'.
* gnu/system/install.scm (%installation-os): Likewise.
* Makefile.am (release): Set 'GUIX_DISPLAYED_VERSION'.
2022-08-09 15:16:06 +02:00
Ludovic Courtès
95a03aa5c5
system: install: Always use 'current-guix'.
Fixes <https://issues.guix.gnu.org/53210>.
Reported by Mathieu Othacehe <othacehe@gnu.org>.

* gnu/system/install.scm (%installation-services): Set 'guix' to
use (current-guix) in 'guix-configuration'.
* gnu/system/examples/vm-image.tmpl: Likewise.
* gnu/tests/install.scm (operating-system-with-current-guix): Remove.
(run-install, installation-os-for-gui-tests): Remove its uses.
* Makefile.am (release): Remove intermediate use of
'update-guix-package.scm' and subsequent 'git commit' invocation.
2022-08-09 15:16:06 +02:00
Ludovic Courtès
5bce4c8242
build-system: Add 'channel-build-system'.
* gnu/ci.scm (channel-build-system, channel-source->package): Remove.
* gnu/packages/package-management.scm (channel-source->package): New
procedure, moved from (gnu ci).
* guix/build-system/channel.scm: New file, with code moved from (gnu ci).
* doc/guix.texi (Build Systems): Document it.
2022-08-09 15:16:06 +02:00
Ludovic Courtès
a15542d26d
style: Add '--whole-file' option.
* guix/scripts/style.scm (format-whole-file): New procedure.
(%options, show-help): Add '--whole-file'.
(guix-style): Honor it.
* tests/guix-style.sh: New file.
* Makefile.am (SH_TESTS): Add it.
* doc/guix.texi (Invoking guix style): Document it.
2022-08-08 11:53:33 +02:00
Ludovic Courtès
5817e222fa
style: Move reader and printer to (guix read-print).
* guix/scripts/style.scm (<comment>, read-with-comments)
(vhashq, %special-forms, %newline-forms, prefix?)
(special-form-lead, newline-form?, escaped-string)
(string-width, canonicalize-comment, pretty-print-with-comments)
(object->string*): Move to...
* guix/read-print.scm: ... here.  New file.
* guix/scripts/import.scm: Adjust accordingly.
* tests/style.scm: Move 'test-pretty-print' and tests to...
* tests/read-print.scm: ... here.  New file.
* Makefile.am (MODULES): Add 'guix/read-print.scm'.
(SCM_TESTS): Add 'tests/read-print.scm'.
2022-08-08 11:22:31 +02:00
Ludovic Courtès
e80f0cda96
etc: Add 'time-travel-manifest.scm'.
This manifest makes it easy to test travels from the current revision
back to the revision of a past Guix release.

Suggested by zimoun <zimon.toutoune@gmail.com>.

* etc/time-travel-manifest.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2022-07-08 23:58:11 +02:00
Maxim Cournoyer
6428f854f9
Revert "maint: Disable telephony service tests."
This reverts commit c23e0aa65d, since the
telephony service tests have now been fixed.
2022-07-07 10:43:18 -04:00
Lars-Dominik Braun
c23e0aa65d
maint: Disable telephony service tests.
Temporarily, so we can bump the guix package.

* Makefile.am (SCM_TESTS): Remove tests/services/telephony.scm.
2022-07-05 11:04:18 +02:00
Leo Famulari
1601a47130
gnu: Remove linux-libre 5.17.
This kernel series is no longer supported upstream.

* gnu/packages/linux.scm (linux-libre-5.17-version,
linux-libre-5.17-gnu-revision, deblob-scripts-5.17,
linux-libre-5.17-pristine-source, linux-libre-5.17-source,
linux-libre-headers-5.17, linux-libre-5.17): Remove variables.
* gnu/packages/aux-files/linux-libre/5.17-arm.conf,
gnu/packages/aux-files/linux-libre/5.17-arm64.conf,
gnu/packages/aux-files/linux-libre/5.17-i686.conf,
gnu/packages/aux-files/linux-libre/5.17-x86_64.conf: Delete files.
* Makefile.am (AUX_FILES): Remove them.
2022-06-29 08:49:42 -04:00
Leo Famulari
5bf97d2891
gnu: Add linux-libre 5.18.
* gnu/packages/linux.scm (linux-libre-5.18-version,
linux-libre-5.18-gnu-revision, deblob-scripts-5.18,
linux-libre-5.18-pristine-source, linux-libre-5.18-source,
linux-libre-headers-5.18, linux-libre-5.18): New variables.
* gnu/packages/aux-files/linux-libre/5.18-arm.conf,
gnu/packages/aux-files/linux-libre/5.18-arm64.conf,
gnu/packages/aux-files/linux-libre/5.18-i686.conf,
gnu/packages/aux-files/linux-libre/5.18-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Add them.
2022-06-29 08:49:42 -04:00
Fredrik Salomonsson
f8275916fc
guix: emacs-utils: Add emacs-batch-script.
* guix/build/emacs-utils.scm (emacs-batch-script): New procedure.

* tests/build-emacs-utils.scm: New file.

* Makefile.am (TESTS): Add `tests/build-emacs-utils.scm'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-17 23:39:31 +02:00
Hartmut Goebel
0d9f1f15cb
import: Add hex.pm importer.
hex.pm is a package repository for Erlang and Elixir.

* guix/scripts/import.scm (importers): Add "hexpm".
* guix/scripts/import/hexpm.scm, guix/import/hexpm.scm,
  guix/hexpm-download.scm: New files.
* guix/import/utils.scm (source-spec->object): Add "hexpm-fetch" to list of
  fetch methods.
* guix/upstream.scm (package-update/hexpm-fetch): New function.
  (%method-updates) Add it.
* Makefile.am: Add them.
2022-06-15 10:18:34 +02:00
Hartmut Goebel
97586ca1cb
build-system: Add 'rebar-build-system'.
* guix/build-system/rebar.scm, guix/build/rebar-build-system.scm: New files.
* Makefile.am (MODULES): Add them.
* doc/guix.texi (Build Systems): Update rebar-build-system section.
2022-06-15 10:17:25 +02:00
Hartmut Goebel
2f3cea45b9
Revert "Add (guix extracting-download)."
This reverts commit f63c79bf76, which was missed
when reverting the #51061 patch series for now in
a1679b74c9.
2022-06-15 10:17:24 +02:00
Ludovic Courtès
35c1edb20a
guix home: Add 'edit' sub-command.
* guix/scripts/home/edit.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/scripts/home.scm (show-help): Add "edit".
(process-command): Handle it.
(guix-home): Add it.
* po/guix/POTFILES.in: Add 'guix/scripts/home/edit.scm'.
* doc/guix.texi (Invoking guix home): Document it.
2022-06-04 12:04:24 +02:00
Ludovic Courtès
8eb17cebc1
home: services: Add 'lookup-home-service-types' procedure.
* gnu/home/services.scm (lookup-home-service-types): New procedure.
* tests/home-services.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
2022-06-04 12:04:24 +02:00
Ludovic Courtès
3f83c0b7c7
guix system: Add 'edit' sub-command.
* guix/scripts/system/edit.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/scripts/system.scm (show-help): Mention "edit".
(actions): Add it.
(process-command): Handle it.
* doc/guix.texi (Invoking guix system): Document it.
* po/guix/POTFILES.in: Add guix/scripts/system/edit.scm.
2022-06-04 12:04:24 +02:00
Mathieu Othacehe
d2c06bf2ff
platforms: Remove the s390x platform.
Turns out this platform doesn't have a bootstrap tarball and should be
considered as not supported for now.

* guix/platforms/s390.scm: Remove it.
* Makefile.am (MODULES): Adapt it.
* doc/guix.texi (Foreign Architectures): Ditto.
2022-05-25 17:11:32 +02:00
Mathieu Othacehe
a9dcd60bc1
platforms: Remove the hurd module.
The hurd platform is now defined in the (guix platforms x86) module.

* guix/platforms/hurd.scm: Remove it.
* Makefile.am (MODULES): Adapt it.
2022-05-25 13:01:15 +02:00
Josselin Poiret
dab819d5c4
Move (gnu platform) and (gnu platforms ...) to guix/.
* gnu/platform.scm:
* gnu/platforms/arm.scm:
* gnu/platforms/hurd.scm:
* gnu/platforms/mips.scm:
* gnu/platforms/powerpc.scm:
* gnu/platforms/riscv.scm:
* gnu/platforms/s390.scm:
* gnu/platforms/x86.scm: Move to guix/.

* Makefile.am:
* doc/guix.texi (Porting to a New Platform):
* etc/release-manifest.scm:
* gnu/ci.scm:
* gnu/image.scm:
* gnu/local.mk:
* gnu/packages/bioinformatics.scm:
* gnu/packages/bootstrap.scm:
* gnu/packages/cross-base.scm:
* gnu/packages/instrumentation.scm:
* gnu/packages/linux.scm:
* gnu/system/image.scm:
* gnu/system/images/hurd.scm:
* gnu/system/images/novena.scm:
* gnu/system/images/pine64.scm:
* gnu/system/images/pinebook-pro.scm:
* gnu/system/images/rock64.scm:
* guix/scripts/build.scm:
* guix/scripts/system.scm:
* guix/self.scm: Update (gnu platform...) to (guix platform...).

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-05-25 09:27:25 +02:00
Philip McGrath
903c82583e
import: Add Elm importer.
* guix/import/elm.scm, guix/scripts/import/elm.scm: New files.
* Makefile.am (MODULES): Add them.
* guix/scripts/import.scm (importers): Add "elm".
* doc/guix.texi (Invoking guix import): Document Elm importer.
* doc/contributing.texi (Elm Packages): Mention it.
* tests/elm.scm ("(guix import elm)"): New test group.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:52 +02:00
Philip McGrath
aefcfdd0ae
guix: Add elm-build-system.
* gnu/packages/patches/elm-offline-package-registry.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/elm.scm (elm): Use it.
* guix/build-system/elm.scm, guix/build/elm-build-system.scm,
tests/elm.scm: New files.
* Makefile.scm (MODULES, SCM_TESTS): Add them.
* doc/guix.texi (Build Systems): Document 'elm-build-system'.
* doc/contributing.texi (Elm Packages): New section. Document naming
conventions and utilities.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:51 +02:00
Tobias Geerinckx-Rice
4b08526865
gnu: Remove linux-libre@4.4 configuration files.
This follows up on commit bc54947410.

* gnu/packages/aux-files/linux-libre/4.4-i686.conf,
gnu/packages/aux-files/linux-libre/4.4-x86_64.conf: Delete files.
* Makefile.am (AUX_FILES): Remove them.
2022-05-01 02:00:00 +02:00
Ludovic Courtès
3682bd4003
Add (guix least-authority).
* guix/least-authority.scm: New file.
* Makefile.am (MODULES): Add it.
* gnu/build/shepherd.scm (default-mounts): Make public.
2022-05-01 21:30:35 +02:00
Leo Famulari
b6b2de2a0d
gnu: Remove linux-libre 5.16.
This kernel series is no longer supported upstream.

* gnu/packages/linux.scm (linux-libre-5.16-version,
linux-libre-5.16-gnu-revision, deblob-scripts-5.16, linux-libre-5.16-source,
linux-libre-headers-5.16, linux-libre-5.16): Remove variables.
(linux-libre-version, linux-libre-gnu-revision, linux-libre-pristine-source,
linux-libre-source, linux-libre, linux-libre-with-bpf): Use linux-libre 5.17.
* gnu/packages/aux-files/linux-libre/5.16-arm.conf,
gnu/packages/aux-files/linux-libre/5.16-arm64.conf,
gnu/packages/aux-files/linux-libre/5.16-i686.conf,
gnu/packages/aux-files/linux-libre/5.16-x86_64.conf: Delete files.
* Makefile.am (AUX_FILES): Remove them.
2022-04-23 13:45:46 -04:00
Ludovic Courtès
c42b7baf13
shell: Add '--export-manifest'.
* guix/scripts/shell.scm (show-help, %options): Add '--export-manifest'.
(manifest-entry-version-prefix, manifest->code*)
(export-manifest): New procedures.
(guix-shell): Honor '--export-manifest'.
* tests/guix-shell-export-manifest.sh: New file.
* Makefile.am (SH_TESTS): Add it.
* doc/guix.texi (Invoking guix shell): Document '--export-manifest'.
(Invoking guix environment): Link to it.
(Invoking guix pack): Likewise.
2022-04-04 22:58:04 +02:00
Julien Lepiller
ff194cb245
maint: Implement translation thresholds.
Do not download new translations for the cookbook and the manual when
they are below 10% completion, and remove existing translations when
they fall below 5%.

* Makefile.am (download-po): Implement translation thresholds.
2022-04-02 18:14:34 +02:00
Leo Famulari
943d4b775b
gnu: linux-libre: Add linux-libre 5.17.
* gnu/packages/linux.scm (linux-libre-5.17-version,
linux-libre-5.17-gnu-revision, deblob-scripts-5.17,
linux-libre-5.17-pristine-source, linux-libre-5.17-source,
linux-libre-headers-5.17, linux-libre-5.17): New variables.
* gnu/packages/aux-files/linux-libre/5.17-arm.conf,
gnu/packages/aux-files/linux-libre/5.17-arm64.conf,
gnu/packages/aux-files/linux-libre/5.17-i686.conf,
gnu/packages/aux-files/linux-libre/5.17-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Add them.
2022-03-26 17:59:57 -04:00
Ludovic Courtès
13ff4ae5b1
maint: 'assert-binaries-available' only checks ci.guix.gnu.org.
* Makefile.am (assert-binaries-available): Pass '--substitute-urls'.
2022-03-10 11:43:12 +01:00
Ludovic Courtès
049aefddb2
tests: Add (guix http-client) tests.
* tests/http-client.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
* .dir-locals.el (scheme-mode): Add 'with-http-server'.
2022-03-06 22:49:46 +01:00
Leo Famulari
44c2211c64
gnu: Add linux-libre 5.16.2.
* gnu/packages/aux-files/linux-libre/5.16-arm.conf,
gnu/packages/aux-files/linux-libre/5.16-arm64.conf,
gnu/packages/aux-files/linux-libre/5.16-i686.conf,
gnu/packages/aux-files/linux-libre/5.16-x86_64.conf : New files.
* Makefile.am (AUX_FILES): Add them.
* gnu/packages/linux.scm (linux-libre-5.16-version,
linux-libre-5.16-gnu-revision, deblob-scripts-5.16,
linux-libre-5.16-pristine-source, linux-libre-5.16-source,
linux-libre-headers-5.16, linux-libre-5.16): New variables.
2022-01-26 13:17:41 -05:00
Maxime Devos
81f036bfd2
import/github: Test it.
* Makefile.am (SCM_TESTS): Register new tests.
* guix/import/github.scm
  (%github-api): New variable.
  (fetch-releases-or-tags): Use the new variable.
* tests/import-github.scm: New file with tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-16 23:56:56 +01:00
Liliana Marie Prikler
0f9e73841e
gnu: renpy: Move renpy command to aux-files.
* gnu/packages/aux-files/renpy/renpy.in: New file.
* gnu/packages/game-development.scm (renpy)[install]: Use renpy.in with
substitute*.
* Makefile.am (AUX_FILES): Add it here.
2022-01-15 09:41:59 +01:00
Sarah Morgensen
064c367716
guix hash: Extract file hashing procedures.
* guix/scripts/hash.scm (guix-hash)[vcs-file?] (nar-hash, default-hash):
  Extract hashing logic to...
* guix/hash.scm (vcs-file?, file-hash*): ... these new procedures in this
  new file.

Modified-by: Maxime Devos <maximedevos@telenet.be>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-01-06 16:27:30 +01:00
Ludovic Courtès
a644f88d28
Add (guix cpu).
* guix/cpu.scm: New file.
* Makefile.am (MODULES): Add it.
2022-01-01 15:23:24 +01:00
Leo Famulari
ccd9d07de0
build: Fix typo in Makefile.
* Makefile.am (release): Fix tense of "produce"
2021-12-28 23:28:03 -05:00