Imitiating buttfly in being explicitly typed
[theonering] / support / builddeb.py
index 004aeb3..2562023 100755 (executable)
@@ -34,6 +34,93 @@ __email__ = "eopage@byu.net"
 __version__ = constants.__version__
 __build__ = constants.__build__
 __changelog__ = """
+0.8.12
+* Re-using handles to hopefully reduce potential funky issues
+* Fixing a bug where the conversation cache was lost when switching networks, causing old messages to be displayed as new
+
+0.8.11
+* Various improvements to gathering debug information to assist with several outstanding issues
+
+0.8.10
+* More improvements to the logging
+
+0.8.9
+* For now removing "removing of old conversations" in case that is contributing to people's problems
+* Attempting to use the messages actual time stamp rather than the time when we received it
+* Adding a bit of paranoia to marking messages as read
+* Added lots of debugging help
+
+0.8.8
+* Switching to a non-blocking system so TOR can remain responsive to MC and avoid being leaked in the first place
+
+0.8.7
+* Adding some logging to help track down some issues
+
+0.8.6
+* Switched to a 10 second timeout without connections before closing TOR
+* Reduced the numbr of conversations cached
+* Forcing system contacts to be enabled but only calls are working for now
+* Bugfix: Reduced windows of hitting "Network Failure" when transitioning between networks
+
+0.8.5
+* Bugfix: User's locale differs from google's causes errors
+* Bugfix: Reducing the times we ignore the cache of past conversations
+* Bugfix: The One Ring does not work on desktop systems with Empathy 2.28
+
+0.8.4
+* Reduced time allowed for disconnect due to RTComm not putting TOR on hold, causing miss of callback
+* Doubled the timed disconnects time
+* Cleaning up things to better match the latest Empathy
+* Bugfix: Random "General Error"s when making a call
+
+0.8.3
+* "Hold" support for calls, so that initiating a callback does not block incoming calls
+* Increased the auto-cleanup timeout from 5 seconds to 10 seconds
+
+0.8.2
+* Improved debug logs, removing noise
+* Reduced allotted disconnect time from 5 seconds to 2
+* Auto-cleanup resources when client only does phase 1 of 2 connection creation phases
+* Added 26x26 and 64x64 variants of icons to hopefully fix issues on Maemo 4.1
+
+0.8.1
+* Canceling of outbound calls
+* Bugfix: Removing race condition with disconnect.  I introduced it expecting it to help but it hurts more than it helps
+
+0.8.0
+* Basic avatar support to distinguish phone types
+* Tweaks to hopefully improve behavior
+
+0.7.14
+* Bugfix: Polling state machines weren't properly resetting (maybe thats why I had such good battery life)
+* Bugfix: On Maemo 4.1 there are still some empty windows created
+* Bugfix: Obscure alias bug no one should hit with The One Ring
+* Bugfix: Another obscure bug causing possibly no negative side-effects
+
+0.7.13
+* Bugfix: Cancelling timeouts
+
+0.7.12
+* Bugfix: In 0.7.11 I messed up refreshing messages
+* Bugfix: DND support has been broken for a while
+* Bugfix: Auto-disconnect on Maemo 4.1 couldn't have worked for a while
+* Bugfix: Handling missed calls had .. issues
+* Bugfix: Issues when making a call introduced in 0.7.11
+* Etc with the bug fixes (all too small to list)
+
+0.7.11
+* Bugfix: Attempting to improve the behavior of calls by reducing potential RTComm errors
+* Bugfix: Issues with weird unexpected disconnect issues
+* Bugfix: I guess I made a mistake in registering for system signals, whoops
+* Bugfix: Following more closely the Telepathy spec by doing connects and disconnects asynchronously
+
+0.7.10
+* Increased the network timeout when connecting to GV
+* Bugfix: On connection failure, the connection would be left around, preventing future connections
+
+0.7.9
+* Bugfix: Disconnect/Reconnect issues seem to be lessoned for me (What I previously thought was a bugfix turned out to cause several bugs.)
+
 0.7.8
 * Bugfix: Issues with checking for new conversations
 
@@ -141,7 +228,6 @@ def build_package(distribution):
                "debian": "comm",
                "diablo": "user/network",
                "fremantle": "user/network",
-               "mer": "user/network",
        }[distribution]
        p.depends = ", ".join([
                "python (>= 2.5) | python2.5",
@@ -153,20 +239,14 @@ def build_package(distribution):
                "debian": "",
                "diablo": ", python2.5-conic, account-plugin-haze",
                "fremantle": ", account-plugin-haze",
-               "mer": "",
        }[distribution]
        p.arch = "all"
        p.urgency = "low"
-       p.distribution = "diablo fremantle mer debian"
+       p.distribution = "diablo fremantle debian"
        p.repository = "extras"
        p.changelog = __changelog__
        p.postinstall = __postinstall__
-       p.icon = {
-               "debian": "26x26-theonering.png",
-               "diablo": "26x26-theonering.png",
-               "fremantle": "64x64-theonering.png", # Fremantle natively uses 48x48
-               "mer": "64x64-theonering.png",
-       }[distribution]
+       p.icon = "32-tor_handset.png"
        for relPath, files in unflatten_files(find_files(".")).iteritems():
                fullPath = "/usr/lib/theonering"
                if relPath:
@@ -178,11 +258,23 @@ def build_package(distribution):
        p["/usr/share/dbus-1/services"] = ["org.freedesktop.Telepathy.ConnectionManager.theonering.service"]
        if distribution in ("debian", ):
                p["/usr/share/mission-control/profiles"] = ["theonering.profile.%s|theonering.profile"% distribution]
-       elif distribution in ("diablo", "fremantle", "mer"):
+       elif distribution in ("diablo", "fremantle"):
                p["/usr/share/osso-rtcom"] = ["theonering.profile.%s|theonering.profile"% distribution]
        p["/usr/lib/telepathy"] = ["telepathy-theonering"]
        p["/usr/share/telepathy/managers"] = ["theonering.manager"]
-       p["/usr/share/icons/hicolor/26x26/hildon"] = ["26x26-theonering.png|im-theonering.png"]
+       if distribution in ("debian", ):
+               iconBasePath = "/usr/share/icons/gnome/%s/apps"
+       elif distribution in ("diablo", "fremantle"):
+               iconBasePath = "/usr/share/icons/hicolor/%s/hildon"
+       p[iconBasePath % "26x26"] = ["26-tor_handset.png|im-theonering.png"]
+       p[iconBasePath % "32x32"] = ["32-tor_handset.png|im-theonering.png"]
+       p[iconBasePath % "64x64"] = ["64-tor_handset.png|im-theonering.png"]
+       p["/usr/share/theonering"] = [
+               "32-tor_handset.png|tor_handset.png",
+               "32-tor_phone.png|tor_phone.png",
+               "32-tor_question.png|tor_question.png",
+               "32-tor_self.png|tor_self.png",
+       ]
 
        if distribution == "debian":
                print p