From 355495ce39eec9e968d4aec7eb691301a5c896e9 Mon Sep 17 00:00:00 2001 From: Krejzi Date: Thu, 19 Jul 2012 16:27:40 +0000 Subject: [PATCH] Boost 1.50.0, cURL 7.26.0, GLib 2.32.4, ICU 49.1.2, PCRE 8.31 and Python 3.2.3 updates. r128 xorg driver version 6.8.1 -> 6.8.2 git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10426 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- general.ent | 22 ++- general/genlib/boost.xml | 130 +++++++------ general/genlib/glib2.xml | 23 +-- general/genlib/icu.xml | 39 ++-- general/prog/python3.xml | 297 +++++++++++++++++------------ introduction/welcome/changelog.xml | 15 ++ networking/netlibs/curl.xml | 195 ++++++++++++------- x/installing/x7driver.xml | 2 +- 8 files changed, 416 insertions(+), 307 deletions(-) diff --git a/general.ent b/general.ent index f9ff51be05..1492caa360 100644 --- a/general.ent +++ b/general.ent @@ -189,17 +189,29 @@ $Date$ - + + + + + + + - + - + + + + + + + @@ -391,7 +403,7 @@ $Date$ - + @@ -539,7 +551,7 @@ $Date$ - + diff --git a/general/genlib/boost.xml b/general/genlib/boost.xml index 71ea060ae5..69365c3f6e 100644 --- a/general/genlib/boost.xml +++ b/general/genlib/boost.xml @@ -4,15 +4,16 @@ %general-entities; - + - - - - + + + + + ]> - + @@ -23,79 +24,94 @@ Boost-&boost-version; - boost + Boost Introduction to Boost - Boost provides free peer-reviewed - portable C++ source libraries. + + Boost provides free peer-reviewed + portable C++ source libraries. + - &lfs70_checked; + &lfs71_checked; Package Information - Download (HTTP): + + Download (HTTP): + - Download (FTP): + + Download (FTP): + - Download MD5 sum: &boost-md5sum; + + Download MD5 sum: &boost-md5sum; + - Download size: &boost-size; + + Download size: &boost-size; + - Estimated disk space required: &boost-buildsize; + + Estimated disk space required: &boost-buildsize; + - Estimated build time: &boost-time; + + Estimated build time: &boost-time; + - - boost Dependencies + Boost Dependencies Optional - + and + User Notes: - - + + Installation of Boost - Install boost by running the following - commands as the root user: + + Install Boost by running the following + commands as the root user: + ./bootstrap.sh --prefix=/usr && -./b2 install link=shared +./b2 install threading=multi link=shared Command Explanations - link=shared: This parameter ensures that only shared - libraries are created, except for libboost_exception and libboost_test_exec_monitor - which are created as static. Most people will not need the static libraries, indeed - most programs using boost only use the headers, but omit this parameter if you - do need them. + + threading=multi: This parameter ensures that + Boost is built with multithreading support. + + + + link=shared: This parameter ensures that only shared + libraries are created, except for libboost_exception and libboost_test_exec_monitor + which are created as static. Most people will not need the static libraries, indeed + most programs using boost only use the headers, but omit this parameter if you + do need them. + @@ -103,37 +119,29 @@ Contents - Installed Program Installed Libraries Installed Directory - None - libboost_{chrono, date_time, filesystem, graph, iostreams, locale, math_*, - prg_exec_monitor, program_options, python, random, regex, serialization, - signals, system, thread, unit_test_framework, - wave, wserialization}.{so,a}, libboost_exception.a, libboost_test_monitor.a - /usr/include/boost + + libboost_chrono.so, libboost_date_time.so, libboost_exception.a, + libboost_filesystem.so, libboost_graph.so, libboost_iostreams.so, + libboost_locale.so, libboost_math_c99f.so, libboost_math_c99l.so, + libboost_math_c99.so, libboost_math_tr1f.so, + libboost_math_tr1l.so, libboost_math_tr1.so, + libboost_prg_exec_monitor.so, libboost_program_options.so, + libboost_python.so, libboost_random.so, libboost_regex.so, + libboost_serialization.so, libboost_signals.so, + libboost_system.so, libboost_test_exec_monitor.a, + libboost_thread.so, libboost_timer.so, libboost_unit_test_framework.so, + libboost_wave.so and libboost_wserialization.so + + + /usr/include/boost + - diff --git a/general/genlib/glib2.xml b/general/genlib/glib2.xml index f6f5ef06da..416ca25a67 100644 --- a/general/genlib/glib2.xml +++ b/general/genlib/glib2.xml @@ -6,7 +6,7 @@ - + @@ -126,8 +126,9 @@ commands: -./configure --prefix=/usr --sysconfdir=/etc \ - --with-pcre=system && +./configure --prefix=/usr \ + --sysconfdir=/etc \ + --with-pcre=system && make @@ -143,8 +144,7 @@ make Now, as the root user: -make install && -ln -v -sfn ../../lib/glib-2.0/include/glibconfig.h /usr/include/glib-2.0/glibconfig.h +make install You should now install and proceed to @@ -160,19 +160,6 @@ ln -v -sfn ../../lib/glib-2.0/include/glibconfig.h /usr/include/glib-2.0/glibcon Command Explanations - - - - ln -v -sfn ... glibconfig.h: Place a link to an - architecture dependent header file where programs can find it. - - --with-pcre=system: This parameter causes the build to use a system-provided version of the diff --git a/general/genlib/icu.xml b/general/genlib/icu.xml index 875458b736..f4448b8f11 100644 --- a/general/genlib/icu.xml +++ b/general/genlib/icu.xml @@ -5,12 +5,13 @@ %general-entities; + "http://download.icu-project.org/files/icu4c/&icu-version;/icu4c-&icu-dl-version;-src.tgz"> - - - - + + + + + ]> @@ -74,21 +75,6 @@ - - User Notes: @@ -127,15 +113,17 @@ make derb, genbrk, gencfu, gencnval, genctd, genrb, icu-config, icuinfo, - makeconv, pkgdata and uconv. + makeconv, pkgdata and uconv libicudata.so, libicui18n.so, libicuio.so, libicule.so, libiculx.so, - libicutest.so, libicutu.so and libicuuc.so. + libicutest.so, libicutu.so and libicuuc.so - /usr/include/layout, /usr/include/unicode, /usr/lib/icu and - /usr/share/icu. + /usr/include/layout, + /usr/include/unicode, + /usr/lib/icu and + /usr/share/icu @@ -374,6 +362,9 @@ make + + + diff --git a/general/prog/python3.xml b/general/prog/python3.xml index e74e252120..e4793eae6d 100644 --- a/general/prog/python3.xml +++ b/general/prog/python3.xml @@ -5,17 +5,17 @@ %general-entities; - - - - - + "http://www.python.org/ftp/python/&python3-version;/Python-&python3-version;.tar.xz"> + + + + + - + "http://docs.python.org/ftp/python/doc/&python3-version;/python-&python3-version;-docs-html.tar.bz2"> + + ]> @@ -35,117 +35,141 @@ Introduction to Python - The Python package contains the - Python development environment. - This is useful for object-oriented programming, writing scripts, - prototyping large programs or developing entire applications. - - + + The Python package contains the + Python development environment. + This is useful for object-oriented programming, writing scripts, + prototyping large programs or developing entire applications. + &lfs71_checked; Package Information - Download (HTTP): + + Download (HTTP): + - Download (FTP): + + Download (FTP): + - Download MD5 sum: &python3-md5sum; + + Download MD5 sum: &python3-md5sum; + - Download size: &python3-size; + + Download size: &python3-size; + - Estimated disk space required: &python3-buildsize; + + Estimated disk space required: &python3-buildsize; + - Estimated build time: &python3-time; + + Estimated build time: &python3-time; + Additional Downloads - - - + Optional HTML Documentation - Download (HTTP): - + + Download (HTTP): + - Download MD5 sum: &python3htmldoc-md5sum; + + Download MD5 sum: &python3htmldoc-md5sum; + - Download size: &python3htmldoc-size; + + Download size: &python3htmldoc-size; + Python Dependencies + Recommended + + and + + + Optional - , - or (install JAVA so that the - libffi library is built), and - + + + - Optional - (to create package-specific support modules) - , - , - , and - - - Note that there is a circular dependency with the - Tk package as it requires Xorg to be installed - but parts of Xorg depend on Python. + Optional (For Additional Modules) + + + , + and + + User Notes: - - + + Installation of Python - Install Python by running the following - commands: + + Install Python by running the following + commands: + sed -i "s/ndbm_libs = \[\]/ndbm_libs = ['gdbm', 'gdbm_compat']/" setup.py && -./configure --prefix=/usr --enable-shared && +./configure --prefix=/usr \ + --enable-shared \ + --with-wide-unicode \ + --with-system-expat \ + --with-system-ffi && make - To test the results, issue: make test. Note that - if you have an existing Python installation - which includes the PyXML module, the tests could - produce a segmentation fault. + + To test the results, issue: make test. Note that + if you have an existing Python installation + which includes the PyXML module, the tests could + produce a segmentation fault. + - Now, as the root user: + + Now, as the root user: + -make install && -chmod -v 755 /usr/lib/libpython&python3-majorver;m.so.1.0 && -chmod -v 755 /usr/lib/libpython3.so +make install && +chmod -v 755 /usr/lib/libpython&python3-majorver;mu.so && +chmod -v 755 /usr/lib/libpython3.so - There is no documentation installed using the instructions above. - See the Doc/README.txt file in the source - distribution for instructions on how to create the html. Alternatively, - you can download preformatted documentation from . + + There is no documentation installed using the instructions above. + See the Doc/README.txt file in the source + distribution for instructions on how to create the html. Alternatively, + you can download preformatted documentation from + . + - In order to use the help ('name_string') feature - of the python interpreter with some statements and - keywords, you must download (or create) the optional HTML documentation - and install it. If you downloaded the HTML docs, issue the following - commands as the - root user: + + In order to use the help ('name_string') feature + of the python interpreter with some statements and + keywords, you must download (or create) the optional HTML documentation + and install it. If you downloaded the HTML docs, issue the following + commands as the root user: + install -v -m755 -d /usr/share/doc/Python-&python3-version;/html && tar --strip-components=1 \ @@ -159,21 +183,39 @@ tar --strip-components=1 \ Command Explanations - sed -i "s/ndbm_libs = ..." setup.py: This command - is used to fix a build problem with the GDBM - library. + + sed -i "s/ndbm_libs = ..." setup.py: This command + is used to fix a build problem with the GDBM + library. + - chmod ...: Fix permissions for libraries to be - consistent with other libraries. + + : This switch enables linking against + system version of Expat. Remove if you have + not installed recommended dependency . + + + + : This switch enables linking against + system version of libffi. Remove if you have + not installed recommended dependency . + + + + chmod ...: Fix permissions for shared libraries to be + consistent with other libraries. + Configuring Python - In order for python to find the installed - documentation, you must add the following environment variable to - individual user's or the system's profile: + + In order for python to find the installed + documentation, you must add the following environment variable to + individual user's or the system's profile: + export PYTHONDOCS=/usr/share/doc/Python-&python3-version;/html @@ -188,28 +230,34 @@ tar --strip-components=1 \ Installed Directories - 2to3, - - pydoc3 (link to pydoc-&python3-majorver;), - pydoc&python3-majorver;, + + 2to3 (symbolic link to 2to3-&python3-majorver;), + 2to3-&python3-majorver;, - python3, - python&python3-majorver; (hard link with python3), - python&python3-majorver;m (hard link with python3), + pydoc3 (symbolic link to pydoc&python3-majorver;), + pydoc&python3-majorver;, - python3-config (link to python&python3-majorver;-config), - python&python3-majorver; (link to python&python3-majorver;m-config), - python&python3-majorver;m, + python3 (hard link to python&python3-majorver;mu), + python&python3-majorver; (hard link to python&python3-majorver;mu), + python&python3-majorver;mu, - smtpd.py, and optionally if Tk is installed, - idle - - libpython3.so, libpython&python3-majorver;m.so.1.0 and numerous - modules installed in /usr/lib/python&python3-majorver; - - /usr/include/python&python3-majorver;, - /usr/lib/python&python3-majorver;, and - /usr/share/doc/python-&python3-version; + python3-config (symbolic link to python&python3-majorver;-config), + python&python3-majorver;-config (symbolic link to python3-config), + python&python3-majorver;mu-config, + + and optionally if Tk is installed, + idle3 (symbolic link to idle&python3-majorver;), + idle&python3-majorver; + + + libpython&python3-majorver;mu.so, libpython3.so and numerous + modules installed in /usr/lib/python&python3-majorver; + + + /usr/include/python&python3-majorver;mu, + /usr/lib/python&python3-majorver;, and + /usr/share/doc/python-&python3-version; + @@ -218,24 +266,28 @@ tar --strip-components=1 \ - - idle + + idle3 - is a wrapper script that opens a - Python aware GUI editor. - - idle + + is a wrapper script that opens a + Python aware GUI editor. + + + idle3 - - pydoc + + pydoc3 - is the Python documentation - tool. - - pydoc + + is the Python documentation + tool. + + + pydo3c @@ -243,8 +295,10 @@ tar --strip-components=1 \ python3 - is an interpreted, interactive, object-oriented programming - language. + + is an interpreted, interactive, object-oriented programming + language. + python3 @@ -254,8 +308,10 @@ tar --strip-components=1 \ python&python3-majorver; - is a version-specific name for the python - program. + + is a version-specific name for the python + program. + python&python3-majorver; @@ -263,17 +319,6 @@ tar --strip-components=1 \ - - smtpd.py - - is an SMTP proxy implemented in - Python. - - smtpd.py - - - - diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 7ba2e9a707..41581b7bdc 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -44,9 +44,24 @@ July 19th, 2012 + + [krejzi] - Boost 1.50.0. + + + [krejzi] - cURL 7.26.0. + + + [krejzi] - GLib 2.32.4. + + + [krejzi] - ICU 49.1.2. + [krejzi] - PCRE 8.31. + + [krejzi] - Python 3.2.3. + diff --git a/networking/netlibs/curl.xml b/networking/netlibs/curl.xml index c671fb9def..dd0de6b1db 100644 --- a/networking/netlibs/curl.xml +++ b/networking/netlibs/curl.xml @@ -4,14 +4,11 @@ %general-entities; - - + - + - + ]> @@ -32,80 +29,107 @@ Introduction to cURL - The cURL package contains - curl and its support library - libcurl. This is useful for - transferring files with URL syntax to any of the following protocols: - FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS and FILE. - This ability to both download and upload files can be incorporated into - other programs to support functions like streaming media. + + The cURL package contains + curl and its support library + libcurl. This is useful for + transferring files with URL syntax to any of the following protocols: + FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS + and FILE. This ability to both download and upload files can be + incorporated into other programs to support functions like streaming + media. + &lfs71_checked; Package Information - Download (HTTP): + + Download (HTTP): + - Download (FTP): + + Download (FTP): + - Download MD5 sum: &curl-md5sum; + + Download MD5 sum: &curl-md5sum; + - Download size: &curl-size; + + Download size: &curl-size; + - Estimated disk space required: &curl-buildsize; + + Estimated disk space required: &curl-buildsize; + - Estimated build time: &curl-time; + + Estimated build time: &curl-time; + cURL Dependencies - Optional - - or , - , - , - , - libssh2 - (for secure transfers), - krb4, - SPNEGO, and - c-ares + Recommended + + and + or + - Optional for Running the Test - Suite - (for the HTTPS and FTPS - tests) + Optional + + c-ares, + krb4, + , + libssh2, + , + and + + SPNEGO + + + Optional for Running the Test Suite + + (for the HTTPS and FTPS tests) + User Notes: - + + Installation of cURL - Install cURL by running the following - commands: + + Install cURL by running the following + commands: + sed -i '/--static-libs)/{N;s#echo .*#echo #;}' curl-config.in && ./configure --prefix=/usr --disable-static --with-ca-path=/etc/ssl/certs && make - To test the results, issue: make check. Note that - if you have Stunnel and - TCP Wrapper installed and you wish to perform - the HTTPS tests, you'll need to have an unrestrictive - /etc/hosts.deny file. + + To test the results, issue: make check. Note that + if you have Stunnel and + TCP Wrapper installed and you wish to perform + the HTTPS tests, you'll need to have an unrestrictive + /etc/hosts.deny file. + - Now, as the root - user: + + Now, as the root + user: + make install && find docs \( -name "Makefile*" -o -name "*.1" -o -name "*.3" \) -exec rm {} \; && @@ -117,7 +141,7 @@ cp -v -R docs/* /usr/share/doc/curl-&curl-version; Command Explanations + href="../../xincludes/static-libraries.xml"/> sed -i '/--static-libs)/{N;s#echo .*#echo #;}' @@ -126,28 +150,40 @@ cp -v -R docs/* /usr/share/doc/curl-&curl-version; otherwise confuse other applications. - : This option sets the - directory to use as the path to the SSL certificates. If you've not - installed or and - the you can remove this option. + + --with-ca-path=/etc/ssl/certs: This parameter + sets the directory to use as the path to the SSL certificates. + If you've not installed or + and the you can + remove this option. + - : - This parameter adds Kerberos 5 support to - libcurl. + + : This parameter adds + Kerberos 5 support to + libcurl. + - : - This parameter adds SSH2 protocol support to - libcurl. + + : This parameter adds + SSH2 protocol support to + libcurl. + - : - To build with GnuTLS - support instead of OpenSSL for SSL/TLS. + + : Use to + build with GnuTLS support + instead of OpenSSL for SSL/TLS. + + + + find docs \( -name "Makefile*" -o -name "*.1" -o -name "*.3" + \) -exec rm {} \;: This command removes + Makefiles and man files from the documentation + directory that would otherwise be installed by the commands that + follow. + - find docs \( -name "Makefile*" -o -name "*.1" -o -name "*.3" - \) -exec rm {} \;: This command removes - Makefiles and man files from the documentation - directory that would otherwise be installed by the commands that - follow. @@ -159,9 +195,16 @@ cp -v -R docs/* /usr/share/doc/curl-&curl-version; Installed Directories - curl and curl-config - libcurl.so - /usr/include/curl and /usr/share/doc/curl-&curl-version; + + curl and curl-config + + + libcurl.so + + + /usr/include/curl and + /usr/share/doc/curl-&curl-version; + @@ -173,7 +216,8 @@ cp -v -R docs/* /usr/share/doc/curl-&curl-version; curl - is a command line tool for transferring files with URL syntax. + + is a command line tool for transferring files with URL syntax. curl @@ -184,8 +228,10 @@ cp -v -R docs/* /usr/share/doc/curl-&curl-version; curl-config - prints information about the last compile, like libraries - linked to and prefix setting. + + prints information about the last compile, like libraries + linked to and prefix setting. + curl-config @@ -195,13 +241,18 @@ cp -v -R docs/* /usr/share/doc/curl-&curl-version; libcurl.so - provides the API functions required by - curl and other programs. + + provides the API functions required by + curl and other programs. + libcurl.so + + + diff --git a/x/installing/x7driver.xml b/x/installing/x7driver.xml index 2d49ab5083..c95530b23b 100644 --- a/x/installing/x7driver.xml +++ b/x/installing/x7driver.xml @@ -104,7 +104,7 @@ - +