Bump to 0.8.4
[nqaap] / support / build_nqaap.py
index 6eb481c..ac392d3 100755 (executable)
@@ -47,7 +47,7 @@ Homepage: http://nqaap.garage.maemo.org/"""
     p.depends += {\r
         "debian": ", python-gst0.10",\r
         "diablo": maemoSpecificDepends,\r
-        "fremantle": maemoSpecificDepends+", python-gst0.10",\r
+        "fremantle": maemoSpecificDepends + ", python-gst0.10",\r
     }[distribution]\r
     p.section = {\r
         "debian": "sound",\r
@@ -69,24 +69,17 @@ rm -f ~/.nqaap/nqaap.log
     #  chmod +x /usr/bin/mclock.py""" #Set here your pre install script\r
     #  p.preremove="""#!/bin/sh\r
     #  chmod +x /usr/bin/mclock.py""" #Set here your pre remove script\r
-    version = "0.8.0"           #Version of your software, e.g. "1.2.0" or "0.8.2"\r
-    build = "3" #Build number, e.g. "1" for the first build of this\r
+    version = "0.8.4"           #Version of your software, e.g. "1.2.0" or "0.8.2"\r
+    build = "0" #Build number, e.g. "1" for the first build of this\r
                                 #version of your software. Increment\r
                                 #for later re-builds of the same\r
                                 #version of your software.  Text with\r
                                 #changelog information to be displayed\r
                                 #in the package "Details" tab of the\r
                                 #Maemo Application Manager\r
-    changeloginformation = "Merged changes from EPage (proper changelog later)\nNew Icon by Strutten."\r
-    # 0.7.2 : Seek bar now responds to clicks (rather than drags)\nFixed bug with wrong text showing on button after changed chapter.\r
-    # 0.7.1 : Fixed crash when current points to non existing book\r
-    # 0.7.0 : Now ignores pressed outside the chapter selection menu\nAdded help\r
-    # 0.6.1 : Fixed bug that prevented running on devices without Audiobook folder.\r
-    #         Added tip on where to place audiobooks.\r
-    # 0.6.0 : Now also plays .mp3 files\r
-    # 0.5.0 : Second release. Now shows which chapter is playing, and scrolls to it when changing.\r
-    # 0.4.9 : First release. Now it should work\r
-    #  \r
+    changeloginformation = """\r
+Limiting FMRadio hack to only Maemo 5\r
+""".strip()\r
     dir_name = "src" #Name of the subfolder containing your package\r
                                 #source files\r
                                 #(e.g. usr\share\icons\hicolor\scalable\myappicon.svg,\r
@@ -97,11 +90,10 @@ rm -f ~/.nqaap/nqaap.log
     #Thanks to DareTheHair from talk.maemo.org for this snippet that\r
     #recursively builds the file list\r
     for root, dirs, files in os.walk(dir_name):\r
+        if any(f.startswith(".") for f in root.split(os.sep)):\r
+            continue # avoid hidden folders, esp svn ones\r
+\r
         real_dir = root[len(dir_name):]\r
-        if '.' in real_dir:\r
-            continue # if some part of the dirname contains '.' we\r
-                                        # ignore all files (avoid .svn\r
-                                        # and others)\r
         fake_file = []\r
         for f in files:\r
             fake_file.append(root + os.sep + f + "|" + f)\r