Author: ken
Date: Mon May 11 20:13:53 2020
New Revision: 23105

Log:
fontforge-20200314

I have taken the liberty of assuming people use recommended deps.
Details in comments in the XML.

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/packages.ent
   trunk/BOOK/xsoft/other/fontforge.xml

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Mon May 11 19:30:32 
2020        (r23104)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Mon May 11 20:13:53 
2020        (r23105)
@@ -45,6 +45,10 @@
       <para>May 11th, 2020</para>
       <itemizedlist>
         <listitem>
+          <para>[ken] - Update to fontforge-20200314 (security fixes). Fixes
+          <ulink url="&blfs-ticket-root;13488">#13488</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[renodr] - Update to c-ares-1.16.1. Fixes
           <ulink url="&blfs-ticket-root;13522">#13522</ulink>.</para>
         </listitem>

Modified: trunk/BOOK/packages.ent
==============================================================================
--- trunk/BOOK/packages.ent     Mon May 11 19:30:32 2020        (r23104)
+++ trunk/BOOK/packages.ent     Mon May 11 20:13:53 2020        (r23105)
@@ -915,7 +915,7 @@
 <!ENTITY ekiga-version                "4.0.1">
 <!ENTITY feh-version                  "3.4">
 <!--<!ENTITY fontforge-date               "2015-02-28">-->
-<!ENTITY fontforge-version            "20170731">
+<!ENTITY fontforge-version            "20200314">
 <!ENTITY gparted-version              "1.1.0">
 <!ENTITY gimp-version                 "2.10.18">
 <!ENTITY hexchat-version              "2.14.3">

Modified: trunk/BOOK/xsoft/other/fontforge.xml
==============================================================================
--- trunk/BOOK/xsoft/other/fontforge.xml        Mon May 11 19:30:32 2020        
(r23104)
+++ trunk/BOOK/xsoft/other/fontforge.xml        Mon May 11 20:13:53 2020        
(r23105)
@@ -4,15 +4,16 @@
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;
 
-<!-- Note:  Be careful with url.  The 20161005 is one day greater than 
-     the version. -->
-
+<!--
   <!ENTITY fontforge-download-http 
"https://github.com/fontforge/fontforge/releases/download/&fontforge-version;/fontforge-dist-&fontforge-version;.tar.xz";>
+-->
+ <!ENTITY fontforge-download-http 
"https://github.com/fontforge/fontforge/releases/download/&fontforge-version;/fontforge-&fontforge-version;.tar.xz";>
+
   <!ENTITY fontforge-download-ftp  " ">
-  <!ENTITY fontforge-md5sum        "8a717035915ab4cd78b89b0942dfa1fc">
+  <!ENTITY fontforge-md5sum        "a1f0cf790a659dc28ab7a3b8c4c0279b">
   <!ENTITY fontforge-size          "14 MB">
-  <!ENTITY fontforge-buildsize     "247 MB (with tests)">
-  <!ENTITY fontforge-time          "2.2 SBU (with tests)">
+  <!ENTITY fontforge-buildsize     "244 MB (add 50 MB for the tests)">
+  <!ENTITY fontforge-time          "0.6 SBU (with with parallelism=4, add 0.1 
SBU for the tests)">
 ]>
 
 <sect1 id="fontforge" xreflabel="FontForge-&fontforge-version;">
@@ -80,37 +81,44 @@
 
     <bridgehead renderas="sect4">Required</bridgehead>
     <para role="required">
-      <xref linkend="freetype2"/>,
-      <xref linkend="glib2"/>,  and
+      <xref linkend="libspiro"/>,
+      <xref linkend="libuninameslist"/>, and
       <xref linkend="libxml2"/>
     </para>
 
     <bridgehead renderas="sect4">Recommended</bridgehead>
     <para role="recommended">
-      <xref linkend="cairo"/>,
-      <xref linkend="gtk2"/>,
-      <xref linkend="harfbuzz"/>,
-      <xref linkend="pango"/> (required if Xorg libraries are present)
-      <xref linkend="desktop-file-utils"/>,
-      <xref linkend="shared-mime-info"/>, and
-      <xref linkend="xorg7-lib"/>
+    <!-- not mentioned:
+      glib is required for gtk3
+      pango is required for gtk3
+      cairo is recommended for pango
+      xorg libs pulled in by gtk3 via libepoxy.
+      -->
+      <xref linkend="gtk3"/>
     </para>
 
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional">
+    <!-- the following references in the source appear not to be used:
+      curl is mentioned in appveyor.yml for msys2 (integration tests, I think)
+      wget is referenced in Unicode/charset/generate.sh which will fail if
+      wget is not on the PATH, and in Unicode/dump.c - with wget moved off the
+      PATH, no problems, i.e. they are never run and never built.
+
+      Some of the others are at a minimum pulled in for recommended deps -
+       libpng from freetype from fontconfig from xorg libs.
+       harfbuzz is the same
+
+      Also, adding or removing optional deps other than Sphinx doesn't seem
+      to materially alter the build time or size.
+      -->
       <xref linkend="giflib"/>,
