Changeset d794630


Ignore:
Timestamp:
05/12/2020 03:13:53 AM (4 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
9535df7e
Parents:
492e91a4
Message:

fontforge-20200314

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

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23105 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r492e91a4 rd794630  
    4646      <itemizedlist>
    4747        <listitem>
     48          <para>[ken] - Update to fontforge-20200314 (security fixes). Fixes
     49          <ulink url="&blfs-ticket-root;13488">#13488</ulink>.</para>
     50        </listitem>
     51        <listitem>
    4852          <para>[renodr] - Update to c-ares-1.16.1. Fixes
    4953          <ulink url="&blfs-ticket-root;13522">#13522</ulink>.</para>
  • packages.ent

    r492e91a4 rd794630  
    916916<!ENTITY feh-version                  "3.4">
    917917<!--<!ENTITY fontforge-date               "2015-02-28">-->
    918 <!ENTITY fontforge-version            "20170731">
     918<!ENTITY fontforge-version            "20200314">
    919919<!ENTITY gparted-version              "1.1.0">
    920920<!ENTITY gimp-version                 "2.10.18">
  • xsoft/other/fontforge.xml

    r492e91a4 rd794630  
    55  %general-entities;
    66
    7 <!-- Note:  Be careful with url.  The 20161005 is one day greater than
    8      the version. -->
    9 
     7<!--
    108  <!ENTITY fontforge-download-http "https://github.com/fontforge/fontforge/releases/download/&fontforge-version;/fontforge-dist-&fontforge-version;.tar.xz">
     9-->
     10 <!ENTITY fontforge-download-http "https://github.com/fontforge/fontforge/releases/download/&fontforge-version;/fontforge-&fontforge-version;.tar.xz">
     11
    1112  <!ENTITY fontforge-download-ftp  " ">
    12   <!ENTITY fontforge-md5sum        "8a717035915ab4cd78b89b0942dfa1fc">
     13  <!ENTITY fontforge-md5sum        "a1f0cf790a659dc28ab7a3b8c4c0279b">
    1314  <!ENTITY fontforge-size          "14 MB">
    14   <!ENTITY fontforge-buildsize     "247 MB (with tests)">
    15   <!ENTITY fontforge-time          "2.2 SBU (with tests)">
     15  <!ENTITY fontforge-buildsize     "244 MB (add 50 MB for the tests)">
     16  <!ENTITY fontforge-time          "0.6 SBU (with with parallelism=4, add 0.1 SBU for the tests)">
    1617]>
    1718
     
    8182    <bridgehead renderas="sect4">Required</bridgehead>
    8283    <para role="required">
    83       <xref linkend="freetype2"/>,
    84       <xref linkend="glib2"/>, and
     84      <xref linkend="libspiro"/>,
     85      <xref linkend="libuninameslist"/>, and
    8586      <xref linkend="libxml2"/>
    8687    </para>
     
    8889    <bridgehead renderas="sect4">Recommended</bridgehead>
    8990    <para role="recommended">
    90       <xref linkend="cairo"/>,
    91       <xref linkend="gtk2"/>,
    92       <xref linkend="harfbuzz"/>,
    93       <xref linkend="pango"/> (required if Xorg libraries are present)
    94       <xref linkend="desktop-file-utils"/>,
    95       <xref linkend="shared-mime-info"/>, and
    96       <xref linkend="xorg7-lib"/>
     91    <!-- not mentioned:
     92      glib is required for gtk3
     93      pango is required for gtk3
     94      cairo is recommended for pango
     95      xorg libs pulled in by gtk3 via libepoxy.
     96      -->
     97      <xref linkend="gtk3"/>
    9798    </para>
    9899
    99100    <bridgehead renderas="sect4">Optional</bridgehead>
    100101    <para role="optional">
     102    <!-- the following references in the source appear not to be used:
     103      curl is mentioned in appveyor.yml for msys2 (integration tests, I think)
     104      wget is referenced in Unicode/charset/generate.sh which will fail if
     105      wget is not on the PATH, and in Unicode/dump.c - with wget moved off the
     106      PATH, no problems, i.e. they are never run and never built.
     107
     108      Some of the others are at a minimum pulled in for recommended deps -
     109       libpng from freetype from fontconfig from xorg libs.
     110       harfbuzz is the same
     111
     112      Also, adding or removing optional deps other than Sphinx doesn't seem
     113      to materially alter the build time or size.
     114      -->
    101115      <xref linkend="giflib"/>,
     116      <xref linkend="git"/>,
    102117      <xref linkend="libjpeg"/>,
    103       <xref linkend="libpng"/>,
    104118      <xref linkend="libtiff"/>,
    105       <xref linkend="python2"/>,
    106       <xref linkend="wget"/> (needed for tests),
    107       <ulink url="http://ipython.org/">IPython</ulink>,
    108       <ulink url="https://github.com/fontforge/libspiro">libspiro</ulink>,
    109       <ulink url="https://bitbucket.org/sortsmill/libunicodenames">
    110       libunicodenames</ulink>,
    111       <ulink url="https://github.com/fontforge/libuninameslist">
    112       libuninameslist</ulink>, and
    113       <ulink url="http://www.zeromq.org/">zeromq (libzmq)</ulink>
     119      <xref linkend="woff2"/>, and
     120      <ulink url="https://pypi.python.org/pypi/Sphinx">Sphinx</ulink>
     121      (to build html documentation)
    114122    </para>
    115123
     
    121129  <sect2 role="installation">
    122130    <title>Installation of FontForge</title>
    123 <!--
    124     <note>
    125       <para>
    126         For this version there is a separate and much larger fontforge tarball
    127         without the -dist- in its name, do not try to use that. The -dist- version
    128         was created a few minutes later, but the version was typo'd and it will
    129         untar to fontforge-2.0-20140101.
    130       </para>
    131     </note>
    132 -->
    133131    <para>
    134132      Install <application>FontForge</application> by running the following
     
    136134    </para>
    137135
    138 <screen><userinput>./configure --prefix=/usr     \
    139             --enable-gtk2-use \
    140             --disable-static  \
    141             --docdir=/usr/share/doc/fontforge-&fontforge-version; &amp;&amp;
     136<screen><userinput>mkdir build &amp;&amp;
     137cd build    &amp;&amp;
     138
     139cmake -DCMAKE_INSTALL_PREFIX=/usr \
     140      -DCMAKE_BUILD_TYPE=Release  \
     141      -Wno-dev .. &amp;&amp;
    142142make</userinput></screen>
    143143
    144144    <para>
    145       <!-- 20170731 : MunhwaGothic-Bold (postscript) and NotoSans-Regular.ttc
    146       are shipped in the tarball, but mingliu.ttc still needs to be downloaded -->
    147145      To test the results, issue: <command>make check</command>.
    148       This will download one font file.
    149146    </para>
    150147
     
    154151
    155152<screen role="root"><userinput>make install</userinput></screen>
     153
     154    <para>
     155      If you have installed <command>sphinx-build</command>, HTML documentation
     156      was built and installed in
     157      <filename class="directory">/usr/share/doc/fontforge</filename>.
     158      To be able to access it as a versioned directory, create a
     159      symlink as the
     160      <systemitem class="username">root</systemitem> user:
     161    </para>
     162
     163<screen role="root"
     164        remap="doc"><userinput>ln -sv fontforge /usr/share/doc/fontforge-&fontforge-version;</userinput></screen>
    156165
    157166  </sect2>
     
    161170
    162171    <para>
    163       <parameter>--enable-gtk2-use</parameter>: uses the GTK+2 graphics
    164       instead of basic Xorg graphics.
    165     </para>
    166 
    167     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    168       href="../../xincludes/static-libraries.xml"/>
    169 
    170     <para>
    171       <option>--enable-debug</option>: Turn on <emphasis>debug</emphasis> build
    172       and FONTFORGE_DEBUG conditional code. Requires
    173       <ulink url="https://github.com/fontforge/libspiro">libspiro</ulink>.
     172      <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used to
     173      create an optimized release without debug information.
     174    </para>
     175
     176    <para>
     177      <parameter>-Wno-dev</parameter>: This switch is used to suppress warnings
     178      intended for the package's developers.
     179    </para>
     180
     181    <para>
     182      <option>-DENABLE_X11=ON</option>: use an X11 backend instead of GDK3
     183      (gtk+-3) for basic Xorg graphics.
    174184    </para>
    175185
     
    181191    <segmentedlist>
    182192      <segtitle>Installed Programs</segtitle>
    183       <segtitle>Installed Libraries</segtitle>
     193      <segtitle>Installed Library</segtitle>
    184194      <segtitle>Installed Directories</segtitle>
    185195
     
    189199        </seg>
    190200        <seg>
    191           libfontforgeexe.so, libfontforge.so, libgdraw.so,
    192           libgioftp.so, libgunicode.so, libgutils.so, and
    193           /usr/lib/python&python2-majorver;/site-packages/{fontforge,psMat}.so
     201          libfontforge.so and
     202          /usr/lib/python&python3-version;/site-packages/{fontforge,psMat}.so
    194203        </seg>
    195204        <seg>
    196           /usr/{include,share}/fontforge and
    197           /usr/share/doc/fontforge-&fontforge-version;
     205          /usr/share/fontforge and optionally
     206          /usr/share/doc/fontforge{,-&fontforge-version;}
    198207        </seg>
    199208      </seglistitem>
Note: See TracChangeset for help on using the changeset viewer.