Fix widget aspect update bug
[pedometerwidget] / build_pedo.py
index aa179de..753b4d2 100644 (file)
@@ -18,7 +18,7 @@ if __name__ == "__main__":
         pass
     print
     p=py2deb.Py2deb("pedometerhomewidget")   #This is the package name and MUST be in lowercase! (using e.g. "mClock" fails miserably...)
-    p.description="Count the number of steps you've made using the N900's accelerometer"
+    p.description="Count the number of steps you take using the N900's accelerometer. The widget shows the number of steps, the distance travelled, the number of lost calories and charts with the history of those values."
     p.author="Andrei Mirestean"
     p.mail="andrei.mirestean@gmail.com"
     p.url="https://garage.maemo.org/projects/pedometerwidget/"
@@ -40,10 +40,11 @@ if __name__ == "__main__":
     #  chmod +x /usr/bin/mclock.py""" #Set here your pre install script
     #  p.preremove="""#!/bin/sh
     #  chmod +x /usr/bin/mclock.py""" #Set here your pre remove script
-    version = "0.2"           #Version of your software, e.g. "1.2.0" or "0.8.2"
-    build = "1"                 #Build number, e.g. "1" for the first build of this version of your software. Increment for later re-builds of the same version of your software.
+    version = "0.3"           #Version of your software, e.g. "1.2.0" or "0.8.2"
+    build = "4"                 #Build number, e.g. "1" for the first build of this version of your software. Increment for later re-builds of the same version of your software.
     #Text with changelog information to be displayed in the package "Details" tab of the Maemo Application Manager
-    changeloginformation ="New features: \n*calculate number of lost calories\n*show graphs of steps/distance/calories\n*save history in XML file\n*set alarm for steps/calories/distance\n*option to pause timer when not walking"
+    #changeloginformation ="New features: \n*fixed Imperial units bug\n*option to set sensitivity\n*options to set step length\n*calculate number of lost calories\n*show graphs of steps/distance/calories\n*save history in XML file\n*set alarm for steps/calories/distance\n*option to pause timer when not walking"
+    changeloginformation = open("debian/changelog").read()
     dir_name = "src"            #Name of the subfolder containing your package source files (e.g. usr\share\icons\hicolor\scalable\myappicon.svg, usr\lib\myapp\somelib.py). We suggest to leave it named src in all projects and will refer to that in the wiki article on maemo.org
     for root, dirs, files in os.walk(dir_name):
         real_dir = root[len(dir_name):]