X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=support%2Fbuilddeb.py;h=b1282992ba309c5938549fd9efb046cc10e8b826;hb=38fca96583e6961c8ffdde3463f7880bf40fc12f;hp=a6ecb2ed51874481af83d261c439ca0f89a1370a;hpb=b3ff9553e1ac22e79456ee52b9ae9f3700a1214b;p=gc-dialer diff --git a/support/builddeb.py b/support/builddeb.py index a6ecb2e..b128299 100755 --- a/support/builddeb.py +++ b/support/builddeb.py @@ -83,15 +83,12 @@ def build_package(distribution): 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", + "python-simplejson", ]) - maemoSpecificDepends = ", python-osso | python2.5-osso, python-hildon | python2.5-hildon" p.depends += { - "debian": ", python-glade2", - "diablo": maemoSpecificDepends + ", python2.5-conic", - "fremantle": maemoSpecificDepends + ", python-glade2, python-alarm", + "debian": ", python-qt4", + "diablo": ", python2.5-qt4-core, python2.5-qt4-gui", + "fremantle": ", python2.5-qt4-core, python2.5-qt4-gui, python2.5-qt4-maemo5", }[distribution] p.recommends = ", ".join([ ]) @@ -121,6 +118,14 @@ def build_package(distribution): "|".join((oldName, newName)) for (oldName, newName) in files ) + for relPath, files in unflatten_files(find_files("data", ".")).iteritems(): + fullPath = "/opt/%s/share" % __appname__ + if relPath: + fullPath += os.sep+relPath + p[fullPath] = list( + "|".join((oldName, newName)) + for (oldName, newName) in files + ) p["/usr/share/applications/hildon"] = ["dialcentral.desktop"] p["/usr/share/icons/hicolor/26x26/hildon"] = ["26x26-dialcentral.png|dialcentral.png"] p["/usr/share/icons/hicolor/64x64/hildon"] = ["64x64-dialcentral.png|dialcentral.png"]