Removing a superfluous check slowing down login
[theonering] / support / builddeb.py
index 4182869..957767e 100755 (executable)
@@ -76,23 +76,23 @@ def build_package(distribution):
        p.author = __author__
        p.mail = __email__
        p.license = "lgpl"
-       p.depends = ", ".join([
-               "python (>= 2.5) | python2.5",
-               "python-dbus | python2.5-dbus",
-               "python-gobject | python2.5-gobject",
-               "python-telepathy | python2.5-telepathy",
-       ])
        p.section = {
                "debian": "comm",
                "diablo": "user/network",
                "fremantle": "user/network",
                "mer": "user/network",
        }[distribution]
+       p.depends = ", ".join([
+               "python (>= 2.5) | python2.5",
+               "python-dbus | python2.5-dbus",
+               "python-gobject | python2.5-gobject",
+               "python-telepathy | python2.5-telepathy",
+       ])
        p.depends += {
                "debian": "",
                "chinook": "",
-               "diablo": "account-plugin-haze",
-               "fremantle": "account-plugin-haze",
+               "diablo": ", account-plugin-haze",
+               "fremantle": ", account-plugin-haze",
                "mer": "",
        }[distribution]
        p.arch = "all"
@@ -122,9 +122,7 @@ def build_package(distribution):
                p["/usr/share/osso-rtcom"] = ["theonering.profile.%s|theonering.profile"% distribution]
        p["/usr/lib/telepathy"] = ["telepathy-theonering"]
        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"]
+       p["/usr/share/icons/hicolor/26x26/hildon"] = ["26x26-theonering.png|im-theonering.png"]
 
        if distribution == "debian":
                print p