- Timestamp:
- 10/27/2014 10:47:18 PM (10 years ago)
- Branches:
- krejzi/svn
- Children:
- 3e09737
- Parents:
- 7aff5814
- Location:
- x/lib
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
x/lib/lib.xml
r7aff5814 rfe7679cd 59 59 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qt5-systemd.xml"/> 60 60 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="startup-notification.xml"/> 61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="webkitgtk2 .xml"/>61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="webkitgtk2-systemd.xml"/> 62 62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="webkitgtk26.xml"/> 63 63 -
x/lib/webkitgtk2-systemd.xml
r7aff5814 rfe7679cd 9 9 <!ENTITY webkitgtk2-md5sum "e1a10b4730f501980e3681db9b0e5d25"> 10 10 <!ENTITY webkitgtk2-size "9.4 MB"> 11 <!ENTITY webkitgtk2-buildsize " 1.5 GB (both built)">12 <!ENTITY webkitgtk2-time " 35 SBU (using parallelism=8, both built, webkitgtk-3.0 takes a little longer than webkitgtk-1.0)">11 <!ENTITY webkitgtk2-buildsize "968 MB (GTK+ 3 Build), 688 MB (GTK+ 2 Build)"> 12 <!ENTITY webkitgtk2-time "88 SBU (GTK+ 3 Build), 75 SBU (GTK+ 2 Build)"> 13 13 ]> 14 14 … … 31 31 32 32 <para> 33 The <application>WebKitGTK+</application> is the port of the portable web 34 rendering engine <application>WebKit</application> to the 35 <application>GTK+ 3</application> and/or <application>GTK+ 36 2</application> platforms. 33 The <application>WebKitGTK+</application> is the port of the portable 34 web rendering engine <application>WebKit</application> to the 35 <application>GTK+ 3</application> platform. 37 36 </para> 38 37 … … 78 77 <para role="required"> 79 78 <xref linkend="gst10-plugins-base"/>, 80 <xref linkend="gtk 2"/> or81 <xref linkend="gtk 3"/>,79 <xref linkend="gtk3"/> or 80 <xref linkend="gtk2"/> or both, 82 81 <xref linkend="icu"/>, 83 82 <xref linkend="libsecret"/>, … … 91 90 </para> 92 91 93 <note><para> 94 <application>WebKit2</application> links against<application>GTK+ 95 2</application> (even if <application>GTK+ 3</application> is being 96 used), in order to be able to use NPAPI plugins such as Adobe Flash. 97 </para></note> 98 92 <note> 93 <para> 94 Note that WebKit2 links against <application>GTK+ 2</application> 95 (even if <application>GTK+ 3</application> is being used) in order 96 to be able to use NPAPI plugins such as Adobe Flash. 97 </para> 98 </note> 99 99 100 100 <bridgehead renderas="sect4">Recommended</bridgehead> 101 101 <para role="recommended"> 102 102 <xref linkend="enchant"/>, 103 <xref linkend="geoclue2"/> or 103 104 <xref linkend="geoclue"/>, 104 <xref linkend="gobject-introspection"/> ,105 <xref linkend="gobject-introspection"/> and 105 106 <xref linkend="hicolor-icon-theme"/> 106 107 </para> … … 109 110 <para role="optional"> 110 111 <xref linkend="gtk-doc"/>, 111 <xref linkend="harfbuzz"/>, 112 <xref linkend="llvm"/>, 113 <ulink url="http://gitorious.org/geoclue2/">GeoClue2</ulink>, and 112 <xref linkend="llvm"/> and 114 113 <ulink url="http://xsltml.sourceforge.net/">MathML</ulink> 115 114 </para> … … 128 127 </para> 129 128 130 <screen><userinput>sed -i '/generate-gtkdoc --rebase/s:^:# :' \ 131 GNUmakefile.in</userinput></screen> 132 133 <para> 134 Upstream standard now is to link this package against <application>GTK+ 135 3</application>. However, for backward compatibility, manu users need 136 also another instance, linked to <application>GTK+ 2</application>. Both 137 can be installed in the same system, without problem. However, some 138 packages can alternatively be linked to either one. Here, both build 139 methods are presented and recommended to be built, but if you know which 140 one you need, just jump to the respective part. 141 </para> 142 143 <!-- ==== WebKitGTK+ against GTK+ 3 ====== --> 144 <bridgehead renderas="sect3">Build and install 145 <application>WebKitGTK+</application> against <application>GTK+ 146 3</application></bridgehead> 147 148 <para> 149 Install <application>WebKitGTK+</application> by running the 150 following commands: 151 </para> 152 153 <screen><userinput>mkdir -vp build-3 && 154 cp -a Documentation build-3 && 155 cd build-3 && 156 129 <screen><userinput>sed -i '/generate-gtkdoc --rebase/s:^:# :' GNUmakefile.in</userinput></screen> 130 131 <note> 132 <para> 133 Unless noted otherwise, the packages depending on this package 134 expect it to be built against <application>GTK+ 3</application>. 135 </para> 136 </note> 137 138 <para> 139 To build <application>WebKitGTK+</application> against 140 <application>GTK+ 3</application>, run the following 141 commands: 142 </para> 143 144 <screen><userinput>mkdir build3 && 145 pushd build3 && 157 146 ../configure --prefix=/usr --enable-introspection && 158 make</userinput></screen> 147 make && 148 popd</userinput></screen> 149 150 <para> 151 To build <application>WebKitGTK+</application> against 152 <application>GTK+ 2</application>, run the following 153 commands: 154 </para> 155 156 <screen><userinput>mkdir build2 && 157 pushd build2 && 158 ../configure --prefix=/usr --with-gtk=2.0 --disable-webkit2 && 159 make && 160 popd</userinput></screen> 159 161 160 162 <para> … … 166 168 </para> 167 169 168 <note><para> 169 When installing, the Makefile does some additional compiling and linking. 170 If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH 171 variables need to be defined for the root user. If using sudo to assume 172 root, use the -E option to pass your current environment variables for the 173 install process. 174 </para></note> 175 176 <para> 177 Now, as the <systemitem class="username">root</systemitem> user: 178 </para> 179 180 <screen role="root"><userinput>make install</userinput></screen> 181 182 <para> 183 Finally, leave the buid directory: 184 </para> 185 186 <screen><userinput>cd ..</userinput></screen> 187 188 <!-- ==== WebKitGTK+ against GTK+ 2 ====== --> 189 <bridgehead renderas="sect3">Build and install 190 <application>WebKitGTK+</application> against <application>GTK+ 191 2</application></bridgehead> 192 193 <para> 194 Install <application>WebKitGTK+</application> by running the 195 following commands: 196 </para> 197 198 <screen><userinput>mkdir -vp build-1</userinput></screen> 199 200 <para> 201 If you have built and installed the package against <application>GTK+ 202 3</application>. skip the following command, because the previous 203 docummentation also applies here: 204 </para> 205 206 <screen><userinput>cp -a Documentation build-1</userinput></screen> 207 208 <para> 209 Now, change into the build directory and effectively start the build and 210 install: 211 </para> 212 213 <screen><userinput>cd build-1 && 214 215 216 ../configure --prefix=/usr --with-gtk=2.0 --disable-webkit2 && 217 make</userinput></screen> 218 219 <para> 220 This package does not have a working testsuite. However, there is one 221 useable basic graphical web browser in the build directory, 222 <application>Programs/GtkLauncher</application>. If launching it 223 fails, there is a problem with the build. 224 </para> 225 226 <note><para> 227 When installing, the Makefile does some additional compiling and linking. 228 If you do not have Xorg in /usr, the LIBRARY_PATH and PKG_CONFIG_PATH 229 variables need to be defined for the root user. If using sudo to assume 230 root, use the -E option to pass your current environment variables for the 231 install process. 232 </para></note> 233 234 <para> 235 Now, as the <systemitem class="username">root</systemitem> user: 236 </para> 237 238 <screen role="root"><userinput>make install</userinput></screen> 239 240 <para> 241 Finally, leave the buid directory: 242 </para> 243 244 <screen><userinput>cd ..</userinput></screen> 170 <para> 171 If you have built the package against <application>GTK+ 3</application>, 172 install it by running the following commands as the <systemitem 173 class="username">root</systemitem> user: 174 </para> 175 176 <screen role="root"><userinput>make -C build3 install && 177 rm -rf /usr/share/gtk-doc/html/webkit{,dom}gtk-3.0 && 178 if [ -e /usr/share/gtk-doc/html/webkitdomgtk ]; then 179 mv -v /usr/share/gtk-doc/html/webkitdomgtk{,-3.0} 180 fi 181 if [ -e /usr/share/gtk-doc/html/webkitgtk [; then 182 mv -v /usr/share/gtk-doc/html/webkitgtk{,-3.0} 183 fi</userinput></screen> 184 185 <para> 186 If you have built the package against <application>GTK+ 2</application>, 187 install it by running the following commands as the <systemitem 188 class="username">root</systemitem> user: 189 </para> 190 191 <screen role="root"><userinput>make -C build2 install && 192 rm -rf /usr/share/gtk-doc/html/webkit{,dom}gtk-1.0 && 193 if [ -e /usr/share/gtk-doc/html/webkitdomgtk ]; then 194 mv -v /usr/share/gtk-doc/html/webkitdomgtk{,-1.0} 195 fi 196 if [ -e /usr/share/gtk-doc/html/webkitgtk [; then 197 mv -v /usr/share/gtk-doc/html/webkitgtk{,-1.0} 198 fi</userinput></screen> 245 199 246 200 </sect2> … … 250 204 251 205 <para> 252 <option>--enable-introspection</option>: This switch enables support for 253 <application>Gobject Introspection</application> and is required for a 254 <application>GNOME</application> Desktop. Remove if you don't have 255 <application>Gobject Introspection</application> installed or you don't 256 want to install <application>GNOME</application>. 257 </para> 258 259 <para> 260 <option>--disable-geolocation</option>: Use this option if you did not 261 install <xref linkend="geoclue"/> or <command>configure</command> will 262 fail. 206 <parameter>--enable-introspection</parameter>: This switch enables 207 <application>Gobject Introspection</application> bindings and is 208 required if building <application>GNOME</application> Desktop. 209 Remove if you don't have <application>Gobject 210 Introspection</application> installed or you don't want to install 211 <application>GNOME</application>. It is not needed if building 212 against <application>GTK+ 2</application>, although it can be used 213 if desired. 214 </para> 215 216 <para> 217 <parameter>--with-gtk=2.0 --disable-webkit2</parameter>: These switches 218 force <application>WebKitGTK+</application> to compile against 219 <application>GTK+ 2</application>, even if 220 <application>GTK+ 3</application> is also installed. 221 </para> 222 223 <para> 224 <option>--disable-geolocation</option>: Use this switch if you don't 225 want to install <xref linkend="geoclue"/> or 226 <xref linkend="geoclue2"/>. 263 227 </para> 264 228 … … 278 242 <seglistitem> 279 243 <seg> 280 jsc- 1 and jsc-3244 jsc-3 <emphasis>or</emphasis> jsc-1 281 245 </seg> 282 246 <seg> 283 libjavascriptcoregtk-1.0.so,284 247 libjavascriptcoregtk-3.0.so, 285 libwebkit2gtk-3.0.so, 286 libwebkitgtk-1.0.so, and 287 libwebkitgtk-3.0.so 248 libwebkit2gtk-3.0.so and 249 libwebkitgtk-3.0.so <emphasis>or</emphasis> 250 libjavascriptcoregtk-1.0.so and 251 libwebkitgtk-1.0.so 288 252 </seg> 289 253 <seg> 290 /usr/include/webkitgtk-{1,3}.0, 291 /usr/share/gtk-doc/html/webkit{2,dom,}gtk, and 292 /usr/share/webkitgtk-{1,3}.0 254 /usr/include/webkitgtk-3.0, 255 /usr/lib/webkit2gtk-3.0, 256 /usr/share/gtk-doc/html/webkitgtk-3.0, 257 /usr/share/gtk-doc/html/webkitdomgtk-3.0, 258 /usr/share/gtk-doc/html/webkit2gtk and 259 /usr/share/webkitgtk-3.0 <emphasis>or</emphasis> 260 /usr/include/webkit-1.0, 261 /usr/share/gtk-doc/html/webkitgtk-1.0, 262 /usr/share/gtk-doc/html/webkitdomgtk-1.0 and 263 /usr/share/webkit-1.0 293 264 </seg> 294 265 </seglistitem> … … 300 271 <?dbhtml list-presentation="table"?> 301 272 273 <varlistentry id="jsc-3"> 274 <term><command>jsc-3</command></term> 275 <listitem> 276 <para> 277 is a command-line utility that allows you to run JavaScript programs 278 outside of the context of a web browser linked against 279 <filename class="libraryfile">libjavascriptcoregtk-3.0.so</filename>. 280 </para> 281 <indexterm zone="webkitgtk2 jsc-3"> 282 <primary sortas="b-jsc-3">jsc-3</primary> 283 </indexterm> 284 </listitem> 285 </varlistentry> 286 302 287 <varlistentry id="jsc-1"> 303 288 <term><command>jsc-1</command></term> … … 305 290 <para> 306 291 is a command-line utility that allows you to run JavaScript programs 307 outside of the context of a web browser. 292 outside of the context of a web browser linked against 293 <filename class="libraryfile">libjavascriptcoregtk-1.0.so</filename>. 308 294 </para> 309 295 <indexterm zone="webkitgtk2 jsc-1"> … … 313 299 </varlistentry> 314 300 315 <varlistentry id="jsc-3"> 316 <term><command>jsc-3</command></term> 317 <listitem> 318 <para> 319 is a command-line utility that allows you to run JavaScript programs 320 outside of the context of a web browser. 321 </para> 322 <indexterm zone="webkitgtk2 jsc-3"> 323 <primary sortas="b-jsc-3">jsc-3</primary> 324 </indexterm> 325 </listitem> 326 </varlistentry> 327 328 <varlistentry id="libjavascriptcoregtk-1"> 301 <varlistentry id="libjavascriptcoregtk-3.0"> 302 <term><filename 303 class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term> 304 <listitem> 305 <para> 306 contains core JavaScript API functions used by <command>jsc-3</command> 307 and <filename class="libraryfile">libwebkitgtk-3.0.so</filename>. 308 </para> 309 <indexterm zone="webkitgtk2 libjavascriptcoregtk-3.0"> 310 <primary sortas="c-libjavascriptcoregtk-3.0">libjavascriptcoregtk-3.0.so</primary> 311 </indexterm> 312 </listitem> 313 </varlistentry> 314 315 <varlistentry id="libwebkitgtk-3.0"> 316 <term><filename class="libraryfile">libwebkitgtk-3.0.so</filename></term> 317 <listitem> 318 <para> 319 contains the <application>WebKitGTK+</application> API functions for 320 <application>GTK+ 3</application>. 321 </para> 322 <indexterm zone="webkitgtk2 libwebkitgtk-3.0"> 323 <primary sortas="c-libwebkitgtk-3.0">libwebkitgtk-3.0.so</primary> 324 </indexterm> 325 </listitem> 326 </varlistentry> 327 328 <varlistentry id="libwebkit2gtk-3.0"> 329 <term><filename class="libraryfile">libwebkit2gtk-3.0.so</filename></term> 330 <listitem> 331 <para> 332 contains the <application>WebKit2</application> API functions. 333 </para> 334 <indexterm zone="webkitgtk2 libwebkit2gtk-3.0"> 335 <primary sortas="c-libwebkit2gtk-3.0">libwebkit2gtk-3.0.so</primary> 336 </indexterm> 337 </listitem> 338 </varlistentry> 339 340 <varlistentry id="libjavascriptcoregtk-1.0"> 329 341 <term><filename 330 342 class="libraryfile">libjavascriptcoregtk-1.0.so</filename></term> 331 343 <listitem> 332 344 <para> 333 contains core JavaScript API functions used by 334 <command>jsc-1</command> and <filename 335 class="libraryfile">libwebkitgtk-1.0.so</filename>. 336 </para> 337 <indexterm zone="webkitgtk2 libjavascriptcoregtk-1"> 338 <primary sortas="c-libjavascriptcoregtk-1">libjavascriptcoregtk-1.0.so</primary> 339 </indexterm> 340 </listitem> 341 </varlistentry> 342 343 <varlistentry id="libjavascriptcoregtk-3"> 344 <term><filename 345 class="libraryfile">libjavascriptcoregtk-3.0.so</filename></term> 346 <listitem> 347 <para> 348 contains core JavaScript API functions used by 349 <command>jsc-3</command> and <filename 350 class="libraryfile">libwebkitgtk-3.0.so</filename>. 351 </para> 352 <indexterm zone="webkitgtk2 libjavascriptcoregtk-3"> 353 <primary sortas="c-libjavascriptcoregtk-3">libjavascriptcoregtk-3.0.so</primary> 354 </indexterm> 355 </listitem> 356 </varlistentry> 357 358 <varlistentry id="libwebkitgtk-1"> 345 contains core JavaScript API functions used by <command>jsc-1</command> 346 and <filename class="libraryfile">libwebkitgtk-1.0.so</filename>. 347 </para> 348 <indexterm zone="webkitgtk2 libjavascriptcoregtk-1.0"> 349 <primary sortas="c-libjavascriptcoregtk-1.0">libjavascriptcoregtk-1.0.so</primary> 350 </indexterm> 351 </listitem> 352 </varlistentry> 353 354 <varlistentry id="libwebkitgtk-1.0"> 359 355 <term><filename class="libraryfile">libwebkitgtk-1.0.so</filename></term> 360 356 <listitem> … … 363 359 <application>GTK+ 2</application>. 364 360 </para> 365 <indexterm zone="webkitgtk2 libwebkitgtk-1"> 366 <primary sortas="c-libwebkitgtk-1">libwebkitgtk-1.0.so</primary> 367 </indexterm> 368 </listitem> 369 </varlistentry> 370 371 <varlistentry id="libwebkitgtk-3"> 372 <term><filename class="libraryfile">libwebkitgtk-3.0.so</filename></term> 373 <listitem> 374 <para> 375 contains the <application>WebKitGTK+</application> API functions for 376 <application>GTK+ 3</application>. 377 </para> 378 <indexterm zone="webkitgtk2 libwebkitgtk-3"> 379 <primary sortas="c-libwebkitgtk-3">libwebkitgtk-3.0.so</primary> 380 </indexterm> 381 </listitem> 382 </varlistentry> 383 384 <varlistentry id="libwebkit2gtk-3"> 385 <term><filename class="libraryfile">libwebkit2gtk-3.0.so</filename></term> 386 <listitem> 387 <para> 388 contains the <application>WebKit2</application> API functions. 389 </para> 390 <indexterm zone="webkitgtk2 libwebkit2gtk-3"> 391 <primary sortas="c-libwebkit2gtk-3">libwebkit2gtk-3.0.so</primary> 361 <indexterm zone="webkitgtk2 libwebkitgtk-1.0"> 362 <primary sortas="c-libwebkitgtk-1.0">libwebkitgtk-1.0.so</primary> 392 363 </indexterm> 393 364 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.