X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=support%2Fbuilddeb.py;h=bd89d134430f45c66ecb420050eb57c6f368eeb4;hb=8228d634cc3ba048b1e9ba97033d224f2bd13d4d;hp=0bd26f2e80c07509ff5b694ac14b4a063913b486;hpb=a37cb60861bf3c0bd13dab07f54249bd9a36ab20;p=gonvert diff --git a/support/builddeb.py b/support/builddeb.py index 0bd26f2..bd89d13 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 +* A condensed view of unit conversion for those who so chose +* Changed the way windows handle closing +* Improved performance of jumping between some of the windows (including startup) +* Persisting the sort preference """ @@ -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-qt4", + "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(