X-Git-Url: http://git.maemo.org/git/?p=gonvert;a=blobdiff_plain;f=support%2Fbuilddeb.py;h=f0d1c4ca1cd30f2c7dd543c78e50f5ee09b98e7d;hp=f607ab0b984a5f1dd7e17ee571bfb637694ae3d2;hb=989d15b85b8a64aa7b213f165b99001159ae6c1c;hpb=63f3e7b7b6f4d5efadf3f8e3efc126b057404ce8 diff --git a/support/builddeb.py b/support/builddeb.py index f607ab0..f0d1c4c 100755 --- a/support/builddeb.py +++ b/support/builddeb.py @@ -19,14 +19,8 @@ __email__ = "anthony@unihedron.com" __version__ = constants.__version__ __build__ = constants.__build__ __changelog__ = """ -* Switched from GTK to QT in preparation for Meego, all previous features still present -* Except removed the current form of search -* Added a "Recent" window -* Added a "Quick Jump" window (to replace old form of search) -* Added favorites to limit the number of categories and units shown -* Should be auto-rotatable (might not be working for some reason) -* Should auto-enable Fn on Maemo 5 -""" +* Adjusting column sizes +""".strip() __postinstall__ = """#!/bin/sh -e @@ -70,12 +64,12 @@ def build_package(distribution): p.prettyName = constants.__pretty_app_name__ p.description = __description__ p.bugTracker = "https://bugs.maemo.org/enter_bug.cgi?product=Gonvert" - p.upgradeDescription = __changelog__.split("\n\n", 1)[0] p.author = __author__ p.mail = __email__ p.license = "gpl" p.depends = ", ".join([ "python2.6 | python2.5", + "python-simplejson", ]) p.depends += { "debian": ", python-qt4", @@ -101,9 +95,9 @@ def build_package(distribution): "diablo": "data-pixmaps-gonvert.png", "fremantle": "data-pixmaps-gonvert.png", # Fremantle natively uses 48x48 }[distribution] - p["/usr/bin"] = [ "gonvert.py" ] + p["/opt/gonvert/bin"] = [ "gonvert.py" ] for relPath, files in unflatten_files(find_files("src", ".")).iteritems(): - fullPath = "/usr/lib/gonvert" + fullPath = "/opt/gonvert/lib" if relPath: fullPath += os.sep+relPath p[fullPath] = list( @@ -111,7 +105,7 @@ def build_package(distribution): for (oldName, newName) in files ) for relPath, files in unflatten_files(find_files("data", ".")).iteritems(): - fullPath = "/usr/share/gonvert" + fullPath = "/opt/gonvert/share" if relPath: fullPath += os.sep+relPath p[fullPath] = list(