Fixing dependencies
[quicknote] / support / builddeb.py
index 0b375dc..fb58354 100755 (executable)
@@ -21,12 +21,24 @@ __email__ = "n800@axique.net"
 __version__ = constants.__version__
 __build__ = constants.__build__
 __changelog__ = """
+0.7.10
+ * Moved history to the (app)menu
+ * Moved search to Ctrl+f and (app)menu
+ * Switched category selection over to a touch selector entry, making it prettier and easier
+ * Deleting empty notes no longer prompts the user
+ * Cleaned up the history dialog a smidge
+ * Ctrl+w/q to quit
+ * Bug fix: not very consistent when a category is visible in dialogs
+
 0.7.9
  * UI Tweak: Removed "New Note..." due to weirdness and duplicated behavior
+ * UI Tweak: Added App Menu to access some category functionality
  * Bugfix: Move To Category
+ * Bugfix: Removed carriage return on Ctrl+Enter
+ * Added .deb package support
 
 0.7.8
- * Spell checking
+ * Spell checking (Desktop only)
  * Fixing the application title
  * Fremantle Support
  * Ctrl+i and Ctrl+o to zoom in/out the interface
@@ -102,7 +114,7 @@ def build_package(distribution):
        p.prettyName = constants.__pretty_app_name__
        p.description = __description__
        p.bugTracker = "https://bugs.maemo.org/enter_bug.cgi?product=quicknote"
-       #p.upgradeDescription = __changelog__.split("\n\n", 1)[0]
+       p.upgradeDescription = __changelog__.split("\n\n", 1)[0]
        p.author = __author__
        p.mail = __email__
        p.license = "gpl"
@@ -110,6 +122,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 += {
@@ -157,22 +170,33 @@ def build_package(distribution):
                        for (oldName, newName) in files
                )
        p["/usr/share/applications/hildon"] = ["quicknote.desktop"]
-       #p["/usr/share/dbus-1/services"] = ["quicknote.service"]
        p["/usr/share/icons/hicolor/26x26/hildon"] = ["26x26-quicknote.png|quicknote.png"]
        p["/usr/share/icons/hicolor/40x40/hildon"] = ["40x40-quicknote.png|quicknote.png"]
        p["/usr/share/icons/hicolor/48x48/hildon"] = ["48x48-quicknote.png|quicknote.png"]
        p["/usr/share/icons/hicolor/scalable/hildon"] = ["scale-quicknote.png|quicknote.png"]
 
-       print p
-       print p.generate(
-               version="%s-%s" % (__version__, __build__),
-               changelog=__changelog__,
-               build=True,
-               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__":