[winpdb/f20] fix issue where winpdb doesnt launch in gnome-terminal properly anymore (bz1149030)
Tom Callaway
spot at fedoraproject.org
Thu Dec 4 20:35:08 UTC 2014
commit 36fae7723f40fab3a8a88a269651f489bc286b76
Author: Tom Callaway <spot at fedoraproject.org>
Date: Thu Dec 4 15:35:10 2014 -0500
fix issue where winpdb doesnt launch in gnome-terminal properly anymore (bz1149030)
winpdb-1.4.8-gnome-fix.patch | 12 ++++++++++++
winpdb.spec | 10 +++++++++-
2 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/winpdb-1.4.8-gnome-fix.patch b/winpdb-1.4.8-gnome-fix.patch
new file mode 100644
index 0000000..8a64c13
--- /dev/null
+++ b/winpdb-1.4.8-gnome-fix.patch
@@ -0,0 +1,12 @@
+diff -up winpdb-1.4.8/rpdb2.py.gnomefix winpdb-1.4.8/rpdb2.py
+--- winpdb-1.4.8/rpdb2.py.gnomefix 2014-12-04 15:19:38.972288993 -0500
++++ winpdb-1.4.8/rpdb2.py 2014-12-04 15:19:47.279229223 -0500
+@@ -1780,7 +1780,7 @@ osSpawn = {
+ NT_DEBUG: 'start "rpdb2 - Version ' + get_version() + ' - Debuggee Console" cmd.exe /K ""%(exec)s" %(options)s"',
+ POSIX: "%(term)s -e %(shell)s -c '%(exec)s %(options)s; %(shell)s' &",
+ 'Terminal': "Terminal --disable-server -x %(shell)s -c '%(exec)s %(options)s; %(shell)s' &",
+- GNOME_DEFAULT_TERM: "gnome-terminal --disable-factory -x %(shell)s -c '%(exec)s %(options)s; %(shell)s' &",
++ GNOME_DEFAULT_TERM: "gnome-terminal -x %(shell)s -c '%(exec)s %(options)s; %(shell)s' &",
+ MAC: '%(exec)s %(options)s',
+ DARWIN: '%(exec)s %(options)s',
+ SCREEN: 'screen -t debuggee_console %(exec)s %(options)s'
diff --git a/winpdb.spec b/winpdb.spec
index 53c78ab..1ee64db 100644
--- a/winpdb.spec
+++ b/winpdb.spec
@@ -2,7 +2,7 @@
Name: winpdb
Version: 1.4.8
-Release: 6%{?dist}
+Release: 8%{?dist}
Summary: An advanced python debugger
Group: Development/Debuggers
License: GPLv2+
@@ -10,6 +10,7 @@ URL: http://www.winpdb.org/
Source0: http://winpdb.googlecode.com/files/winpdb-%{version}.tar.gz
Source1: %{name}.desktop
Source2: %{name}.png
+Patch0: winpdb-1.4.8-gnome-fix.patch
BuildArch: noarch
BuildRequires: python2-devel, wxPython-devel >= 2.6, desktop-file-utils
Requires: python-crypto, wxPython >= 2.6
@@ -21,6 +22,7 @@ communication and speed of up to 20 times that of pdb.
%prep
%setup -q
+%patch0 -p1 -b .gnomefix
sed -i 's/\r//g' README.txt
chmod -x README.txt
@@ -48,6 +50,12 @@ chmod +x $RPM_BUILD_ROOT%{python_sitelib}/rpdb2.py $RPM_BUILD_ROOT%{python_sitel
%{_datadir}/pixmaps/%{name}.png
%changelog
+* Thu Dec 4 2014 Tom Callaway <spot at fedoraproject.org> - 1.4.8-8
+- fix issue where winpdb doesn't launch in gnome-terminal properly anymore (bz1149030)
+
+* Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.8-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list