~ubuntu-branches/ubuntu/vivid/libidn/vivid

« back to all changes in this revision

Viewing changes to doc/libidn.html

  • Committer: Bazaar Package Importer
  • Author(s): Simon Josefsson, Simon Josefsson
  • Date: 2009-06-08 11:59:06 UTC
  • mfrom: (1.2.12 upstream) (3.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090608115906-6k6b5vy645zv0r77
Tags: 1.15-1
[ Simon Josefsson ]
* Let install-info decide where to put libidn.info.
* New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
<link title="Top" rel="top" href="#Top">
8
8
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
9
9
<!--
10
 
This manual is last updated 3 April 2009 for version
11
 
1.14 of GNU Libidn.
 
10
This manual is last updated 28 May 2009 for version
 
11
1.15 of GNU Libidn.
12
12
 
13
13
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Simon Josefsson.
14
14
 
222
222
 
223
223
<h2 class="unnumbered">GNU Libidn</h2>
224
224
 
225
 
<p>This manual is last updated 3 April 2009 for version
226
 
1.14 of GNU Libidn.
 
225
<p>This manual is last updated 28 May 2009 for version
 
226
1.15 of GNU Libidn.
227
227
 
228
228
   <p>Copyright &copy; 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Simon Josefsson.
229
229
 
650
650
   <p><a href="ftp://alpha.gnu.org/pub/gnu/libidn/">ftp://alpha.gnu.org/pub/gnu/libidn/</a>
651
651
 
652
652
   <p>The latest version is stored in a file, e.g.,
653
 
&lsquo;<samp><span class="samp">libidn-1.14.tar.gz</span></samp>&rsquo; where the &lsquo;<samp><span class="samp">1.14</span></samp>&rsquo;
 
653
&lsquo;<samp><span class="samp">libidn-1.15.tar.gz</span></samp>&rsquo; where the &lsquo;<samp><span class="samp">1.15</span></samp>&rsquo;
654
654
value is the highest version number in the directory.
655
655
 
656
656
   <p>The package is then extracted, configured and built like many other
662
662
and install the package.  You will need a few basic tools, such as
663
663
&lsquo;<samp><span class="samp">sh</span></samp>&rsquo;, &lsquo;<samp><span class="samp">make</span></samp>&rsquo; and &lsquo;<samp><span class="samp">cc</span></samp>&rsquo;.
664
664
 
665
 
<pre class="example">     $ wget -q ftp://alpha.gnu.org/pub/gnu/libidn/libidn-1.14.tar.gz
666
 
     $ tar xfz libidn-1.14.tar.gz
667
 
     $ cd libidn-1.14/
 
665
<pre class="example">     $ wget -q ftp://alpha.gnu.org/pub/gnu/libidn/libidn-1.15.tar.gz
 
666
     $ tar xfz libidn-1.15.tar.gz
 
667
     $ cd libidn-1.15/
668
668
     $ ./configure
669
669
     ...
670
670
     $ make
993
993
&mdash; Function: const char * <b>stringprep_check_version</b> (<var>const char * req_version</var>)<var><a name="index-stringprep_005fcheck_005fversion-38"></a></var><br>
994
994
<blockquote><p><var>req_version</var>: Required version number, or NULL.
995
995
 
996
 
        <p>Check that the the version of the library is at minimum the requested one
 
996
        <p>Check that the version of the library is at minimum the requested one
997
997
and return the version string; return NULL if the condition is not
998
998
satisfied.  If a NULL is passed to this function, no check is done,
999
999
but the version string is simply returned.
3818
3818
 
3819
3819
   <p>The Java library, if Libidn has been built with Java support
3820
3820
(see <a href="#Downloading-and-Installing">Downloading and Installing</a>), will be placed in
3821
 
<samp><span class="file">java/libidn-1.14.jar</span></samp>.  The source code is located in
 
3821
<samp><span class="file">java/libidn-1.15.jar</span></samp>.  The source code is located in
3822
3822
<samp><span class="file">java/gnu/inet/encoding/</span></samp>.
3823
3823
 
3824
3824
<h3 class="section">12.1 Overview</h3>