[kupfer] data: Don't write binary location into kupfer.desktop
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] data: Don't write binary location into kupfer.desktop
- Date: Mon, 18 Jan 2010 04:52:50 +0000 (UTC)
commit 7a30c5b005947041a13880aed58f363c3ea619d4
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Mon Jan 18 03:19:51 2010 +0100
data: Don't write binary location into kupfer.desktop
It should not be needed: it should start the kupfer program in the
$PATH. For some reason Debian also patches away this, and I see no
reason to keep it.
data/{kupfer.desktop.in.in => kupfer.desktop.in} | 2 +-
data/wscript_build | 17 ++---------------
2 files changed, 3 insertions(+), 16 deletions(-)
---
diff --git a/data/kupfer.desktop.in.in b/data/kupfer.desktop.in
similarity index 94%
rename from data/kupfer.desktop.in.in
rename to data/kupfer.desktop.in
index 861df0e..6bdf3ea 100644
--- a/data/kupfer.desktop.in.in
+++ b/data/kupfer.desktop.in
@@ -4,7 +4,7 @@ _Name=Kupfer
_GenericName=Application Launcher
_Comment=Convenient command and access tool for applications and documents
Icon=search
-Exec= KUPFER@ %f
+Exec=kupfer %f
Type=Application
Categories=Utility;
StartupNotify=true
diff --git a/data/wscript_build b/data/wscript_build
index c606224..6682a31 100644
--- a/data/wscript_build
+++ b/data/wscript_build
@@ -7,21 +7,8 @@ bld.install_files("${DATADIR}/kupfer", "result.ui")
bld.install_files("${DATADIR}/kupfer/art", "art/*")
bld.install_files("${DATADIR}/kupfer/searchplugins", "searchplugins/*")
-# subst executable location into and
-desktop_file = "kupfer.desktop.in"
-dtp = bld.new_task_gen(
- "subst",
- source = desktop_file + ".in",
- target = desktop_file,
- #install_path = "${DATADIR}/applications",
- #chmod = 0755,
- dict = {"KUPFER": bld.env["KUPFER"]}
-)
-
-bld.add_group()
-
-# merge translations to .desktop file
-# Install .desktop file
+# merge translations into the .desktop file
+# and set it up to be installed
desktop_subst_file = "kupfer.desktop"
dtptrans = bld.new_task_gen(
"intltool_in",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]