Control: severity critical -1
I think this bug should be bump to cricical. mc burn my cpu. Simple
patch from last answer fixes the problem and it should be added to
jessie version.
Also I attach my nmu debdiff.
Mateusz
diff -Nru mc-4.8.13/debian/changelog mc-4.8.13/debian/changelog
--- mc-4.8.13/debian/changelog 2014-12-13 11:36:08.000000000 +0100
+++ mc-4.8.13/debian/changelog 2015-03-13 22:46:12.000000000 +0100
@@ -1,3 +1,21 @@
+mc (3:4.8.13-3.1) unstable; urgency=low
+
+ [ Denis Briand ]
+ * Add lintian override on debian-watch-may-check-gpg-signature
+ Upstream doesn't provide gpg signature.
+ * Add Keywords entry into debian/mc.desktop file.
+ * Add mcedit.desktop file.
+ * Denis Briand goes back into the package devel team.
+ Add into 'uploaders' field.
+ * Add mcedit into Debian menu.
+ * Add mcedit icon.
+
+ [ Mateusz Łukasik ]
+ * Add fix-usage-of-GPM-under-screen-tmux.patch for fix burning cpu when
+ gpm is running under screen or tmux. (Closes: #743566)
+
+ -- Mateusz Łukasik <mat...@linuxmint.pl> Fri, 13 Mar 2015 22:44:48 +0100
+
mc (3:4.8.13-3) unstable; urgency=medium
* New upstream patch to fix loss of destination file when pre-allocation
diff -Nru mc-4.8.13/debian/control mc-4.8.13/debian/control
--- mc-4.8.13/debian/control 2014-09-29 09:00:44.000000000 +0200
+++ mc-4.8.13/debian/control 2015-03-09 20:38:07.000000000 +0100
@@ -2,8 +2,11 @@
Section: utils
Priority: optional
Maintainer: Debian MC Packaging Group <pkg-mc-de...@lists.alioth.debian.org>
-Uploaders: Patrick Winnertz <win...@debian.org>, Yury V. Zaytsev
<y...@shurup.com>,
- Andreas Tille <ti...@debian.org>, Dmitry Smirnov <only...@debian.org>
+Uploaders: Patrick Winnertz <win...@debian.org>
+ ,Yury V. Zaytsev <y...@shurup.com>
+ ,Andreas Tille <ti...@debian.org>
+ ,Dmitry Smirnov <only...@debian.org>
+ ,Denis Briand <deb...@denis-briand.fr>
Build-Depends: debhelper (>= 9), dh-autoreconf, autopoint, intltool, bison
,check
,e2fslibs-dev
diff -Nru mc-4.8.13/debian/copyright mc-4.8.13/debian/copyright
--- mc-4.8.13/debian/copyright 2014-09-09 08:41:17.000000000 +0200
+++ mc-4.8.13/debian/copyright 2015-03-09 20:38:07.000000000 +0100
@@ -7,24 +7,6 @@
This package was debianized on Tue Apr 1 14:32:15 1997 by
Paul Seelig <psee...@mail.uni-mainz.de>.
-Files: debian/*
-Copyright: 2002-2004 Adam Byrtek <al...@debian.org>
- 2011 Andreas Tille <ti...@debian.org>
- 2002 Colin Watson <cjwat...@debian.org>
- 2008-2010 Denis Briand <de...@narcan.fr>
- 2012-2014 Dmitry Smirnov <only...@debian.org>
- 1997 Fernando Alegre <ale...@debian.org>
- 2004-2007 Ludovic Drolez <ldro...@debian.org>
- 1999-2001 Martin Bialasinski <mart...@debian.org>
- 1999 Martin Bialasinski <m...@internet-treff.uni-koeln.de>
- 1998-1999 Michael Bramer <gr...@debian.org>
- 2008-2009 Patrick Winnertz <win...@debian.org>
- 1998 Paul Seelig <psee...@goofy.zdv.uni-mainz.de>
- 2004-2007 Stefano Melchior <stefano.melch...@openlabs.it>
- 1997 Vincent Renardias <vinc...@waw.com>
- 2008-2010 Yury V. Zaytsev <y...@shurup.com>
-License: GPL-2+
-
Files: *
Copyright: 1991-1992,1994-2014 Free Software Foundation
with portions:
@@ -49,6 +31,25 @@
Note that all these authors assigned the copyright to FSF.
+Files: debian/*
+Copyright: 2002-2004 Adam Byrtek <al...@debian.org>
+ 2011 Andreas Tille <ti...@debian.org>
+ 2002 Colin Watson <cjwat...@debian.org>
+ 2008-2015 Denis Briand <deb...@denis-briand.fr>
+ 2012-2014 Dmitry Smirnov <only...@debian.org>
+ 1997 Fernando Alegre <ale...@debian.org>
+ 2004-2007 Ludovic Drolez <ldro...@debian.org>
+ 1999-2001 Martin Bialasinski <mart...@debian.org>
+ 1999 Martin Bialasinski <m...@internet-treff.uni-koeln.de>
+ 1998-1999 Michael Bramer <gr...@debian.org>
+ 2008-2009 Patrick Winnertz <win...@debian.org>
+ 1998 Paul Seelig <psee...@goofy.zdv.uni-mainz.de>
+ 2004-2007 Stefano Melchior <stefano.melch...@openlabs.it>
+ 1997 Vincent Renardias <vinc...@waw.com>
+ 2008-2010 Yury V. Zaytsev <y...@shurup.com>
+License: GPL-2+
+
+
Files: src/vfs/smbfs/helpers/*
Copyright: 2011 Free Software Foundation
1992-1998 Andrew Tridgell
diff -Nru mc-4.8.13/debian/icons/mcedit.xpm mc-4.8.13/debian/icons/mcedit.xpm
--- mc-4.8.13/debian/icons/mcedit.xpm 1970-01-01 01:00:00.000000000 +0100
+++ mc-4.8.13/debian/icons/mcedit.xpm 2015-03-09 20:38:07.000000000 +0100
@@ -0,0 +1,42 @@
+/* XPM */
+static char * mcedit_xpm[] = {
+"32 32 7 1",
+" c None",
+". c #CCCCCC",
+"+ c #E5E5E5",
+"@ c #00FFFF",
+"# c #333333",
+"$ c #0000FF",
+"% c #000000",
+".+.+.+..+..+.+.+.+.+..++..+..+.+",
+".@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#",
+"+$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#",
+".$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#",
+".$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#",
+"+$@@@@$@@$@@$@$$@@@$$$@@@$$$$$$#",
+".$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#",
+"+$@$@@@@$@@@@$@$$@@@@$$$$$$$$$$#",
+".$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#",
+"+$@@@@$@@$$@@$@$$$$$$$$$$$$$$$$#",
+".$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#",
+"+$@@$@@$@$@@@$$$@$$@@@@@$$$$$$$#",
+".$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#",
+"+$@@$@@$@$@@$$$$$$$$$$$$$$$$$$$#",
+".$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#",
+".$@@$@@@@$@$$$$$$$$$$$$$$$$$$$$#",
+".$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#",
+"+$@@@@$@$$$$$$$$$$$$$$$$$$$$$$$#",
+".$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#",
+"+$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#",
+".$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#",
+"+$$$$$$$$@@@@@@$$@$$@$$$$$$$$$$#",
+".$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#",
+"+$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#",
+".$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#",
+".$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#",
+"+$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#",
+".$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#",
+".$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#",
+"+$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$#",
+".@@@@%@@@@%@@@@%@@@@@%@@@@%@@@@#",
+".###############################"};
diff -Nru mc-4.8.13/debian/mc.desktop mc-4.8.13/debian/mc.desktop
--- mc-4.8.13/debian/mc.desktop 2012-09-24 00:40:06.000000000 +0200
+++ mc-4.8.13/debian/mc.desktop 2015-03-09 20:38:07.000000000 +0100
@@ -17,3 +17,4 @@
Terminal=true
Type=Application
Categories=ConsoleOnly;Utility;FileManager;System;FileTools;
+Keywords=file manager;console;
diff -Nru mc-4.8.13/debian/mcedit.desktop mc-4.8.13/debian/mcedit.desktop
--- mc-4.8.13/debian/mcedit.desktop 1970-01-01 01:00:00.000000000 +0100
+++ mc-4.8.13/debian/mcedit.desktop 2015-03-09 20:38:07.000000000 +0100
@@ -0,0 +1,76 @@
+[Desktop Entry]
+Name=Midnight Commander editor
+Comment=Edit text files
+Comment[af]=Redigeer tekslêers
+Comment[am]=የጽሑፍ ፋይሎች ያስተካክሉ
+Comment[ar]=ﺡﺭّﺭ ﻢﻠﻓﺎﺗ ﻦﺼﻳﺓ
+Comment[az]=Mətn fayllarını redaktə edin
+Comment[be]=Рэдагаваньне тэкставых файлаў
+Comment[bg]=Редактиране на текстови файлове
+Comment[bn]=টেক্স্ট ফাইল এডিট করুন
+Comment[bs]=Izmijeni tekstualne datoteke
+Comment[ca]=Edita fitxers de text
+Comment[cs]=Úprava textových souborů
+Comment[cy]=Golygu ffeiliau testun
+Comment[da]=Redigér tekstfiler
+Comment[de]=Textdateien bearbeiten
+Comment[el]=Επεξεργασία αρχείων κειμένου
+Comment[en_CA]=Edit text files
+Comment[en_GB]=Edit text files
+Comment[es]=Edita archivos de texto
+Comment[et]=Redigeeri tekstifaile
+Comment[eu]=Editatu testu-fitxategiak
+Comment[fa]=ﻭیﺭﺍیﺵ پﺭﻮﻧﺪﻫ<200c>ﻫﺍی ﻢﺘﻧی
+Comment[fi]=Muokkaa tekstitiedostoja
+Comment[fr]=Édite des fichiers texte
+Comment[ga]=Eagar comhad Téacs
+Comment[gu]=લખાણ ફાઇલોમાં ફેરફાર કરો
+Comment[he]=ערוך קבצי טקסט
+Comment[hi]=पाठ फ़ाइलें संपादित करें
+Comment[hr]=Uređivanje tekstualne datoteke
+Comment[hu]=Szövegfájlok szerkesztése
+Comment[id]=Edit file teks
+Comment[it]=Modifica file di testo
+Comment[ja]=テキスト・ファイルを編集します
+Comment[kn]=ಪಠ್ಯ ಕಡತಗಳನ್ನು ಸಂಪಾದಿಸು
+Comment[ko]=텍스트 파일을 편집합니다
+Comment[lt]=Redaguoti tekstines bylas
+Comment[lv]=Rediģēt teksta failus
+Comment[mk]=Уреди текстуални фајлови
+Comment[ml]=വാചക രചനകള് തിരുത്തുക
+Comment[mn]=Текст файл боловсруулах
+Comment[mr]=गद्य फाइल संपादित करा
+Comment[ms]=Edit fail teks
+Comment[nb]=Rediger tekstfiler
+Comment[ne]=पाठ फाइललाई संशोधन गर्नुहोस्
+Comment[nl]=Tekstbestanden bewerken
+Comment[nn]=Rediger tekstfiler
+Comment[no]=Rediger tekstfiler
+Comment[or]=ପାଠ୍ଯ ଫାଇଲଗୁଡ଼ିକୁ ସମ୍ପାଦନ କରନ୍ତୁ
+Comment[pa]=ਪਾਠ ਫਾਇਲਾਂ ਸੰਪਾਦਨ
+Comment[pl]=Edytor plików tekstowych
+Comment[pt]=Editar ficheiros de texto
+Comment[pt_BR]=Edite arquivos de texto
+Comment[ro]=Editare fişiere text
+Comment[ru]=Редактор текстовых файлов
+Comment[sk]=Úprava textových súborov
+Comment[sl]=Urejanje datotek z besedili
+Comment[sq]=Përpuno files teksti
+Comment[sr]=Измени текстуалне датотеке
+Comment[sr@Latn]=Izmeni tekstualne datoteke
+Comment[sv]=Redigera textfiler
+Comment[ta]=உரை கோப்புகளை தொகுக்கவும்
+Comment[th]=แก้ไขแฟ้มข้อความ
+Comment[tk]=Metin faýllary editle
+Comment[tr]=Metin dosyalarını düzenle
+Comment[uk]=Редактор текстових файлів
+Comment[vi]=Soạn thảo tập tin văn bản
+Comment[wa]=Asspougnî des fitchîs tecses
+Comment[zh_CN]=编辑文本文件
+Comment[zh_TW]=編輯文字檔
+Exec=mcedit
+Icon=MidnightCommander
+Terminal=true
+Type=Application
+Categories=Utility;TextEditor;
+Keywords=editor;console;text;
diff -Nru mc-4.8.13/debian/mc.install mc-4.8.13/debian/mc.install
--- mc-4.8.13/debian/mc.install 2012-09-24 00:39:36.000000000 +0200
+++ mc-4.8.13/debian/mc.install 2015-03-09 20:38:07.000000000 +0100
@@ -1,5 +1,7 @@
debian/mc.desktop usr/share/applications
+debian/mcedit.desktop usr/share/applications
debian/icons/mc.xpm usr/share/pixmaps
+debian/icons/mcedit.xpm usr/share/pixmaps
usr/bin
usr/lib/mc
etc/mc/*
diff -Nru mc-4.8.13/debian/mc.menu mc-4.8.13/debian/mc.menu
--- mc-4.8.13/debian/mc.menu 2012-09-24 00:39:36.000000000 +0200
+++ mc-4.8.13/debian/mc.menu 2015-03-09 20:38:07.000000000 +0100
@@ -6,3 +6,11 @@
hints="File managers" \
command="/usr/bin/mc" \
icon="/usr/share/pixmaps/mc.xpm"
+?package(mc): \
+ needs="text" \
+ section="Applications/Editors" \
+ title="mcedit" \
+ longtitle="Midnight Commander Editor" \
+ hints="Editors" \
+ command="/usr/bin/mcedit" \
+ icon="/usr/share/pixmaps/mcedit.xpm"
diff -Nru mc-4.8.13/debian/patches/fix-usage-of-GPM-under-screen-tmux.patch
mc-4.8.13/debian/patches/fix-usage-of-GPM-under-screen-tmux.patch
--- mc-4.8.13/debian/patches/fix-usage-of-GPM-under-screen-tmux.patch
1970-01-01 01:00:00.000000000 +0100
+++ mc-4.8.13/debian/patches/fix-usage-of-GPM-under-screen-tmux.patch
2015-03-09 20:44:55.000000000 +0100
@@ -0,0 +1,14 @@
+Description: Fix usage of GPM under screen and tmux
+Author: Mateusz Łukasik <mat...@linuxmint.pl>
+Bug-Debian: https://bugs.debian.org/743566
+
+--- a/lib/tty/key.c
++++ b/lib/tty/key.c
+@@ -2092,7 +2092,6 @@ tty_get_event (struct Gpm_Event *event,
+
+ /* Try to reopen gpm_mouse connection */
+ disable_mouse ();
+- enable_mouse ();
+ }
+ }
+ }
diff -Nru mc-4.8.13/debian/patches/series mc-4.8.13/debian/patches/series
--- mc-4.8.13/debian/patches/series 2014-12-13 10:47:24.000000000 +0100
+++ mc-4.8.13/debian/patches/series 2015-03-09 20:43:45.000000000 +0100
@@ -20,3 +20,4 @@
ext_run-mailcap.patch
ext_use_default_editor.patch
+fix-usage-of-GPM-under-screen-tmux.patch
diff -Nru mc-4.8.13/debian/source/lintian-overrides
mc-4.8.13/debian/source/lintian-overrides
--- mc-4.8.13/debian/source/lintian-overrides 1970-01-01 01:00:00.000000000
+0100
+++ mc-4.8.13/debian/source/lintian-overrides 2015-03-09 20:38:07.000000000
+0100
@@ -0,0 +1,2 @@
+#Upstream doesn't provide GPG signature
+debian-watch-may-check-gpg-signature