Bump to 1.2.32
[gc-dialer] / support / builddeb.py
index 19e535f..d562520 100755 (executable)
@@ -12,7 +12,7 @@ import constants
 
 
 __appname__ = constants.__app_name__
-__description__ = """Touch screen enhanced interface to the GoogleVoice phone service"
+__description__ = """Touch screen enhanced interface to the GoogleVoice phone service
 Features:
 .
 * Dialpad for quick call
@@ -30,9 +30,8 @@ __email__ = "eopage@byu.net"
 __version__ = constants.__version__
 __build__ = constants.__build__
 __changelog__ = """
-* Sped up contacts download
-* Added an About dialog for copyright information
-* Added busy notifications
+* Fixing some minor bugs with the transitions between logged-in and logged-out
+* Reporting errors not just to user but to log
 """.strip()
 
 
@@ -85,6 +84,8 @@ def build_package(distribution):
        p.license = "lgpl"
        p.depends = ", ".join([
                "python2.6 | python2.5",
+               "python-xml | python2.5-xml",
+               "python-dbus | python2.5-dbus",
                "python-simplejson",
        ])
        p.depends += {
@@ -133,8 +134,8 @@ def build_package(distribution):
        p["/usr/share/icons/hicolor/64x64/hildon"] = ["64x64-dialcentral.png|dialcentral.png"]
        p["/usr/share/icons/hicolor/scalable/hildon"] = ["scale-dialcentral.png|dialcentral.png"]
 
+       print p
        if distribution == "debian":
-               print p
                print p.generate(
                        version="%s-%s" % (__version__, __build__),
                        changelog=__changelog__,
@@ -143,9 +144,7 @@ def build_package(distribution):
                        changes=False,
                        dsc=False,
                )
-               print "Building for %s finished" % distribution
        else:
-               print p
                print p.generate(
                        version="%s-%s" % (__version__, __build__),
                        changelog=__changelog__,
@@ -154,20 +153,12 @@ def build_package(distribution):
                        changes=True,
                        dsc=True,
                )
-               print "Building for %s finished" % distribution
+       print "Building for %s finished" % distribution
 
 
 if __name__ == "__main__":
-       if len(sys.argv) > 1:
-               try:
-                       import optparse
-               except ImportError:
-                       optparse = None
-
-               if optparse is not None:
-                       parser = optparse.OptionParser()
-                       (commandOptions, commandArgs) = parser.parse_args()
+       if len(sys.argv) == 1:
+               distribution = "fremantle"
        else:
-               commandArgs = None
-               commandArgs = ["diablo"]
-       build_package(commandArgs[0])
+               distribution = sys.argv[1]
+       build_package(distribution)