Author: ken
Date: Wed Jun 29 18:48:30 2016
New Revision: 17540

Log:
Update texlive to 2016, also update xindy to current source. Various cleanups, 
in particular the perl modules are now mode 644. Explanations brought into same 
order as the commands (I hope). Tag asymptote and biber. Any users of asymptote 
on gcc-6.1 systems should consult the wiki pages for install-tl-unx or 
asymptote (i.e. if from source) as appropriate. E&OE.

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/packages.ent
   trunk/BOOK/pst/typesetting/asymptote.xml
   trunk/BOOK/pst/typesetting/biber.xml
   trunk/BOOK/pst/typesetting/texlive.xml
   trunk/BOOK/pst/typesetting/tl-installer.xml
   trunk/BOOK/pst/typesetting/xindy.xml

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Wed Jun 29 17:43:00 
2016        (r17539)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Wed Jun 29 18:48:30 
2016        (r17540)
@@ -47,6 +47,10 @@
       <para>June 30th, 2016</para>
       <itemizedlist>
         <listitem>
+          <para>[ken] - Update texlive to 2016 and update xindy to match. Fixes
+          <ulink url="&blfs-ticket-root;7919">#7919</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[dj] - Complete fix for Thunderbird with GCC-6.1. Fixes
           <ulink url="&blfs-ticket-root;8006">#8006</ulink>.</para>
         </listitem>

Modified: trunk/BOOK/packages.ent
==============================================================================
--- trunk/BOOK/packages.ent     Wed Jun 29 17:43:00 2016        (r17539)
+++ trunk/BOOK/packages.ent     Wed Jun 29 18:48:30 2016        (r17540)
@@ -835,12 +835,12 @@
 <!ENTITY paps-version                 "0.6.8">
 
 <!-- Chapter 55 -->
-<!ENTITY texlive-version              "20150521">
-<!ENTITY texmf-version                "20150523">
+<!ENTITY texlive-version              "20160523b">
+<!ENTITY texmf-version                "20160523b">
 <!-- the year is used when setting up PATHs in the tl-installer
  page, as well as to reference the directory in texlive, also
  in asymptote, biber and xindy -->
-<!ENTITY texlive-year                 "2015">
+<!ENTITY texlive-year                 "2016">
 <!ENTITY asymptote-version            "2.38">
 <!ENTITY biber-version                "2.5">
 <!ENTITY biblatex-version             "3.4">

Modified: trunk/BOOK/pst/typesetting/asymptote.xml
==============================================================================
--- trunk/BOOK/pst/typesetting/asymptote.xml    Wed Jun 29 17:43:00 2016        
(r17539)
+++ trunk/BOOK/pst/typesetting/asymptote.xml    Wed Jun 29 18:48:30 2016        
(r17540)
@@ -35,7 +35,7 @@
       technical drawing. Labels and equations can be typeset with LaTeX.
     </para>
 
-    &lfs79_checked;
+    &lfs79_checked;&gcc6_checked;
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">

Modified: trunk/BOOK/pst/typesetting/biber.xml
==============================================================================
--- trunk/BOOK/pst/typesetting/biber.xml        Wed Jun 29 17:43:00 2016        
(r17539)
+++ trunk/BOOK/pst/typesetting/biber.xml        Wed Jun 29 18:48:30 2016        
(r17540)
@@ -42,7 +42,7 @@
     <para>Biber is a BibTeX replacement for users of biblatex, written in
     <application>Perl</application>, with full Unicode support.</para>
 
-    &lfs79_checked;
+    &lfs79_checked;&gcc6_checked;
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">

Modified: trunk/BOOK/pst/typesetting/texlive.xml
==============================================================================
--- trunk/BOOK/pst/typesetting/texlive.xml      Wed Jun 29 17:43:00 2016        
(r17539)
+++ trunk/BOOK/pst/typesetting/texlive.xml      Wed Jun 29 18:48:30 2016        
(r17540)
@@ -6,16 +6,16 @@
 
   <!ENTITY texlive-download-http " ">
   <!ENTITY texlive-download-ftp  
"ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-source.tar.xz";>
-  <!ENTITY texlive-md5sum        "e526bd57118c4c4d5e9d525d20b5ac02">
+  <!ENTITY texlive-md5sum        "1e75db3412b3e2945fa94b0a423a29c7">
   <!ENTITY texlive-size          "44 MB">
 
