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