[jhalfs] 01/04: Implementation of dependency checking 1

"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository jhalfs.

commit 0a1943912e226fce18244a19dd155e3a66addab8
Author: Pierre Labastie <[email protected]>
AuthorDate: Thu Mar 23 18:32:24 2023 +0100

    Implementation of dependency checking 1
    
    Generate a switch for configuration
---
 BLFS/xsl/gen_config.xsl | 33 +++++++++++++++++++++++++++------
 1 file changed, 27 insertions(+), 6 deletions(-)

diff --git a/BLFS/xsl/gen_config.xsl b/BLFS/xsl/gen_config.xsl
index f112926..63b3768 100644
--- a/BLFS/xsl/gen_config.xsl
+++ b/BLFS/xsl/gen_config.xsl
@@ -89,21 +89,42 @@ menu    "Build settings"
                 path.
 
     config	DEL_LA_FILES
-	bool "Remove libtool .la files after package installation"
-	default y
-	help
+    bool "Remove libtool .la files after package installation"
+    default y
+    help
             This option should be active on any system mixing libtool
             and meson build systems. ImageMagick .la files are preserved.
 
     config	STATS
-	bool "Generate statistics for the requested package(s)"
-	default n
-	help
+    bool "Generate statistics for the requested package(s)"
+    default n
+    help
             If you want timing and memory footprint statistics to be
             generated for the packages you build (not their dependencies),
             set this option to y. Due to the book layout, several scripts
             are not functional in this case. Please review them.
 
+    config	DEP_CHECK
+    bool "Check dependencies of the requested package(s)"
+    default n
+    depends on WRAP_INSTALL
+    help
+      Setting this option does not work if more than one package
+      is selected. It will do the following:
+      - Build the dependency tree and generate a build ordered list
+        disregarding already installed packages
+      - Generate the scripts for the dependencies not already
+        installed (as usual)
+      - Generate a stript that:
+        + removes all unneeded packages using porg
+          (at this point the blfs_tools cannot be used anymore,
+          and your system may be non functional, so use a console
+          for that, not a graphical environment)
+        + installs the package
+        + restores all the previously removed packages
+      Note that this script may not be the last one, if there are runtime
+      dependencies
+
 endmenu
 
 menu "Build Layout"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.