Updating changelist
[gonvert] / support / builddeb.py
index 0bd26f2..162ec16 100755 (executable)
@@ -19,14 +19,9 @@ __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)
 """
 
 
@@ -71,15 +66,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 +97,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 +107,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(