Ignore:
Timestamp:
11/15/2021 12:22:02 AM (2 years ago)
Author:
Ken Moffat <ken@…>
Branches:
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:
12e22d5
Parents:
f72bfbe1
Message:

Fixes for shared-mime-info-2.1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genutils/shared-mime-info.xml

    rf72bfbe1 rb43f617  
    1010  <!ENTITY shared-mime-info-md5sum        "8d059fb2d34062a67fd9ca63fab1fb91">
    1111  <!ENTITY shared-mime-info-size          "5.0 MB">
    12   <!ENTITY shared-mime-info-buildsize     "26 MB">
    13   <!ENTITY shared-mime-info-time          "less than 0.1 SBU">
     12  <!ENTITY shared-mime-info-buildsize     "30 MB (add 1MB if running the tests)">
     13  <!ENTITY shared-mime-info-time          "less than 0.1 SBU using parallelism=4">
     14
     15  <!ENTITY xdgmime-download-http "&sources-anduin-http;/xdgmime/xdgmime.tar.xz">
     16  <!ENTITY xdgmime-md5sum        "7dfb4446705d345d3acd672024049e86">
     17
    1418]>
    1519
     
    6973        <para>
    7074          Estimated build time: &shared-mime-info-time;
     75        </para>
     76      </listitem>
     77    </itemizedlist>
     78
     79    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     80    <itemizedlist spacing="compact">
     81      <listitem>
     82        <para>
     83          Required patch to allow building with meson-0.60 and later:
     84          <ulink url="&patch-root;/shared-mime-info-&shared-mime-info-version;-shared-mime-info_meson_0.60_fix-1.patch"/>
     85        </para>
     86        <para role="optional">
     87        Optional download, required to run the testsuite:
     88        <ulink url="&xdgmime-download-http;"/>
     89        </para>
     90        <para role="optional">
     91          xdgmime md5sum: &xdgmime-md5sum;
    7192        </para>
    7293      </listitem>
     
    96117    </para>
    97118
     119    <para role="optional">
     120      If you wish to run the test suite, you must first extract the
     121      <filename>xdgmime</filename> tarball into the current directory,
     122      and compile it so that <command>meson</command> can find it:
     123    </para>
     124
     125<screen role="optional"><userinput>tar -xf ../xdgmime.tar.xz &amp;&amp;
     126make -C xdgmime</userinput></screen>
     127
     128    <para>
     129      One of the changes in meson-0.60 broke this package. To fix that
     130      apply a patch:
     131    </para>
     132
     133<screen><userinput>patch -p1 -i ../shared-mime-info-&shared-mime-info-version;-shared-mime-info_meson_0.60_fix-1.patch</userinput></screen>
     134
     135    <para>
     136      Now build the package:
     137    </para>
     138
    98139<screen><userinput>mkdir build &amp;&amp;
    99140cd    build &amp;&amp;
     
    102143ninja</userinput></screen>
    103144
    104     <para>
    105       To test the result, issue <command>ninja test</command>.
     145    <para role="optional">
     146      If you have followed the instructions above to build
     147      <application>xdgmime</application>, to test the result issue
     148      <command>ninja test</command>.
    106149    </para>
    107150
Note: See TracChangeset for help on using the changeset viewer.