Updating changelist
[gonvert] / support / builddeb.py
index f607ab0..162ec16 100755 (executable)
@@ -19,13 +19,9 @@ __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
+* 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)
 """
 
 
@@ -70,12 +66,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 +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(
@@ -111,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(