Filesystem backed contacts and minor cleanups
[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.8.4"
11 __build__ = 0
12 __changelog__ = '''\
13 0.8.4 - ""
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
18 0.8.3 - "Extras Love"
19  * Version bump fighting the extras autobuilder, I hope this works
20
21 0.8.2 - "Feed is for horses, so what about feedback?"
22  * Merged addressbook
23  * many more smaller fixes
24
25 0.8.1 - "Two Beers"
26  * Thumb scrollbars ( Kudos Khertan )
27
28 0.8.0 - "Spit and polish"
29  * Addressbook support
30  * threaded networking for better interactivity
31  * Hold down back to clear number
32  * Standard about dialog
33  * many more smaller fixes
34 '''
35
36
37 __postinstall__ = '''#!/bin/sh
38
39 gtk-update-icon-cache /usr/share/icons/hicolor
40 '''
41
42
43 if __name__ == "__main__":
44         try:
45                 os.chdir(os.path.dirname(sys.argv[0]))
46         except:
47                 pass
48
49         p = Py2deb(__appname__)
50         p.description = __description__
51         p.author = __author__
52         p.mail = __email__
53         p.license = "lgpl"
54         p.depends = "python2.5, python2.5-gtk2"
55         # p.section = "user/utilities"
56         p.section = "user/communication"
57         p.arch = "all"
58         p.urgency = "low"
59         p.distribution = "chinook diablo"
60         p.repository = "extras-devel"
61         p.changelog = __changelog__
62         p.postinstall = __postinstall__
63         p.icon="26x26-dialcentral.png"
64         p["/usr/bin"] = [ "dialcentral.py" ]
65         p["/usr/lib/dialcentral"] = ["__init__.py", "browser_emu.py", "evo_backend.py", "gc_backend.py", "gc_dialer.glade", "gc_dialer.py", "builddeb.py"]
66         p["/usr/share/applications/hildon"] = ["dialcentral.desktop"]
67         p["/usr/share/icons/hicolor/26x26/hildon"] = ["26x26-dialcentral.png|dialcentral.png"]
68         p["/usr/share/icons/hicolor/64x64/hildon"] = ["64x64-dialcentral.png|dialcentral.png"]
69         p["/usr/share/icons/hicolor/scalable/hildon"] = ["scale-dialcentral.png|dialcentral.png"]
70
71         print p
72         print p.generate(
73                 __version__, __build__, changelog=__changelog__,
74                 tar=True, dsc=True, changes=True, build=False, src=True
75         )