Accepting request 35406 from X11:lxde
Copy from X11:lxde/lxterminal based on submit request 35406 from user anubisg1 OBS-URL: https://build.opensuse.org/request/show/35406 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lxterminal?expand=0&rev=4
This commit is contained in:
commit
e9008aedae
11
lxterminal-0.1.7-fix-path.patch
Normal file
11
lxterminal-0.1.7-fix-path.patch
Normal file
@ -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);
|
@ -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
|
Mon Mar 1 23:46:09 UTC 2010 - andrea@opensuse.org
|
||||||
|
|
||||||
|
@ -20,13 +20,14 @@
|
|||||||
|
|
||||||
Name: lxterminal
|
Name: lxterminal
|
||||||
Version: 0.1.7
|
Version: 0.1.7
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Lightweight LXDE Terminal
|
Summary: Lightweight LXDE Terminal
|
||||||
Group: System/X11/Utilities
|
Group: System/X11/Utilities
|
||||||
License: GPL
|
License: GPL
|
||||||
Url: http://www.lxde.org/
|
Url: http://www.lxde.org/
|
||||||
Source0: %name-%version.tar.bz2
|
Source0: %name-%version.tar.bz2
|
||||||
Patch0: %name-0.1.6-disable-f10.patch
|
Patch0: %name-0.1.6-disable-f10.patch
|
||||||
|
Patch1: %name-0.1.7-fix-path.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: fdupes gtk2-devel intltool pkg-config update-desktop-files
|
BuildRequires: fdupes gtk2-devel intltool pkg-config update-desktop-files
|
||||||
BuildRequires: docbook-utils docbook-xsl-stylesheets libxslt-devel vte-devel
|
BuildRequires: docbook-utils docbook-xsl-stylesheets libxslt-devel vte-devel
|
||||||
@ -39,6 +40,7 @@ of the LXDE project
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
Loading…
Reference in New Issue
Block a user