-  <!ENTITY texlive-buildsize      "4.0 GB including the additional download">
-  <!ENTITY texlive-time           "7.2 SBU including the additional download 
(+0.3 SBU for the tests)">
+  <!ENTITY texlive-buildsize      "4.9 GB including the additional download">
+  <!ENTITY texlive-time           "8.3 SBU including the additional download 
(+0.3 SBU for the tests)">
 
   <!ENTITY texlive-texmf-download-http " ">
   <!ENTITY texlive-texmf-download-ftp  
"ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texmf-version;-texmf.tar.xz";>
-  <!ENTITY texlive-texmf-md5sum        "488c1e36ab42841b122cfd074ac42fa1">
-  <!ENTITY texlive-texmf-size          "1.8 GB">
+  <!ENTITY texlive-texmf-md5sum        "65da9b4e2514379d128d4cf4e889b63b">
+  <!ENTITY texlive-texmf-size          "2.0 GB">
 
 ]>
 
@@ -50,7 +50,7 @@
     should start at <xref linkend="tex-path"/> so that the final commands to
     initialise the new installation will be found.</para>
 
-    &lfs79_checked;
+    &lfs79_checked;&gcc6_checked;
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">
@@ -74,7 +74,7 @@
       </listitem>
     </itemizedlist>
 
-    <bridgehead renderas="sect3">Required Additional Download</bridgehead>
+    <bridgehead renderas="sect3">Required Additional Downloads</bridgehead>
 
       <para>Much of the texlive environment (including scripts, documentation,
       fonts and various other files) is not part of the source tarball. You 
must
@@ -101,6 +101,14 @@
       <listitem>
         <para>Download size: &texlive-texmf-size;</para>
       </listitem>
+      <listitem>
+        <para>Required patch: <ulink
+        
url="&patch-root;/texlive-&texlive-version;-source-upstream_fixes-1.patch"/></para>
+      </listitem>
+      <listitem>
+        <para>Required patch: <ulink
+        
url="&patch-root;/texlive-&texlive-version;-texmf-upstream_fixes-1.patch"/></para>
+      </listitem>
     </itemizedlist>
 
     <bridgehead renderas="sect3">TeX Live from source Dependencies</bridgehead>
@@ -162,6 +170,9 @@
       Now, as a normal user:
     </para>
 <screen><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 
's/$/-linux/') &amp;&amp;
+
+patch -Np1 -i ../texlive-&texlive-version;-source-upstream_fixes-1.patch 
&amp;&amp;
+
 mkdir texlive-build &amp;&amp;
 cd texlive-build    &amp;&amp;
 
@@ -195,7 +206,7 @@
 make</userinput></screen>
 
     <para>To test the results, issue: <command>make check</command>
-    One test in each of web2c, dvipng and ttf2pk2 will SKIP because kpathsea
+    A few tests may SKIP because kpathsea
     has not yet been installed.</para>
 
     <para>Now, as the <systemitem class="username">root</systemitem>
@@ -205,7 +216,7 @@
 make texlinks &amp;&amp;
 ldconfig &amp;&amp;
 mkdir -pv /opt/texlive/&texlive-year;/tlpkg/TeXLive/ &amp;&amp;
