Changeset d5169f16


Ignore:
Timestamp:
10/26/2014 05:38:54 PM (9 years ago)
Author:
Krejzi <krejzi@…>
Branches:
krejzi/svn
Children:
52e5650b
Parents:
4968434
Message:

Improvements, updates, additions to Programming section.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd-ng@14748 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
5 added
20 edited
5 moved

Legend:

Unmodified
Added
Removed
  • general/prog/cmake-systemd.xml

    r4968434 rd5169f16  
    100100
    101101    <para>
    102        If <application>Qt4</application> and <application>Qt5</application> are
    103        installed in <filename class="directory">/opt</filename>, use
    104        <command>source setqt4</command> or <command>source setqt5</command> to
    105        choose which one will be used to build the Qt-based GUI.
    106     </para>
    107 
    108     <para>
    109102      Install <application>CMake</application> by running the following
    110103      commands:
     
    114107            --system-libs       \
    115108            --mandir=/share/man \
    116             --docdir=/share/doc/cmake-&cmake-version;   &amp;&amp;
     109            --docdir=/share/doc/cmake-&cmake-version; &amp;&amp;
    117110make</userinput></screen>
    118111
    119112    <para>
    120113      To test the results, issue: <command>bin/ctest</command>.
    121       <!-- Please, don't remove this comment, needed if tests start to fail
    122       again. If you want to investigate a problem with a given "problem1-test",
    123       use <command>bin/ctest -R "problem1-test"</command> and, to omit it, use
    124       <command>bin/ctest -E "problem1-test"</command>. These options can be
    125       used together: <command>bin/ctest -R "problem1-test" -E
    126       "problem2-test"</command>.  Option -N can be used to display all
    127       available tests, and you can run <command>bin/ctest</command> for a
    128       sub-set of tests by using separated by spaces names or numbers as
    129       options. Option -/-help can be used to show all options.-->
    130 
    131114    </para>
    132115
     
    154137      <application>Qt</application>-based  GUI for
    155138      <application>CMake</application>.
     139    </para>
     140
     141    <para>
     142      <option>--qt-qmake=/usr/bin/qmake-qt5</option>: Use this switch if
     143      you have both <application>Qt4</application> and
     144      <application>Qt5</application> installed but wish to build the
     145      <application>Qt5</application> based GUI (it defaults to
     146      <application>Qt4</application> one).
    156147    </para>
    157148
  • general/prog/dbus-python.xml

    r4968434 rd5169f16  
    107107<screen><userinput>mkdir python2 &amp;&amp;
    108108pushd python2 &amp;&amp;
    109 PYTHON=/usr/bin/python     \
     109PYTHON=/usr/bin/python \
    110110../configure --prefix=/usr --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &amp;&amp;
    111111make &amp;&amp;
     
    124124<screen><userinput>mkdir python3 &amp;&amp;
    125125pushd python3 &amp;&amp;
    126 PYTHON=/usr/bin/python3    \
     126PYTHON=/usr/bin/python3 \
    127127../configure --prefix=/usr --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &amp;&amp;
    128128make &amp;&amp;
  • general/prog/doxygen.xml

    r4968434 rd5169f16  
    145145      <option>--with-doxywizard</option>: Use this parameter if
    146146      <application>Qt4</application> is installed and you wish to build the
    147       GUI front-end. If both <application>Qt4</application> and
    148       <application>Qt5</application> are installed, use
    149       <command>source setqt4</command>. If <application>Qt4</application> is
    150       installed in <filename class="directory">/opt</filename>, issue
    151       <command>export QTDIR=$QT4DIR</command>.
     147      GUI front-end.
    152148    </para>
    153149
  • general/prog/expect.xml

    r4968434 rd5169f16  
    4747        <para>Download (HTTP): <ulink url="&expect-download-http;"/></para>
    4848      </listitem>
    49       <!-- <listitem>
     49      <listitem>
    5050        <para>Download (FTP): <ulink url="&expect-download-ftp;"/></para>
    51       </listitem> -->
     51      </listitem>
    5252      <listitem>
    5353        <para>Download MD5 sum: &expect-md5sum;</para>
  • general/prog/gcc-ada.xml

    r4968434 rd5169f16  
    200200../gcc-&gcc-version;/configure          \
    201201    --prefix=/usr               \
    202     --libdir=/usr/lib           \
    203     --enable-shared             \
    204     --enable-threads=posix      \
    205     --enable-__cxa_atexit       \
    206     --enable-clocale=gnu        \
    207202    --disable-multilib          \
    208203    --with-system-zlib          \
     
    259254    <application>GCC</application> documentation recommends
    260255    building the package in a dedicated build directory.</para>
    261 
    262     <para><parameter>--enable-shared --enable-threads=posix
    263     --enable-__cxa_atexit</parameter>: These parameters are required to build
    264     the <application>C++</application> libraries to published standards.</para>
    265 
    266     <para><parameter>--enable-clocale=gnu</parameter>: This parameter is a
    267     failsafe for incomplete locale data.</para>
    268256
    269257    <para><parameter>--disable-multilib</parameter>: This parameter ensures
  • general/prog/gcc-java.xml

    r4968434 rd5169f16  
    154154../gcc-&gcc-version;/configure           \
    155155    --prefix=/usr                \
    156     --libdir=/usr/lib            \
    157     --enable-shared              \
    158     --enable-threads=posix       \
    159     --enable-__cxa_atexit        \
    160     --enable-clocale=gnu         \
    161156    --disable-multilib           \
    162157    --with-system-zlib           \
     
    219214    <application>GCC</application> documentation recommends
    220215    building the package in a dedicated build directory.</para>
    221 
    222     <para><parameter>--enable-shared --enable-threads=posix
    223     --enable-__cxa_atexit</parameter>: These parameters are required to build
    224     the <application>C++</application> libraries to published standards.</para>
    225 
    226     <para><parameter>--enable-clocale=gnu</parameter>: This parameter is a
    227     failsafe for incomplete locale data.</para>
    228216
    229217    <para><parameter>--disable-multilib</parameter>: This parameter ensures
  • general/prog/gcc.xml

    r4968434 rd5169f16  
    141141../gcc-&gcc-version;/configure                               \
    142142    --prefix=/usr                                    \
    143     --libdir=/usr/lib                                \
    144     --enable-shared                                  \
    145     --enable-threads=posix                           \
    146     --enable-__cxa_atexit                            \
    147     --enable-clocale=gnu                             \
    148143    --disable-multilib                               \
    149144    --with-system-zlib                               \
     
    204199      building the package in a dedicated build directory.
    205200    </para>
    206 
    207     <para>
    208       <parameter>--enable-shared --enable-threads=posix
    209       --enable-__cxa_atexit</parameter>: These parameters are required to build
    210       the <application>C++</application> libraries to published standards.
    211     </para>
    212 
    213     <para>
    214       <parameter>--enable-clocale=gnu</parameter>: This parameter is a
    215     failsafe for incomplete locale data.</para>
    216201
    217202    <para>
  • general/prog/git.xml

    r4968434 rd5169f16  
    135135
    136136    <para>
     137      First, silence a lot of compiler warnings by running the following
     138      command:
     139    </para>
     140
     141<screen><userinput>sed -i "/BSD_SOURCE/d" git-compat-util.h</userinput></screen>
     142
     143    <para>
    137144      Install <application>Git</application> by running the following
    138145      commands:
    139146    </para>
    140147
    141 <screen><userinput>./configure --prefix=/usr         \
    142             --with-gitconfig=/etc/gitconfig &amp;&amp;
     148<screen><userinput>./configure --prefix=/usr --with-gitconfig=/etc/gitconfig &amp;&amp;
    143149make</userinput></screen>
    144150
     
    166172
    167173    <para>
    168       The test suite can be run in parallel mode. Many tests cannot find
    169       <application>GnuPG2</application>, if the compatibility symlinks,
    170       recommended in <xref linkend="gnupg2"/>, are not installed. To run the
    171       test suite, issue: <command>make test</command>.
     174      To test the results, issue: <command>make test</command>.
    172175    </para>
    173176
  • general/prog/guile.xml

    r4968434 rd5169f16  
    8484    <para role="optional">
    8585      <xref linkend="emacs"/> and
    86       <xref linkend="gdb"/> (run-time only dependencies).
     86      <xref linkend="gdb"/>
    8787    </para>
    8888
  • general/prog/librep.xml

    r4968434 rd5169f16  
    8686
    8787  </sect2>
    88 <!--
    89   <sect2 role="commands">
    90     <title>Command Explanations</title>
    91 
    92     <para></para>
    93 
    94   </sect2>-->
    9588
    9689  <sect2 role="content">
  • general/prog/llvm.xml

    r4968434 rd5169f16  
    99  <!ENTITY llvm-md5sum        "d6987305a1a0e58e128c1374cd3b8fef">
    1010  <!ENTITY llvm-size          "12 MB">
    11   <!ENTITY llvm-buildsize     "618 MB (1.3 GB with Clang) and 78 MB for the tests">
    12   <!ENTITY llvm-time          "20 SBU (38 SBU with Clang) and 0.3 for tests">
     11  <!ENTITY llvm-buildsize     "618 MB (1.3 GB with Clang)">
     12  <!ENTITY llvm-time          "20 SBU (38 SBU with Clang)">
    1313
    1414  <!ENTITY clang-download-http "http://llvm.org/releases/&llvm-version;/cfe-&llvm-version;.src.tar.xz">
     
    5252      The optional <application>Clang</application> and <application>Compiler
    5353      RT</application> packages provide a new C, C++, Objective C and Objective
    54       C++ front-ends and runtime libraries for the
    55       <application>LLVM</application>.
     54      C++ front-ends and runtime libraries for <application>LLVM</application>.
    5655    </para>
    5756
     
    180179    -i Makefile.config.in &amp;&amp;
    181180
    182 CC=gcc CXX=g++                         \
    183 ./configure --prefix=/usr              \
    184             --sysconfdir=/etc          \
    185             --enable-libffi            \
    186             --enable-optimized         \
    187             --enable-shared            \
    188             --disable-assertions       &amp;&amp;
     181CC=gcc CXX=g++                   \
     182./configure --prefix=/usr        \
     183            --sysconfdir=/etc    \
     184            --enable-libffi      \
     185            --enable-optimized   \
     186            --enable-shared      \
     187            --disable-assertions &amp;&amp;
    189188make</userinput></screen>
    190189
  • general/prog/openjdk.xml

    r4968434 rd5169f16  
    6969    <para><application>IcedTea</application> provides a build harness for the
    7070    <application>OpenJDK</application> package, Oracle's open-sourced
    71     <application>Java</application> development environment.  In order to
     71    <application>Java</application> development environment. In order to
    7272    provide a completely free runtime environment, similar to Oracle's closed
    7373    distribution, the <application>IcedTea</application> build harness also
     
    8686    <para>OpenJDK is GPL'd code, however, it should be explained that there has
    8787    been a special exception made for non-free projects to use these classes in
    88     their proprietary products.  In similar fashion to the LGPL, which
     88    their proprietary products. In similar fashion to the LGPL, which
    8989    allows non-free programs to link to libraries provided by free software,
    9090    the <ulink url="http://openjdk.java.net/legal/gplv2+ce.html">GNU
     
    421421    <systemitem class="username">root</systemitem> user:</para>
    422422
    423 <screen role="root"><userinput>chmod 0644 openjdk.build/j2sdk-image/lib/sa-jdi.jar   &amp;&amp;
    424 cp -R openjdk.build/j2sdk-image /opt/OpenJDK-&openjdk-version; &amp;&amp;
     423<screen role="root"><userinput>chmod -v 644 openjdk.build/j2sdk-image/lib/sa-jdi.jar   &amp;&amp;
     424cp -rv openjdk.build/j2sdk-image /opt/OpenJDK-&openjdk-version; &amp;&amp;
    425425chown -R root:root /opt/OpenJDK-&openjdk-version;</userinput></screen>
    426426
     
    450450EOF
    451451
    452 install -v -Dm0644 javaws.png /usr/share/pixmaps/javaws.png</userinput></screen>
     452install -v -Dm644 javaws.png /usr/share/pixmaps/javaws.png</userinput></screen>
    453453
    454454    <para>The choice of pt_BR is just an example. You can add any translation
     
    478478    security provider.</para>
    479479
    480     <para><parameter>--disable-system-kerberos</parameter>: Remove this switch,
     480    <para><parameter>--disable-system-kerberos</parameter>: Remove this switch
    481481    if <xref linkend="mitkrb"/> is installed.</para>
    482482
     
    513513      the <systemitem class="username">root</systemitem> user:</para>
    514514
    515 <screen role="root"><userinput>ln -v -nsf OpenJDK-&openjdk-version;-bin /opt/jdk</userinput></screen>
     515<screen role="root"><userinput>ln -sfv OpenJDK-&openjdk-version;-bin /opt/jdk</userinput></screen>
    516516
    517517      <para>The information below assumes your system is set up using the
     
    539539pathappend $ANT_HOME/bin PATH
    540540
     541pathappend $JAVA_HOME/include       C_INCLUDE_PATH
     542pathappend $JAVA_HOME/include/linux C_INCLUDE_PATH
     543pathappend $JAVA_HOME/include       CPLUS_INCLUDE_PATH
     544pathappend $JAVA_HOME/include/linux CPLUS_INCLUDE_PATH
     545
    541546# Auto Java CLASSPATH
    542547# Copy jar files to, or create symlinks in this directory
     
    554559done
    555560
    556 export JAVA_HOME ANT_HOME CLASSPATH
     561export JAVA_HOME ANT_HOME CLASSPATH C_INCLUDE_PATH CPLUS_INCLUDE_PATH
    557562unset AUTO_CLASSPATH_DIR dir jar
    558563
     
    587592    </sect3>
    588593
    589     <sect3 id='ojdk-certs'>
     594    <sect3 id="ojdk-certs">
    590595      <title>Install or update the JRE Certificate Authority Certificates
    591596      (cacerts) file</title>
     
    826831EOF
    827832
    828 chmod -c 0755 /opt/jdk/bin/mkcacerts</userinput></screen>
     833chmod -v 755 /opt/jdk/bin/mkcacerts</userinput></screen>
    829834 
    830835  <note>
  • general/prog/php-systemd.xml

    r4968434 rd5169f16  
    55  %general-entities;
    66
    7   <!ENTITY php-download-http "http://us2.php.net/distributions/php-&php-version;.tar.xz">
     7  <!ENTITY php-download-http "http://www.php.net/distributions/php-&php-version;.tar.xz">
    88  <!ENTITY php-download-ftp  "ftp://ftp.isu.edu.tw/pub/Unix/Web/PHP/distributions/php-&php-version;.tar.xz">
    99  <!ENTITY php-md5sum        "c976f54d429a0e5214659b0098e44e37">
    1010  <!ENTITY php-size          "11 MB">
    11   <!ENTITY php-buildsize     "376 MB (additional 2 MB to run the test suite and 102 MB for documentation)">
    12   <!ENTITY php-time          "4 SBU (additional 2.5 SBU to run the test suite)">
     11  <!ENTITY php-buildsize     "378 MB">
     12  <!ENTITY php-time          "4.0 SBU">
    1313]>
    1414
     
    176176    running the following commands:</para>
    177177
    178 <screen><userinput>./configure --prefix=/usr                \
     178<screen><userinput>sed -i "s|lsystemd-daemon|lsystemd|g" configure &amp;&amp;
     179
     180./configure --prefix=/usr                \
    179181            --sysconfdir=/etc            \
    180182            --localstatedir=/var         \
     
    184186            --with-fpm-user=apache       \
    185187            --with-fpm-group=apache      \
     188            --with-fpm-systemd           \
    186189            --with-config-file-path=/etc \
    187190            --with-zlib                  \
     
    244247      <title>Command Explanations</title>
    245248
     249      <para><command>sed -i "s|lsystemd-daemon|lsystemd|g" configure</command>:
     250      This command fixes the detection of the systemd library.</para>
     251
    246252      <para><parameter>--with-datadir=/usr/share/php</parameter>: This works
    247253      around a bug in the build machinery, which installs some data to a
     
    249255
    250256      <para><parameter>--enable-fpm</parameter>: This parameter allows
    251       building the fastCGI Process Manager.</para>
     257      building the FastCGI Process Manager.</para>
     258
     259      <para><parameter>--with-fpm-systemd</parameter>: This parameter allows
     260      the FastCGI Process Manager to integrate with systemd.</para>
    252261
    253262      <para><parameter>--with-config-file-path=/etc</parameter>: This parameter
    254263      makes <application>PHP</application> look for the
    255264      <filename>php.ini</filename> configuration file in
    256       <filename class='directory'>/etc</filename>.</para>
     265      <filename class="directory">/etc</filename>.</para>
    257266
    258267      <para><parameter>--with-zlib</parameter>: This parameter adds
     
    378387
    379388    <sect3  id="php-init">
    380       <title>Boot Script</title>
     389      <title>Systemd Units</title>
    381390
    382391      <para>
    383         To automatically start the <command>php-fpm</command> daemon when the
    384         system is rebooted, install the
    385         <filename>/etc/rc.d/init.d/php</filename> bootscript from the
    386         <xref linkend="bootscripts"/> package as the
     392        To start the <command>php-fpm</command> daemon at boot,
     393        install the systemd unit from the <xref linkend="bootscripts"/>
     394        package by running the following command as the
    387395        <systemitem class="username">root</systemitem> user:
    388396      </para>
    389397
    390398      <indexterm zone="php php-init">
    391         <primary sortas="f-php">php</primary>
     399        <primary sortas="f-php-fpm">php-fpm</primary>
    392400      </indexterm>
    393401
    394 <screen role="root"><userinput>make install-php</userinput></screen>
     402<screen role="root"><userinput>make install-php-fpm</userinput></screen>
    395403    </sect3>
    396404
     
    408416        <seg>pear, peardev, pecl, phar (symlink), phar.phar,
    409417        php, php-cgi, php-config, php-fpm, and phpize</seg>
    410         <seg>dba.{so,a} and opcache.{so,a} at
    411        /usr/lib/php/extensions/no-debug-non-zts-20131226/</seg>
     418        <seg>None</seg>
    412419        <seg>/usr/include/php, /usr/lib/php, /usr/share/php and
    413420        /usr/share/doc/php-&php-version;</seg>
  • general/prog/prog.xml

    r4968434 rd5169f16  
    2626  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="check.xml"/>
    2727  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="clisp.xml"/>
    28   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cmake.xml"/>
     28  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cmake-systemd.xml"/>
    2929  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cvs.xml"/>
    3030  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cvsserver.xml"/>
     
    4747  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="npapi-sdk.xml"/>
    4848  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="perl-modules.xml"/>
    49   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="php.xml"/>
     49  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="php-systemd.xml"/>
    5050  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="python2.xml"/>
    5151  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="python3.xml"/>
    52   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="python-modules.xml"/>
     52  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="python-modules-systemd.xml"/>
    5353  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ruby.xml"/>
    5454  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="scons.xml"/>
    5555  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="slang.xml"/>
    56   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="subversion.xml"/>
    57   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="svnserver.xml"/>
     56  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="subversion-systemd.xml"/>
     57  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="svnserver-systemd.xml"/>
    5858  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="swig.xml"/>
    5959  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tcl.xml"/>
  • general/prog/python-modules-systemd.xml

    r4968434 rd5169f16  
    3939      <listitem>
    4040        <para>
     41          <xref linkend="pyatspi2"/>
     42        </para>
     43      </listitem>
     44      <listitem>
     45        <para>
    4146          <xref linkend="py2cairo"/>
    4247        </para>
     
    6772        </para>
    6873      </listitem>
     74      <listitem>
     75        <para>
     76          <xref linkend="setuptools"/>
     77        </para>
     78      </listitem>
     79      <listitem>
     80        <para>
     81          <xref linkend="MarkupSafe"/>
     82        </para>
     83      </listitem>
     84      <listitem>
     85        <para>
     86          <xref linkend="Jinja2"/>
     87        </para>
     88      </listitem>
     89      <listitem>
     90        <para>
     91          <xref linkend="PyYAML"/>
     92        </para>
     93      </listitem>
    6994    </itemizedlist>
    7095  </sect2>
     
    7297  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    7398    href="dbus-python.xml"/>
     99
     100  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     101    href="pyatspi2-systemd.xml"/>
    74102
    75103  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    91119    href="pyxdg.xml"/>
    92120
     121  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     122    href="setuptools-systemd.xml"/>
     123
     124  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     125    href="MarkupSafe-systemd.xml"/>
     126
     127  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     128    href="Jinja2-systemd.xml"/>
     129
     130  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     131    href="PyYAML-systemd.xml"/>
     132
    93133</sect1>
  • general/prog/python2.xml

    r4968434 rd5169f16  
    135135        even old maintained versions, so do not xref openssl here -->
    136136        If you are building <xref linkend="thunderbird"/> or
    137         <xref linkend="firefox"/> 
    138         you must install <application>openssl</application> before you build
     137        <xref linkend="firefox"/><!-- or <xref linkend="xulrunner"/> -->,
     138        you must install <application>OpenSSL</application> before you build
    139139        <application>Python 2</application>.
    140140      </para>
     
    181181      Since <application>Python 2</application> is in maintenance mode, and
    182182      <application>Python 3</application> is recommended by upstream for
    183       development, you probably do not need to install the documentation.
     183      development, you probably don't need to install the documentation.
    184184      However, if you still want to install documentation for both
    185       <application>Python</application> versions, be sure to define the
    186       <envar>PYTHONDOCS</envar>
    187       variable for the version you want to use, each time you need to consult
     185      <application>Python</application> versions, make sure you set PYTHONDOCS
     186      variable to the version you want to use each time you need to consult
    188187      the documentation. If you have downloaded the preformatted documentation
    189188      from <ulink url="http://docs.python.org/download.html"/>, install it
  • general/prog/python3.xml

    r4968434 rd5169f16  
    134134    </para>
    135135
    136 <screen><userinput>CXX="/usr/bin/g++"              \
    137 ./configure --prefix=/usr       \
     136<screen><userinput>./configure --prefix=/usr       \
    138137            --enable-shared     \
    139138            --with-system-expat \
     
    170169      The test suite must be run separately from the build, either before or
    171170      after the package is built and installed. Do not run
    172       <command>make install</command>, after running the test suite. To build
     171      <command>make install</command> after running the test suite. To build
    173172      and install the package, you need to start with a fresh or clean source
    174173      tree. For the test, you also need a clean source code, so either start by
     
    177176      configure again, adding <quote>--with-pydebug</quote> to the
    178177      <command>configure</command> switches above, run <command>make</command>,
    179       then <command>make test</command>. Remember that some tests fail, if not
    180       run in an X terminal.
     178      then <command>make test</command>. Remember that some tests fail if they
     179      are not run from an X terminal.
    181180    </para>
    182181
     
    185184  <sect2 role="commands">
    186185    <title>Command Explanations</title>
    187 
    188     <para>
    189       <command> CXX="/usr/bin/g++" ./configure ...</command>: Avoid an annoying
    190       message during configuration.
    191     </para>
    192186
    193187    <para>
     
    200194      system version of <application>libffi</application>. Remove if you have
    201195      not installed recommended dependency <xref linkend="libffi"/>.
     196    </para>
     197
     198    <para>
     199      <parameter>--without-ensurepip</parameter>: This switch disables building
     200      <command>pip</command> and setuptools modules. Newer versions can be
     201      installed independently.
    202202    </para>
    203203
     
    207207      against <application>Berkeley DB</application> instead of
    208208      <application>GDBM</application>.
    209     </para>
    210 
    211     <para>
    212       <parameter>--without-ensurepip</parameter>: This switch disables building
    213       <command>pip</command> and <command>setuptools</command>
    214       packaging programs.
    215209    </para>
    216210
  • general/prog/ruby.xml

    r4968434 rd5169f16  
    8484      <xref linkend="openssl"/>,
    8585      <xref linkend="tk"/>, and
    86       <ulink url="http://pyyaml.org/wiki/LibYAML">libyaml</ulink>
     86      <xref linkend="yaml"/>
    8787    </para>
    8888
  • general/prog/subversion-systemd.xml

    r4968434 rd5169f16  
    55  %general-entities;
    66
    7   <!--<!ENTITY subversion-download-http
    8   "http://archive.apache.org/dist/subversion/subversion-&subversion-version;.tar.bz2">-->
    97  <!ENTITY subversion-download-http
    10   "http://www.apache.org/dist/subversion/subversion-&subversion-version;.tar.bz2">
     8           "http://www.apache.org/dist/subversion/subversion-&subversion-version;.tar.bz2">
    119  <!ENTITY subversion-download-ftp  " ">
    1210  <!ENTITY subversion-md5sum        "3068256761b40863df96128834d6b71b">
     
    151149
    152150    <para>
    153       If you passed the <option>--enable-javahl</option> parameter to
    154       <command>configure</command> and wish to build the Java bindings, issue
    155       the following command:
    156     </para>
    157     <para>
    158       <screen><command>make javahl</command></screen>
    159     </para>
    160 
    161     <para>
    162       If you have a multi core CPU and normally run <command>make</command> with
    163       multiple jobs (eg <command>make -j4</command>) then a bug in the
     151      If you are using multiple jobs to compile packages, then fix a bug in the
    164152      <filename>Makefile</filename> will prevent the
    165       <application>Perl</application> bindings compiling correctly. Fix the
    166       <filename>Makefile</filename> with:
    167     </para>
    168     <para>
    169      <screen><command>sed -i 's#Makefile.PL.in$#&amp; libsvn_swig_perl#' Makefile.in</command></screen>
    170     </para>
    171 
    172     <para>
    173       If you want to compile <application>Perl</application>,
    174       <application>Python2</application>, or <application>Ruby</application>
    175       bindings, issue any of the following command:
    176     </para>
    177     <para>
    178       <screen><command>make swig-pl</command> # for <application>Perl</application>
    179 <command>make swig-py \
     153      <application>Perl</application> bindings from compiling correctly:
     154    </para>
     155
     156<screen><userinput>sed -i 's#Makefile.PL.in$#&amp; libsvn_swig_perl#' Makefile.in</userinput></screen>
     157
     158    <para>
     159      If you want to compile <application>Java</application>,
     160      <application>Perl</application>,
     161      <application>Python2</application> or
     162      <application>Ruby</application>
     163      bindings, issue any of the following commands:
     164    </para>
     165
     166    <note>
     167      <para>
     168        Make sure that you have passed <option>--enable-javahl</option>
     169        switch to <command>configure</command> before trying to build
     170        the Java bindings.
     171      </para>
     172    </note>
     173
     174    <para>
     175      For <application>Java</application> bindings:
     176    </para>
     177
     178<screen><userinput>make javahl</userinput></screen>
     179
     180    <para>
     181      For <application>Perl</application> bindings:
     182    </para>
     183
     184<screen><userinput>make swig-pl</userinput></screen>
     185
     186    <para>
     187      For <application>Python2</application> bindings:
     188    </para>
     189
     190<screen><userinput>make swig-py \
    180191     swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
    181      swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</command> # for <application>Python</application>
    182 <command>make swig-rb</command> # for <application>Ruby</application></screen>
    183     </para>
     192     swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</userinput></screen>
     193
     194    <para>
     195      For <application>Ruby</application> bindings:
     196    </para>
     197
     198<screen><userinput>make swig-rb</userinput></screen>
    184199
    185200    <para>
     
    189204
    190205    <para>
    191       To test the results of the Java bindings build, issue
    192       <command>make check-javahl</command>. Note you must have the
    193       <application>JUnit</application> testing framework installed.
    194     </para>
    195 
    196     <para>
    197206      To test the results of any of the <application>SWIG</application>
    198207      bindings, you can use any of the following commands:
     208      <command>make check-javahl</command>,
    199209      <command>make check-swig-pl</command>,
    200       <command> make check-swig-py</command>, or
    201       <command>make check-swig-rb</command>.
    202     </para>
    203 
     210      <command> make check-swig-py</command> or
     211      <command>make check-swig-rb</command>. Note you must have the
     212      <application>JUnit</application> testing framework installed if
     213      running the Java bindings tests.
     214    </para>
    204215
    205216    <para>
     
    213224
    214225    <para>
    215       If you built the Java bindings, issue the following command as the
    216       <systemitem class="username">root</systemitem> user to install them:
    217     </para>
    218     <para>
    219      <screen> <command>make install-javahl</command></screen>
    220     </para>
    221 
    222     <para>
    223       If you built the <application>Perl</application>,
    224       <application>Python2</application>, or
     226      If you have built any of the <application>Java</application>,
     227      <application>Perl</application>,
     228      <application>Python2</application> or
    225229      <application>Ruby</application> bindings, issue any of the following
    226230      commands as the <systemitem class="username">root</systemitem> user
    227231      to install them:
    228232    </para>
    229     <para>
    230       <screen><command>make install-swig-pl</command>
    231 <command>make install-swig-py \
    232       swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
    233       swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</command>
    234 <command>make install-swig-rb</command></screen>
    235     </para>
     233
     234    <para>
     235      For <application>Java</application> bindings:
     236    </para>
     237
     238<screen role="root"><userinput>make install-javahl</userinput></screen>
     239
     240    <para>
     241      For <application>Perl</application> bindings:
     242    </para>
     243
     244<screen role="root"><userinput>make install-swig-pl</userinput></screen>
     245
     246    <para>
     247      For <application>Python2</application> bindings:
     248    </para>
     249
     250<screen role="root"><userinput>make install-swig-py \
     251     swig_pydir=/usr/lib/python&python2-majorver;/site-packages/libsvn \
     252     swig_pydir_extra=/usr/lib/python&python2-majorver;/site-packages/svn</userinput></screen>
     253
     254    <para>
     255      For <application>Ruby</application> bindings:
     256    </para>
     257
     258<screen role="root"><userinput>make install-swig-rb</userinput></screen>
    236259
    237260  </sect2>
  • general/prog/svnserver-systemd.xml

    r4968434 rd5169f16  
    8181<screen role="root"><userinput>groupadd -g 57 svntest &amp;&amp;
    8282usermod -G svntest -a svn</userinput></screen>
    83 
    84       <para>Additionally you should set <command>umask 002</command> while
    85       working with a repository so that all new files will be writable by
    86       owner and group. This is made mandatory by creating a wrapper script for
    87       <command>svn</command> and <command>svnserve</command>:</para>
    88 
    89 <screen role="root"><userinput>mv /usr/bin/svn /usr/bin/svn.orig &amp;&amp;
    90 mv /usr/bin/svnserve /usr/bin/svnserve.orig &amp;&amp;
    91 cat &gt;&gt; /usr/bin/svn &lt;&lt; "EOF"
    92 <literal>#!/bin/sh
    93 umask 002
    94 /usr/bin/svn.orig "$@"</literal>
    95 EOF
    96 cat &gt;&gt; /usr/bin/svnserve &lt;&lt; "EOF"
    97 <literal>#!/bin/sh
    98 umask 002
    99 /usr/bin/svnserve.orig "$@"</literal>
    100 EOF
    101 chmod 0755 /usr/bin/svn{,serve}</userinput></screen>
    102 
    103       <note>
    104         <para>If you use <application>Apache</application> for working with
    105         the repository over HTTP, even for anonymous access, you should wrap
    106         <command>/usr/sbin/httpd</command> in a similar script.</para>
    107       </note>
    10883
    10984    </sect3>
     
    276251EOF</userinput></screen> -->
    277252
    278       <para>To start the server at boot time, install the svn bootscript included
    279       in the <xref linkend="bootscripts"/> package.</para>
     253      <para>
     254        To start the <command>svnserve</command> daemon at boot,
     255        install the systemd unit from the <xref linkend="bootscripts"/>
     256        package by running the following command as the
     257        <systemitem class="username">root</systemitem> user:
     258      </para>
    280259
    281260      <indexterm zone="svnserver svnserver-init">
    282         <primary sortas="f-svn">svn</primary>
     261        <primary sortas="f-svnserve">svnserve</primary>
    283262      </indexterm>
    284263
    285 <screen role="root"><userinput>make install-svn</userinput></screen>
     264<screen role="root"><userinput>make install-svnserve</userinput></screen>
     265
     266      <para>Additionally, the instructions above require that svn server
     267      uses <command>umask 002</command> so that all new files will
     268      be writable by owner and group. This can be achieved by creating
     269      a systemd unit override file by running the following command:</para>
     270
     271<screen role="root"><userinput>mkdir -p /etc/systemd/system/svnserve.service.d
     272echo "UMask=0002" > /etc/systemd/system/svnserve.service.d/99-user.conf</userinput></screen>
     273
     274      <para>Options which are passed to <command>svnserve</command> daemon
     275      can be changed in <filename>/etc/default/svnserve</filename>.</para>
    286276
    287277    </sect3>
  • general/prog/vala.xml

    r4968434 rd5169f16  
    7373      </listitem>
    7474    </itemizedlist>
    75 <!--
    76     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    77     <itemizedlist spacing="compact">
    78       <listitem>
    79         <para>
    80           Required patch:
    81           <ulink url="&patch-root;/vala-&vala-version;-upstream_fixes-2.patch"/>
    82         </para>
    83       </listitem>
    84     </itemizedlist>-->
    8575
    8676    <bridgehead renderas="sect3">Vala Dependencies</bridgehead>
  • general/prog/valgrind.xml

    r4968434 rd5169f16  
    8181      <xref linkend="llvm"/> (with Clang),
    8282      <xref linkend="gdb"/> (for tests), and
    83       <ulink url="http://www.openmp.org">OpenMP</ulink>
     83      <ulink url="http://www.openmp.org/">OpenMP</ulink>
    8484    </para>
    8585
  • introduction/welcome/changelog.xml

    r4968434 rd5169f16  
    5252        </listitem>
    5353        <listitem>
    54           <para>[krejzi] - Changed and simplified Poppler instructions so they use qtchooser in case of two Qt installations.</para>
    55         </listitem
     54          <para>[krejzi] - Improved and simplified subversion instructions.</para>
     55        </listitem>
     56        <listitem>
     57          <para>[krejzi] - Converted PHP and SVN Server instructions to work on systemd setups.</para>
     58        </listitem>
     59        <listitem>
     60          <para>[krejzi] - Added Jinja2-2.7.3, MarkupSafe-0.23, pyatspi-2.14.0, setuptools-7.0 and PyYAML-3.11 - Python Modules.</para>
     61        </listitem>
     62        <listitem>
     63          <para>[krejzi] - Changed and simplified CMake and Poppler instructions so they use qtchooser in case of two Qt installations.</para>
     64        </listitem>
    5665        <listitem>
    5766          <para>[krejzi] - Improved and expanded libwebp instructions.</para>
  • systemd-units/blfs/units/php-fpm.service

    r4968434 rd5169f16  
    44
    55[Service]
    6 Type=forking
     6Type=notify
    77PIDFile=/run/php-fpm.pid
    88PrivateTmp=true
    9 ExecStart=/usr/sbin/php-fpm --daemonize --allow-to-run-as-root --fpm-config /etc/php-fpm.conf --pid /run/php-fpm.pid
     9ExecStart=/usr/sbin/php-fpm --nodaemonize --fpm-config /etc/php-fpm.conf --pid /run/php-fpm.pid
    1010ExecReload=/bin/kill -USR2 $MAINPID
    1111
  • systemd.ent

    r4968434 rd5169f16  
    1212<!ENTITY libqmi-version               "1.10.4">
    1313<!ENTITY libxkbcommon-version         "0.5.0">
     14<!ENTITY pyatspi2-version             "2.14.0">
    1415<!ENTITY qtchooser-version            "39">
    1516<!ENTITY wayland-version              "1.6.0">
    1617<!ENTITY yaml-version                 "0.1.6">
    1718
     19<!ENTITY Jinja2-version               "2.7.3">
     20<!ENTITY MarkupSafe-version           "0.23">
     21<!ENTITY setuptools-version           "7.0">
     22<!ENTITY PyYAML-version               "3.11">
Note: See TracChangeset for help on using the changeset viewer.