# Makefile for Hermes: Contacts Updated
# (c) Andrew Flegg 2009. Released under the Artistic Licence.
+DEBVERS := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
+
compile:
+ perl -pi -e "s/(WimpWorks\.__init__.*?version\s*=\s*)['\"].*?['\"]/\1'${DEBVERS}'/" src/org/maemo/hermes/gui/gtkui.py
perl -ni -e 'print; exit if /^XB-Maemo-Icon-26:$$/' debian/control
uuencode -m share/hermes-48.png - | perl -ne 'print " $$_" unless $$. == 1 or /^====$$/' >>debian/control
- py_compilefiles src/*.py
+ py_compilefiles `find src -type f -name '*.py'`
cd po && $(MAKE) compile
mkdir bin
cd po && $(MAKE) install
clean:
- rm -f src/*.py[oc]
+ rm -f `find src -type f -name '*.pyo' -o -name '*.pyc'`
rm -f build-stamp configure-stamp
rm -rf debian/hermes bin
find . -name *~ -exec rm -f {} \;
hermes (0.8.2) unstable; urgency=low
* Tweak dbus command to launch browser in attempt to fix MB#8369.
+ * Add about dialogue box.
* ...
-- Andrew Flegg <andrew@bleb.org> Thu, 10 Jun 2010 14:57:35 +0100
# -----------------------------------------------------------------------
def __init__(self, providers = None):
gettext.install('hermes','/opt/hermes/share/locale/')
- WimpWorks.__init__(self, 'Hermes', version = '0.9.0', dbus_name = 'org.maemo.hermes')
+ WimpWorks.__init__(self, 'Hermes', version = '0.8.2', dbus_name = 'org.maemo.hermes')
self.set_background('background.png')
layout = HildonMainScreenLayout(offset = 0.8, container = self)