Changeset 748752de for general/genlib


Ignore:
Timestamp:
09/02/2023 12:29:28 PM (9 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
cc46f550
Parents:
c226321
Message:

Update to brotli-1.1.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/brotli.xml

    rc226321 r748752de  
    77  <!ENTITY brotli-download-http "https://github.com/google/brotli/archive/v&brotli-version;/brotli-&brotli-version;.tar.gz">
    88  <!ENTITY brotli-download-ftp  " ">
    9   <!ENTITY brotli-md5sum        "c2274f0c7af8470ad514637c35bcee7d">
    10   <!ENTITY brotli-size          "476 KB">
    11   <!ENTITY brotli-buildsize     "24 MB (with python3 bindings)">
     9  <!ENTITY brotli-md5sum        "3a6a3dba82a3604792d3cb0bd41bca60">
     10  <!ENTITY brotli-size          "500 KB">
     11  <!ENTITY brotli-buildsize     "33 MB (with python3 bindings)">
    1212  <!-- The python tests for this package are broken.  The tarball is missing a lot of test files -->
    13   <!ENTITY brotli-time          "0.4 SBU (with python3 bindings)">
     13  <!ENTITY brotli-time          "0.3 SBU (with python3 bindings; parallelism=4)">
    1414]>
    1515
     
    7373    <bridgehead renderas="sect3">Brotli Dependencies</bridgehead>
    7474
    75     <!-- Not "Required" because we can use
    76          "./bootstrap && ./configure ... && make && make install".
    77          Doing so can break an optional circular dependency:
    78          curl is recommended for cmake, and brotli is optional for curl. -->
    79     <bridgehead renderas="sect4">Recommended</bridgehead>
    80     <para role="recommended">
     75    <bridgehead renderas="sect4">Required</bridgehead>
     76    <para role="required">
    8177      <xref linkend="cmake"/>
    8278    </para>
    8379
    8480  </sect2>
    85 
    8681
    8782  <sect2 role="installation">
     
    8984
    9085    <para>
    91       At first, fix an issue in pkg-config files:
    92     </para>
    93 
    94 <screen><userinput>sed -i 's@-R..libdir.@@' scripts/*.pc.in</userinput></screen>
    95 
    96     <para>
    9786      Install <application>brotli</application> by running the following
    9887      commands:
    9988    </para>
    10089
    101 <screen><userinput>mkdir out &amp;&amp;
    102 cd    out &amp;&amp;
     90<screen><userinput>mkdir build &amp;&amp;
     91cd    build &amp;&amp;
    10392
    10493cmake -DCMAKE_INSTALL_PREFIX=/usr \
     
    10796make</userinput></screen>
    10897
    109 
    11098    <para>
    11199      To test the results, issue: <command>make test</command>.
     
    124112    </para>
    125113
    126 <screen role="root"><userinput>make install &amp;&amp;
    127 cd ..</userinput></screen>
    128 
    129     <para>
    130       If desired, build and install the <application>Python3</application>
     114<screen role="root"><userinput>make install</userinput></screen>
     115
     116    <para>
     117      If desired, build the <application>Python3</application>
     118      bindings:
     119    </para>
     120
     121<screen><userinput>cd .. &amp;&amp;
     122pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
     123
     124    <para>
     125      Install the <application>Python3</application>
    131126      bindings as the &root; user:
    132127    </para>
    133128
    134 <screen role="root"><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD &amp;&amp;
    135 pip3 install --no-index --find-links dist --no-cache-dir --no-user Brotli</userinput></screen>
     129<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user Brotli</userinput></screen>
    136130
    137131  </sect2>
     
    150144        </seg>
    151145        <seg>
    152           libbrotlicommon{-static.a,.so},
    153           libbrotlidec{,-static.a,.so}, and
    154           libbrotlienc{,-static.a,.so}
     146          libbrotlicommon.so,
     147          libbrotlidec.so, and
     148          libbrotlienc.so
    155149        </seg>
    156150        <seg>
Note: See TracChangeset for help on using the changeset viewer.