Pierre Labastie
abadee36de
Improve and augment the "func_dependency" doc
2021-12-30 14:20:43 +01:00
Pierre Labastie
141d072bf6
BLFS Dependencies: Fix pass2 not run
...
With the way we manage "first" deps, it may happen that no node
unreference the pass2 node. In that case, we add it to root.
Add some documentation for what we do for those deps, too.
2021-12-19 17:30:10 +01:00
Pierre Labastie
a78cfc961e
Better document the loop on "after" deps
...
Add also a description of that loop in the general header
2021-12-19 17:30:10 +01:00
Pierre Labastie
e0bbc6e6ac
Document some variables in func_dependencies
...
Better document the $seen global variable used in path_to,
also at places where "path_to" is called.
Document p and b flags in the loop over "after" deps.
Document lr variable in the loop over "first" deps.
2021-12-19 17:30:10 +01:00
Pierre Labastie
dd9ca56bd2
BLFS dependencies: better document the functions
...
First the function used in pass1. Also some nit in the function itself
2021-12-18 15:28:47 +01:00
Pierre Labastie
fd4a7982f2
Remove $Id$ comments, they are useless with git
2021-10-31 10:22:30 +01:00
Pierre Labastie
e030049a44
BLFS/func_dependencies: when building the graph, and DEP_LEVEL=3 (build opt
...
deps only for requested packages), it may happen that a requested packages
is seen at depth > 2 before it is seen at depth=2. In this case, optional
deps are not processed the first time, and then the package is not processed
at depth 2 because it has already been seen. Add a case statement against
that.
2018-02-19 16:01:00 +00:00
Pierre Labastie
28546ae95d
Output some information during the cleaning phase in BLFS dependency engine
...
for the impatient
2018-02-09 09:24:55 +00:00
Pierre Labastie
f1edc8e377
Because we do not want to depend on <pack>groupxx if it creates a circular
...
dependency, it may happen that nothing depends on <pack>groupxx. Detect and
fix this by appending <pack>groupsxx to root.dep
2018-02-02 21:12:30 +00:00
Pierre Labastie
d80302bf94
Impose -pass1 to be built before its dependant package (bug #1718 )
2018-02-02 21:10:16 +00:00
Pierre Labastie
59afe7323a
BLFS/libs: Another stupid bug in path_to
2018-02-02 21:06:49 +00:00
Pierre Labastie
5afaf7cc48
BLFS/libs/func_dependencies: fix 2 stupid bug in function path_to
2018-02-02 17:55:29 +00:00
Pierre Labastie
2140f22a88
New management of dependencies:
...
- Even if only required or recommended deps only are requested and built,
account for optional deps to build the pacakge order
- build "runtime" deps after the pacakge dependening on them, but before
any other package
- using the "first" role in the book, implement pass1 pacakges when there
are circular dependencies
- Documentation has still to be written
- There must be bugs, thank you for testing...
2018-01-28 17:56:55 +00:00
Pierre Labastie
2e1c1c3c16
Remove spaces at the end of lines
2018-01-13 09:08:56 +00:00
Pierre Labastie
6c8095a04f
Avoid infinite recursion in "tree-erase" if there is a circular dependency
2017-08-22 09:00:49 +00:00
Pierre Labastie
4888f0cdd4
typos
2016-02-29 15:30:06 +00:00
Pierre Labastie
f37d08b3aa
Fix a bug in "tree_erase",
...
which occurs rarely
2016-02-28 18:07:52 +00:00
Pierre Labastie
e91a15da8a
Print external dependencies when printing the dependency tree
2015-11-23 14:22:48 +00:00
Pierre Labastie
7ac11f0671
Fix a long standing bug preventing the chosen MTA to be used and improve
...
some comments
2015-11-23 14:14:23 +00:00
Pierre Labastie
7dc8595523
Automate the process of choosing action when there are circular dependencies.
...
This has to be tested, but hopefully, it should allow to find a coherent
build order when there are not too many circular dependencies
2015-11-17 20:22:04 +00:00
Pierre Labastie
d7c07e0b34
Memorize answers for circular dependencies. Still, we need a way to
...
automaitcally answer when competition is between for example optional
and recommended dep.
2015-11-07 11:36:11 +00:00
Pierre Labastie
1670a20e34
Again minor fix in comments for func_dependencies
2015-11-04 09:26:58 +00:00
Pierre Labastie
7f9fa78b65
Typos and minor fixes
2015-11-03 21:53:34 +00:00
Pierre Labastie
e4b1293971
Improve (?) comments in func_dependencies
2015-11-03 17:17:15 +00:00
Pierre Labastie
bd07ef520f
The preceding fix is just a workaround, but the correct fix is:
...
- the problem is when a .dep file contains pack-A pack-B pack-A. If pack-A
and pack-B have some dep in common, say pack-C, that dep is erased from
pack-B, with the idea that it will be built as a dep of pack-A. But when
the program encounters the second pack-A, it removes the first one, so that
pack-C is built before the second pack-A, but after pack-B. Sorting was
a good workaround, but removing the last line instead of the first is
much better.
- Otherwise, add Xfce and Lxde to the list of packages whose preceding
sibling is a required dep.
2015-02-22 21:20:37 +00:00
Pierre Labastie
d607ac3717
Fix dependency generator:
...
When the .dep file is scanned during the tree building, it outputs dependencies
in the file order, while when the tree is scanned later, dependencies are
output in alphabetical order. This may eventually lead to a wrong order
at the end. To be sure that both output are the same, just sort
the .dep file before scanning it.
2015-02-22 15:16:49 +00:00
Pierre Labastie
e576789367
Merge ablfs branch. Normally, jhalfs should not perform differently
...
for building LFS
2013-10-29 15:42:03 +00:00
Manuel Canales Esparcia
232f595560
BLFS: Removed diplicated aRts entry.
2007-08-13 18:58:11 +00:00
Manuel Canales Esparcia
e6a616d6b0
BLFS: Handling the new JDK version string format.
2007-08-13 18:43:08 +00:00
Manuel Canales Esparcia
aac025d60f
BLFS: python-modules hacks.
2007-08-12 19:05:35 +00:00
Manuel Canales Esparcia
5e091a2b7e
BLFS: Skip installed packages newer than the book ones.
2007-08-12 14:34:33 +00:00
Manuel Canales Esparcia
3938ff29ef
BLFS: Fake version for dbus-bindings and perl-modules.
2007-08-11 16:16:26 +00:00
Manuel Canales Esparcia
97b041f81d
BLFS: Fix FFmpeg installed version check.
2007-08-11 11:23:58 +00:00
Manuel Canales Esparcia
efef736931
BLFS: Bug fix.
2007-08-11 11:08:11 +00:00
Manuel Canales Esparcia
3aa2b81223
BLFS: Fix get_installed_ver func for that packages its version string don't start with a digit.
...
Removed ispell and gimp-print from packages database.
2007-08-10 22:43:54 +00:00
Manuel Canales Esparcia
9695fa7cca
Failsafe tests to be sure that we are deleting an existing unpacked sources directory.
...
Thanks to Petr "Qaxi" Klíma for the report and patch.
2007-08-10 21:24:02 +00:00
Manuel Canales Esparcia
7c6c3556d2
BLFS: Wrap root commads into single quotes instead of double quotes. This avoid to conflict with doble quotes used in the book to create here documents.
2007-08-10 21:06:15 +00:00
Manuel Canales Esparcia
9d9a8109db
BLFS: Some bugs and issues found when installing Xorg7.
2007-08-06 18:28:09 +00:00
Manuel Canales Esparcia
1caf1f4fbe
BLFS: Fixed a bug on the previous commit.
2007-07-27 19:34:13 +00:00
Manuel Canales Esparcia
a70c289526
BLFS: Added SRC_ARCHIVE and resume support to Xorg7 packages.
2007-07-27 19:14:48 +00:00
Manuel Canales Esparcia
5fb652f737
BLFS: Fixed xorg-server + mesalib issues (I think)
2007-07-26 22:12:32 +00:00
Manuel Canales Esparcia
0efb837ae4
BLFS: Changes to handle the new Xorg7 installation commands structure.
2007-07-26 19:07:03 +00:00
Manuel Canales Esparcia
7889308563
BLFS: Started X11 updates.
2007-07-25 21:32:33 +00:00
Manuel Canales Esparcia
55bc23bac9
BLFS: We are defining a variable, not a param.
...
Current libxslt version complains about that type of improper syntax.
2007-07-25 20:09:15 +00:00
Manuel Canales Esparcia
ba5efc414d
BLFS: Revised and verified (I hope) all current circular dependencies.
2007-07-25 19:35:17 +00:00
Manuel Canales Esparcia
76d58bc22a
BLFS: Fixed the path to the CSS files.
2007-07-24 23:15:20 +00:00
Manuel Canales Esparcia
d72ee6934c
BLFS: Fixed several new circular dependencies.
2007-07-24 23:13:22 +00:00
George Boudreau
52b0d10f27
BLFS book: progress_bar.sh, documentation and misc adjustments
2007-07-06 00:59:01 +00:00
Manuel Canales Esparcia
16938b0ee9
Updated blfs-tool dependencies.
2007-04-13 19:26:35 +00:00
Manuel Canales Esparcia
4a8430d1c4
Removed Ash from availables packages.
2007-04-13 17:58:45 +00:00