Changeset 1265b05
- Timestamp:
- 04/04/2012 01:06:59 PM (12 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 793d016
- Parents:
- e01e550b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/lib/xulrunner.xml
re01e550b r1265b05 73 73 <para> 74 74 Estimated build time: &xulrunner-time; 75 </para> 76 </listitem> 77 </itemizedlist> 78 79 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 80 <itemizedlist spacing="compact"> 81 <listitem> 82 <para> 83 Required patch if you're using <application>GCC-4.7</application>: 84 <ulink url="&patch-root;/xulrunner-&xulrunner-version;_gcc-4.7-1.patch"/> 75 85 </para> 76 86 </listitem> … … 189 199 </para> 190 200 191 <screen><userinput>sed -i 's#VPX_CODEC_USE_INPUT_PARTITION#VPX_CODEC_USE_INPUT_FRAGMENTS#' configure && 201 <screen><userinput>patch -p1 < ../xulrunner-&xulrunner-version;_gcc-4.7-1.patch && 202 sed -i 's#VPX_CODEC_USE_INPUT_PARTITION#VPX_CODEC_USE_INPUT_FRAGMENTS#' configure && 192 203 sed -i '/Version/aRequires: nspr >= &nspr-version;' xulrunner/installer/libxul-embedding.pc.in && 204 sed -i 's#-L${sdkdir}/lib ##' xulrunner/installer/*.pc.in && 193 205 make -f client.mk</userinput></screen> 194 206 … … 205 217 rm -rf /usr/lib/xulrunner-&xulrunner-version;/plugins && 206 218 ln -sv ../mozilla/plugins /usr/lib/xulrunner-&xulrunner-version; && 207 chown -Rv root:root /usr/{include,lib,share/idl}/xulrunner-*</userinput></screen> 208 209 <para> 210 If you elected to use the included NSPR and NSS (ie, if you have 211 <emphasis>not</emphasis> installed <xref linkend="nspr"/> and 212 <xref linkend="nss"/>), while still the 213 <systemitem class="username">root</systemitem> user, complete the 214 installation with the following commands: 215 </para> 216 217 <screen role="root"><userinput>for DL in libnss3.so libnssutil3.so libsmime3.so \ 218 libssl3.so libsoftokn3.so libplds4.so libplc4.so libnspr4.so 219 do ln -sv xulrunner-&xulrunner-version;/${DL} /usr/lib 220 done && 221 unset DL</userinput></screen> 219 chown -Rv root:root /usr/{include,lib,share/idl}/xulrunner-* && 220 for library in /usr/lib/xulrunner-devel-&xulrunner-version;/sdk/lib/*.{a,so} 221 do ln -sfv ${library#/usr/lib/} /usr${library#*sdk} 222 done</userinput></screen> 222 223 </sect2> 223 224 … … 231 232 you have libvpx-v0.9.7 or earlier installed or if you've not installed 232 233 <application>Libvpx</application>. 233 234 </para> 234 235 235 236 <para> 236 237 <command>sed ... Requires: nspr</command>: If you try to build some other 237 238 applications without this, the prtypes header from NSPR will not be found. 239 </para> 240 241 <para> 242 <command>sed -i 's#-L${sdkdir}/lib ##' 243 xulrunner/installer/*.pc.in</command>: Because we put symlinks to the 244 libraries into <filename class="directory">/usr/lib</filename> we do not 245 need to have -L/usr/lib/xulrunner-devel-&xulrunner-version;/sdk/lib in 246 the linker flags provided by the pkg-config .pc files. 238 247 </para> 239 248 … … 255 264 256 265 <para> 257 <command>for DL in ...</command>: The NSPR and NSS libraries shipped 258 with this package are installed into 259 <filename class="directory">/usr/lib/xulrunner-&xulrunner-version;</filename> 260 which means they will not be found at runtime. By using symbolic links 261 from <filename class="directory">/usr/lib</filename> the libraries will be 262 found and the links can be easily changed to point to a newer version 263 during an upgrade. 264 </para> 265 266 <note> 267 <para> 268 When you upgrade Xulrunner, remember to update the symlinks. 269 </para> 270 </note> 266 <command>for library in 267 /usr/lib/xulrunner-devel-&xulrunner-version;/sdk/lib/*.{a,so}; do ln -sfv 268 ${library#/usr/lib/} /usr${library#*sdk}; done</command>: The libraries 269 shipped with this package are installed into 270 <filename class="directory">/usr/lib/xulrunner-devel-&xulrunner-version;</filename> 271 which means they will not be found at runtime. These commands make 272 relative symbolic links to the libraries from 273 <filename class="directory">/usr/lib</filename>. 274 </para> 271 275 </sect2> 272 276
Note:
See TracChangeset
for help on using the changeset viewer.