Commit graph

61 commits

Author SHA1 Message Date
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
Manuel Canales Esparcia
53e258f2fe BLFS:Avoid a few new circular dependencies. 2007-02-11 13:31:15 +00:00
Manuel Canales Esparcia
0253a6b27d BLFS: Fixed Config.in generation.
It was broken after the split of preface pages.
2007-02-11 10:33:46 +00:00
Manuel Canales Esparcia
f221c2c815 Solved download from sourceforge URLs 2006-12-04 17:47:37 +00:00
Manuel Canales Esparcia
91ff6a9e0c Replaced /bin/sh by /bin/bash 2006-11-11 11:39:16 +00:00
Manuel Canales Esparcia
f4ed135b17 Merged r2954:3058 from experimental. 2006-08-24 20:38:22 +00:00
Manuel Canales Esparcia
5be3651d7f Fixed Xorg7 patches download. 2006-08-15 17:23:39 +00:00
Manuel Canales Esparcia
b45f723403 Trying to fix Xorg7 build scripts. 2006-08-15 17:00:43 +00:00
Manuel Canales Esparcia
6ff1be4bd1 Fixed a build scripts look issue 2006-08-15 14:02:27 +00:00