slitaz-tools annotate README @ rev 661

tazinst: Add command: tazinst log (print log contents)
author Dominique Corbex <domcox@slitaz.org>
date Fri Aug 05 22:22:18 2011 +0200 (2011-08-05)
parents d2947f34da10
children 29fe613b2eb6
rev   line source
pankso@536 1 SliTaz tools 2011
pankso@0 2 ===============================================================================
pankso@0 3
pankso@0 4
paul@449 5 The SliTaz tools package provides many tinyutils, shared and custom
paul@571 6 configuration files designed to improve SliTaz. The tools were initially
paul@449 7 created to help people build their own distribution by following the SliTaz
paul@449 8 Cookbook; now the package mostly provides all the configuration tools and
paul@449 9 all home-made GTK boxes such as subox, tazctrlbox, the installer, etc.
pankso@0 10
paul@571 11 The package also provides some scripts (firewall), desktop files with their
paul@571 12 icons, and the licenses and examples to help hackers or users understand and
paul@449 13 manage SliTaz.
pankso@0 14
pankso@0 15
paul@593 16 More tools information
pankso@592 17 -----------------------
pankso@601 18 You will find documentation in the doc/ folder and README files for some tools:
pankso@592 19
pankso@592 20 * installer/README
pankso@592 21 * tazbox/README
pankso@601 22 * tazdrop/README
pankso@592 23
pankso@592 24
pankso@447 25 Installation
pankso@447 26 ------------
pankso@601 27 The tools are split into 2 separate packages: one with only ncurses dependencies
pankso@601 28 (for a text system) and one with GTK dependencies (for a graphical system). So
pankso@601 29 we have 2 make install and make default to compile PO files. Install's support
pankso@601 30 DESTDIR for packaging:
pankso@601 31
pankso@601 32 # make
pankso@601 33 # make install
pankso@601 34 # make install-boxes
pankso@0 35
pankso@592 36
pankso@447 37 Translation
pankso@447 38 -----------
pankso@447 39 To start a new translation please use msginit from the pot file directory.
pankso@447 40 Example for French/France locale (fr_FR):
pankso@0 41
pankso@553 42 $ msginit -l fr_FR -o fr.po -i tazbox.pot
pankso@0 43
pankso@447 44 To update all pot files when some new strings have been added (mainly for
pankso@447 45 developers before commit):
pankso@0 46
pankso@447 47 $ make pot
pankso@0 48
pankso@447 49 To update all translations from the pot file:
pankso@0 50
pankso@447 51 $ make msgmerge
pankso@0 52
pankso@447 53 To compile po files for testing purposes you can use 'make msgfmt' or manually
paul@449 54 compile your translation. Example for french locale, note that the file must
paul@449 55 be copied into /usr/share/locale/fr/LC_MESSAGES so gettext can find it:
pankso@0 56
pankso@553 57 $ msgfmt -o tazbox.mo fr.po
pankso@0 58
pankso@0 59
pankso@0 60 ===============================================================================
pankso@0 61 http://www.slitaz.org/
pankso@0 62