On 5/17/06, M.Canales.es <[EMAIL PROTECTED]> wrote:

I would prefer to release jhalfs 1.0 only with {C,H}LFS support when releasing
LFS-6.2 and hope to have ready the new BLFS support before the next BLFS book
release.

Not that I'm in charge here, but this seems like the right way to go.
BLFS is an entirely different beast in that it's the only one of the
books where dependencies must be tracked.  Unless you've got solid
code for this, I think it's best to get the release out and not suffer
bitrot on the working parts.

At this moment looks that I'm very near to can create linear-build-order BLFS
books. Remain an issue that I'm not try to solve yet. How could I to dump a
file in reverse line order?

I can show you a simple dependency follower that uses make.  Greg
Schafer posted it on DIY some time back, and now I use it in my
scripts.  It's pretty simple and powerful.  It would require some XML
parsing to dump the dependencies from the book into make format, but
I'm sure you've got the XSL wizardry to pull it off. :-)

To me, the hard part is that the build instructions change depending
on what dependencies are there.  Most of the time, the CMMI packages
will handle this on their own, but some packages require more manual
massaging.  For example, the build of firefox is very different if you
have a system installed NSS/NSPR.

Now I can create a file listing dependencies from the target package up to its
last dependency (just finished few minutes age the prototype parser code).
But we need listing they in build order, not as a dependencies tree.

This is where make comes in handy.  Oh, I just remembered I have this
on anduin.  Look in this directory
http://anduin.linuxfromscratch.org/~dnicholson/deps/

Here's a target in server:

subversion: pkg-config openssl neon expat httpd

deps.mk has a simple rule which tracks down all the deps (these are
mine and are a little hairy because of an extra module in PAM)

$ ./deps.mk subversion
pkg-config
openssl
Python
libxml2
neon
expat
mime-support
cracklib
cvs
glib2
Linux-PAM
cyrus-sasl
tcp-wrappers
openldap
pcre
httpd
subversion

Feel free to use it if you want.

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

Reply via email to