Bumping to 0.9.2-2
[gonvert] / support / builddeb.py
index af284ed..b378630 100755 (executable)
@@ -14,17 +14,33 @@ A conversion utility that allows conversion between many units like CGS, Ancient
 .
 Homepage: http://www.unihedron.com/projects/gonvert/index.php
 """
 .
 Homepage: http://www.unihedron.com/projects/gonvert/index.php
 """
-__author__ = "Ed Page (Maemo Porter)"
-__email__ = "eopage@byu.net"
+__author__ = "Anthony Tekatch"
+__email__ = "anthony@unihedron.com"
 __version__ = constants.__version__
 __build__ = constants.__build__
 __changelog__ = """
 __version__ = constants.__version__
 __build__ = constants.__build__
 __changelog__ = """
-0.2.24
+0.9.2
+* Added search toggle to the menu
+* Maemo 5: Added sorting to the app menu
+
+0.9.1
+* Added support for creating generic .deb files
+* Added an apothecary unit
+* Bug fix: Can directly enter numbers after selecting category
+* Bug fix: font of the category button was inconsistent
+* Bug fix: Improved up/down arrow keys
+
+0.9.0
 * Added Radioactivity and Radiation dose categories.
 * Added Radioactivity and Radiation dose categories.
+* Aligning the numbers by their decimal place
 * Added shortcuts for fullscreen
 * Switched to Find being brought up by CTRL+F
 * Added Find Previous and Find Next shortcuts (CTRL+P, CTRL+N)
 * Added shortcuts for fullscreen
 * Switched to Find being brought up by CTRL+F
 * Added Find Previous and Find Next shortcuts (CTRL+P, CTRL+N)
+* Adjusted the sizing on various widgets
+* Removed unused UI features for polish
+* Bug fix: improved behavior when corner case values are inputted (like floats for base conversions)
 * Debugging: Added logging support
 * Debugging: Added logging support
+* Marketting: Huge version bump to express a basic level of feature complete
 * Internal: Massive cleanup of code
 
 0.2.23  - Added UK currency category and other UK measurements thanks to Dale Hair
 * Internal: Massive cleanup of code
 
 0.2.23  - Added UK currency category and other UK measurements thanks to Dale Hair
@@ -168,11 +184,11 @@ def build_package(distribution):
        p = py2deb.Py2deb(__appname__)
        p.prettyName = constants.__pretty_app_name__
        p.description = __description__
        p = py2deb.Py2deb(__appname__)
        p.prettyName = constants.__pretty_app_name__
        p.description = __description__
-       p.bugTracker = ""
+       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.upgradeDescription = __changelog__.split("\n\n", 1)[0]
        p.author = __author__
        p.mail = __email__
-       p.license = "lgpl"
+       p.license = "gpl"
        p.depends = ", ".join([
                "python2.6 | python2.5",
                "python-gtk2 | python2.5-gtk2",
        p.depends = ", ".join([
                "python2.6 | python2.5",
                "python-gtk2 | python2.5-gtk2",
@@ -220,7 +236,7 @@ def build_package(distribution):
                        for (oldName, newName) in files
                )
        for relPath, files in unflatten_files(find_files("data", ".")).iteritems():
                        for (oldName, newName) in files
                )
        for relPath, files in unflatten_files(find_files("data", ".")).iteritems():
-               fullPath = "/usr/lib/gonvert"
+               fullPath = "/usr/share/gonvert"
                if relPath:
                        fullPath += os.sep+relPath
                p[fullPath] = list(
                if relPath:
                        fullPath += os.sep+relPath
                p[fullPath] = list(
@@ -232,16 +248,28 @@ def build_package(distribution):
        p["/usr/share/icons/hicolor/64x64/hildon"] = ["data-pixmaps-gonvert.png|gonvert.png"]
        p["/usr/share/icons/hicolor/scalable/hildon"] = ["data-pixmaps-gonvert.png|gonvert.png"]
 
        p["/usr/share/icons/hicolor/64x64/hildon"] = ["data-pixmaps-gonvert.png|gonvert.png"]
        p["/usr/share/icons/hicolor/scalable/hildon"] = ["data-pixmaps-gonvert.png|gonvert.png"]
 
-       print p
-       print p.generate(
-               version="%s-%s" % (__version__, __build__),
-               changelog=__changelog__,
-               build=False,
-               tar=True,
-               changes=True,
-               dsc=True,
-       )
-       print "Building for %s finished" % distribution
+       if distribution == "debian":
+               print p
+               print p.generate(
+                       version="%s-%s" % (__version__, __build__),
+                       changelog=__changelog__,
+                       build=True,
+                       tar=False,
+                       changes=False,
+                       dsc=False,
+               )
+               print "Building for %s finished" % distribution
+       else:
+               print p
+               print p.generate(
+                       version="%s-%s" % (__version__, __build__),
+                       changelog=__changelog__,
+                       build=False,
+                       tar=True,
+                       changes=True,
+                       dsc=True,
+               )
+               print "Building for %s finished" % distribution
 
 
 if __name__ == "__main__":
 
 
 if __name__ == "__main__":