aboutsummaryrefslogtreecommitdiff
path: root/TODO
blob: f854f7fa98e09c7b512f3efb702c290b615186a0 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
-*- mode: org; coding: utf-8; -*-

#+TITLE: What's left to do?
#+STARTUP: content hidestars

Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>

  Copying and distribution of this file, with or without modification,
  are permitted in any medium without royalty provided the copyright
  notice and this notice are preserved.

* MAYBE Add a substituter that uses the GNUnet DHT or [[http://libswift.org][libswift]]

Would be neat if binaries could be pushed to and pulled from the GNUnet DHT or
rather libswift (since DHTs aren’t suited for large payloads).  Guix users
would sign their binaries, and define which binaries they trust.

Use UPnP and similar to traverse NAT, like ‘filegive’ does.

* user interface
** add guile-ncurses interface

* extend <package>
** add ‘recommends’ field

For instance, glibc, binutils, gcc, and ld-wrapper would recommend each other.
‘guix package -i’ could ask interactively (?), or allow users to follow all or
none of the recommendations.

** add a ‘user-environment-hook’

This should specify builder code to be run when building a user
environment with ‘guix-package’.  For instance, Texinfo’s hook would
create a new ‘dir’.

** extend ‘propagated-build-inputs’ with support for multiple outputs

#+BEGIN_SRC scheme
  (outputs '("out" "include"))
  (propagated-build-inputs
    `(((("i1" ,p1 "o1")
        ("i2" ,p2))
       => "include")
      ("i3" ,p3)))
#+END_SRC

* synchronize non-GNU package descriptions with the [[http://directory.fsf.org][FSD]]

Meta-data for GNU packages, including descriptions and synopses, can be
dumped from the FSD:
http://directory.fsf.org/wiki?title=GNU/Export&action=purge .
We could periodically synchronize with that.

* add a guildhall build system

The Guildhall is Guile’s packaging system.  It should be easy to add a
‘guildhall-build-system’ that does the right thing based on guildhall
recipes.

* union

Support sophisticated collision handling when building a union: honor
per-package priorities, etc.

* add GUIX_ALLOW_EXPENSIVE_TESTS

Tests that need to download stuff or otherwise take a long time would only be
run when that is defined.

* guix build utils
** MAYBE Change ‘ld-wrapper’ to add RPATH for libs passed by file name

** MAYBE Add equivalent to chrpath that uses [[https://gitorious.org/guile-dlhacks/guile-dlhacks/][guile-dlhacks]]

** MAYBE Add a hash-rewriting thing for deep dependency replacement without rebuild

See [[https://github.com/NixOS/nixpkgs/commit/d1662d715514e6ef9d3dc29f132f1b3d8e608a18][Shea Levy's `replace-dependency' in Nixpkgs]].

* distro
** port to GNU/Hurd, aka. ‘i686-gnu’

Problems include that current glibc releases do not build on GNU/Hurd.
In addition, there haven’t been stable releases of GNU Mach, MiG, and
Hurd, which would be a pre-condition.

* Installer
** Fix impossibility to restart on error after cow-store has been started
See https://lists.gnu.org/archive/html/guix-devel/2018-12/msg00161.html.
- Force reboot upon installer failure
- Unshare the installer process
- Run the installer process in a separate namespace
** Partitioning
*** Add RAID support
*** Add more partitioning schemes
The actual schemes are taken from Debian Installer but some are not
implemented yet: like "Separate partitions for /home /var and /tmp".
*** Replace wait page "Partition formating is in progress, please wait"
Create a new waiting page describing what's being done:

[              20%              ]
Running mkfs.ext4 on /dev/sda2 ...

[              40%              ]
Running mkfs.ext4 on /dev/sda3 ...
*** Add a confirmation page before formating/partitioning
** Desktop environments
*** Allow for no desktop environments
Propose to choose between "headless server" and "lightweight X11" in a new
page.
*** Add services selection feature
Add a services page to the configuration. Ask for services to be installed
like SSH, bluetooth, TLP in a checkbox list?
** Locale and keymap
*** Try to guess user locale and keymap by probing BIOS or HW (dmidecode)
** Timezone
*** Regroup everything in one single page
Under the form:
(UTC + 1) Europe/Paris
(UTC + 2) Africa/Cairo
...
** Display issue
*** Investigate display issue described here:
https://lists.gnu.org/archive/html/guix-devel/2019-01/msg00305.html
he Hurd.Efraim Flashner On 3342a1182b15ec031f0ec6f602fd96c1dca3d4b0 gnu: make-bootstrap: Use _IOLBF on Guile 2.0 only. Run ./pre-inst-env guix build --target=i586-pc-gnu bootstrap-tarballs --verbosity=1 Producing /gnu/store/lhca65c997pvic5cfrpm0dasniwqlg2a-bootstrap-tarballs-0 With guix hash -rx /gnu/store/lhca65c997pvic5cfrpm0dasniwqlg2a-bootstrap-tarballs-0 07jnq2by98f2a45k8wd2gj62iazvwfa4z7p3w3id4m1g0fdsvc3b * gnu/packages/bootstrap.scm (%bootstrap-executables): Add entries for the Hurd. (bootstrap-executable-url): Use lilypond url for the Hurd. (bootstrap-guile-url-path): Likewise. (bootstrap-guile-hash): Add entry for the Hurd. (%bootstrap-coreutils&co): Likewise. (%bootstrap-binutils): Likewise. (%bootstrap-glibc): Likewise. (%bootstrap-gcc): Likewise. * guix/packages.scm (%supported-systems): Add i586-gnu. Co-authored-by: Jan Nieuwenhuizen <janneke@gnu.org> 2020-03-26gnu: make-bootstrap: Use _IOLBF on Guile 2.0 only.Jan Nieuwenhuizen * gnu/packages/make-bootstrap.scm (%binutils-static-stripped, %gcc-stripped, %bootstrap-tarballs)[arguments]: Wrap use of '_IOLBF' in 'cond-expand' and use 'line instead on Guile > 2.0. 2020-03-24gnu: bootstrap: Use fall-back mechanism for bootstrap-executables.Jan Nieuwenhuizen * gnu/packages/bootstrap.scm (%bootstrap-executable-base-urls): New variable. Add lilypond.org url as a fall-back. (bootstrap-executable-file-name): New function. (bootstrap-executable): Use them to implement fall-back for donwloads of bootstrap executables. 2020-03-24gnu: bootstrap: gcc-static: Use gcc-5.Jan Nieuwenhuizen * gnu/packages/make-bootstrap.scm (gcc-static): Use gcc-5. This fixes building libstdc++-boot0 with a newly built %bootstrap-gcc. (%gcc-stripped): Likewise. (gcc-for-bootstrap): Likewise. * gnu/packages/patches/gcc-5-hurd.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/gcc.scm (gcc-5): Use it. 2020-03-24Revert "gnu: guile-static-stripped: Update to 2.2."Jan Nieuwenhuizen As discussed on IRC, keeping bootstrap Guile on 2.0 simplifies adding new architectures and removes the need for parameterizing gnu/packages/bootstrap.scm. This reverts commit 2acfe022a740f79b593348cc6362cc4ee8f33bb4. * gnu/packages/make-bootstrap.scm (%guile-static): Revert to guile-2.0. Retain build recipe. * gnu/packages/patches/guile-relocatable.patch: Update for Guile 2.0.14. 2020-03-24gnu: cross-libc: Build fix for the Hurd.Jan Nieuwenhuizen This fixes cross building of coreutils, e.g. ./pre-inst-env guix build --target=i586-pc-gnu coreutils * gnu/packages/cross-base.scm (cross-libc): Add -lhurduser, -lmachuser for the Hurd. 2020-03-24gnu: glibc: Add signal SA_SIGINFO support for the Hurd.Jan Nieuwenhuizen * gnu/packages/patches/glibc-hurd-signal-sa-siginfo.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (glibc): Use it. 2020-03-24gnu: glibc: Add clock patches for the Hurd.Jan Nieuwenhuizen * gnu/packages/patches/glibc-hurd-clock_t_centiseconds.patch: New file. * gnu/packages/patches/glibc-hurd-clock_gettime_monotonic.patch: New file. * gnu/local.mk (dist_patch_DATA): Update them. * gnu/packages/base.scm (glibc): Use them. 2020-03-24gnu: hurd: Fix hurd-target?, add hurd-system?.Jan Nieuwenhuizen * gnu/packages/hurd.scm (hurd-target?): Bugfix; the arguments to string-suffix? to test (%current-system) were transposed, always resulting in #f. Use hurd-triplet?. (hurd-system?): New exported variable. 2020-03-24gnu: grub: Support for the Hurd.Jan Nieuwenhuizen * gnu/packages/virtualization.scm (qemu)[supported-systems]: Remove the Hurd. * gnu/packages/linux.scm (mdadm)[supported-systems]: Likewise. (lvm2)[supported-systems]: Likewise. (fuse)[supported-systems]: Likewise. * gnu/packages/patches/grub-verifiers-Blocklist-fallout-cleanup.patch: New file * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/bootloaders.scm (grub): Use it. [inputs, native-inputs]: Remove non-supported dependencies on non-supported systems. Fixes build for the Hurd. 2020-03-24gnu: GHC: Enable RUNPATH validation.Marius Bakke * gnu/packages/haskell.scm (ghc-7, ghc-8.0, ghc-8.4)[arguments]: Remove #:validate-runpath?. 2020-03-24gnu: ghc@8.0: Remove obsolete patch.Marius Bakke * gnu/packages/patches/ghc-dont-pass-linker-flags-via-response-files.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/haskell.scm (ghc-8.0)[source](patches): Remove it. 2020-03-24gnu: ghc: Really disable test that fails with glibc 2.30 and later.Marius Bakke This follows up commit 2e9c43aa9adac2bd6bcf92373d1cf9f322afa5a3, which was incomplete. Fixes <https://bugs.gnu.org/39358>. * gnu/packages/patches/ghc-testsuite-dlopen-pie.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. Also use tabs instead of spaces on surrounding patches. * gnu/packages/haskell.scm (ghc-8.6)[native-inputs]: Add patch for "ghc-testsuite". [arguments]: Remove incomplete workaround for the same issue. 2020-03-24gnu: cross-gcc: Add a "lib" output.Mathieu Othacehe Add a "lib" output to cross-gcc. This requires an upstream GCC patch adding support for --with-toolexeclibdir configure option. This option allows to install cross-built GCC libraries in a specific location. This also fixes the computation of TOOLDIR_BASE_PREFIX, that fails when /gnu/store/... directories are involved. * gnu/packages/patches/gcc-7-cross-toolexeclibdir.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/cross-base.scm (cross-gcc)[source]: Apply it, [outputs]: add a "lib" output, (cross-gcc-snippet): fix TOOLDIR_BASE_PREFIX. 2020-03-23gnu: GHC: Disable test that fails with glibc 2.30 and later.Marius Bakke Fixes <https://bugs.gnu.org/39358>. * gnu/packages/haskell.scm (ghc-8.6)[arguments]: Add substitution to disable broken test. 2020-03-23gnu: ghc@8.4: Update to 8.4.4.Marius Bakke * gnu/packages/haskell.scm (ghc-8.4): Update to 8.4.4. 2020-03-23gnu: ghc@8.4: Remove redundant inputs.Marius Bakke Incidentally, this fixes a build failure where GHC's build processes fail to link libffi and libgmp for 'ghc-cabal'. * gnu/packages/haskell.scm (ghc-8.4)[inputs]: Remove BINUTILS, GCC, and MAKE-LD-WRAPPER. [arguments]: Adjust accordingly. 2020-03-21Merge branch 'master' into core-updatesMarius Bakke 2020-03-21gnu: linux-libre: Update to 5.4.27.Mark H Weaver * gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.27. (linux-libre-5.4-pristine-source): Update hash. 2020-03-21gnu: linux-libre@4.19: Update to 4.19.112.Mark H Weaver * gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.112. (linux-libre-4.19-pristine-source): Update hash. 2020-03-21gnu: linux-libre@4.14: Update to 4.14.174.Mark H Weaver * gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.174. (linux-libre-4.14-pristine-source): Update hash. 2020-03-21gnu: linux-libre@4.9: Update to 4.9.217.Mark H Weaver * gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.217. (linux-libre-4.9-pristine-source): Update hash. 2020-03-21gnu: linux-libre@4.4: Update to 4.4.217.Mark H Weaver * gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.217. (linux-libre-4.4-pristine-source): Update hash. 2020-03-21gnu: ghc-stylish-haskell: Deprecate older duplicate package.John Soo * gnu/packages/haskell-xyz.scm (ghc-stylish-haskell): Deprecate it. Signed-off-by: Marius Bakke <mbakke@fastmail.com> 2020-03-21gnu: stylish-haskell: Update description.John Soo * gnu/packages/haskell-apps.scm (stylish-haskell): Update description. Signed-off-by: Marius Bakke <mbakke@fastmail.com> 2020-03-21gnu: Add r-oai.Wiktor Żelazny * gnu/packages/cran.scm (r-oai): new variable. Signed-off-by: Marius Bakke <mbakke@fastmail.com> 2020-03-21gnu: Add r-latex2exp.Wiktor Żelazny * gnu/packages/cran.scm (r-latex2exp): new variable. Signed-off-by: Marius Bakke <mbakke@fastmail.com> 2020-03-21gnu: Add r-httpcode.Wiktor Żelazny * gnu/packages/cran.scm (r-httpcode): New variable. Signed-off-by: Marius Bakke <mbakke@fastmail.com> 2020-03-21gnu: global: Add 'python-wrapper' as input.wednesday * gnu/packages/code.scm (global)[inputs]: Add 'python-wrapper' to fix tagging python code. 2020-03-21Revert "gnu: Remove qemu-minimal@2.10."Marius Bakke This package was still in use by american-fuzzy-lop. This reverts commit 559f37328851fc1ae1d90f27fab7beff3d804421. 2020-03-21gnu: gpgme: Fix build.Tobias Geerinckx-Rice Reported by joshuaBPMan on #guix. * gnu/packages/gnupg.scm (gpgme)[arguments]: Add ‘disable-failing-test’ phase. 2020-03-21gnu: python-pygraphviz: Use HTTPS home page.Tobias Geerinckx-Rice * gnu/packages/graphviz.scm (python-pygraphviz)[home-page]: Use HTTPS. 2020-03-21gnu: python-tables: Use HTTPS home page.Tobias Geerinckx-Rice * gnu/packages/python-xyz.scm (python-tables)[home-page]: Use HTTPS. 2020-03-21gnu: python-future: Use HTTPS home page.Tobias Geerinckx-Rice * gnu/packages/python-xyz.scm (python-future)[home-page]: Use HTTPS. 2020-03-21gnu: python-scrypt: Use HTTPS home page.Tobias Geerinckx-Rice * gnu/packages/python-crypto.scm (python-scrypt)[home-page]: Use HTTPS.