X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=support%2Fbuilddeb.py;h=a61c726555855c8cd63ab7494c8b823f1fe03ba2;hb=0aa88e3d49fe86ae72d5c671765bf9b8b7336fab;hp=84c17d3ee1943f8613f97ef826f82abea60b4faf;hpb=fa3f8c6b67ffeeede5fafd2ce63f47dec7dc6fa3;p=ejpi diff --git a/support/builddeb.py b/support/builddeb.py index 84c17d3..a61c726 100755 --- a/support/builddeb.py +++ b/support/builddeb.py @@ -12,23 +12,35 @@ import constants __appname__ = constants.__app_name__ -__description__ = """REPLACEME -REPLACEME +__description__ = """A Touch Screen Optimized RPN Calculator using Pie Menus . -Homepage: +RPN: Stack based math, come on it is fun +. +Pie Menus: Press them or press-drag them +. +History: Its such a drag, so drag them around, delete them, etc +. +Homepage: http://ejpi.garage.maemo.org/ """ __author__ = "Ed Page" __email__ = "eopage@byu.net" __version__ = constants.__version__ __build__ = constants.__build__ __changelog__ = """ -REPLACEME -""" +* Fixed and improved error reporting +* Re-arranged trig and programmer keyboards to reduce keyboard swapping +* Fixed issues with auto-scoll to latest item on startup +* Reducing redraws on spurious rotations +""".strip() __postinstall__ = """#!/bin/sh -e gtk-update-icon-cache -f /usr/share/icons/hicolor +rm -f ~/.%(name)s/%(name)s.log +""" % {"name": constants.__app_name__} + +__preremove__ = """#!/bin/sh -e """ @@ -62,29 +74,22 @@ def build_package(distribution): p = py2deb.Py2deb(__appname__) p.prettyName = constants.__pretty_app_name__ p.description = __description__ - p.bugTracker = "" - p.upgradeDescription = __changelog__.split("\n\n", 1)[0] + p.bugTracker = "https://bugs.maemo.org/enter_bug.cgi?product=ejpi" p.author = __author__ p.mail = __email__ p.license = "lgpl" p.depends = ", ".join([ "python2.6 | python2.5", - "python-gtk2 | python2.5-gtk2", - "python-xml | python2.5-xml", - "python-dbus | python2.5-dbus", ]) - maemoSpecificDepends = ", python-osso | python2.5-osso, python-hildon | python2.5-hildon" p.depends += { - "debian": ", python-glade2", - "diablo": maemoSpecificDepends + ", python2.5-conic", - "fremantle": maemoSpecificDepends + ", python-glade2, python-alarm", + "debian": ", python-qt4", + "diablo": ", python2.5-qt4-core, python2.5-qt4-gui", + "fremantle": ", python2.5-qt4-core, python2.5-qt4-gui, python2.5-qt4-maemo5", }[distribution] - p.recommends = ", ".join([ - ]) p.section = { - "debian": "REPLACEME", - "diablo": "user/REPLACEME", - "fremantle": "user/REPLACEME", + "debian": "math", + "diablo": "user/science", + "fremantle": "user/science", }[distribution] p.arch = "all" p.urgency = "low" @@ -93,23 +98,23 @@ def build_package(distribution): p.changelog = __changelog__ p.postinstall = __postinstall__ p.icon = { - "debian": "REPLACEME", - "diablo": "REPLACEME", - "fremantle": "REPLACEME", # Fremantle natively uses 48x48 + "debian": "26x26-ejpi.png", + "diablo": "26x26-ejpi.png", + "fremantle": "64x64-ejpi.png", # Fremantle natively uses 48x48 }[distribution] - p["/usr/bin"] = [ "REPLACEME" ] - for relPath, files in unflatten_files(find_files(".")).iteritems(): - fullPath = "" + p["/opt/%s/bin" % __appname__] = [ "%s.py" % __appname__ ] + for relPath, files in unflatten_files(find_files("src", ".")).iteritems(): + fullPath = "/opt/%s/lib" % __appname__ if relPath: fullPath += os.sep+relPath p[fullPath] = list( "|".join((oldName, newName)) for (oldName, newName) in files ) - p["/usr/share/applications/hildon"] = ["REPLACEME.desktop"] - p["/usr/share/icons/hicolor/26x26/hildon"] = ["REPLACEME"] - p["/usr/share/icons/hicolor/64x64/hildon"] = ["REPLACEME"] - p["/usr/share/icons/hicolor/scalable/hildon"] = ["REPLACEME"] + p["/usr/share/applications/hildon"] = ["%s.desktop" % __appname__] + p["/usr/share/icons/hicolor/26x26/hildon"] = ["26x26-ejpi.png|ejpi.png"] + p["/usr/share/icons/hicolor/64x64/hildon"] = ["64x64-ejpi.png|ejpi.png"] + p["/usr/share/icons/hicolor/scalable/hildon"] = ["scale-ejpi.png|ejpi.png"] if distribution == "debian": print p