X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=support%2Fbuilddeb.py;h=2fa2f2463853b023277eb5110e7a7d7a7940e727;hb=771753b90b46c1ad9587da65f35de0c600570e12;hp=19e535f33ded5f758b2580e853c134275d18b9b5;hpb=743e061c174b8d12114b8b318fafd9569fc88f0f;p=gc-dialer diff --git a/support/builddeb.py b/support/builddeb.py index 19e535f..2fa2f24 100755 --- a/support/builddeb.py +++ b/support/builddeb.py @@ -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,7 @@ __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 issues propogating full screen settings to the SMS Entry window """.strip() @@ -133,8 +131,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 +141,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 +150,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)