Difference between revisions of "Intltool"

From CBLFS
Jump to navigationJump to search
 
 
(12 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
| url
+
| http://ftp.gnome.org/pub/gnome/sources/intltool/{{Intltool-Version2}}/intltool-{{Intltool-Version}}.tar.bz2
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|intltool is a set of tools to centralize translation of many different file formats using GNU gettext-compatible PO files.|http://www.freedesktop.org/wiki/Software/intltool}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 12: Line 14:
 
* [[Perl Module XML::Parser]]
 
* [[Perl Module XML::Parser]]
  
== Non-Multilib ==
+
== Non-Multilib or Multilib==
  
 
Compile the package:
 
Compile the package:
Line 23: Line 25:
 
  make install &&
 
  make install &&
 
  install -v -m644 -D doc/I18N-HOWTO \
 
  install -v -m644 -D doc/I18N-HOWTO \
     /usr/share/doc/intltool-0.34.2/I18N-HOWTO
+
     /usr/share/doc/intltool-{{Intltool-Version}}/I18N-HOWTO
  
== Multilib ==
+
= Contents =
'''''This package does not provide any libraries so only one installation is needed.'''''
 
  
=== 32Bit ===
+
{| style="text-align: left;"
 +
|-valign="top"
 +
! Installed Programs:
 +
| intltoolize, intltool-extract, intltool-merge, intltool-prepare, and intltool-update
 +
|-valign="top"
 +
! Installed Libraries:
 +
| None
 +
|-valign="top"
 +
! Installed Directories:
 +
| /usr/share/intltool and /usr/share/doc/intltool-{{Intltool-Version}}
 +
|}
  
Compile the package:
+
=== Short Descriptions ===
  
CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
{| style="text-align: left;"
make
+
|-valign="top"
 +
! intltoolize
 +
| prepares a package to use intltool.
 +
|-valign="top"
 +
! intltool-extract
 +
| generates header files that can be read by '''gettext'''.
 +
|-valign="top"
 +
! intltool-merge
 +
| merges translated strings into various file types.
 +
|-valign="top"
 +
! intltool-prepare
 +
| updates pot files and merges them with translation files.
 +
|-valign="top"
 +
! intltool-update
 +
| updates the po template files and merges them with the translations.
 +
|}
  
Install the package
+
[[Category:General Utilities]]
 
 
make install
 
 
 
=== N32 ===
 
 
 
Compile the package:
 
 
 
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
make
 
 
 
Install the package
 
 
 
make install
 
 
 
=== 64Bit ===
 
 
 
Compile the package:
 
 
 
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
make
 
 
 
Install the package
 
 
 
make install &&
 
install -v -m644 -D doc/I18N-HOWTO \
 
    /usr/share/doc/intltool-0.34.2/I18N-HOWTO
 

Latest revision as of 15:00, 19 March 2009

Download Source: http://ftp.gnome.org/pub/gnome/sources/intltool/0.40/intltool-0.40.6.tar.bz2

Introduction to Intltool

intltool is a set of tools to centralize translation of many different file formats using GNU gettext-compatible PO files.

Project Homepage: http://www.freedesktop.org/wiki/Software/intltool

Dependencies

Required

Non-Multilib or Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install &&
install -v -m644 -D doc/I18N-HOWTO \
    /usr/share/doc/intltool-0.40.6/I18N-HOWTO

Contents

Installed Programs: intltoolize, intltool-extract, intltool-merge, intltool-prepare, and intltool-update
Installed Libraries: None
Installed Directories: /usr/share/intltool and /usr/share/doc/intltool-0.40.6

Short Descriptions

intltoolize prepares a package to use intltool.
intltool-extract generates header files that can be read by gettext.
intltool-merge merges translated strings into various file types.
intltool-prepare updates pot files and merges them with translation files.
intltool-update updates the po template files and merges them with the translations.