Fixing the map, adding some shortcut keys
[ejpi] / support / builddeb.py
index 3504cfe..30ce108 100755 (executable)
@@ -24,11 +24,18 @@ __email__ = "eopage@byu.net"
 __version__ = constants.__version__
 __build__ = constants.__build__
 __changelog__ = """
+0.9.7
+* Added shortcut to copy result
+* Shortcuts: Backspace - as expected, Ctrl+Backspace - unpops, Enter - pops
+* BugFix: Attempt two at bigger X button
+* Bugfix: Inconsistent location of pie items on the computer section
+* Added support for creating .deb generic linux package files
+
 0.9.6
 * Fullscreen by Ctrl+Enter
 * "Enter" in number entry causes a push
 * Reversed stack order to be more proper
-* Logging support
+* Logging support, Ctrl+l to copy the log
 * Fremantle Support
 
 0.9.4
@@ -97,7 +104,8 @@ def build_package(distribution):
        p = py2deb.Py2deb(__appname__)
        p.prettyName = constants.__pretty_app_name__
        p.description = __description__
-       p.upgradeDescription = __changelog__.split("\n\n", 1)[0]
+       p.bugTracker = "https://bugs.maemo.org/enter_bug.cgi?product=ejpi"
+       #p.upgradeDescription = __changelog__.split("\n\n", 1)[0]
        p.author = __author__
        p.mail = __email__
        p.license = "lgpl"
@@ -105,6 +113,7 @@ def build_package(distribution):
                "python2.6 | python2.5",
                "python-gtk2 | python2.5-gtk2",
                "python-xml | python2.5-xml",
+               "python-dbus | python2.5-dbus",
        ])
        maemoSpecificDepends = ", python-osso | python2.5-osso, python-hildon | python2.5-hildon"
        p.depends += {
@@ -115,7 +124,7 @@ def build_package(distribution):
                "mer": maemoSpecificDepends + ", python-glade2",
        }[distribution]
        p.section = {
-               "debian": "accessories",
+               "debian": "math",
                "chinook": "accessories",
                "diablo": "user/science",
                "fremantle": "user/science",
@@ -148,16 +157,28 @@ def build_package(distribution):
        p["/usr/share/icons/hicolor/64x64/hildon"] = ["64x64-ejpi.png|ejpi.png"]
        p["/usr/share/icons/hicolor/scalable/hildon"] = ["scale-ejpi.png|ejpi.png"]
 
-       print p
-       print p.generate(
-               version="%s-%s" % (__version__, __build__),
-               changelog=__changelog__,
-               build=False,
-               tar=True,
-               changes=True,
-               dsc=True,
-       )
-       print "Building for %s finished" % distribution
+       if distribution == "debian":
+               print p
+               print p.generate(
+                       version="%s-%s" % (__version__, __build__),
+                       changelog=__changelog__,
+                       build=True,
+                       tar=False,
+                       changes=False,
+                       dsc=False,
+               )
+               print "Building for %s finished" % distribution
+       else:
+               print p
+               print p.generate(
+                       version="%s-%s" % (__version__, __build__),
+                       changelog=__changelog__,
+                       build=False,
+                       tar=True,
+                       changes=True,
+                       dsc=True,
+               )
+               print "Building for %s finished" % distribution
 
 
 if __name__ == "__main__":