Adding more stuff to control file to hopefully improve display within the Fremantle...
authorepage <eopage@byu.net>
Tue, 20 Oct 2009 03:13:41 +0000 (03:13 +0000)
committerepage <eopage@byu.net>
Tue, 20 Oct 2009 03:13:41 +0000 (03:13 +0000)
git-svn-id: file:///svnroot/gc-dialer/trunk@546 c39d3808-3fe2-4d86-a59f-b7f623ee9f21

support/builddeb.py
support/py2deb.py

index a8b45bc..844815f 100755 (executable)
@@ -16,7 +16,15 @@ import constants
 
 
 __appname__ = constants.__app_name__
-__description__ = "Touch screen enhanced interface to the GoogleVoice phone service"
+__description__ = """Touch screen enhanced interface to the GoogleVoice phone service"
+Features:
+* Dialpad for quick call
+* Checking voicemails, texts, call history
+* Sending texts
+* Notification support for texts, voicemail, and/or missed calls
+.
+Homepage: http://gc-dialer.garage.maemo.org/
+"""
 __author__ = "Ed Page"
 __email__ = "eopage@byu.net"
 __version__ = constants.__version__
@@ -229,7 +237,9 @@ def build_package(distribution):
 
        py2deb.Py2deb.SECTIONS = py2deb.SECTIONS_BY_POLICY[distribution]
        p = py2deb.Py2deb(__appname__)
+       p.prettyName = constants.__pretty_app_name__
        p.description = __description__
+       p.bugTracker = "https://bugs.maemo.org/enter_bug.cgi?product=Dialcentral"
        p.upgradeDescription = __changelog__.split("\n\n", 1)[0]
        p.author = __author__
        p.mail = __email__
index a3cbc32..5664c02 100644 (file)
@@ -501,8 +501,10 @@ class Py2deb(object):
             mail = author+"@"+socket.gethostname()
 
         self.name = name
+        self.prettyName = ""
         self.description = description
         self.upgradeDescription = ""
+        self.bugTracker = ""
         self.license = license
         self.depends = depends
         self.recommends = ""
@@ -753,6 +755,14 @@ FILES :
                 "Description: %(description)s",
             ]
 
+            if self.prettyName:
+                prettyName = "XB-Maemo-Display-Name: %s" % self.prettyName.strip()
+                specificParagraphFields.append("\n  ".join(prettyName.split("\n")))
+
+            if self.bugTracker:
+                bugTracker = "XB-Bugtracker: %s" % self.bugTracker.strip()
+                specificParagraphFields.append("\n  ".join(bugTracker.split("\n")))
+
             if self.upgradeDescription:
                 upgradeDescription = "XB-Maemo-Upgrade-Description: %s" % self.upgradeDescription.strip()
                 specificParagraphFields.append("\n  ".join(upgradeDescription.split("\n")))