Changeset 0a4eeb6 for general/genlib


Ignore:
Timestamp:
10/29/2017 06:24:03 PM (6 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, perl-modules, 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:
633a3ef
Parents:
28e582e
Message:

Update to glib-2.54.2. Change to meson build.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/glib2.xml

    r28e582e r0a4eeb6  
    77  <!ENTITY glib2-download-http "&gnome-download-http;/glib/2.54/glib-&glib2-version;.tar.xz">
    88  <!ENTITY glib2-download-ftp  "&gnome-download-ftp;/glib/2.54/glib-&glib2-version;.tar.xz">
    9   <!ENTITY glib2-md5sum        "6e4db71816ccbc8dabf0e58fa7228e76">
     9  <!ENTITY glib2-md5sum        "50f83e08f080f99b1e2f0ad2b760fb81">
    1010  <!ENTITY glib2-size          "7.5 MB">
    11   <!ENTITY glib2-buildsize     "190 MB (additional 74 MB for tests)">
    12   <!ENTITY glib2-time          "1.0 SBU (additional 4.6 SBU for tests)">
     11  <!ENTITY glib2-buildsize     "166 MB (add 1 MB for tests)">
     12  <!ENTITY glib2-time          "0.2 SBU (using parallelism=4; add 0.5 SBU for tests)">
    1313]>
    1414
     
    7777      <listitem>
    7878        <para>
     79          Required file:
     80          <ulink url=
     81"https://raw.githubusercontent.com/GNOME/glib/master/gio/tests/gengiotypefuncs.py"/>
     82        </para>
     83      </listitem>
     84      <listitem>
     85        <para>
    7986          Optional patch:
    8087          <ulink url="&patch-root;/glib-&glib2-version;-skip_warnings-1.patch"/>
     
    8491
    8592    <bridgehead renderas="sect3">GLib Dependencies</bridgehead>
    86 <!--
    87     <bridgehead renderas="sect4">Required</bridgehead>
    88     <para role="required">
    89       <xref linkend="python2"/> or <xref linkend="python3"/>
    90     </para>
    91 -->
     93
    9294    <bridgehead renderas="sect4">Recommended</bridgehead>
    9395    <para role="recommended">
     
    98100    <para role="optional">
    99101      <xref linkend="dbus"/> (required for some tests),
    100       <xref linkend="elfutils"/>,
    101       <xref linkend="gtk-doc"/>,
    102       <xref linkend="python2"/>,
    103       <ulink url="ftp://oss.sgi.com/projects/fam/download/stable/">FAM library</ulink>, and
    104       <ulink url="https://www.gnu.org/software/indent/">GNU Indent</ulink>
     102      <xref linkend="elfutils"/> and
     103        <xref linkend="DocBook"/>,
     104        <xref linkend="docbook-xsl"/>, and
     105        <xref linkend="libxslt"/> (to build manual pages)
     106
     107      <!-- <xref linkend="gtk-doc"/> cound not find a reference to this
     108      in the meson build -->
    105109    </para>
    106110
     
    155159    </para>
    156160
    157 <screen><userinput>./configure --prefix=/usr      \
    158             --with-pcre=system \
    159             --with-python=/usr/bin/python3 &amp;&amp;
    160 make</userinput></screen>
     161<screen><userinput>cp ../gengiotypefuncs.py gio/tests &amp;&amp;
     162
     163mkdir build-glib &amp;&amp;
     164cd    build-glib &amp;&amp;
     165
     166meson --prefix=/usr -Dwith-pcre=system -Dwith-docs=no .. &amp;&amp;
     167ninja</userinput></screen>
    161168
    162169    <para>
     
    173180    </para>
    174181
    175 <screen role="root"><userinput>make install</userinput></screen>
     182    <note><para>
     183      If <xref linkend="libxslt"> is installed, the following command may
     184      indicate several (about 33) errors that start with "Error: no ID for
     185      constraint linkend:" when installing the man pages.  These are harmless.
     186    </para></note>
     187
     188<screen role="root"><userinput>ninja install &amp;&amp;
     189
     190mkdir -p /usr/share/doc/glib-&glib2-version; &amp;&amp;
     191cp -r ../docs/reference/{NEWS,README,gio,glib,gobject} /usr/share/doc/glib-&glib2-version;</userinput></screen>
    176192
    177193    <para>
     
    182198    <para>
    183199      To test the results, after having installed the package, issue:
    184       <command>make -k check</command>.
     200      <command>ninja test</command>.  When run in a graphical environment,
     201      one test, appinfo, fails if <xref linkend='gnome-terminal'/> is not
     202      installed.
    185203    </para>
    186204
     
    191209
    192210    <para>
    193       <parameter>--with-pcre=system</parameter>: This switch causes the
     211      <parameter>-Dwith-pcre=system</parameter>: This switch causes the
    194212      build to use a system-provided version of the
    195213      <application>PCRE</application> library instead of an internal
     
    197215    </para>
    198216
    199     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    200       href="../../xincludes/gtk-doc-rebuild.xml"/>
    201 
    202     <para>
    203       <option>--with-python=/usr/bin/python3</option>: Add this switch if you
    204       want GLib to use Python3 instead of Python2.
     217    <para>
     218      <parameter>-Dwith-docs=no</parameter>: This switch prevents
     219      rebuilding the package documentation.
    205220    </para>
    206221
     
    217232      <seglistitem>
    218233        <seg>
    219           gapplication, gdbus, gdbus-codegen, gio, gio-querymodules,
     234          gapplication,           gdbus, gdbus-codegen,
     235          gio,                    gio-querymodules,
    220236          glib-compile-resources, glib-compile-schemas,
    221           glib-genmarshal, glib-gettextize, glib-mkenums,
    222           gobject-query, gresource, gsettings, gtester,
    223           and gtester-report
     237          glib-genmarshal,        glib-gettextize,
     238          glib-mkenums,           gobject-query,
     239          gresource,              gsettings,
     240          gtester, and            gtester-report
    224241        </seg>
    225242        <seg>
    226           libgio-2.0.so, libglib-2.0.so, libgmodule-2.0.so,
    227           libgobject-2.0.so, and libgthread-2.0.so
     243          libgio-2.0.so,
     244          libglib-2.0.so,
     245          libgmodule-2.0.so,
     246          libgobject-2.0.so, and
     247          libgthread-2.0.so
    228248        </seg>
    229249        <seg>
    230250          /usr/include/gio-unix-2.0,
    231           /usr/{include,lib,share}/glib-2.0,
    232           /usr/lib/gio, and
    233           /usr/share/gtk-doc/html/g{io,lib,object}
     251          /usr/include/glib-2.0,
     252          /usr/lib/gio,
     253          /usr/lib/glib-2.0, and
     254          /usr/share/glib-2.0
    234255        </seg>
    235256      </seglistitem>
Note: See TracChangeset for help on using the changeset viewer.