| 1 | Itaka: Screenshooting de Mercado. |
|---|
| 2 | Version 0.3 |
|---|
| 3 | |
|---|
| 4 | http://itaka.jardinpresente.com.ar |
|---|
| 5 | |
|---|
| 6 | CONTENTS: |
|---|
| 7 | --------- |
|---|
| 8 | 1. REQUIRED LIBRARIES |
|---|
| 9 | 2. INSTALLATION |
|---|
| 10 | 3. DEBIAN PACKAGE |
|---|
| 11 | 4. DOCUMENTATION |
|---|
| 12 | 5. HACKING |
|---|
| 13 | 6. TRANSLATIONS |
|---|
| 14 | 7. RELEASE NOTES |
|---|
| 15 | 8. PROGRAM CREDITS |
|---|
| 16 | |
|---|
| 17 | 1. REQUIRED LIBRARIES: |
|---|
| 18 | |
|---|
| 19 | Itaka requires the following programs/libraries. |
|---|
| 20 | |
|---|
| 21 | - Python 2.3 or higher |
|---|
| 22 | - PyGTK 2.10.0 or higher |
|---|
| 23 | - GTK 2.10 or higher |
|---|
| 24 | - Twisted 2.2.0 or higher |
|---|
| 25 | |
|---|
| 26 | 2. INSTALLATION: |
|---|
| 27 | |
|---|
| 28 | Itaka needs to be installed as the root user. |
|---|
| 29 | |
|---|
| 30 | Unpack and install the Itaka tarball using these commands: |
|---|
| 31 | |
|---|
| 32 | 'tar -xjvf <packagename>.tar.bz2' |
|---|
| 33 | |
|---|
| 34 | Switch to the newly created directory and type 'make install' as root and the |
|---|
| 35 | Makefile will copy the files to the correct location in your system. You do not |
|---|
| 36 | need to configure or compile Itaka as it is written in interpreted Python code. |
|---|
| 37 | |
|---|
| 38 | By default itaka will be installed in /usr/local/, if you want to use another location, add PREFIX=/usr/mylocation after every make command, including unnstall. |
|---|
| 39 | |
|---|
| 40 | Example: make PREFIX=/usr |
|---|
| 41 | |
|---|
| 42 | To uninstall, once again as root type 'make uninstall' |
|---|
| 43 | |
|---|
| 44 | 3. DEBIAN PACKAGE: |
|---|
| 45 | |
|---|
| 46 | To create the Debian package simply do: |
|---|
| 47 | |
|---|
| 48 | # Make sure you have your gpg keys and debian development environment correctly setup |
|---|
| 49 | # You must also package the itaka source as a tarball per debian guidelines. |
|---|
| 50 | |
|---|
| 51 | debuild |
|---|
| 52 | |
|---|
| 53 | 4. DOCUMENTATION: |
|---|
| 54 | |
|---|
| 55 | Itaka uses Epytext Markup Language to comment its code. |
|---|
| 56 | |
|---|
| 57 | You can download epydoc from http://epydoc.sourceforge.net/ |
|---|
| 58 | |
|---|
| 59 | You can generate documentation using epydoc. |
|---|
| 60 | |
|---|
| 61 | mkdir doc |
|---|
| 62 | epydoc --html -o doc -n Itaka -u "http://itaka.jardinpresente.com.ar" *.py |
|---|
| 63 | |
|---|
| 64 | You can also use Doxygen by doing: |
|---|
| 65 | mkdir doc |
|---|
| 66 | doxygen Doxyfile |
|---|
| 67 | |
|---|
| 68 | 5. HACKING |
|---|
| 69 | |
|---|
| 70 | If you intend to change Itaka source code, please read the HACKING file. |
|---|
| 71 | |
|---|
| 72 | 6. TRANSLATIONS: |
|---|
| 73 | |
|---|
| 74 | Translating Itaka to another language is quite easy, you first need GNU gettext installed. |
|---|
| 75 | |
|---|
| 76 | Each stable Itaka version will ship with a .pot template file located in |
|---|
| 77 | locale/itaka.pot. This template includes all the code strings, it's the base you should use to create your translation. |
|---|
| 78 | |
|---|
| 79 | If you've changed any strings in in the code, the itaka.pot file can be regenerated by doing: |
|---|
| 80 | $ xgettext -oj locale/itaka.pot *.py |
|---|
| 81 | # If you find duplicates, do: |
|---|
| 82 | $ msguniq -o locale/itaka.pot locale/itaka.pot |
|---|
| 83 | |
|---|
| 84 | The last command cleans up duplicate entries, which saves you a lot of time and avoids errors. |
|---|
| 85 | |
|---|
| 86 | If you want to create a brand new translation, and have not modified code, do the following: |
|---|
| 87 | |
|---|
| 88 | $ mkdir -p locale/de/LC_MESSAGES/ |
|---|
| 89 | $ LANG=de_DE msginit -o locale/de/LC_MESSAGES/itaka.po |
|---|
| 90 | $ msgmerge -U locale/de/LC_MESSAGES/itaka.po locale/itaka.pot |
|---|
| 91 | |
|---|
| 92 | Of course relace 'de_DE' for the language you are using. |
|---|
| 93 | |
|---|
| 94 | Now edit the itaka.po file. When you are done translating the strings, submit |
|---|
| 95 | the .po file to the bug tracker (see BUGS file) as an enhancement. If you want |
|---|
| 96 | to start using the translation right away, you need to create a binary by doing |
|---|
| 97 | the following: |
|---|
| 98 | |
|---|
| 99 | $ msgfmt locale/de/LC_MESSAGES/de.po -o locale/de/LC_MESSAGES/de.mo |
|---|
| 100 | $ LANG=de_DE itaka |
|---|
| 101 | |
|---|
| 102 | If you want to update existings translations, follow the steps to regenerate |
|---|
| 103 | the .pot template if code was changed, then do the following to merge the new changes with your translation file: |
|---|
| 104 | |
|---|
| 105 | $ msgmerge -U locale/lang/LC_MESSAGES/language.po locale/itaka.pot |
|---|
| 106 | |
|---|
| 107 | For more information, please see the GNU gettext manual at http://www.gnu.org/software/gettext/manual/gettext.html |
|---|
| 108 | |
|---|
| 109 | NOTE: Your system must have the locale you want to work with installed prior to working with Itaka, if not you might get this message from Python "locale.Error: unsupported locale setting". Refer to your system documentations on how to install/set locales/languages. |
|---|
| 110 | |
|---|
| 111 | 7. RELEASE NOTES: |
|---|
| 112 | |
|---|
| 113 | See the ChangeLog for more detailed information. |
|---|
| 114 | |
|---|
| 115 | Donations for this software would be greatly appreciated. This software is totally free, but sending a few dollars via PayPal would be nice. |
|---|
| 116 | |
|---|
| 117 | Please visit http://itaka.jardinpresente.com.ar to donate. |
|---|
| 118 | |
|---|
| 119 | This program is released under the GNU/GPL License version 3. |
|---|
| 120 | |
|---|
| 121 | See COPYING file for further license information. |
|---|
| 122 | |
|---|
| 123 | 8. PROGRAM CREDITS: |
|---|
| 124 | |
|---|
| 125 | Special thanks to James Henstridge for the excellent Python-GTK bindings and their equally excellent documentation. |
|---|
| 126 | |
|---|
| 127 | Thanks to the #pygtk and #gtk+ channels on irc.gimp.org and the #python and #twisted channels on irc.freenode.net for their help. |
|---|
| 128 | |
|---|
| 129 | Thanks to Kurt Erickson for the RPM packages and to Nicoleau Fabien for including Itaka in Fedora. |
|---|
| 130 | |
|---|
| 131 | Thanks to Nahuel and Ezequiel for his continuing support and inspiration. |
|---|
| 132 | |
|---|
| 133 | Itaka's icon is based upon the work of the Tango Project and follows their licensing. |
|---|
| 134 | |
|---|
| 135 | This README file and the Makefiles are based on the works of the BloGTK project (http://blogtk.sourceforge.net) |
|---|
| 136 | |
|---|
| 137 | Thanks to all Itaka users for bug reports, feature requests, and their support |
|---|
| 138 | of this application. |
|---|
| 139 | |
|---|
| 140 | See AUTHORS and COPYRIGHT files for further credit information. |
|---|