Commit graph

232 commits

Author SHA1 Message Date
Pierre Labastie
91b7b5fd88 Output a linear book for LFS, with BLFS format 2017-08-09 14:15:27 +00:00
Pierre Labastie
506120eeec install-blfs-tools.sh:
- Add instructions to retrieve and parse LFS book into packages.xml
2017-08-09 13:55:55 +00:00
Pierre Labastie
51dba866a0 BLFS/xsl/gen_pkg_list.xsl: misalignned closing tag 2017-08-09 13:32:22 +00:00
Pierre Labastie
e415656b9f BLFS/Makefile:
-  Do not call make after inititalizing the tracking file
-  Remove the <package-version> file from tracking dir after using it
-  Fix a typo
2017-08-09 13:25:26 +00:00
Pierre Labastie
45f8a9c86d Forgotten quotes 2017-06-29 16:54:28 +00:00
Pierre Labastie
973c767b90 Use BUILD_DIR and SRC_DIR in bootscripts/systemd-units download instructions
(cherry picked from r3967 in 2.4 branch)
2017-06-29 08:25:01 +00:00
Pierre Labastie
945ccaa75e Merge the new_features branch (manully, thanks to svn) 2017-04-09 10:29:32 +00:00
Pierre Labastie
c6c2d8966a Small adjustements to READMEs and BLFS/TODO 2017-03-20 15:31:30 +00:00
Pierre Labastie
9da16d9bf1 Fix a bug in the blfs scripts, occuring when the pacakge is neither a
tarball nor a zip file: copy the package from $SRC_DIR to the xxx-build dir.
And in case they are needed, copy the additional files too.
2017-03-19 16:17:18 +00:00
Pierre Labastie
8dc464678e Merge new_features: Allows to retrieve package from SRC_ARCHIVE, in case it is not already there
and is in archive. This should not happen in normal operation, but may happen
    in func_install_blfs
