diff mbox

[03/11] manual: update prerequisite.txt

Message ID 1332285001-12881-4-git-send-email-s.martin49@gmail.com
State Superseded
Headers show

Commit Message

Samuel Martin March 20, 2012, 11:09 p.m. UTC
Signed-off-by: Samuel MARTIN <s.martin49@gmail.com>
---
 docs/manual/prerequisite.txt |   67 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)

Comments

Thomas Petazzoni March 20, 2012, 11:29 p.m. UTC | #1
Hello Samuel,

Good work. I'll try to reply to your introduction e-mail soon with
general comments. Below some specific comments on this patch.

Le Wed, 21 Mar 2012 00:09:53 +0100,
Samuel MARTIN <s.martin49@gmail.com> a écrit :

> +Mandatory packages
> +~~~~~~~~~~~~~~~~~~
> +
> +* Build tools:
> +** +build-essential+ (only for Debian based system)
> +** +gcc+
> +** +g+++
> +** +autoconf+
> +** +automake+
> +** +libtool+

autoconf/automake/libtool are not needed.

> +** +bison+
> +** +flex+
> +** +gettext+
> +** +patch+
> +** +gawk+

gawk is not in the list of mandatory dependencies. For example, the
crosstool-ng package builds host-gawk because it needs gawk. So this
tool is not current part of the mandatory dependencies.

> +* Source fetching tools:
> +** +curl+

curl is not needed.

> +** +wget+
> +** +cvs+
> +** +git+
> +** +mercurial+
> +** +subversion+

None of the version control systems are part of the mandatory
dependencies. They will only be needed if the user has selected only
one package that needs to be fetched from one of those version control
system.

I know it's nitpicking, but I think that one of the good thing with
Buildroot is that the amount of mandatory dependencies on the host is
relatively small, so it would be a shame to mark all those tools are
mandatory even though they are not.

> +* Development libraries:
> +** +ncurses5+
> +** +lzo2+
> +** +lzma+
> +** +zlib1+
> +** +acl1+
> +** +uuid+

Except ncurses5, none of these libraries should be needed, I think. We
build host-zlib when needed, and I don't see where the other libraries
are coming from.

> +* Documentation generation tools:
> +** +asciidoc+

This one should be part of the optional dependencies, people /using/
Buildroot will not need to re-generate the documentation.

> +** +texinfo+


> +
> +[[requirement-optional]]
> +
> +Optional packages
> +~~~~~~~~~~~~~~~~~
> +
> +* Interface dependencies (requires development libraries):

s/Interface/Configuration interface/

> +** +ncurses5+ to use the 'menuconfig' interface

This one is already listed above as a mandatory dependency.

> +** +qt4+ to use the 'xconfig' interface
> +** +glib2+, +gtk2+ and +glade2+ to use the 'gconfig' interface
> +
> +* Development libraries:
> +** +glib2+
> +** +netpbm10+ (for +fbtest+)
> +** +python-xcbgen+ (for +Matchbox+ on Debian based system)

Huh, why?!? We build host-libglib2 when needed, and the other ones
should be fixed if they don't build correctly without those host
components installed.

> +** +jdk+ and and depending on the host system +gcj-compat+ for Java
> +development (for +java+, +jamvm+ and +gnu-classpath+)

We don't have Java packages anymore in Buildroot, at least at the
moment.

Best regards,

Thomas
diff mbox

Patch

diff --git a/docs/manual/prerequisite.txt b/docs/manual/prerequisite.txt
index f50672b..df1e6a8 100644
--- a/docs/manual/prerequisite.txt
+++ b/docs/manual/prerequisite.txt
@@ -1,2 +1,69 @@ 
+[[requirement]]
 System requirements
 -------------------
+
+Buildroot is design to run on Linux system.
+
+Buildroot needs some software to be already installed on the host
+system; hereafter the lists of the mandatory and optional packages
+(packages' name may vary between distribution).
+
+Take care of _installing both runtime and development data_, especially
+for the libraries that may be packaged in 2 distinct packages.
+
+
+[[requirement-mandatory]]
+
+Mandatory packages
+~~~~~~~~~~~~~~~~~~
+
+* Build tools:
+** +build-essential+ (only for Debian based system)
+** +gcc+
+** +g+++
+** +autoconf+
+** +automake+
+** +libtool+
+** +bison+
+** +flex+
+** +gettext+
+** +patch+
+** +gawk+
+
+* Source fetching tools:
+** +curl+
+** +wget+
+** +cvs+
+** +git+
+** +mercurial+
+** +subversion+
+
+* Development libraries:
+** +ncurses5+
+** +lzo2+
+** +lzma+
+** +zlib1+
+** +acl1+
+** +uuid+
+
+* Documentation generation tools:
+** +asciidoc+
+** +texinfo+
+
+[[requirement-optional]]
+
+Optional packages
+~~~~~~~~~~~~~~~~~
+
+* Interface dependencies (requires development libraries):
+** +ncurses5+ to use the 'menuconfig' interface
+** +qt4+ to use the 'xconfig' interface
+** +glib2+, +gtk2+ and +glade2+ to use the 'gconfig' interface
+
+* Development libraries:
+** +glib2+
+** +netpbm10+ (for +fbtest+)
+** +python-xcbgen+ (for +Matchbox+ on Debian based system)
+** +jdk+ and and depending on the host system +gcj-compat+ for Java
+development (for +java+, +jamvm+ and +gnu-classpath+)
+