Applying a fix for some peoples login issue
[theonering] / support / builddeb.py
index 54d331c..cabcaab 100755 (executable)
@@ -66,20 +66,10 @@ def build_package(distribution):
        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 +91,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 +99,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.in"]
        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"]