2017-03-16 12:49:01 +00:00
Pierre Labastie
39dc04a73d Merge new_features rev 3918 2017-03-15 21:06:17 +00:00
Pierre Labastie
f4a3b0ca3f Add another set of Id keywords properties 2017-03-12 13:34:15 +00:00
Pierre Labastie
56178bab73 Add a few forgotten keywords properties 2017-03-12 13:20:02 +00:00
Pierre Labastie
84440e673d Unless explicitely set on the command line, the REV parameter
in BLFS tools make is the same as the preceding used one. Formerly, it
was set to sysv unless defined on the command line
2017-03-02 16:38:25 +00:00
Pierre Labastie
70d73d1e82 Install units when revision is systemd, rather than bootscripts 2017-03-01 15:54:16 +00:00
Pierre Labastie
6eaae5e34c Fix Ed tarball unpacking 2017-02-28 12:46:52 +00:00
Pierre Labastie
342c862481 Merge new_feature branch r3884 to3886:
- Adapt BLFS/envars.conf to modern BLFS books
- Fix try order for downloading BLFS packages
- Fixes to use the XORG Legacy page in BLFS
2017-02-27 14:09:03 +00:00
Pierre Labastie
9575278319 Fix dependencies when there is
a <phrase> tag above the <xref>
2016-12-03 18:22:50 +00:00
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
Manuel Canales Esparcia
63a051ca22 Trying to fix all sorting issues due user locale settings. 2007-08-08 17:02:04 +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
a06975772a BLFS: Be sure that the menu/mconf binary is rebuild each time. 2007-07-26 20:01:43 +00:00
Manuel Canales Esparcia
4a33ef0ae6 BLFS: envar.conf fixes. 2007-07-26 19:46:19 +00:00
Manuel Canales Esparcia
fc8b9625a6 BLFS: Fixed progress_bar.sh run. 2007-07-26 19:40:24 +00:00
Manuel Canales Esparcia
35d99d6273 BLFS: Updated TODO. 2007-07-26 19:08:59 +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
155e2b4f5b Fixing keywords property. 2007-07-25 22:00:23 +00:00
Manuel Canales Esparcia
28087b7461 BLFS: Be sure that packages file is properly sorted. 2007-07-25 21:53:33 +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
5120fdc624 Added problem to BLFS TODO list 2007-07-06 01:50:14 +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
0a1c668579 BLFS: Updated Xorg7 build envars. 2007-02-04 11:40:03 +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
George Boudreau
a96109a275 more changes made to accomodate bash-3.2 2006-10-24 02:49:37 +00:00
Manuel Canales Esparcia
ae158a62bc Typo fix. 2006-10-11 19:45:19 +00:00
Manuel Canales Esparcia
aecb378a83 Added checks to prevent gen-makefile.sh be run from wrong directories. 2006-10-11 19:35:34 +00:00
Manuel Canales Esparcia
640e48be9f Updated TODO. 2006-10-07 18:58:05 +00:00
George Boudreau
d44206f9ea Applied Dan Nicholson's changes to progress_bar.sh and its support code 2006-09-13 20:30:00 +00:00
Manuel Canales Esparcia
fdd3b0412a Added optimizations support. 2006-08-26 09:54:19 +00:00
Manuel Canales Esparcia
423c2295d9 Be sure that only the tracking file for the just installed package version is left on TRACKING_DIR. 2006-08-26 09:31: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
Manuel Canales Esparcia
a1d0d5cd8e Run ldconfig after each package installation 2006-08-15 11:54:36 +00:00
George Boudreau
aa50f775f1 Remove unecessary trace 2006-08-15 11:50:18 +00:00
Manuel Canales Esparcia
0140fcccc4 Typo 2006-08-15 11:34:31 +00:00
Manuel Canales Esparcia
ecdc3b601d Added Xorg, Gnome, and KDE build envars to envars.conf. 2006-08-15 11:32:08 +00:00
Manuel Canales Esparcia
356f5bb407 Merged r2950 from experimental. 2006-08-15 11:31:17 +00:00
Manuel Canales Esparcia
8b5778577d Fixed a bug in the previous commit. 2006-08-14 18:48:48 +00:00
Manuel Canales Esparcia
f65d3cb63b Making configurable the top-level sources build directory. 2006-08-14 18:45:31 +00:00
Manuel Canales Esparcia
57c7bfeeab Renamed makefile.conf to envars.conf 2006-08-14 18:33:05 +00:00
Manuel Canales Esparcia
c1bba57fde Updated BLFS TODO 2006-08-14 17:12:43 +00:00
Manuel Canales Esparcia
d3ce1732ec Created BLFS master script code. 2006-08-13 14:38:12 +00:00
Manuel Canales Esparcia
c0bc66d960 Added option to not use sudo. 2006-08-13 11:58:59 +00:00
Manuel Canales Esparcia
8cb88dc5ad Renamed packages.sh to update_book.sh. 2006-08-13 11:18:03 +00:00
Manuel Canales Esparcia
82aa9bf6f3 Added support for branches and setting default values. 2006-08-13 11:15:07 +00:00
Manuel Canales Esparcia
cb18ec72f9 Fixed package traking file creation to match current scripts names. 2006-08-12 15:56:11 +00:00
Manuel Canales Esparcia
249874a3d1 Some screen output look changes. 2006-08-12 15:33:33 +00:00
Manuel Canales Esparcia
4a7e066e2a Removed depure.txt creation.
The recursive call code is more usefull to catch circular dependencies.
2006-08-12 14:47:31 +00:00
Manuel Canales Esparcia
73c3c1c765 Changed build scripts numeration to can insert scripts for non-BLFS packages. 2006-08-12 14:30:58 +00:00
Manuel Canales Esparcia
859d863f42 Remove existing sources dir due failed build. 2006-08-12 14:27:36 +00:00
Manuel Canales Esparcia
dc67791964 Removed time command.
Not useful due that it will meassure also download, unpack, and sources removal time.
2006-08-12 13:19:29 +00:00
Manuel Canales Esparcia
6d0dbc3177 Moved Makefile creation to their own script.
The user MUST to edit/review the build scripts before generating the Makefile.
Fixed SRC_ARCHIVE and FTP_SERVER settings.
2006-08-12 12:34:01 +00:00
Manuel Canales Esparcia
4cbc48f673 Merged missed BLFS bug fix from experimental. 2006-08-06 10:06:07 +00:00
Manuel Canales Esparcia
120bcdd4a9 Updated TODO files. 2006-07-16 10:43:03 +00:00
Manuel Canales Esparcia
3c10176753 Added new BLFS files from the experimental branch. 2006-07-16 10:29:37 +00:00
Manuel Canales Esparcia
7fdd8f64fb Removed obsolete BLFS files. 2006-07-16 10:24:50 +00:00
Manuel Canales Esparcia
8d0fa355c9 Don't copy some files when building BLFS.
Fixed BLFS Makefile generation bug.
2006-05-07 15:48:08 +00:00
Manuel Canales Esparcia
877cc6a7c9 Merged experimental branch to trunk.
Updated TODO.
2006-04-06 19:35:22 +00:00
Manuel Canales Esparcia
77349d5ccc Moved BLFS files to the new BLFS dir. 2006-01-23 19:40:07 +00:00