~ubuntu-branches/ubuntu/trusty/aria2/trusty

« back to all changes in this revision

Viewing changes to README.html

  • Committer: Package Import Robot
  • Author(s): Kartik Mistry
  • Date: 2013-12-16 18:41:03 UTC
  • mfrom: (2.5.21 sid)
  • Revision ID: package-import@ubuntu.com-20131216184103-xzah3019zwut429g
Tags: 1.18.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
422
422
<h1>Dependency</h1>
423
423
<table border="1" class="docutils">
424
424
<colgroup>
425
 
<col width="38%" />
426
 
<col width="63%" />
 
425
<col width="35%" />
 
426
<col width="65%" />
427
427
</colgroup>
428
428
<thead valign="bottom">
429
429
<tr><th class="head">features</th>
432
432
</thead>
433
433
<tbody valign="top">
434
434
<tr><td>HTTPS</td>
435
 
<td>GnuTLS or OpenSSL</td>
 
435
<td>OSX or GnuTLS or OpenSSL</td>
436
436
</tr>
437
437
<tr><td>BitTorrent</td>
438
438
<td>libnettle+libgmp or libgcrypt or OpenSSL</td>
441
441
<td>libxml2 or Expat.</td>
442
442
</tr>
443
443
<tr><td>Checksum</td>
444
 
<td>libnettle or libgcrypt or OpenSSL</td>
 
444
<td>None. Optional: OSX or libnettle or libgcrypt
 
445
or OpenSSL (see note)</td>
445
446
</tr>
446
447
<tr><td>gzip, deflate in HTTP</td>
447
448
<td>zlib</td>
467
468
</div>
468
469
<div class="note">
469
470
<p class="first admonition-title">Note</p>
 
471
<p>On Apple OSX the OS-level SSL/TLS support will be preferred. Hence
 
472
neither GnuTLS nor OpenSSL are required on that platform. If you'd like
 
473
to disable this behavior, run configure with <tt class="docutils literal"><span class="pre">--without-appletls</span></tt>.</p>
470
474
<p class="last">GnuTLS has precedence over OpenSSL if both libraries are installed.
471
475
If you prefer OpenSSL, run configure with <tt class="docutils literal"><span class="pre">--without-gnutls</span></tt>
472
476
<tt class="docutils literal"><span class="pre">--with-openssl</span></tt>.</p>
473
477
</div>
474
478
<div class="note">
475
479
<p class="first admonition-title">Note</p>
476
 
<p class="last">libnettle has precedence over libgcrypt if both libraries are
 
480
<p>On Apple OSX the OS-level checksumming support will be preferred,
 
481
unless aria2 is configured with <tt class="docutils literal"><span class="pre">--without-appletls</span></tt>.</p>
 
482
<p>libnettle has precedence over libgcrypt if both libraries are
477
483
installed.  If you prefer libgcrypt, run configure with
478
484
<tt class="docutils literal"><span class="pre">--without-libnettle</span> <span class="pre">--with-libgcrypt</span></tt>. If OpenSSL is selected over
479
485
GnuTLS, neither libnettle nor libgcrypt will be used.</p>
 
486
<p class="last">If none of the optional dependencies are installed, an internal
 
487
implementation that only supports md5 and sha1 will be used.</p>
480
488
</div>
481
489
<p>A user can have one of the following configurations for SSL and crypto
482
490
libraries:</p>
530
538
<li>libexpat1-dev    (Required for Metalink support)</li>
531
539
</ul>
532
540
<p>On Fedora you need the following packages: gcc, gcc-c++, kernel-devel,
533
 
libgcrypt-devel, libgcrypt-devel, libxml2-devel, openssl-devel,
534
 
gettext-devel, cppunit</p>
 
541
libgcrypt-devel, libxml2-devel, openssl-devel, gettext-devel, cppunit</p>
535
542
<p>If you downloaded source code from git repository, you have to run
536
543
following command to generate configure script and other files
537
544
necessary to build the program:</p>
631
638
<h1>Cross-compiling Android binary</h1>
632
639
<p>In this section, we describe how to build Android binary using Android
633
640
NDK cross-compiler on Debian Linux.</p>
 
641
<p>At the time of this writing, android-ndk-r9 should compile aria2
 
642
without errors.</p>
634
643
<p><tt class="docutils literal"><span class="pre">android-config</span></tt> script is a configure script wrapper for Android
635
644
build.  We use it to create official Android build.  This script
636
645
assumes the following libraries have been built for cross-compile:</p>
648
657
environment variable which must fulfill the following conditions:</p>
649
658
<ul>
650
659
<li><p class="first">Android NDK toolchain is installed under
651
 
<tt class="docutils literal">$ANDROID_HOME/toolchain</tt>.  Refer to &quot;3/ Invoking the compiler
 
660
<tt class="docutils literal">$ANDROID_HOME/toolchain</tt>.  Refer to &quot;4/ Invoking the compiler
652
661
(the easy way):&quot; section in Android NDK
653
662
<tt class="docutils literal"><span class="pre">docs/STANDALONE-TOOLCHAIN.html</span></tt> to install custom toolchain.</p>
654
663
<p>For example, to install toolchain under <tt class="docutils literal">$ANDROID_HOME/toolchain</tt>,
655
664
do this:</p>
656
665
<pre class="literal-block">
657
 
$NDK/build/tools/make-standalone-toolchain.sh --platform=android-9 --install-dir=$ANDROID_HOME/toolchain
 
666
$NDK/build/tools/make-standalone-toolchain.sh --platform=android-18 --toolchain=arm-linux-androideabi-4.8 --install-dir=$ANDROID_HOME/toolchain
658
667
</pre>
659
668
<p>You may need to add <tt class="docutils literal"><span class="pre">--system=linux-x86_64</span></tt> to the above
660
669
command-line for x86_64 Linux host.</p>