X-Git-Url: http://git.maemo.org/git/?p=theonering;a=blobdiff_plain;f=support%2Fbuilddeb.py;h=ef908f71ef42bff430e83ec7d9bd5bcaebc9dd96;hp=54d331ca1bfb5060d9238c4c17486d62dfa94b8b;hb=5871efe867162458c5180deb6a8c812abdbcbcf9;hpb=8b1dd0280fa3bfaaae356f05bf7684ad441db2a4 diff --git a/support/builddeb.py b/support/builddeb.py index 54d331c..ef908f7 100755 --- a/support/builddeb.py +++ b/support/builddeb.py @@ -1,9 +1,5 @@ #!/usr/bin/python2.5 -""" -@bug In update desrcription stuff -""" - import os import sys @@ -16,7 +12,10 @@ import constants __appname__ = constants.__app_name__ -__description__ = "Google Voice Communication Plugin" +__description__ = """Google Voice Communication Plugin +. +Homepage: http://theonering.garage.maemo.org +""" __author__ = "Ed Page" __email__ = "eopage@byu.net" __version__ = constants.__version__ @@ -60,26 +59,18 @@ def build_package(distribution): py2deb.Py2deb.SECTIONS = py2deb.SECTIONS_BY_POLICY[distribution] p = py2deb.Py2deb(__appname__) + p.prettyName = constants.__pretty_app_name__ p.description = __description__ + p.bugTracker = "https://bugs.maemo.org/enter_bug.cgi?product=theonering" p.upgradeDescription = __changelog__.split("\n\n", 1)[0] p.author = __author__ p.mail = __email__ p.license = "lgpl" p.depends = ", ".join([ - "python2.6 | python2.5", - "python-gtk2 | python2.5-gtk2", - "python-xml | python2.5-xml", - "python-dbus | python2.5-dbus", - ]) - maemoSpecificDepends = ", python-osso | python2.5-osso, python-hildon | python2.5-hildon" - p.depends += { - "debian": ", python-glade2", - "chinook": maemoSpecificDepends, - "diablo": maemoSpecificDepends, - "fremantle": maemoSpecificDepends + ", python-glade2", - "mer": maemoSpecificDepends + ", python-glade2", - }[distribution] - p.recommends = ", ".join([ + "python (>= 2.5)", + "python-dbus", + "python-gobject", + "python-telepathy", ]) p.section = { "debian": "comm", @@ -101,7 +92,6 @@ def build_package(distribution): "fremantle": "64x64-theonering.png", # Fremantle natively uses 48x48 "mer": "64x64-theonering.png", }[distribution] - p["/usr/bin"] = [ "theonering.py" ] for relPath, files in unflatten_files(find_files(".")).iteritems(): fullPath = "/usr/lib/theonering" if relPath: @@ -110,7 +100,7 @@ def build_package(distribution): "|".join((oldName, newName)) for (oldName, newName) in files ) - p["/usr/share/dbus-1/services"] = ["org.freedesktop.Telepathy.ConnectionManagers.theonering.service.in"] + p["/usr/share/dbus-1/services"] = ["org.freedesktop.Telepathy.ConnectionManager.theonering.service"] p["/usr/share/telepathy/managers"] = ["theonering.manager"] p["/usr/share/icons/hicolor/26x26/hildon"] = ["26x26-theonering.png|theonering.png"] p["/usr/share/icons/hicolor/64x64/hildon"] = ["64x64-theonering.png|theonering.png"] @@ -120,7 +110,7 @@ def build_package(distribution): print p.generate( version="%s-%s" % (__version__, __build__), changelog=__changelog__, - build=False, + build=True, tar=True, changes=True, dsc=True,