mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 23:07:23 +08:00
Add Ninja-1.7.1.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17831 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
f7153b6248
commit
114fd4e51d
187
general/prog/ninja.xml
Normal file
187
general/prog/ninja.xml
Normal file
@ -0,0 +1,187 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY ninja-download-http "https://github.com/ninja-build/ninja/archive/v&ninja-version;.tar.gz">
|
||||
<!ENTITY ninja-download-ftp " ">
|
||||
<!ENTITY ninja-md5sum "e45bda009319f9af5385bb79e783da9f">
|
||||
<!ENTITY ninja-size "176 KB">
|
||||
<!ENTITY ninja-buildsize "3.0 MB (add 1 MB for the tests)">
|
||||
<!ENTITY ninja-time "0.2 SBU (with tests)">
|
||||
]>
|
||||
|
||||
<sect1 id="ninja" xreflabel="Ninja-&ninja-version;">
|
||||
<?dbhtml filename="ninja.html"?>
|
||||
|
||||
<sect1info>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
|
||||
<title>Ninja-&ninja-version;</title>
|
||||
|
||||
<indexterm zone="ninja">
|
||||
<primary sortas="a-Ninja">Ninja</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect2 role="package">
|
||||
<title>Introduction to Ninja</title>
|
||||
|
||||
<para>
|
||||
<application>Ninja</application> is a small build system with a focus on
|
||||
speed.
|
||||
</para>
|
||||
|
||||
&lfs7a_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
Download (HTTP): <ulink url="&ninja-download-http;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<!-- <listitem>
|
||||
<para>
|
||||
Download (FTP): <ulink url="&ninja-download-ftp;"/>
|
||||
</para>
|
||||
</listitem> -->
|
||||
<listitem>
|
||||
<para>
|
||||
Download MD5 sum: &ninja-md5sum;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download size: &ninja-size;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Estimated disk space required: &ninja-buildsize;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Estimated build time: &ninja-time;
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">CMake Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<para role="required">
|
||||
<xref linkend="python2"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional">
|
||||
<ulink url="http://re2c.sourceforge.net/">re2c</ulink>
|
||||
(only needed to modify the build), and
|
||||
<xref linkend="emacs"/>
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
<ulink url="&blfs-wiki;/ninja"/>
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of Ninja</title>
|
||||
|
||||
<para>
|
||||
Install <application>Ninja</application> by running the following
|
||||
commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>./configure.py --bootstrap</userinput></screen>
|
||||
|
||||
<para>If Emacs is installed and you wish to build lisp files:</para>
|
||||
|
||||
<screen><userinput>emacs -Q --batch -f batch-byte-compile misc/ninja-mode.el</userinput></screen>
|
||||
|
||||
<para>
|
||||
To test the results, issue the following commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>./configure.py &&
|
||||
./ninja ninja_test &&
|
||||
./ninja_test --gtest_filter=-SubprocessTest.SetWithLots</userinput></screen>
|
||||
|
||||
<para>
|
||||
Now, as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>install -vm755 ninja /usr/bin/ &&
|
||||
install -vDm644 misc/ninja.vim \
|
||||
/usr/share/vim/vim74/syntax/ninja.vim &&
|
||||
install -vDm644 misc/bash-completion \
|
||||
/usr/share/bash-completion/completions/ninja &&
|
||||
install -vDm644 misc/zsh-completion \
|
||||
/usr/share/zsh/site-functions/_ninja
|
||||
</userinput></screen>
|
||||
|
||||
<para>
|
||||
If Emacs is installed, while still the
|
||||
<systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>install -vDm644 misc/ninja-mode.el \
|
||||
/usr/share/emacs/site-lisp/ninja-mode.el
|
||||
install -vDm644 misc/ninja-mode.elc \
|
||||
/usr/share/emacs/site-lisp/ninja-mode.elc</userinput></screen>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para>...</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Library</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>
|
||||
ninja
|
||||
</seg>
|
||||
<seg>
|
||||
none
|
||||
</seg>
|
||||
<seg>
|
||||
none
|
||||
</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
<?dbhtml list-presentation="table"?>
|
||||
|
||||
<varlistentry id="ninja-prog">
|
||||
<term><command>ninja</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
is the Ninja build system.
|
||||
</para>
|
||||
<indexterm zone="ninja ninja-prog">
|
||||
<primary sortas="b-ninja">ninja</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
@ -45,6 +45,7 @@ $Date$
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lua.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mercurial.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="nasm.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ninja.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="npapi-sdk.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="perl-modules.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="php.xml"/>
|
||||
|
@ -46,6 +46,9 @@
|
||||
<listitem>
|
||||
<para>September 27th, 2016</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[dj] - Add ninja-1.7.1.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[renodr] - Update to ghostscript-9.20. Fixes
|
||||
<ulink url="&blfs-ticket-root;8361">#8361</ulink>.</para>
|
||||
|
@ -294,6 +294,7 @@
|
||||
<!ENTITY lua-version "5.3.3">
|
||||
<!ENTITY mercurial-version "3.9.1">
|
||||
<!ENTITY nasm-version "2.12.02">
|
||||
<!ENTITY ninja-version "1.7.1">
|
||||
<!ENTITY npapi-sdk-version "0.27.2">
|
||||
<!ENTITY php-version "7.0.11">
|
||||
<!ENTITY python2-version "2.7.12">
|
||||
|
Loading…
Reference in New Issue
Block a user