From 77171a384d15355e1235989e47273b44a8610f4f34a4a592b54ec8030931f5c2 Mon Sep 17 00:00:00 2001 From: andrea florio Date: Wed, 10 Mar 2010 16:14:15 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/X11:lxde/lxterminal?expand=0&rev=17 --- lxterminal-0.1.7-fix-path.patch | 11 +++++++++++ lxterminal.changes | 8 ++++++++ lxterminal.spec | 2 ++ ready | 0 4 files changed, 21 insertions(+) create mode 100644 lxterminal-0.1.7-fix-path.patch create mode 100644 ready diff --git a/lxterminal-0.1.7-fix-path.patch b/lxterminal-0.1.7-fix-path.patch new file mode 100644 index 0000000..b347aba --- /dev/null +++ b/lxterminal-0.1.7-fix-path.patch @@ -0,0 +1,11 @@ +--- a/src/lxterminal.c ++++ b/src/lxterminal.c +@@ -766,7 +766,7 @@ static Term *terminal_new(LXTerminal *te + if (exec) { + gchar **command; + g_shell_parse_argv(exec, NULL, &command, NULL); +- term->pid = vte_terminal_fork_command(VTE_TERMINAL(term->vte), (const char *)*(command), command, env, "/tmp", FALSE, TRUE, TRUE); ++ term->pid = vte_terminal_fork_command(VTE_TERMINAL(term->vte), (const char *)*(command), command, env, pwd, FALSE, TRUE, TRUE); + g_strfreev(command); + } else { + term->pid = vte_terminal_fork_command(VTE_TERMINAL(term->vte), NULL, NULL, env, pwd, FALSE, TRUE, TRUE); diff --git a/lxterminal.changes b/lxterminal.changes index 14b9709..8958750 100644 --- a/lxterminal.changes +++ b/lxterminal.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 10 16:15:04 UTC 2010 - andrea@opensuse.org + +- added lxterminal-0.1.7-fix-path.patch now -e option will work + again with commands not in the $PATH, example: + lxterminal -e ./command + will work again now + ------------------------------------------------------------------- Mon Mar 1 23:46:09 UTC 2010 - andrea@opensuse.org diff --git a/lxterminal.spec b/lxterminal.spec index ce3d5ba..c943e39 100644 --- a/lxterminal.spec +++ b/lxterminal.spec @@ -27,6 +27,7 @@ License: GPL Url: http://www.lxde.org/ Source0: %name-%version.tar.bz2 Patch0: %name-0.1.6-disable-f10.patch +Patch1: %name-0.1.7-fix-path.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fdupes gtk2-devel intltool pkg-config update-desktop-files BuildRequires: docbook-utils docbook-xsl-stylesheets libxslt-devel vte-devel @@ -39,6 +40,7 @@ of the LXDE project %prep %setup -q %patch0 -p1 +%patch1 -p1 %build export CFLAGS="$RPM_OPT_FLAGS" diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4