Changeset d615263
- Timestamp:
- 02/16/2012 06:16:53 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:
- 822075f
- Parents:
- 503a0c83
- Files:
-
- 2 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> -
template/template.xml
r503a0c83 rd615263 87 87 <!-- As required --> 88 88 <bridgehead renderas="sect4">Recommended</bridgehead> 89 <para role="recommended"><ulink url="http://www.some.url/">EXTERNAL DEPENDENCY</ulink>, 89 <para role="recommended"><ulink url="http://www.some.url/">EXTERNAL 90 DEPENDENCY</ulink>, 90 91 <xref linkend="BLFS DEPENDENCY"/></para> 91 92 92 93 <!-- As required --> 93 94 <bridgehead renderas="sect4">Optional</bridgehead> 94 <para role="optional"><ulink url="http://www.some.url/">EXTERNAL DEPENDENCY</ulink></para> 95 <para role="optional"><ulink url="http://www.some.url/">EXTERNAL 96 DEPENDENCY</ulink></para> 95 97 96 98 <para condition="html" role="usernotes">User Notes: 97 99 <ulink url="&blfs-wiki;/TEMPLATE"/></para> 98 99 </sect2> 100 101 <!-- Optional section for packages that need a specific kernelconfiguration-->100 </sect2> 101 102 <!-- Optional section for packages that need a specific kernel 103 configuration--> 102 104 <sect2 role="kernel" id='TEMPLATE-kernel'> 103 105 <title>Kernel Configuration</title> … … 118 120 <primary sortas="d-TEMPLATE">TEMPLATE</primary> 119 121 </indexterm> 120 121 122 </sect2> 122 123 … … 132 133 make</userinput></screen> 133 134 134 <!-- Use one of the two mentions below about a test suite,135 delete the line that is not applicable. Of course, if the135 <!-- Optional section. Use one of the two mentions below about a test 136 suite, delete the line that is not applicable. Of course, if the 136 137 test suite uses syntax other than 'make check', revise the 137 138 line to reflect the actual syntax to run the test suite --> … … 140 141 <para>To test the results, issue: <command>make check</command>.</para> 141 142 142 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 143 <para>Now, as the <systemitem class="username">root</systemitem> 144 user:</para> 143 145 144 146 <screen role="root"><userinput>make install</userinput></screen> 145 146 147 </sect2> 147 148 … … 157 158 <para><option>--OPTION</option>: This option does something optionally 158 159 per the user's desires.</para> 159 160 160 </sect2> 161 161 … … 174 174 175 175 <indexterm zone="TEMPLATE TEMPLATE-config"> 176 <primary sortas="e-etc-path-Configfilename2">/etc/path/Configfilename2</primary> 176 <primary 177 sortas="e-etc-path-Configfilename2">/etc/path/Configfilename2</primary> 177 178 </indexterm> 178 179 </sect3> … … 196 197 # End FILENAME</literal> 197 198 EOF</userinput></screen> 198 199 199 </sect3> 200 200 … … 213 213 214 214 <screen role="root"><userinput>make install-TEMPLATE</userinput></screen> 215 216 215 </sect3> 217 218 216 </sect2> 219 217 … … 275 273 </listitem> 276 274 </varlistentry> 277 278 275 </variablelist> 279 280 </sect2> 281 276 </sect2> 282 277 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.