Revision: ec8d20a33c8a
Author:   nogu.dev <[email protected]>
Date:     Wed Nov 14 00:50:26 2012
Log:      Update InstallUim.wiki.

* InstallUim.wiki
  - Cosmetic and minor changes.
http://code.google.com/p/uim/source/detail?r=ec8d20a33c8a&repo=wiki

Modified:
 /InstallUim.wiki

=======================================
--- /InstallUim.wiki    Tue Nov 13 20:09:38 2012
+++ /InstallUim.wiki    Wed Nov 14 00:50:26 2012
@@ -4,16 +4,18 @@

If your distribution has uim packages, you can install uim with the packages. But you need to install uim from sources when your distribution doesn't have uim packages, uim packages in your distribution are outdated or you want to use latest development version of uim. We show how to install uim from sources here.

+Before installing uim, you need to install required packages and compile uim.
+
 = How to install uim =
 == Requirements ==
-You need to install the following software and libraries to compile uim:
+First of all, you need to install the following required software and libraries before compiling and installing uim:
  * gcc
  * GNU make
  * iconv
  * gettext
  * intltool

-The package names of the software and libraries above, and default installed packages differ from distribution to distribution. We take 2 distribution, Ubuntu and Fedora, as examples. +The package names of the software and libraries above, and default installed packages differ from distribution to distribution. We take 2 distribution, Ubuntu and Fedora, as examples for commands.

 Ubuntu:
 {{{
@@ -25,9 +27,9 @@
 $ sudo yum install gcc intltool
 }}}

-You also need to install additional software and libraries to enable features which uim support. +You also need to install additional software and libraries to enable features which uim supports.

-Let us think that we want to enable Anthy, GTK+ 2, GTK+ 3 and Qt 4 feature.
+Let us think that we want to enable Anthy, GTK+2, GTK+3 and Qt4 features.

 Ubuntu:
 {{{
@@ -39,7 +41,7 @@
 $ sudo yum install anthy-devel gtk2-devel gtk3-devel qt-devel gcc-c++
 }}}

-As for Fedora, you need to install gcc-c++ to install g++ in order to compile Qt 4 source codes. +As for Fedora, you need to install gcc-c++ to install g++ in order to compile Qt4 source codes.

 See the table below for all features:
|| *Feature* || *Description* || *Build Requirements* || *Configure Option* ||
@@ -86,9 +88,11 @@
* Qt4 tools include uim-chardict-qt4, uim-im-switcher-qt4, and uim-toolbar-qt4.

 == Compiling ==
+After installing required packages, you need to compile uim.
+
 You have two options on which version of uim you will use.
- * If you want to a use stable uim, select a release version.
- * If you want to use an unstable but more newer version, select the development version. + * If you want to a use stable uim, select a [#Release_version release version]. + * If you want to use an unstable but more newer version, select the [#Development_version development version].

 === Release version ===
If you want to use a release version, first, go to [http://code.google.com/p/uim/downloads/list Download Page] and download a tar ball and extract source files from the tar ball.
@@ -129,6 +133,11 @@
  * --with-wnn : build Wnn module
   * --with-wnn-libraries : wnn library (ex. /usr/lib)
   * --with-wnn-includes : wnn header files (ex. /usr/include/wnn)
+
+For example, you want Qt4 tools and immodule, issue the command below:
+{{{
+$ ./configure --with-qt4 --with-qt4-immodule
+}}}

 Finally, make and install it.
 {{{
@@ -148,6 +157,8 @@
  * ruby
  * git

+The actual commands for Ubuntu and Fedora are as follows.
+
 Ubuntu:
 {{{
 $ sudo apt-get install librsvg2-bin libtool ruby git
@@ -157,6 +168,8 @@
 {{{
 $ sudo yum install libtool ruby
 }}}
+
+Now, all the required packages are installed.

 First, obtain development version from the Git repository.
 {{{
@@ -168,6 +181,13 @@
 $ cd uim
 $ ./make-wc.sh
 }}}
+
+You can pass arguments to ./make-wc.sh as ./configure:
+{{{
+$ ./make-wc.sh --with-qt4 --with-qt4-immodule
+}}}
+
+The detail options of ./configure, which are same as ./make-wc.sh, are described in the section [#Release_version release version].

 Finally, make and install it.
 {{{

Reply via email to