- Timestamp:
- 02/16/2012 06:16:53 PM (13 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 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, gimp3, 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/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 822075f
- Parents:
- 503a0c83
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/spidermonkey.xml
r503a0c83 rd615263 5 5 %general-entities; 6 6 7 <!ENTITY SpiderMonkey-download-http "https://ftp.mozilla.org/pub/mozilla.org/js/js185-&spidermonkey-version;.tar.gz"> 8 <!ENTITY SpiderMonkey-download-ftp " "> 7 <!ENTITY SpiderMonkey-download-http 8 "http://ftp.mozilla.org/pub/mozilla.org/js/js185-&spidermonkey-version;.tar.gz"> 9 <!ENTITY SpiderMonkey-download-ftp 10 "ftp://ftp.mozilla.org/pub/mozilla.org/js/js185-&spidermonkey-version;.tar.gz"> 9 11 <!ENTITY SpiderMonkey-md5sum "a4574365938222adca0a6bd33329cb32"> 10 12 <!ENTITY SpiderMonkey-size "5.9 MB"> … … 39 41 <itemizedlist spacing="compact"> 40 42 <listitem> 41 <para>Download (HTTP): <ulink url="&SpiderMonkey-download-http;"/></para> 43 <para>Download (HTTP): 44 <ulink url="&SpiderMonkey-download-http;"/></para> 42 45 </listitem> 43 46 <listitem> … … 58 61 </itemizedlist> 59 62 60 <bridgehead renderas="sect3">Additional Downloads</bridgehead>61 <itemizedlist spacing='compact'>62 <listitem>63 <para>Recommended Patch: <ulink64 url="&patch-root;/js185-&spidermonkey-version;-DESTDIR-1.patch"/></para>65 </listitem>66 </itemizedlist>67 68 63 <bridgehead renderas="sect3">SpiderMonkey Dependencies</bridgehead> 69 64 … … 75 70 <para condition="html" role="usernotes">User Notes: 76 71 <ulink url="&blfs-wiki;/SpiderMonkey"/></para> 77 78 72 </sect2> 79 73 … … 81 75 <title>Installation of SpiderMonkey</title> 82 76 83 <para>Install <application>SpiderMonkey</application> by running the following84 commands:</para>77 <para>Install <application>SpiderMonkey</application> by running the 78 following commands:</para> 85 79 86 <screen><userinput>patch -Np1 -i ../js185-&spidermonkey-version;-DESTDIR-1.patch && 87 cd js/src && 88 ./configure --prefix=/usr \ 89 --enable-threadsafe \ 90 --with-system-nspr && 80 <screen><userinput>cd js/src && 81 sed -i 's#s \($(SHLIB_\(ABI\|EXACT\)_VER)\)#s $(notdir \1)#' Makefile.in && 82 ./configure --prefix=/usr --enable-threadsafe --with-system-nspr && 91 83 make</userinput></screen> 92 84 93 85 <para>To test the results, issue: <command>make check</command>.</para> 94 86 95 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 87 <para>Now, as the <systemitem class="username">root</systemitem> 88 user:</para> 96 89 97 90 <screen role="root"><userinput>make install</userinput></screen> 98 99 91 </sect2> 100 92 … … 102 94 <title>Command Explanations</title> 103 95 104 <para><command> patch -Np1 -i ../js185-&spidermonkey-version;-DESTDIR-1.patch</command>:105 If <application>SpiderMonkey</application> is installed in a DESTDIR, this patchfixes106 the symlinks for <filename>libmozjs185.so</filename> so that they do not point to the107 <emphasis>build</emphasis> tree.</para>96 <para><command>sed -i 's#s \($(SHLIB_\(ABI\|EXACT\)_VER)\)#s $(notdir \1)#' 97 Makefile.in</command>: This sed fixes 98 the symlinks for <filename>libmozjs185.so</filename> so that they are 99 relative and not absolute symlinks.</para> 108 100 109 <para><parameter>--enable-threadsafe</parameter>: This switch enables support110 for multiple threads.</para>101 <para><parameter>--enable-threadsafe</parameter>: This switch enables 102 support for multiple threads.</para> 111 103 112 104 <para><parameter>--with-system-nspr</parameter>: This parameter forces the 113 105 package to link to the system version of <application>nspr</application> 114 106 instead of using its included, and now old, version.</para> 115 116 107 </sect2> 117 108 … … 147 138 148 139 <varlistentry id="libmozjs185-1"> 149 <term><filename class= 'libraryfile'>libmozjs185-1.0.a</filename></term>140 <term><filename class="libraryfile">libmozjs185-1.0.a</filename></term> 150 141 <listitem> 151 142 <para>contains functions that .....</para> … … 157 148 158 149 <varlistentry id="libmozjs185"> 159 <term><filename class= 'libraryfile'>libmozjs185.so</filename></term>150 <term><filename class="libraryfile">libmozjs185.so</filename></term> 160 151 <listitem> 161 152 <para>contains functions that .....</para> … … 165 156 </listitem> 166 157 </varlistentry> 167 168 158 </variablelist> 169 170 159 </sect2> 171 172 160 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.