+      <xref linkend="git"/>,
       <xref linkend="libjpeg"/>,
-      <xref linkend="libpng"/>,
       <xref linkend="libtiff"/>,
-      <xref linkend="python2"/>,
-      <xref linkend="wget"/> (needed for tests),
-      <ulink url="http://ipython.org/";>IPython</ulink>,
-      <ulink url="https://github.com/fontforge/libspiro";>libspiro</ulink>,
-      <ulink url="https://bitbucket.org/sortsmill/libunicodenames";>
-      libunicodenames</ulink>,
-      <ulink url="https://github.com/fontforge/libuninameslist";>
-      libuninameslist</ulink>, and
-      <ulink url="http://www.zeromq.org/";>zeromq (libzmq)</ulink>
+      <xref linkend="woff2"/>, and
+      <ulink url="https://pypi.python.org/pypi/Sphinx";>Sphinx</ulink>
+      (to build html documentation)
     </para>
 
     <para condition="html" role="usernotes">
@@ -120,32 +128,21 @@
 
   <sect2 role="installation">
     <title>Installation of FontForge</title>
-<!--
-    <note>
-      <para>
-        For this version there is a separate and much larger fontforge tarball
-        without the -dist- in its name, do not try to use that. The -dist- 
version
-        was created a few minutes later, but the version was typo'd and it will
-        untar to fontforge-2.0-20140101.
-      </para>
-    </note>
--->
     <para>
       Install <application>FontForge</application> by running the following
       commands:
     </para>
 
-<screen><userinput>./configure --prefix=/usr     \
-            --enable-gtk2-use \
-            --disable-static  \
-            --docdir=/usr/share/doc/fontforge-&fontforge-version; &amp;&amp;
+<screen><userinput>mkdir build &amp;&amp;
+cd build    &amp;&amp;
+
+cmake -DCMAKE_INSTALL_PREFIX=/usr \
+      -DCMAKE_BUILD_TYPE=Release  \
+      -Wno-dev .. &amp;&amp;
 make</userinput></screen>
 
     <para>
-      <!-- 20170731 : MunhwaGothic-Bold (postscript) and NotoSans-Regular.ttc
-      are shipped in the tarball, but mingliu.ttc still needs to be downloaded 
-->
       To test the results, issue: <command>make check</command>.
-      This will download one font file.
     </para>
 
     <para>
@@ -154,23 +151,36 @@
 
 <screen role="root"><userinput>make install</userinput></screen>
 
+    <para>
+      If you have installed <command>sphinx-build</command>, HTML documentation
+      was built and installed in
+      <filename class="directory">/usr/share/doc/fontforge</filename>.
+      To be able to access it as a versioned directory, create a
+      symlink as the
+      <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"
+        remap="doc"><userinput>ln -sv fontforge 
/usr/share/doc/fontforge-&fontforge-version;</userinput></screen>
+
   </sect2>
 
   <sect2 role="commands">
     <title>Command Explanations</title>
 
     <para>
-      <parameter>--enable-gtk2-use</parameter>: uses the GTK+2 graphics
-      instead of basic Xorg graphics.
+      <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used to
+      create an optimized release without debug information.
     </para>
 
-    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude";
-      href="../../xincludes/static-libraries.xml"/>
+    <para>
+      <parameter>-Wno-dev</parameter>: This switch is used to suppress warnings
+      intended for the package's developers.
+    </para>
 
     <para>
-      <option>--enable-debug</option>: Turn on <emphasis>debug</emphasis> build
-      and FONTFORGE_DEBUG conditional code. Requires
-      <ulink url="https://github.com/fontforge/libspiro";>libspiro</ulink>.
+      <option>-DENABLE_X11=ON</option>: use an X11 backend instead of GDK3
+      (gtk+-3) for basic Xorg graphics.
     </para>
 
   </sect2>
@@ -180,7 +190,7 @@
 
     <segmentedlist>
       <segtitle>Installed Programs</segtitle>
-      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Library</segtitle>
       <segtitle>Installed Directories</segtitle>
 
       <seglistitem>
@@ -188,13 +198,12 @@
           fontforge, fontimage, fontlint and sfddiff
         </seg>
         <seg>
-          libfontforgeexe.so, libfontforge.so, libgdraw.so,
-          libgioftp.so, libgunicode.so, libgutils.so, and
-          /usr/lib/python&python2-majorver;/site-packages/{fontforge,psMat}.so
+          libfontforge.so and
+          /usr/lib/python&python3-version;/site-packages/{fontforge,psMat}.so
         </seg>
         <seg>
-          /usr/{include,share}/fontforge and
-          /usr/share/doc/fontforge-&fontforge-version;
+          /usr/share/fontforge and optionally
+          /usr/share/doc/fontforge{,-&fontforge-version;}
         </seg>
       </seglistitem>
     </segmentedlist>
-- 
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