tazpkg annotate README @ rev 932
Add Japanese translations (thanks Keiichi Shiga)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jan 10 13:20:08 2017 +0200 (2017-01-10) |
parents | 58f001f8e2bc |
children |
rev | line source |
---|---|
al@840 | 1 README for TazPkg - Tiny autonomous packages manager |
pankso@0 | 2 =============================================================================== |
pankso@0 | 3 |
pankso@0 | 4 |
al@633 | 5 TazPkg is a small but powerful packages manager for SliTaz GNU/Linux and |
paul@349 | 6 other UNIX-like operating systems. It uses a *.tazpkg package generally built |
paul@662 | 7 by Cookutils with a receipt found in the wok. More information can be found in |
paul@349 | 8 the SliTaz Cookbook and the manual. |
pankso@0 | 9 |
al@633 | 10 TazPkg is entirely built from scratch using SHell script; compatible with |
al@633 | 11 Bash, it runs under Ash - part of the Busybox project. TazPkg is distributed |
al@840 | 12 under the free GNU license GPL V3. |
pankso@0 | 13 |
paul@662 | 14 Development HG repo: http://hg.slitaz.org/tazpkg |
pankso@344 | 15 |
pankso@0 | 16 |
pankso@343 | 17 Installation |
pankso@343 | 18 ------------ |
al@840 | 19 |
pankso@343 | 20 To install all needed files and compile translated messages, make and gettext |
pankso@343 | 21 must be installed. Running 'make install' will install everything in /usr, but |
al@840 | 22 another path and/or destination can be specified via prefix and DESTDIR. |
al@840 | 23 |
pankso@343 | 24 Example: |
pankso@0 | 25 |
pankso@343 | 26 $ make DESTDIR=$PWD/_pkg install |
pankso@0 | 27 |
al@840 | 28 |
pankso@343 | 29 Uninstall |
pankso@343 | 30 --------- |
al@840 | 31 |
pankso@343 | 32 Simply type: |
al@840 | 33 |
al@840 | 34 $ make uninstall |
al@840 | 35 |
pankso@0 | 36 |
pankso@343 | 37 Translation |
al@840 | 38 ----------- |
al@840 | 39 |
pankso@343 | 40 To start a new translation please use msginit from the pot file directory. |
pankso@343 | 41 Example for French/France locale (fr_FR): |
pankso@0 | 42 |
pankso@343 | 43 $ msginit -l fr_FR -o fr.po -i tazpkg.pot |
pankso@0 | 44 |
pankso@343 | 45 To update all translations from the pot file: |
pankso@0 | 46 |
pankso@343 | 47 $ make msgmerge |
pankso@0 | 48 |
pankso@343 | 49 To compile po files for testing purposes you can use 'make msgfmt' or manually |
pankso@343 | 50 compile your translation. Example for french locale, note that the file must be |
pankso@343 | 51 copied into /usr/share/locale/fr/LC_MESSAGES so gettext can find it: |
pankso@279 | 52 |
pankso@343 | 53 $ msgfmt -o tazpkg.mo fr.po |
pankso@0 | 54 |
pankso@0 | 55 |
pankso@0 | 56 =============================================================================== |
pankso@0 | 57 http://www.slitaz.org/ |