Updating package lists
[gc-dialer] / support / builddeb.py
1 #!/usr/bin/python2.5
2
3 from py2deb import *
4
5
6 __appname__ = "dialcentral"
7 __description__ = "Simple interface to Google's GrandCentral(tm) service"
8 __author__ = "Ed Page"
9 __email__ = "eopage@byu.net"
10 __version__ = "0.9.0"
11 __build__ = 0
12 __changelog__ = '''\
13 0.9.0 - "Slick as snot"
14  * Caching of contacts
15  * Refactoring to make working with the code easier
16  * Filesystem backed contacts but currently only supporting a specific csv format
17  * Gracefully handle lack of connection and connection transitions
18  * Gracefully handle failed login
19  * A tiny bit better error reporting
20
21 0.8.3 - "Extras Love"
22  * Version bump fighting the extras autobuilder, I hope this works
23
24 0.8.2 - "Feed is for horses, so what about feedback?"
25  * Merged addressbook
26  * many more smaller fixes
27
28 0.8.1 - "Two Beers"
29  * Thumb scrollbars ( Kudos Khertan )
30
31 0.8.0 - "Spit and polish"
32  * Addressbook support
33  * threaded networking for better interactivity
34  * Hold down back to clear number
35  * Standard about dialog
36  * many more smaller fixes
37 '''
38
39
40 __postinstall__ = '''#!/bin/sh
41
42 gtk-update-icon-cache /usr/share/icons/hicolor
43 '''
44
45
46 if __name__ == "__main__":
47         try:
48                 os.chdir(os.path.dirname(sys.argv[0]))
49         except:
50                 pass
51
52         p = Py2deb(__appname__)
53         p.description = __description__
54         p.author = __author__
55         p.mail = __email__
56         p.license = "lgpl"
57         p.depends = "python2.5, python2.5-gtk2"
58         # p.section = "user/utilities"
59         p.section = "user/communication"
60         p.arch = "all"
61         p.urgency = "low"
62         p.distribution = "chinook diablo"
63         p.repository = "extras-devel"
64         p.changelog = __changelog__
65         p.postinstall = __postinstall__
66         p.icon="26x26-dialcentral.png"
67         p["/usr/bin"] = [ "dialcentral.py" ]
68         p["/usr/lib/dialcentral"] = ["__init__.py", "browser_emu.py", "file_backend.py", "evo_backend.py", "gc_backend.py", "dialcentral.glade", "gc_dialer.py", "gc_views.py", "null_views.py", "gtk_toolbox.py"]
69         p["/usr/share/applications/hildon"] = ["dialcentral.desktop"]
70         p["/usr/share/icons/hicolor/26x26/hildon"] = ["26x26-dialcentral.png|dialcentral.png"]
71         p["/usr/share/icons/hicolor/64x64/hildon"] = ["64x64-dialcentral.png|dialcentral.png"]
72         p["/usr/share/icons/hicolor/scalable/hildon"] = ["scale-dialcentral.png|dialcentral.png"]
73
74         print p
75         print p.generate(
76                 __version__, __build__, changelog=__changelog__,
77                 tar=True, dsc=True, changes=True, build=False, src=True
78         )