Changeset 95abdf87
- Timestamp:
- 04/27/2023 01:53:28 PM (12 months ago)
- Branches:
- 12.0, 12.1, kea, ken/TL2024, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
- Children:
- 820262d8
- Parents:
- bc7af21
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/lib/webkitgtk.xml
rbc7af21 r95abdf87 152 152 <para> 153 153 This package allows building with either GTK-3 or GTK-4, but not both 154 in the same build. To build the GTK-4 version for packages such as 155 Epiphany, make sure to set -DUSE_GTK4=ON. For other packages, such as 156 Balsa or Evolution, the GTK-3 version is required, so set 157 -DUSE_GTK4=OFF if you want to build this package to use those 158 applications. Both versions can be installed on the same system. 154 in the same build. The GTK-4 version is needed for packages such as 155 <xref linkend="epiphany"/>. Other packages, such as 156 <xref linkend="balsa"/> or <xref linkend="evolution"/>, require the 157 GTK-3 version. Both versions can be installed side by side on the 158 same system. We give build instructions for both cases below, but 159 the only difference is the setting of <command>-DUSE_GTK4</command> 159 160 </para> 160 161 </important> 161 162 162 163 <para> 163 I nstall <application>WebKitGTK</application> by running the164 following commands:164 If you want to install the GTK+-3 version of 165 <application>WebKitGTK</application>, run the following commands: 165 166 </para> 166 167 … … 178 179 -DENABLE_DOCUMENTATION=OFF \ 179 180 -DUSE_WOFF2=OFF \ 180 -DUSE_GTK4= [ON or OFF]\181 -DUSE_GTK4=OFF \ 181 182 -DUSE_WPE_RENDERER=ON \ 182 183 -DENABLE_BUBBLEWRAP_SANDBOX=OFF \ … … 197 198 -DENABLE_DOCUMENTATION=OFF \ 198 199 -DUSE_WOFF2=OFF \ 199 -DUSE_GTK4= [ON or OFF]\200 -DUSE_GTK4=OFF \ 200 201 -DUSE_WPE_RENDERER=ON \ 201 202 -DENABLE_JOURNALD_LOG=OFF \ … … 242 243 install -vm644 ../Documentation/webkit2gtk-web-extension-4.1/* \ 243 244 /usr/share/gtk-doc/html/webkit2gtk-web-extension-4.1</userinput></screen> 245 246 <para> 247 If you want to install the GTK4 version of 248 <application>WebKitGTK</application>, run the following commands: 249 </para> 250 251 <screen revision="systemd"><userinput>rm -rf * .[^.]* && 252 253 cmake -DCMAKE_BUILD_TYPE=Release \ 254 -DCMAKE_INSTALL_PREFIX=/usr \ 255 -DCMAKE_SKIP_RPATH=ON \ 256 -DPORT=GTK \ 257 -DLIB_INSTALL_DIR=/usr/lib \ 258 -DUSE_LIBHYPHEN=OFF \ 259 -DENABLE_GAMEPAD=OFF \ 260 -DENABLE_MINIBROWSER=ON \ 261 -DENABLE_DOCUMENTATION=OFF \ 262 -DUSE_WOFF2=OFF \ 263 -DUSE_GTK4=ON \ 264 -DUSE_WPE_RENDERER=ON \ 265 -DENABLE_BUBBLEWRAP_SANDBOX=OFF \ 266 -Wno-dev -G Ninja .. && 267 ninja</userinput></screen> 268 269 <screen revision="sysv"><userinput>rm -rf * .[^.]* && 270 271 cmake -DCMAKE_BUILD_TYPE=Release \ 272 -DCMAKE_INSTALL_PREFIX=/usr \ 273 -DCMAKE_SKIP_RPATH=ON \ 274 -DPORT=GTK \ 275 -DLIB_INSTALL_DIR=/usr/lib \ 276 -DUSE_LIBHYPHEN=OFF \ 277 -DENABLE_GAMEPAD=OFF \ 278 -DENABLE_MINIBROWSER=ON \ 279 -DENABLE_DOCUMENTATION=OFF \ 280 -DUSE_WOFF2=OFF \ 281 -DUSE_GTK4=ON \ 282 -DUSE_WPE_RENDERER=ON \ 283 -DENABLE_JOURNALD_LOG=OFF \ 284 -DENABLE_BUBBLEWRAP_SANDBOX=OFF \ 285 -Wno-dev -G Ninja .. && 286 ninja</userinput></screen> 287 288 <para> 289 Now, as the <systemitem class="username">root</systemitem> user: 290 </para> 291 292 <screen role="root"><userinput>ninja install</userinput></screen> 293 244 294 </sect2> 245 295
Note:
See TracChangeset
for help on using the changeset viewer.