7 __description__ = "Todo Manager"
9 __email__ = "eopage@byu.net"
14 * Fixed bug where if you had no backend enabled, you couldn't enable a backend (Now hit "Connect" in the "File" menu)
15 * Fixed some polish bugs with the popup calendar
16 * Caching added to RTM backend
22 * Backend Support: Remember The Milk
30 * Note Viewer / Editor
32 * Adding, renaming, and (un)archiving of lists
33 * Uncompleting a task and viewing completed tasks
34 * Viewing/editing of task recurrence, time estimate, tags, location, url
40 __postinstall__ = '''#!/bin/sh
42 gtk-update-icon-cache /usr/share/icons/hicolor
47 for root, dirs, files in os.walk(path):
49 if file.startswith("src-"):
50 fileParts = file.split("-")
51 unused, relPathParts, newName = fileParts[0], fileParts[1:-1], fileParts[-1]
52 assert unused == "src"
53 relPath = os.sep.join(relPathParts)
54 yield relPath, file, newName
57 def unflatten_files(files):
59 for relPath, oldName, newName in files:
62 d[relPath].append((oldName, newName))
66 if __name__ == "__main__":
68 os.chdir(os.path.dirname(sys.argv[0]))
72 p = Py2deb(__appname__)
73 p.description = __description__
77 p.depends = "python2.5, python2.5-gtk2"
78 p.section = "user/communication"
81 p.distribution = "chinook diablo"
82 p.repository = "extras-devel"
83 p.changelog = __changelog__
84 p.postinstall = __postinstall__
85 p.icon="26x26-doneit.png"
86 p["/usr/bin"] = [ "doneit.py" ]
87 for relPath, files in unflatten_files(find_files(".")).iteritems():
88 fullPath = "/usr/lib/doneit"
90 fullPath += os.sep+relPath
92 "|".join((oldName, newName))
93 for (oldName, newName) in files
95 p["/usr/share/applications/hildon"] = ["doneit.desktop"]
96 # p["/usr/share/icons/hicolor/26x26/hildon"] = ["26x26-doneit.png|doneit.png"]
97 # p["/usr/share/icons/hicolor/64x64/hildon"] = ["64x64-doneit.png|doneit.png"]
98 # p["/usr/share/icons/hicolor/scalable/hildon"] = ["scale-doneit.png|doneit.png"]
102 __version__, __build__, changelog=__changelog__,
103 tar=True, dsc=True, changes=True, build=False, src=True