Changeset 317
- Timestamp:
- 08/06/09 06:28:35 (3 years ago)
- Files:
-
- 10 edited
-
branches/release/0.2/ChangeLog (modified) (1 diff)
-
branches/release/0.2/Makefile (modified) (3 diffs)
-
branches/release/0.2/README (modified) (2 diffs)
-
branches/release/0.2/config.py (modified) (2 diffs)
-
branches/release/0.2/share/itaka.1 (modified) (1 diff)
-
trunk/ChangeLog (modified) (1 diff)
-
trunk/Makefile (modified) (4 diffs)
-
trunk/README (modified) (1 diff)
-
trunk/config.py (modified) (2 diffs)
-
trunk/share/itaka.1 (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/release/0.2/ChangeLog
r309 r317 1 1 0.2.2: 2 2 * Fixed a fatal bug with Python 2.6/PyGTK 2.14 3 * Simplified and improved Makefile4 3 * Fixed an issue with the right images showing up in notifications 4 * Fixed an fatal issue with starting Itaka from unexistant directories 5 * Vastly improved Makefile to support installation on different PREFIX 5 6 6 7 0.2.1: -
branches/release/0.2/Makefile
r315 r317 6 6 FIND ?= find 7 7 8 PREFIX = /usr 8 PREFIX = /usr/local 9 9 # When debian builds it, it passes its own DESTDIR 10 10 DESTDIR = $(PREFIX) … … 26 26 # Replace images directory 27 27 mv config.py config.py.old 28 sed -e "s|/usr/share/itaka/images/|$(REPLACEIMAGESDIR)|g" config.py.old > config.py 29 mv config.py.old config.py 28 sed "s|/usr/local/share/itaka/images/|$(REPLACEIMAGESDIR)|g" config.py.old > config.py 30 29 31 30 gzip -9 -c share/itaka.1 > share/itaka.1.gz … … 48 47 $(INSTALL) -m 644 share/itaka.1.gz $(MANDIR) 49 48 if test -f $(BINDIR)/itaka; then rm $(BINDIR)/itaka; fi 49 50 # Create our binary directory for the symlink 51 if test ! -d $(BINDIR); then mkdir $(BINDIR); fi 50 52 ln -sf $(LIBDIR)/itaka.py $(BINDIR)/itaka 51 echo $( ls $(BINDIR)/itaka ) 53 54 #echo $( ls $(BINDIR)/itaka ) 52 55 chmod +x $(BINDIR)/itaka 53 56 57 # Clean up 58 # Get our pre-modified config.py back 59 mv config.py.old config.py 60 54 61 uninstall: 55 62 rm -r $(BINDIR)/itaka $(DATADIR) $(LIBDIR) $(ICONDIR)/itaka.png $(APPLICATIONSDIR)/itaka.desktop $(MANDIR)/itaka.1.gz 56 63 57 64 clean: 58 find . -type f \( -regex '.+\.py[co]' -o -name 'itaka.1.gz' \) -exec rm {} \;65 find . -type f \( -regex '.+\.py[co]' -o -name 'itaka.1.gz' \) -exec rm -f {} \; 59 66 60 67 help: -
branches/release/0.2/README
r301 r317 29 29 - GTK 2.10 or higher 30 30 31 3. INSTALLATION: 32 31 3. INSTALLATION: 33 32 Itaka needs to be installed as the root user. 34 33 … … 40 39 Makefile will copy the files to the correct location in your system. You do not 41 40 need to configure or compile Itaka as it is written in interpreted Python code. 41 42 By default itaka will be installed in /usr/local/, if you want to use another location, add PREFIX=/usr/mylocation before every make command, including unnstall. 42 43 43 44 To uninstall, once again as root type 'make uninstall' -
branches/release/0.2/config.py
r295 r317 51 51 image_dir = os.path.join(os.path.dirname(os.path.abspath(sys.argv[0])), "share/images/") 52 52 #: To be changed on install to specify where the installed files actually are 53 prefix = "/usr/ share/itaka/images"53 prefix = "/usr/local/share/itaka/images/" 54 54 if os.path.exists(prefix): 55 55 image_dir = prefix … … 61 61 62 62 #: Save path for screenshots (system-specific specified later on) 63 save_path = os.getcwd() 63 try: 64 save_path = os.getcwd() 65 except: 66 print "[*] WARNING: Could not get current directory" 64 67 65 68 if os.environ.get('HOME'): -
branches/release/0.2/share/itaka.1
r295 r317 26 26 .SH "SEE ALSO" 27 27 .PP 28 /usr/share/doc/itaka/README.gz28 README file in source or on Debian systems: /usr/share/doc/itaka/README.gz 29 29 .SH "AUTHOR" 30 30 .PP 31 31 Itaka was written by: Marc E. <santusmarc@users.sourceforge.net> 32 32 .PP 33 This manual page was written by Marc E. santusmarc@users.sourceforge.netfor33 This manual page was written by Marc E. <santusmarc@users.sourceforge.net> for 34 34 the \fBDebian\fP system (but may be used by others). Permission is 35 35 granted to copy, distribute and/or modify this document under -
trunk/ChangeLog
r309 r317 13 13 0.2.2: 14 14 * Fixed a fatal bug with Python 2.6/PyGTK 2.14 15 * Simplified and improved Makefile16 15 * Fixed an issue with the right images showing up in notifications 16 * Fixed an fatal issue with starting Itaka from unexistant directories 17 * Vastly improved Makefile to support installation on different PREFIX 17 18 18 19 0.2.1: -
trunk/Makefile
r315 r317 6 6 FIND ?= find 7 7 8 PREFIX = /usr 8 PREFIX = /usr/local 9 9 # When debian builds it, it passes its own DESTDIR 10 10 DESTDIR = $(PREFIX) … … 29 29 mv config.py config.py.old 30 30 mv itaka.py itaka.py.old 31 sed -e "s|/usr/share/itaka/images/|$(REPLACEIMAGESDIR)|g" config.py.old > config.py 32 sed -e "s|/usr/share/locale/|$(REPLACELOCALEDIR)|g" itaka.py.old > itaka.py 33 mv config.py.old config.py 34 mv itaka.py.old itaka.py 31 sed "s|/usr/local/share/itaka/images/|$(REPLACEIMAGESDIR)|g" config.py.old > config.py 32 sed "s|/usr/share/locale/|$(REPLACELOCALEDIR)|g" itaka.py.old > itaka.py 35 33 36 34 $(INSTALL) -m 755 -d $(BINDIR) $(DATADIR) $(LIBDIR) $(IMAGESDIR) $(APPLICATIONSDIR) $(ICONDIR) $(MANDIR) … … 52 50 $(INSTALL) -m 644 share/itaka.1.gz $(MANDIR) 53 51 if test -f $(BINDIR)/itaka; then rm $(BINDIR)/itaka; fi 52 53 # Create our binary directory for the symlink 54 if test ! -d $(BINDIR); then mkdir $(BINDIR); fi 54 55 ln -sf $(LIBDIR)/itaka.py $(BINDIR)/itaka 55 echo $( ls $(BINDIR)/itaka ) 56 57 #echo $( ls $(BINDIR)/itaka ) 56 58 chmod +x $(BINDIR)/itaka 57 59 … … 64 66 done 65 67 68 # Clean up 69 mv config.py.old config.py 70 mv itaka.py.old itaka.py 71 66 72 uninstall: 67 73 rm -r $(BINDIR)/itaka $(DATADIR) $(LIBDIR) $(ICONDIR)/itaka.png $(APPLICATIONSDIR)/itaka.desktop $(MANDIR)/itaka.1.gz 68 74 69 75 clean: 70 find . -type f \( -regex '.+\.py[co]' -o -name 'itaka.1.gz' \) -exec rm {} \;76 find . -type f \( -regex '.+\.py[co]' -o -name 'itaka.1.gz' \) -exec rm -f {} \; 71 77 rm locale/*/LC_MESSAGES/*.mo 72 78 -
trunk/README
r301 r317 35 35 Makefile will copy the files to the correct location in your system. You do not 36 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 before every make command, including unnstall. 37 39 38 40 To uninstall, once again as root type 'make uninstall' -
trunk/config.py
r288 r317 58 58 59 59 #: To be changed on install to specify where the installed files actually are 60 image_prefix = '/usr/ share/itaka/images/'60 image_prefix = '/usr/local/share/itaka/images/' 61 61 if os.path.exists(image_prefix): 62 62 image_dir = image_prefix … … 67 67 68 68 #: Save path for screenshots (system-specific specified later on) 69 save_path = os.getcwd() 69 try: 70 save_path = os.getcwd() 71 except: 72 print "[*] WARNING: Could not get current directory" 70 73 71 74 """ Console output verbosity -
trunk/share/itaka.1
r268 r317 26 26 .SH "SEE ALSO" 27 27 .PP 28 /usr/share/doc/itaka/README.gz28 README file in source or on Debian systems: /usr/share/doc/itaka/README.gz 29 29 .SH "AUTHOR" 30 30 .PP 31 31 Itaka was written by: Marc E. <santusmarc@users.sf.net> 32 32 .PP 33 This manual page was written by Marc E. santusmarc@users.sf.netfor33 This manual page was written by Marc E. <santusmarc@users.sourceforge.net> for 34 34 the \fBDebian\fP system (but may be used by others). Permission is 35 35 granted to copy, distribute and/or modify this document under
Note: See TracChangeset
for help on using the changeset viewer.

