From: Ed Page Date: Wed, 4 Nov 2009 01:57:08 +0000 (-0600) Subject: Fixing up some packaging issues X-Git-Url: http://git.maemo.org/git/?p=gonvert;a=commitdiff_plain;h=3ce2cd5d0d645b0e7baae4113f1c70f11af18c02;ds=sidebyside Fixing up some packaging issues --- diff --git a/src/gonvert_glade.py b/src/gonvert_glade.py index ec9469b..8034d58 100755 --- a/src/gonvert_glade.py +++ b/src/gonvert_glade.py @@ -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"), + '/usr/share/gonvert/gonvert.glade', '/usr/lib/gonvert/gonvert.glade', ] diff --git a/support/builddeb.py b/support/builddeb.py index af284ed..9b6f40d 100755 --- a/support/builddeb.py +++ b/support/builddeb.py @@ -220,7 +220,7 @@ def build_package(distribution): 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( diff --git a/support/gonvert.desktop b/support/gonvert.desktop index 0dc3706..b48eb51 100644 --- a/support/gonvert.desktop +++ b/support/gonvert.desktop @@ -1,9 +1,7 @@ [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 -StartupNotify=true -Categories=GNOME;Application;Utility; +Name=Gonvert +Exec=/usr/bin/run-standalone.sh /usr/bin/gonvert.py +Icon=gonvert