- Timestamp:
- 10/29/2014 06:58:34 PM (10 years ago)
- Branches:
- krejzi/svn
- Children:
- ea4381c
- Parents:
- 18fa498
- Location:
- xsoft
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
xsoft/graphweb/firefox.xml
r18fa498 r07c39524 5 5 %general-entities; 6 6 7 <!-- <!ENTITY firefox-download-http8 "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2">-->9 7 <!ENTITY firefox-download-http 10 8 "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2"> 11 9 <!ENTITY firefox-download-ftp 12 10 "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2"> 13 <!ENTITY firefox-md5sum " 5a1c4b0b2349e3db94b45bd3f03f9288">11 <!ENTITY firefox-md5sum "385ad037451f141b68515c73cad01704"> 14 12 <!ENTITY firefox-size "148 MB"> 15 <!ENTITY firefox-buildsize "4. 1 GB (100MB installed)">16 <!ENTITY firefox-time " 12 SBU (using parallelism=8)">13 <!ENTITY firefox-buildsize "4.9 GB (66 MB installed)"> 14 <!ENTITY firefox-time "60 SBU"> 17 15 ]> 18 16 … … 81 79 <xref linkend="alsa-lib"/>, 82 80 <xref linkend="gtk2"/>, 83 <xref linkend=" zip"/>,and84 <xref linkend=" unzip"/>81 <xref linkend="unzip"/> and 82 <xref linkend="zip"/> 85 83 </para> 86 84 … … 98 96 <note> 99 97 <para> 100 If you don't install recommended dependencies, then internal copies of 101 those packages will be used. They might be tested to work, but they can 102 be out of date or contain security holes. 98 If you don't install recommended dependencies, 99 then internal copies of those packages will 100 be used. They might be tested to work, but 101 they can be out of date or contain security 102 holes. 103 103 </para> 104 104 </note> … … 107 107 <para> 108 108 With <application>Firefox-31.0</application> and later versions, you 109 must have installed <application>Open ssl</application> before110 <application>Python 2</application> or the build system will quickly109 must have installed <application>OpenSSL</application> before 110 <application>Python 2</application>, or the build system will quickly 111 111 fail with output including "ImportError: cannot import name 112 112 HTTPSHandler". If you are in any doubt about this (e.g. upgrading … … 114 114 <filename>/usr/lib/python2.7/lib-dynload/_ssl.so</filename> exists. 115 115 If it does not, reinstall <xref linkend="python2"/> (after 116 installing <xref linkend="openssl"/> . The latest version of any116 installing <xref linkend="openssl"/> - the latest version of any 117 117 <emphasis>currently maintained</emphasis> version of Openssl should 118 be satisfactory if already installed. 118 be satisfactory if already installed - if that package has not already 119 been installed). 119 120 </para> 120 121 </note> … … 136 137 <xref linkend="startup-notification"/>, 137 138 <xref linkend="wget"/>, 138 <xref linkend="wireless_tools"/> ,and139 <xref linkend="wireless_tools"/> and 139 140 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink> 140 141 </para> … … 149 150 150 151 <para> 151 The configuration of <application>Firefox</application> is accomplished 152 bycreating a <filename>mozconfig</filename> file containing the desired153 configuration options. A default <filename>mozconfig</filename> is 154 created below. To see the entire list of available configuration options155 (and anabbreviated description of each one), issue <command>./configure152 The configuration of <application>Firefox</application> is accomplished by 153 creating a <filename>mozconfig</filename> file containing the desired 154 configuration options. A default <filename>mozconfig</filename> is created 155 below. To see the entire list of available configuration options (and an 156 abbreviated description of each one), issue <command>./configure 156 157 --help</command>. You may also wish to review the entire file and 157 uncomment any other desired options. Create the file by issuing the158 following command:158 uncomment any other desired options. 159 Create the file by issuing the following command: 159 160 </para> 160 161 … … 210 211 ac_add_options --disable-tests 211 212 212 ac_add_options --enable-optimize213 213 ac_add_options --enable-strip 214 214 ac_add_options --enable-install-strip … … 238 238 </para> 239 239 240 <note><para> 241 If you are compiling <application>Firefox</application> in chroot, make 242 sure you have <envar>$SHELL</envar> environment variable set or prepend 243 <envar>SHELL=/bin/sh</envar> to the first make command below. 244 </para></note> 245 246 <screen><userinput>test $(uname -m) = "i686" && sed -i 's/enable-optimize/disable-optimize/' mozconfig || true && 247 make -f client.mk</userinput></screen> 240 <screen><userinput>make -f client.mk</userinput></screen> 248 241 249 242 <para> … … 252 245 253 246 <para> 254 Now, as the <systemitem class="username">root</systemitem> user: 247 Install <application>Firefox</application> by running the following 248 commands as the <systemitem class="username">root</systemitem> user: 255 249 </para> 256 250 … … 258 252 259 253 mkdir -pv /usr/lib/mozilla/plugins && 260 ln -sfv ../../mozilla/plugins /usr/lib/firefox-&firefox-version;/browser</userinput></screen> 254 ln -sfv ../mozilla/plugins /usr/lib/firefox-&firefox-version;</userinput></screen> 255 256 <para> 257 The above instruction just installs the parts you need to run 258 <application>Firefox</application>. Alternatively, if you want to 259 install the full <application>Firefox</application> development 260 environment, run the following command as the 261 <systemitem class="username">root</systemitem> user: 262 </para> 263 264 <screen role="root"><userinput>make -C firefox-build-dir install</userinput></screen> 261 265 262 266 </sect2> … … 264 268 <sect2 role="commands"> 265 269 <title>Command Explanations</title> 266 267 <para>268 <command>test $(uname -m) = "i686" && sed ...</command>:269 On this version of firefox, an old bug has reappeared in 32-bit builds.270 With optimization, the install fails with a Python error. This271 command will fix i686 builds and preserve the optimization on x86_64.272 </para>273 270 274 271 <para> … … 280 277 </para> 281 278 282 <para> 283 <command>make -C firefox-build-dir install</command>: This runs 284 <command>make install</command> in firefox-build-dir. 285 </para> 286 287 <para> 288 <command>ln -sfv ... /usr/bin/firefox</command>: This puts a symbolic link 289 to the <command>firefox</command> executable in your <envar>PATH</envar> 290 variable. 291 </para> 292 293 <para> 294 <command>mkdir -p /usr/lib/mozilla/plugins</command>: This checks 295 that <filename class="directory">/usr/lib/mozilla/plugins</filename> 296 exists. 297 </para> 298 299 <para> 300 <command>ln -sv ... /usr/lib/firefox-&firefox-version;/browser</command>: 279 <para> 280 <command>ln -sfv ... /usr/lib/firefox-&firefox-version;/browser</command>: 301 281 This command creates a symbolic link to <filename 302 282 class="directory">/usr/lib/mozilla/plugins</filename>. It's not really … … 330 310 331 311 <screen role="root"><userinput>mkdir -pv /usr/share/applications && 332 mkdir -pv /usr/share/pixmaps &&333 312 334 313 cat > /usr/share/applications/firefox.desktop << "EOF" && … … 347 326 EOF 348 327 349 ln -sfv /usr/lib/firefox-&firefox-version;/browser/icons/mozicon128.png \ 350 /usr/share/pixmaps/firefox.png</userinput></screen> 328 for s in 16 32 48 329 do 330 install -v -Dm644 /usr/lib/firefox-&firefox-version;/browser/chrome/icons/default/default${s}.png \ 331 /usr/share/icons/hicolor/${s}x${s}/apps/firefox.png 332 done && 333 install -v -Dm644 /usr/lib/firefox-&firefox-version;/browser/icons/mozicon128.png \ 334 /usr/share/icons/hicolor/128x128/apps/firefox.png && 335 gtk-update-icon-cache -qf /usr/share/icons/hicolor && 336 unset s</userinput></screen> 351 337 352 338 </sect2> … … 358 344 <segtitle>Installed Programs</segtitle> 359 345 <segtitle>Installed Libraries</segtitle> 360 <segtitle>Installed Director y</segtitle>346 <segtitle>Installed Directories</segtitle> 361 347 362 348 <seglistitem> … … 365 351 </seg> 366 352 <seg> 367 Numerous libraries, browser components, plugins, extensions, and 368 helper modules installed in 369 <filename class="directory">/usr/lib/firefox-&firefox-version;</filename> 353 None 370 354 </seg> 371 355 <seg> 372 /usr/lib/firefox-&firefox-version; 356 /usr/lib/firefox-&firefox-version; and 357 /usr/lib/mozilla/plugins 373 358 </seg> 374 359 </seglistitem> -
xsoft/other/thunderbird.xml
r18fa498 r07c39524 11 11 <!ENTITY thunderbird-md5sum "6bb66f5cb67d573939d4e2ead6f7c7ca"> 12 12 <!ENTITY thunderbird-size "164 MB"> 13 <!ENTITY thunderbird-buildsize " 3.7 GB (68 MB installed)">14 <!ENTITY thunderbird-time " 13 SBU (using parallelism=8)">13 <!ENTITY thunderbird-buildsize "4.7 GB (68 MB installed)"> 14 <!ENTITY thunderbird-time "56 SBU"> 15 15 ]> 16 16 … … 80 80 <xref linkend="alsa-lib"/>, 81 81 <xref linkend="gtk2"/>, 82 <xref linkend=" zip"/> and83 <xref linkend=" unzip"/>82 <xref linkend="unzip"/> and 83 <xref linkend="zip"/> 84 84 </para> 85 85 … … 138 138 <xref linkend="startup-notification"/>, 139 139 <xref linkend="wget"/>, 140 <xref linkend="wireless_tools"/> ,and140 <xref linkend="wireless_tools"/> and 141 141 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink> 142 142 </para> … … 161 161 162 162 <screen><userinput>cat > mozconfig << "EOF" 163 <literal># If you have a multicore machine, the build may be faster if using parallel 164 # jobs. The build system automatically adds -jN to the "make" flags, where N 165 # is the number of CPU cores. The option below is therefore useless, unless 166 # you want to use a smaller number of jobs: 163 <literal># If you have a multicore machine, thunderbird will now use all the cores by 164 # default. Exceptionally, you can reduce the number of cores, e.g. to 1, 165 # by uncommenting the next line and setting a valid number of CPU cores. 167 166 #mk_add_options MOZ_MAKE_FLAGS="-j1" 168 167 … … 214 213 ac_add_options --disable-tests 215 214 216 ac_add_options --enable-optimize217 215 ac_add_options --enable-strip 218 216 ac_add_options --enable-install-strip … … 238 236 239 237 <para> 240 First, a bug needs to be fixed. Notice that thunderbuild needs to match 241 the value used in mozconfig (above) for the object directory (MOZ_OBJDIR): 242 </para> 243 244 <!-- might be necessary 245 test $(uname -m) = "i686" && sed -i 's/enable-optimize/disable-optimize/' mozconfig || true &&--> 246 <screen><userinput>mkdir -vp mozilla/thunderbuild</userinput></screen> 238 First, a bug needs to be fixed. Note that thunderbuild matches 239 the value used in mozconfig above for the object directory 240 (MOZ_OBJDIR): 241 </para> 242 243 <screen><userinput>mkdir -pv mozilla/thunderbuild</userinput></screen> 247 244 248 245 <para> … … 251 248 </para> 252 249 253 <note><para> 254 If you are compiling <application>Thunderbird</application> in chroot, 255 prepend <envar>SHELL=/bin/sh</envar> to the <!--first -->make command below. 256 </para></note> 257 258 <screen><userinput>make -f client.mk<!-- 259 make -C thunderbuild/mail/installer--></userinput></screen> 250 <screen><userinput>make -f client.mk</userinput></screen> 260 251 261 252 <para> … … 267 258 commands as the <systemitem class="username">root</systemitem> user: 268 259 </para> 269 270 <!--<screen role="root"><userinput>mkdir -pv /usr/lib/thunderbird-&thunderbird-version; &&271 tar -xvf thunderbuild/mozilla/dist/thunderbird-&thunderbird-version;.en-US.linux-$(uname -m).tar.bz2 \272 -C /usr/lib/thunderbird-&thunderbird-version; -\-strip-components=1 &&273 ln -sfv ../lib/thunderbird-&thunderbird-version;/thunderbird /usr/bin</userinput></screen>-->274 260 275 261 <screen role="root"><userinput>make -f client.mk install INSTALL_SDK=</userinput></screen> … … 284 270 285 271 <screen role="root"><userinput>make -C thunderbuild install</userinput></screen> 272 286 273 </sect2> 287 274 288 275 <sect2 role="commands"> 289 276 <title>Command Explanations</title> 290 <!-- might be necessary291 <para>292 <command>test $(uname -m) = "i686" && sed ...</command>: On this293 version of thunderbird, an old bug has reappeared in 32-bit builds. With294 optimization, the install fails with a Python error. This command will295 fix i686 builds and preserve the optimization on x86_64.296 </para>-->297 298 <para>299 <command>mkdir -vp mozilla/thunderbuild</command>: fixes a build failure300 of Makefile at the beginning of build, where a file cannot be found.301 </para>302 277 303 278 <para> … … 386 361 EOF 387 362 388 ln -sfv /usr/lib/thunderbird-&thunderbird-version;/chrome/icons/default/default256.png \ 389 /usr/share/pixmaps/thunderbird.png</userinput></screen> 363 for s in 16 22 24 32 48 256 364 do 365 install -v -Dm644 /usr/lib/thunderbird-&thunderbird-version;/chrome/icons/default/default${s}.png \ 366 /usr/share/icons/hicolor/${s}x${s}/apps/thunderbird.png 367 done && 368 gtk-update-icon-cache -qf /usr/share/icons/hicolor && 369 unset s</userinput></screen> 370 390 371 </sect3> 372 391 373 </sect2> 392 374
Note:
See TracChangeset
for help on using the changeset viewer.