projects
/
watersofshiloah
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump to 1.0.6
[watersofshiloah]
/
support
/
builddeb.py
diff --git
a/support/builddeb.py
b/support/builddeb.py
index
bb86a8a
..
c9bdb83
100755
(executable)
--- a/
support/builddeb.py
+++ b/
support/builddeb.py
@@
-27,13
+27,17
@@
__email__ = "eopage@byu.net"
__version__ = constants.__version__
__build__ = constants.__build__
__changelog__ = """
__version__ = constants.__version__
__build__ = constants.__build__
__changelog__ = """
-Initial release
+* Fixing Maemo 4.1
"""
__postinstall__ = """#!/bin/sh -e
gtk-update-icon-cache -f /usr/share/icons/hicolor
"""
__postinstall__ = """#!/bin/sh -e
gtk-update-icon-cache -f /usr/share/icons/hicolor
+rm -f ~/.%(name)s/%(name)s.log
+""" % {"name": constants.__app_name__}
+
+__preremove__ = """#!/bin/sh -e
"""
"""
@@
-67,8
+71,7
@@
def build_package(distribution):
p = py2deb.Py2deb(__appname__)
p.prettyName = constants.__pretty_app_name__
p.description = __description__
p = py2deb.Py2deb(__appname__)
p.prettyName = constants.__pretty_app_name__
p.description = __description__
- p.bugTracker = "https://bugs.maemo.org/enter_bug.cgi?product=Waters%20of%20Shiloah"
- p.upgradeDescription = __changelog__.split("\n\n", 1)[0]
+ p.bugTracker = "https://bugs.maemo.org/enter_bug.cgi?product=Waters%%20of%%20Shiloah"
p.author = __author__
p.mail = __email__
p.license = "lgpl"
p.author = __author__
p.mail = __email__
p.license = "lgpl"
@@
-77,13
+80,13
@@
def build_package(distribution):
"python-gtk2 | python2.5-gtk2",
"python-xml | python2.5-xml",
"python-dbus | python2.5-dbus",
"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 += {
])
maemoSpecificDepends = ", python-osso | python2.5-osso, python-hildon | python2.5-hildon"
p.depends += {
- "debian": "",
+ "debian": ", python-gst0.10",
"diablo": maemoSpecificDepends,
"diablo": maemoSpecificDepends,
- "fremantle": maemoSpecificDepends,
+ "fremantle": maemoSpecificDepends + ", python-gst0.10",
}[distribution]
p.recommends = ", ".join([
])
}[distribution]
p.recommends = ", ".join([
])
@@
-104,10
+107,17
@@
def build_package(distribution):
fullPath = "/opt/WatersOfShiloah/lib"
if relPath:
fullPath += os.sep+relPath
fullPath = "/opt/WatersOfShiloah/lib"
if relPath:
fullPath += os.sep+relPath
- p[fullPath] = list(
+ fileLocationTransforms = list(
"|".join((oldName, newName))
for (oldName, newName) in files
)
"|".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:
for relPath, files in unflatten_files(find_files("data", ".")).iteritems():
fullPath = "/opt/WatersOfShiloah/share"
if relPath: