Fixing up some packaging issues
authorEd Page <eopage@byu.net>
Wed, 4 Nov 2009 01:57:08 +0000 (19:57 -0600)
committerEd Page <eopage@byu.net>
Wed, 4 Nov 2009 01:57:08 +0000 (19:57 -0600)
src/gonvert_glade.py
support/builddeb.py
support/gonvert.desktop

index ec9469b..8034d58 100755 (executable)
@@ -57,6 +57,7 @@ class Gonvert(object):
                os.path.join(os.path.dirname(__file__), "gonvert.glade"),
                os.path.join(os.path.dirname(__file__), "../data/gonvert.glade"),
                os.path.join(os.path.dirname(__file__), "../lib/gonvert.glade"),
                os.path.join(os.path.dirname(__file__), "gonvert.glade"),
                os.path.join(os.path.dirname(__file__), "../data/gonvert.glade"),
                os.path.join(os.path.dirname(__file__), "../lib/gonvert.glade"),
+               '/usr/share/gonvert/gonvert.glade',
                '/usr/lib/gonvert/gonvert.glade',
        ]
 
                '/usr/lib/gonvert/gonvert.glade',
        ]
 
index af284ed..9b6f40d 100755 (executable)
@@ -220,7 +220,7 @@ def build_package(distribution):
                        for (oldName, newName) in files
                )
        for relPath, files in unflatten_files(find_files("data", ".")).iteritems():
                        for (oldName, newName) in files
                )
        for relPath, files in unflatten_files(find_files("data", ".")).iteritems():
-               fullPath = "/usr/lib/gonvert"
+               fullPath = "/usr/share/gonvert"
                if relPath:
                        fullPath += os.sep+relPath
                p[fullPath] = list(
                if relPath:
                        fullPath += os.sep+relPath
                p[fullPath] = list(
index 0dc3706..b48eb51 100644 (file)
@@ -1,9 +1,7 @@
 [Desktop Entry]
 [Desktop Entry]
-Name=Unit Convertor
-Comment=Convert between various units
-Icon=gonvert.png
-Exec=gonvert
-Terminal=false
+Encoding=UTF-8
+Version=1.0
 Type=Application
 Type=Application
-StartupNotify=true
-Categories=GNOME;Application;Utility;
+Name=Gonvert
+Exec=/usr/bin/run-standalone.sh /usr/bin/gonvert.py
+Icon=gonvert