X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=support%2Fbuilddeb.py;h=f84d0726a744e1033737448551e6628bc87a6369;hb=96dab96b044d862254e1f3f1cd5a68b34756bf4d;hp=0ce60ea3cc6d0c5262358e66f6be1209526c64ba;hpb=58f796243ce76a2629f169b943d2e0f89a877999;p=theonering diff --git a/support/builddeb.py b/support/builddeb.py index 0ce60ea..f84d072 100755 --- a/support/builddeb.py +++ b/support/builddeb.py @@ -29,6 +29,7 @@ __changelog__ = """ __postinstall__ = """#!/bin/sh -e gtk-update-icon-cache -f /usr/share/icons/hicolor +rm -f ~/.telepathy-theonering/telepathy-theonering.log """ def find_files(path): @@ -62,7 +63,7 @@ def build_package(distribution): 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.upgradeDescription = __changelog__.split("\n\n", 1)[0] p.author = __author__ p.mail = __email__ p.license = "lgpl" @@ -100,22 +101,36 @@ def build_package(distribution): "|".join((oldName, newName)) for (oldName, newName) in files ) - p["/usr/share/dbus-1/services"] = ["org.freedesktop.Telepathy.ConnectionManager.theonering.service.in"] + p["/usr/share/dbus-1/services"] = ["org.freedesktop.Telepathy.ConnectionManager.theonering.service"] + if distribution == "debian": + p["/usr/share/mission-control/profiles"] = ["theonering.profile"] 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"] p["/usr/share/icons/hicolor/scalable/hildon"] = ["scale-theonering.png|theonering.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__":