Changeset 306
- Timestamp:
- 08/03/09 03:11:39 (3 years ago)
- Files:
-
- 1 deleted
- 8 edited
-
branches/release/0.2/ChangeLog (modified) (1 diff)
-
branches/release/0.2/Makefile (modified) (3 diffs)
-
branches/release/0.2/Makefile.Debian (deleted)
-
branches/release/0.2/debian/itaka.menu (modified) (1 diff)
-
branches/release/0.2/debian/rules (modified) (2 diffs)
-
trunk/ChangeLog (modified) (1 diff)
-
trunk/Makefile (modified) (2 diffs)
-
trunk/debian/itaka.menu (modified) (1 diff)
-
trunk/debian/rules (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/release/0.2/ChangeLog
r294 r306 1 1 0.2.2: 2 2 * Fixed a fatal bug with Python 2.6/PyGTK 2.14 3 * Simplified and improved Makefile 3 4 4 5 0.2.1: -
branches/release/0.2/Makefile
r298 r306 6 6 FIND ?= find 7 7 8 # autodetect GNOME prefix, change this if you want it elsewhere9 #PREFIX ?= `pkg-config libgnome-2.0 --variable=prefix || echo /usr`10 8 PREFIX = /usr 9 # When debian builds it, it passes its own DESTDIR 11 10 DESTDIR = $(PREFIX) 12 11 … … 15 14 DATADIR = $(DESTDIR)/share/itaka 16 15 IMAGESDIR = $(DATADIR)/images 17 # For debian compatibility18 REPLACEIMAGESDIR = $(PREFIX)/share/itaka/images19 16 APPLICATIONSDIR = $(DESTDIR)/share/applications 20 17 ICONDIR = $(DESTDIR)/share/pixmaps 21 18 MANDIR = $(DESTDIR)/share/man/man1 22 19 20 # For debian compatibility, these are hardcoded 21 REPLACEIMAGESDIR = $(PREFIX)/share/itaka/images/ 22 23 23 PYFILES := $(shell $(FIND) . -name "*.py" -print) 24 24 25 25 install: 26 # Replace images directory 26 27 mv config.py config.py.old 27 28 sed -e "s|/usr/share/itaka/images/|$(REPLACEIMAGESDIR)|g" config.py.old > config.py 29 mv config.py.old config.py 30 31 gzip -9 -c share/itaka.1 > share/itaka.1.gz 32 28 33 $(INSTALL) -m 755 -d $(BINDIR) $(DATADIR) $(LIBDIR) $(IMAGESDIR) $(APPLICATIONSDIR) $(ICONDIR) $(MANDIR) 29 34 $(INSTALL) -m 755 *.py $(LIBDIR) 30 $(INSTALL) -m 644 share/images/* $(IMAGESDIR) 31 $(INSTALL) -m 644 share/images/itaka.png $(ICONDIR) 35 36 # We only need a few images 37 $(INSTALL) -m 644 share/images/itaka.png $(IMAGESDIR) 38 $(INSTALL) -m 644 share/images/itaka-take.png $(IMAGESDIR) 39 $(INSTALL) -m 644 share/images/itaka16x16-take.png $(IMAGESDIR) 40 $(INSTALL) -m 644 share/images/itaka64x64.png $(IMAGESDIR) 41 42 ln -sf $(IMAGESDIR)/itaka.png $(ICONDIR)/itaka.png 43 32 44 $(INSTALL) -m 644 share/itaka.desktop $(APPLICATIONSDIR) 33 gzip -9 -c share/itaka.1 > share/itaka.1.gz34 45 $(INSTALL) -m 644 share/itaka.1.gz $(MANDIR) 35 46 if test -f $(BINDIR)/itaka; then rm $(BINDIR)/itaka; fi … … 37 48 echo $( ls $(BINDIR)/itaka ) 38 49 chmod +x $(BINDIR)/itaka 39 mv config.py.old config.py 40 rm share/itaka.1.gz 50 41 51 uninstall: 42 52 rm -r $(BINDIR)/itaka $(DATADIR) $(LIBDIR) $(ICONDIR)/itaka.png $(APPLICATIONSDIR)/itaka.desktop $(MANDIR)/itaka.1.gz 53 54 clean: 55 find . -name '*.pyc' -o -name '*.pyo' -exec rm {} \; 56 rm share/itaka.1.gz 57 58 help: 59 @echo Usage: 60 @echo make install - install binaries into the official directories 61 @echo make clean - delete built modules and object files 62 @echo make uninstall - uninstall binaries from the official directories 63 @echo make help - prints this help 64 @echo 65 -
branches/release/0.2/debian/itaka.menu
r303 r306 3 3 section="Applications/Network/Monitoring" \ 4 4 title="Itaka" \ 5 longtitle="Itaka Screenshot Server" 5 longtitle="Itaka Screenshot Server" \ 6 6 command="/usr/bin/itaka" \ 7 7 hints="screenshooting" \ -
branches/release/0.2/debian/rules
r305 r306 1 1 #!/usr/bin/make -f 2 2 # -*- makefile -*- 3 # Sample debian/rules that uses debhelper.4 # This file was originally written by Joey Hess and Craig Small.5 # As a special exception, when this file is copied by dh-make into a6 # dh-make output file, you may use that output file without restriction.7 # This special exception was added by Craig Small in version 0.37 of dh-make.8 3 9 4 # Uncomment this to turn on verbose mode. … … 50 45 51 46 # Add here commands to install the package into debian/itaka. 52 $(MAKE) -f Makefile.Debian DESTDIR=$(CURDIR)/debian/itaka install 53 #$(MAKE) install 47 $(MAKE) DESTDIR=$(CURDIR)/debian/itaka/usr install 54 48 55 49 # And other miscellaneous tasks -
trunk/ChangeLog
r297 r306 10 10 * Don't check for system compatibility of Libnotify 11 11 * Code cleanup towards PEP-8 compliance 12 * Simplified and improved Makefile13 12 14 13 0.2.2: 15 14 * Fixed a fatal bug with Python 2.6/PyGTK 2.14 15 * Simplified and improved Makefile 16 16 17 17 0.2.1: -
trunk/Makefile
r298 r306 26 26 27 27 install: 28 # Replace images and locales directory 28 29 mv config.py config.py.old 29 30 mv itaka.py itaka.py.old 30 31 sed -e "s|/usr/share/itaka/images/|$(REPLACEIMAGESDIR)|g" config.py.old > config.py 31 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 35 32 36 $(INSTALL) -m 755 -d $(BINDIR) $(DATADIR) $(LIBDIR) $(IMAGESDIR) $(APPLICATIONSDIR) $(ICONDIR) $(MANDIR) 33 37 $(INSTALL) -m 755 *.py $(LIBDIR) 34 $(INSTALL) -m 644 share/images/* $(IMAGESDIR) 35 $(INSTALL) -m 644 share/images/itaka.png $(ICONDIR) 38 39 # We only need a few images 40 $(INSTALL) -m 644 share/images/itaka.png $(IMAGESDIR) 41 $(INSTALL) -m 644 share/images/itaka-take.png $(IMAGESDIR) 42 $(INSTALL) -m 644 share/images/itaka16x16-take.png $(IMAGESDIR) 43 $(INSTALL) -m 644 share/images/itaka64x64.png $(IMAGESDIR) 44 45 ln -sf share/images/itaka.png $(ICONDIR)/itaka.png 46 36 47 $(INSTALL) -m 644 share/itaka.desktop $(APPLICATIONSDIR) 37 48 gzip -9 -c share/itaka.1 > share/itaka.1.gz … … 41 52 echo $( ls $(BINDIR)/itaka ) 42 53 chmod +x $(BINDIR)/itaka 43 mv config.py.old config.py44 mv itaka.py.old itaka.py45 54 46 55 for lang in locale/*; do -
trunk/debian/itaka.menu
r302 r306 3 3 section="Applications/Network/Monitoring" \ 4 4 title="Itaka" \ 5 longtitle="Itaka Screenshot Server" 5 longtitle="Itaka Screenshot Server" \ 6 6 command="/usr/bin/itaka" \ 7 7 hints="screenshooting" \ -
trunk/debian/rules
r305 r306 1 1 #!/usr/bin/make -f 2 2 # -*- makefile -*- 3 # Sample debian/rules that uses debhelper.4 # This file was originally written by Joey Hess and Craig Small.5 # As a special exception, when this file is copied by dh-make into a6 # dh-make output file, you may use that output file without restriction.7 # This special exception was added by Craig Small in version 0.37 of dh-make.8 3 9 4 # Uncomment this to turn on verbose mode.
Note: See TracChangeset
for help on using the changeset viewer.

