Commit graph

114 commits

Author SHA1 Message Date
Pierre Labastie
ebb631aad8 With the double book, it may happen that <phrase> is used
inside <title>, and that generates an unwanted linefeed. So, use
normalize-space for titles when generating the package list
2016-08-24 15:21:49 +00:00
Pierre Labastie
4f3c433f7b Fix for using the BLFS "double" book. Note that it does not work if one of the
revisions has been rendered, and you want to switch to the other one
2016-06-13 16:51:45 +00:00
Pierre Labastie
8ebac92b36 Preceding commit fix 2016-03-19 20:25:09 +00:00
Pierre Labastie
e253015c69 When running BLFS/gen-makefile.sh, the current working directory is emptied.
If this is not the directory you intended to work in, you may erase precious
data. So only erase data in directories whose name begin with "work".
2016-03-19 20:07:33 +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
e6967a11b1 Add possibility for lzma extension when untarring in BLFS tools 2016-01-30 08:33:14 +00:00
Pierre Labastie
07f7eff8b8 BLFS tools: fix usage of sudo when cleaning directory before unpacking
Package management: update dpkg version
2015-11-30 21:29:12 +00:00
Pierre Labastie
d020649d05 Fix exchanged lines in BLFS/xsl/gen_pkg_list.xsl 2015-11-29 19:13:54 +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
cf8e0607a8 Fix name of external dependencies so that they contain no spaces 2015-11-23 14:03:39 +00:00
Pierre Labastie
12fc178906 Add external dependencies to "packages.xml". Next step is to display
them in the dependency tree.
2015-11-21 08:46:54 +00:00
Pierre Labastie
67992a0559 Fortify unpacking in the scripts generated for BLFS, see ticket #1693 2015-11-20 17:19:08 +00:00
Pierre Labastie
82bd7a6423 Adjustements for non-versioned packages:
- allows xorg-env to be a dependency although it is a sect2 id
- remove the ban on xorg-env in dependencies.xsl
- directly call the template mode="normal" for modules, since there are
  no special cases in this case.
- treat all sect1 s, even if they do not have a xreflabel.
2015-11-18 10:54:13 +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
5fb012da9a Add non-versioned packages in packages.xml. This allows for example to list dependencies of CA certificates 2015-11-17 20:18:23 +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
6f48f76f20 Modifications for the LXQt chapter 2015-09-27 12:52:55 +00:00
Pierre Labastie
967b819f07 Add a new possibility for role tag in sect2 2015-09-20 10:18:20 +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
c5650f96c7 After generating book-html, we apply sed s@../images@images@ to the html
files. This is not OK, since that could perfectly match /*/images and change
it to just images...
2014-11-17 20:46:38 +00:00
Pierre Labastie
a743e57256 Avoid spurious linebreaks
in test commands, because some developpers
include them for formatting the xml
2014-09-28 08:06:23 +00:00
Pierre Labastie
f079f8f2a8 When a package installs bootscripts, the UNPACKDIR variable is used for
unpacking the booscripts. Then, when we want to remove the build directory
of the package, the UNPACKDIR is set to something else and the build
directory is not removed.
2014-09-24 10:10:53 +00:00
Pierre Labastie
9622581203 Add a warning in BLFS envars.conf about setting XDG_... variables when
running LXDE
2014-09-16 07:55:23 +00:00
Pierre Labastie
ba57e61b6c Add code to download clang in BLFS tools 2014-05-20 20:31:22 +00:00
Pierre Labastie
642722f5c1 Improve script generation for BLFS tools:
- introduce a template for downloading code
- account for various layout of the BLFS pages for package information and additional
downloads
- Add the possibility for addtional downloads in xorg pages
2014-03-26 08:47:59 +00:00
Pierre Labastie
2ae5bbe4f0 Avoid self dependencies in BLFS tool. This may happen if a dev references
the package being built in the references paragraph.
2014-03-23 19:13:33 +00:00
Pierre Labastie
7735c7ae5e Suppress dependency on the preceding page in X chapter 2013-12-28 20:51:15 +00:00
Pierre Labastie
9c5ea2fa6f Correct a bug which could replace "makeinfo" with "make -j1info" 2013-11-17 08:26:47 +00:00
Pierre Labastie
298282525e Suppress reference to "printproto" in BLFS package list generation 2013-11-06 15:23:45 +00:00
Pierre Labastie
bbcdeab57b Handle errors while installing blfs tools and makes the error
message more accurate
2013-10-30 15:44:46 +00:00
Pierre Labastie
5795ad7a9b add the Id svn:keyword to BLFS/Makefile 2013-10-29 16:26:57 +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
69f2b810a8 BLFS: Typo fix. 2007-08-12 19:16:47 +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
b22cb02f39 BLFS: Do not include installed packages newer than the book ones. 2007-08-12 11:09:51 +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