Adding bugtracker
[watersofshiloah] / support / builddeb.py
index 00da889..bb86a8a 100755 (executable)
@@ -12,16 +12,18 @@ import constants
 
 
 __appname__ = constants.__app_name__
-__description__ = """Player for inspirational streaming radio and audiobooks including the KJV Bible
+__description__ = """Media player for inspirational streaming radio and audiobooks including the KJV Bible
 Supports streaming:
 * "Mormon Channel" inspirational radio station
 * Conference precedings and magazines from The Church of Jesus Christ of Latter-day Saints
 * Scriptures, including King James Version of the Bible and the Book of Mormon
 .
-Homepage: http://www.lds.org
+This application is not endorsed by The Church of Jesus Christ of Latter-day Saints
+.
+Homepage: http://watersofshiloah.garage.maemo.org
 """
-__author__ = "The Church of Jesus Christ of Latter-day Saints"
-__email__ = ""
+__author__ = "Ed Page"
+__email__ = "eopage@byu.net"
 __version__ = constants.__version__
 __build__ = constants.__build__
 __changelog__ = """
@@ -65,7 +67,7 @@ def build_package(distribution):
        p = py2deb.Py2deb(__appname__)
        p.prettyName = constants.__pretty_app_name__
        p.description = __description__
-       p.bugTracker = ""
+       p.bugTracker = "https://bugs.maemo.org/enter_bug.cgi?product=Waters%20of%20Shiloah"
        p.upgradeDescription = __changelog__.split("\n\n", 1)[0]
        p.author = __author__
        p.mail = __email__
@@ -79,9 +81,9 @@ def build_package(distribution):
        ])
        maemoSpecificDepends = ", python-osso | python2.5-osso, python-hildon | python2.5-hildon"
        p.depends += {
-               "debian": ", python-glade2",
-               "diablo": maemoSpecificDepends + "",
-               "fremantle": maemoSpecificDepends + ", python-glade2",
+               "debian": "",
+               "diablo": maemoSpecificDepends,
+               "fremantle": maemoSpecificDepends,
        }[distribution]
        p.recommends = ", ".join([
        ])
@@ -96,10 +98,10 @@ def build_package(distribution):
        p.repository = "extras"
        p.changelog = __changelog__
        p.postinstall = __postinstall__
-       p.icon = "48x48-MormonChannel.png"
-       p["/opt/MormonChannel/bin"] = ["MormonChannel.py"]
+       p.icon = "48x48-WatersOfShiloah.png"
+       p["/opt/WatersOfShiloah/bin"] = ["WatersOfShiloah.py"]
        for relPath, files in unflatten_files(find_files("src", ".")).iteritems():
-               fullPath = "/opt/MormonChannel/lib"
+               fullPath = "/opt/WatersOfShiloah/lib"
                if relPath:
                        fullPath += os.sep+relPath
                p[fullPath] = list(
@@ -107,15 +109,15 @@ def build_package(distribution):
                        for (oldName, newName) in files
                )
        for relPath, files in unflatten_files(find_files("data", ".")).iteritems():
-               fullPath = "/opt/MormonChannel/share"
+               fullPath = "/opt/WatersOfShiloah/share"
                if relPath:
                        fullPath += os.sep+relPath
                p[fullPath] = list(
                        "|".join((oldName, newName))
                        for (oldName, newName) in files
                )
-       p["/usr/share/applications/hildon"] = ["MormonChannel.desktop"]
-       p["/usr/share/icons/hicolor/48x48/hildon"] = ["48x48-MormonChannel.png|MormonChannel.png"]
+       p["/usr/share/applications/hildon"] = ["WatersOfShiloah.desktop"]
+       p["/usr/share/icons/hicolor/48x48/hildon"] = ["48x48-WatersOfShiloah.png|WatersOfShiloah.png"]
 
        if distribution == "debian":
                print p