From 3ce2cd5d0d645b0e7baae4113f1c70f11af18c02 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Tue, 3 Nov 2009 19:57:08 -0600 Subject: [PATCH 1/1] Fixing up some packaging issues --- src/gonvert_glade.py | 1 + support/builddeb.py | 2 +- support/gonvert.desktop | 12 +++++------- 3 files changed, 7 insertions(+), 8 deletions(-) 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 -- 1.7.9.5