summaryrefslogtreecommitdiffstats
path: root/TODO
blob: ef9df8461edf0f33f002e688b7613d7f2fc8a83d (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
Tasks for 4.0.0
===============

General Cleanup
---------------

  * Improve code quality in executables.
  * Check for proper use of `OPK_SOURCE_VERSION` and `OPK_BINARY_VERSION`.

Functional Changes
------------------

  * Read `tmp/<binpkg>.substvars` files and use them when generating each
    specific binary package's `control` file.  This is needed for automatic
    shared library dependencies.
    - Rename `ob_set_substvar()` to `ob_set_source_substvar()`.
    - Add `ob_set_binary_substvar()` and `ob_clear_binary_substvars()`.
    - Split `ob_set_package_substvars()` into `ob_set_source_substvars()` and
      ob_set_binary_substvars()`.  Set `Binary-Version` in the latter.

Future Tasks
============

Functional Changes
------------------

  * ob-buildopk, ob-genchanges, ob-gencontrol, opkbuild: s/src-/src:/
  * ob-buildopk: Build external archives with ar by default, or tar if chosen by
    configure option.  prokit and pro-archman must first be modified to unpack
    ar archives before ProteanOS switches to ar.
  * ob-unpacksource: Maybe call separate decompressor utilities instead of using
    tar's seamless decompression.  This enables support for xz with
    BusyBox < 1.21.0 (commit dfc2473).  (Not really needed, since ProteanOS has
    used a sufficiently recent BusyBox since early 2014.)
  * Split distribution packaging from upstream sources in source packages.
    - Non-native package:
      * `src:foo` is the distribution packaging, and it depends on
        `src:foo:upstream`
      * If the revision isn't "1", don't build and upload upstream sources.
      * pro-archman will need some modifications to handle this.
    - Native package:
      * `src:foo` is the whole package.
      * Upload everything always.
  * ob-installdocs: Handle non-directory non-regular files?
  * Someday restore (removed in commit 3cc4e19) and implement
    `ob_summarize_package_arch()` and `ob_summarize_package_plat()` to queue
    source packages for build daemons.

Copyright
=========

Copyright (C) 2018, 2019  Patrick McDermott

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.  This file is offered as-is,
without any warranty.