- Timestamp:
- 07/06/07 09:35:55 (5 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 9 edited
-
COPYRIGHT (modified) (1 diff)
-
ChangeLog (modified) (1 diff)
-
Makefile (modified) (4 diffs)
-
Makefile.Debian (deleted)
-
README (modified) (3 diffs)
-
debian/control (modified) (1 diff)
-
debian/itaka.dirs (modified) (1 diff)
-
debian/rules (modified) (2 diffs)
-
itaka.spec (modified) (2 diffs)
-
uigtk.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/COPYRIGHT
r229 r235 1 Marc E. <santusmarc@ gmail.com>1 Marc E. <santusmarc@users.sourceforge.net> 2 2 Kurt Erickson <psychogenicshk@users.sourceforge.net> (RPM packager) 3 3 Tango Project (http://tango.freedesktop.org) -
trunk/ChangeLog
r229 r235 1 trunk:1 1.0: 2 2 * Added RPM packages 3 * Added interface translations. 3 4 4 5 0.2 (I've been watching you...): -
trunk/Makefile
r233 r235 7 7 FIND ?= find 8 8 9 # autodetect GNOME prefix, change this if you want it elsewhere10 #PREFIX ?= `pkg-config libgnome-2.0 --variable=prefix || echo /usr`11 9 PREFIX = /usr 12 10 DESTDIR = $(PREFIX) … … 16 14 DATADIR = $(DESTDIR)/share/itaka 17 15 IMAGESDIR = $(DATADIR)/images 18 # For debian compatibility 19 REPLACEIMAGESDIR = $(PREFIX)/share/itaka/images 16 LOCALEDIR = $(DESTDIR)/locale 20 17 APPLICATIONSDIR = $(DESTDIR)/share/applications 21 18 ICONDIR = $(DESTDIR)/share/pixmaps … … 26 23 install: 27 24 mv config.py config.py.old 28 sed -e "s|/usr/share/itaka/images/|$( REPLACEIMAGESDIR)|g" config.py.old > config.py25 sed -e "s|/usr/share/itaka/images/|$(IMAGESDIR)|g" config.py.old > config.py 29 26 $(INSTALL) -m 755 -d $(BINDIR) $(DATADIR) $(LIBDIR) $(IMAGESDIR) $(APPLICATIONSDIR) $(ICONDIR) $(MANDIR) 30 27 $(INSTALL) -m 755 *.py $(LIBDIR) … … 39 36 chmod +x $(BINDIR)/itaka 40 37 mv config.py.old config.py 41 rm share/itaka.1.gz 42 for lang in i18n/*; do for pofile in $lang/LC_MESSAGES/*.po; do msgfmt $pofile -o $lang/LC_MESSAGES/itaka.mo; done; done 38 39 for lang in locale/*; do 40 if [[ -e $lang/LC_MESSAGES/itaka.po ]]; then 41 for pofile in $lang/LC_MESSAGES/itaka.po; do 42 msgfmt $pofile -o $lang/LC_MESSAGES/itaka.mo && $(INSTALL) -m 644 $pofile $(LOCALEDIR)/${lang#locale/}/LC_MESSAGES/itaka.mo; 43 done; 44 fi; 45 done 46 43 47 uninstall: 44 48 rm -r $(BINDIR)/itaka $(DATADIR) $(LIBDIR) $(ICONDIR)/itaka.png $(APPLICATIONSDIR)/itaka.desktop $(MANDIR)/itaka.1.gz 49 50 clean: 51 find . -name '*.pyc' -o -name '*.pyo' -exec rm {} \; 52 rm locale/*/LC_MESSAGES/*.mo 53 rm share/itaka.1.gz 54 55 help: 56 @echo Usage: 57 @echo make clean - delete built modules and object files 58 @echo make install - install binaries into the official directories 59 @echo make uninstall - uninstall binaries from the official directories 60 @echo make help - prints this help 61 @echo 62 -
trunk/README
r224 r235 11 11 4. DOCUMENTATION 12 12 5. HACKING 13 6. RELEASE NOTES 14 7. PROGRAM CREDITS 13 6. TRANSLATING 14 7. RELEASE NOTES 15 8. PROGRAM CREDITS 15 16 16 17 1. REQUIRED LIBRARIES: … … 59 60 If you intend to change Itaka source code, please read the HACKING file. 60 61 61 6. RELEASE NOTES: 62 6. TRANSLATING: 63 64 Translating Itaka to another language is quite easy, you first need GNU gettext installed. 65 66 Each stable Itaka version will ship with a .pot template file located in 67 locale/itaka.pot. This template includes all the up to date code strings, and 68 is the base you should use to create your translation. 69 70 If you've changed any strings, the itaka.pot file can be regenerated by doing: 71 $ xgettext -o locale/itaka.pot *.py 72 $ msguniq -o locale/itaka.pot locale/itaka.pot 73 74 The last command cleans up duplicate entries, which saves you a lot of time and avoids errors. 75 76 If you want to create a brand new translation, and have not modified code, do the following: 77 78 $ mkdir -p locale/de/LC_MESSAGES/ 79 $ LANG=de_DE msginit -o locale/de/LC_MESSAGES/itaka.po 80 $ msgmerge -U locale/de/LC_MESSAGES/itaka.po locale/itaka.pot 81 82 Now edit the itaka.po file. When you are done translating the strings, submit 83 the .po file to the bug tracker (see BUGS file) as an enhancement. If you want 84 to start using the translation right away, you need to create a binary by doing 85 the following: 86 87 $ msgfmt locale/de/LC_MESSAGES/de.po -o locale/de/LC_MESSAGES/de.mo 88 $ LANG=de_DE itaka 89 90 If you want to update existings translations, follow the steps to regenerate 91 the .pot template if code was changed, then do the following: 92 93 $ msgmerge -U language.po itaka.pot 94 95 For more information, please see the GNU gettext manual at http://www.gnu.org/software/gettext/manual/gettext.html 96 97 7. RELEASE NOTES: 62 98 63 99 See the ChangeLog for more detailed information. … … 75 111 See COPYING file for further license information. 76 112 77 7. PROGRAM CREDITS:113 8. PROGRAM CREDITS: 78 114 79 115 Special thanks to James Henstridge for the excellent Python-GTK bindings and -
trunk/debian/control
r217 r235 3 3 Priority: extra 4 4 Maintainer: Marc E. <santusmarc@gmail.com> 5 Build-Depends: imagemagick, docbook-to-man, python, debhelper (>= 5.0.37.2)5 Build-Depends: imagemagick, docbook-to-man, python, intltool, gettext, debhelper (>= 5.0.37.2) 6 6 Standards-Version: 3.7.2 7 7 -
trunk/debian/itaka.dirs
r124 r235 4 4 usr/share/pixmaps 5 5 usr/share/applications 6 usr/share/locale -
trunk/debian/rules
r217 r235 36 36 37 37 # Add here commands to clean up after the build process. 38 #-$(MAKE) clean38 -$(MAKE) clean 39 39 40 40 -rm -f debian/files … … 49 49 50 50 # Add here commands to install the package into debian/itaka. 51 $(MAKE) -f Makefile.Debian DESTDIR=$(CURDIR)/debian/itaka install 52 #$(MAKE) install 51 $(MAKE) DESTDIR=$(CURDIR)/debian/itaka/usr install 53 52 54 53 # And other miscellaneous tasks -
trunk/itaka.spec
r228 r235 1 1 Summary: On-demand screenshooting server 2 2 Name: itaka 3 Version: 0.23 Version: 1.0 4 4 Release: 1 5 5 License: GPL … … 43 43 44 44 %clean 45 # Might want to add a make clean, since I've added it. 45 46 rm -rf $RPM_BUILD_ROOT 46 47 -
trunk/uigtk.py
r233 r235 936 936 self.aboutdialog.set_copyright(u'© 2003-2007 Marc E.') 937 937 self.aboutdialog.set_comments('Screenshooting de mercado.') 938 self.aboutdialog.set_authors(['Marc E. <santusmarc@users.sourceforge.net>', 'Kurt Erickson <psychogenicshk@users.sourceforge.net> (Packaging)'])938 self.aboutdialog.set_authors(['Marc E. <santusmarc@users.sourceforge.net>', _('Kurt Erickson <psychogenicshk@users.sourceforge.net> (Packaging)')]) 939 939 self.aboutdialog.set_artists(['Marc E. <santusmarc@users.sourceforge.net>', 'Tango Project (http://tango.freedesktop.org)']) 940 940 self.aboutdialog.set_license('''Itaka is free software; you can redistribute it and/or modify
Note: See TracChangeset
for help on using the changeset viewer.

