Including comments in changes about build change
[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 - "Get your hands off that"
14  * GoogleVoice Support, what a pain
15  * More flexible CSV support.  It now checks the header row for what column name/number are in
16  * Experimenting with faster startup by caching PYC files with the package
17
18 0.9.0 - "Slick as snot"
19  * Caching of contacts
20  * Refactoring to make working with the code easier
21  * Filesystem backed contacts but currently only supporting a specific csv format
22  * Gracefully handle lack of connection and connection transitions
23  * Gracefully handle failed login
24  * A tiny bit better error reporting
25
26 0.8.3 - "Extras Love"
27  * Version bump fighting the extras autobuilder, I hope this works
28
29 0.8.2 - "Feed is for horses, so what about feedback?"
30  * Merged addressbook
31  * many more smaller fixes
32
33 0.8.1 - "Two Beers"
34  * Thumb scrollbars ( Kudos Khertan )
35
36 0.8.0 - "Spit and polish"
37  * Addressbook support
38  * threaded networking for better interactivity
39  * Hold down back to clear number
40  * Standard about dialog
41  * many more smaller fixes
42 '''
43
44
45 __postinstall__ = '''#!/bin/sh
46
47 gtk-update-icon-cache /usr/share/icons/hicolor
48 '''
49
50
51 if __name__ == "__main__":
52         try:
53                 os.chdir(os.path.dirname(sys.argv[0]))
54         except:
55                 pass
56
57         p = Py2deb(__appname__)
58         p.description = __description__
59         p.author = __author__
60         p.mail = __email__
61         p.license = "lgpl"
62         p.depends = "python2.5, python2.5-gtk2"
63         # p.section = "user/utilities"
64         p.section = "user/communication"
65         p.arch = "all"
66         p.urgency = "low"
67         p.distribution = "chinook diablo"
68         p.repository = "extras-devel"
69         p.changelog = __changelog__
70         p.postinstall = __postinstall__
71         p.icon="26x26-dialcentral.png"
72         p["/usr/bin"] = [ "dialcentral.py" ]
73         p["/usr/lib/dialcentral"] = [
74                 "dialcentral.glade",
75                 "__init__.py",
76                 "dialer.py",
77                 "browser_emu.py",
78                 "file_backend.py",
79                 "evo_backend.py",
80                 "gc_backend.py",
81                 "gv_backend.py",
82                 "gc_views.py",
83                 "null_views.py",
84                 "gtk_toolbox.py",
85                 "__init__.pyc",
86                 "dialer.pyc",
87                 "browser_emu.pyc",
88                 "file_backend.pyc",
89                 "evo_backend.pyc",
90                 "gc_backend.pyc",
91                 "gv_backend.pyc",
92                 "gc_views.pyc",
93                 "null_views.pyc",
94                 "gtk_toolbox.pyc",
95         ]
96         p["/usr/share/applications/hildon"] = ["dialcentral.desktop"]
97         p["/usr/share/icons/hicolor/26x26/hildon"] = ["26x26-dialcentral.png|dialcentral.png"]
98         p["/usr/share/icons/hicolor/64x64/hildon"] = ["64x64-dialcentral.png|dialcentral.png"]
99         p["/usr/share/icons/hicolor/scalable/hildon"] = ["scale-dialcentral.png|dialcentral.png"]
100
101         print p
102         print p.generate(
103                 __version__, __build__, changelog=__changelog__,
104                 tar=True, dsc=True, changes=True, build=False, src=True
105         )