-install -v -m444 ../texk/tests/TeXLive/* 
/opt/texlive/&texlive-year;/tlpkg/TeXLive/</userinput></screen>
+install -v -m644 ../texk/tests/TeXLive/* 
/opt/texlive/&texlive-year;/tlpkg/TeXLive/</userinput></screen>
 
     <note>
       <para>
@@ -218,7 +229,11 @@
     <para>Now install the additional files as the
     <systemitem class="username">root</systemitem> user:</para>
 
-<screen role="root"><userinput>tar -xf 
../../texlive-&texmf-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; 
--strip-components=1</userinput></screen>
+<screen role="root"><userinput>tar -xf 
../../texlive-&texmf-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; 
--strip-components=1 &amp;&amp;
+pushd /opt/texlive/&texlive-year; &amp;&amp;
+patch -Np1 -i /sources/texlive-&texlive-version;-texmf-upstream_fixes-1.patch 
&amp;&amp;
+popd
+</userinput></screen>
 
     <para>Still as the <systemitem class="username">root</systemitem> user,
     initialise the new system (the commands <command>fmtutil-sys 
--all</command>
@@ -238,6 +253,12 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
+    <para>
+      <parameter>patch -Np1 -i 
../texlive-&texlive-version;-source...</parameter>:
+      This fixes a segfault in upmendex which was corrected after the source 
was
+      released and is included in the binary installer.
+    </para>
+
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude";
      href="../../xincludes/tex-prefix.xml"/>
 
@@ -275,7 +296,15 @@
     </para>
 
     <para>
-      <parameter>install -v -m444 ../texk/tests/TeXLive/*
+      <parameter>patch -Np1 -i 
/sources/texlive-&texlive-version;-texmf...</parameter>:
+      This fixes various problems in epstopdf which were found after the source
+      was released and are included in the binary installer.  Because this is
+      applied to the installated texmf (to minimise disk space) it is necessary
+      to point to /sources instead of using  ../
+    </para>
+
+    <para>
+      <parameter>install -v -m644 ../texk/tests/TeXLive/*
       /opt/texlive/&texlive-year;/tlpkg/TeXLive/</parameter>: This puts the 
perl
       modules <filename>TLConfig.pm</filename> and 
<filename>TLUtils.pm</filename>
       into the directory where the binary installer puts them - it is at the

Modified: trunk/BOOK/pst/typesetting/tl-installer.xml
==============================================================================
--- trunk/BOOK/pst/typesetting/tl-installer.xml Wed Jun 29 17:43:00 2016        
(r17539)
+++ trunk/BOOK/pst/typesetting/tl-installer.xml Wed Jun 29 18:48:30 2016        
(r17540)
@@ -7,11 +7,11 @@
   <!ENTITY tl-installer-download-http   
"http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz";>
 
   <!ENTITY tl-installer-download-ftp    " ">
-  <!ENTITY tl-installer-md5sum          "84bc572abd61dfcc1b377e71c1b9aca8">
-  <!ENTITY tl-installer-date             "20150613"> <!-- in the directory 
name -->
+  <!ENTITY tl-installer-md5sum          "deb47f94f74989101eefe61a54eda8c8">
+  <!ENTITY tl-installer-date             "20160622"> <!-- in the directory 
name -->
   <!ENTITY tl-installer-size            "3.2 MB">
 
-  <!ENTITY tl-installer-buildsize        "4.2 GB">
+  <!ENTITY tl-installer-buildsize        "4.7 GB if everything is included">
   <!ENTITY tl-installer-time            "varies, depending on network speed 
and traffic">
 ]>
 
@@ -46,7 +46,7 @@
     install to a
     <filename class="directory">&texlive-year;/</filename> directory.</para>
 
-    &lfs79_checked;
+    &lfs79_checked;&gcc6_checked;
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">
@@ -70,38 +70,39 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect4">Recommended</bridgehead>
+    <para role="recommended">
+      <xref linkend="gnupg2"/> (to validate both the initial downloads, and 
also
+      any updates you might later make using <command>tlmgr</command>.)
+    </para>
+
     <bridgehead renderas="sect4">Recommended (at runtime)</bridgehead>
     <para role="recommended">
-      The binaries are mostly linked to static libraries such as
-      <filename class="libraryfile">libc.a</filename>, but a few of the 
programs
-      and several scripts will fail if the following packages are not present.
+      The binaries are mostly linked to included static libraries or
+      general (LFS) system libraries, but a few of the programs
+      and several scripts will fail if the following packages are not present:
     </para>
     <para role="recommended">
       <xref linkend="gs"/> is dynamically loaded by dvisvgm, which is used by
-     <application>asy</application>, and also by <application>asy</application>
-     itself.
+     <application>asy</application>.
     </para>
     <para role="recommended">
       <xref linkend="xorg7-lib"/> and
       <xref linkend="libxcb"/> are needed for inimf, mf, pdfclose, pdfopen and
-      xdvi-xaw. But if you are using asy, or using 
<application>TeX</application>
-      to create a PDF file, you will need an <xref linkend="x-window-system"/>
+      xdvi-xaw. But if you are using asy, or using a 
<application>TeX</application>
+      engine to create a PDF file, you will need an <xref 
linkend="x-window-system"/>
       (for PDF files, this is to support a PDF viewer of your choice, for 
example
        <xref linkend="epdfview"/>).
     </para>
     <para role="recommended">
       the optional non-wide-character ncurses library (for "some binary-only
       application") from the bottom of the <application>Ncurses</application>
-      page in LFS is needed by <application>asy</application> (only for i386)
+      page in LFS is needed by <application>asy</application>
       and also for xindy.run which is used by <application>xindy</application>
     </para>
-    <para>
-      The binary versions of <application>asy</application> need <xref
-      linkend="glu"/> and <xref linkend="freeglut"/>.
-    </para>
     <para role="recommended">
-      If you are building for i386, the binary version of asy needs <ulink
-      url="http://www.fftw.org/";>FFTW</ulink>, <xref linkend="glu"/> and <ulink
+      The binary versions of <application>asy</application> needs
+      <xref linkend="glu"/>, <xref linkend="freeglut"/>. and <ulink
       
url="ftp://ftp.gnu.org/gnu/readline/readline-5.2.tar.gz";>libreadline-5.2</ulink>
       : this only requires <filename>libreadline.so.5.2</filename> which can be
       manually copied from the <filename class="directory">lib/</filename>
@@ -136,7 +137,7 @@
 
     <note>
     <para>
-    The distribution binaries installed below use static linking
+    The distribution binaries installed below may use static linking
     for general linux system libraries.  Additional libraries or interpreters
     as specified in the dependencies section do not need to be present during
     the install, but the programs that need them will not run until their

Modified: trunk/BOOK/pst/typesetting/xindy.xml
==============================================================================
--- trunk/BOOK/pst/typesetting/xindy.xml        Wed Jun 29 17:43:00 2016        
(r17539)
+++ trunk/BOOK/pst/typesetting/xindy.xml        Wed Jun 29 18:48:30 2016        
(r17540)
@@ -38,7 +38,7 @@
       generate indexing information.
     </para>
 
-    &lfs79_checked;
+    &lfs79_checked;&gcc6_checked;
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">
@@ -74,6 +74,14 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Required Additional Downloads</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Required patch: <ulink
+        
url="&patch-root;/xindy-&xindy-version;-upstream_fixes-1.patch"/></para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">Xindy Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
@@ -96,13 +104,18 @@
     </para>
 
 <screen><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 
's/$/-linux/') &amp;&amp;
+
 sed -i "s/ grep -v '^;'/ awk NF/" make-rules/inputenc/Makefile.in &amp;&amp;
+
+patch -Np1 -i ../xindy-&xindy-version;-upstream_fixes-1.patch &amp;&amp;
+
 ./configure --prefix=/opt/texlive/&texlive-year;              \
             --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
             --datarootdir=/opt/texlive/&texlive-year;         \
             --includedir=/usr/include               \
             --libdir=/opt/texlive/&texlive-year;/texmf-dist   \
             --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man &amp;&amp;
+
 make LC_ALL=POSIX</userinput></screen>
 
     <para>
@@ -120,9 +133,6 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
-    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude";
-     href="../../xincludes/tex-prefix.xml"/>
-
     <para>
       <parameter>sed -i "s/ grep -v '^;'/ awk NF/" ...</parameter>: The build
       sorts files in latin{1..3} encodings to create latin.xdy, and unicode
@@ -133,6 +143,17 @@
       command uses an alternative way of removing blank lines.
     </para>
 
+    <para>
+      <parameter>patch -Np1 -i 
../xindy-&xindy-version;-upstream_fixes-1.patch</parameter>:
+      <application>Xindy</application> is now maintained at CTAN. This patch
+      updates the source to match what is used for the &texlive-year; texlive
+      binary version ( but ignoring changes which were only made to allow for
+      spaces in pathnames).
+    </para>
+
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude";
+     href="../../xincludes/tex-prefix.xml"/>
+
     <para><parameter>--includedir=/usr/include</parameter>:
     This parameter ensures that the <filename>kpathsea</filename>
     headers from <xref linkend="texlive"/> will be found.</para>
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to