| 1 | -*- mode: org; coding: utf-8; -*- |
| 2 | |
| 3 | #+TITLE: What's left to do? |
| 4 | #+STARTUP: content hidestars |
| 5 | |
| 6 | Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org> |
| 7 | |
| 8 | Copying and distribution of this file, with or without modification, |
| 9 | are permitted in any medium without royalty provided the copyright |
| 10 | notice and this notice are preserved. |
| 11 | |
| 12 | * MAYBE Add a substituter that uses the GNUnet DHT or [[http://libswift.org][libswift]] |
| 13 | |
| 14 | Would be neat if binaries could be pushed to and pulled from the GNUnet DHT or |
| 15 | rather libswift (since DHTs aren’t suited for large payloads). Guix users |
| 16 | would sign their binaries, and define which binaries they trust. |
| 17 | |
| 18 | Use UPnP and similar to traverse NAT, like ‘filegive’ does. |
| 19 | |
| 20 | * user interface |
| 21 | ** add guile-ncurses interface |
| 22 | |
| 23 | * extend <package> |
| 24 | ** add ‘recommends’ field |
| 25 | |
| 26 | For instance, glibc, binutils, gcc, and ld-wrapper would recommend each other. |
| 27 | ‘guix package -i’ could ask interactively (?), or allow users to follow all or |
| 28 | none of the recommendations. |
| 29 | |
| 30 | ** add a ‘user-environment-hook’ |
| 31 | |
| 32 | This should specify builder code to be run when building a user |
| 33 | environment with ‘guix-package’. For instance, Texinfo’s hook would |
| 34 | create a new ‘dir’. |
| 35 | |
| 36 | ** extend ‘propagated-build-inputs’ with support for multiple outputs |
| 37 | |
| 38 | #+BEGIN_SRC scheme |
| 39 | (outputs '("out" "include")) |
| 40 | (propagated-build-inputs |
| 41 | `(((("i1" ,p1 "o1") |
| 42 | ("i2" ,p2)) |
| 43 | => "include") |
| 44 | ("i3" ,p3))) |
| 45 | #+END_SRC |
| 46 | |
| 47 | * synchronize non-GNU package descriptions with the [[http://directory.fsf.org][FSD]] |
| 48 | |
| 49 | Meta-data for GNU packages, including descriptions and synopses, can be |
| 50 | dumped from the FSD: |
| 51 | http://directory.fsf.org/wiki?title=GNU/Export&action=purge . |
| 52 | We could periodically synchronize with that. |
| 53 | |
| 54 | * add a guildhall build system |
| 55 | |
| 56 | The Guildhall is Guile’s packaging system. It should be easy to add a |
| 57 | ‘guildhall-build-system’ that does the right thing based on guildhall |
| 58 | recipes. |
| 59 | |
| 60 | * union |
| 61 | |
| 62 | Support sophisticated collision handling when building a union: honor |
| 63 | per-package priorities, etc. |
| 64 | |
| 65 | * add GUIX_ALLOW_EXPENSIVE_TESTS |
| 66 | |
| 67 | Tests that need to download stuff or otherwise take a long time would only be |
| 68 | run when that is defined. |
| 69 | |
| 70 | * guix build utils |
| 71 | ** MAYBE Change ‘ld-wrapper’ to add RPATH for libs passed by file name |
| 72 | |
| 73 | ** MAYBE Add equivalent to chrpath that uses [[https://gitorious.org/guile-dlhacks/guile-dlhacks/][guile-dlhacks]] |
| 74 | |
| 75 | ** MAYBE Add a hash-rewriting thing for deep dependency replacement without rebuild |
| 76 | |
| 77 | See [[https://github.com/NixOS/nixpkgs/commit/d1662d715514e6ef9d3dc29f132f1b3d8e608a18][Shea Levy's `replace-dependency' in Nixpkgs]]. |
| 78 | |
| 79 | * distro |
| 80 | ** port to GNU/Hurd, aka. ‘i686-gnu’ |
| 81 | |
| 82 | Problems include that current glibc releases do not build on GNU/Hurd. |
| 83 | In addition, there haven’t been stable releases of GNU Mach, MiG, and |
| 84 | Hurd, which would be a pre-condition. |
| 85 | |