X-Git-Url: http://git.maemo.org/git/?p=gonvert;a=blobdiff_plain;f=support%2Fbuilddeb.py;h=34f9a0c7942a08792e4baf46f3f4305e1e0a9371;hp=233dfd742be70c9045f4b5b5a22f6cc3533c552c;hb=9fe42c0fc8724b8a7e42cbb05ab9553117635c60;hpb=6f03734834512a039ea1df273e9046344d4ce5c6 diff --git a/support/builddeb.py b/support/builddeb.py index 233dfd7..34f9a0c 100755 --- a/support/builddeb.py +++ b/support/builddeb.py @@ -19,14 +19,10 @@ __email__ = "anthony@unihedron.com" __version__ = constants.__version__ __build__ = constants.__build__ __changelog__ = """ -1.0.0 -* 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 +* Switching Condensed View's output to be editable also +* Fixed scrolling on Maemo +* On the traditional view, fixed an issue setting a value on the unit being converted +* Increased the name column size in the traditional view """ @@ -71,15 +67,18 @@ 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-gtk2 | python2.5-gtk2", - "python-pyqt4 | python2.5-pyqt4", + "python-simplejson", ]) + p.depends += { + "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 = { @@ -99,9 +98,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( @@ -109,7 +108,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(