Changeset 748752de for general/genlib
- Timestamp:
- 09/02/2023 12:29:28 PM (9 months ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/genlib/brotli.xml
rc226321 r748752de 7 7 <!ENTITY brotli-download-http "https://github.com/google/brotli/archive/v&brotli-version;/brotli-&brotli-version;.tar.gz"> 8 8 <!ENTITY brotli-download-ftp " "> 9 <!ENTITY brotli-md5sum " c2274f0c7af8470ad514637c35bcee7d">10 <!ENTITY brotli-size " 476KB">11 <!ENTITY brotli-buildsize " 24MB (with python3 bindings)">9 <!ENTITY brotli-md5sum "3a6a3dba82a3604792d3cb0bd41bca60"> 10 <!ENTITY brotli-size "500 KB"> 11 <!ENTITY brotli-buildsize "33 MB (with python3 bindings)"> 12 12 <!-- 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)"> 14 14 ]> 15 15 … … 73 73 <bridgehead renderas="sect3">Brotli Dependencies</bridgehead> 74 74 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"> 81 77 <xref linkend="cmake"/> 82 78 </para> 83 79 84 80 </sect2> 85 86 81 87 82 <sect2 role="installation"> … … 89 84 90 85 <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>97 86 Install <application>brotli</application> by running the following 98 87 commands: 99 88 </para> 100 89 101 <screen><userinput>mkdir out&&102 cd out&&90 <screen><userinput>mkdir build && 91 cd build && 103 92 104 93 cmake -DCMAKE_INSTALL_PREFIX=/usr \ … … 107 96 make</userinput></screen> 108 97 109 110 98 <para> 111 99 To test the results, issue: <command>make test</command>. … … 124 112 </para> 125 113 126 <screen role="root"><userinput>make install && 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 .. && 122 pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> 123 124 <para> 125 Install the <application>Python3</application> 131 126 bindings as the &root; user: 132 127 </para> 133 128 134 <screen role="root"><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD && 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> 136 130 137 131 </sect2> … … 150 144 </seg> 151 145 <seg> 152 libbrotlicommon {-static.a,.so},153 libbrotlidec {,-static.a,.so}, and154 libbrotlienc {,-static.a,.so}146 libbrotlicommon.so, 147 libbrotlidec.so, and 148 libbrotlienc.so 155 149 </seg> 156 150 <seg>
Note:
See TracChangeset
for help on using the changeset viewer.