r46387 - in /packages/ipe/trunk/debian: changelog patches/default-editor.patch patches/series

smr at users.alioth.debian.org smr at users.alioth.debian.org
Sun Dec 1 04:47:15 UTC 2013


Author: smr
Date: Sun Dec  1 04:47:15 2013
New Revision: 46387

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=46387
Log:
Change default editor.

Added:
    packages/ipe/trunk/debian/patches/default-editor.patch
Modified:
    packages/ipe/trunk/debian/changelog
    packages/ipe/trunk/debian/patches/series

Modified: packages/ipe/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/ipe/trunk/debian/changelog?rev=46387&op=diff
==============================================================================
--- packages/ipe/trunk/debian/changelog	(original)
+++ packages/ipe/trunk/debian/changelog	Sun Dec  1 04:47:15 2013
@@ -1,6 +1,9 @@
 ipe (7.1.4-2) unstable; urgency=low
 
   * copyright: Updated with patch from Felix Geyer.  Closes: #729740.
+  * patches/default-editor.patch: New.  Change hardcoded default editor
+    (when EDITOR not defined) to "xterminal-emulator -e editor", as
+    suggested by Francesco Poli.  Closes: #728480.
 
  -- Steve M. Robbins <smr at debian.org>  Sat, 30 Nov 2013 22:28:30 -0600
 

Added: packages/ipe/trunk/debian/patches/default-editor.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/ipe/trunk/debian/patches/default-editor.patch?rev=46387&op=file
==============================================================================
--- packages/ipe/trunk/debian/patches/default-editor.patch	(added)
+++ packages/ipe/trunk/debian/patches/default-editor.patch	Sun Dec  1 04:47:15 2013
@@ -0,0 +1,18 @@
+Description: Change default editor from 'gedit' to '/usr/bin/editor'
+Author: Steve Robbins <smr at debian.org>
+Forwarded: not-needed
+
+Fixed as described by Francesco Poli in Debian bug #728480.
+
+
+--- ipe-7.1.4.orig/src/ipe/lua/prefs.lua
++++ ipe-7.1.4/src/ipe/lua/prefs.lua
+@@ -59,7 +59,7 @@
+ if os.getenv("EDITOR") then
+   prefs.external_editor = os.getenv("EDITOR") .. " %s"
+ elseif config.platform == "unix" then
+-  prefs.external_editor = "gedit %s"
++  prefs.external_editor = "x-terminal-emulator -e editor %s"
+   -- prefs.external_editor = "emacsclient %s"
+ else
+   prefs.external_editor = nil

Modified: packages/ipe/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/ipe/trunk/debian/patches/series?rev=46387&op=diff
==============================================================================
--- packages/ipe/trunk/debian/patches/series	(original)
+++ packages/ipe/trunk/debian/patches/series	Sun Dec  1 04:47:15 2013
@@ -1,2 +1,3 @@
+default-editor.patch
 build-nostrip.patch
 fPIC.patch




More information about the debian-science-commits mailing list