Hi,
Lately there has been rumblings about 'plugins' and flexiblity and there is more than a little interest in those features. For Manuel and I to include those features in 2.0 would create more problems than features and would end up looking like a M$ product. That being said, we are open to ideas from the LFS community on what 3.0 should include and how it might work. So put on your thinking caps, dust off that HB pencil and jot down some ideas. There is no guarantee any of your ideas will make into the final product so be persuasive. give examples and as always send $.

   George

----------------
A Modest Proposal
................

To partition the package scripts and wrap them them in xml tags. XSL scripts would extract the scriptlets and preprocess them before assembling them in the final form. Role tags could be included in final script if the xsl author wished. Addition of the extra tags will not affect the rendering of the HTML documents and will only appear in the final scripts.

::Benefits::
  xsl scripts could exclude package testing code easily.
  pm xsl scripts could exist for different designs.


::Partitioning Format::
        <userinput role="xxx">
                ... snippet of code ...
        </userinput>

::Recommended roles (all roles are optional)
        PRE, PATCH, CONFIG, BUILD, TEST, INSTALL, POST

::Example::
        <screen>
              <userinput role="PRE">     ... </userinput>
              <userinput role="PATCH">   ... </userinput>
              <userinput role="CONFIG">  ... </userinput>
              <userinput role="BUILD">   ... </userinput>
              <userinput role="TEST">    ... </userinput>
              <userinput role="INSTALL"> ... </userinput>
              <userinput role="POST">    ... </userinput>
        </screen>


A coded example from LFS (bash)

<screen>
<userinput role="PATCH">tar -xvf ../bash-doc-3.1.tar.* &&
sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-3.1|" \
    Makefile.in
patch -Np1 -i ../bash-3.1-fixes-8.patch</userinput>
<userinput role="CONFIG">./configure --prefix=/usr --bindir=/bin \
    --without-bash-malloc --with-installed-readline</userinput>
<userinput role="BUILD">make</userinput>
<userinput role="INSTALL">make install</userinput>
</screen>

--
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to