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