X-Git-Url: http://git.maemo.org/git/?p=watersofshiloah;a=blobdiff_plain;f=support%2Fbuilddeb.py;h=9bdfe229db710c4336745dd43277152f59ac019d;hp=05ffb318b2fb9aed023306d60ff7f03c1d628291;hb=d0799512e99e286826e555b6cfa56fc2200c13a5;hpb=6819cd034344f737bd46a49b90034e9499c931bd diff --git a/support/builddeb.py b/support/builddeb.py index 05ffb31..9bdfe22 100755 --- a/support/builddeb.py +++ b/support/builddeb.py @@ -27,7 +27,7 @@ __email__ = "eopage@byu.net" __version__ = constants.__version__ __build__ = constants.__build__ __changelog__ = """ -Initial release +* Fixing a Maemo 5 issue introduced in 1.0.3 """ @@ -80,13 +80,13 @@ def build_package(distribution): "python-gtk2 | python2.5-gtk2", "python-xml | python2.5-xml", "python-dbus | python2.5-dbus", - "python-gst0.10 | python2.5-gst0.10", + "python-telepathy | python2.5-telepathy", ]) maemoSpecificDepends = ", python-osso | python2.5-osso, python-hildon | python2.5-hildon" p.depends += { - "debian": "", + "debian": ", python-gst0.10", "diablo": maemoSpecificDepends, - "fremantle": maemoSpecificDepends, + "fremantle": maemoSpecificDepends + ", python-gst0.10", }[distribution] p.recommends = ", ".join([ ]) @@ -107,10 +107,17 @@ def build_package(distribution): fullPath = "/opt/WatersOfShiloah/lib" if relPath: fullPath += os.sep+relPath - p[fullPath] = list( + fileLocationTransforms = list( "|".join((oldName, newName)) for (oldName, newName) in files ) + if not relPath: + fileLocationTransforms.append({ + "debian": "src-stream_gst.py|stream.py", + "diablo": "src-stream_osso.py|stream.py", + "fremantle": "src-stream_gst.py|stream.py", + }[distribution]) + p[fullPath] = fileLocationTransforms for relPath, files in unflatten_files(find_files("data", ".")).iteritems(): fullPath = "/opt/WatersOfShiloah/share" if relPath: