Changeset 9acdb9d
- Timestamp:
- 03/17/2024 11:11:24 AM (8 weeks ago)
- Branches:
- trunk
- Children:
- c65a0065
- Parents:
- 73f3b99
- git-author:
- Xi Ruoyao <xry111@…> (03/17/2024 10:22:35 AM)
- git-committer:
- Xi Ruoyao <xry111@…> (03/17/2024 11:11:24 AM)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
packages.ent
r73f3b99 r9acdb9d 863 863 <!ENTITY vulkan-headers-version "1.3.279"> 864 864 <!ENTITY vulkan-loader-version "1.3.279"> 865 <!ENTITY webkitgtk-version "2.4 2.5"> <!-- Even minors only -->865 <!ENTITY webkitgtk-version "2.44.0"> <!-- Even minors only --> 866 866 <!ENTITY xdg-desktop-portal-version "1.18.2"> 867 867 <!ENTITY xdg-desktop-portal-gtk-version "1.15.1"> -
x/lib/webkitgtk.xml
r73f3b99 r9acdb9d 7 7 <!ENTITY webkitgtk-download-http "https://webkitgtk.org/releases/webkitgtk-&webkitgtk-version;.tar.xz"> 8 8 <!ENTITY webkitgtk-download-ftp " "> 9 <!ENTITY webkitgtk-md5sum " 9cf27d88b55e5b8168f4835b17ea6fd0">10 <!ENTITY webkitgtk-size "3 3MB">9 <!ENTITY webkitgtk-md5sum "20fef6a9122fc46f66f2f8550d5f08c6"> 10 <!ENTITY webkitgtk-size "36 MB"> 11 11 <!ENTITY webkitgtk-buildsize "1.2 GB (195 MB installed, add 148 MB for GTK-4)"> 12 12 <!ENTITY webkitgtk-time "23 SBU (for GTK-3, using parallelism=8, add 22 SBU for GTK-4)"> 13 14 <!ENTITY libbacktrace 15 "<ulink url='https://github.com/ianlancetaylor/libbacktrace'>libbacktrace</ulink>"> 13 16 ]> 14 17 … … 102 105 <xref linkend="ruby"/>, 103 106 <xref linkend="sqlite"/>, 104 <xref linkend="unifdef"/>, 105 <xref linkend="which"/>, and 106 <xref linkend="wpebackend-fdo"/> 107 <xref linkend="unifdef"/>, and 108 <xref linkend="which"/> 107 109 </para> 108 110 … … 121 123 <bridgehead renderas="sect4">Optional</bridgehead> 122 124 <para role="optional"> 123 <!--<xref linkend="bubblewrap"/>,-->124 125 <xref linkend="gi-docgen"/>, 125 126 <xref linkend="harfbuzz"/>, … … 128 129 <ulink url="https://ccache.dev/">ccache</ulink>, 129 130 <ulink url="https://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>, 130 <!--<ulink url="https://github.com/AOMediaCodec/libavif">libavif</ulink>,-->131 &libbacktrace;, 131 132 <ulink url="https://github.com/libjxl/libjxl">libjxl</ulink>, and 132 133 <ulink url="https://gnome.pages.gitlab.gnome.org/libmanette/">libmanette</ulink> 133 <!--<ulink url="https://github.com/flatpak/xdg-dbus-proxy">xdg-dbus-proxy</ulink>-->134 134 </para> 135 135 … … 141 141 <bridgehead renderas="sect3">Installation of 142 142 <application>WebKitGTK</application></bridgehead> 143 144 <!-- https://bugs.webkit.org/show_bug.cgi?id=262777145 https://github.com/WebKit/WebKit/commit/c29a26a02441 -->146 147 <!-- Fixed in 2.42.2148 <para>149 First, fix an issue breaking Web sites relying on Javascript Blob API:150 </para>151 152 <screen><userinput>sed "/bool BlobURL::isSecureBlobURL/,/^}/ \153 s/return false/return SecurityOrigin::isSecure(getOriginURL(url))/" \154 -i Source/WebCore/fileapi/BlobURL.cpp</userinput></screen>155 -->156 143 157 144 <important> … … 167 154 </important> 168 155 169 170 <!-- https://github.com/WebKit/WebKit/commit/3d53735756 and171 https://bugs.webkit.org/show_bug.cgi?id=268739 -->172 173 <para>174 First, if you are on a 32-bit machine, fix a build failure:175 </para>176 177 <screen><userinput remap="pre">case $(uname -m) in178 i?86) sed -e '/UNUSED_VARIABLE(t6)/d' \179 -e '/UNUSED_VARIABLE(t7)/d' \180 -i Source/JavaScriptCore/llint/LowLevelInterpreter.cpp ;;181 esac</userinput></screen>182 183 156 <para> 184 157 If you want to install the GTK+-3 version of … … 194 167 -DPORT=GTK \ 195 168 -DLIB_INSTALL_DIR=/usr/lib \ 196 -DUSE_LIBHYPHEN=OFF \ 197 -DENABLE_GAMEPAD=OFF \ 198 -DENABLE_MINIBROWSER=ON \ 199 -DENABLE_DOCUMENTATION=OFF \ 200 -DUSE_WOFF2=OFF \ 201 -DUSE_GTK4=OFF \ 202 -DUSE_WPE_RENDERER=ON \ 203 -DUSE_JPEGXL=OFF \ 204 -DENABLE_BUBBLEWRAP_SANDBOX=ON \ 205 -Wno-dev -G Ninja .. && 206 ninja</userinput></screen> 207 208 <screen revision="sysv"><userinput>mkdir -vp build && 209 cd build && 210 211 cmake -DCMAKE_BUILD_TYPE=Release \ 212 -DCMAKE_INSTALL_PREFIX=/usr \ 213 -DCMAKE_SKIP_RPATH=ON \ 214 -DPORT=GTK \ 215 -DLIB_INSTALL_DIR=/usr/lib \ 169 -DUSE_LIBBACKTRACE=OFF \ 216 170 -DUSE_LIBHYPHEN=OFF \ 217 171 -DENABLE_GAMEPAD=OFF \ … … 221 175 -DUSE_GTK4=OFF \ 222 176 -DUSE_JPEGXL=OFF \ 223 -DUSE_WPE_RENDERER=ON \224 -DENABLE_JOURNALD_LOG=OFF \225 177 -DENABLE_BUBBLEWRAP_SANDBOX=ON \ 226 178 -Wno-dev -G Ninja .. && 227 179 ninja</userinput></screen> 228 180 229 <para> 230 This package does not have a working test suite. However, there is a 231 usable basic graphical web browser in the build directory, 232 <application>build/bin/MiniBrowser</application>. If launching it fails, 233 there is a problem with the build. 234 </para> 235 236 <para> 237 Now, as the <systemitem class="username">root</systemitem> user: 238 </para> 239 240 <screen role="root"><userinput>ninja install</userinput></screen> 241 242 <para> 243 As the <option>-DENABLE_DOCUMENTATION=OFF</option> option is used, 244 the documentation is not rebuilt nor installed now. If you need the 245 documentation, you can either install <xref linkend='gi-docgen'/> 246 and remove this option from the <command>cmake</command> command, 247 or install the pre-built documentation instead: 248 </para> 249 250 <screen role='root'><userinput>install -vdm755 /usr/share/gtk-doc/html/{jsc-glib,webkit2gtk{,-web-extension}}-4.1 && 251 install -vm644 ../Documentation/jsc-glib-4.1/* \ 252 /usr/share/gtk-doc/html/jsc-glib-4.1 && 253 install -vm644 ../Documentation/webkit2gtk-4.1/* \ 254 /usr/share/gtk-doc/html/webkit2gtk-4.1 && 255 install -vm644 ../Documentation/webkit2gtk-web-extension-4.1/* \ 256 /usr/share/gtk-doc/html/webkit2gtk-web-extension-4.1</userinput></screen> 257 258 <para> 259 If you want to install the GTK4 version of 260 <application>WebKitGTK</application>, run the following commands: 261 </para> 262 263 <screen revision="systemd"><userinput>rm -rf * .[^.]* && 181 <screen revision="sysv"><userinput>mkdir -vp build && 182 cd build && 264 183 265 184 cmake -DCMAKE_BUILD_TYPE=Release \ … … 268 187 -DPORT=GTK \ 269 188 -DLIB_INSTALL_DIR=/usr/lib \ 189 -DUSE_LIBBACKTRACE=OFF \ 190 -DUSE_LIBHYPHEN=OFF \ 191 -DENABLE_GAMEPAD=OFF \ 192 -DENABLE_MINIBROWSER=ON \ 193 -DENABLE_DOCUMENTATION=OFF \ 194 -DUSE_WOFF2=OFF \ 195 -DUSE_GTK4=OFF \ 196 -DUSE_JPEGXL=OFF \ 197 -DENABLE_JOURNALD_LOG=OFF \ 198 -DENABLE_BUBBLEWRAP_SANDBOX=ON \ 199 -Wno-dev -G Ninja .. && 200 ninja</userinput></screen> 201 202 <para> 203 This package does not have a working test suite. However, there is a 204 usable basic graphical web browser in the build directory, 205 <application>build/bin/MiniBrowser</application>. If launching it fails, 206 there is a problem with the build. 207 </para> 208 209 <para> 210 Now, as the <systemitem class="username">root</systemitem> user: 211 </para> 212 213 <screen role="root"><userinput>ninja install</userinput></screen> 214 215 <para> 216 If you want to install the GTK4 version of 217 <application>WebKitGTK</application>, run the following commands: 218 </para> 219 220 <screen revision="systemd"><userinput>rm -rf * .[^.]* && 221 222 cmake -DCMAKE_BUILD_TYPE=Release \ 223 -DCMAKE_INSTALL_PREFIX=/usr \ 224 -DCMAKE_SKIP_RPATH=ON \ 225 -DPORT=GTK \ 226 -DLIB_INSTALL_DIR=/usr/lib \ 227 -DUSE_LIBBACKTRACE=OFF \ 270 228 -DUSE_LIBHYPHEN=OFF \ 271 229 -DENABLE_GAMEPAD=OFF \ … … 275 233 -DUSE_GTK4=ON \ 276 234 -DUSE_JPEGXL=OFF \ 277 -DUSE_WPE_RENDERER=ON \278 235 -DENABLE_BUBBLEWRAP_SANDBOX=ON \ 279 236 -Wno-dev -G Ninja .. && … … 287 244 -DPORT=GTK \ 288 245 -DLIB_INSTALL_DIR=/usr/lib \ 246 -DUSE_LIBBACKTRACE=OFF \ 289 247 -DUSE_LIBHYPHEN=OFF \ 290 248 -DENABLE_GAMEPAD=OFF \ … … 294 252 -DUSE_GTK4=ON \ 295 253 -DUSE_JPEGXL=OFF \ 296 -DUSE_WPE_RENDERER=ON \297 254 -DENABLE_JOURNALD_LOG=OFF \ 298 255 -DENABLE_BUBBLEWRAP_SANDBOX=ON \ … … 306 263 <screen role="root"><userinput>ninja install</userinput></screen> 307 264 265 <para> 266 As the <option>-DENABLE_DOCUMENTATION=OFF</option> option is used, 267 the documentation is not rebuilt nor installed now. If you need the 268 documentation, you can either install <xref linkend='gi-docgen'/> 269 and remove this option from the <command>cmake</command> command, 270 or install the pre-built documentation (only for the GTK-4 version) 271 instead: 272 </para> 273 274 <screen role='root'><userinput>install -vdm755 /usr/share/gtk-doc/html && 275 cp -rv Documentation/* /usr/share/gtk-doc/html</userinput></screen> 276 308 277 </sect2> 309 278 … … 315 284 is needed to allow the build to complete with enchant-2.x. 316 285 </para> --> 286 287 <para> 288 <parameter>-DUSE_LIBBACKTRACE=OFF</parameter>: This switch disables 289 the use of libbacktrace for dumping a stack trace when a crash 290 happens. You need to install &libbacktrace; if you wish to enable it 291 (replacing OFF with ON or just removing the switch). 292 </para> 317 293 318 294 <para> … … 342 318 <parameter>-DENABLE_MINIBROWSER=ON</parameter>: This switch enables 343 319 compiling and installing the MiniBrowser. 344 </para>345 346 <para>347 <parameter>-DUSE_WPE_RENDERER=ON</parameter>: This switch uses the WPE348 renderer, which is recommended by upstream.349 320 </para> 350 321 … … 421 392 /usr/include/webkitgtk-6.0, 422 393 /usr/lib{,exec}/webkit2gtk-4.1, 423 /usr/lib{,exec}/webkitgtk-6.0, and394 /usr/lib{,exec}/webkitgtk-6.0, 424 395 /usr/share/gtk-doc/html/{jsc-glib,webkit2gtk{,-web-extension}}-4.1 396 (optional), and 397 /usr/share/gtk-doc/html/{jsc-glib,webkit2gtk{,-web-process-extension}}-6.0 425 398 </seg> 426 399 </seglistitem>
Note:
See TracChangeset
for help on using the changeset viewer.