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 a3687c2..1ee64db 100644 --- a/winpdb.spec +++ b/winpdb.spec @@ -2,7 +2,7 @@ Name: winpdb Version: 1.4.8 -Release: 7%{?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,9 @@ 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 - 1.4.8-8 +- fix issue where winpdb doesn't launch in gnome-terminal properly anymore (bz1149030) + * Sun Jun 08 2014 Fedora Release Engineering - 1.4.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild