-
Notifications
You must be signed in to change notification settings - Fork 67
/
TODO.shlibs
36 lines (32 loc) · 1.68 KB
/
TODO.shlibs
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
Breaks:
* show-deps
* buildlock
Both are based on the same function, and since Depends aren't fully known for
packages using AddShlibDeps till deb building phase.
The solution for buildlock is to enforce the policy that all -dev packages
must have a Depends (RunTimeDepends) on it's -shlibs.
Missing:
* remove comments and add debug code to pedantic verbosity
* Common code for build, updating and reading the shlibs.db should get merged
* Better checking/enforcing of the Shlibs field
* Warning about Depends being removed in the future.
* Check for depends on children packages
This should be easy enough by:
1) installing all the files and adding a check for the files minus %i + %p
(installed name) and adding the contents to a hash with the package name in
it and adding it to the loop. This should be versioned to = for the most
part and not read from shlibs.
2) just read the shlibs fields in the currently build pkgs (current info file)
and temporarily to the shlibs hash and looped. (won't be able to use = for
this version, but much easier to implement)
Documentation:
* AddShlibDeps:
* RunTimeDepends:
* new use of Depends and BuildDepends, where BuildDepends and Depends are
combined during build phase, and Depends and RunTimeDepends are combined for
the Dep. Depends should eventually be discontinued and unsupported and
should be added as a warning to the validator. This is to avoid breakage
while we get everything into BuildDepends for fink build, a pkg should build
without Depends at all. AssShlibDeps will auto add all Shared Library
depends to RunTimeDepends line and will be versioned via Shlibs fields from
all installed packages.